From 5e593cfa7306b07b6b0838f2e623cf7fc1f312db Mon Sep 17 00:00:00 2001 From: sondreb Date: Mon, 22 Apr 2024 11:31:44 +0000 Subject: [PATCH] deploy: 4373fe0346ea3193be18c5eb3c39ae52d89f779c --- 404.html | 2 +- index.html | 2 +- main.67524d9c29b3c95c.js | 1 + main.74581cba8ded86ff.js | 1 - ngsw.json | 8 ++++---- 5 files changed, 7 insertions(+), 7 deletions(-) create mode 100644 main.67524d9c29b3c95c.js delete mode 100644 main.74581cba8ded86ff.js diff --git a/404.html b/404.html index 6562457..0ebd817 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 6562457..0ebd817 100644 --- a/index.html +++ b/index.html @@ -25,6 +25,6 @@
Blockcore Notes loading...
- + \ No newline at end of file diff --git a/main.67524d9c29b3c95c.js b/main.67524d9c29b3c95c.js new file mode 100644 index 0000000..1be23d8 --- /dev/null +++ b/main.67524d9c29b3c95c.js @@ -0,0 +1 @@ +(self.webpackChunkblockcore_notes=self.webpackChunkblockcore_notes||[]).push([[179],{7411:(Ie,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,S,D){this.cd=F,this.appState=S,this.http=D}ngOnInit(){this.appState.showBackButton=!0,this.appState.updateTitle("Licenses"),this.appState.actions=[],this.showContent("3rdpartylicenses.txt",S=>`
${S.replace(//g,">")}
`)}showContent(F,S=(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,S){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(S.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:(Ie,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),S=y(6895),D=y(1481);class P{constructor(I,L,ne,q,ee){this.translate=I,this.breakpointObserver=L,this.authService=ne,this.location=q,this.titleService=ee,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)(U=>U.matches),(0,g.d)()),this.displayLabels$=this.breakpointObserver.observe("(max-width: 720px)").pipe((0,e.U)(U=>U.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(I){this.title=I,this.titleService.setTitle(I+" - Blockcore Notes"),this.titleChanged.next(this.title)}updateConnectionStatus(I){this.connected!=I&&(this.connected=I,this.connectedChanged.next(I))}visibility(I){this.visibilityChanged.next(I)}setInitialized(){this.initialized=!0,this.initializedChanged.next(this.initialized)}setLanguage(I){this.translate.use(I)}}P.\u0275fac=function(I){return new(I||P)(_.LFG(x.sK),_.LFG(k.Yg),_.LFG(F.$),_.LFG(S.Ye),_.LFG(D.Dx))},P.\u0275prov=_.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"})},5301:(Ie,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,S,D){this.appState=F,this.authService=S,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:(Ie,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 j=yield globalThis.nostr.getPublicKey(),I=D.createUser(j);return localStorage.setItem("blockcore:notes:nostr:pubkey",j),D.authInfo$.next(I),I})()}anonymous(D){D&&(D=this.utilities.ensureHexIdentifier(D));const P=D||"354faab36ca511a7956f0bfc2b64e06fe5395cd7208d9b65d6665270298743d8",j=this.createUser(P);return localStorage.setItem("blockcore:notes:nostr:pubkey",P),this.authInfo$.next(j),j}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 j=D.createUser(P);return D.authInfo$.next(j),j}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:(Ie,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 S=f(F.content,{allowedTags:["b","i","em","strong","a","img"],allowedAttributes:{a:["href"],img:["src"]},allowedIframeHostnames:["www.youtube.com"]});return F.content=S,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(S=>this.filterEvent(S))}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 S=f(F.about,{allowedTags:[],allowedAttributes:{}});return F.about=S,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:(Ie,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,S){this.appState=F,this.router=S}resolve(F,S){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:(Ie,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:(Ie,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 j="",I="";j="https://void.cat",I="https://void.cat/upload";const L=D.name,ne=yield D.arrayBuffer(),q=yield crypto.subtle.digest("SHA-256",ne),ee=yield fetch("https://void.cat/upload",{mode:"cors",method:"POST",headers:{"Content-Type":"application/octet-stream","V-Strip-Metadata":"true","V-Filename":L,"V-Content-Type":D.type,"V-Full-Digest":e.P6.bytesToHex(new Uint8Array(q)),"V-Description":"Upload from https://notes.blockcore.net"},body:ne});if(ee.ok){const U=yield ee.json();return U.ok?{url:U.file?.metadata?.url??`https://void.cat/d/${U.file?.id}${P?`.${P[1]}`:""}`}:{error:U.errorMessage}}return console.warn(ee),{error:"Upload failed."}})()}}class k{upload(D,P){return(0,f.Z)(function*(){const I=new FormData;I.append("fileToUpload",D),I.append("submit","Upload Image");const L=yield fetch("https://nostr.build/api/upload/snort.php",{body:I,method:"POST",headers:{accept:"application/json"}});if(L.ok){const ne=yield L.json();return{url:new URL(ne).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 I=P.extension(D.name);let L=null;if("void.cat"==P.options.values.mediaService)return L=new x,L.upload(D,I);if("nostr.build"==P.options.values.mediaService)return L=new k,L.upload(D,I);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:(Ie,O,y)=>{"use strict";y.d(O,{dU:()=>P,zO:()=>D});var f=y(5062),e=y(7494),g=y(7957),_=y(4650),x=y(7009),k=y(9784),F=y(1481);function D(){return Math.floor(Date.now()/1e3)}class P{constructor(I,L,ne){this.snackBar=I,this.validator=L,this.sanitizer=ne,this.defaultBackground="url(/assets/gradient.jpg)"}unsubscribe(I){if(I)for(let L=0;L{"use strict";function f(e){var g=document.createElement("textarea");g.style.position="fixed",g.style.top=0,g.style.left=0,g.style.width="2em",g.style.height="2em",g.style.padding=0,g.style.border="none",g.style.outline="none",g.style.boxShadow="none",g.style.background="transparent",g.value=e,document.body.appendChild(g),g.focus(),g.select();try{document.execCommand("copy")}catch{console.error("Oops, unable to copy")}document.body.removeChild(g)}y.d(O,{v:()=>f})},905:(Ie,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),S=y(9521),D=y(7579),P=y(9770),j=y(9646),I=y(445),L=y(8675);function ne(r,i){}class q{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 U=(()=>{class r extends k.en{constructor(t,n,a,l,v,A,G,V){super(),this._elementRef=t,this._focusTrapFactory=n,this._config=l,this._interactivityChecker=v,this._ngZone=A,this._overlayRef=G,this._focusMonitor=V,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=be=>{this._portalOutlet.hasAttached();const ze=this._portalOutlet.attachDomPortal(be);return this._contentAttached(),ze},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(q),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,ne,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===S.hY&&!this.disableClose&&!(0,S.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"),he=new e.OlP("DialogData"),J=new e.OlP("DefaultDialogConfig"),$={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,A){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,L.O)(void 0))),this._scrollStrategy=A}open(t,n){(n={...this._defaultOptions||new q,...n}).id=n.id||"cdk-dialog-"+ie++,n.id&&this.getDialogById(n.id);const l=this._getOverlayConfig(n),v=this._overlay.create(l),A=new z(v,n),G=this._attachContainer(v,A,n);return A.containerInstance=G,this._attachDialogContent(t,A,G,n),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(A),A.closed.subscribe(()=>this._removeOpenDialog(A,!0)),this.afterOpened.next(A),A}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:q,useValue:a},{provide:z,useValue:n},{provide:_.Iu,useValue:t}];let A;a.container?"function"==typeof a.container?A=a.container:(A=a.container.type,v.push(...a.container.providers(a))):A=U;const G=new k.C5(A,a.viewContainerRef,e.zs3.create({parent:l||this._injector,providers:v}),a.componentFactoryResolver);return t.attach(G).instance}_attachDialogContent(t,n,a,l){if(t instanceof e.Rgc){const v=this._createInjector(l,n,a,void 0);let A={$implicit:l.data,dialogRef:n};l.templateContext&&(A={...A,..."function"==typeof l.templateContext?l.templateContext():l.templateContext}),a.attachTemplatePortal(new k.UE(t,null,A,v))}else{const v=this._createInjector(l,n,a,this._injector),A=a.attachComponentPortal(new k.C5(t,l.viewContainerRef,v,l.componentFactoryResolver));n.componentInstance=A.instance}}_createInjector(t,n,a,l){const v=t.injector||t.viewContainerRef?.injector,A=[{provide:he,useValue:t.data},{provide:z,useValue:n}];return t.providers&&("function"==typeof t.providers?A.push(...t.providers(n,t,a)):A.push(...t.providers)),t.direction&&(!v||!v.get(I.Is,null,{optional:!0}))&&A.push({provide:I.Is,useValue:{value:t.direction,change:(0,j.of)()}}),e.zs3.create({parent:v||l,providers:A})}_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(J,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,$],imports:[_.U8,k.eL,g.rt,k.eL]}),r})();var ae=y(3238),Ee=y(2289),ke=y(7340),Ue=y(6451),Ke=y(9300),Oe=y(5698);function nt(r,i){}const Ce={bottomSheetState:(0,ke.X$)("state",[(0,ke.SB)("void, hidden",(0,ke.oB)({transform:"translateY(100%)"})),(0,ke.SB)("visible",(0,ke.oB)({transform:"translateY(0%)"})),(0,ke.eR)("visible => void, visible => hidden",(0,ke.ru)([(0,ke.jt)(`${ae.mZ.COMPLEX} ${ae.yN.ACCELERATION_CURVE}`),(0,ke.IO)("@*",(0,ke.pV)(),{optional:!0})])),(0,ke.eR)("void => visible",(0,ke.ru)([(0,ke.jt)(`${ae.mZ.EXITING} ${ae.yN.DECELERATION_CURVE}`),(0,ke.IO)("@*",(0,ke.pV)(),{optional:!0})]))])};let Ne=(()=>{class r extends U{constructor(t,n,a,l,v,A,G,V,be,ze){super(t,n,a,l,v,A,G,ze),this._changeDetectorRef=be,this._animationState="void",this._animationStateChanged=new e.vpe,this._breakpointSubscription=V.observe([Ee.u3.Medium,Ee.u3.Large,Ee.u3.XLarge]).subscribe(()=>{this._toggleClass("mat-bottom-sheet-container-medium",V.isMatched(Ee.u3.Medium)),this._toggleClass("mat-bottom-sheet-container-large",V.isMatched(Ee.u3.Large)),this._toggleClass("mat-bottom-sheet-container-xlarge",V.isMatched(Ee.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(q),e.Y36(g.ic),e.Y36(e.R0b),e.Y36(_.Iu),e.Y36(Ee.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:[Ce.bottomSheetState]}}),r})(),ot=(()=>{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 Ge=new e.OlP("MatBottomSheetData");class xt{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,Ke.h)(a=>"done"===a.phaseName&&"visible"===a.toState),(0,Oe.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),n._animationStateChanged.pipe((0,Ke.h)(a=>"done"===a.phaseName&&"hidden"===a.toState),(0,Oe.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._ref.close(this._result)}),i.overlayRef.detachments().subscribe(()=>{this._ref.close(this._result)}),(0,Ue.T)(this.backdropClick(),this.keydownEvents().pipe((0,Ke.h)(a=>a.keyCode===S.hY))).subscribe(a=>{!this.disableClose&&("keydown"!==a.type||!(0,S.Vb)(a))&&(a.preventDefault(),this.dismiss())})}dismiss(i){this.containerInstance&&(this.containerInstance._animationStateChanged.pipe((0,Ke.h)(t=>"start"===t.phaseName),(0,Oe.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 Qt=(()=>{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 xt,...n};let l;return this._dialog.open(t,{...a,disableClose:!0,closeOnOverlayDetachments:!1,maxWidth:"100%",container:Ne,scrollStrategy:a.scrollStrategy||this._overlay.scrollStrategies.block(),positionStrategy:this._overlay.position().global().centerHorizontally().bottom("0"),templateContext:()=>({bottomSheetRef:l}),providers:(v,A,G)=>(l=new lt(v,a,G),[{provide:lt,useValue:l},{provide:Ge,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:ot}),r})();var Bt=y(9132),Fe=y(5861),st=y(1281);function Gt(r,i){}class Mt{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 wt="mdc-dialog--open",ht="mdc-dialog--opening",at="mdc-dialog--closing";let pi=(()=>{class r extends U{constructor(t,n,a,l,v,A,G,V){super(t,n,a,l,v,A,G,V),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(Mt),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 Kt="--mat-dialog-transition-duration";function qt(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 Ft=(()=>{class r extends pi{constructor(t,n,a,l,v,A,G,V,be){super(t,n,a,l,v,A,G,be),this._animationMode=V,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._openAnimationDuration=this._animationsEnabled?qt(this._config.enterAnimationDuration)??150:0,this._closeAnimationDuration=this._animationsEnabled?qt(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(Kt,`${this._openAnimationDuration}ms`),this._hostElement.classList.add(ht),this._hostElement.classList.add(wt),this._waitForAnimationToComplete(this._openAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(wt),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._closeAnimationDuration}),this._hostElement.classList.remove(wt),this._animationsEnabled?(this._hostElement.style.setProperty(Kt,`${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(Mt),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,Gt,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 xe{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,Ke.h)(a=>"opened"===a.state),(0,Oe.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),n._animationStateChanged.pipe((0,Ke.h)(a=>"closed"===a.state),(0,Oe.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),i.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,Ue.T)(this.backdropClick(),this.keydownEvents().pipe((0,Ke.h)(a=>a.keyCode===S.hY&&!this.disableClose&&!(0,S.Vb)(a)))).subscribe(a=>{this.disableClose||(a.preventDefault(),Pe(this,"keydown"===a.type?"keyboard":"mouse"))})}close(i){this._result=i,this._containerInstance._animationStateChanged.pipe((0,Ke.h)(t=>"closing"===t.state),(0,Oe.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 Pe(r,i,t){return r._closeInteractionType=i,r.close(t)}const ye=new e.OlP("MatMdcDialogData"),We=new e.OlP("mat-mdc-dialog-default-options"),ft=new e.OlP("mat-mdc-dialog-scroll-strategy"),Ot={provide:ft,deps:[_.aV],useFactory:function gt(r){return()=>r.scrollStrategies.block()}};let ai=0,fi=(()=>{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,A,G,V,be,ze){this._overlay=t,this._defaultOptions=a,this._parentDialog=l,this._dialogRefConstructor=G,this._dialogContainerType=V,this._dialogDataToken=be,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new D.x,this._afterOpenedAtThisLevel=new D.x,this._idPrefix="mat-dialog-",this.dialogConfigClass=Mt,this.afterAllClosed=(0,P.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,L.O)(void 0))),this._scrollStrategy=A,this._dialog=n.get(te)}open(t,n){let a;(n={...this._defaultOptions||new Mt,...n}).id=n.id||`${this._idPrefix}${ai++}`,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:q,useValue:n}]},templateContext:()=>({dialogRef:a}),providers:(v,A,G)=>(a=new this._dialogRefConstructor(v,n,G),a.updatePosition(n?.position),[{provide:this._dialogContainerType,useValue:G},{provide:this._dialogDataToken,useValue:A.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 fi{constructor(t,n,a,l,v,A,G,V){super(t,n,l,A,G,v,xe,Ft,ye,V),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(We,8),e.LFG(ft),e.LFG(r,12),e.LFG(_.Xj),e.LFG(e.QbO,8))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r})(),ti=0,tn=(()=>{class r{constructor(t,n,a){this.dialogRef=t,this._elementRef=n,this._dialog=a,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=Oi(this._elementRef,this._dialog.openDialogs))}ngOnChanges(t){const n=t._matDialogClose||t._matDialogCloseResult;n&&(this.dialogResult=n.currentValue)}_onButtonClick(t){Pe(this.dialogRef,0===t.screenX&&0===t.screenY?"keyboard":"mouse",this.dialogResult)}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(xe,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})(),Ct=(()=>{class r{constructor(t,n,a){this._dialogRef=t,this._elementRef=n,this._dialog=a,this.id="mat-mdc-dialog-title-"+ti++}ngOnInit(){this._dialogRef||(this._dialogRef=Oi(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(xe,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})(),bt=(()=>{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})(),Bi=(()=>{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 Oi(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 hn=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[vi,Ot],imports:[pe,_.U8,k.eL,ae.BQ,ae.BQ]}),r})();const ui={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},mn={dialogContainer:(0,ke.X$)("dialogContainer",[(0,ke.SB)("void, exit",(0,ke.oB)({opacity:0,transform:"scale(0.7)"})),(0,ke.SB)("enter",(0,ke.oB)({transform:"none"})),(0,ke.eR)("* => enter",(0,ke.ru)([(0,ke.jt)("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",(0,ke.oB)({transform:"none",opacity:1})),(0,ke.IO)("@*",(0,ke.pV)(),{optional:!0})]),ui),(0,ke.eR)("* => void, * => exit",(0,ke.ru)([(0,ke.jt)("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",(0,ke.oB)({opacity:0})),(0,ke.IO)("@*",(0,ke.pV)(),{optional:!0})]),ui)])};var kt=y(4859);class Me{constructor(i,t){this.dialogRef=i,this.consent=t}onNoClick(){this.consent=!1,this.dialogRef.close()}}Me.\u0275fac=function(i){return new(i||Me)(e.Y36(xe),e.Y36(ye))},Me.\u0275cmp=e.Xpm({type:Me,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:[kt.lW,tn,Ct,bt,Bi],styles:[".input-full-width[_ngcontent-%COMP%]{width:100%!important}.dialog[_ngcontent-%COMP%]{max-width:800px}"]});class oe{constructor(){this.spaces=[],this.load()}load(){let i=localStorage.getItem("blockcore:notes:nostr:spaces");this.spaces=i?JSON.parse(i):[{name:"SondreB",title:"sondreb.com",comment:"Liberstad Membership Organization",npub:"npub1zl3g38a6qypp6py2z07shggg45cu8qex992xpss7d8zrl28mu52s4cjajh",picture:"https://nostr.build/i/nostr.build_11eaf429c0c74a9b7822072531e1c6d54a7e4c084b49d0aab776dbb13d81ef27.jpg",banner:"https://nostr.build/i/nostr.build_74ee63e85287e5b3351d757724e57d53d17b9f029bfad7d77dcb913b325727bb.png",relayCount:1,relaySync:!1},{name:"SondreB",title:"sondreb.com",comment:"Public Space",npub:"npub1zl3g38a6qypp6py2z07shggg45cu8qex992xpss7d8zrl28mu52s4cjajh",picture:"https://nostr.build/i/nostr.build_11eaf429c0c74a9b7822072531e1c6d54a7e4c084b49d0aab776dbb13d81ef27.jpg",banner:"https://nostr.build/i/nostr.build_74ee63e85287e5b3351d757724e57d53d17b9f029bfad7d77dcb913b325727bb.png",relayCount:12,relaySync:!0},{name:"Liberstad",title:"liberstad.com",comment:"Public Space",npub:"npub1qutr6g66j7fpd4dyly9u2dwmkta8cywc9lucm4ze8p7xdtrlkhcsn2n9hn",picture:"https://nostr.build/i/p/nostr.build_392926c2220b31a78708d11afeb92a9aa4731e19b233a130c34a81211c4bca3e.png",banner:"https://nostr.build/i/nostr.build_955535ae6cc45caa1d8639e72dbdf69b0ade7c92d519877eeefaf1d586caad6e.jpg",relayCount:10,relaySync:!0},{name:"Liberstad",title:"liberstad.com",comment:"Liberstad Membership Organization",npub:"npub1qutr6g66j7fpd4dyly9u2dwmkta8cywc9lucm4ze8p7xdtrlkhcsn2n9hn",picture:"https://nostr.build/i/p/nostr.build_392926c2220b31a78708d11afeb92a9aa4731e19b233a130c34a81211c4bca3e.png",banner:"https://nostr.build/i/nostr.build_955535ae6cc45caa1d8639e72dbdf69b0ade7c92d519877eeefaf1d586caad6e.jpg",relayCount:1,relaySync:!1}]}}oe.\u0275fac=function(i){return new(i||oe)},oe.\u0275prov=e.Yz7({token:oe,factory:oe.\u0275fac,providedIn:"root"});class de{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")}}de.\u0275fac=function(i){return new(i||de)(e.LFG(e.FYo))},de.\u0275prov=e.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"});var Le=y(6233);function et(r,i){if(i.has(r))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Et(r,i,t){et(r,i),i.set(r,t)}function Ni(r,i,t){if(!i.has(r))throw new TypeError("attempted to "+t+" private field on non-instance");return i.get(r)}function Zt(r,i,t){return function gi(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,Ni(r,i,"set"),t),t}function _e(r,i){return function ji(r,i){return i.get?i.get.call(r):i.value}(r,Ni(r,i,"get"))}var Re=y(1135),$e=y(5062);const Je={node:void 0,web:"object"==typeof self&&"crypto"in self?self.crypto:void 0},tt=r=>new DataView(r.buffer,r.byteOffset,r.byteLength),Be=(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 Cr(r){if("string"==typeof r&&(r=function Yn(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 Dn(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 er{clone(){return this._cloneInto()}}class cr extends er{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=tt(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=Cr(i)).length;for(let A=0;Aa-v&&(this.process(n,0),v=0);for(let G=v;G>a&l),A=Number(t&l),V=n?0:4;r.setUint32(i+(n?4:0),v,n),r.setUint32(i+V,A,n)})(n,a-8,BigInt(8*this.length),l),this.process(n,0);const A=tt(i);this.get().forEach((G,V)=>A.setUint32(4*V,G,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:A}=this;return i.length=a,i.pos=A,i.finished=l,i.destroyed=v,a%t&&i.buffer.set(n),i}}const yn=(r,i,t)=>r&i^~r&t,vn=(r,i,t)=>r&i^r&t^i&t,la=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]),Vi=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),zi=new Uint32Array(64);class pr extends cr{constructor(){super(64,32,8,!1),this.A=0|Vi[0],this.B=0|Vi[1],this.C=0|Vi[2],this.D=0|Vi[3],this.E=0|Vi[4],this.F=0|Vi[5],this.G=0|Vi[6],this.H=0|Vi[7]}get(){const{A:i,B:t,C:n,D:a,E:l,F:v,G:A,H:G}=this;return[i,t,n,a,l,v,A,G]}set(i,t,n,a,l,v,A,G){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|A,this.H=0|G}process(i,t){for(let ze=0;ze<16;ze++,t+=4)zi[ze]=i.getUint32(t,!1);for(let ze=16;ze<64;ze++){const _t=zi[ze-15],Pt=zi[ze-2],jt=Be(_t,7)^Be(_t,18)^_t>>>3,Xt=Be(Pt,17)^Be(Pt,19)^Pt>>>10;zi[ze]=Xt+zi[ze-7]+jt+zi[ze-16]|0}let{A:n,B:a,C:l,D:v,E:A,F:G,G:V,H:be}=this;for(let ze=0;ze<64;ze++){const Pt=be+(Be(A,6)^Be(A,11)^Be(A,25))+yn(A,G,V)+la[ze]+zi[ze]|0,Xt=(Be(n,2)^Be(n,13)^Be(n,22))+vn(n,a,l)|0;be=V,V=G,G=A,A=v+Pt|0,v=l,l=a,a=n,n=Pt+Xt|0}n=n+this.A|0,a=a+this.B|0,l=l+this.C|0,v=v+this.D|0,A=A+this.E|0,G=G+this.F|0,V=V+this.G|0,be=be+this.H|0,this.set(n,a,l,v,A,G,V,be)}roundClean(){zi.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}const Zi=function bn(r){const i=n=>r().update(Cr(n)).digest(),t=r();return i.outputLen=t.outputLen,i.blockLen=t.blockLen,i.create=()=>r(),i}(()=>new pr);var Gi=y(7494),tr=y(3439),Ht=y(6837);function it(r){if(!Number.isSafeInteger(r)||r<0)throw new Error(`Wrong positive integer: ${r}`)}function In(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 Ei={number:it,bool:function Ri(r){if("boolean"!=typeof r)throw new Error(`Expected boolean, not ${r}`)},bytes:In,hash:function Wn(r){if("function"!=typeof r||"function"!=typeof r.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");it(r.outputLen),it(r.blockLen)},exists:function ea(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 Wa(r,i){In(r);const t=i.outputLen;if(r.lengthnew DataView(r.buffer,r.byteOffset,r.byteLength)),kr=(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 Or=Array.from({length:256},(r,i)=>i.toString(16).padStart(2,"0"));function nn(r){if("string"!=typeof r)throw new TypeError("utf8ToBytes expected string, got "+typeof r);return(new TextEncoder).encode(r)}function Rn(r){if("string"==typeof r&&(r=nn(r)),!(r instanceof Uint8Array))throw new TypeError(`Expected input type is Uint8Array (got ${typeof r})`);return r}function da(...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(Rn(n)).digest(),t=r();return i.outputLen=t.outputLen,i.blockLen=t.blockLen,i.create=()=>r(),i}class co extends So{constructor(i,t){super(),this.finished=!1,this.destroyed=!1,Ei.hash(i);const n=Rn(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 co(r,i).update(t).digest();Ja.create=(r,i)=>new co(r,i);class Ka extends So{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=ca(this.buffer)}update(i){Ei.exists(this);const{view:t,buffer:n,blockLen:a}=this,l=(i=Rn(i)).length;for(let v=0;va-v&&(this.process(n,0),v=0);for(let ze=v;ze>a&l),A=Number(t&l),V=n?0:4;r.setUint32(i+(n?4:0),v,n),r.setUint32(i+V,A,n)})(n,a-8,BigInt(8*this.length),l),this.process(n,0);const A=ca(i),G=this.outputLen;if(G%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const V=G/4,be=this.get();if(V>be.length)throw new Error("_sha2: outputLen bigger than state");for(let ze=0;zei),Za=Io.map(r=>(9*r+5)%16);let Qr=[Io],Ia=[Za];for(let r=0;r<4;r++)for(let i of[Qr,Ia])i.push(i[r].map(t=>gr[t]));const bo=[[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)),Va=Qr.map((r,i)=>r.map(t=>bo[i][t])),an=Ia.map((r,i)=>r.map(t=>bo[i][t])),Zr=new Uint32Array([0,1518500249,1859775393,2400959708,2840853838]),vr=new Uint32Array([1352829926,1548603684,1836072691,2053994217,0]),Lr=(r,i)=>r<>>32-i;function Wo(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 Wt=new Uint32Array(16);class _n extends Ka{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 Pt=0;Pt<16;Pt++,t+=4)Wt[Pt]=i.getUint32(t,!0);let n=0|this.h0,a=n,l=0|this.h1,v=l,A=0|this.h2,G=A,V=0|this.h3,be=V,ze=0|this.h4,_t=ze;for(let Pt=0;Pt<5;Pt++){const jt=4-Pt,Xt=Zr[Pt],ei=vr[Pt],Ci=Qr[Pt],si=Ia[Pt],xi=Va[Pt],Mi=an[Pt];for(let un=0;un<16;un++){const xn=Lr(n+Wo(Pt,l,A,V)+Wt[Ci[un]]+Xt,xi[un])+ze|0;n=ze,ze=V,V=0|Lr(A,10),A=l,l=xn}for(let un=0;un<16;un++){const xn=Lr(a+Wo(jt,v,G,be)+Wt[si[un]]+ei,Mi[un])+_t|0;a=_t,_t=be,be=0|Lr(G,10),G=v,v=xn}}this.set(this.h1+A+be|0,this.h2+V+_t|0,this.h3+ze+a|0,this.h4+n+v|0,this.h0+l+G|0)}roundClean(){Wt.fill(0)}destroy(){this.destroyed=!0,this.buffer.fill(0),this.set(0,0,0,0,0)}}const dr=lo(()=>new _n),_a=(r,i,t)=>r&i^~r&t,Oo=(r,i,t)=>r&i^r&t^i&t,yo=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]),Vr=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Nr=new Uint32Array(64);class ba extends Ka{constructor(){super(64,32,8,!1),this.A=0|Vr[0],this.B=0|Vr[1],this.C=0|Vr[2],this.D=0|Vr[3],this.E=0|Vr[4],this.F=0|Vr[5],this.G=0|Vr[6],this.H=0|Vr[7]}get(){const{A:i,B:t,C:n,D:a,E:l,F:v,G:A,H:G}=this;return[i,t,n,a,l,v,A,G]}set(i,t,n,a,l,v,A,G){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|A,this.H=0|G}process(i,t){for(let ze=0;ze<16;ze++,t+=4)Nr[ze]=i.getUint32(t,!1);for(let ze=16;ze<64;ze++){const _t=Nr[ze-15],Pt=Nr[ze-2],jt=kr(_t,7)^kr(_t,18)^_t>>>3,Xt=kr(Pt,17)^kr(Pt,19)^Pt>>>10;Nr[ze]=Xt+Nr[ze-7]+jt+Nr[ze-16]|0}let{A:n,B:a,C:l,D:v,E:A,F:G,G:V,H:be}=this;for(let ze=0;ze<64;ze++){const Pt=be+(kr(A,6)^kr(A,11)^kr(A,25))+_a(A,G,V)+yo[ze]+Nr[ze]|0,Xt=(kr(n,2)^kr(n,13)^kr(n,22))+Oo(n,a,l)|0;be=V,V=G,G=A,A=v+Pt|0,v=l,l=a,a=n,n=Pt+Xt|0}n=n+this.A|0,a=a+this.B|0,l=l+this.C|0,v=v+this.D|0,A=A+this.E|0,G=G+this.F|0,V=V+this.G|0,be=be+this.H|0,this.set(n,a,l,v,A,G,V,be)}roundClean(){Nr.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}class Gn extends ba{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 Rr=lo(()=>new ba),En=(lo(()=>new Gn),BigInt(2**32-1)),ia=BigInt(32);function An(r,i=!1){return i?{h:Number(r&En),l:Number(r>>ia&En)}:{h:0|Number(r>>ia&En),l:0|Number(r&En)}}const bi_split=function Pi(r,i=!1){let t=new Uint32Array(r.length),n=new Uint32Array(r.length);for(let a=0;ar>>>t,bi_shrSL=(r,i,t)=>r<<32-t|i>>>t,bi_rotrSH=(r,i,t)=>r>>>t|i<<32-t,bi_rotrSL=(r,i,t)=>r<<32-t|i>>>t,bi_rotrBH=(r,i,t)=>r<<64-t|i>>>t-32,bi_rotrBL=(r,i,t)=>r>>>t-32|i<<64-t,bi_add=function rt(r,i,t,n){const a=(i>>>0)+(n>>>0);return{h:r+t+(a/2**32|0)|0,l:0|a}},bi_add3L=(r,i,t)=>(r>>>0)+(i>>>0)+(t>>>0),bi_add3H=(r,i,t,n)=>i+t+n+(r/2**32|0)|0,bi_add4L=(r,i,t,n)=>(r>>>0)+(i>>>0)+(t>>>0)+(n>>>0),bi_add4H=(r,i,t,n,a)=>i+t+n+a+(r/2**32|0)|0,bi_add5H=(r,i,t,n,a,l)=>i+t+n+a+l+(r/2**32|0)|0,bi_add5L=(r,i,t,n,a)=>(r>>>0)+(i>>>0)+(t>>>0)+(n>>>0)+(a>>>0),[Jn,nr]=bi_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))),Br=new Uint32Array(80),Yr=new Uint32Array(80);class ar extends Ka{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:A,Dl:G,Eh:V,El:be,Fh:ze,Fl:_t,Gh:Pt,Gl:jt,Hh:Xt,Hl:ei}=this;return[i,t,n,a,l,v,A,G,V,be,ze,_t,Pt,jt,Xt,ei]}set(i,t,n,a,l,v,A,G,V,be,ze,_t,Pt,jt,Xt,ei){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|A,this.Dl=0|G,this.Eh=0|V,this.El=0|be,this.Fh=0|ze,this.Fl=0|_t,this.Gh=0|Pt,this.Gl=0|jt,this.Hh=0|Xt,this.Hl=0|ei}process(i,t){for(let xi=0;xi<16;xi++,t+=4)Br[xi]=i.getUint32(t),Yr[xi]=i.getUint32(t+=4);for(let xi=16;xi<80;xi++){const Mi=0|Br[xi-15],un=0|Yr[xi-15],xn=bi_rotrSH(Mi,un,1)^bi_rotrSH(Mi,un,8)^bi_shrSH(Mi,un,7),Cn=bi_rotrSL(Mi,un,1)^bi_rotrSL(Mi,un,8)^bi_shrSL(Mi,un,7),hr=0|Br[xi-2],sr=0|Yr[xi-2],sa=bi_rotrSH(hr,sr,19)^bi_rotrBH(hr,sr,61)^bi_shrSH(hr,sr,6),zo=bi_rotrSL(hr,sr,19)^bi_rotrBL(hr,sr,61)^bi_shrSL(hr,sr,6),ms=bi_add4L(Cn,zo,Yr[xi-7],Yr[xi-16]),yr=bi_add4H(ms,xn,sa,Br[xi-7],Br[xi-16]);Br[xi]=0|yr,Yr[xi]=0|ms}let{Ah:n,Al:a,Bh:l,Bl:v,Ch:A,Cl:G,Dh:V,Dl:be,Eh:ze,El:_t,Fh:Pt,Fl:jt,Gh:Xt,Gl:ei,Hh:Ci,Hl:si}=this;for(let xi=0;xi<80;xi++){const Mi=bi_rotrSH(ze,_t,14)^bi_rotrSH(ze,_t,18)^bi_rotrBH(ze,_t,41),un=bi_rotrSL(ze,_t,14)^bi_rotrSL(ze,_t,18)^bi_rotrBL(ze,_t,41),xn=ze&Pt^~ze&Xt,hr=bi_add5L(si,un,_t&jt^~_t&ei,nr[xi],Yr[xi]),sr=bi_add5H(hr,Ci,Mi,xn,Jn[xi],Br[xi]),sa=0|hr,zo=bi_rotrSH(n,a,28)^bi_rotrBH(n,a,34)^bi_rotrBH(n,a,39),ms=bi_rotrSL(n,a,28)^bi_rotrBL(n,a,34)^bi_rotrBL(n,a,39),yr=n&l^n&A^l&A,Ks=a&v^a&G^v&G;Ci=0|Xt,si=0|ei,Xt=0|Pt,ei=0|jt,Pt=0|ze,jt=0|_t,({h:ze,l:_t}=bi_add(0|V,0|be,0|sr,0|sa)),V=0|A,be=0|G,A=0|l,G=0|v,l=0|n,v=0|a;const $s=bi_add3L(sa,ms,Ks);n=bi_add3H($s,sr,zo,yr),a=0|$s}({h:n,l:a}=bi_add(0|this.Ah,0|this.Al,0|n,0|a)),({h:l,l:v}=bi_add(0|this.Bh,0|this.Bl,0|l,0|v)),({h:A,l:G}=bi_add(0|this.Ch,0|this.Cl,0|A,0|G)),({h:V,l:be}=bi_add(0|this.Dh,0|this.Dl,0|V,0|be)),({h:ze,l:_t}=bi_add(0|this.Eh,0|this.El,0|ze,0|_t)),({h:Pt,l:jt}=bi_add(0|this.Fh,0|this.Fl,0|Pt,0|jt)),({h:Xt,l:ei}=bi_add(0|this.Gh,0|this.Gl,0|Xt,0|ei)),({h:Ci,l:si}=bi_add(0|this.Hh,0|this.Hl,0|Ci,0|si)),this.set(n,a,l,v,A,G,V,be,ze,_t,Pt,jt,Xt,ei,Ci,si)}roundClean(){Br.fill(0),Yr.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 wa extends ar{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 Oa extends ar{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 xo extends ar{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 Pn=lo(()=>new ar);lo(()=>new wa),lo(()=>new Oa),lo(()=>new xo),$e.P6.hmacSha256Sync=(r,...i)=>Ja(Rr,r,$e.P6.concatBytes(...i));const d=(0,Gi.Av)(Rr);function h(r){return BigInt(`0x${function qo(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 ca(i).setUint32(0,r,!1),i};class Se{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||C,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(!$e.P6.isValidPrivateKey(i.privateKey))throw new Error("Invalid private key");this.privKey="bigint"==typeof i.privateKey?i.privateKey:h(i.privateKey),this.privKeyBytes=function p(r){return function Er(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=Ja(Pn,b,i);return new Se({versions:t,chainCode:n.slice(32),privateKey:n.slice(0,32)})}static fromExtendedKey(i,t=C){const n=d.decode(i),a=ca(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)},A=n.slice(45),G=0===A[0];if(l!==t[G?"private":"public"])throw new Error("Version mismatch");return new Se(G?{...v,privateKey:A.slice(1)}:{...v,publicKey:A})}static fromJSON(i){return Se.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>=T)throw new Error("Invalid index");"'"===l[2]&&(v+=T),n=n.deriveChild(v)}return n}deriveChild(i){if(!this.pubKey||!this.chainCode)throw new Error("No publicKey or chainCode set");let t=me(i);if(i>=T){const A=this.privateKey;if(!A)throw new Error("Could not derive hardened child key");t=da(new Uint8Array([0]),A,t)}else t=da(this.pubKey,t);const n=Ja(Pn,this.chainCode,t),a=h(n.slice(0,32)),l=n.slice(32);if(!$e.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 A=$e.P6.mod(this.privKey+a,$e.iH.n);if(!$e.P6.isValidPrivateKey(A))throw new Error("The tweak was out of range or the resulted private key is invalid");v.privateKey=A}else{const A=$e.E9.fromHex(this.pubKey).add($e.E9.fromPrivateKey(a));if(A.equals($e.E9.ZERO))throw new Error("The tweak was equal to negative P, which made the result key invalid");v.publicKey=A.toRawBytes(!0)}return new Se(v)}catch{return this.deriveChild(i+1)}}sign(i){if(!this.privateKey)throw new Error("No privateKey set!");return In(i,32),$e.kS(i,this.privKey,{canonical:!0,der:!1})}verify(i,t){if(In(i,32),In(t,64),!this.publicKey)throw new Error("No publicKey set!");let n;try{n=$e.Pc.fromCompact(t)}catch{return!1}return $e.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 In(t,33),da(me(i),new Uint8Array([this.depth]),me(this.parentFingerprint),me(this.index),this.chainCode,t)}}class Ve extends er{constructor(i,t){super(),this.finished=!1,this.destroyed=!1,function rn(r){if("function"!=typeof r||"function"!=typeof r.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");Dn(r.outputLen),Dn(r.blockLen)}(i);const n=Cr(t);if(this.iHash=i.create(),!(this.iHash instanceof er))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 Ve(r,i).update(t).digest();ct.create=(r,i)=>new Ve(r,i);var vt=Object.defineProperty,Dt=(r,i)=>{for(var t in i)vt(r,t,{get:i[t],enumerable:!0})};function zt(r){return $e.P6.bytesToHex($e.xW.getPublicKey(r))}Dt({},{insertEventIntoAscendingList:()=>Zn,insertEventIntoDescendingList:()=>dn,normalizeURL:()=>Tn,utf8Decoder:()=>Ai,utf8Encoder:()=>ni});var Ai=new TextDecoder("utf-8"),ni=new TextEncoder;function Tn(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 dn(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 Ui=(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))(Ui||{});function Tr(r){let i=Zi(ni.encode(function qr(r){if(!xa(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 $e.P6.bytesToHex(i)}function xa(r){if("object"!=typeof r||"number"!=typeof r.kind||"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;ire,getInt:()=>Te,getSubscriptionId:()=>fe,matchEventId:()=>je,matchEventKind:()=>$t,matchEventPubkey:()=>yt});var pn={};Dt(pn,{decode:()=>Kn,naddrEncode:()=>Fo,neventEncode:()=>ho,noteEncode:()=>Kr,nprofileEncode:()=>na,npubEncode:()=>or,nsecEncode:()=>Sr});var zn=5e3;function Kn(r){let{prefix:i,words:t}=Gi.gW.decode(r,zn),n=new Uint8Array(Gi.gW.fromWords(t));switch(i){case"nprofile":{let a=Hn(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:$e.P6.bytesToHex(a[0][0]),relays:a[1]?a[1].map(l=>Ai.decode(l)):[]}}}case"nevent":{let a=Hn(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");if(a[2]&&32!==a[2][0].length)throw new Error("TLV 2 should be 32 bytes");return{type:"nevent",data:{id:$e.P6.bytesToHex(a[0][0]),relays:a[1]?a[1].map(l=>Ai.decode(l)):[],author:a[2]?.[0]?$e.P6.bytesToHex(a[2][0]):void 0}}}case"naddr":{let a=Hn(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:Ai.decode(a[0][0]),pubkey:$e.P6.bytesToHex(a[2][0]),kind:parseInt($e.P6.bytesToHex(a[3][0]),16),relays:a[1]?a[1].map(l=>Ai.decode(l)):[]}}}case"nsec":case"npub":case"note":return{type:i,data:$e.P6.bytesToHex(n)};default:throw new Error(`unknown prefix ${i}`)}}function Hn(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.lengthni.encode(n))}),t=Gi.gW.toWords(i);return Gi.gW.encode("nprofile",t,zn)}function ho(r){let i=mo({0:[$e.P6.hexToBytes(r.id)],1:(r.relays||[]).map(n=>ni.encode(n)),2:r.author?[$e.P6.hexToBytes(r.author)]:[]}),t=Gi.gW.toWords(i);return Gi.gW.encode("nevent",t,zn)}function Fo(r){let i=new ArrayBuffer(4);new DataView(i).setUint32(0,r.kind,!1);let t=mo({0:[ni.encode(r.identifier)],1:(r.relays||[]).map(a=>ni.encode(a)),2:[$e.P6.hexToBytes(r.pubkey)],3:[new Uint8Array(i)]}),n=Gi.gW.toWords(t);return Gi.gW.encode("naddr",n,zn)}function mo(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)})}),$e.P6.concatBytes(...i)}function $o(r,i,t){return Tl.apply(this,arguments)}function Tl(){return(Tl=(0,Fe.Z)(function*(r,i,t){const a=Pc($e.ZV(r,"02"+i));let l=Uint8Array.from(function sn(r=32){if(Je.web)return Je.web.getRandomValues(new Uint8Array(r));if(Je.node)return new Uint8Array(Je.node.randomBytes(r).buffer);throw new Error("The environment doesn't have randomBytes function")}(16)),v=ni.encode(t),A=yield crypto.subtle.importKey("raw",a,{name:"AES-CBC"},!1,["encrypt"]),G=yield crypto.subtle.encrypt({name:"AES-CBC",iv:l},A,v);return`${Gi.US.encode(new Uint8Array(G))}?iv=${Gi.US.encode(new Uint8Array(l.buffer))}`})).apply(this,arguments)}function rl(r,i,t){return Xo.apply(this,arguments)}function Xo(){return(Xo=(0,Fe.Z)(function*(r,i,t){let[n,a]=t.split("?iv="),v=Pc($e.ZV(r,"02"+i)),A=yield crypto.subtle.importKey("raw",v,{name:"AES-CBC"},!1,["decrypt"]),G=Gi.US.decode(n),V=Gi.US.decode(a),be=yield crypto.subtle.decrypt({name:"AES-CBC",iv:V},A,G);return Ai.decode(be)})).apply(this,arguments)}function Pc(r){return r.slice(1,33)}Dt({},{decrypt:()=>rl,encrypt:()=>$o});var sc,za={};Dt(za,{queryProfile:()=>Na,searchDomain:()=>Bc,useFetchImplementation:()=>lc});try{sc=fetch}catch{}function lc(r){sc=r}function Bc(r){return cc.apply(this,arguments)}function cc(){return(cc=(0,Fe.Z)(function*(r,i=""){try{return(yield(yield sc(`https://${r}/.well-known/nostr.json?name=${i}`)).json()).names}catch{return{}}})).apply(this,arguments)}function Na(r){return Sl.apply(this,arguments)}function Sl(){return(Sl=(0,Fe.Z)(function*(r){let n,[i,t]=r.split("@");if(t||(t=i,i="_"),!i.match(/^[A-Za-z0-9-_]+$/)||!t.includes("."))return null;try{n=yield(yield sc(`https://${t}/.well-known/nostr.json?name=${i}`)).json()}catch{return null}if(!n?.names?.[i])return null;let a=n.names[i];return{pubkey:a,relays:n.relays?.[a]||[]}})).apply(this,arguments)}var uc,Ol,Os={};function Yc(r,i){let n=Se.fromMasterSeed((0,Ht.Z1)(r,i)).derive("m/44'/1237'/0'/0/0").privateKey;if(!n)throw new Error("could not derive private key");return $e.P6.bytesToHex(n)}function bd(){return(0,Ht.OF)(tr.U)}function Hc(r){return(0,Ht._I)(r,tr.U)}function Qh(r){const i={reply:void 0,root:void 0,mentions:[],profiles:[]},t=[];for(const n of r.tags)"e"===n[0]&&n[1]&&t.push(n),"p"===n[0]&&n[1]&&i.profiles.push({pubkey:n[1],relays:n[2]?[n[2]]:[]});for(let n=0;n=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=Zi(ni.encode(`nostr:delegation:${i.pubkey}:${n}`)),l=$e.P6.bytesToHex($e.xW.signSync(a,r));return{from:zt(r),to:i.pubkey,cond:n,sig:l}}function yd(r){let i=r.tags.find(A=>"delegation"===A[0]&&A.length>=4);if(!i)return null;let t=i[1],n=i[2],a=i[3],l=n.split("&");for(let A=0;A"===V&&r.created_at>parseInt(be))continue;return null}}let v=Zi(ni.encode(`nostr:delegation:${r.pubkey}:${n}`));return $e.xW.verifySync(a,v,t)?t:null}Dt(Os,{generateSeedWords:()=>bd,privateKeyFromSeedWords:()=>Yc,validateWords:()=>Hc}),Dt({},{parse:()=>Qh}),Dt({},{createDelegation:()=>es,getDelegator:()=>yd}),Dt({},{useFetchImplementation:()=>Lo,validateGithub:()=>Jh});try{uc=fetch}catch{}function Lo(r){uc=r}function Jh(r,i,t){return Il.apply(this,arguments)}function Il(){return(Il=(0,Fe.Z)(function*(r,i,t){try{return(yield(yield uc(`https://gist.github.com/${i}/${t}/raw`)).text())===`Verifying that I control the following Nostr public key: ${r}`}catch{return!1}})).apply(this,arguments)}Dt({},{getZapEndpoint:()=>vd,makeZapReceipt:()=>Rs,makeZapRequest:()=>Ns,useFetchImplementation:()=>hc,validateZapRequest:()=>ts});try{Ol=fetch}catch{}function hc(r){Ol=r}function vd(r){return Ls.apply(this,arguments)}function Ls(){return(Ls=(0,Fe.Z)(function*(r){try{let i="",{lud06:t,lud16:n}=JSON.parse(r.content);if(t){let{words:v}=Gi.gW.decode(t,1e3),A=Gi.gW.fromWords(v);i=Ai.decode(A)}else{if(!n)return null;{let[v,A]=n.split("@");i=`https://${A}/.well-known/lnurlp/${v}`}}let l=yield(yield Ol(i)).json();if(l.allowsNostr&&l.nostrPubkey)return l.callback}catch{}return null})).apply(this,arguments)}function Ns({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 ts(r){let i;try{i=JSON.parse(r)}catch{return"Invalid zap request JSON."}if(!xa(i))return"Zap request is not a valid Nostr event.";if(!La(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 Rs({zapRequest:r,preimage:i,bolt11:t,paidAt:n}){let l=JSON.parse(r).tags.filter(([A])=>"e"===A||"p"===A||"a"===A),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}$e.P6.hmacSha256Sync=(r,...i)=>ct(Zi,r,$e.P6.concatBytes(...i)),$e.P6.sha256Sync=(...r)=>Zi($e.P6.concatBytes(...r));class Uc{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 Yu={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let Nl;const Dr=new Uint8Array(16);function $f(){if(!Nl&&(Nl=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Nl))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Nl(Dr)}const Ra=[];for(let r=0;r<256;++r)Ra.push((r+256).toString(16).slice(1));const Zc=function Hu(r,i,t){if(Yu.randomUUID&&!i&&!r)return Yu.randomUUID();const n=(r=r||{}).random||(r.rng||$f)();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 Kh(r,i=0){return(Ra[r[i+0]]+Ra[r[i+1]]+Ra[r[i+2]]+Ra[r[i+3]]+"-"+Ra[r[i+4]]+Ra[r[i+5]]+"-"+Ra[r[i+6]]+Ra[r[i+7]]+"-"+Ra[r[i+8]]+Ra[r[i+9]]+"-"+Ra[r[i+10]]+Ra[r[i+11]]+Ra[r[i+12]]+Ra[r[i+13]]+Ra[r[i+14]]+Ra[r[i+15]]).toLowerCase()}(n)};var Co=new WeakMap;class Hr{get queues$(){return _e(this,Co).asObservable()}constructor(){Et(this,Co,{writable:!0,value:void 0}),Zt(this,Co,new Re.X(void 0))}enqueProfile(i){_e(this,Co).next({identifier:i,type:"Profile"})}enqueEvent(i){_e(this,Co).next({identifier:i,type:"Event"})}enqueArticle(i){_e(this,Co).next({identifier:i,type:"Article"})}enqueBadgeDefinition(i){_e(this,Co).next({identifier:i,type:"BadgeDefinition"})}enqueContacts(i){_e(this,Co).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)}}Hr.\u0275fac=function(i){return new(i||Hr)},Hr.\u0275prov=e.Yz7({token:Hr,factory:Hr.\u0275fac,providedIn:"root"});const Uu=(r,i)=>i.some(t=>r instanceof t);let $r,mc;const eo=new WeakMap,is=new WeakMap,Vc=new WeakMap,H=new WeakMap,Q=new WeakMap;let we={get(r,i,t){if(r instanceof IDBTransaction){if("done"===i)return is.get(r);if("objectStoreNames"===i)return r.objectStoreNames||Vc.get(r);if("store"===i)return t.objectStoreNames[1]?void 0:t.objectStore(t.objectStoreNames[0])}return ri(r[i])},set:(r,i,t)=>(r[i]=t,!0),has:(r,i)=>r instanceof IDBTransaction&&("done"===i||"store"===i)||i in r};function Nt(r){return"function"==typeof r?function qe(r){return r!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?function ki(){return mc||(mc=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}().includes(r)?function(...i){return r.apply(Li(this),i),ri(eo.get(this))}:function(...i){return ri(r.apply(Li(this),i))}:function(i,...t){const n=r.call(Li(this),i,...t);return Vc.set(n,i.sort?i.sort():[i]),ri(n)}}(r):(r instanceof IDBTransaction&&function se(r){if(is.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)});is.set(r,i)}(r),Uu(r,function Rl(){return $r||($r=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}())?new Proxy(r,we):r)}function ri(r){if(r instanceof IDBRequest)return function R(r){const i=new Promise((t,n)=>{const a=()=>{r.removeEventListener("success",l),r.removeEventListener("error",v)},l=()=>{t(ri(r.result)),a()},v=()=>{n(r.error),a()};r.addEventListener("success",l),r.addEventListener("error",v)});return i.then(t=>{t instanceof IDBCursor&&eo.set(t,r)}).catch(()=>{}),Q.set(i,r),i}(r);if(H.has(r))return H.get(r);const i=Nt(r);return i!==r&&(H.set(r,i),Q.set(i,r)),i}const Li=r=>Q.get(r),ua=["get","getKey","getAll","getAllKeys","count"],_s=["put","add","delete","clear"],ko=new Map;function bs(r,i){if(!(r instanceof IDBDatabase)||i in r||"string"!=typeof i)return;if(ko.get(i))return ko.get(i);const t=i.replace(/FromIndex$/,""),n=i!==t,a=_s.includes(t);if(!(t in(n?IDBIndex:IDBObjectStore).prototype)||!a&&!ua.includes(t))return;const l=function(){var v=(0,Fe.Z)(function*(A,...G){const V=this.transaction(A,a?"readwrite":"readonly");let be=V.store;return n&&(be=be.index(G.shift())),(yield Promise.all([be[t](...G),a&&V.done]))[0]});return function(G){return v.apply(this,arguments)}}();return ko.set(i,l),l}function Fa(){return Math.floor(Date.now()/1e3)}!function He(r){we=r(we)}(r=>({...r,get:(i,t,n)=>bs(i,t)||r.get(i,t,n),has:(i,t)=>!!bs(i,t)||r.has(i,t)}));class fc{constructor(i){this.name=i}open(){var i=this;return(0,Fe.Z)(function*(){i.db=yield function Yi(r,i,{blocked:t,upgrade:n,blocking:a,terminated:l}={}){const v=indexedDB.open(r,i),A=ri(v);return n&&v.addEventListener("upgradeneeded",G=>{n(ri(v.result),G.oldVersion,G.newVersion,ri(v.transaction),G)}),t&&v.addEventListener("blocked",G=>t(G.oldVersion,G.newVersion,G)),A.then(G=>{l&&G.addEventListener("close",()=>l()),a&&G.addEventListener("versionchange",V=>a(V.oldVersion,V.newVersion,V))}).catch(()=>{}),A}(i.name,2,{upgrade(t,n,a,l,v){switch(n){case 0:!function A(){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 be=t.createObjectStore("events",{keyPath:"id"});be.createIndex("pubkey","pubkey"),be.createIndex("created","created_at"),be.createIndex("kind","kind"),t.createObjectStore("profiles",{keyPath:"pubkey"}).createIndex("status","status")}();case 1:case 2:!function G(){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,Fe.Z)(function*(){return i.db.get("state",1)})()}putState(i){var t=this;return(0,Fe.Z)(function*(){return i.id=1,i.modified=Fa(),t.db.put("state",i)})()}getCircle(i){var t=this;return(0,Fe.Z)(function*(){return t.db.get("circles",i)})()}getCircles(){var i=this;return(0,Fe.Z)(function*(){return i.db.getAll("circles")})()}putNote(i){var t=this;return(0,Fe.Z)(function*(){return i.saved=Fa(),t.db.put("notes",i)})()}deleteNote(i){var t=this;return(0,Fe.Z)(function*(){return t.db.delete("notes",i)})()}putCircle(i){var t=this;return(0,Fe.Z)(function*(){return i.modified=Fa(),t.db.put("circles",i)})()}getContacts(i){var t=this;return(0,Fe.Z)(function*(){return t.db.get("contacts",i)})()}putContacts(i){var t=this;return(0,Fe.Z)(function*(){return t.db.put("contacts",i)})()}putNotification(i){var t=this;return(0,Fe.Z)(function*(){return t.db.put("notifications",i)})()}deleteContacts(i){var t=this;return(0,Fe.Z)(function*(){return t.db.delete("contacts",i)})()}getProfile(i){var t=this;return(0,Fe.Z)(function*(){return t.db.get("profiles",i)})()}putProfile(i){var t=this;return(0,Fe.Z)(function*(){return i.modified=Fa(),t.db.put("profiles",i)})()}getBadge(i){var t=this;return(0,Fe.Z)(function*(){return t.db.get("badges",i)})()}putBadge(i){var t=this;return(0,Fe.Z)(function*(){return i.modified=Fa(),t.db.put("badges",i)})()}getProfilesByStatus(i){var t=this;return(0,Fe.Z)(function*(){return t.db.getAllFromIndex("profiles","status",i)})()}getProfilesByStatusCount(i){var t=this;return(0,Fe.Z)(function*(){return t.db.countFromIndex("profiles","status",i)})()}getEvent(i){var t=this;return(0,Fe.Z)(function*(){return t.db.get("events",i)})()}getNotification(i){var t=this;return(0,Fe.Z)(function*(){return t.db.get("notifications",i)})()}putEvents(i){var t=this;return(0,Fe.Z)(function*(){return t.db.put("events",i)})()}getEventsByPubKey(i,t){var n=this;return(0,Fe.Z)(function*(){return n.db.getAllFromIndex("events","pubkey",i,t)})()}getNotifications2(i){var t=this;return(0,Fe.Z)(function*(){return t.db.getAllFromIndex("notifications","created",void 0,i)})()}getNotifications(i){var t=this;return(0,Fe.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,Fe.Z)(function*(){return n.db.getAllFromIndex("events","created",i,t)})()}getEventsByCreated(i){var t=this;return(0,Fe.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,Fe.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,Fe.Z)(function*(){return t.db.get("relays",i)})()}getRelays(){var i=this;return(0,Fe.Z)(function*(){return i.db.getAll("relays")})()}getBadges(){var i=this;return(0,Fe.Z)(function*(){return i.db.getAll("badges")})()}getNotes(){var i=this;return(0,Fe.Z)(function*(){return i.db.getAll("notes")})()}putRelay(i){var t=this;return(0,Fe.Z)(function*(){return i.modified=Fa(),t.db.put("relays",i)})()}deleteCircle(i){var t=this;return(0,Fe.Z)(function*(){return t.db.delete("circles",i)})()}deleteProfile(i){var t=this;return(0,Fe.Z)(function*(){return t.db.delete("profiles",i)})()}deleteRelay(i){var t=this;return(0,Fe.Z)(function*(){return t.db.delete("relays",i)})()}deleteRelays(){var i=this;return(0,Fe.Z)(function*(){return i.db.clear("relays")})()}deleteNotes(){var i=this;return(0,Fe.Z)(function*(){return i.db.clear("notes")})()}deleteNotesByAuthor(i){var t=this;return(0,Fe.Z)(function*(){t.db.transaction("events","readwrite").store.index("pubkey").openCursor(i).then(function(){var v=(0,Fe.Z)(function*(A){for(;A;)A.delete(),A=yield A.continue()});return function(A){return v.apply(this,arguments)}}())})()}deleteNotifications(){var i=this;return(0,Fe.Z)(function*(){return i.db.clear("notifications")})()}delete(){var i=this;return(0,Fe.Z)(function*(){yield function $n(r,{blocked:i}={}){const t=indexedDB.deleteDatabase(r);return i&&t.addEventListener("blocked",n=>i(n.oldVersion,n)),ri(t).then(()=>{})}(i.name,{blocked(){console.log("BLOCKED...")}})})()}getLabel(i){var t=this;return(0,Fe.Z)(function*(){return t.db.get("labels",i)})()}getLabels(){var i=this;return(0,Fe.Z)(function*(){return i.db.getAll("labels")})()}putLabel(i){var t=this;return(0,Fe.Z)(function*(){return t.db.put("labels",i)})()}deleteLabel(i){var t=this;return(0,Fe.Z)(function*(){return t.db.delete("labels",i)})()}}var ns=y(5439);class _r{constructor(i){this.appState=i}initialize(i){var t=this;return(0,Fe.Z)(function*(){t.storage=new fc("blockcore-notes-"+t.appState.getPublicKey()),yield t.storage.open();let n=yield t.storage.getState();n||(n={id:1,since:ns().subtract(2,"days").unix(),mediaQueue:[],metrics:{users:{}}}),t.state=n,setTimeout((0,Fe.Z)(function*(){console.log("Persisting state...");const a=ns().subtract(10,"minutes").unix();t.state.since=a,yield t.saveState()}),6e4)})()}clearAndReload(){var i=this;return(0,Fe.Z)(function*(){console.log("Deleting storage..."),setTimeout(()=>{console.log("Reloading!"),location.reload()},1e3);try{yield i.delete()}catch(t){console.error(t)}})()}saveState(){var i=this;return(0,Fe.Z)(function*(){yield i.storage.putState(i.state)})()}close(){try{this.storage.close()}catch(i){console.error("Failed to close storage.",i)}}delete(){var i=this;return(0,Fe.Z)(function*(){yield i.storage.delete()})()}}_r.\u0275fac=function(i){return new(i||_r)(e.LFG(Le.i))},_r.\u0275prov=e.Yz7({token:_r,factory:_r.\u0275fac,providedIn:"root"});var gn=y(7949),rs=y(9784);class Ur{constructor(i){this.validator=i}processEvent(i){let t;return i?(t=i.kind==Ui.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")}parseContentReturnTags(i){return this.getUniqueHashtags(i).map(a=>["t",a.substring(1)])}getUniqueHashtags(i){const n=i.match(/#\w+/g);return[...new Set(n)]}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]}}Ur.\u0275fac=function(i){return new(i||Ur)(e.LFG(rs.Y))},Ur.\u0275prov=e.Yz7({token:Ur,factory:Ur.\u0275fac,providedIn:"root"});class as{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,Fe.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,Fe.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)})()}}as.\u0275fac=function(i){return new(i||as)(e.LFG(Hr),e.LFG(_r),e.LFG(Le.i),e.LFG(gn.dU),e.LFG(Ur))},as.\u0275prov=e.Yz7({token:as,factory:as.\u0275fac,providedIn:"root"});var No=y(529),al=y(5191),pc=y(2843),Mr=y(4004),wd=y(4482),xd=y(5403),gc=y(4671),ol=y(2805),ys=y(8421),Fd=y(3151),sl=y(262),u0=y(4351);let $h={},Xh={};function ep(r){let i=[],t=0,n=0;for(let a=0;a>>=1,i.push(A?0===n?-2147483648:-n:n),n=t=0}}return i}"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split("").forEach(function(r,i){$h[r]=i,Xh[i]=r});const Ps="TOKEN_LOGGER_CONFIG";class em{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 Cd="TOKEN_LOGGER_CONFIG_ENGINE_FACTORY";class tm{provideConfigEngine(i){return new em(i)}}const kd="TOKEN_LOGGER_MAPPER_SERVICE";let tp=(()=>{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,j.of)({fileName:"",lineNumber:0,columnNumber:0});const l=this.getLocalPosition(a);if(!t.enableSourceMaps)return(0,j.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 A=t.mappings.split(";");for(let G=0;G=4&&(V+=_t[0],a+=_t[1],l+=_t[2],v+=_t[3]),G===n.lineNumber){if(V===n.columnNumber)return{fileName:t.sources[a],lineNumber:l,columnNumber:v};if(ze+1===be.length)return{fileName:t.sources[a],lineNumber:l,columnNumber:0}}}}return{fileName:"unknown",lineNumber:0,columnNumber:0}}getSourceMap(t,n){const a=new No.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,Ke.h)(A=>A instanceof No.Zn),(0,Mr.U)(A=>A.body),function d0(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?gc.y:(0,wd.e)((l,v)=>{let G,A=0;const V=()=>{let be=!1;G=l.subscribe((0,xd.x)(v,ze=>{a&&(A=0),v.next(ze)},void 0,ze=>{if(A++{G?(G.unsubscribe(),G=null,V()):be=!0};if(null!=n){const Pt="number"==typeof n?(0,ol.H)(n):(0,ys.Xf)(n(ze,A)),jt=(0,xd.x)(v,()=>{jt.unsubscribe(),_t()},()=>{v.complete()});Pt.subscribe(jt)}else _t()}else v.error(ze)})),be&&(G.unsubscribe(),G=null,V())};V()})}(3),(0,Fd.d)(1))):(console.error("NGXLogger : Can't get sourcemap because HttpBackend is not provided. You need to import HttpClientModule"),this.sourceMapCache.set(t,(0,j.of)(null))));const v=this.sourceMapCache.get(t).pipe((0,Mr.U)(A=>A?this.getMapping(A,n):n),(0,sl.K)(()=>(0,j.of)(n)),(0,Fd.d)(1));return this.logPositionCache.set(l,v),v}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(No.jN,8))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r})();const Pl="TOKEN_LOGGER_METADATA_SERVICE";let ll=(()=>{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 Xn="TOKEN_LOGGER_RULES_SERVICE";let E=(()=>{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 Z="TOKEN_LOGGER_SERVER_SERVICE";let ge=(()=>{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,j.of)(null);let l=new No.aW("POST",t,n,a||{}),v=(0,j.of)(l);const A=this.alterHttpRequest(l);return(0,al.b)(A)?v=A:A?v=(0,j.of)(A):console.warn("NGXLogger : alterHttpRequest returned an invalid request. Using default one instead"),v.pipe((0,u0.b)(G=>G?this.httpBackend.handle(G):(console.warn("NGXLogger : alterHttpRequest returned an invalid request (observable). Using default one instead"),this.httpBackend.handle(l))),(0,Ke.h)(G=>G instanceof No.Zn),(0,Mr.U)(G=>G.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 No.WM;v.has("Content-Type")||v.set("Content-Type","application/json"),this.logOnServer(n.serverLoggingUrl,l,{headers:v,params:n.customHttpParams||new No.LE,responseType:n.httpResponseType||"json",withCredentials:n.withCredentials||!1}).pipe((0,sl.K)(A=>(console.error("NGXLogger: Failed to log on server",A),(0,pc._)(A)))).subscribe()}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(No.jN,8))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r})();const Ae="TOKEN_LOGGER_WRITER_SERVICE";var Ye=(()=>{return(r=Ye||(Ye={}))[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",Ye;var r})();const At=["purple","teal","gray","gray","red","red","red"];let oi=(()=>{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 Ye[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!==Ye.OFF)return(n.colorScheme??At)[t.level]}logIE(t,n,a){const l=t.additional||[];switch(t.level){case Ye.WARN:console.warn(`${a} `,t.message,...l);break;case Ye.ERROR:case Ye.FATAL:console.error(`${a} `,t.message,...l);break;case Ye.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 Ye.WARN:console.warn(`%c${a}`,`color:${l}`,t.message,...v);break;case Ye.ERROR:case Ye.FATAL:console.error(`%c${a}`,`color:${l}`,t.message,...v);break;case Ye.INFO:console.info(`%c${a}`,`color:${l}`,t.message,...v);break;case Ye.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})(),on=(()=>{class r{constructor(t,n,a,l,v,A,G){this.metadataService=a,this.ruleService=l,this.mapperService=v,this.writerService=A,this.serverService=G,this.configEngine=n.provideConfigEngine(t)}get level(){return this.configEngine.level}get serverLogLevel(){return this.configEngine.serverLogLevel}trace(t,...n){this._log(Ye.TRACE,t,n)}debug(t,...n){this._log(Ye.DEBUG,t,n)}info(t,...n){this._log(Ye.INFO,t,n)}log(t,...n){this._log(Ye.LOG,t,n)}warn(t,...n){this._log(Ye.WARN,t,n)}error(t,...n){this._log(Ye.ERROR,t,n)}fatal(t,...n){this._log(Ye.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),A=this.ruleService.shouldCallServer(t,l,n,a),G=this.ruleService.shouldCallMonitor(t,l,n,a);if(!v&&!A&&!G)return;const V=this.metadataService.getMetadata(t,l,n,a);this.mapperService.getLogPosition(l,V).pipe((0,Oe.q)(1)).subscribe(be=>{be&&(V.fileName=be.fileName,V.lineNumber=be.lineNumber,V.columnNumber=be.columnNumber),G&&this._loggerMonitor&&this._loggerMonitor.onLog(V,l),v&&this.writerService.writeMessage(V,l),A&&this.serverService.sendToServer(V,l)})}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(Ps),e.LFG(Cd),e.LFG(Pl),e.LFG(Xn),e.LFG(kd),e.LFG(Ae),e.LFG(Z))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),Bn=(()=>{class r{constructor(t,n,a,l,v,A,G){this.logger=t,this.configEngineFactory=n,this.metadataService=a,this.ruleService=l,this.mapperService=v,this.writerService=A,this.serverService=G}create(t,n,a,l){return this.getNewInstance({config:t,serverService:n,logMonitor:a,mapperService:l})}getNewInstance(t){const n=new on(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(on),e.LFG(Cd),e.LFG(Pl),e.LFG(Xn),e.LFG(kd),e.LFG(Ae),e.LFG(Z))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),wr=(()=>{class r{static forRoot(t,n){if(n||(n={}),n.configProvider){if(n.configProvider.provide!==Ps)throw new Error(`Wrong injection token for configProvider, it should be ${Ps} and you used ${n.configProvider.provide}`)}else n.configProvider={provide:Ps,useValue:t||{}};if(n.configEngineFactoryProvider){if(n.configEngineFactoryProvider.provide!==Cd)throw new Error(`Wrong injection token for configEngineFactoryProvider, it should be '${Cd}' and you used '${n.configEngineFactoryProvider.provide}'`)}else n.configEngineFactoryProvider={provide:Cd,useClass:tm};if(n.metadataProvider){if(n.metadataProvider.provide!==Pl)throw new Error(`Wrong injection token for metadataProvider, it should be '${Pl}' and you used '${n.metadataProvider.provide}'`)}else n.metadataProvider={provide:Pl,useClass:ll};if(n.ruleProvider){if(n.ruleProvider.provide!==Xn)throw new Error(`Wrong injection token for ruleProvider, it should be '${Xn}' and you used '${n.ruleProvider.provide}'`)}else n.ruleProvider={provide:Xn,useClass:E};if(n.mapperProvider){if(n.mapperProvider.provide!==kd)throw new Error(`Wrong injection token for mapperProvider, it should be '${kd}' and you used '${n.mapperProvider.provide}'`)}else n.mapperProvider={provide:kd,useClass:tp};if(n.writerProvider){if(n.writerProvider.provide!==Ae)throw new Error(`Wrong injection token for writerProvider, it should be '${Ae}' and you used '${n.writerProvider.provide}'`)}else n.writerProvider={provide:Ae,useClass:oi};if(n.serverProvider){if(n.serverProvider.provide!==Z)throw new Error(`Wrong injection token for serverProvider, it should be '${Z}' and you used '${n.writerProvider.provide}'`)}else n.serverProvider={provide:Z,useClass:ge};return{ngModule:r,providers:[on,n.configProvider,n.configEngineFactoryProvider,n.metadataProvider,n.ruleProvider,n.mapperProvider,n.writerProvider,n.serverProvider,Bn]}}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 ra{constructor(i){this.logger=i}enableDebug(){this.logger.updateConfig({level:Ye.TRACE})}disableDebug(){this.logger.updateConfig({level:Ye.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)}}ra.\u0275fac=function(i){return new(i||ra)(e.LFG(on))},ra.\u0275prov=e.Yz7({token:ra,factory:ra.\u0275fac,providedIn:"root"});class to{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)}}}to.\u0275fac=function(i){return new(i||to)(e.LFG(Le.i),e.LFG(gn.dU),e.LFG(Ur))},to.\u0275prov=e.Yz7({token:to,factory:to.\u0275fac,providedIn:"root"});var Pa=y(515);const h0=(0,x.i$)({passive:!0});let Kv=(()=>{class r{constructor(t,n){this._platform=t,this._ngZone=n,this._monitoredElements=new Map}monitor(t){if(!this._platform.isBrowser)return Pa.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",A=G=>{"cdk-text-field-autofill-start"!==G.animationName||n.classList.contains(v)?"cdk-text-field-autofill-end"===G.animationName&&n.classList.contains(v)&&(n.classList.remove(v),this._ngZone.run(()=>l.next({target:G.target,isAutofilled:!1}))):(n.classList.add(v),this._ngZone.run(()=>l.next({target:G.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{n.addEventListener("animationstart",A,h0),n.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(n,{subject:l,unlisten:()=>{n.removeEventListener("animationstart",A,h0)}}),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})(),Zu=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({}),r})();var m0=y(2076),f0=y(4128);let p0=(()=>{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})(),_c=(()=>{class r extends p0{}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 ha=new e.OlP("NgValueAccessor"),ip={provide:ha,useExisting:(0,e.Gpc)(()=>rr),multi:!0},np=new e.OlP("CompositionEventMode");let rr=(()=>{class r extends p0{constructor(t,n,a){super(t,n),this._compositionMode=a,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function g0(){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(np,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([ip]),e.qOj]}),r})();const Vu=!1;function Bl(r){return null==r||("string"==typeof r||Array.isArray(r))&&0===r.length}function rp(r){return null!=r&&"number"==typeof r.length}const Ba=new e.OlP("NgValidators"),Yl=new e.OlP("NgAsyncValidators"),ew=/^(?=.{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 io{static min(i){return function _0(r){return i=>{if(Bl(i.value)||Bl(r))return null;const t=parseFloat(i.value);return!isNaN(t)&&t{if(Bl(i.value)||Bl(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 b0(i)}static requiredTrue(i){return function y0(r){return!0===r.value?null:{required:!0}}(i)}static email(i){return function nm(r){return Bl(r.value)||ew.test(r.value)?null:{email:!0}}(i)}static minLength(i){return function rm(r){return i=>Bl(i.value)||!rp(i.value)?null:i.value.lengthrp(i.value)&&i.value.length>r?{maxlength:{requiredLength:r,actualLength:i.value.length}}:null}(i)}static pattern(i){return function Dd(r){if(!r)return am;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(Bl(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 sp(i)}static composeAsync(i){return cm(i)}}function b0(r){return Bl(r.value)?{required:!0}:null}function am(r){return null}function w0(r){return null!=r}function om(r){const i=(0,e.QGY)(r)?(0,m0.D)(r):r;if(Vu&&!(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 sm(r){let i={};return r.forEach(t=>{i=null!=t?{...i,...t}:i}),0===Object.keys(i).length?null:i}function op(r,i){return i.map(t=>t(r))}function lm(r){return r.map(i=>function Md(r){return!r.validate}(i)?i:t=>i.validate(t))}function sp(r){if(!r)return null;const i=r.filter(w0);return 0==i.length?null:function(t){return sm(op(t,i))}}function lp(r){return null!=r?sp(lm(r)):null}function cm(r){if(!r)return null;const i=r.filter(w0);return 0==i.length?null:function(t){const n=op(t,i).map(om);return(0,f0.D)(n).pipe((0,Mr.U)(sm))}}function cp(r){return null!=r?cm(lm(r)):null}function x0(r,i){return null===r?[i]:Array.isArray(r)?[...r,i]:[r,i]}function F0(r){return r._rawValidators}function C0(r){return r._rawAsyncValidators}function dp(r){return r?Array.isArray(r)?r:[r]:[]}function dm(r,i){return Array.isArray(r)?r.includes(i):r===i}function up(r,i){const t=dp(i);return dp(r).forEach(a=>{dm(t,a)||t.push(a)}),t}function um(r,i){return dp(i).filter(t=>!dm(r,t))}class hp{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=lp(this._rawValidators)}_setAsyncValidators(i){this._rawAsyncValidators=i||[],this._composedAsyncValidatorFn=cp(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 fo extends hp{get formDirective(){return null}get path(){return null}}class Bs extends hp{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class k0{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 Ir=(()=>{class r extends k0{constructor(t){super(t)}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(Bs,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})(),Hl=(()=>{class r extends k0{constructor(t){super(t)}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(fo,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 fm(r,i){return r?`with name: '${i}'`:`at index: ${i}`}const _p=!1,Ad="VALID",pm="INVALID",Td="PENDING",Gu="DISABLED";function gm(r){return(Ul(r)?r.validators:r)||null}function Sd(r,i){return(Ul(i)?i.asyncValidators:r)||null}function Ul(r){return null!=r&&!Array.isArray(r)&&"object"==typeof r}function A0(r,i,t){const n=r.controls;if(!(i?Object.keys(n):n).length)throw new e.vHH(1e3,_p?function pp(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,_p?function gp(r,i){return`Cannot find form control ${fm(r,i)}`}(i,t):"")}function T0(r,i,t){r._forEachChild((n,a)=>{if(void 0===t[a])throw new e.vHH(1002,_p?function zu(r,i){return`Must supply a value for form control ${fm(r,i)}`}(i,a):"")})}class yp{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===Ad}get invalid(){return this.status===pm}get pending(){return this.status==Td}get disabled(){return this.status===Gu}get enabled(){return this.status!==Gu}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(up(i,this._rawValidators))}addAsyncValidators(i){this.setAsyncValidators(up(i,this._rawAsyncValidators))}removeValidators(i){this.setValidators(um(i,this._rawValidators))}removeAsyncValidators(i){this.setAsyncValidators(um(i,this._rawAsyncValidators))}hasValidator(i){return dm(this._rawValidators,i)}hasAsyncValidator(i){return dm(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=Td,!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=Gu,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=Ad,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===Ad||this.status===Td)&&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()?Gu:Ad}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(i){if(this.asyncValidator){this.status=Td,this._hasOwnPendingAsyncValidator=!0;const t=om(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()?Gu:this.errors?pm:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Td)?Td:this._anyControlsHaveStatus(pm)?pm:Ad}_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){Ul(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 E0(r){return Array.isArray(r)?lp(r):r||null}(this._rawValidators)}_assignAsyncValidators(i){this._rawAsyncValidators=Array.isArray(i)?i.slice():i,this._composedAsyncValidatorFn=function bp(r){return Array.isArray(r)?cp(r):r||null}(this._rawAsyncValidators)}}class qu extends yp{constructor(i,t,n){super(gm(t),Sd(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={}){T0(this,!0,i),Object.keys(i).forEach(n=>{A0(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 vp extends qu{}const jl=new e.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>Id}),Id="always";function Wu(r,i){return[...i.path,r]}function Od(r,i,t=Id){xp(r,i),i.valueAccessor.writeValue(r.value),(r.disabled||"always"===t)&&i.valueAccessor.setDisabledState?.(r.disabled),function cw(r,i){i.valueAccessor.registerOnChange(t=>{r._pendingValue=t,r._pendingChange=!0,r._pendingDirty=!0,"change"===r.updateOn&&zc(r,i)})}(r,i),function dw(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 Zl(r,i){i.valueAccessor.registerOnTouched(()=>{r._pendingTouched=!0,"blur"===r.updateOn&&r._pendingChange&&zc(r,i),"submit"!==r.updateOn&&r.markAsTouched()})}(r,i),function lw(r,i){if(i.valueAccessor.setDisabledState){const t=n=>{i.valueAccessor.setDisabledState(n)};r.registerOnDisabledChange(t),i._registerOnDestroy(()=>{r._unregisterOnDisabledChange(t)})}}(r,i)}function cl(r,i,t=!0){const n=()=>{};i.valueAccessor&&(i.valueAccessor.registerOnChange(n),i.valueAccessor.registerOnTouched(n)),bm(r,i),r&&(i._invokeOnDestroyCallbacks(),r._registerOnCollectionChange(()=>{}))}function _m(r,i){r.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(i)})}function xp(r,i){const t=F0(r);null!==i.validator?r.setValidators(x0(t,i.validator)):"function"==typeof t&&r.setValidators([t]);const n=C0(r);null!==i.asyncValidator?r.setAsyncValidators(x0(n,i.asyncValidator)):"function"==typeof n&&r.setAsyncValidators([n]);const a=()=>r.updateValueAndValidity();_m(i._rawValidators,a),_m(i._rawAsyncValidators,a)}function bm(r,i){let t=!1;if(null!==r){if(null!==i.validator){const a=F0(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=C0(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 _m(i._rawValidators,n),_m(i._rawAsyncValidators,n),t}function zc(r,i){r._pendingDirty&&r.markAsDirty(),r.setValue(r._pendingValue,{emitModelToViewChange:!1}),i.viewToModelUpdate(r._pendingValue),r._pendingChange=!1}function I0(r,i){xp(r,i)}function Cp(r,i){if(!r.hasOwnProperty("model"))return!1;const t=r.model;return!!t.isFirstChange()||!Object.is(i,t.currentValue)}function O0(r,i){r._syncPendingControls(),i.forEach(t=>{const n=t.control;"submit"===n.updateOn&&n._pendingChange&&(t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function Ld(r,i){if(!i)return null;let t,n,a;return Array.isArray(i),i.forEach(l=>{l.constructor===rr?t=l:function fw(r){return Object.getPrototypeOf(r.constructor)===_c}(l)?n=l:a=l}),a||n||t||null}const L0={provide:fo,useExisting:(0,e.Gpc)(()=>Ys)},Nd=(()=>Promise.resolve())();let Ys=(()=>{class r extends fo{constructor(t,n,a){super(),this.callSetDisabledState=a,this.submitted=!1,this._directives=new Set,this.ngSubmit=new e.vpe,this.form=new qu({},lp(t),cp(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),Od(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 qu({});I0(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,O0(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(Ba,10),e.Y36(Yl,10),e.Y36(jl,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([L0]),e.qOj]}),r})();function pw(r,i){const t=r.indexOf(i);t>-1&&r.splice(t,1)}function gw(r){return"object"==typeof r&&null!==r&&2===Object.keys(r).length&&"value"in r&&"disabled"in r}const Gc=class extends yp{constructor(i=null,t,n){super(gm(t),Sd(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}),Ul(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=gw(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){pw(this._onChange,i)}registerOnDisabledChange(i){this._onDisabledChange.push(i)}_unregisterOnDisabledChange(i){pw(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){gw(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}},P0={provide:Bs,useExisting:(0,e.Gpc)(()=>aa)},Qu=(()=>Promise.resolve())();let aa=(()=>{class r extends Bs{constructor(t,n,a,l,v,A){super(),this._changeDetectorRef=v,this.callSetDisabledState=A,this.control=new Gc,this._registered=!1,this.update=new e.vpe,this._parent=t,this._setValidators(n),this._setAsyncValidators(a),this.valueAccessor=Ld(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),Cp(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(){Od(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){Qu.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const n=t.isDisabled.currentValue,a=0!==n&&(0,e.D6c)(n);Qu.then(()=>{a&&!this.control.disabled?this.control.disable():!a&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?Wu(t,this._parent):[t]}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(fo,9),e.Y36(Ba,10),e.Y36(Yl,10),e.Y36(ha,10),e.Y36(e.sBO,8),e.Y36(jl,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([P0]),e.qOj,e.TTD]}),r})(),dl=(()=>{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 vw={provide:ha,useExisting:(0,e.Gpc)(()=>oa),multi:!0};let oa=(()=>{class r extends _c{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([vw]),e.qOj]}),r})(),vm=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({}),r})();const Mp=new e.OlP("NgModelWithFormControlWarning"),H0={provide:Bs,useExisting:(0,e.Gpc)(()=>U0)};let U0=(()=>{class r extends Bs{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=Ld(0,a)}ngOnChanges(t){if(this._isControlChanged(t)){const n=t.form.previousValue;n&&cl(n,this,!1),Od(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Cp(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&cl(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(Ba,10),e.Y36(Yl,10),e.Y36(ha,10),e.Y36(Mp,8),e.Y36(jl,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([H0]),e.qOj,e.TTD]}),r})();const fk={provide:fo,useExisting:(0,e.Gpc)(()=>ss)};let ss=(()=>{class r extends fo{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&&(bm(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 Od(n,t,this.callSetDisabledState),n.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),n}getControl(t){return this.form.get(t.path)}removeControl(t){cl(t.control||null,t,!1),function Vl(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,O0(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&&(cl(n||null,t),(r=>r instanceof Gc)(a)&&(Od(a,t,this.callSetDisabledState),t.control=a))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const n=this.form.get(t.path);I0(n,t),n.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const n=this.form.get(t.path);n&&function uw(r,i){return bm(r,i)}(n,t)&&n.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){xp(this.form,this),this._oldForm&&bm(this._oldForm,this)}_checkFormPresent(){}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(Ba,10),e.Y36(Yl,10),e.Y36(jl,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([fk]),e.qOj,e.TTD]}),r})();const Fw={provide:Bs,useExisting:(0,e.Gpc)(()=>Rd)};let Rd=(()=>{class r extends Bs{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=Ld(0,l)}ngOnChanges(t){this._added||this._setUpControl(),Cp(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 Wu(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(fo,13),e.Y36(Ba,10),e.Y36(Yl,10),e.Y36(ha,10),e.Y36(Mp,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([Fw]),e.qOj,e.TTD]}),r})(),zl=(()=>{class r{constructor(){this._validator=am}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):am,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 kw={provide:Ba,useExisting:(0,e.Gpc)(()=>$u),multi:!0};let $u=(()=>{class r extends zl{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=e.D6c,this.createValidator=t=>b0}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([kw]),e.qOj]}),r})(),Q0=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[vm]}),r})();class qc extends yp{constructor(i,t,n){super(gm(t),Sd(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={}){T0(this,!1,i),i.forEach((n,a)=>{A0(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 Np(r){return!!r&&(void 0!==r.asyncValidators||void 0!==r.validators||void 0!==r.updateOn)}let Rp=(()=>{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 Np(n)?l=n:null!==n&&(l.validators=n.validator,l.asyncValidators=n.asyncValidator),new qu(a,l)}record(t,n=null){const a=this._reduceControls(t);return new vp(a,n)}control(t,n,a){let l={};return this.useNonNullable?(Np(n)?l=n:(l.validators=n,l.asyncValidators=a),new Gc(t,{...l,nonNullable:!0})):new Gc(t,n,a)}array(t,n,a){const l=t.map(v=>this._createControl(v));return new qc(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 Gc||t instanceof yp?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})(),J0=(()=>{class r extends Rp{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})(),Am=(()=>{class r{static withConfig(t){return{ngModule:r,providers:[{provide:jl,useValue:t.callSetDisabledState??Id}]}}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[Q0]}),r})(),Tm=(()=>{class r{static withConfig(t){return{ngModule:r,providers:[{provide:Mp,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:jl,useValue:t.callSetDisabledState??Id}]}}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[Q0]}),r})();var Ji=y(2722),ul=y(9643);const Pp=["matFormFieldNotchedOutline",""],Xu=["*"],Iw=["textField"],Ow=["iconPrefixContainer"],Lw=["textPrefixContainer"];function Nw(r,i){1&r&&e._UZ(0,"span",19)}function K0(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,Nw,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 $0(r,i){if(1&r&&e.YNc(0,K0,3,6,"label",16),2&r){const t=e.oxw();e.Q6J("ngIf",t._hasFloatingLabel())}}function X0(r,i){1&r&&e._UZ(0,"div",20)}function Bd(r,i){}function ql(r,i){if(1&r&&e.YNc(0,Bd,0,0,"ng-template",22),2&r){e.oxw(2);const t=e.MAs(1);e.Q6J("ngTemplateOutlet",t)}}function Rw(r,i){if(1&r&&(e.TgZ(0,"div",21),e.YNc(1,ql,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 Pw(r,i){1&r&&(e.TgZ(0,"div",23,24),e.Hsn(2,2),e.qZA())}function yk(r,i){1&r&&(e.TgZ(0,"div",25,26),e.Hsn(2,3),e.qZA())}function vk(r,i){}function e1(r,i){if(1&r&&e.YNc(0,vk,0,0,"ng-template",22),2&r){e.oxw();const t=e.MAs(1);e.Q6J("ngTemplateOutlet",t)}}function wk(r,i){1&r&&(e.TgZ(0,"div",27),e.Hsn(1,4),e.qZA())}function t1(r,i){1&r&&(e.TgZ(0,"div",28),e.Hsn(1,5),e.qZA())}function n1(r,i){1&r&&e._UZ(0,"div",29)}function Bw(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 r1(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 Yw(r,i){if(1&r&&(e.TgZ(0,"div",31),e.YNc(1,r1,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 Hw=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Hs=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let Ya=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["mat-label"]]}),r})(),a1=0;const Bp=new e.OlP("MatError");let Uw=(()=>{class r{constructor(t,n){this.id="mat-mdc-error-"+a1++,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:Bp,useExisting:r}])]}),r})(),jw=0,Yp=(()=>{class r{constructor(){this.align="start",this.id="mat-mdc-hint-"+jw++}}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 Sm=new e.OlP("MatPrefix");let hl=(()=>{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:Sm,useExisting:r}])]}),r})();const Hp=new e.OlP("MatSuffix");let o1=(()=>{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:Hp,useExisting:r}])]}),r})(),On=(()=>{class r{constructor(t){this._elementRef=t,this.floating=!1}getWidth(){return function s1(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 Up="mdc-line-ripple--active",eh="mdc-line-ripple--deactivating";let l1=(()=>{class r{constructor(t,n){this._elementRef=t,this._handleTransitionEnd=a=>{const l=this._elementRef.nativeElement.classList,v=l.contains(eh);"opacity"===a.propertyName&&v&&l.remove(Up,eh)},n.runOutsideAngular(()=>{t.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const t=this._elementRef.nativeElement.classList;t.remove(eh),t.add(Up)}deactivate(){this._elementRef.nativeElement.classList.add(eh)}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})(),c1=(()=>{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:Pp,ngContentSelectors:Xu,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 jp={transitionMessages:(0,ke.X$)("transitionMessages",[(0,ke.SB)("enter",(0,ke.oB)({opacity:1,transform:"translateY(0%)"})),(0,ke.eR)("void => enter",[(0,ke.oB)({opacity:0,transform:"translateY(-5px)"}),(0,ke.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Yd=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r}),r})();const Hd=new e.OlP("MatFormField"),Zp=new e.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS");let Vp=0,Ca=(()=>{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,A,G,V){this._elementRef=t,this._changeDetectorRef=n,this._ngZone=a,this._dir=l,this._platform=v,this._defaults=A,this._animationMode=G,this._document=V,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-"+Vp++,this._hintLabelId="mat-mdc-hint-"+Vp++,this._subscriptAnimationState="",this._labelWidth=0,this._destroyed=new D.x,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,A&&(A.appearance&&(this.appearance=A.appearance),this._hideRequiredMarker=Boolean(A?.hideRequiredMarker),A.color&&(this.color=A.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,Ji.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,Ue.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,Ji.R)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,Ji.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(I.Is),e.Y36(x.t4),e.Y36(Zp,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,Ya,5),e.Suo(a,Ya,7),e.Suo(a,Yd,5),e.Suo(a,Sm,5),e.Suo(a,Hp,5),e.Suo(a,Bp,5),e.Suo(a,Yp,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(Iw,5),e.Gf(Ow,5),e.Gf(Lw,5),e.Gf(On,5),e.Gf(c1,5),e.Gf(l1,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:Hd,useExisting:r}])],ngContentSelectors:Hs,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(Hw),e.YNc(0,$0,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,X0,1,0,"div",3),e.TgZ(5,"div",4),e.YNc(6,Rw,2,3,"div",5),e.YNc(7,Pw,3,0,"div",6),e.YNc(8,yk,3,0,"div",7),e.TgZ(9,"div",8),e.YNc(10,e1,1,1,"ng-template",9),e.Hsn(11),e.qZA(),e.YNc(12,wk,2,0,"div",10),e.YNc(13,t1,2,0,"div",11),e.qZA(),e.YNc(14,n1,1,0,"div",12),e.qZA(),e.TgZ(15,"div",13),e.YNc(16,Bw,2,1,"div",14),e.YNc(17,Yw,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,ul.wD,Yp,On,c1,l1],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:[jp.transitionMessages]},changeDetection:0}),r})(),d1=(()=>{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,ul.Q8,ae.BQ]}),r})();const u1=new e.OlP("MAT_INPUT_VALUE_ACCESSOR"),zw=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let h1=0;const Ck=(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 no=(()=>{class r extends Ck{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(io.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,A,G,V,be,ze){super(A,l,v,a),this._elementRef=t,this._platform=n,this._autofillMonitor=V,this._formField=ze,this._uid="mat-input-"+h1++,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(jt=>(0,x.qK)().has(jt)),this._iOSKeyupListener=jt=>{const Xt=jt.target;!Xt.value&&0===Xt.selectionStart&&0===Xt.selectionEnd&&(Xt.setSelectionRange(1,1),Xt.setSelectionRange(0,0))};const _t=this._elementRef.nativeElement,Pt=_t.nodeName.toLowerCase();this._inputValueAccessor=G||_t,this._previousNativeValue=this.value,this.id=this.id,n.IOS&&be.runOutsideAngular(()=>{t.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===Pt,this._isTextarea="textarea"===Pt,this._isInFormField=!!ze,this._isNativeSelect&&(this.controlType=_t.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(){zw.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(Bs,10),e.Y36(Ys,8),e.Y36(ss,8),e.Y36(ae.rD),e.Y36(u1,10),e.Y36(Kv),e.Y36(e.R0b),e.Y36(Hd,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:Yd,useExisting:r}]),e.qOj,e.TTD]}),r})(),Ud=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[ae.BQ,d1,d1,Zu,ae.BQ]}),r})();var po=y(727),vc=y(8505),th=y(8746),Gw=y(3099);const m1=["*"];let Om;function ih(r){return function qw(){if(void 0===Om&&(Om=null,typeof window<"u")){const r=window;void 0!==r.trustedTypes&&(Om=r.trustedTypes.createPolicy("angular#components",{createHTML:i=>i}))}return Om}()?.createHTML(r)||r}function f1(r){return Error(`Unable to find icon with the name "${r}"`)}function Gp(r){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${r}".`)}function p1(r){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${r}".`)}class wc{constructor(i,t,n){this.url=i,this.svgText=t,this.options=n}}let nh=(()=>{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 wc(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 p1(a);const A=ih(v);return this._addSvgIconConfig(t,n,new wc("",A,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 wc(n,null,a))}addSvgIconSetLiteralInNamespace(t,n,a){const l=this._sanitizer.sanitize(e.q3G.HTML,n);if(!l)throw p1(n);const v=ih(l);return this._addSvgIconSetConfig(t,new wc("",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 Gp(t);const a=this._cachedIconsByUrl.get(n);return a?(0,j.of)(jd(a)):this._loadSvgIconFromConfig(new wc(t,null)).pipe((0,vc.b)(l=>this._cachedIconsByUrl.set(n,l)),(0,Mr.U)(l=>jd(l)))}getNamedSvgIcon(t,n=""){const a=g1(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,pc._)(f1(a))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?(0,j.of)(jd(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe((0,Mr.U)(n=>jd(n)))}_getSvgFromIconSetConfigs(t,n){const a=this._extractIconWithNameFromAnySet(t,n);if(a)return(0,j.of)(a);const l=n.filter(v=>!v.svgText).map(v=>this._loadSvgIconSetFromConfig(v).pipe((0,sl.K)(A=>{const V=`Loading icon set URL: ${this._sanitizer.sanitize(e.q3G.RESOURCE_URL,v.url)} failed: ${A.message}`;return this._errorHandler.handleError(new Error(V)),(0,j.of)(null)})));return(0,f0.D)(l).pipe((0,Mr.U)(()=>{const v=this._extractIconWithNameFromAnySet(t,n);if(!v)throw f1(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),A=this._extractSvgIconFromSet(v,t,l.options);if(A)return A}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe((0,vc.b)(n=>t.svgText=n),(0,Mr.U)(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?(0,j.of)(null):this._fetchIcon(t).pipe((0,vc.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 A=this._svgElementFromString(ih(""));return A.appendChild(v),this._setSvgAttributes(A,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(ih("")),a=t.attributes;for(let l=0;lih(V)),(0,th.x)(()=>this._inProgressUrlFetches.delete(v)),(0,Gw.B)());return this._inProgressUrlFetches.set(v,G),G}_addSvgIconConfig(t,n,a){return this._svgIconConfigs.set(g1(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:""}}}),y1=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Jw=y1.map(r=>`[${r}]`).join(", "),Lm=/^url\(['"]?#(.*?)['"]?\)$/;let Un=(()=>{class r extends Zd{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,A){super(t),this._iconRegistry=n,this._location=l,this._errorHandler=v,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=po.w0.EMPTY,A&&(A.color&&(this.color=this.defaultColor=A.color),A.fontSet&&(this.fontSet=A.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(Jw),a=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let l=0;l{const A=n[l],G=A.getAttribute(v),V=G?G.match(Lm):null;if(V){let be=a.get(A);be||(be=[],a.set(A,be)),be.push({name:v,value:V[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,Oe.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(nh),e.$8M("aria-hidden"),e.Y36(Qw),e.Y36(e.qLn),e.Y36(_1,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:m1,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})(),Vd=(()=>{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 ml{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()}}ml.\u0275fac=function(i){return new(i||ml)(e.Y36(Le.i),e.Y36(xe),e.Y36(ye))},ml.\u0275cmp=e.Xpm({type:ml,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:[no,Ca,Ya,hl,kt.lW,Un,dl,rr,Ir,Hl,aa,Ys,tn,Ct,bt,Bi],styles:[".input-full-width[_ngcontent-%COMP%]{width:100%!important}"]});var ro=y(7009);const rh=new TextEncoder,v1=new TextDecoder;class vs{getPasswordKey(i){return window.crypto.subtle.importKey("raw",rh.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,Fe.Z)(function*(){try{const a=window.crypto.getRandomValues(new Uint8Array(16)),l=window.crypto.getRandomValues(new Uint8Array(12)),v=yield n.getPasswordKey(t),A=yield n.deriveKey(v,a,["encrypt"]),G=yield window.crypto.subtle.encrypt({name:"AES-GCM",iv:l},A,rh.encode(i)),V=new Uint8Array(G);let be=new Uint8Array(a.byteLength+l.byteLength+V.byteLength);return be.set(a,0),be.set(l,a.byteLength),be.set(V,a.byteLength+l.byteLength),Gi.US.encode(be)}catch(a){return console.error(a),""}})()}decryptData(i,t){var n=this;return(0,Fe.Z)(function*(){try{const a=Gi.US.decode(i),l=a.slice(0,16),v=a.slice(16,28),A=a.slice(28),G=yield n.getPasswordKey(t.toString()),V=yield n.deriveKey(G,l,["decrypt"]),be=yield window.crypto.subtle.decrypt({name:"AES-GCM",iv:v},V,A);return v1.decode(be)}catch(a){return console.error(a),""}})()}}vs.\u0275fac=function(i){return new(i||vs)},vs.\u0275prov=e.Yz7({token:vs,factory:vs.\u0275fac,providedIn:"root"});class Ho{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,Fe.Z)(function*(){let n=localStorage.getItem("blockcore:notes:nostr:prvkey");return n?new Promise((a,l)=>{t.dialog.open(ml,{data:{action:"Sign",password:""},maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var A=(0,Fe.Z)(function*(G){if(!G)return void l();const V=yield t.security.decryptData(n,G.password);if(!V)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 be=zt(V);i.pubkey!=be&&l("The event public key is not correct for this private key"),i.id||(i.id=yield Tr(i)),xa(i)||l("Invalid Nostr event.");const ze=el(i,V);i.sig=ze,a(i)});return function(G){return A.apply(this,arguments)}}())}):globalThis.nostr.signEvent(i)})()}relays(){var i=this;return(0,Fe.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,Fe.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,Fe.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)})()}}Ho.\u0275fac=function(i){return new(i||Ho)(e.LFG(vi),e.LFG(ro.ux),e.LFG(vs))},Ho.\u0275prov=e.Yz7({token:Ho,factory:Ho.\u0275fac,providedIn:"root"});var Us=(()=>{return(r=Us||(Us={}))["\u2764\ufe0f"]="\u2764\ufe0f",r["\u{1f494}"]="\u{1f494}",Us;var r})(),ka=(()=>{return(r=ka||(ka={}))[r.Public=0]="Public",r[r.Follow=1]="Follow",r[r.Mute=2]="Mute",r[r.Block=3]="Block",ka;var r})(),Xr=y(7096),Kw=y(1188);class xc{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:v??void 0,p:l??"",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,Kw.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(Zi(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}}xc.\u0275fac=function(i){return new(i||xc)(e.LFG(gn.dU))},xc.\u0275prov=e.Yz7({token:xc,factory:xc.\u0275fac,providedIn:"root"});var Ti=new WeakMap,zd=new WeakMap,Fc=new WeakMap,Nm=new WeakMap,Gd=new WeakMap,Do=new WeakMap,js=new WeakMap,qd=new WeakMap,ah=new WeakMap,Wd=new WeakMap,oh=new WeakMap,Wl=new WeakMap,sh=new WeakMap,ls=new WeakMap,Wc=new WeakMap,lh=new WeakMap,Qd=new WeakMap,Jd=new WeakMap,ch=new WeakMap,Rm=new WeakMap,dh=new WeakMap,Pm=new WeakMap,Bm=new WeakMap,Uo=new WeakMap,fl=new WeakMap,uh=new WeakMap,ws=new WeakMap,Qc=new WeakMap,hh=new WeakMap,Ym=new WeakMap;class Gr{constructor(i,t,n){Et(this,Ti,{writable:!0,value:void 0}),Et(this,zd,{writable:!0,value:void 0}),Et(this,Fc,{writable:!0,value:void 0}),Et(this,Nm,{writable:!0,value:void 0}),Et(this,Gd,{writable:!0,value:void 0}),Et(this,Do,{writable:!0,value:void 0}),Et(this,js,{writable:!0,value:void 0}),Et(this,qd,{writable:!0,value:void 0}),Et(this,ah,{writable:!0,value:void 0}),Et(this,Wd,{writable:!0,value:void 0}),Et(this,oh,{writable:!0,value:void 0}),Et(this,Wl,{writable:!0,value:void 0}),Et(this,sh,{writable:!0,value:void 0}),Et(this,ls,{writable:!0,value:void 0}),Et(this,Wc,{writable:!0,value:void 0}),Et(this,lh,{writable:!0,value:void 0}),Et(this,Qd,{writable:!0,value:void 0}),Et(this,Jd,{writable:!0,value:void 0}),Et(this,ch,{writable:!0,value:void 0}),Et(this,Rm,{writable:!0,value:void 0}),Et(this,dh,{writable:!0,value:void 0}),Et(this,Pm,{writable:!0,value:void 0}),Et(this,Bm,{writable:!0,value:void 0}),Et(this,Uo,{writable:!0,value:void 0}),Et(this,fl,{writable:!0,value:void 0}),Et(this,uh,{writable:!0,value:void 0}),Et(this,ws,{writable:!0,value:void 0}),Et(this,Qc,{writable:!0,value:void 0}),Et(this,hh,{writable:!0,value:void 0}),Et(this,Ym,{writable:!0,value:void 0}),this.eventService=i,this.options=t,this.zapService=n,Zt(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},Zt(this,zd,new Re.X(0)),Zt(this,Fc,void 0),Zt(this,Nm,new Re.X(this.eventId)),Zt(this,Gd,void 0),Zt(this,Do,new Re.X(this.pubkey)),Zt(this,js,void 0),Zt(this,qd,new Re.X(this.profile)),this.viewEvents=[],Zt(this,ah,new Re.X(this.viewEvents)),Zt(this,Wd,new Re.X(void 0)),this.viewReplyEvents=[],Zt(this,oh,new Re.X(this.viewReplyEvents)),this.events=[],Zt(this,Wl,new Re.X(this.events)),Zt(this,sh,new Re.X(void 0)),this.previousProfileSinceValue=0,this.previousFeedSinceValue=0,this.exhausted=!1,Zt(this,ls,[]),Zt(this,Wc,[]),this.viewEventsStart=0,this.viewEventsCount=5,Zt(this,lh,new Re.X(_e(this,Ti).feedEvents)),Zt(this,Qd,new Re.X(_e(this,Ti).feedEventsView)),Zt(this,Jd,new Re.X(_e(this,Ti).rootEvents)),Zt(this,ch,new Re.X(_e(this,Ti).rootEventsView)),Zt(this,Rm,new Re.X(_e(this,Ti).replyEvents)),Zt(this,dh,new Re.X(_e(this,Ti).replyEventsView)),Zt(this,Pm,new Re.X(_e(this,Ti).threadEvents)),Zt(this,Bm,new Re.X(_e(this,Ti).followingEvents)),Zt(this,Uo,new Re.X(_e(this,Ti).followingEventsView)),Zt(this,uh,new Re.X(_e(this,fl))),Zt(this,Qc,new Re.X(_e(this,ws))),Zt(this,Ym,new Re.X(_e(this,hh)))}get unreadNotifications$(){return _e(this,zd).asObservable()}get eventId(){return _e(this,Fc)}get eventId$(){return _e(this,Nm).asObservable()}get pubkey(){return _e(this,Gd)}get pubkey$(){return _e(this,Do).asObservable()}setPubKey(i,t=!0){Zt(this,Gd,i),t&&(Zt(this,js,void 0),this.events=[],this.viewEvents=[],this.previousProfileSinceValue=0,this.exhausted=!1,this.clearLists(),_e(this,Wl).next(this.events),_e(this,qd).next(_e(this,js)),_e(this,Do).next(_e(this,Gd)))}setProfile(i,t=!1){const n=_e(this,js);Zt(this,js,i),(t||n?.pubkey!=i?.pubkey)&&_e(this,qd).next(_e(this,js))}setEventId(i){console.log("setEventId:",i),Zt(this,Fc,i),Zt(this,ws,void 0),this.events=[],_e(this,Nm).next(_e(this,Fc)),_e(this,Qc).next(_e(this,ws)),_e(this,Wl).next(this.events)}get profile(){return _e(this,js)}get profile$(){return _e(this,qd).asObservable()}get viewEvents$(){return _e(this,ah).asObservable()}get reactions$(){return _e(this,Wd).asObservable()}get viewReplyEvents$(){return _e(this,oh).asObservable()}get events$(){return _e(this,Wl).asObservable()}get loadMore$(){return _e(this,sh).asObservable()}triggerLoadMoreProfileEvents(){let i=0,t=0;_e(this,Ti).rootEvents.length>0&&(i=_e(this,Ti).rootEvents[_e(this,Ti).rootEvents.length-1].created_at),_e(this,Ti).replyEvents.length>0&&(t=_e(this,Ti).replyEvents[_e(this,Ti).replyEvents.length-1].created_at);let n=i>t?i:t;n>this.previousProfileSinceValue&&(this.previousProfileSinceValue=n,_e(this,sh).next({until:n,type:"profile"}))}triggerLoadMoreFeedEvents(){const i=_e(this,Ti).feedEvents[_e(this,Ti).feedEvents.length-1].created_at;i>this.previousFeedSinceValue&&(this.previousFeedSinceValue=i,_e(this,sh).next({circle:_e(this,hh),until:i,type:"feed"}))}children(i){return this.events.filter(n=>n.parentEventId===i)}children$(i){return this.events$.pipe((0,vc.b)(t=>t.filter(n=>n.replyEventId===i)))}get notifications(){return _e(this,ls)}get activityFeed$(){return(0,j.of)(_e(this,Wc))}putNotifications(i){i=i.sort((t,n)=>t.created!t.seen).length;_e(this,zd).next(i)}putNotification(i){const t=_e(this,ls).findIndex(n=>n.id==i.id);-1==t?(_e(this,ls).unshift(i),Zt(this,ls,_e(this,ls).sort((n,a)=>n.created=t&&(this.viewCounts.feedEventsViewCountExhausted=t>=_e(this,Ti).feedEvents.length,_e(this,Ti).feedEvents.length>0&&this.viewCounts.feedEventsViewCountExhausted&&this.triggerLoadMoreFeedEvents())}updateRootEventsView(i,t){this.viewCounts.rootEventsViewCount=t,_e(this,Ti).rootEventsView=_e(this,Ti).rootEvents.slice(i,t),_e(this,ch).next(_e(this,Ti).rootEventsView),_e(this,Ti).rootEvents.length>=t&&(this.viewCounts.rootEventsViewCountExhausted=t>=_e(this,Ti).rootEvents.length,_e(this,Ti).rootEvents.length>0&&this.viewCounts.rootEventsViewCountExhausted&&this.triggerLoadMoreProfileEvents())}updateReplyEventsView(i,t){this.viewCounts.replyEventsViewCount=t,_e(this,Ti).replyEventsView=_e(this,Ti).replyEvents.slice(i,t),_e(this,dh).next(_e(this,Ti).replyEventsView),_e(this,Ti).replyEvents.length>=t&&(this.viewCounts.replyEventsViewCountExhausted=t>=_e(this,Ti).replyEvents.length,_e(this,Ti).replyEvents.length>0&&this.viewCounts.replyEventsViewCountExhausted&&this.triggerLoadMoreProfileEvents())}updateFollowingEventsView(i,t){this.viewCounts.followingEventsViewCount=t,_e(this,Ti).followingEventsView=_e(this,Ti).followingEvents.slice(i,t),this.viewCounts.followingEventsViewExhausted=t>=_e(this,Ti).followingEvents.length,_e(this,Uo).next(_e(this,Ti).followingEventsView),_e(this,Ti)}sortAscending(i,t){return i.created_atn.id==i.id);-1==t?(_e(this,Ti).feedEvents.push(i),_e(this,Ti).feedEvents=_e(this,Ti).feedEvents.sort(this.sortDescending),this.updateFeedEventsView(0,this.viewCounts.feedEventsViewCount)):_e(this,Ti).feedEvents[t]=i}}putEvent(i){if(i.kind==Ui.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[Us["\u2764\ufe0f"]]?n.reactions[Us["\u2764\ufe0f"]]++:n.reactions[Us["\u2764\ufe0f"]]=1:"-"==i.content?n.reactions[Us["\u{1f494}"]]?n.reactions[Us["\u{1f494}"]]++:n.reactions[Us["\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==Ui.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=_e(this,Ti).replyEvents.findIndex(a=>a.id==i.id);-1==n?(_e(this,Ti).replyEvents.push(i),_e(this,Ti).replyEvents=_e(this,Ti).replyEvents.sort(this.sortDescending),this.updateReplyEventsView(0,this.viewCounts.replyEventsViewCount)):_e(this,Ti).replyEvents[n]=i}else{if(i.pubkey!=this.pubkey)return void console.log("EVENT BY OTHERS ON PROFILE:",i);const n=_e(this,Ti).rootEvents.findIndex(a=>a.id==i.id);-1==n?(_e(this,Ti).rootEvents.push(i),_e(this,Ti).rootEvents=_e(this,Ti).rootEvents.sort(this.sortDescending),this.updateRootEventsView(0,this.viewCounts.rootEventsViewCount)):_e(this,Ti).rootEvents[n]=i}else if(this.eventId){const n=_e(this,Ti).threadEvents.findIndex(a=>a.id==i.id);-1==n?(_e(this,Ti).threadEvents.push(i),_e(this,Ti).threadEvents=_e(this,Ti).threadEvents.sort(this.sortDescending)):_e(this,Ti).threadEvents[n]=i}else{const n=_e(this,Ti).followingEvents.findIndex(a=>a.id==i.id);-1==n?(_e(this,Ti).followingEvents.push(i),_e(this,Ti).followingEvents=_e(this,Ti).followingEvents.sort(this.sortDescending),this.updateFollowingEventsView(0,this.viewCounts.followingEventsViewCount)):_e(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==Ui.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=_e(this,ws)?.id;Zt(this,Fc,i?.id),Zt(this,ws,i?this.calculateFields(i):i),_e(this,ws)?.id!=t&&(_e(this,Qc).next(_e(this,ws)),this.parentEventId=_e(this,ws)?.parentEventId,_e(this,uh).next(void 0))}setParentEvent(i){const t=_e(this,fl)?.id;i?(Zt(this,fl,this.calculateFields(i)),this.parentEventId=_e(this,fl).id):this.parentEventId=void 0,_e(this,fl)?.id!=t&&_e(this,uh).next(_e(this,fl))}get circle$(){return _e(this,Ym).asObservable()}setFeedCircle(i){Zt(this,hh,i),_e(this,Ym).next(_e(this,hh))}}function Cc(r,i){et(r,i),i.add(r)}function Mo(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(Ur),e.LFG(Xr.I),e.LFG(xc))},Gr.\u0275prov=e.Yz7({token:Gr,factory:Gr.\u0275fac,providedIn:"root"});var mh=y(9751),pl=new WeakMap;class Wp{constructor(i){Et(this,pl,{writable:!0,value:void 0}),this.maxEntries=i,Zt(this,pl,new Map)}get(i){const t=_e(this,pl).get(i);if(t)return _e(this,pl).size>this.maxEntries&&Array.from(_e(this,pl).entries()).sort(l=>l[1].accessed).slice(0,20).forEach(l=>{_e(this,pl).delete(l[0])}),t.accessed=Date.now(),t}set(i,t){_e(this,pl).set(i,{accessed:Date.now(),value:t})}}class xs{constructor(i){this.storage=i}get users(){return this.storage.state?.metrics?.users||(this.storage.state.metrics={users:{}}),this.storage.state.metrics.users}increase(i,t){let n=this.users[t];n||(n=0),this.users[t]=n+i}decrease(i,t){let n=this.users[t];n||(n=0),this.users[t]=n-i}get(i){return this.users[i]||0}}xs.\u0275fac=function(i){return new(i||xs)(e.LFG(_r))},xs.\u0275prov=e.Yz7({token:xs,factory:xs.\u0275fac,providedIn:"root"});var Kd=new WeakMap,fh=new WeakMap,Qp=new WeakMap,Jc=new WeakMap,Hm=new WeakMap,kc=new WeakSet,ph=new WeakMap,Jp=new WeakSet,Ql=new WeakSet,gh=new WeakSet,Fs=new WeakSet;class Ln{get following$(){return _e(this,Jc).asObservable().pipe((0,Mr.U)(i=>i.filter(n=>n.status==ka.Follow)))}get profile$(){return _e(this,Qp).asObservable()}userProfileUpdated(i){this.profile=i,_e(this,Qp).next(i)}get profiles$(){return _e(this,Jc).asObservable()}get profileRequested$(){return _e(this,Hm).asObservable()}updated(){Mo(this,kc,$d).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,Fe.Z)(function*(){})()}get profilesChanged$(){return _e(this,ph).asObservable()}constructor(i,t,n,a,l,v){Cc(this,Fs),Cc(this,gh),Cc(this,Ql),Cc(this,Jp),Cc(this,kc),Et(this,Kd,{writable:!0,value:void 0}),Et(this,fh,{writable:!0,value:void 0}),Et(this,Qp,{writable:!0,value:void 0}),Et(this,Jc,{writable:!0,value:void 0}),Et(this,Hm,{writable:!0,value:void 0}),Et(this,ph,{writable:!0,value:void 0}),this.db=i,this.ui=t,this.queueService=n,this.appState=a,this.utilities=l,this.metricService=v,this.initialized=!1,Zt(this,Kd,new Wp(500)),this.following=[],this.followingKeys=[],this.blocked=[],this.muted=[],Zt(this,fh,new Re.X(this.following)),Zt(this,Qp,new Re.X(void 0)),Zt(this,Jc,new Re.X(this.following)),Zt(this,Hm,new Re.X("")),Zt(this,ph,new Re.X(void 0))}getProfileOrDownload(i){return new mh.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,vc.b)(t=>{}))}getLocalProfile(i){var t=this;return(0,Fe.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=_e(this,Kd).get(i);return n?n.value:void 0}getProfile(i){var t=this;return(0,Fe.Z)(function*(){let n=t.following.findIndex(v=>v.pubkey==i);if(n>-1)return t.following[n];let a=_e(t,Kd).get(i);if(a)return a.value;let l=yield t.db.storage.getProfile(i);if(l)return _e(t,Kd).set(i,l),l;t.queueService.enqueProfile(i)})()}putProfile(i){var t=this;return(0,Fe.Z)(function*(){null==i.status&&(i.status=0),i.npub=t.utilities.getNostrIdentifier(i.pubkey),_e(t,Kd).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),Mo(t,kc,$d).call(t)):2==i.status&&n>-1?(t.following.splice(n,1),Mo(t,kc,$d).call(t)):(t.following[n]=i,Mo(t,kc,$d).call(t)):n>-1&&(t.following.splice(n,1),Mo(t,kc,$d).call(t))})()}initialize(i){var t=this;return(0,Fe.Z)(function*(){const n=yield t.getLocalProfile(i);t.userProfileUpdated(n);const a=yield t.db.storage.getProfilesByStatus(ka.Follow);t.following=a,_e(t,Jc).next(t.following);const l=yield t.db.storage.getProfilesByStatus(ka.Block),v=yield t.db.storage.getProfilesByStatus(ka.Mute);t.blocked=l.map(A=>A.pubkey),t.muted=v.map(A=>A.pubkey),t.followingKeys=t.following.map(A=>A.pubkey)})()}follow(i,t=0,n){var a=this;return(0,Fe.Z)(function*(){if(!i)return;const l=yield a.getLocalProfile(i),v=a.utilities.now();return l?(l.status=ka.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=ka.Follow,n.npub=a.utilities.getNostrIdentifier(n.pubkey),yield a.db.storage.putProfile(n),Mo(a,gh,e2).call(a,n),a.queueService.enqueProfile(n.pubkey),n)})()}setFollowing(i,t){var n=this;return(0,Fe.Z)(function*(){return Mo(n,Fs,Cs).call(n,i,a=>(a.following=t,a))})()}followingAndRelays(i,t,n){var a=this;return(0,Fe.Z)(function*(){return Mo(a,Fs,Cs).call(a,i,l=>(l.following=t,l.relays=n,l))})()}setCircle(i,t){var n=this;return(0,Fe.Z)(function*(){return Mo(n,Fs,Cs).call(n,i,a=>(a.circle=t,a))})()}unfollow(i){var t=this;return(0,Fe.Z)(function*(){const n=yield Mo(t,Fs,Cs).call(t,i,a=>(a.status=ka.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,Fe.Z)(function*(){const n=yield Mo(t,Fs,Cs).call(t,i,a=>(a.status=ka.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,Fe.Z)(function*(){return Mo(t,Fs,Cs).call(t,i,n=>(n.status=ka.Public,n))})()}mute(i){var t=this;return(0,Fe.Z)(function*(){return Mo(t,Fs,Cs).call(t,i,n=>(n.status=ka.Mute,n))})()}unmute(i){var t=this;return(0,Fe.Z)(function*(){return Mo(t,Fs,Cs).call(t,i,n=>(n.status=ka.Follow,n))})()}deleteProfile(i){var t=this;return(0,Fe.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==ka.Follow}updateProfile(i,t){var n=this;return(0,Fe.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),_e(n,Kd).set(a.pubkey,a),n.appState.getPublicKey()===i&&n.userProfileUpdated(a),a&&a.followed){const v=n.following.findIndex(A=>A.pubkey==a.pubkey);-1===v?n.following.push(a):n.following[v]=a}return Mo(n,kc,$d).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:ka.Public,website:"",created:Math.floor(Date.now()/1e3),verifications:[],pubkey:i}}}function $d(){_e(this,Jc).next(this.following),_e(this,fh).next(this.following)}function e2(r){const i=this.following.findIndex(t=>t.pubkey==r.pubkey);-1===i?this.following.push(r):this.following[i]=r}function Cs(r,i){return $p.apply(this,arguments)}function $p(){return($p=(0,Fe.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)}Ln.\u0275fac=function(i){return new(i||Ln)(e.LFG(_r),e.LFG(Gr),e.LFG(Hr),e.LFG(Le.i),e.LFG(gn.dU),e.LFG(xs))},Ln.\u0275prov=e.Yz7({token:Ln,factory:Ln.\u0275fac,providedIn:"root"});class Xd{constructor(i,t){this.zapService=i,this.eventService=t,this.events=new Map,this.profiles=new Map}reset(){this.events.clear(),this.profiles.clear()}getEventZapAmount(i){const t=this.events.get(i);return t?t.amount:null}getProfileZapAmount(i){const t=this.profiles.get(i);return t?t.amount:null}addZap(i){const t=this.zapService.parseZap(i);if(t.e){let a=this.events.get(t.e);if(a){if(a.ids.includes(t.id))return;a.ids.push(t.id),a.amount+=t.amount}else a={ids:[t.id],amount:t.amount};this.events.set(t.e,a)}let n=this.profiles.get(t.p);if(n){if(n.ids.includes(t.id))return;n.ids.push(t.id),n.amount+=t.amount}else n={ids:[t.id],amount:t.amount};this.profiles.set(t.p,n)}}Xd.\u0275fac=function(i){return new(i||Xd)(e.LFG(xc),e.LFG(Ur))},Xd.\u0275prov=e.Yz7({token:Xd,factory:Xd.\u0275fac,providedIn:"root"});class eu{constructor(i){this.state=i}addEvent(i){}tagsOfType(i,t){return i?i.tags.filter(a=>a[0]===t):[]}firstDTag(i){const t=this.tagsOfType(i,"d");if(0!=t.length)return t[0][1]}addIfMissing(i,t){t.has(i.id)||t.set(i.id,i)}addIfNewer(i,t,n){if(n.has(t)){if(n.get(t).created_at>=i.created_at)return;n.set(t,i)}else n.set(t,i)}}eu.\u0275fac=function(i){return new(i||eu)(e.LFG(Jl))},eu.\u0275prov=e.Yz7({token:eu,factory:eu.\u0275fac,providedIn:"root"});class Jl{constructor(){this.profiles=[],this.circles=[],this.events={metadata:new Map,shortTextNote:new Map,recommendRelay:new Map,contacts:new Map,encryptedDirectMessages:new Map,eventDeletion:new Map,reposts:new Map,reaction:new Map,badgeAward:new Map,channelCreation:new Map,channelMetadata:new Map,channelMessage:new Map,channelHideMessage:new Map,channelMuteUser:new Map,reporting:new Map,zapRequest:new Map,zap:new Map,muteList:new Map,relayListMetadata:new Map,clientAuthentication:new Map,nostrConnect:new Map,categorizedPeopleList:new Map,categorizedBookmarkList:new Map,profileBadges:new Map,badgeDefinition:new Map,longFormContent:new Map,applicationSpecificData:new Map,regularEvents:new Map,replaceableEvents:new Map,ephemeralEvents:new Map,parameterizedReplaceableEvents:new Map},this.relays={notice:new Map,auth:new Map}}}Jl.\u0275fac=function(i){return new(i||Jl)},Jl.\u0275prov=e.Yz7({token:Jl,factory:Jl.\u0275fac,providedIn:"root"});var Xp=new WeakMap;class ao{get relays$(){return _e(this,Xp).asObservable()}constructor(i,t,n,a,l,v,A,G,V,be,ze,_t,Pt,jt,Xt){var ei=this;Et(this,Xp,{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=A,this.profileService=G,this.db=V,this.options=be,this.eventService=ze,this.appState=_t,this.zapUi=Pt,this.stateService=jt,this.snackBar=Xt,this.items=[],this.subs=new Map,this.relays=[],Zt(this,Xp,new Re.X(this.relays)),this.workers=[],this.appState.visibility$.subscribe(Ci=>{Ci&&this.createRelayWorkers()}),this.queue.queues$.subscribe(Ci=>{Ci&&this.enque(Ci)}),this.ui.loadMore$.subscribe(Ci=>{if(Ci&&Ci.until)if("profile"==Ci.type){if(!this.profileEventSubscription)return;this.unsubscribe(this.profileEventSubscription);const si=this.options.values.enableReactions?[Ui.Text,Ui.Reaction,6]:[Ui.Text,6];this.options.values.enableZapping&&si.push(Ui.Zap),this.profileEventSubscription=this.subscribe([{authors:[this.ui.profile.pubkey],kinds:si,until:Ci.until,limit:100}]).id}else if("feed"==Ci.type){if(!this.circleEventSubscription)return;this.circleEventSubscription&&(this.unsubscribe(this.circleEventSubscription),this.circleEventSubscription=void 0);let si=[];si=Ci.circle>-1?this.profileService.following.filter(Mi=>Mi.circle==Ci.circle).map(Mi=>Mi.pubkey):this.profileService.following.map(Mi=>Mi.pubkey);const xi=this.options.values.enableReactions?[Ui.Text,Ui.Reaction,6]:[Ui.Text,6];this.options.values.enableZapping&&xi.push(Ui.Zap),this.circleEventSubscription=this.subscribe([{authors:si,kinds:xi,until:Ci.until,limit:100}],"feed").id}}),this.ui.circle$.subscribe(Ci=>{if(null==Ci)return;let si=[];si=Ci>-1?this.profileService.following.filter(Mi=>Mi.circle==Ci).map(Mi=>Mi.pubkey):this.profileService.following.map(Mi=>Mi.pubkey),this.circleEventSubscription&&(this.unsubscribe(this.circleEventSubscription),this.circleEventSubscription=void 0);const xi=this.options.values.enableReactions?[Ui.Text,Ui.Reaction,6]:[Ui.Text,6];this.options.values.enableZapping&&xi.push(Ui.Zap),this.circleEventSubscription=this.subscribe([{authors:si,kinds:xi,limit:100}],"feed").id}),this.ui.pubkey$.subscribe(function(){var Ci=(0,Fe.Z)(function*(si){if(!si)return void(ei.profileEventSubscription&&(ei.unsubscribe(ei.profileEventSubscription),ei.profileEventSubscription=void 0));const xi=yield ei.profileService.getProfile(si);xi&&ei.ui.setProfile(xi),ei.zapUi.reset(),ei.profileEventSubscription=ei.subscribe([{"#p":[si],kinds:[Ui.Zap]},{authors:[si],kinds:[Ui.Text,Ui.Reaction,6],limit:100}]).id});return function(si){return Ci.apply(this,arguments)}}()),this.ui.eventId$.subscribe(function(){var Ci=(0,Fe.Z)(function*(si){if(!si)return;const xi=yield ei.db.storage.getEvent(si);xi?ei.ui.setEvent(xi):ei.enque({type:"Event",identifier:si})});return function(si){return Ci.apply(this,arguments)}}()),this.ui.event$.subscribe(function(){var Ci=(0,Fe.Z)(function*(si){if(!si)return ei.ui.clearEvents(),void(ei.threadSubscription&&(ei.unsubscribe(ei.threadSubscription),ei.threadSubscription=void 0));if(ei.threadSubscription!=si?.id&&(ei.threadSubscription&&ei.unsubscribe(ei.threadSubscription),ei.threadSubscription=ei.subscribe([{"#e":[si.id]}]).id,si.parentEventId)){const xi=yield ei.db.storage.getEvent(si.parentEventId);xi?ei.ui.setParentEvent(xi):ei.enque({type:"Event",identifier:si.parentEventId})}});return function(si){return Ci.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,Fe.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,Fe.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,Fe.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,Fe.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,Fe.Z)(function*(){let l=a.items.find(A=>A.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,Fe.Z)(function*(){const n=t.items.filter(a=>-1==i.indexOf(a.url));t.logger.debug("relaysToRemove:",n);for(let a=0;aA.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,Fe.Z)(function*(){const a=t.eventService.processEvent(i.data);if(a){if(t.logger.debug("SAVE EVENT?:",a),t.stateService.addEvent(a),a.kind==Ui.Zap&&t.zapUi.addZap(a),i.subscription){const l=t.subs.get(i.subscription);if(l)if("Event"==l.type)-1===l.events.findIndex(A=>A.id==a.id)&&l.events.push(a);else if("Profile"==l.type){const v=l.events.findIndex(A=>A.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(A=>A.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(A=>A.pubkey==a.pubkey&&t.eventService.firstDTag(A)==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==Ui.Reaction){let G=a.content;"+"===G||""===G?G="\u2764\ufe0f":"-"===G&&(G="\u{1f494}"),v=G}else if(a.kind==Ui.Text)v="replied to your note.";else if(a.kind==Ui.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 A=t.eventService.lastETag(a);l={id:a.id,relatedId:A,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==Ui.Article)t.articleService.put(a);else if(a.kind==Ui.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==Ui.Contacts){const l=t.appState.getPublicKey();if(a.pubkey===l){let v=yield t.db.storage.getContacts(l);if(!v||v.created_atbe[1]);t.profileService.followingAndRelays(a.pubkey,A,a.content),v=a;const V={pubkeys:v.tags.map(be=>be[1]),pubkey:l,relays:[],relaysCount:0};if(v.content&&(V.relays=JSON.parse(v.content),V.relaysCount=Object.keys(V.relays).length),V.pubkeys.length>0||V.relaysCount>0){if(V.relaysCount>0){const ze=t.utilities.getRelayUrls(V.relays);yield t.deleteRelays(ze),yield t.appendRelays(V.relays)}const be=V.pubkeys;for(let ze=0;ze=a.created_at)return;yield t.db.storage.putContacts(a);const A=a.tags.map(V=>V[1]),G=yield t.profileService.followingAndRelays(a.pubkey,A,a.content);G&&t.ui.pubkey==G.pubkey&&t.ui.setProfile(G,!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,Fe.Z)(function*(){const a=i.data;switch(a.type){case"failure":n.logger.debug(`Relay ${t} failure: ${a.data}.`),n.snackBar.open(`Failure: ${a.data}. (${t})`,"Hide",{duration:3500,horizontalPosition:"center",verticalPosition:"bottom"});break;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 A=n.workers.findIndex(V=>V.url==t),G=n.workers[A];n.subs.forEach(V=>{G.subscribe(V.filters,V.id)})}break;case"terminated":n.logger.info(`${t}: WE HAVE TERMINATED`);const l=n.workers.findIndex(A=>A.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,Fe.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(A=>A.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 Uc(i);this.logger.info(`${i}: Creating this web worker.`),this.workers.push(l);const v=l.start();v.onmessage=function(){var A=(0,Fe.Z)(function*(G){n.logger.debug(`${l.url}: onmessage`,G.data),yield n.handleRelayMessage(G,l.url)});return function(G){return A.apply(this,arguments)}}(),v.onerror=function(){var A=(0,Fe.Z)(function*(G){n.logger.error(`${l.url}: onerror`,G.error),yield n.handleRelayError(G,l.url)});return function(G){return A.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,Fe.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=Zc();return this.subs.set(t,{id:t,filters:i,events:[],type:"Event"}),t}subscribe(i,t,n="Event"){t||(t=Zc());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(tg,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:t2,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})(),_h=(()=>{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})(),Zs=(()=>{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})(),bh=(()=>{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})(),yh=(()=>{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:r2,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(t,n){1&t&&(e.F$t(eg),e.Hsn(0),e.TgZ(1,"div",0),e.Hsn(2,1),e.qZA(),e.Hsn(3,2))},encapsulation:2,changeDetection:0}),r})(),ig=(()=>{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})(),Um=(()=>{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})(),Zm=(()=>{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 l2=["determinateSpinner"];function c2(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 ng=(0,ae.pj)(class{constructor(r){this._elementRef=r}},"primary"),d2=new e.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function gl(){return{diameter:tu}}}),tu=100;let _l=(()=>{class r extends ng{constructor(t,n,a){super(t),this.mode="mat-spinner"===this._elementRef.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate",this._value=0,this._diameter=tu,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(d2))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(t,n){if(1&t&&e.Gf(l2,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,c2,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})(),ks=(()=>{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 ag(r,i){1&r&&(e.TgZ(0,"div",17)(1,"button",18),e._UZ(2,"mat-spinner",19),e.qZA()())}function iu(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 nu(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 ru(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 au(r,i){if(1&r&&(e.TgZ(0,"div",17),e.YNc(1,nu,4,0,"button",21),e.YNc(2,ru,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 ou(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 su(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 lu(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 bl{constructor(i,t,n,a,l,v,A,G,V,be){this.spacesService=i,this.theme=t,this.appState=n,this.cd=a,this.relayService=l,this.authService=v,this.utilities=A,this.router=G,this.ngZone=V,this.dialog=be,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(Me,{data:!1,maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var n=(0,Fe.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,Fe.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,Fe.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))}}bl.\u0275fac=function(i){return new(i||bl)(e.Y36(oe),e.Y36(de),e.Y36(Le.i),e.Y36(e.sBO),e.Y36(ao),e.Y36(Kc.$),e.Y36(gn.dU),e.Y36(Bt.F0),e.Y36(e.R0b),e.Y36(vi))},bl.\u0275cmp=e.Xpm({type:bl,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,ag,3,0,"div",8),e.YNc(12,iu,5,0,"div",8),e.YNc(13,au,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,ou,9,0,"p",12),e.YNc(20,su,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,lu,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,Bt.rH,kt.zs,kt.lW,kt.RK,Da,Zs,Un,_l],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}.spaces[_ngcontent-%COMP%]{border-radius:10px;margin:1em 2em 1em 11em;padding:1.5em}.spaces-card[_ngcontent-%COMP%]{max-width:274px;border-radius:15px}.spaces-add[_ngcontent-%COMP%]{max-width:274px;border-radius:15px;box-sizing:border-box}.spaces-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;gap:1em}.spaces-header-image[_ngcontent-%COMP%]{background-image:url(https://material.angular.io/assets/img/examples/shiba1.jpg);background-size:cover}.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%], .spaces[_ngcontent-%COMP%]{max-width:944px;margin-right:auto!important;margin-left:auto!important}}@media only screen and (min-width: 1024px){.card[_ngcontent-%COMP%], .spaces[_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}.spaces[_ngcontent-%COMP%]{font-size:.8em;margin-left:2em;margin-right:2em;padding:1em}}@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%], .spaces[_ngcontent-%COMP%]{margin-left:.2em;margin-right:.2em;padding:0}.spaces-card[_ngcontent-%COMP%]{width:100%;max-width:100%}}@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 yl=y(5577),Vm=y(4986),C1=y(1165),k1=y(3888),D1=y(9672);const M1=(0,k1.d)(r=>function(t=null){r(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=t});function vh(r,i){const{first:t,each:n,with:a=E1,scheduler:l=i??Vm.z,meta:v=null}=(0,C1.q)(r)?{first:r}:"number"==typeof r?{each:r}:r;if(null==t&&null==n)throw new TypeError("No timeout provided.");return(0,wd.e)((A,G)=>{let V,be,ze=null,_t=0;const Pt=jt=>{be=(0,D1.f)(G,l,()=>{try{V.unsubscribe(),(0,ys.Xf)(a({meta:v,lastValue:ze,seen:_t})).subscribe(G)}catch(Xt){G.error(Xt)}},jt)};V=A.subscribe((0,xd.x)(G,jt=>{be?.unsubscribe(),_t++,G.next(ze=jt),n>0&&Pt(n)},void 0,void 0,()=>{be?.closed||be?.unsubscribe(),ze=null})),!_t&&Pt(null!=t?"number"==typeof t?t:+t-l.now():n)})}function E1(r){throw new M1(r)}class Ga{constructor(i,t){this.db=i,this.utilities=t,this.circles=[]}initialize(){var i=this;return(0,Fe.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,Fe.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,Fe.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,Fe.Z)(function*(){const n=t.circles.findIndex(a=>a.id==i);n>-1&&t.circles.splice(n,1),yield t.db.storage.deleteCircle(i)})()}}Ga.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}],Ga.\u0275fac=function(i){return new(i||Ga)(e.LFG(_r),e.LFG(gn.dU))},Ga.\u0275prov=e.Yz7({token:Ga,factory:Ga.\u0275fac,providedIn:"root"});class ma{constructor(i,t,n,a,l,v,A,G,V,be,ze){this.nostr=i,this.ui=t,this.circleService=n,this.storage=a,this.queueService=l,this.profileService=v,this.appState=A,this.utilities=G,this.validator=V,this.eventService=be,this.relayService=ze,this.daysToKeepProfiles=14,this.cleanProfileInterval=36e5,this.profileBatchSize=20,this.refreshUserProfile=72e5,this.connected=!1,this.connected$=this.appState.connected$.pipe((0,Mr.U)(_t=>!0===_t)),this.isFetching=!1,this.profileQueue=[],this.queue=[],this.appState.connected$.subscribe(_t=>{console.log("Connection state changed: ",_t),this.connected=_t,this.connected&&this.initialDataLoad()})}publishRelays(){var i=this;return(0,Fe.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,Fe.Z)(function*(){let n=i;n.id=Tr(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(!xa(n))throw new Error("The event is not valid. Cannot publish.");if(!(yield La(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,Fe.Z)(function*(){return yield i.storage.storage.getContacts(i.appState.getPublicKey())})()}publishContactsAndRelays(){var i=this;return(0,Fe.Z)(function*(){const t=i.circleService.circles.filter(G=>!G.public).map(G=>G.id),a=i.profileService.following.filter(G=>-1==t.indexOf(G.circle)).map(G=>G.pubkey).map(G=>["p",G]),l=i.getJsonFormattedRelayList();let v={kind:Ui.Contacts,created_at:Math.floor(Date.now()/1e3),content:JSON.stringify(l),pubkey:i.appState.getPublicKey(),tags:a};const A=yield i.createAndSignEvent(v);A&&(console.log("PUBLISH EVENT:",A),i.relayService.publish(A))})()}initialDataLoad(){var i=this;return(0,Fe.Z)(function*(){i.relayService.subscribe([{authors:[i.appState.getPublicKey()],kinds:[Ui.Metadata,Ui.Contacts]}],"self"),i.profileService.following.map(a=>a.pubkey).unshift(i.appState.getPublicKey()),i.relayService.subscribe([{"#p":[i.appState.getPublicKey()],limit:100,kinds:[Ui.Text,Ui.Reaction,6]}],"notifications");const n=yield i.storage.storage.getNotifications(10);i.ui.putNotifications(n)})()}initialize(){var i=this;return(0,Fe.Z)(function*(){setTimeout((0,Fe.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,Mr.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,yl.z)(()=>this.relayService.connectedRelays())).pipe((0,yl.z)(a=>this.downloadFromRelay(i,a,t))).pipe((0,Ke.h)(a=>!n&&(n=a,!0))).pipe(vh(t),(0,sl.K)(a=>(console.warn("The observable was timed out."),(0,j.of)(void 0))))}downloadNewestEventsByQuery(i,t=1e4,n=-1){const a=[],l=this.relayService.connectedRelays().map(v=>this.downloadFromRelay(i,v));return(0,Ue.T)(...l).pipe((0,Ke.h)((v,A)=>{let G=!1;return a.findIndex(be=>be.id===v.id)>-1?G=!1:(a.push(v),G=!0),n>-1&&0!=n&&n--,G})).pipe(vh(t),(0,sl.K)(v=>(console.warn("The observable was timed out."),(0,j.of)(void 0))))}downloadNewestProfileEventByQuery(i,t=1e4,n=-1){const a=this.relayService.connectedRelays().map(l=>this.downloadFromRelay(i,l));return(0,Ue.T)(...a).pipe(vh(t),(0,sl.K)(l=>(console.warn("The observable was timed out."),(0,j.of)(void 0))))}downloadEventsByQuery(i,t=1e4){return this.connected$.pipe((0,yl.z)(()=>this.relayService.connectedRelays())).pipe((0,yl.z)(n=>this.downloadFromRelay(i,n)))}updateMetadata(i){var t=this;return(0,Fe.Z)(function*(){const n=t.utilities.reduceProfile(i);let a=t.createEvent(Ui.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 mh.y(a=>{const l=t.sub([...i],{});return l.on("event",v=>{const A=this.eventService.processEvent(v);A&&a.next(A)}),l.on("eose",()=>{a.complete()}),()=>{l.unsub()}}).pipe(vh(n),(0,sl.K)(a=>(console.warn("The observable was timed out."),(0,j.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,Fe.Z)(function*(v){const G=n.eventService.processEvent(v);if(G)try{const V=JSON.parse(G.content);n.validator.sanitizeProfile(V).created_at=G.created_at}catch{console.warn("This profile event was not parsed due to errors:",G)}});return function(v){return l.apply(this,arguments)}}()),a.on("eose",()=>{a.unsub(),this.isFetching=!1})}cleanProfiles(){return(0,Fe.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,Fe.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(!xa(n))throw new Error("The event is not valid. Cannot publish.");if(!(yield La(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,Fe.Z)(function*(){return t.signArticle(i)})()}signEvent(i){var t=this;return(0,Fe.Z)(function*(){let n=i;return n.id||(n.id=Tr(i)),t.signArticle(n)})()}publishEvent(i){var t=this;return(0,Fe.Z)(function*(){t.relayService.publish(i)})()}publishContacts(i){var t=this;return(0,Fe.Z)(function*(){const n=i.map(V=>["p",V]);let a={kind:3,created_at:Math.floor(Date.now()/1e3),content:"",pubkey:t.appState.getPublicKey(),tags:n},l=a;l.id=Tr(a),l=yield t.nostr.sign(a);const v=t.eventService.processEvent(l);if(!xa(l))throw new Error("The event is not valid. Cannot publish.");if(!(yield La(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 V=0;V{console.log(`${be.url} has accepted our event`)}),ze.on("failed",_t=>{console.log(`failed to publish to ${be.url}: ${_t}`)})}}})()}}ma.\u0275fac=function(i){return new(i||ma)(e.LFG(Ho),e.LFG(Gr),e.LFG(Ga),e.LFG(_r),e.LFG(Hr),e.LFG(Ln),e.LFG(Le.i),e.LFG(gn.dU),e.LFG(rs.Y),e.LFG(Ur),e.LFG(ao))},ma.\u0275prov=e.Yz7({token:ma,factory:ma.\u0275fac,providedIn:"root"});var zm=new WeakMap;class qa{constructor(i,t,n,a,l){Et(this,zm,{writable:!0,value:void 0}),this.eventService=i,this.router=t,this.dialog=n,this.appState=a,this.dataService=l,Zt(this,zm,new Re.X(void 0)),this.showMore$=_e(this,zm).asObservable(),this.currentThread=[]}showMore(){_e(this,zm).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,Fe.Z)(function*(){console.log("save note data:",i);let n=i;"string"!=typeof n&&(n=JSON.stringify(n));let a=t.dataService.createEvent(Ui.Text,n);a.tags=t.eventService.parseContentReturnTags(a.content);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,Fe.Z)(function*(){console.log("save article data:",i);let n=i.content;"string"!=typeof n&&(n=JSON.stringify(n));let a=t.dataService.createEvent(Ui.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(A=>A);for(let A=0;A{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})(),og=(()=>{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 A=t.scrollLeft,G=(this.rtl?-1:1)*n-A-this.snapOffset;let be=0;const _t=function(){var Pt,jt,Xt;be+=20,t.scrollLeft=(Pt=be,jt=A,Xt=G,(Pt/=a/2)<1?Xt/2*Pt*Pt+jt:-Xt/2*(--Pt*(Pt-2)-1)+jt),be{l.isAnimating=!1,l.snapAnimationFinished.emit(l.currIndex)},20)};_t()}locateCurrentIndex(t){const n=Math.abs(this._contentRef.nativeElement.scrollLeft);this.currentChildWidth((a,l,v,A,G)=>{n>=v&&n<=l?(l-n>a/2&&!this.isScrollReachesRightEnd()?(this.isAnimating||(this.currIndex=A),t&&this.scrollTo(this._contentRef.nativeElement,v,this.snapDuration)):0!==n&&(this.isAnimating||(this.currIndex=A+1),t&&this.scrollTo(this._contentRef.nativeElement,v+a,this.snapDuration)),G()):A+1===this._children.length-1&&(this.isAnimating||(this.currIndex=A+1),G())})}currentChildWidth(t){let n=0,a=!1;const l=function(){a=!0},v=this._children.toArray();for(let A=0;A1&&(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 A=n[n.length-1-v];if(!A)break;{const G=A._elementRef.nativeElement;let V=G.clientWidth;if(0===V&&G.firstElementChild&&(V=A._elementRef.nativeElement.firstElementChild.clientWidth),l+=V,!(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,T1,5),2&t){let l;e.iGM(l=e.CRH())&&(n._children=l)}},viewQuery:function(t,n){if(1&t&&e.Gf(A1,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:u2,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})(),sg=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({}),r})();var xr=y(9427);const Gm=["tooltip"],I1=new e.OlP("mat-tooltip-scroll-strategy"),Qm={provide:I1,deps:[_.aV],useFactory:function Wm(r){return()=>r.scrollStrategies.reposition({scrollThrottle:20})}},O1=new e.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function lg(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),cg="tooltip-panel",dg=(0,x.i$)({passive:!0});let P1=(()=>{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,A,G,V,be,ze,_t,Pt){this._overlay=t,this._elementRef=n,this._scrollDispatcher=a,this._viewContainerRef=l,this._ngZone=v,this._platform=A,this._ariaDescriber=G,this._focusMonitor=V,this._dir=ze,this._defaultOptions=_t,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=be,this._document=Pt,_t&&(_t.position&&(this.position=_t.position),_t.positionAtOrigin&&(this.positionAtOrigin=_t.positionAtOrigin),_t.touchGestures&&(this.touchGestures=_t.touchGestures)),ze.change.pipe((0,Ji.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,Ji.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,dg)}),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,Ji.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,Ji.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}-${cg}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,Ji.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,Ji.R)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,Ji.R)(this._destroyed)).subscribe(l=>{this._isTooltipVisible()&&l.keyCode===S.hY&&!(0,S.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,Oe.q)(1),(0,Ji.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 A=this._overlayRef;if(A){const G=`${this._cssClassPrefix}-${cg}-`;A.removePanelClass(G+this._currentPosition),A.addPanelClass(G+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,dg)})}_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})(),oo=(()=>{class r extends P1{constructor(t,n,a,l,v,A,G,V,be,ze,_t,Pt){super(t,n,a,l,v,A,G,V,be,ze,_t,Pt),this._tooltipComponent=B1,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(xr.mF),e.Y36(e.s_b),e.Y36(e.R0b),e.Y36(x.t4),e.Y36(g.$s),e.Y36(g.tE),e.Y36(I1),e.Y36(I.Is,8),e.Y36(O1,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})(),m2=(()=>{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})(),B1=(()=>{class r extends m2{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(Gm,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})(),mg=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[Qm],imports:[g.rt,F.ez,_.U8,ae.BQ,ae.BQ,xr.ZD]}),r})();function fg(r,i){1&r&&(e.TgZ(0,"mat-icon",1),e._uU(1,"public"),e.qZA()),2&r&&e.Q6J("matTooltip",i.$implicit)}class cs{constructor(i){this.profiles=i,this.pubkey=""}ngOnInit(){var i=this;return(0,Fe.Z)(function*(){i.profile||(i.profile=yield i.profiles.getLocalProfile(i.pubkey)),i.profile&&(i.verifications=i.profile.verifications)})()}}function Y1(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1,", "),e.qZA())}function H1(r,i){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.YNc(2,Y1,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)}}cs.\u0275fac=function(i){return new(i||cs)(e.Y36(Ln))},cs.\u0275cmp=e.Xpm({type:cs,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,fg,2,1,"mat-icon",0),2&i&&e.Q6J("ngForOf",t.verifications)},dependencies:[F.sg,Un,oo],encapsulation:2});class cu{constructor(i){this.utilities=i,this.relayNames=[]}ngOnInit(){var i=this;return(0,Fe.Z)(function*(){if(i.relayNames=[],null==i.relays)return;const t=JSON.parse(i.relays);i.relayNames=i.utilities.getRelayUrls(t)})()}}cu.\u0275fac=function(i){return new(i||cu)(e.Y36(gn.dU))},cu.\u0275cmp=e.Xpm({type:cu,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,H1,3,2,"span",0),2&i&&e.Q6J("ngForOf",t.relayNames)},dependencies:[F.sg,F.O5],encapsulation:2});class du{constructor(i){this.utilities=i}transform(i){return i&&(i.startsWith("npub")?i:this.utilities.getNostrIdentifier(i))}}function U1(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 j1(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)}}du.\u0275fac=function(i){return new(i||du)(e.Y36(gn.dU,16))},du.\u0275pipe=e.Yjl({name:"bech32",type:du,pure:!0});const pg=function(r){return["/p",r]};function Jm(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,pg,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 Dc(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 p2(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 g2(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 gg(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 Xc(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 _g(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 _2(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 bg(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 Mk(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 Ek(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 b2(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 y2(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 Z1(r,i){if(1&r&&(e.TgZ(0,"div",14),e.YNc(1,p2,4,1,"div",15),e.YNc(2,g2,4,1,"div",15),e.YNc(3,gg,4,1,"div",15),e.YNc(4,Xc,5,3,"div",15),e.YNc(5,_g,4,1,"div",15),e.YNc(6,_2,4,1,"div",15),e.YNc(7,bg,4,1,"div",15),e.YNc(8,Mk,4,1,"div",15),e.YNc(9,Ek,4,1,"div",15),e.YNc(10,b2,4,1,"div",15),e.YNc(11,y2,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 v2(r,i){if(1&r&&(e.TgZ(0,"div",12),e.Hsn(1),e.YNc(2,Z1,12,11,"div",13),e.qZA()),2&r){const t=e.oxw();e.xp6(2),e.Q6J("ngIf",t.profile&&"content"==t.listType)}}const Ha=function(r){return[r]};var Km=new WeakMap,wh=new WeakMap;class Ao{set profile(i){Zt(this,Km,i),Zt(this,wh,i.pubkey),this.updateProfileDetails()}get profile(){return _e(this,Km)}set pubkey(i){var t=this;Zt(this,wh,i),this.profiles.getProfile(i).then(function(){var n=(0,Fe.Z)(function*(a){Zt(t,Km,a),yield t.updateProfileDetails()});return function(a){return n.apply(this,arguments)}}())}get pubkey(){return _e(this,wh)}constructor(i,t,n,a,l){Et(this,Km,{writable:!0,value:void 0}),Et(this,wh,{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",Zt(this,wh,""),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,Fe.Z)(function*(){})()}updateProfileDetails(){var i=this;return(0,Fe.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))})()}}Ao.\u0275fac=function(i){return new(i||Ao)(e.Y36(Gr),e.Y36(Hr),e.Y36(Ln),e.Y36(Ga),e.Y36(gn.dU))},Ao.\u0275cmp=e.Xpm({type:Ao,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,U1,1,4,"img",3),e.YNc(4,j1,1,2,"img",4),e.qZA()(),e.YNc(5,Jm,4,7,"div",5),e.YNc(6,Dc,14,7,"ng-template",6),e.YNc(7,v2,3,1,"div",7),e.qZA()),2&i&&(e.Q6J("ngClass",e.VKq(8,Ha,"event-header-"+t.listType)),e.xp6(1),e.Q6J("ngClass",e.VKq(10,Ha,"icon-"+t.iconSize)),e.xp6(1),e.Q6J("routerLink",e.VKq(12,pg,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,Bt.rH,oo,cu,du],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 Kl{constructor(i,t){this.dialogRef=i,this.data=t}onNoClick(){this.data.picture="",this.dialogRef.close()}}Kl.\u0275fac=function(i){return new(i||Kl)(e.Y36(xe),e.Y36(ye))},Kl.\u0275cmp=e.Xpm({type:Kl,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 Mc{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"})}}Mc.\u0275fac=function(i){return new(i||Mc)},Mc.\u0275prov=e.Yz7({token:Mc,factory:Mc.\u0275fac,providedIn:"root"});class vl{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()}),this.appState.initialized$.subscribe(()=>{this.initialize()})}initialize(){null!=this.storageService.state.mediaQueue&&(this.media=this.storageService.state.mediaQueue)}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),this.save()}dequeue(i){const t=this.media.findIndex(n=>n===i);-1!==t&&(this.media.splice(t,1),this.save())}save(){var i=this;return(0,Fe.Z)(function*(){i.storageService.state.mediaQueue=i.media,yield i.storageService.saveState()})()}start(){var i=this;return(0,Fe.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,Fe.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)}}vl.\u0275fac=function(i){return new(i||vl)(e.LFG(Xr.I),e.LFG(ro.ux),e.LFG(gn.dU),e.LFG(_r),e.LFG(Le.i))},vl.\u0275prov=e.Yz7({token:vl,factory:vl.\u0275fac,providedIn:"root"});var so=y(3900);function w2(r,i){1&r&&(e.TgZ(0,"span",8),e.Hsn(1,1),e.qZA())}function x2(r,i){1&r&&(e.TgZ(0,"span",9),e.Hsn(1,2),e.qZA())}const yg=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],z1=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function G1(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 Ak(r,i){1&r&&(e.TgZ(0,"span",13),e.Hsn(1,2),e.qZA())}const $m='.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 vg(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 Vs(r,i){1&r&&(e.TgZ(0,"span",11),e.Hsn(1),e.qZA())}function F2(r,i){1&r&&(e.ynx(0),e.Hsn(1,1),e.BQk())}function q1(r,i){1&r&&e.Hsn(0,2,["*ngIf","contentEditInput; else defaultMatChipEditInput"])}function wl(r,i){1&r&&e._UZ(0,"span",14)}function zs(r,i){if(1&r&&(e.ynx(0),e.YNc(1,q1,1,0,"ng-content",12),e.YNc(2,wl,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 Gs(r,i){1&r&&(e.TgZ(0,"span",15),e.Hsn(1,3),e.qZA())}const W1=[[["mat-chip-avatar"],["","matChipAvatar",""]],"*",[["","matChipEditInput",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],Q1=["mat-chip-avatar, [matChipAvatar]","*","[matChipEditInput]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],wg=["*"],J1=".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}",Xm=new e.OlP("mat-chips-default-options"),K1=new e.OlP("MatChipAvatar"),ef=new e.OlP("MatChipTrailingIcon"),uu=new e.OlP("MatChipRemove"),tf=new e.OlP("MatChip");class $1{}const C2=(0,ae.sb)($1,-1);let ed=(()=>{class r extends C2{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===S.K5||t.keyCode===S.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(tf))},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})(),eb=(()=>{class r extends ed{constructor(){super(...arguments),this._isPrimary=!1}_handleClick(t){this.disabled||(t.stopPropagation(),t.preventDefault(),this._parentChip.remove())}_handleKeydown(t){(t.keyCode===S.K5||t.keyCode===S.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:uu,useExisting:r}]),e.qOj]}),r})(),tb=0;const ib=(0,ae.sb)((0,ae.pj)((0,ae.Kr)((0,ae.Id)(class{constructor(r){this._elementRef=r}})),"primary"),-1);let xl=(()=>{class r extends ib{_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,A,G,V){super(n),this._changeDetectorRef=t,this._ngZone=a,this._focusMonitor=l,this._globalRippleOptions=G,this._isRippleCentered=!1,this._onFocus=new D.x,this._onBlur=new D.x,this.role=null,this._hasFocusInternal=!1,this.id="mat-mdc-chip-"+tb++,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 be=n.nativeElement;this._document=v,this._animationsDisabled="NoopAnimations"===A,this._isBasicChip=be.hasAttribute(this.basicChipAttrName)||be.tagName.toLowerCase()===this.basicChipAttrName,null!=V&&(this.tabIndex=parseInt(V)??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===S.ZH||t.keyCode===S.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,Oe.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,K1,5),e.Suo(a,ef,5),e.Suo(a,uu,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(ed,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:tf,useExisting:r}]),e.qOj],ngContentSelectors:z1,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(yg),e._UZ(0,"span",0)(1,"span",1),e.TgZ(2,"span",2)(3,"span",3),e.YNc(4,w2,2,0,"span",4),e.TgZ(5,"span",5),e.Hsn(6),e._UZ(7,"span",6),e.qZA()()(),e.YNc(8,x2,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,ed],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})(),xh=(()=>{class r extends xl{constructor(){super(...arguments),this._defaultOptions=(0,e.f3M)(Xm,{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:xl,useExisting:r},{provide:tf,useExisting:r}]),e.qOj],ngContentSelectors:z1,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(yg),e._UZ(0,"span",0)(1,"span",1),e.TgZ(2,"span",2)(3,"button",3),e.YNc(4,G1,5,0,"span",4),e.TgZ(5,"span",5),e.Hsn(6),e._UZ(7,"span",6),e.qZA()()(),e.YNc(8,Ak,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,ed],styles:[$m],encapsulation:2,changeDetection:0}),r})(),hu=(()=>{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})(),rf=(()=>{class r extends xl{constructor(t,n,a,l,v,A,G,V){super(t,n,a,l,v,A,G,V),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,Ji.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!==S.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,hu,5),2&t){let l;e.iGM(l=e.CRH())&&(n.contentEditInput=l.first)}},viewQuery:function(t,n){if(1&t&&e.Gf(hu,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:xl,useExisting:r},{provide:tf,useExisting:r}]),e.qOj],ngContentSelectors:Q1,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(W1),e.YNc(0,vg,3,3,"ng-container",0),e.TgZ(1,"span",1)(2,"span",2),e.YNc(3,Vs,2,0,"span",3),e.TgZ(4,"span",4),e.YNc(5,F2,2,0,"ng-container",5),e.YNc(6,zs,4,2,"ng-container",5),e._UZ(7,"span",6),e.qZA()()(),e.YNc(8,Gs,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,ed,hu],styles:[$m],encapsulation:2,changeDetection:0}),r})();class nb{constructor(i){}}const rb=(0,ae.sb)(nb);let mu=(()=>{class r extends rb{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,L.O)(null),(0,so.w)(()=>(0,Ue.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,L.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,Ji.R)(this._destroyed)).subscribe(({chip:t})=>{const n=t._getSourceAction(document.activeElement);n&&this._keyManager.updateActiveItem(n)}),this._dir?.change.pipe((0,Ji.R)(this._destroyed)).subscribe(t=>this._keyManager.withHorizontalOrientation(t))}_skipPredicate(t){return!t.isInteractive||t.disabled}_trackChipSetChanges(){this._chips.changes.pipe((0,L.O)(null),(0,Ji.R)(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe((0,Ji.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(I.Is,8))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-chip-set"]],contentQueries:function(t,n,a){if(1&t&&e.Suo(a,xl,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:wg,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 ab{constructor(i,t){this.source=i,this.value=t}}const ob={provide:ha,useExisting:(0,e.Gpc)(()=>af),multi:!0};let af=(()=>{class r extends mu{constructor(){super(...arguments),this._onTouched=()=>{},this._onChange=()=>{},this._defaultRole="listbox",this._defaultOptions=(0,e.f3M)(Xm,{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,L.O)(null),(0,Ji.R)(this._destroyed)).subscribe(()=>{this._syncListboxProperties()}),this.chipBlurChanges.pipe((0,Ji.R)(this._destroyed)).subscribe(()=>this._blur()),this.chipSelectionChanges.pipe((0,Ji.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===S.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 ab(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,xh,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([ob]),e.qOj],ngContentSelectors:wg,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:[J1],encapsulation:2,changeDetection:0}),r})();class k2{constructor(i,t){this.source=i,this.value=t}}class D2 extends mu{constructor(i,t,n,a,l,v,A){super(i,t,n),this._defaultErrorStateMatcher=a,this._parentForm=l,this._parentFormGroup=v,this.ngControl=A,this.stateChanges=new D.x}}const M2=(0,ae.FD)(D2);let sb=(()=>{class r extends M2{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(io.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,A,G){super(t,n,a,A,l,v,G),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,Ji.R)(this._destroyed)).subscribe(()=>{this._blur(),this.stateChanges.next()}),(0,Ue.T)(this.chipFocusChanges,this._chips.changes).pipe((0,Ji.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===S.Mf?this._chipInput.focused&&(0,S.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 k2(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(I.Is,8),e.Y36(Ys,8),e.Y36(ss,8),e.Y36(ae.rD),e.Y36(Bs,10))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-chip-grid"]],contentQueries:function(t,n,a){if(1&t&&e.Suo(a,rf,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:Yd,useExisting:r}]),e.qOj],ngContentSelectors:wg,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:[J1],encapsulation:2,changeDetection:0}),r})(),E2=0,lb=(()=>{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-"+E2++,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===S.ZH&&this._focusLastChipOnBackspace)return this._chipGrid._focusLastChip(),void t.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(t)}_keyup(t){!this._focusLastChipOnBackspace&&t.keyCode===S.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,S.Vb)(t)&&new Set(this.separatorKeyCodes).has(t.keyCode)}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(Xm),e.Y36(Hd,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})(),A2=(()=>{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:Xm,useValue:{separatorKeyCodes:[S.K5]}}],imports:[ae.BQ,F.ez,ae.si,ae.BQ]}),r})();function T2(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1,", "),e.qZA())}const S2=function(r){return["/p",r]};function I2(r,i){if(1&r&&(e.TgZ(0,"span")(1,"a",1),e._uU(2),e.qZA(),e.YNc(3,T2,2,0,"span",2),e.qZA()),2&r){const t=i.$implicit,n=i.last;e.xp6(1),e.Q6J("routerLink",e.VKq(3,S2,t.pubkey)),e.xp6(1),e.Oqu(t.name),e.xp6(1),e.Q6J("ngIf",!n)}}class Fh{constructor(i,t){this.profileService=i,this.utilities=t,this.keys=[],this.profiles=[]}ngOnInit(){var i=this;return(0,Fe.Z)(function*(){i.profiles=[];for(let t=0;t0),e.xp6(1),e.Q6J("keys",t)}}function j2(r,i){if(1&r&&e.YNc(0,vb,3,2,"div",18),2&r){const t=e.oxw(2);e.Q6J("ngIf",t.repliesTo(t.event))}}function wb(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 xb=function(r){return{"event-content-big":r}};function Fb(r,i){if(1&r&&(e.TgZ(0,"div",1)(1,"span",2),e.YNc(2,fa,4,5,"ng-container",3),e.YNc(3,Lk,2,0,"span",4),e.qZA(),e.YNc(4,j2,1,1,"ng-template",5),e.TgZ(5,"mat-chip-set",6),e.YNc(6,wb,2,1,"mat-chip",3),e.qZA()()),2&r){const t=e.oxw();e.xp6(1),e.Q6J("ngClass",e.VKq(5,xb,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))}}var df=new WeakMap;class Ds{set event(i){Zt(this,df,i),this.initialize()}get event(){return _e(this,df)}constructor(i,t,n,a,l,v,A){Et(this,df,{writable:!0,value:void 0}),this.eventService=i,this.contentService=t,this.mediaService=n,this.optionsService=a,this.profileService=l,this.utilities=v,this.dialog=A,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(){this.initialize()}initialize(){this.event&&(this.dynamicText=this.toDynamicText(this.event),this.isFollowing=this.profileService.isFollowing(this.event.pubkey))}expandImage(i){this.dialog.open(Kl,{data:{picture:i}})}expandImageUrl(i){this.dialog.open(Kl,{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){i=this.utilities.ensureHexIdentifier(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,""),this.bigSize=t.length<9;const n=[],a=t.split(/\r?\n/),l=[];for(let A=0;A""!=be),V.push("
"),l.push(...V)}let v=0;for(const A of l){let G=this.contentService.getKeyword(A.toLowerCase());if(G){if("username"==G.token){let V=Number(A.replace("#[","").replace("]","")),be=i.tags;G.word=be.length>V?be[V][1]:A}v=n.push(G)}else if(A.startsWith("nostr:")){const V=pn.decode(A.substring(6)),be=V.data;v=n.push("nprofile"===V.type?{safeWord:this.utilities.sanitizeUrlAndBypass(A),word:be.pubkey,token:V.type}:"npub"===V.type||"note"===V.type?{safeWord:this.utilities.sanitizeUrlAndBypass(A),word:be,token:V.type}:"nevent"===V.type?{safeWord:this.utilities.sanitizeUrlAndBypass(A),word:be.id,token:V.type}:{safeWord:this.utilities.sanitizeUrlAndBypass(A),word:A.substring(6),token:V.type})}else if(A.startsWith("@")){const V=A.substring(1),be=this.profileService.following.find(ze=>ze.name===V)?.npub;if(be){const ze=pn.decode(be),_t=ze.data;v=n.push({safeWord:this.utilities.sanitizeUrlAndBypass(A),word:_t,token:ze.type})}else n[v]+=A}else if(A.startsWith("http://")||A.startsWith("https://"))if(this.isImage(A))v=n.push({safeWord:this.utilities.sanitizeUrlAndBypass(A),word:A,token:"image"});else if(this.isVideo(A))v=n.push({safeWord:this.utilities.sanitizeUrlAndBypass(A),word:A,token:"video"});else if(this.isAudio(A))v=n.push({safeWord:this.utilities.sanitizeUrlAndBypass(A),word:A,token:"audio"});else if(this.isYouTube(A)){const V=[...A.matchAll(this.contentService.regexpYouTube)];v=n.push(V.length>0?{safeWord:this.utilities.bypassFrameUrl(`https://www.youtube.com/embed/${V[0][1]}`),word:`https://www.youtube.com/embed/${V[0][1]}`,token:"youtube"}:{word:A,token:"link"})}else if(this.isSpotify(A))v=n.push({safeWord:this.utilities.sanitizeUrlAndBypassFrame(A.replace("open.spotify.com/","open.spotify.com/embed/")),word:A,token:"spotify"});else if(this.isTidal(A))if(A.startsWith("https://tidal.com/browse/track/")){const V=A.replace("tidal.com/browse/track/","embed.tidal.com/tracks/");v=n.push({safeWord:this.utilities.sanitizeUrlAndBypassFrame(V),word:A,token:"tidal"})}else if(A.startsWith("https://tidal.com/track/")){const V=A.replace("tidal.com/track/","embed.tidal.com/tracks/");v=n.push({safeWord:this.utilities.sanitizeUrlAndBypassFrame(V),word:A,token:"tidal"})}else v=n.push({word:A,token:"link"});else v=n.push({word:A,token:"link"});else n[v]?n[v]+=A:n[v]=A}return n}}Ds.\u0275fac=function(i){return new(i||Ds)(e.Y36(Ur),e.Y36(Mc),e.Y36(vl),e.Y36(Xr.I),e.Y36(Ln),e.Y36(gn.dU),e.Y36(vi))},Ds.\u0275cmp=e.Xpm({type:Ds,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,Fb,7,7,"div",0),2&i&&e.Q6J("ngIf",t.event)},dependencies:[F.mk,F.sg,F.O5,F.RF,F.n9,Bt.rH,kt.RK,Um,Un,oo,xl,mu,Fh],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 Dg=y(7957);class jo{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,Fe.Z)(function*(){if(!i)return;let n={name:i,id:Zc()};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,Fe.Z)(function*(){yield i.db.storage.deleteNotes()})()}}Zo.\u0275fac=function(i){return new(i||Zo)(e.LFG(_r))},Zo.\u0275prov=e.Yz7({token:Zo,factory:Zo.\u0275fac,providedIn:"root"});var Cb=y(3101),Mg=y(7272),kb=y(5032),hf=y(9718);function Eg(r,i){return i?t=>(0,Mg.z)(i.pipe((0,Oe.q)(1),function uf(){return(0,wd.e)((r,i)=>{r.subscribe((0,xd.x)(i,kb.Z))})}()),t.pipe(Eg(r))):(0,yl.z)((t,n)=>(0,ys.Xf)(r(t,n)).pipe((0,Oe.q)(1),(0,hf.h)(t)))}function Ch(r,i=Vm.z){const t=(0,ol.H)(r,i);return Eg(()=>t)}const Z2=["mat-menu-item",""];function kh(r,i){1&r&&(e.O4$(),e.TgZ(0,"svg",3),e._UZ(1,"polygon",4),e.qZA())}const Dh=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],V2=["mat-icon, [matMenuItemIcon]","*"];function z2(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 G2=["*"],mf=new e.OlP("MAT_MENU_PANEL"),Db=(0,ae.Kr)((0,ae.Id)(class{}));let Fl=(()=>{class r extends Db{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,ke.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,ke.oB)({opacity:1,transform:"scale(1)"}))),(0,ke.eR)("* => void",(0,ke.jt)("100ms 25ms linear",(0,ke.oB)({opacity:0})))]),fadeInItems:(0,ke.X$)("fadeInItems",[(0,ke.SB)("showing",(0,ke.oB)({opacity:1})),(0,ke.eR)("void => *",[(0,ke.oB)({opacity:0}),(0,ke.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let ff=0;const Mb=new e.OlP("mat-menu-default-options",{providedIn:"root",factory:function J2(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let _u=(()=>{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-"+ff++}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,L.O)(this._directDescendantItems),(0,so.w)(t=>(0,Ue.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,L.O)(this._directDescendantItems),(0,so.w)(n=>(0,Ue.T)(...n.map(a=>a._hovered))))}addItem(t){}removeItem(t){}_handleKeydown(t){const n=t.keyCode,a=this._keyManager;switch(n){case S.hY:(0,S.Vb)(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case S.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case S.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(n===S.LH||n===S.JH)&&a.setFocusOrigin("keyboard"),void a.onKeydown(t)}t.stopPropagation()}focusFirstItem(t="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,Oe.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,L.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(Mb),e.Y36(e.sBO))},r.\u0275dir=e.lG2({type:r,contentQueries:function(t,n,a){if(1&t&&(e.Suo(a,W2,5),e.Suo(a,Fl,5),e.Suo(a,Fl,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})(),Cl=(()=>{class r extends _u{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(Mb),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:mf,useExisting:r}]),e.qOj],ngContentSelectors:G2,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,z2,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:[Ag.transformMenu,Ag.fadeInItems]},changeDetection:0}),r})();const Eb=new e.OlP("mat-menu-scroll-strategy"),$2={provide:Eb,deps:[_.aV],useFactory:function K2(r){return()=>r.scrollStrategies.reposition()}},Ab=(0,x.i$)({passive:!0});let X2=(()=>{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,A,G,V,be){this._overlay=t,this._element=n,this._viewContainerRef=a,this._menuItemInstance=A,this._dir=G,this._focusMonitor=V,this._ngZone=be,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=po.w0.EMPTY,this._hoverSubscription=po.w0.EMPTY,this._menuCloseSubscription=po.w0.EMPTY,this._changeDetectorRef=(0,e.f3M)(e.sBO),this._handleTouchStart=ze=>{(0,g.yG)(ze)||(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 _u?v:void 0,n.nativeElement.addEventListener("touchstart",this._handleTouchStart,Ab)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Ab),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 _u&&(t._startAnimation(),t._directDescendantItems.changes.pipe((0,Ji.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 _u?(n._resetAnimation(),n.lazyContent?n._animationDone.pipe((0,Ke.h)(a=>"void"===a.toState),(0,Oe.q)(1),(0,Ji.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,A]="above"===t.yPosition?["bottom","top"]:["top","bottom"],[G,V]=[v,A],[be,ze]=[a,l],_t=0;if(this.triggersSubmenu()){if(ze=a="before"===t.xPosition?"start":"end",l=be="end"===a?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const Pt=this._parentMaterialMenu.items.first;this._parentInnerPadding=Pt?Pt._getHostElement().offsetTop:0}_t="bottom"===v?this._parentInnerPadding:-this._parentInnerPadding}}else t.overlapTrigger||(G="top"===v?"bottom":"top",V="top"===A?"bottom":"top");n.withPositions([{originX:a,originY:G,overlayX:be,overlayY:v,offsetY:_t},{originX:l,originY:G,overlayX:ze,overlayY:v,offsetY:_t},{originX:a,originY:V,overlayX:be,overlayY:A,offsetY:-_t},{originX:l,originY:V,overlayX:ze,overlayY:A,offsetY:-_t}])}_menuClosingActions(){const t=this._overlayRef.backdropClick(),n=this._overlayRef.detachments(),a=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,j.of)(),l=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,Ke.h)(v=>v!==this._menuItemInstance),(0,Ke.h)(()=>this._menuOpen)):(0,j.of)();return(0,Ue.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===S.K5||n===S.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(n===S.SV&&"ltr"===this.dir||n===S.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,Ke.h)(t=>t===this._menuItemInstance&&!t.disabled),Ch(0,Cb.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof _u&&this.menu._isAnimating?this.menu._animationDone.pipe((0,Oe.q)(1),Ch(0,Cb.E),(0,Ji.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(Eb),e.Y36(mf,8),e.Y36(Fl,10),e.Y36(I.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})(),bu=(()=>{class r extends X2{}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})(),ex=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[$2],imports:[F.ez,ae.si,ae.BQ,_.U8,xr.ZD,ae.BQ]}),r})();function tx(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 Mh(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 ix(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 Tb(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 nx(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,"Bookmark"),e.qZA()()}if(2&r){e.oxw();const t=e.MAs(34);e.Q6J("matMenuTriggerFor",t)}}function Sb(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 Bookmarks"),e.qZA()()}}function rx(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(34);e.Q6J("matMenuTriggerFor",t)}}function Ib(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 ax(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 Tg(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 ox(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 Ob(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 Lb(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 ds{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,Fe.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,Fe.Z)(function*(){i.event&&(console.log("DELETE EVENT:",i.event),yield i.notesService.deleteNote(i.event.id))})()}follow(i){var t=this;return(0,Fe.Z)(function*(){console.log("FOLLOW:",t.profile),null==i&&(i=0),t.profile&&(1!=t.profile.status?(t.profile.circle=i,t.profile.status=1,yield t.profileService.follow(t.profile.pubkey,i)):(t.profile.circle=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:${pn.npubEncode(i)}`)}copyNoteId(i){this.copy(pn.noteEncode(i))}setLabel(i){var t=this;return(0,Fe.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(pn.neventEncode({id:i}))}copyNoteUrl(i){this.copy(`web+nostr:nevent:${pn.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,Dg.v)(i),this.snackBar.open("Copied to clipboard","Hide",{duration:2500,horizontalPosition:"center",verticalPosition:"bottom"})}unfollow(){var i=this;return(0,Fe.Z)(function*(){i.profile&&(i.profile.status=0,yield i.profileService.unfollow(i.profile.pubkey))})()}mute(){var i=this;return(0,Fe.Z)(function*(){i.profile&&(yield i.profileService.mute(i.profile.pubkey))})()}unmute(){var i=this;return(0,Fe.Z)(function*(){i.profile&&(yield i.profileService.unmute(i.profile.pubkey))})()}block(){var i=this;return(0,Fe.Z)(function*(){i.profile&&(yield i.profileService.block(i.profile.pubkey))})()}unblock(){var i=this;return(0,Fe.Z)(function*(){i.profile&&(yield i.profileService.unblock(i.profile.pubkey))})()}ngOnDestroy(){}ngOnInit(){var i=this;return(0,Fe.Z)(function*(){i.event?(i.pubkey=i.event.pubkey,i.profile=yield i.profileService.getProfile(i.pubkey)):i.profile&&(i.pubkey=i.profile.pubkey,i.profile=yield i.profileService.getProfile(i.pubkey))})()}}function sx(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 lx(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)}}ds.\u0275fac=function(i){return new(i||ds)(e.Y36(jo),e.Y36(ro.ux),e.Y36(Ln),e.Y36(Zo),e.Y36(gn.dU))},ds.\u0275cmp=e.Xpm({type:ds,selectors:[["app-event-actions"]],inputs:{fab:"fab",pubkey:"pubkey",profile:"profile",event:"event"},decls:36,vars:15,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","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,tx,3,1,"button",0),e.YNc(1,Mh,3,1,"button",1),e.TgZ(2,"mat-menu",null,2),e.YNc(4,ix,5,0,"button",3),e.YNc(5,Tb,5,0,"button",3),e.YNc(6,nx,5,1,"button",4),e.YNc(7,Sb,5,0,"button",3),e.YNc(8,rx,5,1,"button",5),e.TgZ(9,"button",6),e.NdJ("click",function(){return t.copyNoteId(t.event.id)}),e.TgZ(10,"mat-icon"),e._uU(11,"copy_all"),e.qZA(),e.TgZ(12,"span"),e._uU(13,"Copy"),e.qZA()(),e.TgZ(14,"button",7)(15,"mat-icon"),e._uU(16,"ios_share"),e.qZA(),e.TgZ(17,"span"),e._uU(18,"Share"),e.qZA()()(),e.TgZ(19,"mat-menu",null,8),e.YNc(21,Ib,5,0,"button",3),e.YNc(22,ax,5,0,"button",3),e.YNc(23,Tg,5,0,"button",3),e.YNc(24,ox,5,0,"button",3),e.YNc(25,Ob,5,0,"button",3),e.qZA(),e.TgZ(26,"mat-menu",null,9)(28,"button",10),e.NdJ("click",function(){return t.copy("https://notes.blockcore.net/e/"+t.event.id)}),e.TgZ(29,"mat-icon"),e._uU(30,"content_copy"),e.qZA(),e.TgZ(31,"span"),e._uU(32,"Note URL"),e.qZA()()(),e.TgZ(33,"mat-menu",null,11),e.YNc(35,Lb,5,1,"button",12),e.qZA()),2&i){const n=e.MAs(20),a=e.MAs(27);e.Q6J("ngIf",!t.fab),e.xp6(1),e.Q6J("ngIf",t.fab),e.xp6(3),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",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,kt.RK,kt.nh,Un,Cl,Fl,bu],encapsulation:2});const Sg=function(r){return["/p",r]};class id{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,Fe.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 Nb(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,"")}}id.\u0275fac=function(i){return new(i||id)(e.Y36(_r),e.Y36(Ln),e.Y36(gn.dU))},id.\u0275cmp=e.Xpm({type:id,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,sx,2,2,"span",1),e.YNc(2,lx,2,1,"span",2),e.qZA()),2&i&&(e.Q6J("routerLink",e.VKq(3,Sg,t.pubkey)),e.xp6(1),e.Q6J("ngIf",t.tooltip),e.xp6(1),e.Q6J("ngIf",!t.tooltip))},dependencies:[F.O5,Bt.rH,oo],encapsulation:2});const Ig=function(r){return["/e",r]};function cx(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,Ig,t.notification.id))}}function dx(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1," started following you."),e.qZA())}function ux(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,Ig,t.notification.relatedId))}}function hx(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,Ig,t.notification.relatedId))}}class yu{}yu.\u0275fac=function(i){return new(i||yu)},yu.\u0275cmp=e.Xpm({type:yu,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,Nb,2,1,"span",1),e.YNc(2,cx,5,3,"span",1),e.YNc(3,dx,2,0,"span",1),e.YNc(4,ux,4,3,"span",1),e.YNc(5,hx,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,Bt.rH,id],encapsulation:2});var Ma=y(9383);class us{transform(i){return i?ns.unix(i).fromNow():""}}us.\u0275fac=function(i){return new(i||us)},us.\u0275pipe=e.Yjl({name:"ago",type:us,pure:!0});const Rb=["picker"];function Pb(r,i){if(1&r&&e._UZ(0,"app-event-header",16),2&r){const t=i.$implicit;e.Q6J("listType","icon")("iconSize","thumbnail")("displayName",!1)("displayContent",!1)("profile",t)}}function mx(r,i){if(1&r&&(e.TgZ(0,"p"),e._UZ(1,"app-notification-label",21),e.qZA()),2&r){const t=i.$implicit;e.xp6(1),e.Q6J("notification",t)}}function fx(r,i){1&r&&(e.TgZ(0,"p",22),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"Home.NoActivities")))}function Bb(r,i){if(1&r&&(e.TgZ(0,"mat-card-content",17),e.YNc(1,mx,2,1,"p",18),e.YNc(2,fx,3,3,"p",19),e.TgZ(3,"div",11)(4,"button",20),e._uU(5),e.ALo(6,"translate"),e.qZA()()()),2&r){const t=i.ngIf;e.xp6(1),e.Q6J("ngForOf",t),e.xp6(1),e.Q6J("ngIf",0==t.length),e.xp6(3),e.Oqu(e.lcZ(6,3,"Home.ViewMore"))}}const px=function(r){return["/following",r]};function gx(r,i){if(1&r&&(e.TgZ(0,"div",23),e._uU(1),e._UZ(2,"br"),e.TgZ(3,"small"),e._uU(4),e.qZA(),e._UZ(5,"br"),e.TgZ(6,"button",24),e._uU(7),e.ALo(8,"translate"),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(6,px,t.pubkeyhex)),e.xp6(1),e.Oqu(e.lcZ(8,4,"Home.ViewProfiles"))}}function _x(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-card",25),e.NdJ("click",function(a){const v=e.CHM(t).$implicit,A=e.oxw();return e.KtG(A.navigation.openEvent(a,v))}),e.TgZ(1,"div",26)(2,"app-event-header",27)(3,"span",28),e._uU(4),e.ALo(5,"ago"),e.qZA(),e._UZ(6,"app-directory-icon",27),e.qZA(),e._UZ(7,"app-event-actions",29),e.qZA(),e._UZ(8,"app-content",29),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 nd{constructor(i,t,n,a,l,v,A,G,V,be,ze,_t,Pt,jt,Xt,ei,Ci,si){this.ui=i,this.db=t,this.appState=n,this.cd=a,this.options=l,this.dialog=v,this.navigation=A,this.profileService=G,this.validator=V,this.authService=be,this.utilities=ze,this.snackBar=_t,this.dataService=Pt,this.router=jt,this.breakpointObserver=Xt,this.ngZone=ei,this.formBuilder=Ci,this.metricService=si,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,Fe.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,Fe.Z)(function*(){i.options.values.privateFeed=!0,i.formGroup=i.formBuilder.group({note:["",io.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;let a=t.slice(0,i.profileCount).sort((l,v)=>i.metricService.get(l.pubkey){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}}}Xl.\u0275fac=function(i){return new(i||Xl)(e.Y36(e.SBq))},Xl.\u0275dir=e.lG2({type:Xl,selectors:[["","infiniteScroll",""]],hostBindings:function(i,t){1&i&&e.NdJ("scroll",function(a){return t.onElementScroll(a)})},inputs:{infiniteScrollContext:"infiniteScrollContext"},outputs:{scrollAction:"scrollAction"}});var vu=y(3259);const Lg=["qrcElement"];let wx=(()=>{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,Fe.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,vu.hz)(this.qrdata,t,(l,v)=>{l?a(l):n(v)})})}toCanvas(t,n){return new Promise((a,l)=>{(0,vu.rT)(t,this.qrdata,n,v=>{v?l(v):a("success")})})}toSVG(t){return new Promise((n,a)=>{(0,vu.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,Fe.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 A=t.renderer.createElement("canvas");t.context=A.getContext("2d"),t.toCanvas(A,n).then(()=>{if(t.ariaLabel&&t.renderer.setAttribute(A,"aria-label",`${t.ariaLabel}`),t.title&&t.renderer.setAttribute(A,"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 be=t.centerImage;be&&(be.onload=()=>{t.context?.drawImage(be,A.width/2-v/2,A.height/2-l/2,v,l)})}t.renderElement(A),t.emitQRCodeURL(A)}).catch(be=>{console.error("[angularx-qrcode] canvas error:",be)});break;case"svg":const G=t.renderer.createElement("div");t.toSVG(n).then(be=>{t.renderer.setProperty(G,"innerHTML",be);const ze=G.firstChild;t.renderer.setAttribute(ze,"height",`${t.width}`),t.renderer.setAttribute(ze,"width",`${t.width}`),t.renderElement(ze),t.emitQRCodeURL(ze)}).catch(be=>{console.error("[angularx-qrcode] svg error:",be)});break;default:const V=t.renderer.createElement("img");t.toDataURL(n).then(be=>{t.alt&&V.setAttribute("alt",t.alt),t.ariaLabel&&V.setAttribute("aria-label",t.ariaLabel),V.setAttribute("src",be),t.title&&V.setAttribute("title",t.title),t.renderElement(V),t.emitQRCodeURL(V)}).catch(be=>{console.error("[angularx-qrcode] img/url error:",be)})}}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"}),A=URL.createObjectURL(v),G=this.sanitizer.bypassSecurityTrustUrl(A);return void this.qrCodeURL.emit(G)}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(Lg,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})(),jb=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({}),r})();function Ng(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 Zb(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 wu{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,Fe.Z)(function*(){i.invoice=i.data.invoice,i.profile=i.data.profile,i.updateProfileDetails()})()}updateProfileDetails(){var i=this;return(0,Fe.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 Vb(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 zb(r,i){if(1&r&&e._UZ(0,"img",10),2&r){const t=e.oxw();e.Q6J("matTooltip",t.tooltip)("src",t.imagePath,e.LSH)}}function xx(r,i){1&r&&(e.TgZ(0,"div",11),e._uU(1,"Fetching invoice..."),e.qZA())}function Fx(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 Cx(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 kx(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 Gb(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 Pk(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 qb(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 Dx(r,i){1&r&&e._uU(0,"Please enter a valid amount.")}function Mx(r,i){if(1&r&&(e.TgZ(0,"mat-error"),e.GkF(1,30),e.YNc(2,Cx,2,2,"ng-template",null,31,e.W1O),e.YNc(4,kx,1,1,"ng-template",null,32,e.W1O),e.YNc(6,Gb,1,1,"ng-template",null,33,e.W1O),e.YNc(8,Pk,1,1,"ng-template",null,34,e.W1O),e.YNc(10,qb,1,1,"ng-template",null,35,e.W1O),e.YNc(12,Dx,1,0,"ng-template",null,36,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),A=e.MAs(13),G=e.oxw(2);e.xp6(1),e.Q6J("ngTemplateOutlet",G.minSendable>0&&G.maxSendable>0?t:G.minSendable>0&&0==G.maxSendable?n:0==G.minSendable&&G.maxSendable>0?a:G.maxSendable>0?l:G.maxSendable<=0?v:A)}}function Bk(r,i){1&r&&(e.TgZ(0,"mat-error"),e._uU(1," Please enter a comment. "),e.qZA())}function Ex(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 Ax(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div")(1,"div",12)(2,"div",13)(3,"button",14),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",15),e._uU(7,"50"),e.qZA()()(),e.TgZ(8,"div",13)(9,"button",16),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",15),e._uU(13,"100"),e.qZA()()(),e.TgZ(14,"div",13)(15,"button",17),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",15),e._uU(19,"500"),e.qZA()()()(),e.TgZ(20,"div",12)(21,"div",13)(22,"button",14),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",15),e._uU(26,"1k"),e.qZA()()(),e.TgZ(27,"div",13)(28,"button",16),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",15),e._uU(32,"5k"),e.qZA()()(),e.TgZ(33,"div",13)(34,"button",17),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",15),e._uU(38,"10k"),e.qZA()()()(),e.TgZ(39,"div",12)(40,"div",13)(41,"button",14),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",15),e._uU(45,"100k"),e.qZA()()(),e.TgZ(46,"div",13)(47,"button",16),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",15),e._uU(51," 500k"),e.qZA()()(),e.TgZ(52,"div",13)(53,"button",17),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",15),e._uU(57,"1M"),e.qZA()()()(),e.TgZ(58,"form",18),e.NdJ("ngSubmit",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.onSubmit())}),e.TgZ(59,"div",19)(60,"div",20)(61,"mat-form-field",21)(62,"mat-label"),e._uU(63,"Zap Amount"),e.qZA(),e.TgZ(64,"input",22),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.amount=a)}),e.qZA(),e.YNc(65,Mx,14,1,"mat-error",8),e.qZA()()(),e.TgZ(66,"div",19)(67,"div",20)(68,"mat-form-field",21)(69,"mat-label"),e._uU(70,"Comment"),e.qZA(),e._UZ(71,"input",23),e.YNc(72,Bk,2,0,"mat-error",8),e.qZA()()(),e.TgZ(73,"div",24)(74,"div",25)(75,"button",26),e._uU(76,"Cancel"),e.qZA()(),e.TgZ(77,"div")(78,"button",27),e.O4$(),e.TgZ(79,"svg",28),e._UZ(80,"path",29),e.qZA(),e.kcU(),e.TgZ(81,"span"),e._uU(82),e.qZA()()()(),e.YNc(83,Ex,2,1,"mat-error",8),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)}}wu.\u0275fac=function(i){return new(i||wu)(e.Y36(ye),e.Y36(gn.dU))},wu.\u0275cmp=e.Xpm({type:wu,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,Ng,1,2,"img",3),e.YNc(4,Zb,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,Un,oo,bt,wx,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 ec{constructor(i,t,n,a,l,v,A,G,V,be){this.data=i,this.formBuilder=t,this.eventService=n,this.relayService=a,this.nostr=l,this.util=v,this.db=A,this.dataService=G,this.dialog=V,this.dialogRef=be,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.loading=!0,this.items=[]}ngOnInit(){var i=this;return(0,Fe.Z)(function*(){i.profile=i.data.profile,i.event=i.data.event,i.sendZapForm=i.formBuilder.group({amount:["",[io.required]],comment:[""]}),i.fetchPayReq(),yield i.updateProfileDetails()})()}fetchPayReq(){var i=this;return(0,Fe.Z)(function*(){i.payRequest=yield i.fetchZapper(),i.canZap=!!i.payRequest,i.loading=!1,i.recofigureFormValidators()})()}fetchZapper(){var i=this;return(0,Fe.Z)(function*(){let t="";if(!i.profile.lud16&&i.profile.lud06&&i.profile.lud06.indexOf("@")>-1){const n=i.profile.lud06.split("@");t=`https://${n[1]}/.well-known/lnurlp/${n[0]}`}else 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,Fe.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 V=i.event?.id?i.event.id:null;v=yield i.createZapEvent(i.profile.pubkey,V,t),l.set("nostr",JSON.stringify(v))}const A=`${a.protocol}//${a.host}${a.pathname}`,G=[...l.entries()].map(V=>`${V[0]}=${encodeURIComponent(V[1])}`).join("&");try{const V=yield fetch(`${A}?${G}`);if(V.ok){const be=yield V.json();"ERROR"===be.status?i.error=be.reason?be.reason:"Error fetching the invoice - please try again later":(i.invoice=be,i.dialog.open(wu,{width:"400px",data:{invoice:i.invoice,profile:i.profile}}),i.dialogRef.close(ec))}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,Fe.Z)(function*(){let l=a.dataService.createEvent(Ui.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,Fe.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,Fe.Z)(function*(){let n=i;n.id=Tr(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(!xa(n))throw new Error("The event is not valid. Cannot publish.");if(!(yield La(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([io.min((this.payRequest?.minSendable||1e3)/1e3),io.max((this.payRequest?.maxSendable||21e9)/1e3),io.required])}updateProfileDetails(){var i=this;return(0,Fe.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 Wb(r,i){const t=Array(r);for(let n=0;nString(r)),Wb(60,r=>String(r));let Qb=(()=>{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})(),Jb=(()=>{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 Kb(r,i){}function $b(r,i){if(1&r&&e.YNc(0,Kb,0,0,"ng-template",3),2&r){const t=e.oxw();e.Q6J("ngTemplateOutlet",t.message)}}function Xb(r,i){if(1&r&&e._uU(0),2&r){const t=e.oxw();e.Oqu(t.message)}}const ey={tooltipState:(0,ke.X$)("state",[(0,ke.SB)("initial, void, hidden",(0,ke.oB)({opacity:0,transform:"scale(0)"})),(0,ke.SB)("visible",(0,ke.oB)({transform:"scale(1)"})),(0,ke.eR)("* => visible",(0,ke.jt)("200ms cubic-bezier(0, 0, 0.2, 1)",(0,ke.F4)([(0,ke.oB)({opacity:0,transform:"scale(0)",offset:0}),(0,ke.oB)({opacity:.5,transform:"scale(0.99)",offset:.5}),(0,ke.oB)({opacity:1,transform:"scale(1)",offset:1})]))),(0,ke.eR)("* => hidden",(0,ke.jt)("100ms cubic-bezier(0, 0, 0.2, 1)",(0,ke.oB)({opacity:0})))])},Rg=(0,x.i$)({passive:!0});function Pg(r){return Error(`Tooltip position "${r}" is invalid.`)}const iy=new e.OlP("mtx-tooltip-scroll-strategy"),Ah={provide:iy,deps:[_.aV],useFactory:function Lx(r){return()=>r.scrollStrategies.reposition({scrollThrottle:20})}},Nx=new e.OlP("mtx-tooltip-default-options",{providedIn:"root",factory:function Bg(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let Dl=(()=>{class r{constructor(t,n,a,l,v,A,G,V,be,ze,_t){this._overlay=t,this._elementRef=n,this._scrollDispatcher=a,this._viewContainerRef=l,this._ngZone=v,this._platform=A,this._ariaDescriber=G,this._focusMonitor=V,this._dir=ze,this._defaultOptions=_t,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=Pt=>{this._isTooltipVisible()&&Pt.keyCode===S.hY&&!(0,S.Vb)(Pt)&&(Pt.preventDefault(),Pt.stopPropagation(),this._ngZone.run(()=>this.hide(0)))},this._scrollStrategy=be,_t&&(_t.position&&(this.position=_t.position),_t.touchGestures&&(this.touchGestures=_t.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,Ji.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,Rg)}),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(Rx,this._viewContainerRef),this._tooltipInstance=n.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe((0,Ji.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,Ji.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,Ji.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 Pg(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 Pg(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,Oe.q)(1),(0,Ji.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,Rg)})}_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(xr.mF),e.Y36(e.s_b),e.Y36(e.R0b),e.Y36(x.t4),e.Y36(g.$s),e.Y36(g.tE),e.Y36(iy),e.Y36(I.Is,8),e.Y36(Nx,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})(),Rx=(()=>{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(Ee.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(Ee.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,$b,1,1,"ng-template",1),e.ALo(3,"isTemplateRef"),e.YNc(4,Xb,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,Qb],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:[ey.tooltipState]},changeDetection:0}),r})(),bf=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[Ah],imports:[g.rt,F.ez,_.U8,ae.BQ,Jb,ae.BQ,xr.ZD]}),r})();function Th(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 Px(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 Bx(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,"Bookmark"),e.qZA()()}}function Yx(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 yf(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 vf(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 Hx(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 Ux(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 ny(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 ry(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 Yg(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 ay(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 Hg(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 Ug(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 Ec{constructor(i,t,n,a,l,v,A,G){this.appState=i,this.ui=t,this.circleService=n,this.snackBar=a,this.profileService=l,this.notesService=v,this.utilities=A,this.router=G,this.fab=!1,this.pubkey=""}saveNote(){var i=this;return(0,Fe.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,Fe.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,Fe.Z)(function*(){null==i&&(i=0),t.profile?t.profile.status!==ka.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:${pn.npubEncode(i)}`)}copyNoteUrl(i){this.copy(`web+nostr:nevent:${pn.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,Dg.v)(i),this.snackBar.open("Copied to clipboard","Hide",{duration:2500,horizontalPosition:"center",verticalPosition:"bottom"})}unfollow(){var i=this;return(0,Fe.Z)(function*(){i.profile&&(i.profile.status=ka.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,Fe.Z)(function*(){i.profile&&(yield i.profileService.mute(i.profile.pubkey))})()}unmute(){var i=this;return(0,Fe.Z)(function*(){i.profile&&(yield i.profileService.unmute(i.profile.pubkey))})()}block(){var i=this;return(0,Fe.Z)(function*(){i.profile&&(yield i.profileService.block(i.profile.pubkey))})()}unblock(){var i=this;return(0,Fe.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,Fe.Z)(function*(){i.event?i.pubkey=i.event.pubkey:i.profile&&(i.pubkey=i.profile.pubkey)})()}}function jg(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 Zg(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 jx(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 Zx(r,i){if(1&r&&e.YNc(0,jx,2,0,"button",31),2&r){const t=e.oxw().ngIf;e.Q6J("ngIf",0==(null==t?null:t.status))}}function Vx(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 zx(r,i){if(1&r&&e.YNc(0,Vx,2,0,"button",33),2&r){const t=e.oxw().ngIf;e.Q6J("ngIf",0==(null==t?null:t.status))}}function oy(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 Vg(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 sy(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 ly(r,i){if(1&r&&(e.TgZ(0,"span"),e.YNc(1,Vg,2,1,"span",14),e.YNc(2,sy,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 cy(r,i){1&r&&(e.TgZ(0,"span",35),e._uU(1,"Follows you"),e.qZA())}function dy(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 Gx(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 uy(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,Gx,2,2,"a",36),e.qZA()()),2&r){const t=e.oxw().ngIf;e.xp6(5),e.Q6J("ngIf",t.website)}}function hy(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 qx(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,hy,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 my(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 fy(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,my,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 Po(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 xu(r,i){if(1&r&&(e.TgZ(0,"div",42),e.YNc(1,Po,1,1,"img",43),e.qZA()),2&r){const t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",t.qr06)}}function Wx(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 Qx(r,i){if(1&r&&(e.TgZ(0,"div",42),e.YNc(1,Wx,1,1,"img",43),e.qZA()),2&r){const t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",t.qr16)}}function zk(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)}}Ec.\u0275fac=function(i){return new(i||Ec)(e.Y36(Le.i),e.Y36(Gr),e.Y36(Ga),e.Y36(ro.ux),e.Y36(Ln),e.Y36(Zo),e.Y36(gn.dU),e.Y36(Bt.F0))},Ec.\u0275cmp=e.Xpm({type:Ec,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,Th,3,1,"button",0),e.YNc(1,Px,3,1,"button",1),e.TgZ(2,"mat-menu",null,2),e.YNc(4,Bx,5,0,"button",3),e.YNc(5,Yx,5,0,"button",3),e.YNc(6,yf,5,0,"button",3),e.YNc(7,vf,5,0,"button",3),e.YNc(8,Hx,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,Ux,5,0,"button",3),e.YNc(25,ny,5,0,"button",3),e.YNc(26,ry,5,0,"button",3),e.YNc(27,Yg,5,0,"button",3),e.qZA(),e.TgZ(28,"mat-menu",null,7),e.YNc(30,ay,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,Hg,5,0,"button",3),e.YNc(59,Ug,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,kt.RK,kt.nh,Un,Cl,Fl,bu]});const Gk=function(r){return["/following",r]};function py(r,i){if(1&r&&(e.TgZ(0,"a",46),e._uU(1),e.TgZ(2,"span",28),e._uU(3,"Following"),e.qZA()()),2&r){const t=e.oxw().ngIf;e.Q6J("routerLink",e.VKq(2,Gk,t.pubkey)),e.xp6(1),e.hij("",t.following.length," ")}}function gy(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,jg,1,3,"img",7),e.YNc(7,Zg,1,1,"img",8),e.qZA()(),e.TgZ(8,"div",9)(9,"div",10),e.YNc(10,Zx,1,1,"ng-template",11),e.YNc(11,zx,1,1,"ng-template",11),e._UZ(12,"app-profile-actions",12),e.qZA(),e.TgZ(13,"h2",13),e.YNc(14,oy,2,1,"span",14),e.YNc(15,ly,3,2,"span",14),e.YNc(16,cy,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,dy,7,1,"div",21),e.YNc(25,uy,6,1,"div",21),e.YNc(26,qx,6,3,"div",22),e.YNc(27,fy,6,3,"div",22),e.YNc(28,xu,2,1,"ng-template",null,23,e.W1O),e.YNc(30,Qx,2,1,"ng-template",null,24,e.W1O),e.TgZ(32,"span"),e.YNc(33,zk,2,1,"p",25),e.qZA(),e.TgZ(34,"div",26),e.YNc(35,py,4,4,"a",27),e._uU(36),e.TgZ(37,"span",28),e._uU(38,"Sats"),e.qZA()(),e._UZ(39,"div"),e.qZA()()()}if(2&r){const t=i.ngIf,n=e.oxw();e.xp6(2),e.Q6J("src",t.banner||"https://i.pinimg.com/564x/0b/a3/d6/0ba3d60362c7e6d256cfc1f37156bad9.jpg",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(2),e.Q6J("ngIf",t.following),e.xp6(1),e.hij(" \xa0\xa0\u26a1\ufe0f",n.zapUi.getProfileZapAmount(t.pubkey)," ")}}class hs{constructor(i,t,n,a,l,v,A){this.zapUi=i,this.appState=t,this.ui=n,this.profileService=a,this.dialog=l,this.circleService=v,this.utilities=A,this.pubkey="",this.tooltip="",this.tooltipName="",this.isValidNip05=!1,this.subscriptions=[],this.userPubKey=this.appState.getPublicKey()}follow(i){var t=this;return(0,Fe.Z)(function*(){i&&(i.status!==ka.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:hs.defaultProfileImage}showProfileImage(){this.dialog.open(Kl,{data:{picture:this.imagePath}})}ngOnDestroy(){this.utilities.unsubscribe(this.subscriptions)}ngOnInit(){var i=this;return(0,Fe.Z)(function*(){i.subscriptions.push(i.ui.profile$.subscribe(function(){var t=(0,Fe.Z)(function*(n){if(n&&(n.lud06&&(i.qr06=yield vu.hz("lightning:"+n.lud06,{errorCorrectionLevel:"L",margin:2,scale:5})),n.lud16&&(i.qr16=yield vu.hz("lightning:"+n.lud16,{errorCorrectionLevel:"L",margin:2,scale:5})),n.nip05)){let a=null;try{a=yield za.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(ec,{width:"400px",data:{profile:i}})}}function Jx(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(6);return e.KtG(a.click())}),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"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(7,"span",9),e.TgZ(8,"button",6),e.NdJ("click",function(){e.CHM(t);const a=e.MAs(12);return e.KtG(a.click())}),e._uU(9),e.ALo(10,"translate"),e.qZA(),e.TgZ(11,"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(13,"span",9),e.qZA(),e.TgZ(14,"p")(15,"mat-form-field",11)(16,"mat-icon",12),e._uU(17,"badge"),e.qZA(),e.TgZ(18,"mat-label"),e._uU(19),e.ALo(20,"translate"),e.qZA(),e.TgZ(21,"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(22,"p")(23,"mat-form-field",11)(24,"mat-icon",12),e._uU(25,"alternate_email"),e.qZA(),e.TgZ(26,"mat-label"),e._uU(27),e.ALo(28,"translate"),e.qZA(),e.TgZ(29,"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(30,"p")(31,"mat-form-field",11)(32,"mat-icon",12),e._uU(33,"help_outline"),e.qZA(),e.TgZ(34,"mat-label"),e._uU(35),e.ALo(36,"translate"),e.qZA(),e.TgZ(37,"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(38,"p")(39,"mat-form-field",11)(40,"mat-icon",12),e._uU(41,"how_to_reg"),e.qZA(),e.TgZ(42,"mat-label"),e._uU(43),e.ALo(44,"translate"),e.qZA(),e.TgZ(45,"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(46,"p")(47,"mat-form-field",11)(48,"mat-icon",12),e._uU(49,"public"),e.qZA(),e.TgZ(50,"mat-label"),e._uU(51),e.ALo(52,"translate"),e.qZA(),e.TgZ(53,"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(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),e.ALo(60,"translate"),e.qZA(),e.TgZ(61,"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(62,"p")(63,"mat-form-field",11)(64,"mat-icon",12),e._uU(65,"currency_bitcoin"),e.qZA(),e.TgZ(66,"mat-label"),e._uU(67),e.ALo(68,"translate"),e.qZA(),e.TgZ(69,"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(70,"p"),e._uU(71),e.ALo(72,"translate"),e.ALo(73,"ago"),e.qZA()()}if(2&r){const t=e.oxw();e.xp6(3),e.Oqu(e.lcZ(4,18,"Profile.PickProfileImage")),e.xp6(6),e.Oqu(e.lcZ(10,20,"Profile.PickProfileBanner")),e.xp6(10),e.Oqu(e.lcZ(20,22,"Profile.DisplayName")),e.xp6(2),e.Q6J("ngModel",t.profile.display_name),e.xp6(6),e.Oqu(e.lcZ(28,24,"Profile.Nickname")),e.xp6(2),e.Q6J("ngModel",t.profile.name),e.xp6(6),e.Oqu(e.lcZ(36,26,"Profile.About")),e.xp6(2),e.Q6J("ngModel",t.profile.about),e.xp6(6),e.Oqu(e.lcZ(44,28,"Profile.MailDomainIdentifier")),e.xp6(2),e.Q6J("ngModel",t.profile.nip05),e.xp6(6),e.Oqu(e.lcZ(52,30,"Profile.Website")),e.xp6(2),e.Q6J("ngModel",t.profile.website),e.xp6(6),e.Oqu(e.lcZ(60,32,"Profile.BitcoinPaymentLink")),e.xp6(2),e.Q6J("ngModel",t.profile.lud06),e.xp6(6),e.Oqu(e.lcZ(68,34,"Profile.BitoinPaymenAlias")),e.xp6(2),e.Q6J("ngModel",t.profile.lud16),e.xp6(2),e.AsE("",e.lcZ(72,36,"Profile.LastUpdated"),": ",e.lcZ(73,38,t.profile.created_at),"")}}hs.defaultProfileImage="/assets/profile.png",hs.\u0275fac=function(i){return new(i||hs)(e.Y36(Xd),e.Y36(Le.i),e.Y36(Gr),e.Y36(Ln),e.Y36(vi),e.Y36(Ga),e.Y36(gn.dU))},hs.\u0275cmp=e.Xpm({type:hs,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"],[1,"following-counts"],["class","following-link",3,"routerLink",4,"ngIf"],[1,"dimmed"],["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-link",3,"routerLink"]],template:function(i,t){1&i&&(e.YNc(0,gy,40,19,"div",0),e.ALo(1,"async")),2&i&&e.Q6J("ngIf",e.lcZ(1,1,t.ui.profile$))},dependencies:[F.O5,Bt.rH,kt.lW,Un,oo,Dl,Ec,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%;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 Fu=new WeakMap;class Sh{get profile$(){return _e(this,Fu).asObservable()}constructor(i,t,n,a,l,v,A,G,V,be,ze,_t){Et(this,Fu,{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=A,this.profiles=G,this.sanitizer=V,this.profileService=be,this.dataService=ze,this.activatedRoute=_t,this.imagePath="",this.profileName="",this.subscriptions=[],Zt(this,Fu,new Re.X(this.profile)),this.selectedProfileFile=null,this.selectedBannerFile=null}ngOnInit(){var i=this;return(0,Fe.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,_e(this,Fu).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,Fe.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])})()}}Sh.\u0275fac=function(i){return new(i||Sh)(e.Y36(gf.C),e.Y36(qa),e.Y36(Gr),e.Y36(Le.i),e.Y36(rs.Y),e.Y36(gn.dU),e.Y36(Bt.F0),e.Y36(Ln),e.Y36(f.H7),e.Y36(Ln),e.Y36(ma),e.Y36(Bt.gz))},Sh.\u0275cmp=e.Xpm({type:Sh,selectors:[["app-profile"]],decls:13,vars:7,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,Jx,74,40,"mat-card-content",2),e.TgZ(5,"mat-card-footer",3)(6,"button",4),e.NdJ("click",function(){return t.cancelEdit()}),e._uU(7),e.ALo(8,"translate"),e.qZA(),e._uU(9,"\xa0 "),e.TgZ(10,"button",5),e.NdJ("click",function(){return t.updateMetadata()}),e._uU(11),e.ALo(12,"translate"),e.qZA()()()()()),2&i&&(e.xp6(4),e.Q6J("ngIf",t.profile),e.xp6(3),e.Oqu(e.lcZ(8,3,"Profile.Cancel")),e.xp6(4),e.Oqu(e.lcZ(12,5,"Profile.Save")))},dependencies:[F.O5,no,Ca,Ya,hl,kt.lW,Da,Zs,ig,Un,rr,Ir,aa,Xl,hs,Ma.X$,us],styles:[".example-full-width[_ngcontent-%COMP%]{width:100%}td[_ngcontent-%COMP%]{padding-right:2px}.file-name[_ngcontent-%COMP%]{margin-left:1rem}"]});var br=y(5301),jn=y(7084);const Kx=["switch"],$x=["*"],zg=new e.OlP("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})}),_y={provide:ha,useExisting:(0,e.Gpc)(()=>Cu),multi:!0};class Gg{constructor(i,t){this.source=i,this.checked=t}}let wf=0;const qg=(0,ae.sb)((0,ae.pj)((0,ae.Kr)((0,ae.Id)(class{constructor(r){this._elementRef=r}}))));let qk=(()=>{class r extends qg{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,A,G){super(t),this._focusMonitor=n,this._changeDetectorRef=a,this.defaults=v,this._onChange=V=>{},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"===A,this.id=this._uniqueId=`${G}${++wf}`}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})(),Cu=(()=>{class r extends qk{get buttonId(){return`${this.id||this._uniqueId}-button`}constructor(t,n,a,l,v,A){super(t,n,a,l,v,A,"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 Gg(this,this.checked)))}focus(){this._switchElement.nativeElement.focus()}_createChangeEvent(t){return new Gg(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(zg),e.Y36(e.QbO,8))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-slide-toggle"]],viewQuery:function(t,n){if(1&t&&e.Gf(Kx,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([_y]),e.qOj],ngContentSelectors:$x,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})(),od=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({}),r})(),eF=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[od,ae.BQ,ae.si,F.ez,od,ae.BQ]}),r})();class sd{constructor(i,t){this.dialogRef=i,this.data=t}onNoClick(){this.data.url="",this.dialogRef.close()}}sd.\u0275fac=function(i){return new(i||sd)(e.Y36(xe),e.Y36(ye))},sd.\u0275cmp=e.Xpm({type:sd,selectors:[["add-relay-dialog"]],decls:25,vars:19,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),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"div",2)(5,"mat-form-field",3)(6,"mat-icon",4),e._uU(7,"dns"),e.qZA(),e.TgZ(8,"mat-label"),e._uU(9,"URL"),e.qZA(),e.TgZ(10,"input",5),e.NdJ("ngModelChange",function(a){return t.data.url=a}),e.qZA()(),e.TgZ(11,"mat-slide-toggle",6),e.NdJ("ngModelChange",function(a){return t.data.read=a}),e._uU(12),e.ALo(13,"translate"),e.qZA(),e._uU(14,"\xa0 "),e.TgZ(15,"mat-slide-toggle",6),e.NdJ("ngModelChange",function(a){return t.data.write=a}),e._uU(16),e.ALo(17,"translate"),e.qZA()(),e.TgZ(18,"div",7)(19,"button",8),e.NdJ("click",function(){return t.onNoClick()}),e._uU(20),e.ALo(21,"translate"),e.qZA(),e.TgZ(22,"button",9),e._uU(23),e.ALo(24,"translate"),e.qZA()()()),2&i&&(e.xp6(2),e.Oqu(e.lcZ(3,9,"RelayDialog.AddARelay")),e.xp6(8),e.Q6J("ngModel",t.data.url),e.xp6(1),e.Q6J("ngModel",t.data.read),e.xp6(1),e.Oqu(e.lcZ(13,11,"RelayDialog.Read")),e.xp6(3),e.Q6J("ngModel",t.data.write),e.xp6(1),e.Oqu(e.lcZ(17,13,"RelayDialog.Write")),e.xp6(4),e.Oqu(e.lcZ(21,15,"RelayDialog.Cancel")),e.xp6(2),e.Q6J("mat-dialog-close",t.data),e.xp6(1),e.Oqu(e.lcZ(24,17,"RelayDialog.Add")))},dependencies:[no,Ca,Ya,hl,kt.lW,Un,Cu,rr,Ir,aa,tn,Ct,bt,Bi,Ma.X$],styles:[".input-full-width[_ngcontent-%COMP%]{width:100%!important}"]});var Ua=y(5017),yy=y(1884);const tF=["trigger"],Wk=["panel"];function iF(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 nF(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 rF(r,i){1&r&&e.Hsn(0,0,["*ngSwitchCase","true"])}function vy(r,i){if(1&r&&(e.TgZ(0,"span",11),e.YNc(1,nF,2,1,"span",12),e.YNc(2,rF,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 wy(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 aF=[[["mat-select-trigger"]],"*"],xy=["mat-select-trigger","*"],Fy={transformPanelWrap:(0,ke.X$)("transformPanelWrap",[(0,ke.eR)("* => void",(0,ke.IO)("@transformPanel",[(0,ke.pV)()],{optional:!0}))]),transformPanel:(0,ke.X$)("transformPanel",[(0,ke.SB)("void",(0,ke.oB)({opacity:0,transform:"scale(1, 0.8)"})),(0,ke.eR)("void => showing",(0,ke.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,ke.oB)({opacity:1,transform:"scale(1, 1)"}))),(0,ke.eR)("* => void",(0,ke.jt)("100ms linear",(0,ke.oB)({opacity:0})))])};let Cy=0;const Wg=new e.OlP("mat-select-scroll-strategy"),Dy=new e.OlP("MAT_SELECT_CONFIG"),My={provide:Wg,deps:[_.aV],useFactory:function ky(r){return()=>r.scrollStrategies.reposition()}},sF=new e.OlP("MatSelectTrigger");class lF{constructor(i,t){this.source=i,this.value=t}}const Kk=(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 Ey=(()=>{class r extends Kk{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(io.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,A,G,V,be,ze,_t,Pt,jt,Xt){super(v,l,G,V,ze),this._viewportRuler=t,this._changeDetectorRef=n,this._ngZone=a,this._dir=A,this._parentFormField=be,this._liveAnnouncer=jt,this._defaultOptions=Xt,this._panelOpen=!1,this._compareWith=(ei,Ci)=>ei===Ci,this._uid="mat-select-"+Cy++,this._triggerAriaLabelledBy=null,this._destroy=new D.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+Cy++,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 ei=this.options;return ei?ei.changes.pipe((0,L.O)(ei),(0,so.w)(()=>(0,Ue.T)(...ei.map(Ci=>Ci.onSelectionChange)))):this._ngZone.onStable.pipe((0,Oe.q)(1),(0,so.w)(()=>this.optionSelectionChanges))}),this.openedChange=new e.vpe,this._openedStream=this.openedChange.pipe((0,Ke.h)(ei=>ei),(0,Mr.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,Ke.h)(ei=>!ei),(0,Mr.U)(()=>{})),this.selectionChange=new e.vpe,this.valueChange=new e.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=Xt?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=Xt.typeaheadDebounceInterval),this._scrollStrategyFactory=Pt,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(_t)||0,this.id=this.id}ngOnInit(){this._selectionModel=new Ua.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,yy.x)(),(0,Ji.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,Ji.R)(this._destroy)).subscribe(t=>{t.added.forEach(n=>n.select()),t.removed.forEach(n=>n.deselect())}),this.options.changes.pipe((0,L.O)(null),(0,Ji.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===S.JH||n===S.LH||n===S.oh||n===S.SV,l=n===S.K5||n===S.L_,v=this._keyManager;if(!v.isTyping()&&l&&!(0,S.Vb)(t)||(this.multiple||t.altKey)&&a)t.preventDefault(),this.open();else if(!this.multiple){const A=this.selected;v.onKeydown(t);const G=this.selected;G&&A!==G&&this._liveAnnouncer.announce(G.viewValue,1e4)}}_handleOpenKeydown(t){const n=this._keyManager,a=t.keyCode,l=a===S.JH||a===S.LH,v=n.isTyping();if(l&&t.altKey)t.preventDefault(),this.close();else if(v||a!==S.K5&&a!==S.L_||!n.activeItem||(0,S.Vb)(t))if(!v&&this._multiple&&a===S.A&&t.ctrlKey){t.preventDefault();const A=this.options.some(G=>!G.disabled&&!G.selected);this.options.forEach(G=>{G.disabled||(A?G.select():G.deselect())})}else{const A=n.activeItemIndex;n.onKeydown(t),this._multiple&&l&&t.shiftKey&&n.activeItem&&n.activeItemIndex!==A&&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,Oe.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,Ue.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,Ji.R)(t)).subscribe(n=>{this._onSelect(n.source,n.isUserInput),n.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,Ue.T)(...this.options.map(n=>n._stateChanges)).pipe((0,Ji.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(xr.rL),e.Y36(e.sBO),e.Y36(e.R0b),e.Y36(ae.rD),e.Y36(e.SBq),e.Y36(I.Is,8),e.Y36(Ys,8),e.Y36(ss,8),e.Y36(Hd,8),e.Y36(Bs,10),e.$8M("tabindex"),e.Y36(Wg),e.Y36(g.Kd),e.Y36(Dy,8))},r.\u0275dir=e.lG2({type:r,viewQuery:function(t,n){if(1&t&&(e.Gf(tF,5),e.Gf(Wk,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})(),xf=(()=>{class r extends Ey{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,Ji.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 lF(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,sF,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:Yd,useExisting:r},{provide:ae.HF,useExisting:r}]),e.qOj],ngContentSelectors:xy,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(aF),e.TgZ(0,"div",0,1),e.NdJ("click",function(){return n.toggle()}),e.TgZ(3,"div",2),e.YNc(4,iF,2,1,"span",3),e.YNc(5,vy,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,wy,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:[Fy.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:[My],imports:[F.ez,_.U8,ae.Ng,ae.BQ,xr.ZD,d1,ae.Ng,ae.BQ]}),r})();var tc=y(4968),$k=y(5684);function Xk(r,i){}const eD=function(r){return{animationDuration:r}},tD=function(r,i){return{value:r,params:i}};function Ff(r,i){1&r&&e.Hsn(0)}const Cf=["*"],Qg=["tabListContainer"],Ih=["tabList"],Jg=["tabListInner"],Kg=["nextPaginator"],dF=["previousPaginator"],$g=["tabBodyWrapper"],Ay=["tabHeader"];function uF(r,i){}function Ty(r,i){if(1&r&&e.YNc(0,uF,0,0,"ng-template",14),2&r){const t=e.oxw().$implicit;e.Q6J("cdkPortalOutlet",t.templateLabel)}}function iD(r,i){if(1&r&&e._uU(0),2&r){const t=e.oxw().$implicit;e.Oqu(t.textLabel)}}function hF(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,A=e.oxw(),G=e.MAs(1);return e.KtG(A._handleClick(l,G,v))})("cdkFocusChange",function(a){const v=e.CHM(t).index,A=e.oxw();return e.KtG(A._tabFocusChanged(a,v))}),e._UZ(2,"span",8)(3,"div",9),e.TgZ(4,"span",10)(5,"span",11),e.YNc(6,Ty,1,1,"ng-template",12),e.YNc(7,iD,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 mF(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 fF=["mat-tab-nav-bar",""],kf=["mat-tab-link",""],pF={translateTab:(0,ke.X$)("translateTab",[(0,ke.SB)("center, void, left-origin-center, right-origin-center",(0,ke.oB)({transform:"none"})),(0,ke.SB)("left",(0,ke.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,ke.SB)("right",(0,ke.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,ke.eR)("* => left, * => right, left => center, right => center",(0,ke.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,ke.eR)("void => left-origin-center",[(0,ke.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,ke.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,ke.eR)("void => right-origin-center",[(0,ke.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,ke.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let nD=(()=>{class r extends k.Pl{constructor(t,n,a,l){super(t,n,l),this._host=a,this._centeringSub=po.w0.EMPTY,this._leavingSub=po.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,L.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)(()=>gF)),e.Y36(F.K0))},r.\u0275dir=e.lG2({type:r,selectors:[["","matTabBodyHost",""]],features:[e.qOj]}),r})(),rD=(()=>{class r{set position(t){this._positionIndex=t,this._computePositionAnimationState()}constructor(t,n,a){this._elementRef=t,this._dir=n,this._dirChangeSubscription=po.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,yy.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(I.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})(),gF=(()=>{class r extends rD{constructor(t,n,a){super(t,n,a)}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(I.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,Xk,0,0,"ng-template",2),e.qZA()),2&t&&e.Q6J("@translateTab",e.WLB(3,tD,n._position,e.VKq(1,eD,n.animationDuration)))},dependencies:[nD],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:[pF.translateTab]}}),r})();const _F=new e.OlP("MatTabContent");let Xg=(()=>{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:_F,useExisting:r}])]}),r})();const bF=new e.OlP("MatTabLabel"),yF=new e.OlP("MAT_TAB");let e_=(()=>{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(yF,8))},r.\u0275dir=e.lG2({type:r,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[e._Bn([{provide:bF,useExisting:r}]),e.qOj]}),r})();const Df="mdc-tab-indicator--active",t_="mdc-tab-indicator--no-transition";class vF{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 Ms(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(Df);const n=t.getBoundingClientRect(),a=i.width/n.width,l=i.left-n.left;t.classList.add(t_),this._inkBarContentElement.style.setProperty("transform",`translateX(${l}px) scaleX(${a})`),t.getBoundingClientRect(),t.classList.remove(t_),t.classList.add(Df),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(Df)}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 xF=(0,ae.Id)(class{}),Es=Ms((()=>{class r extends xF{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 Iy=(()=>{class r extends Es{}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 i_=(0,ae.Id)(class{}),Oy=new e.OlP("MAT_TAB_GROUP");let FF=(()=>{class r extends i_{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(Oy,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})(),ld=(()=>{class r extends FF{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,Xg,7,e.Rgc),e.Suo(a,e_,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:yF,useExisting:r}]),e.qOj],ngContentSelectors:Cf,decls:1,vars:0,template:function(t,n){1&t&&(e.F$t(),e.YNc(0,Ff,1,0,"ng-template"))},encapsulation:2}),r})();const n_=(0,x.i$)({passive:!0});let a_=(()=>{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,A,G){this._elementRef=t,this._changeDetectorRef=n,this._viewportRuler=a,this._dir=l,this._ngZone=v,this._platform=A,this._animationMode=G,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,tc.R)(t.nativeElement,"mouseleave").pipe((0,Ji.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){(0,tc.R)(this._previousPaginator.nativeElement,"touchstart",n_).pipe((0,Ji.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,tc.R)(this._nextPaginator.nativeElement,"touchstart",n_).pipe((0,Ji.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const t=this._dir?this._dir.change:(0,j.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,Oe.q)(1)).subscribe(a),(0,Ue.T)(t,n,this._items.changes,this._itemsResized()).pipe((0,Ji.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?Pa.E:this._items.changes.pipe((0,L.O)(this._items),(0,so.w)(t=>new mh.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,$k.T)(1),(0,Ke.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,S.Vb)(t))switch(t.keyCode){case S.K5:case S.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 A,G;"ltr"==this._getLayoutDirection()?(A=l,G=A+v):(G=this._tabListInner.nativeElement.offsetWidth-l,A=G-v);const V=this.scrollDistance,be=this.scrollDistance+a;Abe&&(this.scrollDistance+=G-be+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,ol.H)(650,100).pipe((0,Ji.R)((0,Ue.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(xr.rL),e.Y36(I.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})(),kF=(()=>{class r extends a_{get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=(0,st.Ig)(t)}constructor(t,n,a,l,v,A,G){super(t,n,a,l,v,A,G),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(xr.rL),e.Y36(I.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})(),Ny=(()=>{class r extends kF{constructor(t,n,a,l,v,A,G){super(t,n,a,l,v,A,G)}ngAfterContentInit(){this._inkBar=new vF(this._items),super.ngAfterContentInit()}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(xr.rL),e.Y36(I.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,Iy,4),2&t){let l;e.iGM(l=e.CRH())&&(n._items=l)}},viewQuery:function(t,n){if(1&t&&(e.Gf(Qg,7),e.Gf(Ih,7),e.Gf(Jg,7),e.Gf(Kg,5),e.Gf(dF,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:Cf,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,ul.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 o_=new e.OlP("MAT_TABS_CONFIG");let s_=0;const Ac=(0,ae.pj)((0,ae.Kr)(class{constructor(r){this._elementRef=r}}),"primary");let Ry=(()=>{class r extends Ac{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=po.w0.EMPTY,this._tabLabelSubscription=po.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=s_++,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,L.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 ic;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,Ue.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(o_,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})(),ku=(()=>{class r extends Ry{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(o_,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,ld,5),2&t){let l;e.iGM(l=e.CRH())&&(n._allTabs=l)}},viewQuery:function(t,n){if(1&t&&(e.Gf($g,5),e.Gf(Ay,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:Oy,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,hF,9,17,"div",2),e.qZA(),e.TgZ(3,"div",3,4),e.YNc(5,mF,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,gF,Iy,Ny],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 ic{}let Py=0,DF=(()=>{class r extends a_{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,A,G){super(t,l,v,n,a,A,G),this._disableRipple=!1,this.color="primary"}_itemSelected(){}ngAfterContentInit(){this._items.changes.pipe((0,L.O)(null),(0,Ji.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 MF{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,A){super(),this._tabNavBar=t,this.elementRef=n,this._focusMonitor=v,this._isActive=!1,this.id="mat-tab-link-"+Py++,this.rippleConfig=a||{},this.tabIndex=parseInt(l)||0,"NoopAnimations"===A&&(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===S.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 l_=(()=>{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,A,G,V){super(t,n,a,l,v,A,G),this._fitInkBarToContent=new Re.X(!1),this._stretchTabs=!0,this.disablePagination=!(!V||null==V.disablePagination)&&V.disablePagination,this.fitInkBarToContent=!(!V||null==V.fitInkBarToContent)&&V.fitInkBarToContent}ngAfterContentInit(){this._inkBar=new vF(this._items),super.ngAfterContentInit()}ngAfterViewInit(){super.ngAfterViewInit()}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(I.Is,8),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(xr.rL),e.Y36(x.t4),e.Y36(e.QbO,8),e.Y36(o_,8))},r.\u0275cmp=e.Xpm({type:r,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(t,n,a){if(1&t&&e.Suo(a,Mf,5),2&t){let l;e.iGM(l=e.CRH())&&(n._items=l)}},viewQuery:function(t,n){if(1&t&&(e.Gf(Qg,7),e.Gf(Ih,7),e.Gf(Jg,7),e.Gf(Kg,5),e.Gf(dF,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:fF,ngContentSelectors:Cf,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,ul.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})(),Mf=(()=>{class r extends EF{constructor(t,n,a,l,v,A){super(t,n,a,l,v,A),this._destroyed=new D.x,t._fitInkBarToContent.pipe((0,Ji.R)(this._destroyed)).subscribe(G=>{this.fitInkBarToContent=G})}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),super.ngOnDestroy()}}return r.\u0275fac=function(t){return new(t||r)(e.Y36(l_),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:kf,ngContentSelectors:Cf,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})(),AF=(()=>{class r{constructor(){this.id="mat-tab-nav-panel-"+Py++}}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:Cf,decls:1,vars:0,template:function(t,n){1&t&&(e.F$t(),e.Hsn(0))},encapsulation:2,changeDetection:0}),r})(),By=(()=>{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,ul.Q8,g.rt,ae.BQ]}),r})();class TF{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 Yy=(()=>{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 TF(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 oD=new e.OlP("CDK_COPY_TO_CLIPBOARD_CONFIG");let Ef=(()=>{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(Yy),e.Y36(e.R0b),e.Y36(oD,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})(),Hy=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({}),r})();function Uy(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"Settings.Options")))}function jy(r,i){if(1&r&&(e.TgZ(0,"mat-icon",3),e._uU(1,"settings_applications"),e.qZA(),e.YNc(2,Uy,3,3,"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 Zy(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 Vy(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 Af(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 Tf(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,Zy,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),e.ALo(33,"translate"),e.qZA(),e.TgZ(34,"mat-card-subtitle"),e._uU(35),e.ALo(36,"translate"),e.qZA()(),e.TgZ(37,"mat-card-content")(38,"mat-form-field",6)(39,"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(40,"mat-option",10),e._uU(41,"nostr.build"),e.qZA()()(),e.YNc(42,Vy,7,0,"p",12),e.YNc(43,Af,5,0,"p",12),e.qZA()(),e._UZ(44,"br"),e.TgZ(45,"mat-card")(46,"mat-card-header")(47,"mat-card-title"),e._uU(48),e.ALo(49,"translate"),e.qZA(),e.TgZ(50,"mat-card-subtitle"),e._uU(51),e.ALo(52,"translate"),e.qZA()(),e.TgZ(53,"mat-card-content")(54,"p"),e._uU(55),e.ALo(56,"translate"),e.qZA(),e.TgZ(57,"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(58),e.ALo(59,"translate"),e.qZA()()(),e._UZ(60,"br"),e.TgZ(61,"mat-card")(62,"mat-card-header")(63,"mat-card-title"),e._uU(64),e.ALo(65,"translate"),e.qZA(),e.TgZ(66,"mat-card-subtitle"),e._uU(67),e.ALo(68,"translate"),e.qZA()(),e.TgZ(69,"mat-card-content")(70,"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(71),e.ALo(72,"translate"),e.qZA()()(),e._UZ(73,"br"),e.TgZ(74,"mat-card")(75,"mat-card-header")(76,"mat-card-title"),e._uU(77),e.ALo(78,"translate"),e.qZA(),e.TgZ(79,"mat-card-subtitle"),e._uU(80),e.ALo(81,"translate"),e.qZA()(),e.TgZ(82,"mat-card-content")(83,"p"),e._uU(84),e.ALo(85,"translate"),e.qZA(),e.TgZ(86,"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(87),e.ALo(88,"translate"),e.qZA(),e.TgZ(89,"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(90),e.ALo(91,"translate"),e.qZA(),e.TgZ(92,"p")(93,"button",14),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.openMediaPlayer())}),e._uU(94),e.ALo(95,"translate"),e.qZA()()()(),e._UZ(96,"br"),e.TgZ(97,"mat-card")(98,"mat-card-content")(99,"button",15),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.registerHandler("web+nostr","nostr"))}),e._uU(100),e.ALo(101,"translate"),e.qZA(),e._UZ(102,"br")(103,"br"),e.TgZ(104,"div",16),e._uU(105),e.ALo(106,"translate"),e.qZA()()()()}if(2&r){const t=e.oxw();e.xp6(4),e.Oqu(e.lcZ(5,36,"Settings.OptionsTitle")),e.xp6(3),e.Oqu(e.lcZ(8,38,"Settings.OptionsDescription")),e.xp6(6),e.Oqu(e.lcZ(14,40,"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,42,"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,44,"Settings.Dark")),e.xp6(2),e.Q6J("value",!1),e.xp6(1),e.Oqu(e.lcZ(27,46,"Settings.Light")),e.xp6(6),e.Oqu(e.lcZ(33,48,"Settings.MediaTitle")),e.xp6(3),e.Oqu(e.lcZ(36,50,"Settings.MediaSubtitle")),e.xp6(4),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(5),e.Oqu(e.lcZ(49,52,"Settings.Reactions")),e.xp6(3),e.Oqu(e.lcZ(52,54,"Settings.ReactionsSubtitle")),e.xp6(4),e.Oqu(e.lcZ(56,56,"Settings.ReactionsNote")),e.xp6(2),e.Q6J("ngModel",t.optionsService.values.enableReactions),e.xp6(1),e.Oqu(e.lcZ(59,58,"Settings.EnableReactions")),e.xp6(6),e.Oqu(e.lcZ(65,60,"Settings.Zapping")),e.xp6(3),e.Oqu(e.lcZ(68,62,"Settings.ZappingSubtitle")),e.xp6(3),e.Q6J("ngModel",t.optionsService.values.enableZapping),e.xp6(1),e.Oqu(e.lcZ(72,64,"Settings.EnableZapping")),e.xp6(6),e.Oqu(e.lcZ(78,66,"Settings.MediaWidgets")),e.xp6(3),e.Oqu(e.lcZ(81,68,"Settings.MediaWidgetsSubtitle")),e.xp6(4),e.Oqu(e.lcZ(85,70,"Settings.MediaWidgetsNote")),e.xp6(2),e.Q6J("ngModel",t.optionsService.values.enableSpotify),e.xp6(1),e.Oqu(e.lcZ(88,72,"Settings.EnableSpotify")),e.xp6(2),e.Q6J("ngModel",t.optionsService.values.enableTidal),e.xp6(1),e.Oqu(e.lcZ(91,74,"Settings.EnableTidal")),e.xp6(4),e.Oqu(e.lcZ(95,76,"Settings.OpenMediaPlayer")),e.xp6(6),e.Oqu(e.lcZ(101,78,"Settings.RegisterProtocolHandler")),e.xp6(5),e.Oqu(e.lcZ(106,80,"Settings.RegisterProtocolHandlerNote"))}}function zy(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.hij("\xa0",e.lcZ(2,1,"Settings.Data"),""))}function SF(r,i){if(1&r&&(e.TgZ(0,"mat-icon",3),e._uU(1,"inventory_2"),e.qZA(),e.YNc(2,zy,3,3,"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 IF(r,i){if(1&r&&(e.TgZ(0,"div",24),e._UZ(1,"br"),e._uU(2),e.ALo(3,"translate"),e.TgZ(4,"p"),e._uU(5),e.TgZ(6,"button",25)(7,"mat-icon"),e._uU(8,"content_copy"),e.qZA()()(),e.TgZ(9,"p"),e._UZ(10,"img",26),e.qZA()()),2&r){const t=e.oxw(3);e.xp6(2),e.hij("",e.lcZ(3,4,"Settings.PrivateKey"),": "),e.xp6(3),e.hij(" ",t.privateKey,""),e.xp6(1),e.Q6J("cdkCopyToClipboard",t.privateKey),e.xp6(4),e.Q6J("src",t.qrCodePrivateKey,e.LSH)}}function sD(r,i){1&r&&(e.TgZ(0,"div"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"Settings.InvalidPassword")))}function lD(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),e.ALo(2,"translate"),e.qZA()}2&r&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"Settings.Hide")))}function cD(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),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"mat-card-subtitle"),e._uU(6),e.ALo(7,"translate"),e.qZA()(),e.TgZ(8,"mat-card-content")(9,"button",21),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.exportPrivateKey())}),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,IF,11,6,"div",22),e.YNc(13,sD,3,3,"div",4),e.YNc(14,lD,3,3,"button",23),e.qZA()()}if(2&r){const t=e.oxw(2);e.xp6(3),e.Oqu(e.lcZ(4,6,"Settings.ExportPrivateKey")),e.xp6(3),e.Oqu(e.lcZ(7,8,"Settings.ExportPrivateKeyNote")),e.xp6(4),e.Oqu(e.lcZ(11,10,"Settings.ExportPrivateKey")),e.xp6(2),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 Gy(r,i){1&r&&(e.TgZ(0,"p"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"Settings.AllLocalDataCacheWasCleared")))}function OF(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",5),e.YNc(1,cD,15,12,"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),e.ALo(6,"translate"),e.qZA()(),e.YNc(7,Gy,3,3,"p",4),e.qZA()}if(2&r){const t=e.oxw();e.xp6(1),e.Q6J("ngIf",t.hasPrivateKey),e.xp6(4),e.Oqu(e.lcZ(6,3,"Settings.WipeLocalDatabase")),e.xp6(2),e.Q6J("ngIf",t.wiped)}}class Oh{constructor(i,t,n,a,l,v,A,G,V,be,ze,_t,Pt){this.uploadService=i,this.nostr=t,this.optionsService=n,this.relayService=a,this.dialog=l,this.appState=v,this.profileService=A,this.theme=G,this.db=V,this.snackBar=be,this.dataService=ze,this.security=_t,this.translate=Pt,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,Fe.Z)(function*(){t.optionsService.values.primaryRelay=i.url,t.optionsService.save()})()}deleteRelays(){var i=this;return(0,Fe.Z)(function*(){yield i.relayService.deleteRelays([])})()}clearProfileCache(){var i=this;return(0,Fe.Z)(function*(){i.wipedNonFollow=!0})()}clearNotesCache(){var i=this;return(0,Fe.Z)(function*(){i.wipedNotes=!0})()}getDefaultRelays(){var i=this;return(0,Fe.Z)(function*(){yield i.relayService.appendRelays(i.nostr.defaultRelays)})()}getRelays(){var i=this;return(0,Fe.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(sd,{data:{read:!0,write:!0},maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var n=(0,Fe.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"),this.optionsService.save()}exportPrivateKey(){var i=this;return(0,Fe.Z)(function*(){i.dialog.open(ml,{data:{action:"Unlock Private Key",password:""},maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var n=(0,Fe.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 A=pn.nsecEncode(v);i.privateKey=A,i.qrCodePrivateKey=yield vu.hz("nostr:"+i.privateKey,{errorCorrectionLevel:"L",margin:2,scale:5})});return function(a){return n.apply(this,arguments)}}())})()}}Oh.\u0275fac=function(i){return new(i||Oh)(e.Y36(gf.C),e.Y36(Ho),e.Y36(Xr.I),e.Y36(ao),e.Y36(vi),e.Y36(Le.i),e.Y36(Ln),e.Y36(de),e.Y36(_r),e.Y36(ro.ux),e.Y36(ma),e.Y36(vs),e.Y36(Ma.sK))},Oh.\u0275cmp=e.Xpm({type:Oh,selectors:[["app-settings"]],viewQuery:function(i,t){if(1&i&&e.Gf(jn.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,jy,4,3,"ng-template",1),e.YNc(4,Tf,107,82,"ng-template",2),e.qZA(),e.TgZ(5,"mat-tab"),e.YNc(6,SF,4,3,"ng-template",1),e.YNc(7,OF,8,5,"ng-template",2),e.qZA()()())},dependencies:[F.sg,F.O5,Ca,Ya,kt.lW,kt.RK,xf,ae.ey,Da,Zs,yh,bh,_h,Un,Xg,e_,ld,ku,Cu,Ir,aa,Ef,F.Ov,Ma.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 LF=y(6660),dD=y(9921);const uD=["Lightbox"];let hD=(()=>{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(uD,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 NF{}let mD=(()=>{class r{constructor(){}initialize(t){this.lightbox=t.createComponent(hD),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 RF={history:!1,closeEl:!0,captionEl:!1,fullscreenEl:!1,zoomEl:!0,shareEl:!1,counterEl:!0,arrowEl:!1,preloaderEl:!0};let Lh=(()=>{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={...RF,...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,Fe.Z)(function*(){if(n.galleryItems[t].image.doGetSlideDimensions){const A=yield qy(n.galleryItems[t].image.src);n.galleryItems[t].image.w=A.naturalWidth,n.galleryItems[t].image.h=A.naturalHeight,delete n.galleryItems[t].image.doGetSlideDimensions}n.galleryImages=[...n.galleryItemIds].map(A=>n.galleryItems[A].image);const a=n.galleryImages.findIndex(A=>A.id===t),l={...n.defaultOptions,...n.options};l.index=a,l.getThumbBoundsFn=A=>{const G=n.galleryImages[A].id,be=n.galleryItems[G].image,ze=window.pageYOffset||document.documentElement.scrollTop,_t=n.galleryItems[G].element.getBoundingClientRect();let Xt,ei,Ci;return _t.height/_t.width>be.h/be.w?(ei=_t.top+ze,Ci=be.w*_t.height/be.h,Xt=_t.left-(Ci-_t.width)/2):(Xt=_t.left,Ci=_t.width,ei=_t.top+ze-(be.h*_t.width/be.w-_t.height)/2),{x:Xt,y:ei,w:Ci}};const v=n.lightboxService.getLightboxElement();n.gallery=new LF(v,dD,n.galleryImages,l),n.gallery.listen("gettingData",(A,G)=>{G.doGetSlideDimensions&&setTimeout((0,Fe.Z)(function*(){yield n.getSlideDimensions(G)}),300)}),n.gallery.listen("imageLoadComplete",function(){var A=(0,Fe.Z)(function*(G,V){V.doGetSlideDimensions&&(yield n.getSlideDimensions(V))});return function(G,V){return A.apply(this,arguments)}}()),n.gallery.listen("destroy",()=>{n.onPhotoGalleryDestroy.emit()}),n.onPhotoGalleryInit.emit(),n.gallery.init()})()}getSlideDimensions(t){var n=this;return(0,Fe.Z)(function*(){if(!t.doGetSlideDimensions)return;const a=yield qy(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(NF,8),e.Y36(e.s_b),e.Y36(mD))},r.\u0275dir=e.lG2({type:r,selectors:[["","photoGalleryGroup",""]],inputs:{options:["photoGalleryGroup","options"]},outputs:{onPhotoGalleryInit:"onPhotoGalleryInit",onPhotoGalleryDestroy:"onPhotoGalleryDestroy"}}),r})();function qy(r){return new Promise((i,t)=>{const n=new Image;n.onload=()=>i(n),n.onerror=a=>t(a),n.src=r})}let PF=(()=>{class r{constructor(t,n){this.el=t,this.photoGalleryGroup=n}openPhotoSwipe(){var t=this;return(0,Fe.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(Lh))},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})(),Wy=(()=>{class r{static forRoot(t){return{ngModule:r,providers:[{provide:NF,useValue:t}]}}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({}),r})();class Vo{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,Fe.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,Fe.Z)(function*(){i.images=[]})()}expandImage(i){this.dialog.open(Kl,{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}}Vo.regexpImage=/(?:(?:https?)+\:\/\/+[a-zA-Z0-9\/\._-]{1,})+(?:(?:jpe?g|png|gif|webp))/g,Vo.regexpVideo=/(?:https?:\/\/)?(?:www\.)?youtu\.?be(?:\.com)?\/?.*(?:watch|embed)?(?:.*v=|v\/|\/)([\w-_]+)/gim,Vo.regexpThisIsTheWay=/(?:thisistheway.gif)/g,Vo.\u0275fac=function(i){return new(i||Vo)(e.Y36(Xr.I),e.Y36(Ln),e.Y36(gn.dU),e.Y36(vi))},Vo.\u0275cmp=e.Xpm({type:Vo,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:[kt.lW,Da,ds],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 nc{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,Fe.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,Fe.Z)(function*(){i.images=[]})()}expandImage(i){this.dialog.open(Kl,{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}}nc.regexpImage=/(?:(?:https?)+\:\/\/+[a-zA-Z0-9\/\._-]{1,})+(?:(?:jpe?g|png|gif|webp))/g,nc.regexpVideo=/(?:https?:\/\/)?(?:www\.)?youtu\.?be(?:\.com)?\/?.*(?:watch|embed)?(?:.*v=|v\/|\/)([\w-_]+)/gim,nc.regexpThisIsTheWay=/(?:thisistheway.gif)/g,nc.\u0275fac=function(i){return new(i||nc)(e.Y36(vl),e.Y36(Xr.I),e.Y36(Ln),e.Y36(gn.dU),e.Y36(vi))},nc.\u0275cmp=e.Xpm({type:nc,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:[kt.RK,Da,Un,Cl,Fl,bu],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 Sf="Whopsidaisy, something unexpected happened.";class cd{transform(i){return i.pipe((0,Mr.U)(t=>({loading:"start"===t.type,error:"error"===t.type?Sf:"",value:t.type?t.value:t})),(0,L.O)({loading:!0}),(0,sl.K)(t=>(0,j.of)({loading:!1,error:"string"==typeof t?t:Sf})))}}function BF(r,i){1&r&&e._UZ(0,"app-content-music")}function c_(r,i){1&r&&e._UZ(0,"app-content-podcast")}function d_(r,i){}function If(r,i){1&r&&(e.TgZ(0,"div",12),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"User.YouMustFollowTheUserToAutomaticallyRenderPhotos")))}function fD(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 pD(r,i){if(1&r&&e.YNc(0,fD,2,2,"div",14),2&r){const t=e.oxw().ngIf;e.Q6J("ngForOf",t)}}function gD(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 _D(r,i){if(1&r&&e.YNc(0,gD,2,1,"div",17),2&r){const t=e.oxw().ngIf;e.Q6J("ngForOf",t)}}function Qy(r,i){if(1&r&&(e.TgZ(0,"span"),e.YNc(1,pD,1,1,"ng-template",0),e.YNc(2,_D,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 YF(r,i){if(1&r&&(e.TgZ(0,"span"),e.YNc(1,Qy,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))}}cd.\u0275fac=function(i){return new(i||cd)},cd.\u0275pipe=e.Yjl({name:"withStatus",type:cd,pure:!0});const HF=function(){return{arrowEl:!0,indexIndicatorSep:" - "}};function UF(r,i){if(1&r&&(e.YNc(0,If,3,3,"div",9),e._UZ(1,"br"),e.TgZ(2,"div",10),e.YNc(3,YF,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,HF)),e.xp6(1),e.Q6J("ngForOf",t.value)("ngForTrackBy",n.trackByFn)}}function jF(r,i){1&r&&e._UZ(0,"mat-spinner",19)}function Jy(r,i){if(1&r&&(e._uU(0),e.ALo(1,"translate")),2&r){const t=e.oxw().ngIf;e.AsE("",e.lcZ(1,2,"User.Error")," ",t.error,"")}}function Ky(r,i){if(1&r&&(e.TgZ(0,"div",8),e.YNc(1,UF,4,5,"ng-template",0),e.YNc(2,jF,1,0,"ng-template",0),e.YNc(3,Jy,2,4,"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 $y(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),e.ALo(2,"translate"),e.qZA()}2&r&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"User.ShowMore")))}function ZF(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),e.ALo(2,"translate"),e.qZA()}2&r&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"User.LoadingMoreEvents")))}function VF(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,A=e.oxw(4);return e.KtG(A.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 Xy(r,i){if(1&r&&e.YNc(0,VF,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 u_(r,i){1&r&&e._UZ(0,"mat-spinner",19)}function bD(r,i){if(1&r&&(e._uU(0),e.ALo(1,"translate")),2&r){const t=e.oxw().ngIf;e.AsE(" ",e.lcZ(1,2,"User.Error")," ",t.error,"")}}function ev(r,i){if(1&r&&(e.TgZ(0,"div",8),e.YNc(1,Xy,1,2,"ng-template",0),e.YNc(2,u_,1,0,"ng-template",0),e.YNc(3,bD,2,4,"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 h_(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),e.ALo(2,"translate"),e.qZA()}2&r&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"User.ShowMore")))}function zF(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),e.ALo(2,"translate"),e.qZA()}2&r&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"User.LoadingMoreEvents")))}function GF(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,Ky,4,3,"div",4),e.ALo(3,"async"),e.ALo(4,"withStatus"),e.TgZ(5,"div",5),e.YNc(6,$y,3,3,"button",6),e.YNc(7,ZF,3,3,"button",6),e.qZA()(),e.TgZ(8,"mat-tab",7),e.YNc(9,ev,4,3,"div",4),e.ALo(10,"async"),e.ALo(11,"withStatus"),e.TgZ(12,"div",5),e.YNc(13,h_,3,3,"button",6),e.YNc(14,zF,3,3,"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 yD(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,A=e.oxw(4);return e.KtG(A.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 vD(r,i){if(1&r&&e.YNc(0,yD,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 qF(r,i){1&r&&e._UZ(0,"mat-spinner",19)}function WF(r,i){if(1&r&&(e._uU(0),e.ALo(1,"translate")),2&r){const t=e.oxw().ngIf;e.AsE("",e.lcZ(1,2,"User.Error")," ",t.error,"")}}function QF(r,i){if(1&r&&(e.TgZ(0,"div",8),e.YNc(1,vD,1,2,"ng-template",0),e.YNc(2,qF,1,0,"ng-template",0),e.YNc(3,WF,2,4,"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 wD(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),e.ALo(2,"translate"),e.qZA()}2&r&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"User.ShowMore")))}function xD(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),e.ALo(2,"translate"),e.qZA()}2&r&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"User.LoadingMoreEvents")))}function FD(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,A=e.oxw(4);return e.KtG(A.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 CD(r,i){if(1&r&&e.YNc(0,FD,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 kD(r,i){1&r&&e._UZ(0,"mat-spinner",19)}function JF(r,i){if(1&r&&(e._uU(0),e.ALo(1,"translate")),2&r){const t=e.oxw().ngIf;e.AsE("",e.lcZ(1,2,"User.Error")," ",t.error,"")}}function DD(r,i){if(1&r&&(e.TgZ(0,"div",8),e.YNc(1,CD,1,2,"ng-template",0),e.YNc(2,kD,1,0,"ng-template",0),e.YNc(3,JF,2,4,"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 MD(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),e.ALo(2,"translate"),e.qZA()}2&r&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"User.ShowMore")))}function ED(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),e.ALo(2,"translate"),e.qZA()}2&r&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"User.LoadingMoreEvents")))}function AD(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,QF,4,3,"div",4),e.ALo(3,"async"),e.ALo(4,"withStatus"),e.TgZ(5,"div",5),e.YNc(6,wD,3,3,"button",6),e.YNc(7,xD,3,3,"button",6),e.qZA()(),e.TgZ(8,"mat-tab",7),e.YNc(9,DD,4,3,"div",4),e.ALo(10,"async"),e.ALo(11,"withStatus"),e.TgZ(12,"div",5),e.YNc(13,MD,3,3,"button",6),e.YNc(14,ED,3,3,"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 KF=new WeakSet;class Tc{constructor(i,t,n,a,l,v,A,G,V,be,ze,_t,Pt,jt,Xt,ei,Ci){var si=this;Cc(this,KF),this.navigation=i,this.appState=t,this.activatedRoute=n,this.cd=a,this.queueService=l,this.options=v,this.profiles=A,this.dataService=G,this.ui=V,this.validator=be,this.circleService=ze,this.storage=_t,this.utilities=Pt,this.notesService=jt,this.router=Xt,this.ngZone=ei,this.metricService=Ci,this.imagePath="/assets/profile.png",this.profileName="",this.initialLoad=!0,this.notes=[],this.userEvents$=(0,j.of)(this.notes),this.subscriptions=[],this.pageSize=5,this.layout=1,this.subscriptions.push(this.ui.profile$.subscribe(function(){var xi=(0,Fe.Z)(function*(Mi){if(!Mi)return;si.appState.updateTitle(si.utilities.getProfileTitle(si.ui.profile)),si.imagePath=si.ui.profile.picture||"/assets/profile.png",si.circle=yield si.circleService.get(si.ui.profile.circle),si.layout=si.style?Number(si.style):si.circle?si.circle.style:1,si.isFollowing=si.profiles.isFollowing(Mi.pubkey),si.isFollowing&&si.metricService.increase(1,si.ui.profile.pubkey);const un=ns().subtract(5,"minutes").unix();(!si.ui.profile.following||si.ui.profile.retrieved&&si.ui.profile.retrieved{document.getElementById("profile-image-anchor").scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"}),si.previousPubKey=Mi.pubkey},50),si.subscriptions.push(si.navigation.showMore$.subscribe(()=>{si.showMore()}))});return function(Mi){return xi.apply(this,arguments)}}()))}follow(){var i=this;return(0,Fe.Z)(function*(){i.ui.profile.status=ka.Follow,yield i.profiles.follow(i.ui.pubkey)})()}onTabChanged(i){this.router.navigate([],{queryParams:{t:i.index},replaceUrl:!0}),Mo(this,KF,o).call(this)}parseToImage(i){return[...i.content.matchAll(Tc.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,Fe.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,Fe.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 o(){}Tc.regexpImage=/(?:(?:https?)+\:\/\/+[a-zA-Z0-9\/\._-]{1,})+(?:(?:jpe?g|png|gif|webp))/g,Tc.\u0275fac=function(i){return new(i||Tc)(e.Y36(qa),e.Y36(Le.i),e.Y36(Bt.gz),e.Y36(e.sBO),e.Y36(Hr),e.Y36(Xr.I),e.Y36(Ln),e.Y36(ma),e.Y36(Gr),e.Y36(rs.Y),e.Y36(Ga),e.Y36(_r),e.Y36(gn.dU),e.Y36(Zo),e.Y36(Bt.F0),e.Y36(e.R0b),e.Y36(xs))},Tc.\u0275cmp=e.Xpm({type:Tc,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,BF,1,0,"ng-template",0),e.YNc(2,c_,1,0,"ng-template",0),e.YNc(3,d_,0,0,"ng-template",0),e.YNc(4,GF,15,15,"mat-tab-group",1),e.YNc(5,AD,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,kt.lW,Da,ld,ku,_l,PF,Lh,cs,Ao,Ds,hs,ds,Vo,nc,F.Ov,Ma.X$,us,cd],styles:[".profile-name[_ngcontent-%COMP%]{display:inline-block}.feed-page[_ngcontent-%COMP%]{min-height:1200px}"]});const s=[{id:1,name:"Pipe"},{id:2,name:"Text"},{id:3,name:"Photo"},{id:4,name:"Film"},{id:5,name:"Music"},{id:6,name:"Podcast"}],u=["hueSlider"],m=["alphaSlider"];function w(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 M(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 B(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 X(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 ce=["dialog"];function De(r,i){1&r&&e._UZ(0,"div",11)}function Ze(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,De,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 ut(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 Tt(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,ut,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 Vt(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 di(r,i){if(1&r&&(e.ynx(0),e.TgZ(1,"div",4),e.YNc(2,Ze,4,4,"ng-container",5),e.YNc(3,Tt,5,1,"div",6),e.YNc(4,Vt,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 Si(r,i){1&r&&e._UZ(0,"div",11)}const Hi=function(r){return{background:r}};function en(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,Si,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,Hi,t)),e.xp6(1),e.Q6J("ngIf",n.isSelected(t))}}function Fn(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,en,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 Fi(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 Nn(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 ur=(()=>{return(r=ur||(ur={}))[r.HEX=0]="HEX",r[r.RGBA=1]="RGBA",r[r.HSLA=2]="HSLA",r[r.CMYK=3]="CMYK",ur;var r})();const pa=[{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"]}],m_=["hex","rgba","hsla"];class Du{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 Mu{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 f_{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 tv{constructor(i,t,n,a,l=1){this.c=i,this.m=t,this.y=n,this.k=a,this.a=l}}class AE{constructor(i){i&&(this.preview=i.preview,this.variants=i.variants)}}let $F=(()=>{class r{constructor(){}toFormat(t,n){var a="";if(t)switch(n){case ur.HEX:(v=this.hsvaToRgba(t)).denormalize(),a=this.rgbaToHex(v,!0);break;case ur.HSLA:var l=this.hsva2hsla(t);l.denormalize(),a=l.toString();break;case ur.RGBA:a=(v=this.hsvaToRgba(t)).toString();break;case ur.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 f_(n,0,0,v);if(0===a&&1===l)return new f_(n,1,1,v);{const A=l*(2-a)/2;return new f_(n,l*a/(1-Math.abs(2*A-1)),A,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 Mu(n,0,0,v);{const A=l+a*(1-Math.abs(2*l-1))/2;return new Mu(n,2*(A-l)/A,A,v)}}hsvaToRgba(t){let n,a,l;const v=t.h,A=t.s,G=t.v,V=t.a,be=Math.floor(6*v),ze=6*v-be,_t=G*(1-A),Pt=G*(1-ze*A),jt=G*(1-(1-ze)*A);switch(be%6){case 0:n=G,a=jt,l=_t;break;case 1:n=Pt,a=G,l=_t;break;case 2:n=_t,a=G,l=jt;break;case 3:n=_t,a=Pt,l=G;break;case 4:n=jt,a=_t,l=G;break;case 5:n=G,a=_t,l=Pt;break;default:n=0,a=0,l=0}return new Du(n,a,l,V)}cmykToRgb(t){return new Du((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 tv(0,0,0,1,t.a):new tv((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),A=Math.min(t.b,1),G=Math.min(t.a,1),V=Math.max(l,v,A),be=Math.min(l,v,A),ze=V,_t=V-be;if(a=0===V?0:_t/V,V===be)n=0;else{switch(V){case l:n=(v-A)/_t+(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})(),IE=(()=>{class r{constructor(t,n){this.service=t,this.cdr=n,this.color=new Mu(0,1,1,1),this.controls="default",this.sliderChange=new e.vpe(!1),this.onAlphaChange=new e.vpe(!1),this.hsva=new Mu(0,1,1,1),this.selectedColor="#000000",this.fallbackColor="#000000"}ngOnInit(){this.color||(this.color=new Mu(0,1,1,1)),this.slider=new TD(0,0,0,0),this.update()}ngOnDestroy(){}ngOnChanges(t){t.color&&this.color&&this.update()}ngAfterViewInit(){this.sliderDimMax=new TE(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 Mu(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 TD(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($F),e.Y36(e.sBO))},r.\u0275cmp=e.Xpm({type:r,selectors:[["color-picker"]],viewQuery:function(t,n){if(1&t&&(e.Gf(u,5),e.Gf(m,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,w,3,8,"div",2),e.TgZ(3,"div",3),e.YNc(4,M,3,2,"div",4),e.TgZ(5,"div",5),e.YNc(6,B,5,3,"div",6),e.YNc(7,X,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,SE],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})(),OE=(()=>{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 Mu(0,1,1,1),this.colorsAnimationEffect="slide-in",this.palette=pa,this.variants=[],this.colorFormats=m_,this.format=ur.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,ke.IO)(":enter",(0,ke.oB)({opacity:0}),{optional:!0}),(0,ke.IO)(":enter",(0,ke.EY)("10ms",[(0,ke.jt)(".3s ease-in",(0,ke.F4)([(0,ke.oB)({opacity:0,transform:"translatex(-50%)",offset:0}),(0,ke.oB)({opacity:.5,transform:"translatex(-10px) scale(1.1)",offset:.3}),(0,ke.oB)({opacity:1,transform:"translatex(0)",offset:1})]))]),{optional:!0})]),(0,ke.eR)("void => popup",[(0,ke.IO)(":enter",(0,ke.oB)({opacity:0,transform:"scale(0)"}),{optional:!0}),(0,ke.IO)(":enter",(0,ke.EY)("10ms",[(0,ke.jt)("500ms ease-out",(0,ke.F4)([(0,ke.oB)({opacity:.5,transform:"scale(.5)",offset:.3}),(0,ke.oB)({opacity:1,transform:"scale(1.1)",offset:.8}),(0,ke.oB)({opacity:1,transform:"scale(1)",offset:1})]))]),{optional:!0})])])]}}),r})();const SD={position:"fixed",height:"100%",width:"100%","z-index":2e3,top:0,left:0};let ID=(()=>{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(OE);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(SD).forEach(v=>{this.overlay.style[v]=SD[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})(),LE=(()=>{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(ID))},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:ha,useExisting:(0,e.Gpc)(()=>r),multi:!0}])]}),r})(),NE=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[$F,ID],imports:[F.ez]}),r})();function RE(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 p_{constructor(i,t,n){this.appState=i,this.dialogRef=t,this.data=n,this.styles=s,this.data.name="",this.data.color="#673ab7"}onNoClick(){this.data.name="",this.data.color="#673ab7",this.dialogRef.close()}}p_.\u0275fac=function(i){return new(i||p_)(e.Y36(Le.i),e.Y36(xe),e.Y36(ye))},p_.\u0275cmp=e.Xpm({type:p_,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,RE,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,no,Ca,Ya,hl,kt.lW,xf,ae.ey,Un,rr,Ir,aa,tn,Ct,bt,Bi,LE],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 Of=(()=>{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})(),PE=(()=>{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 XF=["*"],eC='@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}',OD=["unscopedContent"],BE=["text"],YE=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]],HE=["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"];function UE(r,i){1&r&&e.Hsn(0,4)}function jE(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 ZE(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 VE(r,i){}function zE(r,i){if(1&r&&(e.TgZ(0,"span",22),e.YNc(1,VE,0,0,"ng-template",23),e.qZA()),2&r){e.oxw();const t=e.MAs(3);e.xp6(1),e.Q6J("ngTemplateOutlet",t)}}function GE(r,i){}function qE(r,i){if(1&r&&(e.TgZ(0,"span",24),e.YNc(1,GE,0,0,"ng-template",23),e.qZA()),2&r){e.oxw();const t=e.MAs(5);e.xp6(1),e.Q6J("ngTemplateOutlet",t)}}function WE(r,i){}function QE(r,i){if(1&r&&e.YNc(0,WE,0,0,"ng-template",23),2&r){e.oxw();const t=e.MAs(1);e.Q6J("ngTemplateOutlet",t)}}function JE(r,i){}function KE(r,i){if(1&r&&(e.TgZ(0,"span",25),e.YNc(1,JE,0,0,"ng-template",23),e.qZA()),2&r){e.oxw();const t=e.MAs(3);e.xp6(1),e.Q6J("ngTemplateOutlet",t)}}function $E(r,i){}function XE(r,i){if(1&r&&(e.TgZ(0,"span",25),e.YNc(1,$E,0,0,"ng-template",23),e.qZA()),2&r){e.oxw();const t=e.MAs(5);e.xp6(1),e.Q6J("ngTemplateOutlet",t)}}function eA(r,i){}function tA(r,i){if(1&r&&e.YNc(0,eA,0,0,"ng-template",23),2&r){e.oxw();const t=e.MAs(1);e.Q6J("ngTemplateOutlet",t)}}const iA=[[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["mat-divider"]],[["","matListItemAvatar",""],["","matListItemIcon",""]]],nA=["[matListItemTitle]","[matListItemLine]","*","mat-divider","[matListItemAvatar],[matListItemIcon]"],LD=new e.OlP("ListOption");let g_=(()=>{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})(),__=(()=>{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})(),ND=(()=>{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})(),RD=(()=>{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(LD,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})(),iv=(()=>{class r extends RD{}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})(),b_=(()=>{class r extends RD{}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 rA=new e.OlP("MAT_LIST_CONFIG");let Eu=(()=>{class r{constructor(){this._isNonInteractive=!0,this._disableRipple=!1,this._disabled=!1,this._defaultOptions=(0,e.f3M)(rA,{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})(),tC=(()=>{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,A){this._elementRef=t,this._ngZone=n,this._listBase=a,this._platform=l,this._explicitLines=null,this._disableRipple=!1,this._disabled=!1,this._subscriptions=new po.w0,this._rippleRenderer=null,this._hasUnscopedTextContent=!1,this.rippleConfig=v||{},this._hostElement=this._elementRef.nativeElement,this._noopAnimations="NoopAnimations"===A,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,Ue.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(Eu,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,iv,4),e.Suo(a,b_,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})(),PD=(()=>{class r extends Eu{}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:Eu,useExisting:r}]),e.qOj],ngContentSelectors:XF,decls:1,vars:0,template:function(t,n){1&t&&(e.F$t(),e.Hsn(0))},styles:[eC],encapsulation:2,changeDetection:0}),r})(),nv=(()=>{class r extends tC{get activated(){return this._activated}set activated(t){this._activated=(0,st.Ig)(t)}constructor(t,n,a,l,v,A){super(t,n,a,l,v,A),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(Eu,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,__,5),e.Suo(a,g_,5),e.Suo(a,ND,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(OD,5),e.Gf(BE,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:HE,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(YE),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:[ul.wD],encapsulation:2,changeDetection:0}),r})();const BD=new e.OlP("SelectionList");let YD=(()=>{class r extends tC{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,A,G){super(t,n,a,l,A,G),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(BD),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,__,5),e.Suo(a,g_,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(OD,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:tC,useExisting:r},{provide:LD,useExisting:r}]),e.qOj],ngContentSelectors:nA,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(iA),e.YNc(0,UE,1,0,"ng-template",null,0,e.W1O),e.YNc(2,jE,6,4,"ng-template",null,1,e.W1O),e.YNc(4,ZE,5,4,"ng-template",null,2,e.W1O),e.YNc(6,zE,2,1,"span",3),e.YNc(7,qE,2,1,"span",4),e.YNc(8,QE,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,XE,2,1,"span",9),e.YNc(17,tA,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:[ul.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})(),aA=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["","mat-subheader",""],["","matSubheader",""]],hostAttrs:[1,"mat-mdc-subheader","mdc-list-group__subheader"]}),r})(),iC=(()=>{class r extends Eu{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:Eu,useExisting:r}]),e.qOj],ngContentSelectors:XF,decls:1,vars:0,template:function(t,n){1&t&&(e.F$t(),e.Hsn(0))},styles:[eC],encapsulation:2,changeDetection:0}),r})();const oA={provide:ha,useExisting:(0,e.Gpc)(()=>HD),multi:!0};class sA{constructor(i,t){this.source=i,this.options=t}}let HD=(()=>{class r extends Eu{get multiple(){return this._multiple}set multiple(t){const n=(0,st.Ig)(t);n!==this._multiple&&(this._multiple=n,this.selectedOptions=new Ua.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 Ua.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 sA(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,Ji.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!==S.K5&&t.keyCode!==S.L_||this._keyManager.isTyping()||!n||n.disabled)if(t.keyCode===S.A&&this.multiple&&!this._keyManager.isTyping()&&(0,S.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,Ji.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,YD,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([oA,{provide:Eu,useExisting:r},{provide:BD,useExisting:r}]),e.qOj,e.TTD],ngContentSelectors:XF,decls:1,vars:0,template:function(t,n){1&t&&(e.F$t(),e.Hsn(0))},styles:[eC],encapsulation:2,changeDetection:0}),r})(),lA=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[ul.Q8,F.ez,ae.BQ,ae.si,ae.us,PE]}),r})();class y_{constructor(){}transform(i){return i?s.find(t=>t.id==i)?.name:"Pipes"}}function cA(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"Circles.Public")))}function dA(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"Circles.Private")))}function uA(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),e.ALo(5,"translate"),e.qZA()()}2&r&&(e.xp6(4),e.Oqu(e.lcZ(5,1,"Circles.DeleteCircle")))}function hA(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,A=e.oxw();return e.KtG(A.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.ALo(10,"translate"),e.qZA()(),e._UZ(11,"br"),e.TgZ(12,"span",6),e.YNc(13,cA,3,3,"span",7),e.YNc(14,dA,3,3,"span",7),e._uU(15),e.ALo(16,"circlestyle"),e.ALo(17,"translate"),e.ALo(18,"ago"),e.qZA()(),e.TgZ(19,"div",5)(20,"button",8)(21,"mat-icon",9),e._uU(22,"more_vert"),e.qZA()(),e.TgZ(23,"mat-menu",null,10)(25,"button",11)(26,"mat-icon"),e._uU(27,"copy_all"),e.qZA(),e.TgZ(28,"span"),e._uU(29),e.ALo(30,"translate"),e.qZA()(),e.YNc(31,uA,6,3,"button",12),e.qZA(),e.TgZ(32,"mat-menu",null,13)(34,"button",14),e.NdJ("click",function(){const l=e.CHM(t).$implicit,v=e.oxw();return e.KtG(v.copyPubKeys(l))}),e.TgZ(35,"mat-icon"),e._uU(36,"content_copy"),e.qZA(),e.TgZ(37,"span"),e._uU(38),e.ALo(39,"translate"),e.qZA()(),e.TgZ(40,"button",14),e.NdJ("click",function(){const l=e.CHM(t).$implicit,v=e.oxw();return e.KtG(v.copyPubKeysHex(l))}),e.TgZ(41,"mat-icon"),e._uU(42,"content_copy"),e.qZA(),e.TgZ(43,"span"),e._uU(44),e.ALo(45,"translate"),e.qZA()()()()()}if(2&r){const t=i.$implicit,n=e.MAs(24),a=e.MAs(33),l=e.oxw();e.xp6(2),e.Udp("color",t.color),e.xp6(3),e.hij(" ",t.name,""),e.xp6(4),e.AsE("",e.lcZ(10,16,"Circles.Count"),": ",l.countMembers(t),""),e.xp6(4),e.Q6J("ngIf",t.public),e.xp6(1),e.Q6J("ngIf",!t.public),e.xp6(1),e.lnq(" - ",e.lcZ(16,18,t.style)," - ",e.lcZ(17,20,"Circles.Created"),": ",e.lcZ(18,22,t.created),""),e.xp6(5),e.Q6J("matMenuTriggerFor",n),e.xp6(5),e.Q6J("matMenuTriggerFor",a),e.xp6(4),e.Oqu(e.lcZ(30,24,"Circles.Copy")),e.xp6(2),e.Q6J("ngIf",t.id),e.xp6(7),e.Oqu(e.lcZ(39,26,"Circles.PublicKeysNpub")),e.xp6(6),e.Oqu(e.lcZ(45,28,"Circles.PublicKeysHex"))}}y_.\u0275fac=function(i){return new(i||y_)},y_.\u0275pipe=e.Yjl({name:"circlestyle",type:y_,pure:!0});class v_{constructor(i,t,n,a,l,v,A,G,V,be,ze,_t,Pt){this.navigation=i,this.appState=t,this.circleService=n,this.profileService=a,this.dialog=l,this.validator=v,this.utilities=A,this.authService=G,this.router=V,this.dataService=be,this.snackBar=ze,this.cd=_t,this.ngZone=Pt,this.loading=!1,this.subscriptions=[]}ngOnDestroy(){this.utilities.unsubscribe(this.subscriptions)}deleteCircle(i){var t=this;return(0,Fe.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(p_,{data:{name:"",style:1,public:!0},maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var n=(0,Fe.Z)(function*(a){a&&i.circleService.put(a)});return function(a){return n.apply(this,arguments)}}())}ngOnInit(){var i=this;return(0,Fe.Z)(function*(){i.appState.updateTitle("Circles"),i.appState.showBackButton=!1,i.appState.actions=[{icon:"add_circle",tooltip:"Create Circle",click:()=>{i.createCircle()}}]})()}}v_.\u0275fac=function(i){return new(i||v_)(e.Y36(qa),e.Y36(Le.i),e.Y36(Ga),e.Y36(Ln),e.Y36(vi),e.Y36(rs.Y),e.Y36(gn.dU),e.Y36(Kc.$),e.Y36(Bt.F0),e.Y36(ma),e.Y36(ro.ux),e.Y36(e.sBO),e.Y36(e.R0b))},v_.\u0275cmp=e.Xpm({type:v_,selectors:[["app-circles"]],decls:5,vars:4,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,hA,46,30,"mat-card",1),e.TgZ(2,"small"),e._uU(3),e.ALo(4,"translate"),e.qZA()()),2&i&&(e.xp6(1),e.Q6J("ngForOf",t.circleService.circles),e.xp6(2),e.Oqu(e.lcZ(4,2,"Circles.CirclesDescription")))},dependencies:[F.sg,F.O5,kt.RK,Da,Un,b_,Cl,Fl,bu,Ma.X$,us,y_],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 w_{constructor(i,t){this.dialogRef=i,this.data=t}onNoClick(){this.data.pubkey="",this.dialogRef.close()}}w_.\u0275fac=function(i){return new(i||w_)(e.Y36(xe),e.Y36(ye))},w_.\u0275cmp=e.Xpm({type:w_,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:[no,Ca,Ya,hl,kt.lW,Un,rr,Ir,aa,tn,Ct,bt,Bi],styles:[".input-full-width[_ngcontent-%COMP%]{width:100%!important}"]});class x_{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 mA(r,i){if(1&r&&(e.TgZ(0,"span",25),e._uU(1),e.ALo(2,"translate"),e.ALo(3,"ago"),e.qZA()),2&r){const t=e.oxw().$implicit;e.xp6(1),e.AsE("",e.lcZ(2,2,"People.Followed")," ",e.lcZ(3,4,t.created),"")}}function fA(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-card",19),e.NdJ("click",function(a){const v=e.CHM(t).$implicit,A=e.oxw(3);return e.KtG(A.navigation.openProfile(a,v))}),e.TgZ(1,"div",20)(2,"app-event-header",21)(3,"small"),e.YNc(4,mA,4,6,"span",22),e._UZ(5,"app-directory-icon",23),e.qZA()(),e._UZ(6,"app-profile-actions",21),e.qZA(),e.TgZ(7,"div",24),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 pA(r,i){if(1&r&&e.YNc(0,fA,9,5,"mat-card",18),2&r){const t=e.oxw(2);e.Q6J("ngForOf",t.sortedItems)("ngForTrackBy",t.trackByFn)}}function gA(r,i){if(1&r&&e._UZ(0,"app-event-header",27),2&r){const t=i.$implicit;e.Q6J("listType","content")("iconSize","small")("displayName",!0)("displayContent",!0)("profile",t)}}function _A(r,i){if(1&r&&e.YNc(0,gA,1,5,"app-event-header",26),2&r){const t=e.oxw(2);e.Q6J("ngForOf",t.sortedItems)("ngForTrackBy",t.trackByFn)}}function bA(r,i){if(1&r&&e._UZ(0,"app-event-header",27),2&r){const t=i.$implicit;e.Q6J("listType","details")("iconSize","small")("displayName",!0)("displayContent",!0)("profile",t)}}function yA(r,i){if(1&r&&e.YNc(0,bA,1,5,"app-event-header",26),2&r){const t=e.oxw(2);e.Q6J("ngForOf",t.sortedItems)("ngForTrackBy",t.trackByFn)}}function vA(r,i){if(1&r&&e._UZ(0,"app-event-header",29),2&r){const t=i.$implicit;e.Q6J("iconSize","small")("displayName",!1)("displayContent",!1)("profile",t)}}function wA(r,i){if(1&r&&e.YNc(0,vA,1,4,"app-event-header",28),2&r){const t=e.oxw(2);e.Q6J("ngForOf",t.sortedItems)("ngForTrackBy",t.trackByFn)}}function xA(r,i){if(1&r&&e._UZ(0,"app-event-header",27),2&r){const t=i.$implicit;e.Q6J("listType","icon")("iconSize","small")("displayName",!1)("displayContent",!1)("profile",t)}}function FA(r,i){if(1&r&&e.YNc(0,xA,1,5,"app-event-header",26),2&r){const t=e.oxw(2);e.Q6J("ngForOf",t.sortedItems)("ngForTrackBy",t.trackByFn)}}function CA(r,i){if(1&r&&e._UZ(0,"app-event-header",27),2&r){const t=i.$implicit;e.Q6J("listType","icon")("iconSize","medium")("displayName",!1)("displayContent",!1)("profile",t)}}function kA(r,i){if(1&r&&e.YNc(0,CA,1,5,"app-event-header",26),2&r){const t=e.oxw(2);e.Q6J("ngForOf",t.sortedItems)("ngForTrackBy",t.trackByFn)}}function DA(r,i){if(1&r&&e._UZ(0,"app-event-header",27),2&r){const t=i.$implicit;e.Q6J("listType","icon")("iconSize","large")("displayName",!1)("displayContent",!1)("profile",t)}}function MA(r,i){if(1&r&&e.YNc(0,DA,1,5,"app-event-header",26),2&r){const t=e.oxw(2);e.Q6J("ngForOf",t.sortedItems)("ngForTrackBy",t.trackByFn)}}function EA(r,i){if(1&r&&(e.YNc(0,pA,1,2,"ng-template",16),e.YNc(1,_A,1,2,"ng-template",16),e.YNc(2,yA,1,2,"ng-template",16),e.YNc(3,wA,1,2,"ng-template",16),e.YNc(4,FA,1,2,"ng-template",16),e.YNc(5,kA,1,2,"ng-template",16),e.YNc(6,MA,1,2,"ng-template",16)),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 AA(r,i){1&r&&e._UZ(0,"mat-spinner",30)}x_.\u0275fac=function(i){return new(i||x_)(e.Y36(Ur),e.Y36(xe),e.Y36(ye))},x_.\u0275cmp=e.Xpm({type:x_,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:[kt.lW,Ct,bt,Bi],styles:[".input-full-width[_ngcontent-%COMP%]{width:100%!important}"]});const TA=function(r){return[r]};class F_{constructor(i,t,n,a,l,v,A,G,V,be,ze,_t,Pt){this.circleService=i,this.navigation=t,this.appState=n,this.cd=a,this.dialog=l,this.profileService=v,this.validator=A,this.dataService=G,this.utilities=V,this.router=be,this.snackBar=ze,this.optionsService=_t,this.metricService=Pt,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.followed>n.followed?1:-1):"created-asc"===i?this.sortedItems=this.items.sort((t,n)=>t.created_att.created_atthis.metricService.get(t.pubkey)this.metricService.get(t.pubkey)>this.metricService.get(n.pubkey)?1:-1))}showChanged(){this.load(),this.optionsService.save()}ngOnDestroy(){this.utilities.unsubscribe(this.subscriptions)}load(){var i=this;return(0,Fe.Z)(function*(){i.loading=!0,i.items=1==i.optionsService.values.peopleDisplayType?i.profileService.following:yield i.profileService.getProfilesByStatus(i.optionsService.values.peopleDisplayType),i.updateSorting(),i.loading=!1})()}trackByFn(i,t){return`${t.pubkey}${t.modified}${t.circle}`}ngOnInit(){var i=this;return(0,Fe.Z)(function*(){i.appState.updateTitle("People"),i.appState.showBackButton=!1,i.appState.actions=[{icon:"person_add",tooltip:"Add a person",click:()=>{i.createFollow()}}],yield i.load(),i.subscriptions.push(i.profileService.following$.subscribe((0,Fe.Z)(function*(){console.log("FOLLOWING CHANGED!!!"),yield i.load()}))),i.subscriptions.push(i.profileService.profilesChanged$.subscribe((0,Fe.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,Fe.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(w_,{data:{},maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var n=(0,Fe.Z)(function*(a){if(!a)return;let l=a.pubkey;l=l.replaceAll("[","").replaceAll("]","").replaceAll('"',"");const v=l.split(",");for(let A=0;A-1){v[A].startsWith("@")&&(v[A]=v[A].substring(1));const G=yield za.queryProfile(v[A]);if(!G)return void i.snackBar.open("Unable to find the user.","Hide",{duration:2e3,horizontalPosition:"center",verticalPosition:"bottom"});v[A]=G.pubkey}yield i.addFollow(v[A])}setTimeout(()=>{i.router.navigate(["/p",v[0]])},100)});return function(a){return n.apply(this,arguments)}}())}publishFollowList(){var i=this;return(0,Fe.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,Fe.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,Fe.Z)(function*(){i.dialog.open(x_,{data:{pubkey:i.appState.getPublicKey()},maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var n=(0,Fe.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{G&&this.buildTree(G)}),this.ui.event$.subscribe(G=>{if(null==G)return;let V=this.eventService.rootEventId(G);V||(V=G.id),this.eventService.parentEventId(G)})}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 SA(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 IA(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 OA(r,i){if(1&r&&(e.TgZ(0,"div",3)(1,"div",4)(2,"div",5),e.YNc(3,SA,1,2,"img",6),e.YNc(4,IA,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,"")}}Sc.\u0275fac=function(i){return new(i||Sc)(e.LFG(Gr),e.LFG(_r),e.LFG(Hr),e.LFG(Ur),e.LFG(Ln),e.LFG(ma),e.LFG(qa))},Sc.\u0275prov=e.Yz7({token:Sc,factory:Sc.\u0275fac,providedIn:"root"});class C_{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,Fe.Z)(function*(){(i.data.zaps?i.data.zaps:[]).forEach(function(){var n=(0,Fe.Z)(function*(a){let l=a.zapper;null!=l&&i.profileServ.getProfile(l).then(function(){var v=(0,Fe.Z)(function*(A){A.display_name=A.display_name||A.name||i.util.getNostrIdentifier(A.pubkey),i.zappers.push({profile:A,zap:a})});return function(A){return v.apply(this,arguments)}}())});return function(a){return n.apply(this,arguments)}}())})()}}function LA(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 NA(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 RA(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," ")}}C_.\u0275fac=function(i){return new(i||C_)(e.Y36(ye),e.Y36(gn.dU),e.Y36(Ln),e.Y36(xe))},C_.\u0275cmp=e.Xpm({type:C_,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,OA,12,7,"div",2),e.qZA()),2&i&&(e.xp6(3),e.Q6J("ngForOf",t.zappers))},dependencies:[F.sg,F.O5,oo,bt],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 PA=function(r,i){return{"no-lines":r,lines:i}};class Au{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,Fe.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(C_,{data:{zaps:i,event:this.event}})}}function BA(r,i){if(1&r&&e._uU(0),2&r){const t=e.oxw(2);e.Oqu(t.unified)}}function YA(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,BA,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 HA(r,i){if(1&r&&e._uU(0),2&r){const t=e.oxw(2);e.Oqu(t.unified)}}function UA(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,HA,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)}}Au.\u0275fac=function(i){return new(i||Au)(e.Y36(Sc),e.Y36(Ln),e.Y36(Gr),e.Y36(Xr.I),e.Y36(vi))},Au.\u0275cmp=e.Xpm({type:Au,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,LA,2,1,"span",1),e.YNc(2,NA,2,1,"span",2),e.YNc(3,RA,2,2,"span",3),e.ALo(4,"keyvalue"),e.qZA()),2&i&&(e.Q6J("ngClass",e.WLB(6,PA,!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,oo,F.Nd],styles:[".thread-reactions[_ngcontent-%COMP%]{margin-left:27px;padding-left:1em;padding-bottom:.4em}.thread-reaction[_ngcontent-%COMP%]{margin-right:.75em}"]});const UD=["*","*"],jD=[{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"]}],jA=[{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 rv=(()=>{class r{constructor(){this.uncompressed=!1,this.names={},this.emojis=[],this.uncompressed||(this.uncompress(jA),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 A=t.match(ZA);if(A&&(t=A[1],A[2]&&(n=parseInt(A[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 A=VA[n-1],G=l.skinVariations.find(V=>V.unified.includes(A));(!G.hidden||!G.hidden.includes(a))&&(l.skinTone=n,l={...l,...G}),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,A=ZD,G=58,V){const be=!!V;return{width:`${a}px`,height:`${a}px`,display:"inline-block","background-image":`url(${V=V||A(n,l)})`,"background-size":be?"100% 100%":`${100*G}% ${100*v}%`,"background-position":be?void 0:this.getSpritePosition(t,G)}}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})(),VD=(()=>{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=ZD}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(rv))},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:UD,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(UD),e.YNc(0,YA,4,8,"button",0),e.YNc(1,UA,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})(),zA=(()=>{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 GA(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 qA(r,i){1&r&&e.YNc(0,GA,5,8,"span",2),2&r&&e.Q6J("ngIf",!1!==i.$implicit.anchor)}const WA=["container"],QA=["label"];function JA(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 KA(r,i){if(1&r&&(e.TgZ(0,"div"),e.YNc(1,JA,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 $A(r,i){if(1&r&&(e.TgZ(0,"div"),e.YNc(1,KA,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 XA(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 iT(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 nT(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 rT(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 aT(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,nT,2,1,"span",12),e.qZA(),e.TgZ(8,"div",13),e.YNc(9,rT,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 oT(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 sT=["inputRef"],lT=["scrollRef"];function cT(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 dT(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 uT(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,qA,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})(),zD=(()=>{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 V=[];for(let be=0;bethis.frequently[V]-this.frequently[be]).reverse().slice(0,a),G=(0,F.NF)(this.platformId)&&localStorage.getItem(`${this.NAMESPACE}.last`);return G&&!A.includes(G)&&(A.pop(),A.push(G)),A}}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})(),GD=(()=>{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(rv),e.Y36(zD))},r.\u0275cmp=e.Xpm({type:r,selectors:[["emoji-category"]],viewQuery:function(t,n){if(1&t&&(e.Gf(WA,7),e.Gf(QA,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,$A,3,3,"div",5),e.YNc(7,XA,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,VD,F.Ov],encapsulation:2,changeDetection:0}),r})();function qD(r){return r.reduce((i,t)=>(i.includes(t)||i.push(t),i),[])}function mT(r,i){const t=qD(r),n=qD(i);return t.filter(a=>n.indexOf(a)>=0)}let pT=(()=>{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 A of l)this.emoticonsList[A]||(this.emoticonsList[A]=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=[],A=[]){this.addCustomToPool(A,this.originalPool);let G,V=this.originalPool;if(t.length){if("-"===t||"-1"===t)return[this.emojisList[-1]];if("+"===t||"+1"===t)return[this.emojisList["+1"]];let be=t.toLowerCase().split(/[\s|,|\-|_]+/),ze=[];if(be.length>2&&(be=[be[0],be[1]]),l.length||v.length){V={};for(const _t of jD||[]){const Pt=!l||!l.length||l.indexOf(_t.id)>-1,jt=!(!v||!v.length)&&v.indexOf(_t.id)>-1;if(Pt&&!jt)for(const Xt of _t.emojis||[]){const ei=this.emojiService.getData(Xt);V[ei?.id??""]=ei}}if(A.length){const _t=!l||!l.length||l.indexOf("custom")>-1,Pt=!(!v||!v.length)&&v.indexOf("custom")>-1;_t&&!Pt&&this.addCustomToPool(A,V)}}ze=be.map(_t=>{let Pt=V,jt=this.index,Xt=0;for(let ei=0;ei<_t.length;ei++){const Ci=_t[ei];if(Xt++,jt[Ci]||(jt[Ci]={}),jt=jt[Ci],!jt.results){const si={};jt.results=[],jt.pool={};for(const xi of Object.keys(Pt)){const Mi=Pt[xi];this.emojiSearch[xi]||(this.emojiSearch[xi]=this.buildSearch(Mi.short_names,Mi.name,Mi.id,Mi.keywords,Mi.emoticons));const un=this.emojiSearch[xi],xn=_t.substr(0,Xt),Cn=un.indexOf(xn);if(-1!==Cn){let hr=Cn+1;xn===xi&&(hr=0),jt.results.push(this.emojisList[xi]),jt.pool[xi]=Mi,si[xi]=hr}}jt.results.sort((xi,Mi)=>si[xi.id]-si[Mi.id])}Pt=jt.pool}return jt.results}).filter(_t=>_t),G=ze.length>1?mT.apply(null,ze):ze.length?ze[0]:[]}return G&&(n&&(G=G.filter(be=>!(!be||!be.id)&&n(this.emojiService.names[be.id]))),G&&G.length>a&&(G=G.slice(0,a))),G||null}buildSearch(t,n,a,l,v){const A=[],G=(V,be)=>{if(!V)return;const ze=Array.isArray(V)?V:[V];for(const _t of ze){const Pt=be?_t.split(/[-|_|\s]+/):[_t];for(let jt of Pt)jt=jt.toLowerCase(),A.includes(jt)||A.push(jt)}};return G(t,!0),G(n,!0),G(a,!0),G(l,!0),G(v,!1),A.join(",")}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(rv))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),gT=(()=>{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,iT,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})(),WD=(()=>{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(rv))},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,aT,10,12,"div",0),e.TgZ(1,"div",1)(2,"div",2),e.YNc(3,oT,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,VD,gT],encapsulation:2,changeDetection:0}),r})(),_T=0,QD=(()=>{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-"+ ++_T}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(pT))},r.\u0275cmp=e.Xpm({type:r,selectors:[["emoji-search"]],viewQuery:function(t,n){if(1&t&&e.Gf(sT,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:[rr,Ir,aa],encapsulation:2}),r})();const JD={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"},KD={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"},$D={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 nC=(()=>{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=JD,this.searchIcons=KD,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=(A,G)=>`https://unpkg.com/emoji-datasource-${this.set}@6.0.1/img/${this.set}/sheets-256/${this.sheetSize}.png`}ngOnInit(){this.measureScrollbar=function fT(){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={...$D,...this.i18n},this.i18n.categories={...$D.categories,...this.i18n.categories},this.skin=JSON.parse((0,F.NF)(this.platformId)&&localStorage.getItem(`${this.NAMESPACE}.skin`)||"null")||this.skin;const t=[...jD];this.custom.length>0&&(this.CUSTOM_CATEGORY.emojis=this.custom.map(A=>({...A,id:A.shortNames[0],custom:!0})),t.push(this.CUSTOM_CATEGORY)),void 0!==this.include&&t.sort((A,G)=>this.include.indexOf(A.id)>this.include.indexOf(G.id)?1:-1);for(const A of t){const G=!this.include||!this.include.length||this.include.indexOf(A.id)>-1,V=!(!this.exclude||!this.exclude.length)&&this.exclude.indexOf(A.id)>-1;if(G&&!V){if(this.emojisToShowFilter){const be=[],{emojis:ze}=A;for(let _t=0;_t-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(A=>A.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:G})=>G===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(zD),e.Y36(e.Lbi))},r.\u0275cmp=e.Xpm({type:r,selectors:[["emoji-mart"]],viewQuery:function(t,n){if(1&t&&(e.Gf(lT,7),e.Gf(WD,5),e.Gf(QD,5),e.Gf(GD,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,cT,1,7,"emoji-search",3),e.TgZ(4,"section",4,5),e.YNc(6,dT,1,23,"emoji-category",6),e.qZA(),e.YNc(7,uT,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,GD,QD,WD],encapsulation:2,changeDetection:0}),r})(),bT=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[F.ez,Am,zA]}),r})(),XD=(()=>{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})(),yT=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({}),r})();const vT=["replyInput"];function wT(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 xT(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 FT(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,wT,2,0,"mat-icon",5),e.YNc(5,xT,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 CT(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 kT(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 DT(r,i){1&r&&e._UZ(0,"button",24),2&r&&e.Q6J("mtBasicSpinner",!0)}function MT(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 ET(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,CT,1,2,"emoji-mart",16),e._UZ(10,"div",17),e.YNc(11,kT,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,DT,1,1,"button",20),e.YNc(15,MT,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 AT=function(r,i){return{"no-lines":r,lines:i}};class Tu{onKeydownHandler(i){this.hideReply()}constructor(i,t,n,a,l,v,A){this.eventService=i,this.notesService=t,this.dataService=n,this.optionsService=a,this.profileService=l,this.utilities=v,this.dialog=A,this.replyOpen=!1,this.publishing=!1,this.error=""}ngAfterViewInit(){var i=this;return(0,Fe.Z)(function*(){let t=i.event?.pubkey?i.event?.pubkey:"";i.profile=yield i.profileService.getProfile(t)})()}saveNote(){var i=this;return(0,Fe.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,Fe.Z)(function*(){t.isEmojiPickerTextVisible=!1,t.note=`${t.note}${i.emoji.native}`})()}addEmoji(i){var t=this;return(0,Fe.Z)(function*(){t.isEmojiPickerVisible=!1;let n=t.dataService.createEvent(Ui.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,Fe.Z)(function*(){i.publishing=!0;let t=i.dataService.createEvent(Ui.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,Fe.Z)(function*(){i.dialog.open(ec,{width:"400px",data:{profile:i.profile,event:i.event}})})()}}function TT(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 ST(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"))}}Tu.\u0275fac=function(i){return new(i||Tu)(e.Y36(Ur),e.Y36(Zo),e.Y36(ma),e.Y36(Xr.I),e.Y36(Ln),e.Y36(gn.dU),e.Y36(vi))},Tu.\u0275cmp=e.Xpm({type:Tu,selectors:[["app-event-buttons"]],viewQuery:function(i,t){if(1&i&&e.Gf(vT,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","Bookmark",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,FT,8,2,"ng-template",1),e.YNc(2,ET,16,6,"div",2),e.qZA()),2&i&&(e.Q6J("ngClass",e.WLB(3,AT,!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,no,Ca,Ya,kt.lW,kt.RK,Un,oo,nC,rr,Ir,aa,XD],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 Ic{toggle(){this.isoDate=!this.isoDate}}Ic.\u0275fac=function(i){return new(i||Ic)},Ic.\u0275cmp=e.Xpm({type:Ic,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,TT,3,3,"span",0),e.YNc(1,ST,3,4,"span",0)),2&i&&(e.Q6J("ngIf",!t.isoDate),e.xp6(1),e.Q6J("ngIf",t.isoDate))},dependencies:[F.O5,F.uU,us],styles:[".event-date[_ngcontent-%COMP%]{margin-right:.1em;cursor:pointer}"]});const eM=function(r,i){return{"no-lines":r,lines:i}};function IT(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,eM,!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,eM,!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 Nh{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,Fe.Z)(function*(){})()}}Nh.\u0275fac=function(i){return new(i||Nh)(e.Y36(Gr),e.Y36(Sc),e.Y36(Xr.I))},Nh.\u0275cmp=e.Xpm({type:Nh,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,IT,11,18,"div",0),2&i&&e.Q6J("ngForOf",t.ui.children(t.event.id))},dependencies:[F.mk,F.sg,cs,Ao,Ds,ds,Nh,Au,Tu,Ic],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 OT=function(r,i){return{"no-lines2":r,lines2:i}},LT=function(r,i){return{"no-lines":r,lines:i}};function NT(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,OT,!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,LT,!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)}}var rC=new WeakMap;class Rh{set event(i){Zt(this,rC,i)}get event(){return _e(this,rC)}constructor(i,t,n){Et(this,rC,{writable:!0,value:void 0}),this.ui=i,this.thread=t,this.optionsService=n,this.imagePath="/assets/profile.png",this.tooltip="",this.tooltipName="",this.profileName=""}ngAfterViewInit(){}ngOnInit(){return(0,Fe.Z)(function*(){})()}}function RT(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),e.ALo(5,"translate"),e.qZA()()}2&r&&(e.xp6(4),e.Oqu(e.lcZ(5,1,"Note.ViewThread")))}function PT(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 BT(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),e.ALo(5,"translate"),e.qZA()()}2&r&&(e.xp6(4),e.Oqu(e.lcZ(5,1,"Note.ViewParent")))}Rh.\u0275fac=function(i){return new(i||Rh)(e.Y36(Gr),e.Y36(Sc),e.Y36(Xr.I))},Rh.\u0275cmp=e.Xpm({type:Rh,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,NT,12,19,"div",0),2&i&&e.Q6J("ngIf",t.event)},dependencies:[F.mk,F.O5,cs,Ao,Ds,ds,Au,Tu,us],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 YT=function(r,i,t,n){return{"is-root":r,"has-root":i,"no-lines":t,lines:n}},HT=function(r,i){return{"no-lines":r,lines:i}};function UT(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),e.ALo(7,"translate"),e.qZA(),e._UZ(8,"mat-panel-description"),e.qZA(),e.TgZ(9,"p")(10,"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(11),e.ALo(12,"translate"),e.qZA()()()()(),e.YNc(13,RT,6,3,"mat-card",5),e.YNc(14,PT,2,1,"div",6),e.ALo(15,"async"),e.TgZ(16,"div",7),e.YNc(17,BT,6,3,"mat-card",5),e.TgZ(18,"div",8)(19,"app-event-header",9),e._UZ(20,"app-date",10)(21,"app-directory-icon",9),e.qZA(),e._UZ(22,"app-event-actions",11),e.qZA(),e._UZ(23,"app-content",12)(24,"app-event-reactions",13)(25,"app-event-buttons",13)(26,"app-event-thread",13),e.qZA()()}if(2&r){const t=i.ngIf,n=e.oxw();e.xp6(6),e.Oqu(e.lcZ(7,17,"Note.Options")),e.xp6(4),e.Q6J("ngModel",n.optionsService.values.showLines),e.xp6(1),e.Oqu(e.lcZ(12,19,"Note.ShowLines")),e.xp6(2),e.Q6J("ngIf",t.rootEventId),e.xp6(1),e.Q6J("ngIf",e.lcZ(15,21,n.ui.parentEvent$)),e.xp6(2),e.Q6J("ngClass",e.l5B(23,YT,!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(28,HT,!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 Lf{constructor(i,t,n,a,l,v,A,G,V,be,ze){this.appState=i,this.activatedRoute=t,this.cd=n,this.optionsService=a,this.navigation=l,this.profiles=v,this.thread=A,this.validator=G,this.utilities=V,this.router=be,this.ui=ze,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,Fe.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()}}Lf.\u0275fac=function(i){return new(i||Lf)(e.Y36(Le.i),e.Y36(Bt.gz),e.Y36(e.sBO),e.Y36(Xr.I),e.Y36(qa),e.Y36(Ln),e.Y36(Sc),e.Y36(rs.Y),e.Y36(gn.dU),e.Y36(Bt.F0),e.Y36(Gr))},Lf.\u0275cmp=e.Xpm({type:Lf,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,UT,27,31,"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,kt.lW,Da,Un,Of,jn.pp,jn.ib,jn.yz,jn.yK,jn.u4,Cu,Ir,aa,cs,Ao,Ds,ds,Nh,Au,Tu,Ic,Rh,F.Ov,Ma.X$],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 jT=y(7411);const ZT=["*",[["mat-toolbar-row"]]],VT=["*","mat-toolbar-row"],zT=(0,ae.pj)(class{constructor(r){this._elementRef=r}});let tM=(()=>{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})(),iM=(()=>{class r extends zT{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,tM,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:VT,decls:2,vars:0,template:function(t,n){1&t&&(e.F$t(ZT),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})(),GT=(()=>{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 qT=y(8372);const av=["*"],WT=["content"];function QT(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 JT(r,i){1&r&&(e.TgZ(0,"mat-drawer-content"),e.Hsn(1,2),e.qZA())}const KT=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],$T=["mat-drawer","mat-drawer-content","*"];function XT(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 e6(r,i){1&r&&(e.TgZ(0,"mat-sidenav-content"),e.Hsn(1,2),e.qZA())}const t6=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],n6=["mat-sidenav","mat-sidenav-content","*"],nM={transformDrawer:(0,ke.X$)("transform",[(0,ke.SB)("open, open-instant",(0,ke.oB)({transform:"none",visibility:"visible"})),(0,ke.SB)("void",(0,ke.oB)({"box-shadow":"none",visibility:"hidden"})),(0,ke.eR)("void => open-instant",(0,ke.jt)("0ms")),(0,ke.eR)("void <=> open, open-instant => void",(0,ke.jt)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},a6=new e.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function o6(){return!1}}),aC=new e.OlP("MAT_DRAWER_CONTAINER");let ov=(()=>{class r extends xr.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)(()=>sC)),e.Y36(e.SBq),e.Y36(xr.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:xr.PQ,useExisting:r}]),e.qOj],ngContentSelectors:av,decls:1,vars:0,template:function(t,n){1&t&&(e.F$t(),e.Hsn(0))},encapsulation:2,changeDetection:0}),r})(),oC=(()=>{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,A,G,V){this._elementRef=t,this._focusTrapFactory=n,this._focusMonitor=a,this._platform=l,this._ngZone=v,this._interactivityChecker=A,this._doc=G,this._container=V,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,Ke.h)(be=>be),(0,Mr.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,Ke.h)(be=>be.fromState!==be.toState&&0===be.toState.indexOf("open")),(0,hf.h)(void 0)),this._closedStream=this.openedChange.pipe((0,Ke.h)(be=>!be),(0,Mr.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,Ke.h)(be=>be.fromState!==be.toState&&"void"===be.toState),(0,hf.h)(void 0)),this._destroyed=new D.x,this.onPositionChanged=new e.vpe,this._modeChanged=new D.x,this.openedChange.subscribe(be=>{be?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{(0,tc.R)(this._elementRef.nativeElement,"keydown").pipe((0,Ke.h)(be=>be.keyCode===S.hY&&!this.disableClose&&!(0,S.Vb)(be)),(0,Ji.R)(this._destroyed)).subscribe(be=>this._ngZone.run(()=>{this.close(),be.stopPropagation(),be.preventDefault()}))}),this._animationEnd.pipe((0,yy.x)((be,ze)=>be.fromState===ze.fromState&&be.toState===ze.toState)).subscribe(be=>{const{fromState:ze,toState:_t}=be;(0===_t.indexOf("open")&&"void"===ze||"void"===_t&&0===ze.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,Oe.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(aC,8))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-drawer"]],viewQuery:function(t,n){if(1&t&&e.Gf(WT,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:av,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:[xr.PQ],encapsulation:2,data:{animation:[nM.transformDrawer]},changeDetection:0}),r})(),sC=(()=>{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,A=!1,G){this._dir=t,this._element=n,this._ngZone=a,this._changeDetectorRef=l,this._animationMode=G,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,Ji.R)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),v.change().pipe((0,Ji.R)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=A}ngAfterContentInit(){this._allDrawers.changes.pipe((0,L.O)(this._allDrawers),(0,Ji.R)(this._destroyed)).subscribe(t=>{this._drawers.reset(t.filter(n=>!n._container||n._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,L.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,qT.b)(10),(0,Ji.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,Ke.h)(n=>n.fromState!==n.toState),(0,Ji.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,Ji.R)(this._drawers.changes)).subscribe(()=>this._setContainerClass(t.opened))}_watchDrawerPosition(t){t&&t.onPositionChanged.pipe((0,Ji.R)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,Oe.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(t){t&&t._modeChanged.pipe((0,Ji.R)((0,Ue.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(I.Is,8),e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(xr.rL),e.Y36(a6),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,ov,5),e.Suo(a,oC,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(ov,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:aC,useExisting:r}])],ngContentSelectors:$T,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(KT),e.YNc(0,QT,1,2,"div",0),e.Hsn(1),e.Hsn(2,1),e.YNc(3,JT,2,0,"mat-drawer-content",1)),2&t&&(e.Q6J("ngIf",n.hasBackdrop),e.xp6(3),e.Q6J("ngIf",!n._content))},dependencies:[F.O5,ov],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})(),lC=(()=>{class r extends ov{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)(()=>dC)),e.Y36(e.SBq),e.Y36(xr.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:xr.PQ,useExisting:r}]),e.qOj],ngContentSelectors:av,decls:1,vars:0,template:function(t,n){1&t&&(e.F$t(),e.Hsn(0))},encapsulation:2,changeDetection:0}),r})(),cC=(()=>{class r extends oC{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:av,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:[xr.PQ],encapsulation:2,data:{animation:[nM.transformDrawer]},changeDetection:0}),r})(),dC=(()=>{class r extends sC{}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,lC,5),e.Suo(a,cC,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:aC,useExisting:r}]),e.qOj],ngContentSelectors:n6,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(t6),e.YNc(0,XT,1,2,"div",0),e.Hsn(1),e.Hsn(2,1),e.YNc(3,e6,2,0,"mat-sidenav-content",1)),2&t&&(e.Q6J("ngIf",n.hasBackdrop),e.xp6(3),e.Q6J("ngIf",!n._content))},dependencies:[F.O5,lC],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})(),s6=(()=>{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,xr.ZD,xr.ZD,ae.BQ]}),r})();var sv=new WeakMap,Su=new WeakMap;class rc{get chats$(){return _e(this,sv).asObservable().pipe()}get chats2$(){return(0,j.of)(_e(this,Su))}get uniqueChats$(){return this.chats2$.pipe((0,Mr.U)(i=>{const t=i.sort((a,l)=>a.created_att.findIndex(v=>v.pubkey==a.pubkey)===l)}))}constructor(i,t,n,a){Et(this,sv,{writable:!0,value:void 0}),Et(this,Su,{writable:!0,value:void 0}),this.nostr=i,this.queueService=t,this.dataService=n,this.appState=a,this.chats=[],Zt(this,sv,new Re.X(this.chats)),Zt(this,Su,[]),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,_e(this,sv).next(this.chats),console.log(this.data.chats)}download(){var i=this;Zt(this,Su,[]),this.dataService.downloadEventsByQuery([{kinds:[4],"#p":[this.appState.getPublicKey()]}],3e3).pipe((0,th.x)((0,Fe.Z)(function*(){for(let t=0;t<_e(i,Su).length;t++){const n=_e(i,Su)[t],a=yield i.nostr.decrypt(n.pubkey,n.content);n.content=a,console.log("DECRYPTED EVENT:",n)}}))).subscribe(function(){var t=(0,Fe.Z)(function*(n){_e(i,Su).findIndex(a=>a.id===n.id)>-1||_e(i,Su).unshift(n)});return function(n){return t.apply(this,arguments)}}())}saveMessage(i,t){}createChat(i){}getChats(){return this.data.chats}}rc.\u0275fac=function(i){return new(i||rc)(e.LFG(Ho),e.LFG(Hr),e.LFG(ma),e.LFG(Le.i))},rc.\u0275prov=e.Yz7({token:rc,factory:rc.\u0275fac,providedIn:"root"});class dd{constructor(i){this.chatService=i,this.users=new Re.X(null),this.active=new Re.X(null)}getUsers(){return this.chatService.data.users}}dd.\u0275fac=function(i){return new(i||dd)(e.LFG(rc))},dd.\u0275prov=e.Yz7({token:dd,factory:dd.\u0275fac,providedIn:"root"});class Nf{constructor(){this.type="online"}}function l6(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)}}Nf.\u0275fac=function(i){return new(i||Nf)},Nf.\u0275cmp=e.Xpm({type:Nf,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 k_{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()}}k_.\u0275fac=function(i){return new(i||k_)(e.Y36(dd),e.Y36(rc))},k_.\u0275cmp=e.Xpm({type:k_,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,l6,14,4,"div",0),2&i&&e.Q6J("ngIf",t.user)},dependencies:[F.O5,kt.lW,ae.X2,Nf],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 D_{constructor(i){this.service=i,this.openSidebar=new e.vpe}showProfile(){this.service.active.next(this.user),this.openSidebar.emit(this.user.name)}}function c6(r,i){1&r&&e._UZ(0,"mat-divider")}function d6(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,c6,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)}}D_.\u0275fac=function(i){return new(i||D_)(e.Y36(dd))},D_.\u0275cmp=e.Xpm({type:D_,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:[nv,iv,ae.X2,Nf],styles:["mat-list-item[_ngcontent-%COMP%]{height:90px!important}"]});class M_{constructor(i){this.service=i,this.openSidebar=new e.vpe,this.data=[],this.service.getUsers()}ngOnInit(){this.service.users.subscribe(i=>this.data=i)}}M_.\u0275fac=function(i){return new(i||M_)(e.Y36(dd))},M_.\u0275cmp=e.Xpm({type:M_,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,d6,3,2,"ng-container",0),e.qZA()),2&i&&(e.xp6(1),e.Q6J("ngForOf",t.data))},dependencies:[F.sg,F.O5,iC,Of,D_]});class Rf{isSendable(i){return""!==i&&""!==i.trim()}}Rf.\u0275fac=function(i){return new(i||Rf)},Rf.\u0275prov=e.Yz7({token:Rf,factory:Rf.\u0275fac,providedIn:"root"});let u6=0;const h6=(0,ae.Id)(class{}),rM="mat-badge-content";let aM=(()=>{class r extends h6{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=u6++,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(rM),"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 > .${rM}`);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})(),m6=(()=>{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 f6(r,i){if(1&r&&e._UZ(0,"span",5),2&r){const t=e.oxw();e.Q6J("matBadge",t.chat.lastMessageLength)}}class E_{constructor(i){this.service=i,this.openChatSidebar=new e.vpe}showMessageDetail(){this.openChatSidebar.emit(this.chat.username)}}function p6(r,i){1&r&&e._UZ(0,"mat-divider")}E_.\u0275fac=function(i){return new(i||E_)(e.Y36(rc))},E_.\u0275cmp=e.Xpm({type:E_,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,f6,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,nv,iv,ae.X2,aM],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 g6=function(r){return["/m",r]};function _6(r,i){if(1&r&&(e.ynx(0),e._UZ(1,"app-chat-item",6),e.YNc(2,p6,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,g6,t.id))("chat",t),e.xp6(1),e.Q6J("ngIf",!n)}}function b6(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 Ph{constructor(i){this.chatService=i,this.openChatSidebar=new e.vpe}ngOnInit(){this.chatService.download()}add(){}reset(){}}Ph.\u0275fac=function(i){return new(i||Ph)(e.Y36(rc))},Ph.\u0275cmp=e.Xpm({type:Ph,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,_6,3,5,"ng-container",4),e.ALo(7,"async"),e.qZA(),e.YNc(8,b6,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,Bt.rH,no,Ca,o1,Un,iC,Of,E_,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 A_{}A_.\u0275fac=function(i){return new(i||A_)},A_.\u0275cmp=e.Xpm({type:A_,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:[Da],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 y6=["scrollable"],v6=["picker"],w6=["drawer"];function x6(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 F6(r,i){if(1&r&&(e.ynx(0),e.YNc(1,x6,2,1,"ng-container",22),e.BQk()),2&r){const t=e.oxw();e.xp6(1),e.Q6J("ngForOf",t.chat.chat)}}function C6(r,i){1&r&&e._UZ(0,"mat-spinner",24)}function k6(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 D6(r,i){1&r&&(e.TgZ(0,"mat-icon"),e._uU(1,"chevron_left"),e.qZA())}function M6(r,i){1&r&&(e.TgZ(0,"mat-icon"),e._uU(1,"chevron_right"),e.qZA())}class Pf{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()}}Pf.\u0275fac=function(i){return new(i||Pf)(e.Y36(rc),e.Y36(Rf),e.Y36(Le.i))},Pf.\u0275cmp=e.Xpm({type:Pf,selectors:[["app-chat-detail"]],viewQuery:function(i,t){if(1&i&&(e.Gf(y6,5),e.Gf(v6,5),e.Gf(w6,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,F6,2,1,"ng-container",7),e.YNc(9,C6,1,0,"mat-spinner",8),e.qZA(),e.TgZ(10,"div",9),e.YNc(11,k6,1,2,"emoji-mart",10),e.TgZ(12,"button",11),e.NdJ("click",function(){return t.toggle()}),e.YNc(13,D6,2,0,"mat-icon",7),e.YNc(14,M6,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,no,Ca,Yp,hl,o1,kt.RK,oC,sC,Un,Cl,Fl,bu,oo,_l,nC,rr,Ir,aa,Ph,A_],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 E6=["chatSidebar"],A6=["userSidebar"];class T_{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,Fe.Z)(function*(){i.appState.updateTitle("Chat"),i.appState.goBack=!0,i.appState.actions=[]})()}}T_.\u0275fac=function(i){return new(i||T_)(e.Y36(Le.i))},T_.\u0275cmp=e.Xpm({type:T_,selectors:[["app-chat"]],viewQuery:function(i,t){if(1&i&&(e.Gf(E6,5),e.Gf(A6,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:[iM,tM,cC,dC,Un,ld,ku,k_,M_,Pf,Ph],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 S_{constructor(i,t){this.profiles=i,this.utilities=t,this.pubkey="",this.profileName="",this.tooltip=""}ngOnInit(){}}function T6(r,i){if(1&r&&(e.TgZ(0,"div",9),e._UZ(1,"app-profile-widget",10),e.qZA()),2&r){const t=i.$implicit;e.xp6(1),e.Q6J("pubkey",t)}}function S6(r,i){if(1&r&&(e.ynx(0),e.TgZ(1,"div",7),e.YNc(2,T6,2,1,"div",8),e.qZA(),e.BQk()),2&r){const t=i.ngIf;e.xp6(2),e.Q6J("ngForOf",t.following)}}S_.\u0275fac=function(i){return new(i||S_)(e.Y36(Ln),e.Y36(gn.dU))},S_.\u0275cmp=e.Xpm({type:S_,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:[Ao,Ec],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 I6=function(r){return["/followers",r]},O6=function(r){return["/following",r]};class I_{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,Fe.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,Fe.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(L_,{data:{},maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var n=(0,Fe.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(A=>({url:`https://www.youtube.com/embed/${A[1]}`}));for(let A=0;A-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)}}N_.\u0275fac=function(i){return new(i||N_)(e.Y36(Mc),e.Y36(vi),e.Y36(Le.i),e.Y36(Xr.I),e.Y36(vl),e.Y36(gn.dU))},N_.\u0275cmp=e.Xpm({type:N_,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,R6,10,4,"mat-list-item",2),e.qZA()()()),2&i&&(e.xp6(3),e.Q6J("ngForOf",t.media.media))},dependencies:[F.sg,kt.RK,Un,PD,nv,iv,__,g_,ND,oo],styles:[".queue-artwork[_ngcontent-%COMP%]{border-radius:0!important}"]});const P6=["chatSidebar"],B6=["userSidebar"];function Y6(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 R_{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,Fe.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:[Ui.EncryptedDirectMessage]}],"messages")})()}}R_.\u0275fac=function(i){return new(i||R_)(e.Y36(Le.i),e.Y36(Hr),e.Y36(ao))},R_.\u0275cmp=e.Xpm({type:R_,selectors:[["app-messages"]],viewQuery:function(i,t){if(1&i&&(e.Gf(P6,5),e.Gf(B6,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,Y6,3,3,"div",0)),2&i&&(e.xp6(1),e.Q6J("ngForOf",t.sub.events))},dependencies:[F.sg,Ph,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 H6=["chatSidebar"],U6=["userSidebar"];class P_{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,Fe.Z)(function*(){i.appState.updateTitle("@Milad"),i.appState.goBack=!0,i.appState.showBackButton=!0,i.appState.actions=[]})()}}function j6(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 Z6(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 V6(r,i){1&r&&(e.TgZ(0,"mat-icon",15),e._uU(1,"edit_note"),e.qZA())}function z6(r,i){1&r&&(e.TgZ(0,"mat-icon",15),e._uU(1,"edit_off"),e.qZA())}function G6(r,i){1&r&&(e.TgZ(0,"mat-icon",15),e._uU(1,"edit"),e.qZA())}function q6(r,i){1&r&&(e.TgZ(0,"mat-icon",16),e._uU(1,"cloud_off"),e.qZA())}P_.\u0275fac=function(i){return new(i||P_)(e.Y36(Le.i))},P_.\u0275cmp=e.Xpm({type:P_,selectors:[["app-message"]],viewQuery:function(i,t){if(1&i&&(e.Gf(H6,5),e.Gf(U6,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:[Pf],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 oM=function(r){return[r]};function W6(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,oM,"relay-status-"+t.relay.status))}}function Q6(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,oM,"relay-status-"+t.relay.status))}}function J6(r,i){1&r&&(e.TgZ(0,"mat-icon",15),e._uU(1,"public"),e.qZA())}function K6(r,i){1&r&&(e.TgZ(0,"mat-icon",15),e._uU(1,"public_off"),e.qZA())}function $6(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 X6(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),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"br"),e.qZA()),2&r){const t=e.oxw(2);e.xp6(1),e.Q6J("routerLink",e.VKq(4,e4,t.relay.nip11.pubkey)),e.xp6(1),e.Oqu(e.lcZ(3,2,"Relay.Administrator"))}}function n4(r,i){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e._UZ(3,"br"),e.qZA()),2&r){const t=e.oxw(2);e.xp6(1),e.AsE("",e.lcZ(2,2,"Relay.Contact"),": ",t.relay.nip11.contact,"")}}function r4(r,i){if(1&r&&(e.TgZ(0,"div"),e.YNc(1,X6,2,1,"h2",2),e._uU(2),e._UZ(3,"br")(4,"br"),e.TgZ(5,"span",9),e.YNc(6,t4,5,6,"span",2),e.YNc(7,n4,4,4,"span",2),e._uU(8),e._UZ(9,"br"),e._uU(10),e.ALo(11,"translate"),e._UZ(12,"br"),e.TgZ(13,"span",19),e._uU(14),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.lnq(" ",e.lcZ(11,9,"Relay.Software"),": ",t.relay.nip11.software," (",t.relay.nip11.version,")"),e.xp6(4),e.hij(" ID: ",t.relay.nip11.pubkey,"")}}function a4(r,i){if(1&r&&(e.TgZ(0,"div",9),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r){const t=e.oxw();e.xp6(1),e.AsE(" ",e.lcZ(2,2,"Relay.Timeouts")," ",t.relay.timeouts,"")}}function o4(r,i){if(1&r&&(e.TgZ(0,"div",9),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r){const t=e.oxw();e.xp6(1),e.AsE(" ",e.lcZ(2,2,"Relay.Events"),": ",t.relay.eventcount,"")}}function s4(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 c4(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 sM=function(r){return{"primary-relay":r}};class B_{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,Fe.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,Fe.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,Fe.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,Fe.Z)(function*(){})()}primaryRelay(i){var t=this;return(0,Fe.Z)(function*(){t.optionsService.values.primaryRelay=i.url,t.optionsService.save()})()}deleteRelay(i){var t=this;return(0,Fe.Z)(function*(){yield t.relayService.deleteRelay(i.url)})()}relayFavIcon(i){return i.replace("wss://","https://")+"/favicon.ico"}}function d4(r,i){1&r&&e._UZ(0,"app-relay",2),2&r&&e.Q6J("relay",i.$implicit)}B_.\u0275fac=function(i){return new(i||B_)(e.Y36(Xr.I),e.Y36(ao))},B_.\u0275cmp=e.Xpm({type:B_,selectors:[["app-relay"]],inputs:{relay:"relay"},decls:59,vars:48,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,j6,2,1,"span",2),e.YNc(5,Z6,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,V6,2,0,"mat-icon",4),e.YNc(11,z6,2,0,"mat-icon",4),e.YNc(12,G6,2,0,"mat-icon",4),e.YNc(13,q6,2,0,"mat-icon",5),e.YNc(14,W6,2,3,"mat-icon",6),e.YNc(15,Q6,2,3,"mat-icon",6),e.YNc(16,J6,2,0,"mat-icon",4),e.YNc(17,K6,2,0,"mat-icon",4),e.qZA()()(),e.YNc(18,$6,2,1,"div",7),e.YNc(19,r4,15,11,"div",2),e._UZ(20,"br"),e.YNc(21,a4,3,4,"div",8),e.YNc(22,o4,3,4,"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),e.ALo(29,"translate"),e.qZA()(),e.TgZ(30,"mat-card-content")(31,"mat-selection-list",11),e.NdJ("selectionChange",function(a){return t.onRelayTypeChange(a)}),e.YNc(32,s4,7,5,"mat-list-option",12),e.qZA()()(),e.TgZ(33,"mat-card",10)(34,"mat-card-header")(35,"mat-card-title"),e._uU(36),e.ALo(37,"translate"),e.qZA(),e.TgZ(38,"mat-card-subtitle"),e._uU(39),e.ALo(40,"translate"),e.qZA()(),e.TgZ(41,"mat-card-content")(42,"mat-selection-list",11),e.NdJ("selectionChange",function(a){return t.onRelayStatusChange(a)}),e.YNc(43,l4,7,5,"mat-list-option",12),e.qZA()()(),e.TgZ(44,"mat-card",10)(45,"mat-card-header")(46,"mat-card-title"),e._uU(47),e.ALo(48,"translate"),e.qZA()(),e.TgZ(49,"mat-card-content")(50,"mat-selection-list",11),e.NdJ("selectionChange",function(a){return t.onRelayPublicChange(a)}),e.YNc(51,c4,7,5,"mat-list-option",12),e.qZA()()(),e.TgZ(52,"button",13),e.NdJ("click",function(){return t.primaryRelay(t.relay)}),e._uU(53),e.ALo(54,"translate"),e.qZA(),e._uU(55,"\xa0 "),e.TgZ(56,"button",14),e.NdJ("click",function(){return t.deleteRelay(t.relay)}),e._uU(57),e.ALo(58,"translate"),e.qZA()()),2&i&&(e.xp6(2),e.Q6J("ngClass",e.VKq(44,sM,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(46,sM,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(4),e.hij("",e.lcZ(29,32,"Relay.RelayOptions")," "),e.xp6(3),e.Q6J("multiple",!1),e.xp6(1),e.Q6J("ngForOf",t.typesOfRelays),e.xp6(4),e.hij("",e.lcZ(37,34,"Relay.RelayStatus")," "),e.xp6(3),e.hij(" ",e.lcZ(40,36,"Relay.RelayStatus.Subtitle")," "),e.xp6(3),e.Q6J("multiple",!1),e.xp6(1),e.Q6J("ngForOf",t.typesOfStatus),e.xp6(4),e.hij("",e.lcZ(48,38,"Relay.RelayPrivacy")," "),e.xp6(3),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),e.xp6(1),e.hij("",e.lcZ(54,40,"Relay.PrimaryRelay")," "),e.xp6(4),e.hij("",e.lcZ(58,42,"Relay.Delete")," "))},dependencies:[F.mk,F.sg,F.O5,Bt.rH,kt.lW,Da,Zs,yh,bh,_h,Un,HD,YD,b_,__,g_,jn.ib,jn.yz,jn.yK,jn.u4,Ma.X$],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 Bf{constructor(){}ngOnInit(){}trackByFn(i,t){return`${t.url}${t.modified}`}}function u4(r,i){if(1&r&&(e.TgZ(0,"mat-list-item")(1,"mat-icon",5),e._uU(2,"folder"),e.qZA(),e.TgZ(3,"div",6),e._uU(4),e.qZA(),e.TgZ(5,"div",7),e._uU(6),e.qZA()()),2&r){const t=i.$implicit;e.xp6(4),e.Oqu(t.key),e.xp6(2),e.Oqu(t.value.content)}}function h4(r,i){if(1&r&&(e.TgZ(0,"mat-list-item")(1,"mat-icon",5),e._uU(2,"folder"),e.qZA(),e.TgZ(3,"div",6),e._uU(4),e.qZA(),e.TgZ(5,"div",7),e._uU(6),e.qZA()()),2&r){const t=i.$implicit;e.xp6(4),e.Oqu(t.key),e.xp6(2),e.Oqu(t.value.content)}}function m4(r,i){if(1&r&&(e.TgZ(0,"mat-list-item")(1,"mat-icon",5),e._uU(2,"folder"),e.qZA(),e.TgZ(3,"div",6),e._uU(4),e.qZA(),e.TgZ(5,"div",7),e._uU(6),e.qZA()()),2&r){const t=i.$implicit;e.xp6(4),e.Oqu(t.key),e.xp6(2),e.Oqu(t.value.content)}}function f4(r,i){if(1&r&&(e.TgZ(0,"mat-list-item")(1,"mat-icon",5),e._uU(2,"folder"),e.qZA(),e.TgZ(3,"div",6),e._uU(4),e.qZA(),e.TgZ(5,"div",7),e._uU(6),e.qZA()()),2&r){const t=i.$implicit;e.xp6(4),e.Oqu(t.key),e.xp6(2),e.Oqu(t.value.content)}}function p4(r,i){if(1&r&&(e.TgZ(0,"mat-list-item")(1,"mat-icon",5),e._uU(2,"folder"),e.qZA(),e.TgZ(3,"div",6),e._uU(4),e.qZA(),e.TgZ(5,"div",7),e._uU(6),e.qZA()()),2&r){const t=i.$implicit;e.xp6(4),e.Oqu(t.key),e.xp6(2),e.Oqu(t.value.content)}}function g4(r,i){if(1&r&&(e.TgZ(0,"mat-list-item")(1,"mat-icon",5),e._uU(2,"folder"),e.qZA(),e.TgZ(3,"div",6),e._uU(4),e.qZA(),e.TgZ(5,"div",7),e._uU(6),e.qZA()()),2&r){const t=i.$implicit;e.xp6(4),e.Oqu(t.key),e.xp6(2),e.Oqu(t.value.content)}}function _4(r,i){if(1&r&&(e.TgZ(0,"mat-list-item")(1,"mat-icon",5),e._uU(2,"folder"),e.qZA(),e.TgZ(3,"div",6),e._uU(4),e.qZA(),e.TgZ(5,"div",7),e._uU(6),e.qZA()()),2&r){const t=i.$implicit;e.xp6(4),e.Oqu(t.key),e.xp6(2),e.Oqu(t.value.content)}}function b4(r,i){if(1&r&&(e.TgZ(0,"mat-list-item")(1,"mat-icon",5),e._uU(2,"folder"),e.qZA(),e.TgZ(3,"div",6),e._uU(4),e.qZA(),e.TgZ(5,"div",7),e._uU(6),e.qZA()()),2&r){const t=i.$implicit;e.xp6(4),e.Oqu(t.key),e.xp6(2),e.Oqu(t.value.content)}}Bf.\u0275fac=function(i){return new(i||Bf)},Bf.\u0275cmp=e.Xpm({type:Bf,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,d4,1,1,"ng-template",1),e.qZA()),2&i&&(e.xp6(1),e.Q6J("ngForOf",t.relays)("ngForTrackBy",t.trackByFn))},dependencies:[F.sg,jn.pp,B_]});class Y_{constructor(i,t,n,a,l){this.state=i,this.nostr=t,this.dataService=n,this.appState=a,this.relayService=l}ngOnInit(){this.appState.updateTitle("Development & Debug")}database(){return(0,Fe.Z)(function*(){})()}databaseWorker(){console.log("Creating Worker...")}addRelays(){var i=this;return(0,Fe.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()}}Y_.\u0275fac=function(i){return new(i||Y_)(e.Y36(Jl),e.Y36(Ho),e.Y36(ma),e.Y36(Le.i),e.Y36(ao))},Y_.\u0275cmp=e.Xpm({type:Y_,selectors:[["app-development"]],decls:76,vars:28,consts:[[1,"page"],["mat-subheader",""],[4,"ngFor","ngForOf"],["mat-stroked-button","",3,"click"],[3,"relays"],["matListItemIcon",""],["matListItemTitle",""],["matListItemLine",""]],template:function(i,t){1&i&&(e.TgZ(0,"div",0)(1,"h1"),e._uU(2,"State Service Management"),e.qZA(),e.TgZ(3,"mat-list")(4,"div",1),e._uU(5,"Metadata"),e.qZA(),e.YNc(6,u4,7,2,"mat-list-item",2),e.ALo(7,"keyvalue"),e._UZ(8,"mat-divider"),e.qZA(),e.TgZ(9,"mat-list")(10,"div",1),e._uU(11,"Text"),e.qZA(),e.YNc(12,h4,7,2,"mat-list-item",2),e.ALo(13,"keyvalue"),e._UZ(14,"mat-divider"),e.qZA(),e.TgZ(15,"mat-list")(16,"div",1),e._uU(17,"Contacts"),e.qZA(),e.YNc(18,m4,7,2,"mat-list-item",2),e.ALo(19,"keyvalue"),e._UZ(20,"mat-divider"),e.qZA(),e.TgZ(21,"mat-list")(22,"div",1),e._uU(23,"Reactions"),e.qZA(),e.YNc(24,f4,7,2,"mat-list-item",2),e.ALo(25,"keyvalue"),e._UZ(26,"mat-divider"),e.qZA(),e.TgZ(27,"mat-list")(28,"div",1),e._uU(29,"Reposts"),e.qZA(),e.YNc(30,p4,7,2,"mat-list-item",2),e.ALo(31,"keyvalue"),e._UZ(32,"mat-divider"),e.qZA(),e.TgZ(33,"mat-list")(34,"div",1),e._uU(35,"Zap"),e.qZA(),e.YNc(36,g4,7,2,"mat-list-item",2),e.ALo(37,"keyvalue"),e._UZ(38,"mat-divider"),e.qZA(),e.TgZ(39,"mat-list")(40,"div",1),e._uU(41,"Zap Request"),e.qZA(),e.YNc(42,_4,7,2,"mat-list-item",2),e.ALo(43,"keyvalue"),e._UZ(44,"mat-divider"),e.qZA(),e.TgZ(45,"mat-list")(46,"div",1),e._uU(47,"Article"),e.qZA(),e.YNc(48,b4,7,2,"mat-list-item",2),e.ALo(49,"keyvalue"),e._UZ(50,"mat-divider"),e.qZA(),e._uU(51," State as JSON:"),e._UZ(52,"br"),e._uU(53),e.ALo(54,"json"),e._UZ(55,"br")(56,"br"),e.TgZ(57,"p"),e._uU(58,"This page act as examples for more specialized implementation details of the app."),e.qZA(),e.TgZ(59,"button",3),e.NdJ("click",function(){return t.downloadProfile()}),e._uU(60,"Enque Profile Download"),e.qZA(),e.TgZ(61,"button",3),e.NdJ("click",function(){return t.database()}),e._uU(62,"Create Database"),e.qZA(),e.TgZ(63,"button",3),e.NdJ("click",function(){return t.databaseWorker()}),e._uU(64,"Create Database in Worker"),e.qZA(),e.TgZ(65,"button",3),e.NdJ("click",function(){return t.addRelays()}),e._uU(66,"Add Relays"),e.qZA(),e.TgZ(67,"button",3),e.NdJ("click",function(){return t.subscription()}),e._uU(68,"Create Subscription"),e.qZA(),e.TgZ(69,"button",3),e.NdJ("click",function(){return t.unsubscribe()}),e._uU(70,"Remove Subscription"),e.qZA(),e.TgZ(71,"button",3),e.NdJ("click",function(){return t.terminate()}),e._uU(72,"Terminate a single Web Worker"),e.qZA(),e._UZ(73,"br")(74,"br")(75,"app-relays",4),e.qZA()),2&i&&(e.xp6(6),e.Q6J("ngForOf",e.lcZ(7,10,t.state.events.metadata)),e.xp6(6),e.Q6J("ngForOf",e.lcZ(13,12,t.state.events.shortTextNote)),e.xp6(6),e.Q6J("ngForOf",e.lcZ(19,14,t.state.events.contacts)),e.xp6(6),e.Q6J("ngForOf",e.lcZ(25,16,t.state.events.reaction)),e.xp6(6),e.Q6J("ngForOf",e.lcZ(31,18,t.state.events.reposts)),e.xp6(6),e.Q6J("ngForOf",e.lcZ(37,20,t.state.events.zap)),e.xp6(6),e.Q6J("ngForOf",e.lcZ(43,22,t.state.events.zapRequest)),e.xp6(6),e.Q6J("ngForOf",e.lcZ(49,24,t.state.events.longFormContent)),e.xp6(5),e.hij(" ",e.lcZ(54,26,t.state)," "),e.xp6(22),e.Q6J("relays",t.relayService.items))},dependencies:[F.sg,kt.lW,Un,PD,nv,b_,aA,Of,__,g_,Bf,F.Ts,F.Nd],styles:["button[_ngcontent-%COMP%]{margin-right:.2em;margin-top:.2em}"]});var Pr=y(6826);const y4=function(r){return{"notification-message-seen":r}};function v4(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,y4,t.seen)),e.xp6(1),e.Q6J("notification",t),e.xp6(2),e.Q6J("date",t.created)}}class H_{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,Fe.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,Fe.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;nlv),multi:!0};let dM=0;class uM{constructor(i,t){this.source=i,this.value=t}}let lv=(()=>{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-"+dM++,this.valueChange=new e.vpe,this.change=new e.vpe,this.appearance=n&&n.appearance?n.appearance:"standard"}ngOnInit(){this._selectionModel=new Ua.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 uM(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(lM,8))},r.\u0275dir=e.lG2({type:r,selectors:[["mat-button-toggle-group"]],contentQueries:function(t,n,a){if(1&t&&e.Suo(a,cv,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([F4,{provide:cM,useExisting:r}])]}),r})();const C4=(0,ae.Kr)(class{});let cv=(()=>{class r extends C4{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,A){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 G=Number(v);this.tabIndex=G||0===G?G:null,this.buttonToggleGroup=t,this.appearance=A&&A.appearance?A.appearance:"standard"}ngOnInit(){const t=this.buttonToggleGroup;this.id=this.id||"mat-button-toggle-"+dM++,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 uM(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(cM,8),e.Y36(e.sBO),e.Y36(e.SBq),e.Y36(g.tE),e.$8M("tabindex"),e.Y36(lM,8))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-button-toggle"]],viewQuery:function(t,n){if(1&t&&e.Gf(w4,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:x4,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})(),k4=(()=>{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})();const D4=function(r){return["/feed",r]};function M4(r,i){if(1&r&&(e.TgZ(0,"mat-button-toggle",9)(1,"mat-icon",10),e._uU(2,"trip_origin"),e.qZA()()),2&r){const t=i.$implicit;e.Q6J("routerLink",e.VKq(4,D4,t.id))("matTooltip",t.name),e.xp6(1),e.Udp("color",t.color)}}function E4(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-card",11),e.NdJ("click",function(a){const v=e.CHM(t).$implicit,A=e.oxw(2);return e.KtG(A.navigation.openEvent(a,v))}),e.TgZ(1,"div",12)(2,"app-event-header",13)(3,"span",14),e._uU(4),e.ALo(5,"ago"),e.qZA(),e._UZ(6,"app-directory-icon",13),e.qZA(),e._UZ(7,"app-event-actions",15),e.qZA(),e._UZ(8,"app-content",15),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)}}function A4(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",1),e.NdJ("scrollAction",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.navigation.showMore())}),e.TgZ(1,"div",2)(2,"mat-button-toggle-group",3),e.YNc(3,M4,3,6,"mat-button-toggle",4),e.qZA(),e.TgZ(4,"mat-accordion",5)(5,"mat-expansion-panel")(6,"mat-expansion-panel-header")(7,"mat-panel-title"),e._uU(8,"Options"),e.qZA(),e.TgZ(9,"mat-panel-description"),e._uU(10),e.qZA()()()(),e.YNc(11,E4,9,7,"mat-card",6),e.TgZ(12,"div",7)(13,"button",8),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.showMore())}),e._uU(14,"Show more..."),e.qZA()()()()}if(2&r){const t=i.ngIf,n=e.oxw();e.xp6(3),e.Q6J("ngForOf",n.circleService.circles),e.xp6(7),e.Oqu(n.activeOptions()),e.xp6(1),e.Q6J("ngForOf",t)("ngForTrackBy",n.trackByFn)}}class Yf{constructor(i,t,n,a,l,v,A,G,V,be,ze,_t,Pt,jt,Xt){this.circleService=i,this.ui=t,this.activatedRoute=n,this.db=a,this.navigation=l,this.appState=v,this.cd=A,this.options=G,this.profileService=V,this.validator=be,this.utilities=ze,this.router=_t,this.breakpointObserver=Pt,this.snackBar=jt,this.ngZone=Xt,this.offset=0,this.pageSize=12,this.currentItems=[],this.details=!1,this.subscriptions=[],this.hasFollowers=!1,this.circle=-1}ngAfterViewInit(){console.log("ngAfterViewInit")}ngAfterContentInit(){console.log("ngAfterContentInit")}showMore(){var i=this;return(0,Fe.Z)(function*(){i.ui.updateFeedEventsView(0,i.ui.viewCounts.feedEventsViewCount+i.pageSize)})()}optionsUpdated(){}activeOptions(){return""}trackByFn(i,t){return t.id}trackByNoteId(i,t){return t.id}toggleDetails(){this.details=!this.details}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,Fe.Z)(function*(){i.appState.updateTitle("Feed"),i.appState.showBackButton=!1,i.appState.actions=[],i.options.values.privateFeed=!0,i.subscriptions.push(i.activatedRoute.paramMap.subscribe(function(){var t=(0,Fe.Z)(function*(n){const a=n.get("circle");i.ui.clearFeed(),null!=a?(i.circle=Number(a),i.ui.setFeedCircle(i.circle)):(i.circle=-1,i.ui.setFeedCircle(i.circle)),i.subscriptions.push(i.navigation.showMore$.subscribe(()=>{i.showMore()}))});return function(n){return t.apply(this,arguments)}}()))})()}}Yf.\u0275fac=function(i){return new(i||Yf)(e.Y36(Ga),e.Y36(Gr),e.Y36(Bt.gz),e.Y36(_r),e.Y36(qa),e.Y36(Le.i),e.Y36(e.sBO),e.Y36(Xr.I),e.Y36(Ln),e.Y36(rs.Y),e.Y36(gn.dU),e.Y36(Bt.F0),e.Y36(Ee.Yg),e.Y36(ro.ux),e.Y36(e.R0b))},Yf.\u0275cmp=e.Xpm({type:Yf,selectors:[["app-feed-private"]],decls:2,vars:3,consts:[["class","","infiniteScroll","",3,"scrollAction",4,"ngIf"],["infiniteScroll","",1,"",3,"scrollAction"],[1,"feed-page"],["name","ingredients",1,"circle-selection"],["value","flour",3,"routerLink","matTooltip",4,"ngFor","ngForOf"],[1,"options"],["class","events clickable",3,"click",4,"ngFor","ngForOf","ngForTrackBy"],[1,"show-more","centered"],["mat-button","",3,"click"],["value","flour",3,"routerLink","matTooltip"],["matListItemIcon",""],[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,A4,15,4,"div",0),e.ALo(1,"async")),2&i&&e.Q6J("ngIf",e.lcZ(1,1,t.ui.feedEventsView$))},dependencies:[F.sg,F.O5,Bt.rH,kt.lW,Da,Un,b_,oo,jn.pp,jn.ib,jn.yz,jn.yK,jn.u4,lv,cv,cs,Ao,Ds,Xl,ds,F.Ov,us],styles:[".loading-container[_ngcontent-%COMP%]{text-align:center}.loading[_ngcontent-%COMP%]{margin:auto}.circle-selection[_ngcontent-%COMP%]{margin-bottom:1em}"]});var Ki=(()=>{return(r=Ki||(Ki={}))[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",Ki;var r})(),hM=new Map([[Ki.QR_CODE,"QR_CODE"],[Ki.AZTEC,"AZTEC"],[Ki.CODABAR,"CODABAR"],[Ki.CODE_39,"CODE_39"],[Ki.CODE_93,"CODE_93"],[Ki.CODE_128,"CODE_128"],[Ki.DATA_MATRIX,"DATA_MATRIX"],[Ki.MAXICODE,"MAXICODE"],[Ki.ITF,"ITF"],[Ki.EAN_13,"EAN_13"],[Ki.EAN_8,"EAN_8"],[Ki.PDF_417,"PDF_417"],[Ki.RSS_14,"RSS_14"],[Ki.RSS_EXPANDED,"RSS_EXPANDED"],[Ki.UPC_A,"UPC_A"],[Ki.UPC_E,"UPC_E"],[Ki.UPC_EAN_EXTENSION,"UPC_EAN_EXTENSION"]]);function T4(r){return Object.values(Ki).includes(r)}var ud=(()=>{return(r=ud||(ud={}))[r.SCAN_TYPE_CAMERA=0]="SCAN_TYPE_CAMERA",r[r.SCAN_TYPE_FILE=1]="SCAN_TYPE_FILE",ud;var r})(),ac=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=[ud.SCAN_TYPE_CAMERA,ud.SCAN_TYPE_FILE],r}(),mM=function(){function r(i,t){this.format=i,this.formatName=t}return r.prototype.toString=function(){return this.formatName},r.create=function(i){if(!hM.has(i))throw i+" not in html5QrcodeSupportedFormatsTextMap";return new r(i,hM.get(i))},r}(),fM=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}(),dv=(()=>{return(r=dv||(dv={}))[r.UNKWOWN_ERROR=0]="UNKWOWN_ERROR",r[r.IMPLEMENTATION_ERROR=1]="IMPLEMENTATION_ERROR",r[r.NO_CODE_FOUND_ERROR=2]="NO_CODE_FOUND_ERROR",dv;var r})(),pM=function(){function r(){}return r.createFrom=function(i){return{errorMessage:i,type:dv.UNKWOWN_ERROR}},r}(),gM=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 Oc(r){return typeof r>"u"||null===r}var r,U_=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}(),jr=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}(),_M=function(){function r(){}return r.poweredBy=function(){return"Powered by "},r.reportIssues=function(){return"Report issues"},r}(),bM=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"]),A=0,G=Object.keys(i);A0&&l[l.length-1])&&(6===V[0]||2===V[0])){t=0;continue}if(3===V[0]&&(!l||V[1]>l[0]&&V[1]n&&(n=A,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===V[0]||2===V[0])){t=0;continue}if(3===V[0]&&(!l||V[1]>l[0]&&V[1]0&&l[l.length-1])&&(6===V[0]||2===V[0])){t=0;continue}if(3===V[0]&&(!l||V[1]>l[0]&&V[1]=l&&(i.isClosed=!0,i.parentElement.removeChild(i.surface),t())})})},r.prototype.getCapabilities=function(){return new B4(this.getFirstTrackOrFail())},r}(),H4=function(){function r(i){this.mediaStream=i}return r.prototype.render=function(i,t,n){return uv(this,void 0,void 0,function(){return hv(this,function(a){return[2,Y4.create(i,this.mediaStream,t,n)]})})},r.create=function(i){return uv(this,void 0,void 0,function(){return hv(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}(),CM=function(r,i,t,n){return new(t||(t=Promise))(function(l,v){function A(be){try{V(n.next(be))}catch(ze){v(ze)}}function G(be){try{V(n.throw(be))}catch(ze){v(ze)}}function V(be){be.done?l(be.value):function a(l){return l instanceof t?l:new t(function(v){v(l)})}(be.value).then(A,G)}V((n=n.apply(r,i||[])).next())})},kM=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:A(0),throw:A(1),return:A(2)},"function"==typeof Symbol&&(v[Symbol.iterator]=function(){return this}),v;function A(V){return function(be){return function G(V){if(n)throw new TypeError("Generator is already executing.");for(;t;)try{if(n=1,a&&(l=2&V[0]?a.return:V[0]?a.throw||((l=a.return)&&l.call(a),0):a.next)&&!(l=l.call(a,V[1])).done)return l;switch(a=0,l&&(V=[2&V[0],l.value]),V[0]){case 0:case 1:l=V;break;case 4:return t.label++,{value:V[1],done:!1};case 5:t.label++,a=V[1],V=[0];continue;case 7:V=t.ops.pop(),t.trys.pop();continue;default:if(!(l=(l=t.trys).length>0&&l[l.length-1])&&(6===V[0]||2===V[0])){t=0;continue}if(3===V[0]&&(!l||V[1]>l[0]&&V[1]0&&l[l.length-1])&&(6===V[0]||2===V[0])){t=0;continue}if(3===V[0]&&(!l||V[1]>l[0]&&V[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"}(Ea||(Ea={})),Ea))(),z4=function(){function r(){this.state=Ea.NOT_STARTED,this.onGoingTransactionNewState=Ea.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===Ea.UNKNOWN)throw"Transaction is already cancelled, cannot execute().";var i=this.onGoingTransactionNewState;this.onGoingTransactionNewState=Ea.UNKNOWN,this.directTransition(i)},r.prototype.cancel=function(){if(this.onGoingTransactionNewState===Ea.UNKNOWN)throw"Transaction is already cancelled, cannot cancel().";this.onGoingTransactionNewState=Ea.UNKNOWN},r.prototype.getState=function(){return this.state},r.prototype.failIfTransitionOngoing=function(){if(this.onGoingTransactionNewState!==Ea.UNKNOWN)throw"Cannot transition to a new state, already under transition"},r.prototype.validateTransition=function(i){switch(this.state){case Ea.UNKNOWN:throw"Transition from unknown is not allowed";case Ea.NOT_STARTED:this.failIfNewStateIs(i,[Ea.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."),V=i),V)},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=Oc(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,A={x:0,y:0,width:i,height:t},G=v?this.getShadedRegionBounds(i,t,l):A,V=this.createCanvasElement(G.width,G.height),ze=V.getContext("2d",{willReadFrequently:!0});ze.canvas.width=G.width,ze.canvas.height=G.height,this.element.append(V),v&&this.possiblyInsertShadingElement(this.element,i,t,l),this.createScannerPausedUiElement(this.element),this.qrRegion=G,this.context=ze,this.canvasElement=V},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,fM.createFromQrcodeResult(a)),n.possiblyUpdateShaders(!0),!0}).catch(function(a){n.possiblyUpdateShaders(!1);var l=U_.codeParseError(a);return t(l,pM.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,A=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*A,this.qrRegion.width*v,this.qrRegion.height*A,0,0,this.qrRegion.width,this.qrRegion.height);var _t=function(){a.foreverScanTimeout=setTimeout(function(){a.foreverScan(i,t,n)},a.getTimeoutFps(i.fps))};this.scanContext(t,n).then(function(Pt){Pt||!0===i.disableFlip?_t():(a.context.translate(a.context.canvas.width,0),a.context.scale(-1,1),a.scanContext(t,n).finally(function(){_t()}))}).catch(function(Pt){a.logger.logError("Error happend while scanning context",Pt),_t()})}},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(jt){if(jt in a)return!0;throw"config has invalid 'facingMode' value = '"+jt+"'"},A=Object.keys(i);if(1!==A.length)throw"'cameraIdOrConfig' object should have exactly 1 key, if passed as an object, found "+A.length+" keys";var G=Object.keys(i)[0];if(G!==t&&G!==n)throw"Only '"+t+"' and '"+n+"' are supported for 'cameraIdOrConfig'";if(G!==t){var ze=i.deviceId;if("string"==typeof ze)return{deviceId:ze};if("object"==typeof ze){if(l in ze)return{deviceId:{exact:ze[""+l]}};throw"'deviceId' should be string or object with exact as key."}throw"Invalid type of 'deviceId' = "+typeof ze}var V=i.facingMode;if("string"==typeof V){if(v(V))return{facingMode:V}}else{if("object"!=typeof V)throw"Invalid type of 'facingMode' = "+typeof V;if(!(l in V))throw"'facingMode' should be string or object with exact as key.";if(v(V[""+l]))return{facingMode:{exact:V[""+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 A=i,G=t;return i>n&&(t*=n/i,i=n),t>a&&(i*=a/t,t=a),this.logger.log("Image downsampled from "+A+"X"+G+" 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?qs.BORDER_SHADER_MATCH_COLOR:qs.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=Oc(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,A=(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=A+"px solid rgba(0, 0, 0, 0.48)",l.style.borderBottom=A+"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=""+qs.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,A){var G=document.createElement("div");G.style.position="absolute",G.style.backgroundColor=qs.BORDER_SHADER_DEFAULT_COLOR,G.style.width=t+"px",G.style.height=n+"px",null!==a&&(G.style.top=a+"px"),null!==l&&(G.style.bottom=l+"px"),A?G.style.left=v+"px":G.style.right=v+"px",this.borderShaders||(this.borderShaders=[]),this.borderShaders.push(G),i.appendChild(G)},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}(),hC="data:image/svg+xml;base64,",J4=hC+"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzNzEuNjQzIDM3MS42NDMiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDM3MS42NDMgMzcxLjY0MyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBhdGggZD0iTTEwNS4wODQgMzguMjcxaDE2My43Njh2MjBIMTA1LjA4NHoiLz48cGF0aCBkPSJNMzExLjU5NiAxOTAuMTg5Yy03LjQ0MS05LjM0Ny0xOC40MDMtMTYuMjA2LTMyLjc0My0yMC41MjJWMzBjMC0xNi41NDItMTMuNDU4LTMwLTMwLTMwSDEyNS4wODRjLTE2LjU0MiAwLTMwIDEzLjQ1OC0zMCAzMHYxMjAuMTQzaC04LjI5NmMtMTYuNTQyIDAtMzAgMTMuNDU4LTMwIDMwdjEuMzMzYTI5LjgwNCAyOS44MDQgMCAwIDAgNC42MDMgMTUuOTM5Yy03LjM0IDUuNDc0LTEyLjEwMyAxNC4yMjEtMTIuMTAzIDI0LjA2MXYxLjMzM2MwIDkuODQgNC43NjMgMTguNTg3IDEyLjEwMyAyNC4wNjJhMjkuODEgMjkuODEgMCAwIDAtNC42MDMgMTUuOTM4djEuMzMzYzAgMTYuNTQyIDEzLjQ1OCAzMCAzMCAzMGg4LjMyNGMuNDI3IDExLjYzMSA3LjUwMyAyMS41ODcgMTcuNTM0IDI2LjE3Ny45MzEgMTAuNTAzIDQuMDg0IDMwLjE4NyAxNC43NjggNDUuNTM3YTkuOTg4IDkuOTg4IDAgMCAwIDguMjE2IDQuMjg4IDkuOTU4IDkuOTU4IDAgMCAwIDUuNzA0LTEuNzkzYzQuNTMzLTMuMTU1IDUuNjUtOS4zODggMi40OTUtMTMuOTIxLTYuNzk4LTkuNzY3LTkuNjAyLTIyLjYwOC0xMC43Ni0zMS40aDgyLjY4NWMuMjcyLjQxNC41NDUuODE4LjgxNSAxLjIxIDMuMTQyIDQuNTQxIDkuMzcyIDUuNjc5IDEzLjkxMyAyLjUzNCA0LjU0Mi0zLjE0MiA1LjY3Ny05LjM3MSAyLjUzNS0xMy45MTMtMTEuOTE5LTE3LjIyOS04Ljc4Ny0zNS44ODQgOS41ODEtNTcuMDEyIDMuMDY3LTIuNjUyIDEyLjMwNy0xMS43MzIgMTEuMjE3LTI0LjAzMy0uODI4LTkuMzQzLTcuMTA5LTE3LjE5NC0xOC42NjktMjMuMzM3YTkuODU3IDkuODU3IDAgMCAwLTEuMDYxLS40ODZjLS40NjYtLjE4Mi0xMS40MDMtNC41NzktOS43NDEtMTUuNzA2IDEuMDA3LTYuNzM3IDE0Ljc2OC04LjI3MyAyMy43NjYtNy42NjYgMjMuMTU2IDEuNTY5IDM5LjY5OCA3LjgwMyA0Ny44MzYgMTguMDI2IDUuNzUyIDcuMjI1IDcuNjA3IDE2LjYyMyA1LjY3MyAyOC43MzMtLjQxMyAyLjU4NS0uODI0IDUuMjQxLTEuMjQ1IDcuOTU5LTUuNzU2IDM3LjE5NC0xMi45MTkgODMuNDgzLTQ5Ljg3IDExNC42NjEtNC4yMjEgMy41NjEtNC43NTYgOS44Ny0xLjE5NCAxNC4wOTJhOS45OCA5Ljk4IDAgMCAwIDcuNjQ4IDMuNTUxIDkuOTU1IDkuOTU1IDAgMCAwIDYuNDQ0LTIuMzU4YzQyLjY3Mi0zNi4wMDUgNTAuODAyLTg4LjUzMyA1Ni43MzctMTI2Ljg4OC40MTUtMi42ODQuODIxLTUuMzA5IDEuMjI5LTcuODYzIDIuODM0LTE3LjcyMS0uNDU1LTMyLjY0MS05Ljc3Mi00NC4zNDV6bS0yMzIuMzA4IDQyLjYyYy01LjUxNCAwLTEwLTQuNDg2LTEwLTEwdi0xLjMzM2MwLTUuNTE0IDQuNDg2LTEwIDEwLTEwaDE1djIxLjMzM2gtMTV6bS0yLjUtNTIuNjY2YzAtNS41MTQgNC40ODYtMTAgMTAtMTBoNy41djIxLjMzM2gtNy41Yy01LjUxNCAwLTEwLTQuNDg2LTEwLTEwdi0xLjMzM3ptMTcuNSA5My45OTloLTcuNWMtNS41MTQgMC0xMC00LjQ4Ni0xMC0xMHYtMS4zMzNjMC01LjUxNCA0LjQ4Ni0xMCAxMC0xMGg3LjV2MjEuMzMzem0zMC43OTYgMjguODg3Yy01LjUxNCAwLTEwLTQuNDg2LTEwLTEwdi04LjI3MWg5MS40NTdjLS44NTEgNi42NjgtLjQzNyAxMi43ODcuNzMxIDE4LjI3MWgtODIuMTg4em03OS40ODItMTEzLjY5OGMtMy4xMjQgMjAuOTA2IDEyLjQyNyAzMy4xODQgMjEuNjI1IDM3LjA0IDUuNDQxIDIuOTY4IDcuNTUxIDUuNjQ3IDcuNzAxIDcuMTg4LjIxIDIuMTUtMi41NTMgNS42ODQtNC40NzcgNy4yNTEtLjQ4Mi4zNzgtLjkyOS44LTEuMzM1IDEuMjYxLTYuOTg3IDcuOTM2LTExLjk4MiAxNS41Mi0xNS40MzIgMjIuNjg4aC05Ny41NjRWMzBjMC01LjUxNCA0LjQ4Ni0xMCAxMC0xMGgxMjMuNzY5YzUuNTE0IDAgMTAgNC40ODYgMTAgMTB2MTM1LjU3OWMtMy4wMzItLjM4MS02LjE1LS42OTQtOS4zODktLjkxNC0yNS4xNTktMS42OTQtNDIuMzcgNy43NDgtNDQuODk4IDI0LjY2NnoiLz48cGF0aCBkPSJNMTc5LjEyOSA4My4xNjdoLTI0LjA2YTUgNSAwIDAgMC01IDV2MjQuMDYxYTUgNSAwIDAgMCA1IDVoMjQuMDZhNSA1IDAgMCAwIDUtNVY4OC4xNjdhNSA1IDAgMCAwLTUtNXpNMTcyLjYyOSAxNDIuODZoLTEyLjU2VjEzMC44YTUgNSAwIDEgMC0xMCAwdjE3LjA2MWE1IDUgMCAwIDAgNSA1aDE3LjU2YTUgNSAwIDEgMCAwLTEwLjAwMXpNMjE2LjU2OCA4My4xNjdoLTI0LjA2YTUgNSAwIDAgMC01IDV2MjQuMDYxYTUgNSAwIDAgMCA1IDVoMjQuMDZhNSA1IDAgMCAwIDUtNVY4OC4xNjdhNSA1IDAgMCAwLTUtNXptLTUgMjQuMDYxaC0xNC4wNlY5My4xNjdoMTQuMDZ2MTQuMDYxek0yMTEuNjY5IDEyNS45MzZIMTk3LjQxYTUgNSAwIDAgMC01IDV2MTQuMjU3YTUgNSAwIDAgMCA1IDVoMTQuMjU5YTUgNSAwIDAgMCA1LTV2LTE0LjI1N2E1IDUgMCAwIDAtNS01eiIvPjwvc3ZnPg==",K4=hC+"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1OS4wMTggNTkuMDE4IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1OS4wMTggNTkuMDE4IiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBkPSJtNTguNzQxIDU0LjgwOS01Ljk2OS02LjI0NGExMC43NCAxMC43NCAwIDAgMCAyLjgyLTcuMjVjMC01Ljk1My00Ljg0My0xMC43OTYtMTAuNzk2LTEwLjc5NlMzNCAzNS4zNjEgMzQgNDEuMzE0IDM4Ljg0MyA1Mi4xMSA0NC43OTYgNTIuMTFjMi40NDEgMCA0LjY4OC0uODI0IDYuNDk5LTIuMTk2bDYuMDAxIDYuMjc3YS45OTguOTk4IDAgMCAwIDEuNDE0LjAzMiAxIDEgMCAwIDAgLjAzMS0xLjQxNHpNMzYgNDEuMzE0YzAtNC44NSAzLjk0Ni04Ljc5NiA4Ljc5Ni04Ljc5NnM4Ljc5NiAzLjk0NiA4Ljc5NiA4Ljc5Ni0zLjk0NiA4Ljc5Ni04Ljc5NiA4Ljc5NlMzNiA0Ni4xNjQgMzYgNDEuMzE0ek0xMC40MzEgMTYuMDg4YzAgMy4wNyAyLjQ5OCA1LjU2OCA1LjU2OSA1LjU2OHM1LjU2OS0yLjQ5OCA1LjU2OS01LjU2OGMwLTMuMDcxLTIuNDk4LTUuNTY5LTUuNTY5LTUuNTY5cy01LjU2OSAyLjQ5OC01LjU2OSA1LjU2OXptOS4xMzggMGMwIDEuOTY4LTEuNjAyIDMuNTY4LTMuNTY5IDMuNTY4cy0zLjU2OS0xLjYwMS0zLjU2OS0zLjU2OCAxLjYwMi0zLjU2OSAzLjU2OS0zLjU2OSAzLjU2OSAxLjYwMSAzLjU2OSAzLjU2OXoiLz48cGF0aCBkPSJtMzAuODgyIDI4Ljk4NyA5LjE4LTEwLjA1NCAxMS4yNjIgMTAuMzIzYTEgMSAwIDAgMCAxLjM1MS0xLjQ3NWwtMTItMTFhMSAxIDAgMCAwLTEuNDE0LjA2M2wtOS43OTQgMTAuNzI3LTQuNzQzLTQuNzQzYTEuMDAzIDEuMDAzIDAgMCAwLTEuMzY4LS4wNDRMNi4zMzkgMzcuNzY4YTEgMSAwIDEgMCAxLjMyMiAxLjUwMWwxNi4zMTMtMTQuMzYyIDcuMzE5IDcuMzE4YS45OTkuOTk5IDAgMSAwIDEuNDE0LTEuNDE0bC0xLjgyNS0xLjgyNHoiLz48cGF0aCBkPSJNMzAgNDYuNTE4SDJ2LTQyaDU0djI4YTEgMSAwIDEgMCAyIDB2LTI5YTEgMSAwIDAgMC0xLTFIMWExIDEgMCAwIDAtMSAxdjQ0YTEgMSAwIDAgMCAxIDFoMjlhMSAxIDAgMSAwIDAtMnoiLz48L3N2Zz4=",DM=hC+"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NjAgNDYwIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA0NjAgNDYwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBkPSJNMjMwIDBDMTAyLjk3NSAwIDAgMTAyLjk3NSAwIDIzMHMxMDIuOTc1IDIzMCAyMzAgMjMwIDIzMC0xMDIuOTc0IDIzMC0yMzBTMzU3LjAyNSAwIDIzMCAwem0zOC4zMzMgMzc3LjM2YzAgOC42NzYtNy4wMzQgMTUuNzEtMTUuNzEgMTUuNzFoLTQzLjEwMWMtOC42NzYgMC0xNS43MS03LjAzNC0xNS43MS0xNS43MVYyMDIuNDc3YzAtOC42NzYgNy4wMzMtMTUuNzEgMTUuNzEtMTUuNzFoNDMuMTAxYzguNjc2IDAgMTUuNzEgNy4wMzMgMTUuNzEgMTUuNzFWMzc3LjM2ek0yMzAgMTU3Yy0yMS41MzkgMC0zOS0xNy40NjEtMzktMzlzMTcuNDYxLTM5IDM5LTM5IDM5IDE3LjQ2MSAzOSAzOS0xNy40NjEgMzktMzkgMzl6Ii8+PC9zdmc+",MM=function(){function r(){}return r.createDefault=function(){return{hasPermission:!1,lastUsedCameraId:null}},r}(),X4=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}(),eS=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=_M.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=_M.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}(),tS=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=DM,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=DM,this.infoIcon.style.opacity="0.6")},r}(),iS=function(){function r(){var i=this;this.infoDiv=new eS,this.infoIcon=new tS(function(){i.infoDiv.show()},function(){i.infoDiv.hide()})}return r.prototype.renderInto=function(i){this.infoDiv.renderInto(i),this.infoIcon.renderInto(i)},r}(),EM=function(){function r(){}return r.hasPermissions=function(){return function(r,i,t,n){return new(t||(t=Promise))(function(l,v){function A(be){try{V(n.next(be))}catch(ze){v(ze)}}function G(be){try{V(n.throw(be))}catch(ze){v(ze)}}function V(be){be.done?l(be.value):function a(l){return l instanceof t?l:new t(function(v){v(l)})}(be.value).then(A,G)}V((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:A(0),throw:A(1),return:A(2)},"function"==typeof Symbol&&(v[Symbol.iterator]=function(){return this}),v;function A(V){return function(be){return function G(V){if(n)throw new TypeError("Generator is already executing.");for(;t;)try{if(n=1,a&&(l=2&V[0]?a.return:V[0]?a.throw||((l=a.return)&&l.call(a),0):a.next)&&!(l=l.call(a,V[1])).done)return l;switch(a=0,l&&(V=[2&V[0],l.value]),V[0]){case 0:case 1:l=V;break;case 4:return t.label++,{value:V[1],done:!1};case 5:t.label++,a=V[1],V=[0];continue;case 7:V=t.ops.pop(),t.trys.pop();continue;default:if(!(l=(l=t.trys).length>0&&l[l.length-1])&&(6===V[0]||2===V[0])){t=0;continue}if(3===V[0]&&(!l||V[1]>l[0]&&V[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===V[0]||2===V[0])){t=0;continue}if(3===V[0]&&(!l||V[1]>l[0]&&V[1]20){var n=i.substring(0,8),a=i.length,l=i.substring(a-8,a);i=n+"...."+l}var v=jr.fileSelectionChooseAnother()+" - "+i;this.fileSelectionButton.innerText=v},r.prototype.setInitialValueToButton=function(){var i=jr.fileSelectionChooseImage()+" - "+jr.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}(),sS=function(){function r(i){this.selectElement=hd.createElement("select",Ws.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=jr.selectCamera();t.innerText=a+" ("+this.cameras.length+") "}for(var l=1,v=0,A=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"}(As||(As={})),As))();function uS(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 Iu(this.config.supportedScanTypes),this.currentScanType=this.scanTypeSelector.getDefaultScanType(),this.sectionSwapAllowed=!0,this.logger=new gM(this.verbose),this.persistedDataManager=new X4,!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(jr.lastMatch(l),As.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 mv(this.getScanRegionId(),function dS(r,i){return{formatsToSupport:r.formatsToSupport,useBarCodeDetectorIfSupported:r.useBarCodeDetectorIfSupported,experimentalFeatures:r.experimentalFeatures,verbose:i}}(this.config,this.verbose))},r.prototype.pause=function(i){(Oc(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=ac.SCAN_DEFAULT_FPS),i.rememberLastUsedCamera!==!ac.DEFAULT_REMEMBER_LAST_CAMERA_USED&&(i.rememberLastUsedCamera=ac.DEFAULT_REMEMBER_LAST_CAMERA_USED),i.supportedScanTypes||(i.supportedScanTypes=ac.DEFAULT_SUPPORTED_SCAN_TYPE),i):{fps:ac.SCAN_DEFAULT_FPS,rememberLastUsedCamera:ac.DEFAULT_REMEMBER_LAST_CAMERA_USED,supportedScanTypes:ac.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),Iu.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 iS).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(jr.cameraPermissionRequesting());var l=function(){n||a.createPermissionButton(i,t)};mv.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(jr.noCameraFound(),As.STATUS_WARNING),l())}).catch(function(v){a.persistedDataManager.setHasPermission(!1),n?n.disabled=!1:l(),a.setHeaderMessage(v,As.STATUS_WARNING),a.showHideScanTypeSwapLink(!0)})},r.prototype.createPermissionButton=function(i,t){var n=this,a=hd.createElement("button",this.getCameraPermissionButtonId());a.innerText=jr.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;Iu.isCameraScanType(this.currentScanType)&&this.persistedDataManager.hasCameraPermissions()?EM.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=Iu.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=Iu.isFileScanType(this.currentScanType),n=this;this.fileSelectionUi=oS.create(i,t,function(l){if(!n.html5Qrcode)throw"html5Qrcode not defined";Iu.isFileScanType(n.currentScanType)&&(n.setHeaderMessage(jr.loadingImage()),n.html5Qrcode.scanFileV2(l,!0).then(function(v){n.resetHeaderMessage(),n.qrCodeSuccessCallback(v.decodedText,v)}).catch(function(v){n.setHeaderMessage(v,As.STATUS_WARNING),n.qrCodeErrorCallback(v,pM.createFrom(v))}))})},r.prototype.renderCameraSelection=function(i){var t=this,n=this,a=document.getElementById(this.getDashboardSectionCameraScanRegionId());a.style.textAlign="center";var l=lS.create(a,!1),A=sS.create(a,i),G=document.createElement("span"),V=hd.createElement("button",Ws.CAMERA_START_BUTTON_ID);V.innerText=jr.scanButtonStartScanningText(),G.appendChild(V);var ze,be=hd.createElement("button",Ws.CAMERA_STOP_BUTTON_ID);be.innerText=jr.scanButtonStopScanningText(),be.style.display="none",be.disabled=!0,G.appendChild(be),a.appendChild(G);var Pt=function(Xt){Xt||(V.style.display="none"),V.innerText=jr.scanButtonStartScanningText(),V.style.opacity="1",V.disabled=!1,Xt&&(V.style.display="inline-block")};if(V.addEventListener("click",function(Xt){V.innerText=jr.scanButtonScanningStarting(),A.disable(),V.disabled=!0,V.style.opacity="0.5",t.scanTypeSelector.hasMoreThanOneScanType()&&n.showHideScanTypeSwapLink(!1),n.resetHeaderMessage();var ei=A.getValue();n.persistedDataManager.setLastUsedCameraId(ei),n.html5Qrcode.start(ei,function cS(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(Ci){be.disabled=!1,be.style.display="inline-block",Pt(!1);var si=n.html5Qrcode.getRunningTrackCameraCapabilities();!0===t.config.showTorchButtonIfSupported&&function(Xt){Xt.torchFeature().isSupported()?(ze?ze.updateTorchCapability(Xt.torchFeature()):ze=aS.create(G,Xt.torchFeature(),{display:"none",marginLeft:"5px"},function(ei){n.setHeaderMessage(ei,As.STATUS_WARNING)}),ze.show()):ze&&ze.hide()}(si),!0===t.config.showZoomSliderIfSupported&&function(Xt){var ei=Xt.zoomFeature();if(ei.isSupported()){l.setOnCameraZoomValueChangeCallback(function(si){ei.apply(si)});var Ci=1;t.config.defaultZoomValueIfSupported&&(Ci=t.config.defaultZoomValueIfSupported),Ci=function S4(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=J4,this.cameraScanImage.alt=jr.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=K4,this.fileScanImage.alt=jr.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 Ws.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 Ws.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 j_{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,Fe.Z)(function*(){i.config={fps:10,formatsToSupport:[Ki.QR_CODE]},i.html5QrCode=new mv("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,Fe.Z)(function*(){try{i.cameras=yield mv.getCameras()}catch{i.error="Unable To Get Cameras"}})()}startCamera(i){var t=this;return(0,Fe.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,Fe.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 hS(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-card",11)(1,"mat-card-content")(2,"h1"),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"p"),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.TgZ(8,"p"),e._uU(9),e.ALo(10,"translate"),e.qZA(),e._UZ(11,"br"),e.TgZ(12,"button",12),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.step=2)}),e._uU(13),e.ALo(14,"translate"),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.step=3)}),e._uU(18),e.ALo(19,"translate"),e.qZA(),e._UZ(20,"br")(21,"br"),e.TgZ(22,"button",12),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.scanQrCode())}),e.TgZ(23,"mat-icon"),e._uU(24,"qr_code_scanner"),e.qZA(),e._uU(25),e.ALo(26,"translate"),e.qZA()()()}2&r&&(e.xp6(3),e.Oqu(e.lcZ(4,6,"Key.PrivateKeyImport")),e.xp6(3),e.Oqu(e.lcZ(7,8,"Key.PrivateKeyImportSubtitle")),e.xp6(3),e.Oqu(e.lcZ(10,10,"Key.PrivateKeyImportDescription")),e.xp6(4),e.Oqu(e.lcZ(14,12,"Key.SecretRecoveryPhrase")),e.xp6(5),e.Oqu(e.lcZ(19,14,"Key.PrivateKey")),e.xp6(7),e.Oqu(e.lcZ(26,16,"Key.ScanQRCode")))}function mS(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-card",11)(1,"mat-card-content")(2,"h1"),e._uU(3),e.ALo(4,"translate"),e.qZA(),e._UZ(5,"br"),e.TgZ(6,"mat-form-field",13)(7,"mat-label"),e._uU(8),e.ALo(9,"translate"),e.qZA(),e.TgZ(10,"textarea",14),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.mnemonic=a)}),e.qZA()(),e._UZ(11,"br"),e.TgZ(12,"button",15),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return a.setPrivateKey(),e.KtG(a.step=3)}),e._uU(13),e.ALo(14,"translate"),e.qZA(),e._UZ(15,"br")(16,"br"),e.qZA()()}if(2&r){const t=e.oxw();e.xp6(3),e.Oqu(e.lcZ(4,5,"Key.SecretRecoveryPhraseImport")),e.xp6(5),e.Oqu(e.lcZ(9,7,"Key.SecretRecoveryPhrase")),e.xp6(2),e.Q6J("ngModel",t.mnemonic),e.xp6(2),e.Q6J("disabled",!t.mnemonic),e.xp6(1),e.Oqu(e.lcZ(14,9,"Key.Continue"))}}function fS(r,i){1&r&&(e.TgZ(0,"h1"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"Key.ProtectPrivateKeyWithPassword")))}function pS(r,i){1&r&&(e.TgZ(0,"h1"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"Key.PrivateKeyImport")))}function gS(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 _S(r,i){if(1&r&&(e.TgZ(0,"p",25),e._uU(1),e.ALo(2,"translate"),e._UZ(3,"br"),e._uU(4),e.qZA()),2&r){const t=e.oxw(2);e.xp6(1),e.hij("",e.lcZ(2,2,"Key.YourPersonalPrivateKey"),":"),e.xp6(3),e.Oqu(t.privateKey)}}function bS(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),e.ALo(6,"translate"),e.qZA(),e.TgZ(7,"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(5),e.Oqu(e.lcZ(6,2,"Key.PrivateKey")),e.xp6(2),e.Q6J("ngModel",t.privateKey)}}function yS(r,i){if(1&r&&(e.TgZ(0,"p",27)(1,"strong"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._uU(4),e.qZA()),2&r){const t=e.oxw(2);e.xp6(2),e.Oqu(e.lcZ(3,2,"Key.PublicKeyHex")),e.xp6(2),e.hij(": ",t.publicKeyHex,"")}}function vS(r,i){if(1&r&&(e.TgZ(0,"p",28),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r){const t=e.oxw(2);e.xp6(1),e.AsE("",e.lcZ(2,2,"Key.Error"),": ",t.error,"")}}function wS(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-card",11)(1,"mat-card-content"),e.YNc(2,fS,3,3,"h1",16),e.YNc(3,pS,3,3,"h1",16),e.YNc(4,gS,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,_S,5,4,"p",17),e.YNc(9,bS,8,4,"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),e.ALo(16,"translate"),e.qZA(),e.TgZ(17,"input",20),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.publicKey=a)}),e.qZA()(),e.TgZ(18,"mat-form-field",18)(19,"mat-icon",19),e._uU(20,"password"),e.qZA(),e.TgZ(21,"mat-label"),e._uU(22),e.ALo(23,"translate"),e.qZA(),e.TgZ(24,"input",21),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.password=a)}),e.qZA()(),e._UZ(25,"br"),e.TgZ(26,"button",15),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.persistKey())}),e._uU(27),e.ALo(28,"translate"),e.qZA(),e._UZ(29,"br")(30,"br"),e.qZA(),e.YNc(31,yS,5,4,"p",22),e.YNc(32,vS,3,4,"p",23),e.TgZ(33,"p",24),e._uU(34,"Remember that Blockcore cannot change or reset your password. Make sure you have a separate backup of your "),e.TgZ(35,"strong"),e._uU(36,"private key"),e.qZA(),e._uU(37," in case you loose your password."),e.qZA(),e.TgZ(38,"p",24),e._uU(39,"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(6),e.Oqu(e.lcZ(16,14,"Key.PublicKey")),e.xp6(2),e.Q6J("readonly",!0)("ngModel",t.publicKey),e.xp6(5),e.Oqu(e.lcZ(23,16,"Create.PasswordOptional")),e.xp6(2),e.Q6J("ngModel",t.password),e.xp6(2),e.Q6J("disabled",!t.publicKey),e.xp6(1),e.Oqu(e.lcZ(28,18,"Key.Connect")),e.xp6(4),e.Q6J("ngIf",!t.error),e.xp6(1),e.Q6J("ngIf",t.error)}}j_.\u0275fac=function(i){return new(i||j_)(e.Y36(Xr.I),e.Y36(xe),e.Y36(ye))},j_.\u0275cmp=e.Xpm({type:j_,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,uS,2,1,"div",3),e.qZA()),2&i&&(e.xp6(8),e.Q6J("ngIf",t.error))},dependencies:[F.O5,kt.RK,Un,oo],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 Z_{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=Os.privateKeyFromSeedWords(this.mnemonic),this.privateKey=pn.nsecEncode(this.privateKeyHex),this.updatePublicKey()}ngOnDestroy(){this.reset()}reset(){this.privateKey="",this.privateKeyHex="",this.mnemonic="",this.password=""}persistKey(){var i=this;return(0,Fe.Z)(function*(){setTimeout((0,Fe.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")?pn.decode(this.privateKey).data:this.privateKey;try{this.publicKeyHex=zt(this.privateKeyHex),this.publicKey=pn.npubEncode(this.publicKeyHex)}catch(i){this.error=i.message}}else this.publicKey=""}scanQrCode(){this.dialog.open(j_,{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=pn.decode(t);this.privateKeyHex=n.data,this.privateKey=t}else this.privateKeyHex=t,this.privateKey=pn.nsecEncode(t);this.updatePublicKey()}catch(n){this.error="Failed to scan."+n.toString()}})}}Z_.\u0275fac=function(i){return new(i||Z_)(e.Y36(vi),e.Y36(de),e.Y36(Bt.F0),e.Y36(vs))},Z_.\u0275cmp=e.Xpm({type:Z_,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,hS,27,18,"mat-card",10),e.YNc(14,mS,17,11,"mat-card",10),e.YNc(15,wS,40,20,"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,Bt.rH,no,Ca,Ya,hl,kt.lW,kt.RK,Da,Zs,Un,dl,rr,Ir,Hl,aa,Ys,Ma.X$],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}.spaces[_ngcontent-%COMP%]{border-radius:10px;margin:1em 2em 1em 11em;padding:1.5em}.spaces-card[_ngcontent-%COMP%]{max-width:274px;border-radius:15px}.spaces-add[_ngcontent-%COMP%]{max-width:274px;border-radius:15px;box-sizing:border-box}.spaces-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;gap:1em}.spaces-header-image[_ngcontent-%COMP%]{background-image:url(https://material.angular.io/assets/img/examples/shiba1.jpg);background-size:cover}.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%], .spaces[_ngcontent-%COMP%]{max-width:944px;margin-right:auto!important;margin-left:auto!important}}@media only screen and (min-width: 1024px){.card[_ngcontent-%COMP%], .spaces[_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}.spaces[_ngcontent-%COMP%]{font-size:.8em;margin-left:2em;margin-right:2em;padding:1em}}@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%], .spaces[_ngcontent-%COMP%]{margin-left:.2em;margin-right:.2em;padding:0}.spaces-card[_ngcontent-%COMP%]{width:100%;max-width:100%}}@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 V_{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}}V_.\u0275fac=function(i){return new(i||V_)(e.Y36(e.SBq))},V_.\u0275dir=e.lG2({type:V_,selectors:[["","appContentEditor",""]],hostBindings:function(i,t){1&i&&e.NdJ("input",function(){return t.onInput()})}});class Bh{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}}Bh.\u0275fac=function(i){return new(i||Bh)(e.Y36(e.SBq))},Bh.\u0275dir=e.lG2({type:Bh,selectors:[["","appAutoInputHeight",""]],hostBindings:function(i,t){1&i&&e.NdJ("input",function(){return t.onInput()})}});const xS=["picker"],FS=["noteContent"],CS=["articleContent"];function kS(r,i){if(1&r&&(e.TgZ(0,"mat-option",12),e._uU(1),e.qZA()),2&r){const t=i.$implicit;e.Q6J("value",t.slug),e.xp6(1),e.Oqu(t.title)}}function DS(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-form-field",9)(1,"mat-label"),e._uU(2,"Existing articles"),e.qZA(),e.TgZ(3,"mat-select",10),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,kS,2,2,"mat-option",11),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 MS(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"emoji-mart",30),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 ES(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"form",13),e.NdJ("ngSubmit",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.onSubmitArticle())}),e.TgZ(1,"div",14)(2,"mat-form-field",15)(3,"mat-label"),e._uU(4,"Title"),e.qZA(),e._UZ(5,"input",16,17),e.qZA(),e.TgZ(7,"mat-form-field",15)(8,"mat-label"),e._uU(9,"URL (slug)"),e.qZA(),e.TgZ(10,"input",18,17),e.NdJ("blur",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.formatSlug())}),e.qZA()(),e.TgZ(12,"mat-form-field",15)(13,"mat-label"),e._uU(14,"Long form text that supports markdown formatting"),e.qZA(),e.TgZ(15,"textarea",19,20),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",15)(18,"mat-label"),e._uU(19,"Summary (optional)"),e.qZA(),e.TgZ(20,"textarea",21),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",15)(22,"mat-label"),e._uU(23,"Banner image (optional)"),e.qZA(),e._UZ(24,"input",22,17),e.qZA(),e.TgZ(26,"mat-form-field",15)(27,"mat-label"),e._uU(28,"Tags (optional, comma separated)"),e.qZA(),e._UZ(29,"input",23,17),e.qZA(),e._UZ(31,"input",24),e.YNc(32,MS,1,2,"emoji-mart",25),e.TgZ(33,"mat-icon",26),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",27)(36,"button",28),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",29),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 AS(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"emoji-mart",30),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 TS(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"form",13),e.NdJ("ngSubmit",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.onSubmitNote())}),e.TgZ(1,"div",14)(2,"mat-form-field",15)(3,"mat-label"),e._uU(4,"What's on your mind?"),e.qZA(),e._UZ(5,"textarea",31,32),e.qZA(),e.YNc(7,AS,1,2,"emoji-mart",25),e.TgZ(8,"mat-icon",26),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",27)(11,"button",28),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",29),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)}}function SS(r,i){if(1&r&&(e.TgZ(0,"div")(1,"h2"),e._uU(2,"Preview"),e.qZA(),e._UZ(3,"app-event",33),e.qZA()),2&r){const t=e.oxw();e.xp6(3),e.Q6J("event",t.event)}}class z_{constructor(i,t,n,a,l,v,A,G,V,be){this.snackBar=i,this.articleService=t,this.queueService=n,this.utilities=a,this.appState=l,this.location=v,this.fb=A,this.navigation=G,this.profileService=V,this.eventService=be,this.noteForm=this.fb.group({content:["",io.required],expiration:[""],dateControl:[]}),this.articleForm=this.fb.group({content:["",io.required],title:["",io.required],summary:[""],image:[""],slug:[""],tags:[""],published_at:[""]}),this.note="",this.blog={title:"",content:"",tags:""},this.title="",this.summary="",this.eventType="text",this.dateControl=new Gc(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))})),this.subscriptions.push(this.noteForm.controls.content.valueChanges.subscribe(i=>{this.updateEvent(i)}))}updateEvent(i){i?(this.event={contentCut:!1,tagsCut:!1,kind:Ui.Text,content:i||"",tags:[],created_at:(0,gn.zO)(),id:"",sig:"",pubkey:this.appState.getPublicKey()},this.event.tags=this.eventService.parseContentReturnTags(this.event.content)):this.event=void 0}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,Fe.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 IS(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 OS(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 LS(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()()}}z_.\u0275fac=function(i){return new(i||z_)(e.Y36(ro.ux),e.Y36(to),e.Y36(Hr),e.Y36(gn.dU),e.Y36(Le.i),e.Y36(F.Ye),e.Y36(Rp),e.Y36(qa),e.Y36(Ln),e.Y36(Ur))},z_.\u0275cmp=e.Xpm({type:z_,selectors:[["app-editor"]],viewQuery:function(i,t){if(1&i&&(e.Gf(xS,5),e.Gf(FS,5),e.Gf(CS,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:12,vars:5,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"],[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",""],[3,"event"]],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,DS,6,2,"mat-form-field",6),e.YNc(9,ES,41,5,"form",7),e.YNc(10,TS,16,3,"form",7),e.YNc(11,SS,4,1,"div",8),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),e.xp6(1),e.Q6J("ngIf",t.event)}},dependencies:[F.sg,F.O5,no,Ca,Ya,kt.lW,xf,ae.ey,Un,oo,nC,dl,rr,Ir,Hl,aa,ss,Rd,bt,Bi,lv,cv,Rh,V_,Bh],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 NS=function(r,i,t,n){return{"is-root":r,"has-root":i,"no-lines":t,lines:n}},RS=function(r,i){return{"no-lines":r,lines:i}};function PS(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,IS,5,0,"mat-card",5),e.YNc(12,OS,2,1,"div",6),e.ALo(13,"async"),e.TgZ(14,"div",7),e.YNc(15,LS,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,NS,!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,RS,!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 Hf{constructor(i,t,n,a,l,v,A,G,V,be,ze){this.appState=i,this.activatedRoute=t,this.cd=n,this.optionsService=a,this.navigation=l,this.profiles=v,this.thread=A,this.validator=G,this.utilities=V,this.router=be,this.ui=ze,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,Fe.Z)(function*(n){const a=n.get("id");if(a){if(a.startsWith("naddr")){const l=pn.decode(a);if("naddr"==l.type){const v=l.data;if(v.kind==Ui.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()}}Hf.\u0275fac=function(i){return new(i||Hf)(e.Y36(Le.i),e.Y36(Bt.gz),e.Y36(e.sBO),e.Y36(Xr.I),e.Y36(qa),e.Y36(Ln),e.Y36(Sc),e.Y36(rs.Y),e.Y36(gn.dU),e.Y36(Bt.F0),e.Y36(Gr))},Hf.\u0275cmp=e.Xpm({type:Hf,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,PS,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,kt.lW,Da,Un,Of,jn.pp,jn.ib,jn.yz,jn.yK,jn.u4,Cu,Ir,aa,cs,Ao,Ds,ds,Nh,Au,Tu,Ic,Rh,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 G_{constructor(i,t,n,a,l,v,A,G,V,be,ze){this.uploadService=i,this.nostr=t,this.optionsService=n,this.relayService=a,this.dialog=l,this.appState=v,this.profileService=A,this.theme=G,this.db=V,this.snackBar=be,this.dataService=ze,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,Fe.Z)(function*(){t.optionsService.values.primaryRelay=i.url,t.optionsService.save()})()}deleteRelays(){var i=this;return(0,Fe.Z)(function*(){yield i.relayService.deleteRelays([])})()}clearProfileCache(){var i=this;return(0,Fe.Z)(function*(){i.wipedNonFollow=!0})()}clearNotesCache(){var i=this;return(0,Fe.Z)(function*(){i.wipedNotes=!0})()}getDefaultRelays(){var i=this;return(0,Fe.Z)(function*(){yield i.relayService.appendRelays(i.nostr.defaultRelays)})()}getRelays(){var i=this;return(0,Fe.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(sd,{data:{read:!0,write:!0},maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var n=(0,Fe.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)}}())}}G_.\u0275fac=function(i){return new(i||G_)(e.Y36(gf.C),e.Y36(Ho),e.Y36(Xr.I),e.Y36(ao),e.Y36(vi),e.Y36(Le.i),e.Y36(Ln),e.Y36(de),e.Y36(_r),e.Y36(ro.ux),e.Y36(ma))},G_.\u0275cmp=e.Xpm({type:G_,selectors:[["app-relays-management"]],viewQuery:function(i,t){if(1&i&&e.Gf(jn.pp,5),2&i){let n;e.iGM(n=e.CRH())&&(t.accordion=n.first)}},decls:29,vars:19,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),e.ALo(7,"translate"),e.qZA(),e._UZ(8,"mat-panel-description"),e.qZA(),e.TgZ(9,"div",2)(10,"button",3),e.NdJ("click",function(){return t.getRelays()}),e._uU(11),e.ALo(12,"translate"),e.qZA(),e.TgZ(13,"button",3),e.NdJ("click",function(){return t.getDefaultRelays()}),e._uU(14),e.ALo(15,"translate"),e.qZA(),e._UZ(16,"br"),e.TgZ(17,"button",4),e.NdJ("click",function(){return t.dataService.publishContactsAndRelays()}),e._uU(18),e.ALo(19,"translate"),e.qZA(),e.TgZ(20,"button",4),e.NdJ("click",function(){return t.dataService.publishRelays()}),e._uU(21),e.ALo(22,"translate"),e.qZA(),e._UZ(23,"br")(24,"br"),e.TgZ(25,"button",5),e.NdJ("click",function(){return t.deleteRelays()}),e._uU(26),e.ALo(27,"translate"),e.qZA()()()()(),e._UZ(28,"app-relays",6),e.qZA()),2&i&&(e.xp6(6),e.hij("",e.lcZ(7,7,"Relays.Options")," "),e.xp6(5),e.hij("",e.lcZ(12,9,"Relays.AppendFromExtension")," "),e.xp6(3),e.hij("",e.lcZ(15,11,"Relays.AppendFromApp")," "),e.xp6(4),e.hij("",e.lcZ(19,13,"Relays.PublishRelay(and following)list")," "),e.xp6(3),e.Oqu(e.lcZ(22,15,"Relays.PublishRelay(NIP-65)list")),e.xp6(5),e.hij("",e.lcZ(27,17,"Relays.DeleteAllRelays")," "),e.xp6(2),e.Q6J("relays",t.relayService.items))},dependencies:[kt.lW,jn.pp,jn.ib,jn.yz,jn.yK,jn.u4,Bf,Ma.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}"]});const BS=function(r,i){return["/b",r,i]};function YS(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,BS,t.badge.pubkey,t.badge.slug)),e.xp6(1),e.Oqu(t.badge.name)}}function HS(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 US(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 jS(r,i){if(1&r&&(e.TgZ(0,"mat-card",1)(1,"mat-card-header",2),e.YNc(2,YS,3,5,"mat-card-title",3),e.YNc(3,HS,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,US,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 md=new WeakMap,fv=new WeakMap;class Yh{set badge(i){Zt(this,md,i),this.update()}get badge(){return _e(this,md)}set id(i){var t=this;Zt(this,fv,i),i?this.badgeService.getBadge(i).then(function(){var n=(0,Fe.Z)(function*(a){null!=a&&(Zt(t,md,a),t.update())});return function(a){return n.apply(this,arguments)}}()):Zt(this,md,void 0)}get id(){return _e(this,fv)}constructor(i,t){Et(this,md,{writable:!0,value:void 0}),Et(this,fv,{writable:!0,value:void 0}),this.utilities=i,this.badgeService=t,Zt(this,fv,""),this.preview=!1}update(){!_e(this,md)?.slug&&_e(this,md).tags&&Zt(this,md,this.badgeService.denormalizeBadge(_e(this,md)))}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 VS(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.hij("\xa0",e.lcZ(2,1,"Badges.Accepted"),""))}function zS(r,i){if(1&r&&(e.TgZ(0,"mat-icon",8),e._uU(1,"verified"),e.qZA(),e.YNc(2,VS,3,3,"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 GS(r,i){1&r&&e._UZ(0,"app-badge-card",13),2&r&&e.Q6J("id",i.$implicit)}function qS(r,i){if(1&r&&(e.TgZ(0,"div",11),e.YNc(1,GS,1,1,"app-badge-card",12),e.qZA()),2&r){const t=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",t.profileBadges)}}function WS(r,i){if(1&r&&e.YNc(0,qS,2,1,"div",10),2&r){const t=e.oxw();e.Q6J("ngIf",t.profileBadgesSub.events)}}function QS(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.hij("\xa0",e.lcZ(2,1,"Badges.Awarded"),""))}function JS(r,i){if(1&r&&(e.TgZ(0,"mat-icon",8),e._uU(1,"emoji_events"),e.qZA(),e.YNc(2,QS,3,3,"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 KS(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 $S(r,i){if(1&r&&(e.TgZ(0,"div",11),e.YNc(1,KS,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 XS(r,i){if(1&r&&e.YNc(0,$S,2,1,"div",10),2&r){const t=e.oxw();e.Q6J("ngIf",t.receivedBadgesSub.events)}}function eI(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.hij("\xa0",e.lcZ(2,1,"Badges.Created"),""))}function tI(r,i){if(1&r&&(e.TgZ(0,"mat-icon",8),e._uU(1,"badge"),e.qZA(),e.YNc(2,eI,3,3,"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 iI(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 nI(r,i){if(1&r&&(e.TgZ(0,"div",11),e.YNc(1,iI,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 rI(r,i){if(1&r&&e.YNc(0,nI,2,1,"div",10),2&r){const t=e.oxw();e.Q6J("ngIf",t.badgeDefinitionsSub.events)}}Yh.\u0275fac=function(i){return new(i||Yh)(e.Y36(gn.dU),e.Y36(as))},Yh.\u0275cmp=e.Xpm({type:Yh,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,jS,14,6,"mat-card",0)),2&i&&e.Q6J("ngIf",t.badge)},dependencies:[F.sg,F.O5,Bt.rH,Da,Zs,yh,Um,bh,_h,xl,mu],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 q_{constructor(i,t,n,a,l,v,A,G,V){this.relayService=i,this.activatedRoute=t,this.utilities=n,this.router=a,this.eventService=l,this.appState=v,this.badgeService=A,this.queueService=G,this.cd=V,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,Fe.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,Fe.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 aI(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)}}q_.\u0275fac=function(i){return new(i||q_)(e.Y36(ao),e.Y36(Bt.gz),e.Y36(gn.dU),e.Y36(Bt.F0),e.Y36(Ur),e.Y36(Le.i),e.Y36(as),e.Y36(Hr),e.Y36(e.sBO))},q_.\u0275cmp=e.Xpm({type:q_,selectors:[["app-badges"]],decls:24,vars:8,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),e.ALo(7,"translate"),e.qZA(),e._UZ(8,"mat-panel-description"),e.qZA(),e.TgZ(9,"div",2)(10,"button",3),e._uU(11),e.ALo(12,"translate"),e.qZA()()()()(),e._UZ(13,"app-event-header",4),e.TgZ(14,"mat-tab-group",5),e.NdJ("selectedTabChange",function(a){return t.onTabChanged(a)}),e.TgZ(15,"mat-tab"),e.YNc(16,zS,4,3,"ng-template",6),e.YNc(17,WS,1,1,"ng-template",7),e.qZA(),e.TgZ(18,"mat-tab"),e.YNc(19,JS,4,3,"ng-template",6),e.YNc(20,XS,1,1,"ng-template",7),e.qZA(),e.TgZ(21,"mat-tab"),e.YNc(22,tI,4,3,"ng-template",6),e.YNc(23,rI,1,1,"ng-template",7),e.qZA()()()),2&i&&(e.xp6(6),e.Oqu(e.lcZ(7,4,"Badges.Options")),e.xp6(5),e.Oqu(e.lcZ(12,6,"Badges.BadgeEditor")),e.xp6(2),e.Q6J("pubkey",t.pubkey),e.xp6(1),e.Q6J("selectedIndex",t.tabIndex))},dependencies:[F.sg,F.O5,Bt.rH,kt.lW,Un,Xg,e_,ld,ku,jn.pp,jn.ib,jn.yz,jn.yK,jn.u4,id,Ao,Ic,Yh,F.Ov,Ma.X$],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 W_{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,Fe.Z)(function*(){(yield i.authService.login()).authenticated()&&i.router.navigateByUrl("/")})()}anonymous(i){var t=this;return(0,Fe.Z)(function*(){(yield t.authService.anonymous(i)).authenticated()&&t.router.navigateByUrl("/")})()}persistKey(){var i=this;return(0,Fe.Z)(function*(){setTimeout((0,Fe.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")?pn.decode(this.privateKey).data:this.privateKey;try{this.publicKeyHex=zt(this.privateKeyHex),this.publicKey=pn.npubEncode(this.publicKeyHex)}catch(i){this.error=i.message}}else this.publicKey=""}}function oI(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-card",11)(1,"mat-card-content")(2,"h1"),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"p"),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.TgZ(8,"p")(9,"mat-form-field",12)(10,"mat-icon",13),e._uU(11,"badge"),e.qZA(),e.TgZ(12,"mat-label"),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.TgZ(15,"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(16,"p")(17,"mat-form-field",12)(18,"mat-icon",13),e._uU(19,"alternate_email"),e.qZA(),e.TgZ(20,"mat-label"),e._uU(21),e.ALo(22,"translate"),e.qZA(),e.TgZ(23,"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(24,"p")(25,"mat-form-field",12)(26,"mat-icon",13),e._uU(27,"help_outline"),e.qZA(),e.TgZ(28,"mat-label"),e._uU(29),e.ALo(30,"translate"),e.qZA(),e.TgZ(31,"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(32,"p")(33,"mat-form-field",12)(34,"mat-icon",13),e._uU(35,"image"),e.qZA(),e.TgZ(36,"mat-label"),e._uU(37),e.ALo(38,"translate"),e.qZA(),e.TgZ(39,"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(40,"p")(41,"mat-form-field",12)(42,"mat-icon",13),e._uU(43,"how_to_reg"),e.qZA(),e.TgZ(44,"mat-label"),e._uU(45),e.ALo(46,"translate"),e.qZA(),e.TgZ(47,"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(48,"div",16)(49,"button",17),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.step=2)}),e._uU(50),e.ALo(51,"translate"),e.qZA()()()()}if(2&r){const t=e.oxw();e.xp6(3),e.Oqu(e.lcZ(4,13,"Create.WhoAreYou")),e.xp6(3),e.Oqu(e.lcZ(7,15,"Create.WhoAreYouSubtitle")),e.xp6(7),e.Oqu(e.lcZ(14,17,"Create.DisplayName")),e.xp6(2),e.Q6J("ngModel",t.profile.display_name),e.xp6(6),e.Oqu(e.lcZ(22,19,"Create.Nickname")),e.xp6(2),e.Q6J("ngModel",t.profile.name),e.xp6(6),e.Oqu(e.lcZ(30,21,"Create.About")),e.xp6(2),e.Q6J("ngModel",t.profile.about),e.xp6(6),e.Oqu(e.lcZ(38,23,"Create.ProfileImage")),e.xp6(2),e.Q6J("ngModel",t.profile.picture),e.xp6(6),e.Oqu(e.lcZ(46,25,"Create.EmailDomainIdentifierNIP05")),e.xp6(2),e.Q6J("ngModel",t.profile.nip05),e.xp6(3),e.Oqu(e.lcZ(51,27,"Create.Continue"))}}function sI(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-card",11)(1,"mat-card-content")(2,"h1"),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"p",18),e._uU(6),e.qZA(),e._UZ(7,"br"),e.TgZ(8,"button",19)(9,"mat-icon"),e._uU(10,"content_copy"),e.qZA(),e._uU(11),e.ALo(12,"translate"),e.qZA(),e._UZ(13,"br")(14,"br"),e.TgZ(15,"p",20),e._uU(16),e.ALo(17,"translate"),e.qZA(),e.TgZ(18,"p"),e._uU(19),e.ALo(20,"translate"),e.qZA(),e.TgZ(21,"div",16)(22,"button",17),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.step=1)}),e._uU(23),e.ALo(24,"translate"),e.qZA(),e.TgZ(25,"button",17),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.step=3)}),e._uU(26),e.ALo(27,"translate"),e.qZA()()()()}if(2&r){const t=e.oxw();e.xp6(3),e.Oqu(e.lcZ(4,8,"Create.YourSecretRecoveryPhrase")),e.xp6(3),e.Oqu(t.mnemonic),e.xp6(2),e.Q6J("cdkCopyToClipboard",t.mnemonic),e.xp6(3),e.hij(" ",e.lcZ(12,10,"Create.Copy")," "),e.xp6(5),e.Oqu(e.lcZ(17,12,"Create.SecretRecoveryPhraseDescription")),e.xp6(3),e.Oqu(e.lcZ(20,14,"Create.SecretRecoveryPhraseWarning")),e.xp6(4),e.Oqu(e.lcZ(24,16,"Create.Back")),e.xp6(3),e.Oqu(e.lcZ(27,18,"Create.Continue"))}}function lI(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-card",11)(1,"mat-card-content")(2,"h1"),e._uU(3),e.ALo(4,"translate"),e.qZA(),e._uU(5),e.ALo(6,"translate"),e._UZ(7,"br"),e.TgZ(8,"p",21),e._uU(9),e.qZA(),e.TgZ(10,"form")(11,"mat-form-field",22)(12,"mat-icon",23),e._uU(13,"person_add"),e.qZA(),e.TgZ(14,"mat-label"),e._uU(15),e.ALo(16,"translate"),e.qZA(),e.TgZ(17,"input",24),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.publicKey=a)}),e.qZA()(),e.TgZ(18,"mat-form-field",22)(19,"mat-icon",23),e._uU(20,"password"),e.qZA(),e.TgZ(21,"mat-label"),e._uU(22),e.ALo(23,"translate"),e.qZA(),e.TgZ(24,"input",25),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.password=a)}),e.qZA()(),e._UZ(25,"br"),e.qZA(),e.TgZ(26,"p",20),e._uU(27,"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(28,"div",16)(29,"button",17),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.step=2)}),e._uU(30),e.ALo(31,"translate"),e.qZA(),e.TgZ(32,"button",17),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.persistKey())}),e._uU(33),e.ALo(34,"translate"),e.qZA()()()()}if(2&r){const t=e.oxw();e.xp6(3),e.Oqu(e.lcZ(4,10,"Create.PrivateAndPublicKeys")),e.xp6(2),e.hij(" ",e.lcZ(6,12,"Create.YourPersonalPrivateKey"),":"),e.xp6(4),e.Oqu(t.privateKey),e.xp6(6),e.Oqu(e.lcZ(16,14,"Create.PublicKey")),e.xp6(2),e.Q6J("readonly",!0)("ngModel",t.publicKey),e.xp6(5),e.Oqu(e.lcZ(23,16,"Create.PasswordOptional")),e.xp6(2),e.Q6J("ngModel",t.password),e.xp6(6),e.Oqu(e.lcZ(31,18,"Create.Back")),e.xp6(3),e.Oqu(e.lcZ(34,20,"Create.SaveAndLogIn"))}}W_.\u0275fac=function(i){return new(i||W_)(e.Y36(Kc.$),e.Y36(de),e.Y36(Bt.F0),e.Y36(vs))},W_.\u0275cmp=e.Xpm({type:W_,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,aI,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,Bt.rH,no,Ca,Ya,hl,kt.lW,kt.RK,Da,Zs,Un,rr,Ir,aa],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}.spaces[_ngcontent-%COMP%]{border-radius:10px;margin:1em 2em 1em 11em;padding:1.5em}.spaces-card[_ngcontent-%COMP%]{max-width:274px;border-radius:15px}.spaces-add[_ngcontent-%COMP%]{max-width:274px;border-radius:15px;box-sizing:border-box}.spaces-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;gap:1em}.spaces-header-image[_ngcontent-%COMP%]{background-image:url(https://material.angular.io/assets/img/examples/shiba1.jpg);background-size:cover}.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%], .spaces[_ngcontent-%COMP%]{max-width:944px;margin-right:auto!important;margin-left:auto!important}}@media only screen and (min-width: 1024px){.card[_ngcontent-%COMP%], .spaces[_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}.spaces[_ngcontent-%COMP%]{font-size:.8em;margin-left:2em;margin-right:2em;padding:1em}}@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%], .spaces[_ngcontent-%COMP%]{margin-left:.2em;margin-right:.2em;padding:0}.spaces-card[_ngcontent-%COMP%]{width:100%;max-width:100%}}@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 Q_{constructor(i,t,n,a,l,v,A){this.utilities=i,this.dataService=t,this.profileService=n,this.authService=a,this.theme=l,this.router=v,this.security=A,this.privateKey="",this.privateKeyHex="",this.publicKey="",this.publicKeyHex="",this.password="",this.error="",this.profile={},this.step=1,this.mnemonic=""}ngOnInit(){this.mnemonic=Os.generateSeedWords(),this.privateKeyHex=Os.privateKeyFromSeedWords(this.mnemonic),this.privateKey=pn.nsecEncode(this.privateKeyHex),this.updatePublicKey()}connect(){var i=this;return(0,Fe.Z)(function*(){(yield i.authService.login()).authenticated()&&i.router.navigateByUrl("/")})()}anonymous(i){var t=this;return(0,Fe.Z)(function*(){(yield t.authService.anonymous(i)).authenticated()&&t.router.navigateByUrl("/")})()}persistKey(){var i=this;return(0,Fe.Z)(function*(){setTimeout((0,Fe.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(Ui.Metadata,JSON.stringify(a),i.publicKeyHex),v=l;v.id=yield Tr(l),xa(v)||(i.error="Unable to validate the event. Cannot continue.");const A=el(v,i.privateKeyHex);v.sig=A,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")?pn.decode(this.privateKey).data:this.privateKey;try{this.publicKeyHex=zt(this.privateKeyHex),this.publicKey=pn.npubEncode(this.publicKeyHex)}catch(i){this.error=i.message}}else this.publicKey=""}}function cI(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,A=e.oxw();return e.KtG(A.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)}}Q_.\u0275fac=function(i){return new(i||Q_)(e.Y36(gn.dU),e.Y36(ma),e.Y36(Ln),e.Y36(Kc.$),e.Y36(de),e.Y36(Bt.F0),e.Y36(vs))},Q_.\u0275cmp=e.Xpm({type:Q_,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,oI,52,29,"mat-card",10),e.YNc(14,sI,28,20,"mat-card",10),e.YNc(15,lI,35,22,"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,Bt.rH,no,Ca,Ya,hl,kt.lW,kt.RK,kt.cs,Da,Zs,Un,dl,rr,Ir,Hl,aa,Ys,Ef,Ma.X$],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}.spaces[_ngcontent-%COMP%]{border-radius:10px;margin:1em 2em 1em 11em;padding:1.5em}.spaces-card[_ngcontent-%COMP%]{max-width:274px;border-radius:15px}.spaces-add[_ngcontent-%COMP%]{max-width:274px;border-radius:15px;box-sizing:border-box}.spaces-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;gap:1em}.spaces-header-image[_ngcontent-%COMP%]{background-image:url(https://material.angular.io/assets/img/examples/shiba1.jpg);background-size:cover}.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%], .spaces[_ngcontent-%COMP%]{max-width:944px;margin-right:auto!important;margin-left:auto!important}}@media only screen and (min-width: 1024px){.card[_ngcontent-%COMP%], .spaces[_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}.spaces[_ngcontent-%COMP%]{font-size:.8em;margin-left:2em;margin-right:2em;padding:1em}}@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%], .spaces[_ngcontent-%COMP%]{margin-left:.2em;margin-right:.2em;padding:0}.spaces-card[_ngcontent-%COMP%]{width:100%;max-width:100%}}@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 J_{constructor(){this.addOnBlur=!0,this.separatorKeysCodes=[S.K5,S.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 dI(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 uI(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,dI,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 hI(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)}}J_.\u0275fac=function(i){return new(i||J_)},J_.\u0275cmp=e.Xpm({type:J_,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,cI,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,Ca,Ya,Un,sb,lb,eb,rf],styles:[".tags-chip-list[_ngcontent-%COMP%]{width:100%}"]});class K_{constructor(i,t,n,a,l,v,A,G,V,be){this.snackBar=i,this.badgeService=t,this.queueService=n,this.utilities=a,this.appState=l,this.eventService=v,this.location=A,this.fb=G,this.navigation=V,this.profileService=be,this.form=this.fb.group({name:["",io.required],description:["",io.required],image:["",io.required],thumb:[""],slug:["",io.required]}),this.note="",this.badge={name:"",description:"",image:"",thumb:"",slug:"",hashtags:["Collectible","Membership","Recognition"]},this.title="",this.summary="",this.eventType="badge",this.dateControl=new Gc(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,Fe.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 mI(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),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"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(5),e.ALo(6,"translate"),e.qZA()()}2&r&&(e.xp6(2),e.Oqu(e.lcZ(3,2,"Badge.IssueBadge")),e.xp6(3),e.Oqu(e.lcZ(6,4,"Badge.Edit")))}function fI(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div")(1,"mat-form-field",9)(2,"mat-label"),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"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(6,"br"),e.TgZ(7,"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(8),e.ALo(9,"translate"),e.qZA()()}if(2&r){const t=e.oxw(3);e.xp6(3),e.Oqu(e.lcZ(4,4,"Badge.PubKeyDescription")),e.xp6(2),e.Q6J("ngModel",t.pubkeys),e.xp6(2),e.Q6J("disabled",0==t.pubkeys.length),e.xp6(1),e.Oqu(e.lcZ(9,6,"Badge.PublishBadgeReward"))}}function pI(r,i){if(1&r&&(e.TgZ(0,"app-badge-card",4),e._uU(1),e.ALo(2,"translate"),e._UZ(3,"app-profile-name",5)(4,"br"),e._uU(5," Last updated: "),e._UZ(6,"app-date",6),e.YNc(7,mI,7,6,"p",7),e.YNc(8,fI,10,8,"div",7),e.qZA()),2&r){const t=i.$implicit,n=e.oxw(2);e.Q6J("badge",t),e.xp6(1),e.hij(" ",e.lcZ(2,6,"Badge.CreatedBy"),":\xa0"),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 gI(r,i){if(1&r&&(e.TgZ(0,"div",2),e.YNc(1,pI,9,8,"app-badge-card",3),e.qZA()),2&r){const t=e.oxw();e.xp6(1),e.Q6J("ngForOf",t.sub.events)}}K_.\u0275fac=function(i){return new(i||K_)(e.Y36(ro.ux),e.Y36(as),e.Y36(Hr),e.Y36(gn.dU),e.Y36(Le.i),e.Y36(Ur),e.Y36(F.Ye),e.Y36(Rp),e.Y36(qa),e.Y36(Ln))},K_.\u0275cmp=e.Xpm({type:K_,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,uI,6,2,"mat-form-field",6),e.YNc(8,hI,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,no,Ca,Ya,kt.lW,xf,ae.ey,dl,rr,Ir,Hl,aa,ss,Rd,bt,Bi,lv,cv,Bh,Yh,J_],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 Uf{constructor(i,t,n,a,l,v,A,G){this.snackBar=i,this.relayService=t,this.badgeService=n,this.appState=a,this.activatedRoute=l,this.router=v,this.navigation=A,this.utilities=G,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,Fe.Z)(function*(){const n=t.pubkeys.split(/\r?\n/),a=[];for(let l=0;l`Item #${a+1}`)}ngOnInit(){this.appState.updateTitle("Example")}calculateContainerHeight(){const i=this.items.length;return setTimeout(()=>{this.cdkVirtualScrollViewport.checkViewportSize()},300),i<=10?20*i+"px":"200px"}}$_.\u0275fac=function(i){return new(i||$_)(e.Y36(Jl),e.Y36(Le.i))},$_.\u0275cmp=e.Xpm({type:$_,selectors:[["app-example"]],viewQuery:function(i,t){if(1&i&&e.Gf(_I,5),2&i){let n;e.iGM(n=e.CRH())&&(t.cdkVirtualScrollViewport=n.first)}},decls:7,vars:3,consts:[[1,"feed-page"],["itemSize","200",1,"example-viewport"],["scrollViewport",""],["class","example-item",4,"cdkVirtualFor","cdkVirtualForOf"],[1,"example-item"],[1,"example-item-content"]],template:function(i,t){1&i&&(e.TgZ(0,"div",0)(1,"p"),e._uU(2,"This example demonstrates how to do sorting, filtering, virtual scrolling, dynamic updates of complex data within Blockcore Notes."),e.qZA(),e.TgZ(3,"cdk-virtual-scroll-viewport",1,2),e.YNc(5,bI,4,2,"div",3),e.ALo(6,"keyvalue"),e.qZA()()),2&i&&(e.xp6(5),e.Q6J("cdkVirtualForOf",e.lcZ(6,1,t.state.events.shortTextNote)))},dependencies:[xr.xd,xr.x0,xr.N7,F.Nd],styles:[".example-viewport[_ngcontent-%COMP%]{height:100%;min-height:500px;width:100%;border:1px solid black}.example-item[_ngcontent-%COMP%]{box-sizing:border-box;height:200px;background-color:purple}.example-item-content[_ngcontent-%COMP%]{overflow:scroll;width:100%;height:100px;border:1px solid green}"]});const yI=[{path:"",component:nd,canActivate:[br.P],resolve:{data:Pr.T}},{path:"connect",component:bl},{path:"connect/key",component:Z_},{path:"connect/login",component:W_},{path:"connect/create",component:Q_},{path:"feed",component:Yf,canActivate:[br.P],resolve:{data:Pr.T}},{path:"feed/:circle",component:Yf,canActivate:[br.P],resolve:{data:Pr.T}},{path:"notes",component:pf,canActivate:[br.P],resolve:{data:Pr.T}},{path:"circles",component:v_,canActivate:[br.P],resolve:{data:Pr.T}},{path:"notifications",component:H_,canActivate:[br.P],resolve:{data:Pr.T}},{path:"people",component:F_,canActivate:[br.P],resolve:{data:Pr.T}},{path:"chat",component:T_,canActivate:[br.P],resolve:{data:Pr.T}},{path:"m",component:R_,canActivate:[br.P],resolve:{data:Pr.T}},{path:"m/:id",component:P_,canActivate:[br.P],resolve:{data:Pr.T}},{path:"profile",component:Sh,canActivate:[br.P],resolve:{data:Pr.T}},{path:"badges/:id",component:q_,canActivate:[br.P],resolve:{data:Pr.T}},{path:"user/:id",component:Tc,canActivate:[br.P],resolve:{data:Pr.T}},{path:"editor",component:z_,canActivate:[br.P],resolve:{data:Pr.T}},{path:"editor/badges",component:K_,canActivate:[br.P],resolve:{data:Pr.T}},{path:"note/:id",component:Lf,canActivate:[br.P],resolve:{data:Pr.T}},{path:"p/:id",component:Tc,canActivate:[br.P],resolve:{data:Pr.T}},{path:"b/:id",component:Uf,canActivate:[br.P],resolve:{data:Pr.T}},{path:"b/:id/:slug",component:Uf,canActivate:[br.P],resolve:{data:Pr.T}},{path:"e/:id",component:Lf,canActivate:[br.P],resolve:{data:Pr.T}},{path:"a/:id",component:Hf,canActivate:[br.P],resolve:{data:Pr.T}},{path:"a/:id/:slug",component:Hf,canActivate:[br.P],resolve:{data:Pr.T}},{path:"followers/:id",component:O_,canActivate:[br.P],resolve:{data:Pr.T}},{path:"following/:id",component:I_,canActivate:[br.P],resolve:{data:Pr.T}},{path:"about",loadChildren:()=>y.e(22).then(y.bind(y,6022)).then(r=>r.AboutModule)},{path:"about/licenses",component:jT.d,canActivate:[br.P],resolve:{data:Pr.T}},{path:"settings",component:Oh,canActivate:[br.P],resolve:{data:Pr.T}},{path:"relays",component:G_,canActivate:[br.P],resolve:{data:Pr.T}},{path:"development",component:Y_,canActivate:[br.P],resolve:{data:Pr.T}},{path:"example",component:$_,canActivate:[br.P],resolve:{data:Pr.T}},{path:"queue",component:N_,canActivate:[br.P],resolve:{data:Pr.T}},{path:"logout",component:rd}];class jf{}jf.\u0275fac=function(i){return new(i||jf)},jf.\u0275mod=e.oAB({type:jf}),jf.\u0275inj=e.cJS({imports:[Bt.Bz.forRoot(yI,{scrollOffset:[0,0],scrollPositionRestoration:"enabled",anchorScrolling:"enabled"}),Bt.Bz]});var IM=y(1781);class vI{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=IM.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=IM.stringify(i.options);return i.scheme+":"+i.address+(t?"?":"")+t}}const Ou=new mh.y(kb.Z);var wI=y(4033),OM=y(576);const FI={connector:()=>new D.x};function LM(r,i=FI){const{connector:t}=i;return(0,wd.e)((n,a)=>{const l=t();(0,ys.Xf)(r(function xI(r){return new mh.y(i=>r.subscribe(i))}(l))).subscribe(a),a.add(n.subscribe(l))})}const X_="Service workers are disabled or not supported by this browser";class pv{constructor(i){if(this.serviceWorker=i,i){const n=(0,tc.R)(i,"controllerchange").pipe((0,Mr.U)(()=>i.controller)),a=(0,P.P)(()=>(0,j.of)(i.controller)),l=(0,Mg.z)(a,n);this.worker=l.pipe((0,Ke.h)(be=>!!be)),this.registration=this.worker.pipe((0,so.w)(()=>i.getRegistration()));const V=(0,tc.R)(i,"message").pipe((0,Mr.U)(be=>be.data)).pipe((0,Ke.h)(be=>be&&be.type)).pipe(function kI(r){return r?i=>LM(r)(i):i=>function CI(r,i){const t=(0,OM.m)(r)?r:()=>r;return(0,OM.m)(i)?LM(i,{connector:t}):n=>new wI.c(n,t)}(new D.x)(i)}());V.connect(),this.events=V}else this.worker=this.events=this.registration=function DI(r){return(0,P.P)(()=>(0,pc._)(new Error(r)))}(X_)}postMessage(i,t){return this.worker.pipe((0,Oe.q)(1),(0,vc.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,Ke.h)(t))}nextEventOfType(i){return this.eventsOfType(i).pipe((0,Oe.q)(1))}waitForOperationCompleted(i){return this.eventsOfType("OPERATION_COMPLETED").pipe((0,Ke.h)(t=>t.nonce===i),(0,Oe.q)(1),(0,Mr.U)(t=>{if(void 0!==t.result)return t.result;throw new Error(t.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let MI=(()=>{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=Ou,this.notificationClicks=Ou,void(this.subscription=Ou);this.messages=this.sw.eventsOfType("PUSH").pipe((0,Mr.U)(a=>a.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe((0,Mr.U)(a=>a.data)),this.pushManager=this.sw.registration.pipe((0,Mr.U)(a=>a.pushManager));const n=this.pushManager.pipe((0,so.w)(a=>a.getSubscription()));this.subscription=(0,Ue.T)(n,this.subscriptionChanges)}requestSubscription(t){if(!this.sw.isEnabled||null===this.pushManager)return Promise.reject(new Error(X_));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,Oe.q)(1)).toPromise().then(v=>(this.subscriptionChanges.next(v),v))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe((0,Oe.q)(1),(0,so.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(X_))}decodeBase64(t){return atob(t)}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(pv))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r})(),mC=(()=>{class r{get isEnabled(){return this.sw.isEnabled}constructor(t){if(this.sw=t,!t.isEnabled)return this.versionUpdates=Ou,this.available=Ou,this.activated=Ou,void(this.unrecoverable=Ou);this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.available=this.versionUpdates.pipe((0,Ke.h)(n=>"VERSION_READY"===n.type),(0,Mr.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(X_));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(X_));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(pv))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r})();class fC{}const NM=new e.OlP("NGSW_REGISTER_SCRIPT");function EI(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,...A]=(t.registrationStrategy||"registerWhenStable:30000").split(":");switch(v){case"registerImmediately":a=(0,j.of)(null);break;case"registerWithDelay":a=RM(+A[0]||0);break;case"registerWhenStable":a=A[0]?(0,Ue.T)(PM(r),RM(+A[0])):PM(r);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${t.registrationStrategy}`)}}r.get(e.R0b).runOutsideAngular(()=>a.pipe((0,Oe.q)(1)).subscribe(()=>navigator.serviceWorker.register(i,{scope:t.scope}).catch(v=>console.error("Service worker registration failed with:",v))))}}function RM(r){return(0,j.of)(null).pipe(Ch(r))}function PM(r){return r.get(e.z2F).isStable.pipe((0,Ke.h)(t=>t))}function AI(r,i){return new pv((0,F.NF)(i)&&!1!==r.enabled?navigator.serviceWorker:void 0)}let TI=(()=>{class r{static register(t,n={}){return{ngModule:r,providers:[{provide:NM,useValue:t},{provide:fC,useValue:n},{provide:pv,useFactory:AI,deps:[fC,e.Lbi]},{provide:e.ip1,useFactory:EI,deps:[e.zs3,NM,fC,e.Lbi],multi:!0}]}}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[MI,mC]}),r})();class Hh{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())}}Hh.\u0275fac=function(i){return new(i||Hh)(e.LFG(mC),e.LFG(ro.ux))},Hh.\u0275prov=e.Yz7({token:Hh,factory:Hh.\u0275fac,providedIn:"root"});var II=y(590);class Uh{constructor(i,t){if(!(0,e.X6Q)()){const n=i.isStable.pipe((0,II.P)(v=>!0===v)),a=function SI(r=0,i=Vm.z){return r<0&&(r=0),(0,ol.H)(r,r,i)}(216e5);(0,Mg.z)(n,a).subscribe((0,Fe.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)}}))}}}Uh.\u0275fac=function(i){return new(i||Uh)(e.LFG(e.z2F),e.LFG(mC))},Uh.\u0275prov=e.Yz7({token:Uh,factory:Uh.\u0275fac});class Zf{constructor(i,t,n){this.router=i,this.appState=t,this.profileService=n,this.resultsChanged=new Re.X(null),this.results$=this.resultsChanged.asObservable()}search(i){var t=this;return(0,Fe.Z)(function*(){if(i)if(console.log("Searching for: ",i),i.startsWith("npub")){const n=pn.decode(i);t.resetSearch(),t.router.navigate(["/p",n.data])}else if(i.startsWith("nevent")){const n=pn.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}}Zf.\u0275fac=function(i){return new(i||Zf)(e.LFG(Bt.F0),e.LFG(Le.i),e.LFG(Ln))},Zf.\u0275prov=e.Yz7({token:Zf,factory:Zf.\u0275fac,providedIn:"root"});const OI=["panel"];function LI(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 NI=["*"],RI=(0,ke.X$)("panelAnimation",[(0,ke.SB)("void, hidden",(0,ke.oB)({opacity:0,transform:"scaleY(0.8)"})),(0,ke.eR)(":enter, hidden => visible",[(0,ke.ru)([(0,ke.jt)("0.03s linear",(0,ke.oB)({opacity:1})),(0,ke.jt)("0.12s cubic-bezier(0, 0, 0.2, 1)",(0,ke.oB)({transform:"scaleY(1)"}))])]),(0,ke.eR)(":leave, visible => hidden",[(0,ke.jt)("0.075s linear",(0,ke.oB)({opacity:0}))])]);let PI=0;class BI{constructor(i,t){this.source=i,this.option=t}}const YI=(0,ae.Kr)(class{}),BM=new e.OlP("mat-autocomplete-default-options",{providedIn:"root",factory:function HI(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1}}});let UI=(()=>{class r extends YI{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=po.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-"+PI++,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 BI(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(BM),e.Y36(x.t4))},r.\u0275dir=e.lG2({type:r,viewQuery:function(t,n){if(1&t&&(e.Gf(e.Rgc,7),e.Gf(OI,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})(),jI=(()=>{class r extends UI{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:NI,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,LI,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:[RI]},changeDetection:0}),r})();const ZI={provide:ha,useExisting:(0,e.Gpc)(()=>HM),multi:!0},YM=new e.OlP("mat-autocomplete-scroll-strategy"),zI={provide:YM,deps:[_.aV],useFactory:function VI(r){return()=>r.scrollStrategies.reposition()}};let GI=(()=>{class r{get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(t){this._autocompleteDisabled=(0,st.Ig)(t)}constructor(t,n,a,l,v,A,G,V,be,ze,_t){this._element=t,this._overlay=n,this._viewContainerRef=a,this._zone=l,this._changeDetectorRef=v,this._dir=G,this._formField=V,this._document=be,this._viewportRuler=ze,this._defaults=_t,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=po.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 Pt=this.autocomplete?this.autocomplete.options:null;return Pt?Pt.changes.pipe((0,L.O)(Pt),(0,so.w)(()=>(0,Ue.T)(...Pt.map(jt=>jt.onSelectionChange)))):this._zone.onStable.pipe((0,Oe.q)(1),(0,so.w)(()=>this.optionSelections))}),this._scrollStrategy=A}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,Ue.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,Ke.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,Ke.h)(()=>this._overlayAttached)):(0,j.of)()).pipe((0,Mr.U)(t=>t instanceof ae.rN?t:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,Ue.T)((0,tc.R)(this._document,"click"),(0,tc.R)(this._document,"auxclick"),(0,tc.R)(this._document,"touchend")).pipe((0,Ke.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,S.Vb)(t);if(n===S.hY&&!a&&t.preventDefault(),this.activeOption&&n===S.K5&&this.panelOpen&&!a)this.activeOption._selectViaInteraction(),this._resetActiveItem(),t.preventDefault();else if(this.autocomplete){const l=this.autocomplete._keyManager.activeItem,v=n===S.LH||n===S.JH;n===S.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,Oe.q)(1)),n=this.autocomplete.options.changes.pipe((0,vc.b)(()=>this._positionStrategy.reapplyLastPosition()),Ch(0));return(0,Ue.T)(t,n).pipe((0,so.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,Oe.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(),A=(0,ae.jH)(v.offsetTop,v.offsetHeight,n._getScrollTop(),n.panel.nativeElement.offsetHeight);n._setScrollTop(A)}}}_handleOverlayEvents(t){t.keydownEvents().subscribe(n=>{(n.keyCode===S.hY&&!(0,S.Vb)(n)||n.keyCode===S.LH&&(0,S.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(YM),e.Y36(I.Is,8),e.Y36(Hd,9),e.Y36(F.K0,8),e.Y36(xr.rL),e.Y36(BM,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})(),HM=(()=>{class r extends GI{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([ZI]),e.qOj]}),r})(),qI=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[zI],imports:[_.U8,ae.Ng,ae.BQ,F.ez,xr.ZD,ae.Ng,ae.BQ]}),r})();class Lu{constructor(i){this.utilities=i}transform(i){return i?Lu.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")}}Lu.\u0275fac=function(i){return new(i||Lu)(e.Y36(gn.dU,16))},Lu.\u0275pipe=e.Yjl({name:"time",type:Lu,pure:!0});const WI=["knob"],QI=["valueIndicatorContainer"];function JI(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 KI=["trackActive"];function $I(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 XI(r,i){if(1&r&&(e.ynx(0),e.YNc(1,$I,1,4,"div",11),e.BQk()),2&r){const t=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",t._tickMarks)}}function e5(r,i){if(1&r&&(e.TgZ(0,"div",8,9),e.YNc(2,XI,2,1,"ng-container",10),e.qZA()),2&r){const t=e.oxw();e.xp6(2),e.Q6J("ngIf",t._cachedWidth)}}function t5(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 n5=["*"],gv=new e.OlP("_MatSlider"),UM=new e.OlP("_MatSliderThumb"),jM=new e.OlP("_MatSliderRangeThumb"),ZM=new e.OlP("_MatSliderVisualThumb");let r5=(()=>{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 A=this._hostElement.getBoundingClientRect(),G=this._isSliderThumbHovered(v,A);this._isHovered=G,G?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,G=t.clientY-(n.y+a);return Math.pow(t.clientX-(n.x+a),2)+Math.pow(G,2){class r extends a5{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`${V}`,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"===G,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,Oe.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),A=Math.max(Math.floor((this.max-n)/t),0);this._tickMarks=Array(l).fill(1).concat(Array(v).fill(0),Array(A).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(I.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,UM,5),e.Suo(a,jM,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(KI,5),e.Gf(ZM,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:gv,useExisting:r}]),e.qOj],ngContentSelectors:n5,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,e5,3,1,"div",5),e.qZA(),e.YNc(7,t5,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,r5],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 l5={provide:ha,useExisting:(0,e.Gpc)(()=>pC),multi:!0};let pC=(()=>{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),V=Math.round((this._slider._isRtl?1-n/a:n/a)*v)/v*(this._slider.max-this._slider.min)+this._slider.min,be=Math.round(V/l)*l;if(be===this.value)return this._slider._onValueChange(this),void(this._slider.step>0?this._updateThumbUIByValue():this._updateThumbUIByPointerEvent(t,{withAnimation:this._slider._hasAnimation}));this.value=be,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(gv))},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([l5,{provide:UM,useExisting:r}])]}),r})(),u5=(()=>{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 h5(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 m5(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 f5(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 p5(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 g5(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 _5(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 b5(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 y5(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"div",4),e.YNc(3,h5,3,0,"button",5),e.YNc(4,m5,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,f5,3,0,"button",5),e.YNc(9,p5,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,g5,3,0,"button",5),e.YNc(14,_5,3,0,"button",5),e.YNc(15,b5,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 v5(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 w5(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 x5(r,i){if(1&r&&(e.TgZ(0,"div",13),e.YNc(1,w5,1,1,"iframe",18),e.qZA()),2&r){const t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",t.media.youtubeUrl)}}function F5(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 C5(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 k5(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 D5(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 M5(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 E5(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 A5(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 T5(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",3)(1,"div",4),e.YNc(2,C5,3,0,"button",22),e.YNc(3,k5,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,D5,3,0,"button",25),e.YNc(8,M5,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,E5,3,0,"button",28),e.qZA(),e.YNc(13,A5,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 S5(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 I5(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 O5(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",41)(1,"div",42),e.YNc(2,S5,3,0,"button",43),e.YNc(3,I5,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 L5(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 N5(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 R5(r,i){1&r&&(e.TgZ(0,"button",44)(1,"mat-icon"),e._uU(2,"queue_music"),e.qZA()())}function P5(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 B5(r,i){if(1&r&&(e.TgZ(0,"div",41)(1,"div",42),e.YNc(2,L5,3,0,"button",47),e.YNc(3,N5,3,0,"button",48),e.YNc(4,R5,3,0,"button",49),e.YNc(5,P5,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 Y5=function(r,i){return{"media-player-large":r,"media-player-maximized":i}};function H5(r,i){if(1&r&&(e.TgZ(0,"div",9),e.YNc(1,v5,7,3,"div",10),e.YNc(2,x5,2,1,"div",10),e.YNc(3,F5,3,1,"div",10),e.YNc(4,T5,14,8,"div",11),e.YNc(5,O5,10,2,"div",12),e.YNc(6,B5,6,4,"div",12),e.qZA()),2&r){const t=e.oxw();e.Q6J("ngClass",e.WLB(7,Y5,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 e0{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 Lu.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,Fe.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")}}e0.\u0275fac=function(i){return new(i||e0)(e.Y36(Xr.I),e.Y36(vl),e.Y36(Ln),e.Y36(gn.dU),e.Y36(vi))},e0.\u0275cmp=e.Xpm({type:e0,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"],["matTooltip","Queue","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"],["matTooltip","Queue","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,y5,17,9,"div",0),e.YNc(1,H5,7,10,"div",1)),2&i&&(e.Q6J("ngIf",t.miniplayer),e.xp6(1),e.Q6J("ngIf",!t.miniplayer))},dependencies:[F.mk,F.O5,Bt.rH,kt.RK,Un,oo,rr,Ir,aa,o5,pC,Lu],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 U5=["drawer"],j5=["draweraccount"],Z5=["searchInput"],VM=function(r){return{rightToLeft:r}};function V5(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,VM,"rtl"===t.appState.documentDirection))("dir",t.appState.documentDirection)}}function z5(r,i){1&r&&e._UZ(0,"app-media-player",45),2&r&&e.Q6J("miniplayer",!0)}function G5(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",46),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 q5(r,i){1&r&&e._UZ(0,"img",47)}function W5(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",48),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.goBack())}),e.TgZ(1,"mat-icon",49),e._uU(2,"arrow_back"),e.qZA()()}}function Q5(r,i){if(1&r&&(e.TgZ(0,"div",50),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 J5(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",52),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 K5(r,i){if(1&r&&(e.TgZ(0,"span"),e.YNc(1,J5,3,2,"button",51),e.qZA()),2&r){const t=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",t.appState.actions)}}function $5(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 X5(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 eO(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 tO(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"mat-option",59),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",60),e.qZA(),e.YNc(3,$5,2,1,"span",12),e.YNc(4,X5,2,1,"span",12),e.YNc(5,eO,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 iO(r,i){if(1&r&&(e.TgZ(0,"form",53)(1,"mat-form-field",54)(2,"mat-label"),e._uU(3),e.ALo(4,"translate"),e.qZA(),e._UZ(5,"input",55,56),e.TgZ(7,"mat-autocomplete",null,57),e.YNc(9,tO,6,5,"mat-option",58),e.ALo(10,"async"),e.qZA()()()),2&r){const t=e.MAs(8),n=e.oxw(2);e.xp6(3),e.Oqu(e.lcZ(4,4,"App.Search")),e.xp6(2),e.Q6J("formControl",n.searchControl)("matAutocomplete",t),e.xp6(4),e.Q6J("ngForOf",e.lcZ(10,6,n.searchService.results$))}}function nO(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",48),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 rO(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"button",48),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 aO(r,i){1&r&&e._UZ(0,"button",61),2&r&&e.Q6J("mtBasicSpinner",!0)}function oO(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"img",62),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 sO(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"App.Home")))}function lO(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"App.Feed")))}function cO(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"App.Notifications")))}function dO(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"App.People")))}function uO(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"App.Circles")))}function hO(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"App.Bookmarks")))}function mO(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"App.Relays")))}function fO(r,i){1&r&&(e.TgZ(0,"mat-icon"),e._uU(1,"chevron_left"),e.qZA())}function pO(r,i){1&r&&(e.TgZ(0,"mat-icon"),e._uU(1,"chevron_right"),e.qZA())}function gO(r,i){if(1&r&&e._UZ(0,"img",63),2&r){const t=e.oxw(2);e.Q6J("src",null==t.profile?null:t.profile.banner,e.LSH)}}function _O(r,i){if(1&r&&e._UZ(0,"img",63),2&r){const t=e.oxw(2);e.Q6J("src",t.bgimagePath,e.LSH)}}function bO(r,i){1&r&&(e.TgZ(0,"span"),e._uU(1,"@"),e.qZA())}function yO(r,i){1&r&&e._UZ(0,"app-media-player",64)}const vO=function(r,i){return{"sidenav-labels":r,"sidenav-small":i}},wO=function(){return["/"]},Ts=function(){return{exact:!0}},xO=function(){return["/feed"]},FO=function(){return["/notifications"]},CO=function(){return["/people"]},kO=function(){return["/circles"]},DO=function(){return["/notes"]},MO=function(){return["/relays"]},EO=function(r){return{"new-post-small":r}},zM=function(){return["/profile"]},AO=function(r){return["/following",r]},TO=function(r){return["/p",r]},SO=function(r){return["/badges",r]},IO=function(){return["/settings"]},OO=function(){return["/about"]},LO=function(){return["/logout"]};function NO(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,z5,1,1,"app-media-player",6),e.qZA(),e.TgZ(4,"mat-toolbar",7),e.YNc(5,G5,3,0,"button",8),e.ALo(6,"async"),e._UZ(7,"span"),e.YNc(8,q5,1,0,"img",9),e.ALo(9,"async"),e.YNc(10,W5,3,0,"button",10),e.YNc(11,Q5,3,3,"div",11),e.YNc(12,K5,2,1,"span",12),e.YNc(13,iO,11,8,"form",13),e.YNc(14,nO,3,0,"button",10),e.YNc(15,rO,3,0,"button",10),e.YNc(16,aO,1,1,"button",14),e.YNc(17,oO,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,sO,3,3,"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,lO,3,3,"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,cO,3,3,"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,dO,3,3,"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,uO,3,3,"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,hO,3,3,"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,mO,3,3,"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,fO,2,0,"mat-icon",12),e.YNc(57,pO,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,gO,1,1,"img",31),e.YNc(72,_O,1,1,"img",31),e.TgZ(73,"div",32)(74,"h3"),e.YNc(75,bO,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),e.ALo(89,"translate"),e.qZA()(),e.TgZ(90,"li")(91,"a",38),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.toggleProfileMenu())}),e._uU(92),e.TgZ(93,"span"),e._uU(94),e.ALo(95,"translate"),e.qZA()()()()()()(),e._UZ(96,"mat-divider"),e.TgZ(97,"mat-nav-list")(98,"a",19),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.toggleProfileMenu())}),e.TgZ(99,"mat-icon"),e._uU(100,"person"),e.qZA(),e.TgZ(101,"span"),e._uU(102),e.ALo(103,"translate"),e.qZA()(),e.TgZ(104,"a",19),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.toggleProfileMenu())}),e.TgZ(105,"mat-icon"),e._uU(106,"edit"),e.qZA(),e.TgZ(107,"span"),e._uU(108),e.ALo(109,"translate"),e.qZA()(),e.TgZ(110,"a",19),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.toggleProfileMenu())}),e.TgZ(111,"mat-icon"),e._uU(112,"badge"),e.qZA(),e.TgZ(113,"span"),e._uU(114),e.ALo(115,"translate"),e.qZA()(),e.TgZ(116,"a",39),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return a.toggleProfileMenu(),e.KtG(a.openMediaPlayer())}),e.TgZ(117,"mat-icon"),e._uU(118,"play_circle"),e.qZA(),e.TgZ(119,"span"),e._uU(120),e.ALo(121,"translate"),e.qZA()(),e.TgZ(122,"a",19),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.toggleProfileMenu())}),e.TgZ(123,"mat-icon"),e._uU(124,"settings"),e.qZA(),e.TgZ(125,"span"),e._uU(126),e.ALo(127,"translate"),e.qZA()(),e.TgZ(128,"a",19),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.toggleProfileMenu())}),e.TgZ(129,"mat-icon"),e._uU(130,"help_outline"),e.qZA(),e.TgZ(131,"span"),e._uU(132),e.ALo(133,"translate"),e.qZA()(),e.TgZ(134,"a",19),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.toggleProfileMenu())}),e.TgZ(135,"mat-icon"),e._uU(136,"logout"),e.qZA(),e.TgZ(137,"span"),e._uU(138),e.ALo(139,"translate"),e.qZA()()(),e._UZ(140,"mat-menu",40,41),e.qZA(),e.TgZ(142,"mat-sidenav-content")(143,"div",42)(144,"div",43),e._UZ(145,"router-outlet"),e.qZA(),e.YNc(146,yO,1,0,"app-media-player",44),e.qZA()()()()}if(2&r){const t=e.oxw();e.Q6J("ngClass",e.VKq(110,VM,"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,78,t.isHandset$)),e.xp6(3),e.Q6J("ngIf",t.appState.showLogo&&!t.appState.showSearch&&!1===e.lcZ(9,80,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(112,vO,t.displayLabels,!t.displayLabels))("mode",e.lcZ(22,84,t.isHandset$)?"over":"side")("opened",!1===e.lcZ(23,86,t.isHandset$)),e.uIk("role",e.lcZ(21,82,t.isHandset$)?"dialog":"navigation"),e.xp6(6),e.Q6J("routerLink",e.DdM(115,wO))("routerLinkActiveOptions",e.DdM(116,Ts)),e.xp6(3),e.Q6J("ngIf",t.displayLabels),e.xp6(1),e.Q6J("routerLink",e.DdM(117,xO))("routerLinkActiveOptions",e.DdM(118,Ts)),e.xp6(3),e.Q6J("ngIf",t.displayLabels),e.xp6(1),e.Q6J("routerLink",e.DdM(119,FO))("routerLinkActiveOptions",e.DdM(120,Ts)),e.xp6(1),e.Q6J("matBadgeHidden",0==e.lcZ(35,88,t.ui.unreadNotifications$))("matBadge",e.lcZ(36,90,t.ui.unreadNotifications$)),e.xp6(4),e.Q6J("ngIf",t.displayLabels),e.xp6(1),e.Q6J("routerLink",e.DdM(121,CO))("routerLinkActiveOptions",e.DdM(122,Ts)),e.xp6(3),e.Q6J("ngIf",t.displayLabels),e.xp6(1),e.Q6J("routerLink",e.DdM(123,kO))("routerLinkActiveOptions",e.DdM(124,Ts)),e.xp6(3),e.Q6J("ngIf",t.displayLabels),e.xp6(1),e.Q6J("routerLink",e.DdM(125,DO))("routerLinkActiveOptions",e.DdM(126,Ts)),e.xp6(3),e.Q6J("ngIf",t.displayLabels),e.xp6(1),e.Q6J("routerLink",e.DdM(127,MO))("routerLinkActiveOptions",e.DdM(128,Ts)),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(129,EO,!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(131,zM)),e.xp6(2),e.Q6J("src",null==t.profile?null:t.profile.picture,e.LSH),e.xp6(7),e.Oqu(e.lcZ(89,92,"App.Followers")),e.xp6(3),e.Q6J("routerLink",e.VKq(132,AO,t.appState.getPublicKey())),e.xp6(1),e.hij(" ",t.profileService.following.length," "),e.xp6(2),e.Oqu(e.lcZ(95,94,"App.Following")),e.xp6(4),e.Q6J("routerLink",e.VKq(134,TO,t.appState.getPublicKey()))("routerLinkActiveOptions",e.DdM(136,Ts)),e.xp6(4),e.Oqu(e.lcZ(103,96,"App.ViewProfile")),e.xp6(2),e.Q6J("routerLink",e.DdM(137,zM))("routerLinkActiveOptions",e.DdM(138,Ts)),e.xp6(4),e.Oqu(e.lcZ(109,98,"App.EditProfile")),e.xp6(2),e.Q6J("routerLink",e.VKq(139,SO,t.appState.getPublicKey()))("routerLinkActiveOptions",e.DdM(141,Ts)),e.xp6(4),e.Oqu(e.lcZ(115,100,"App.Badges")),e.xp6(2),e.Q6J("routerLinkActiveOptions",e.DdM(142,Ts)),e.xp6(4),e.Oqu(e.lcZ(121,102,"App.MediaPlayer")),e.xp6(2),e.Q6J("routerLink",e.DdM(143,IO))("routerLinkActiveOptions",e.DdM(144,Ts)),e.xp6(4),e.Oqu(e.lcZ(127,104,"App.Settings")),e.xp6(2),e.Q6J("routerLink",e.DdM(145,OO))("routerLinkActiveOptions",e.DdM(146,Ts)),e.xp6(4),e.Oqu(e.lcZ(133,106,"App.About")),e.xp6(2),e.Q6J("routerLink",e.DdM(147,LO))("routerLinkActiveOptions",e.DdM(148,Ts)),e.xp6(4),e.Oqu(e.lcZ(139,108,"App.Logout")),e.xp6(8),e.Q6J("ngIf",t.options.values.showMediaPlayer)}}class t0{constructor(i,t,n,a,l,v,A,G,V,be,ze,_t,Pt,jt,Xt,ei,Ci,si,xi,Mi,un,xn,Cn,hr,sr,sa){var zo=this;this.cd=i,this.options=t,this.db=n,this.appState=a,this.authService=l,this.router=v,this.appUpdateService=A,this.appUpdateCheckService=G,this.dialog=V,this.location=be,this.labelService=ze,this.breakpointObserver=_t,this.relayService=Pt,this.dataService=jt,this.circleService=Xt,this.profileService=ei,this.badgeService=Ci,this.navigationService=si,this.translate=xi,this.ui=Mi,this.bottomSheet=un,this.searchService=xn,this.theme=Cn,this.state=hr,this.eventService=sr,this.optionService=sa,this.authenticated=!1,this.bgimagePath="/assets/profile-bg.png",this.searchControl=new Gc,this.displayLabels=!0,this.isHandset$=this.breakpointObserver.observe("(max-width: 599px)").pipe((0,Mr.U)(yr=>yr.matches),(0,Fd.d)()),this.discoveredProfileDate=0,this.visibilityHandler||(this.visibilityHandler=addEventListener("visibilitychange",yr=>{this.appState.visibility("visible"===document.visibilityState)})),this.displayLabels=!this.options.values.hideSideLabels;const ms=globalThis.location.search;if(ms){const yr=Object.fromEntries(new URLSearchParams(ms));if(this.appState.params=yr,this.appState.params.nostr){const $s=(new vI).decode(this.appState.params.nostr);$s&&$s.scheme&&$s.address&&this.router.navigate(["nevent"===$s.scheme?"/e":"/p",$s.address])}}this.authService.authInfo$.subscribe(function(){var yr=(0,Fe.Z)(function*(Ks){zo.state.pubkey=Ks.publicKeyHex,zo.authenticated=Ks.authenticated(),zo.authenticated&&(yield zo.initialize())});return function(Ks){return yr.apply(this,arguments)}}()),this.profileService.profile$.subscribe(yr=>{this.profile=yr})}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()}openMediaPlayer(){this.optionService.values.showMediaPlayer=!0}initialize(){var i=this;return(0,Fe.Z)(function*(){console.log("INITIALIZE IS RUNNING...."),i.translate.addLangs(["en","no","ru"]),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,Fe.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,Fe.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,Fe.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 GM(r){return new e.vHH(3e3,!1)}function gL(){return typeof window<"u"&&typeof window.document<"u"}function gC(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Nu(r){switch(r.length){case 0:return new ke.ZN;case 1:return r[0];default:return new ke.ZE(r)}}function qM(r,i,t,n,a=new Map,l=new Map){const v=[],A=[];let G=-1,V=null;if(n.forEach(be=>{const ze=be.get("offset"),_t=ze==G,Pt=_t&&V||new Map;be.forEach((jt,Xt)=>{let ei=Xt,Ci=jt;if("offset"!==Xt)switch(ei=i.normalizePropertyName(ei,v),Ci){case ke.k1:Ci=a.get(Xt);break;case ke.l3:Ci=l.get(Xt);break;default:Ci=i.normalizeStyleValue(Xt,ei,Ci,v)}Pt.set(ei,Ci)}),_t||A.push(Pt),V=Pt,G=ze}),v.length)throw function rL(r){return new e.vHH(3502,!1)}();return A}function _C(r,i,t,n){switch(i){case"start":r.onStart(()=>n(t&&bC(t,"start",r)));break;case"done":r.onDone(()=>n(t&&bC(t,"done",r)));break;case"destroy":r.onDestroy(()=>n(t&&bC(t,"destroy",r)))}}function bC(r,i,t){const l=yC(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 yC(r,i,t,n,a="",l=0,v){return{element:r,triggerName:i,fromState:t,toState:n,phaseName:a,totalTime:l,disabled:!!v}}function Qs(r,i,t){let n=r.get(i);return n||r.set(i,n=t),n}function WM(r){const i=r.indexOf(":");return[r.substring(1,i),r.slice(i+1)]}t0.\u0275fac=function(i){return new(i||t0)(e.Y36(e.sBO),e.Y36(Xr.I),e.Y36(_r),e.Y36(Le.i),e.Y36(Kc.$),e.Y36(Bt.F0),e.Y36(Hh),e.Y36(Uh),e.Y36(vi),e.Y36(F.Ye),e.Y36(jo),e.Y36(Ee.Yg),e.Y36(ao),e.Y36(ma),e.Y36(Ga),e.Y36(Ln),e.Y36(as),e.Y36(qa),e.Y36(Ma.sK),e.Y36(Gr),e.Y36(Qt),e.Y36(Zf),e.Y36(de),e.Y36(Jl),e.Y36(Ur),e.Y36(Xr.I))},t0.\u0275cmp=e.Xpm({type:t0,selectors:[["app-root"]],viewQuery:function(i,t){if(1&i&&(e.Gf(U5,5),e.Gf(j5,5),e.Gf(Z5,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"],["mat-menu-item","","routerLinkActive","active",3,"routerLinkActiveOptions","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,V5,2,4,"div",0),e.YNc(1,NO,147,149,"div",1)),2&i&&(e.Q6J("ngIf",!t.authenticated),e.xp6(1),e.Q6J("ngIf",t.authenticated))},dependencies:[F.mk,F.sg,F.O5,Bt.lC,Bt.rH,Bt.Od,I.Lv,no,Ca,Ya,kt.RK,ae.ey,iM,cC,dC,lC,Un,iC,Of,Cl,Fl,aM,oo,jI,HM,dl,rr,Ir,Hl,Ys,U0,XD,e0,F.Ov,Ma.X$],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 vC=(r,i)=>!1,QM=(r,i,t)=>[],JM=null;function wC(r){const i=r.parentNode||r.host;return i===JM?null:i}(gC()||typeof Element<"u")&&(gL()?(JM=(()=>document.documentElement)(),vC=(r,i)=>{for(;i;){if(i===r)return!0;i=wC(i)}return!1}):vC=(r,i)=>r.contains(i),QM=(r,i,t)=>{if(t)return Array.from(r.querySelectorAll(i));const n=r.querySelector(i);return n?[n]:[]});let jh=null,KM=!1;const $M=vC,XM=QM;let e3=(()=>{class r{validateStyleProperty(t){return function bL(r){jh||(jh=function yL(){return typeof document<"u"?document.body:null}()||{},KM=!!jh.style&&"WebkitAppearance"in jh.style);let i=!0;return jh.style&&!function _L(r){return"ebkit"==r.substring(1,6)}(r)&&(i=r in jh.style,!i&&KM&&(i="Webkit"+r.charAt(0).toUpperCase()+r.slice(1)in jh.style)),i}(t)}matchesElement(t,n){return!1}containsElement(t,n){return $M(t,n)}getParentElement(t){return wC(t)}query(t,n,a){return XM(t,n,a)}computeStyle(t,n,a){return a||""}animate(t,n,a,l,v,A=[],G){return new ke.ZN(a,l)}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r})(),xC=(()=>{class r{}return r.NOOP=new e3,r})();const vL=1e3,FC="ng-enter",_v="ng-leave",bv="ng-trigger",yv=".ng-trigger",n3="ng-animating",CC=".ng-animating";function fd(r){if("number"==typeof r)return r;const i=r.match(/^(-?[\.\d]+)(m?s)/);return!i||i.length<2?0:kC(parseFloat(i[1]),i[2])}function kC(r,i){return"s"===i?r*vL:r}function vv(r,i,t){return r.hasOwnProperty("duration")?r:function xL(r,i,t){let a,l=0,v="";if("string"==typeof r){const A=r.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===A)return i.push(GM()),{duration:0,delay:0,easing:""};a=kC(parseFloat(A[1]),A[2]);const G=A[3];null!=G&&(l=kC(parseFloat(G),A[4]));const V=A[5];V&&(v=V)}else a=r;if(!t){let A=!1,G=i.length;a<0&&(i.push(function RO(){return new e.vHH(3100,!1)}()),A=!0),l<0&&(i.push(function PO(){return new e.vHH(3101,!1)}()),A=!0),A&&i.splice(G,0,GM())}return{duration:a,delay:l,easing:v}}(r,i,t)}function n0(r,i={}){return Object.keys(r).forEach(t=>{i[t]=r[t]}),i}function r3(r){const i=new Map;return Object.keys(r).forEach(t=>{i.set(t,r[t])}),i}function Ru(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 o3(r,i,t){return t?i+":"+t+";":""}function s3(r){let i="";for(let t=0;t{const l=MC(a);t&&!t.has(a)&&t.set(a,r.style[l]),r.style[l]=n}),gC()&&s3(r))}function Zh(r,i){r.style&&(i.forEach((t,n)=>{const a=MC(n);r.style[a]=""}),gC()&&s3(r))}function r0(r){return Array.isArray(r)?1==r.length?r[0]:(0,ke.vP)(r):r}const DC=new RegExp("{{\\s*(.+?)\\s*}}","g");function l3(r){let i=[];if("string"==typeof r){let t;for(;t=DC.exec(r);)i.push(t[1]);DC.lastIndex=0}return i}function a0(r,i,t){const n=r.toString(),a=n.replace(DC,(l,v)=>{let A=i[v];return null==A&&(t.push(function YO(r){return new e.vHH(3003,!1)}()),A=""),A.toString()});return a==n?r:a}function wv(r){const i=[];let t=r.next();for(;!t.done;)i.push(t.value),t=r.next();return i}const kL=/-+([a-z0-9])/g;function MC(r){return r.replace(kL,(...i)=>i[1].toUpperCase())}function DL(r){return r.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Js(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 HO(r){return new e.vHH(3004,!1)}()}}function c3(r,i){return window.getComputedStyle(r)[i]}const Cv="*";function IL(r,i){const t=[];return"string"==typeof r?r.split(/\s*,\s*/).forEach(n=>function OL(r,i,t){if(":"==r[0]){const G=function LL(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 G)return void i.push(G);r=G}const n=r.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==n||n.length<4)return t.push(function XO(r){return new e.vHH(3015,!1)}()),i;const a=n[1],l=n[2],v=n[3];i.push(d3(a,v));"<"==l[0]&&!(a==Cv&&v==Cv)&&i.push(d3(v,a))}(n,t,i)):t.push(r),t}const kv=new Set(["true","1"]),Dv=new Set(["false","0"]);function d3(r,i){const t=kv.has(r)||Dv.has(r),n=kv.has(i)||Dv.has(i);return(a,l)=>{let v=r==Cv||r==a,A=i==Cv||i==l;return!v&&t&&"boolean"==typeof a&&(v=a?kv.has(r):Dv.has(r)),!A&&n&&"boolean"==typeof l&&(A=l?kv.has(i):Dv.has(i)),v&&A}}const NL=new RegExp("s*:selfs*,?","g");function EC(r,i,t,n){return new RL(r).build(i,t,n)}class RL{constructor(i){this._driver=i}build(i,t,n){const a=new YL(t);return this._resetContextStyleTimingState(a),Js(this,r0(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 jO(){return new e.vHH(3006,!1)}()),i.definitions.forEach(A=>{if(this._resetContextStyleTimingState(t),0==A.type){const G=A,V=G.name;V.toString().split(/\s*,\s*/).forEach(be=>{G.name=be,l.push(this.visitState(G,t))}),G.name=V}else if(1==A.type){const G=this.visitTransition(A,t);n+=G.queryCount,a+=G.depCount,v.push(G)}else t.errors.push(function ZO(){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(A=>{A instanceof Map&&A.forEach(G=>{l3(G).forEach(V=>{v.hasOwnProperty(V)||l.add(V)})})}),l.size&&(wv(l.values()),t.errors.push(function VO(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=Js(this,r0(i.animation),t);return{type:1,matchers:IL(i.expr,t.errors),animation:n,queryCount:t.queryCount,depCount:t.depCount,options:Vh(i.options)}}visitSequence(i,t){return{type:2,steps:i.steps.map(n=>Js(this,n,t)),options:Vh(i.options)}}visitGroup(i,t){const n=t.currentTime;let a=0;const l=i.steps.map(v=>{t.currentTime=n;const A=Js(this,v,t);return a=Math.max(a,t.currentTime),A});return t.currentTime=a,{type:3,steps:l,options:Vh(i.options)}}visitAnimate(i,t){const n=function UL(r,i){if(r.hasOwnProperty("duration"))return r;if("number"==typeof r)return AC(vv(r,i).duration,0,"");const t=r;if(t.split(/\s+/).some(l=>"{"==l.charAt(0)&&"{"==l.charAt(1))){const l=AC(0,0,"");return l.dynamic=!0,l.strValue=t,l}const a=vv(t,i);return AC(a.duration,a.delay,a.easing)}(i.timings,t.errors);t.currentAnimateTimings=n;let a,l=i.styles?i.styles:(0,ke.oB)({});if(5==l.type)a=this.visitKeyframes(l,t);else{let v=i.styles,A=!1;if(!v){A=!0;const V={};n.easing&&(V.easing=n.easing),v=(0,ke.oB)(V)}t.currentTime+=n.duration+n.delay;const G=this.visitStyle(v,t);G.isEmptyStep=A,a=G}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 A of a)"string"==typeof A?A===ke.l3?n.push(A):t.errors.push(new e.vHH(3002,!1)):n.push(r3(A));let l=!1,v=null;return n.forEach(A=>{if(A instanceof Map&&(A.has("easing")&&(v=A.get("easing"),A.delete("easing")),!l))for(let G of A.values())if(G.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((A,G)=>{const V=t.collectedStyles.get(t.currentQuerySelector),be=V.get(G);let ze=!0;be&&(l!=a&&l>=be.startTime&&a<=be.endTime&&(t.errors.push(function GO(r,i,t,n,a){return new e.vHH(3010,!1)}()),ze=!1),l=be.startTime),ze&&V.set(G,{startTime:l,endTime:a}),t.options&&function CL(r,i,t){const n=i.params||{},a=l3(r);a.length&&a.forEach(l=>{n.hasOwnProperty(l)||t.push(function BO(r){return new e.vHH(3001,!1)}())})}(A,t.options,t.errors)})})}visitKeyframes(i,t){const n={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function qO(){return new e.vHH(3011,!1)}()),n;let l=0;const v=[];let A=!1,G=!1,V=0;const be=i.steps.map(Ci=>{const si=this._makeStyleAst(Ci,t);let xi=null!=si.offset?si.offset:function HL(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}(si.styles),Mi=0;return null!=xi&&(l++,Mi=si.offset=xi),G=G||Mi<0||Mi>1,A=A||Mi0&&l{const xi=_t>0?si==Pt?1:_t*si:v[si],Mi=xi*ei;t.currentTime=jt+Xt.delay+Mi,Xt.duration=Mi,this._validateStyleAst(Ci,t),Ci.offset=xi,n.styles.push(Ci)}),n}visitReference(i,t){return{type:8,animation:Js(this,r0(i.animation),t),options:Vh(i.options)}}visitAnimateChild(i,t){return t.depCount++,{type:9,options:Vh(i.options)}}visitAnimateRef(i,t){return{type:10,animation:this.visitReference(i.animation,t),options:Vh(i.options)}}visitQuery(i,t){const n=t.currentQuerySelector,a=i.options||{};t.queryCount++,t.currentQuery=i;const[l,v]=function PL(r){const i=!!r.split(/\s*,\s*/).find(t=>":self"==t);return i&&(r=r.replace(NL,"")),r=r.replace(/@\*/g,yv).replace(/@\w+/g,t=>yv+"-"+t.slice(1)).replace(/:animating/g,CC),[r,i]}(i.selector);t.currentQuerySelector=n.length?n+" "+l:l,Qs(t.collectedStyles,t.currentQuerySelector,new Map);const A=Js(this,r0(i.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:l,limit:a.limit||0,optional:!!a.optional,includeSelf:v,animation:A,originalSelector:i.selector,options:Vh(i.options)}}visitStagger(i,t){t.currentQuery||t.errors.push(function KO(){return new e.vHH(3013,!1)}());const n="full"===i.timings?{duration:0,delay:0,easing:"full"}:vv(i.timings,t.errors,!0);return{type:12,animation:Js(this,r0(i.animation),t),timings:n,options:null}}}class YL{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 Vh(r){return r?(r=n0(r)).params&&(r.params=function BL(r){return r?n0(r):null}(r.params)):r={},r}function AC(r,i,t){return{duration:r,delay:i,easing:t}}function TC(r,i,t,n,a,l,v=null,A=!1){return{type:1,element:r,keyframes:i,preStyleProps:t,postStyleProps:n,duration:a,delay:l,totalTime:a+l,easing:v,subTimeline:A}}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 VL=new RegExp(":enter","g"),GL=new RegExp(":leave","g");function SC(r,i,t,n,a,l=new Map,v=new Map,A,G,V=[]){return(new qL).buildKeyframes(r,i,t,n,a,l,v,A,G,V)}class qL{buildKeyframes(i,t,n,a,l,v,A,G,V,be=[]){V=V||new Mv;const ze=new IC(i,t,V,a,l,be,[]);ze.options=G;const _t=G.delay?fd(G.delay):0;ze.currentTimeline.delayNextStep(_t),ze.currentTimeline.setStyles([v],null,ze.errors,G),Js(this,n,ze);const Pt=ze.timelines.filter(jt=>jt.containsAnimation());if(Pt.length&&A.size){let jt;for(let Xt=Pt.length-1;Xt>=0;Xt--){const ei=Pt[Xt];if(ei.element===t){jt=ei;break}}jt&&!jt.allowOnlyTimelineStyles()&&jt.setStyles([A],null,ze.errors,G)}return Pt.length?Pt.map(jt=>jt.buildKeyframes()):[TC(t,[],[],[],0,_t,"",!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:fd(a0(l,a?.params??{},t.errors));n.delayNextStep(v)}}}_visitSubInstructions(i,t,n){let l=t.currentTimeline.currentTime;const v=null!=n.duration?fd(n.duration):null,A=null!=n.delay?fd(n.delay):null;return 0!==v&&i.forEach(G=>{const V=t.appendInstructionToTimeline(G,v,A);l=Math.max(l,V.duration+V.delay)}),l}visitReference(i,t){t.updateOptions(i.options,!0),Js(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=Ev);const v=fd(l.delay);a.delayNextStep(v)}i.steps.length&&(i.steps.forEach(v=>Js(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?fd(i.options.delay):0;i.steps.forEach(v=>{const A=t.createSubContext(i.options);l&&A.delayNextStep(l),Js(this,v,A),a=Math.max(a,A.currentTimeline.currentTime),n.push(A.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 vv(t.params?a0(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,A=t.createSubContext().currentTimeline;A.easing=n.easing,i.styles.forEach(G=>{A.forwardTime((G.offset||0)*l),A.setStyles(G.styles,G.easing,t.errors,t.options),A.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(A),t.transformIntoNewTimeline(a+l),t.previousNode=i}visitQuery(i,t){const n=t.currentTimeline.currentTime,a=i.options||{},l=a.delay?fd(a.delay):0;l&&(6===t.previousNode.type||0==n&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Ev);let v=n;const A=t.invokeQuery(i.selector,i.originalSelector,i.limit,i.includeSelf,!!a.optional,t.errors);t.currentQueryTotal=A.length;let G=null;A.forEach((V,be)=>{t.currentQueryIndex=be;const ze=t.createSubContext(i.options,V);l&&ze.delayNextStep(l),V===t.element&&(G=ze.currentTimeline),Js(this,i.animation,ze),ze.currentTimeline.applyStylesToKeyframe(),v=Math.max(v,ze.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(v),G&&(t.currentTimeline.mergeTimelineCollectedStyles(G),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=i}visitStagger(i,t){const n=t.parentContext,a=t.currentTimeline,l=i.timings,v=Math.abs(l.duration),A=v*(t.currentQueryTotal-1);let G=v*t.currentQueryIndex;switch(l.duration<0?"reverse":l.easing){case"reverse":G=A-G;break;case"full":G=n.currentStaggerTime}const be=t.currentTimeline;G&&be.delayNextStep(G);const ze=be.currentTime;Js(this,i.animation,t),t.previousNode=i,n.currentStaggerTime=a.currentTime-ze+(a.startTime-n.currentTimeline.startTime)}}const Ev={};class IC{constructor(i,t,n,a,l,v,A,G){this._driver=i,this.element=t,this.subInstructions=n,this._enterClassName=a,this._leaveClassName=l,this.errors=v,this.timelines=A,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Ev,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=G||new Av(this._driver,t,0),A.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=fd(n.duration)),null!=n.delay&&(a.delay=fd(n.delay));const l=n.params;if(l){let v=a.params;v||(v=this.options.params={}),Object.keys(l).forEach(A=>{(!t||!v.hasOwnProperty(A))&&(v[A]=a0(l[A],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 IC(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=Ev,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 WL(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 A=[];if(a&&A.push(this.element),i.length>0){i=(i=i.replace(VL,"."+this._enterClassName)).replace(GL,"."+this._leaveClassName);let V=this._driver.query(this.element,i,1!=n);0!==n&&(V=n<0?V.slice(V.length+n,V.length):V.slice(0,n)),A.push(...V)}return!l&&0==A.length&&v.push(function $O(r){return new e.vHH(3014,!1)}()),A}}class Av{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 Av(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||ke.l3),this._currentKeyframe.set(t,ke.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(i,t,n,a){t&&this._previousKeyframe.set("easing",t);const l=a&&a.params||{},v=function QL(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,ke.l3)}else Ru(a,t)}),t}(i,this._globalTimelineStyles);for(let[A,G]of v){const V=a0(G,l,n);this._pendingStyles.set(A,V),this._localTimelineStyles.has(A)||this._backFill.set(A,this._globalTimelineStyles.get(A)??ke.l3),this._updateStyle(A,V)}}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((A,G)=>{const V=Ru(A,new Map,this._backFill);V.forEach((be,ze)=>{be===ke.k1?i.add(ze):be===ke.l3&&t.add(ze)}),n||V.set("offset",G/this.duration),a.push(V)});const l=i.size?wv(i.values()):[],v=t.size?wv(t.values()):[];if(n){const A=a[0],G=new Map(A);A.set("offset",0),G.set("offset",1),a=[A,G]}return TC(this.element,a,l,v,this.duration,this.startTime,this.easing,!1)}}class WL extends Av{constructor(i,t,n,a,l,v,A=!1){super(i,t,v.delay),this.keyframes=n,this.preStyleProps=a,this.postStyleProps=l,this._stretchStartingKeyframe=A,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,A=t/v,G=Ru(i[0]);G.set("offset",0),l.push(G);const V=Ru(i[0]);V.set("offset",m3(A)),l.push(V);const be=i.length-1;for(let ze=1;ze<=be;ze++){let _t=Ru(i[ze]);const Pt=_t.get("offset");_t.set("offset",m3((t+Pt*n)/v)),l.push(_t)}n=v,t=0,a="",i=l}return TC(this.element,i,this.preStyleProps,this.postStyleProps,n,t,a,!0)}}function m3(r,i=3){const t=Math.pow(10,i-1);return Math.round(r*t)/t}class OC{}const JL=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 KL extends OC{normalizePropertyName(i,t){return MC(i)}normalizeStyleValue(i,t,n,a){let l="";const v=n.toString().trim();if(JL.has(t)&&0!==n&&"0"!==n)if("number"==typeof n)l="px";else{const A=n.match(/^[+-]?[\d\.]+([a-z]*)$/);A&&0==A[1].length&&a.push(function UO(r,i){return new e.vHH(3005,!1)}())}return v+l}}function f3(r,i,t,n,a,l,v,A,G,V,be,ze,_t){return{type:0,element:r,triggerName:i,isRemovalTransition:a,fromState:t,fromStyles:l,toState:n,toStyles:v,timelines:A,queriedElements:G,preStyleProps:V,postStyleProps:be,totalTime:ze,errors:_t}}const LC={};class p3{constructor(i,t,n){this._triggerName=i,this.ast=t,this._stateStyles=n}match(i,t,n,a){return function $L(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,A,G,V,be){const ze=[],_t=this.ast.options&&this.ast.options.params||LC,jt=this.buildStyles(n,A&&A.params||LC,ze),Xt=G&&G.params||LC,ei=this.buildStyles(a,Xt,ze),Ci=new Set,si=new Map,xi=new Map,Mi="void"===a,un={params:XL(Xt,_t),delay:this.ast.options?.delay},xn=be?[]:SC(i,t,this.ast.animation,l,v,jt,ei,un,V,ze);let Cn=0;if(xn.forEach(sr=>{Cn=Math.max(sr.duration+sr.delay,Cn)}),ze.length)return f3(t,this._triggerName,n,a,Mi,jt,ei,[],[],si,xi,Cn,ze);xn.forEach(sr=>{const sa=sr.element,zo=Qs(si,sa,new Set);sr.preStyleProps.forEach(yr=>zo.add(yr));const ms=Qs(xi,sa,new Set);sr.postStyleProps.forEach(yr=>ms.add(yr)),sa!==t&&Ci.add(sa)});const hr=wv(Ci.values());return f3(t,this._triggerName,n,a,Mi,jt,ei,xn,hr,si,xi,Cn)}}function XL(r,i){const t=n0(i);for(const n in r)r.hasOwnProperty(n)&&null!=r[n]&&(t[n]=r[n]);return t}class eN{constructor(i,t,n){this.styles=i,this.defaultParams=t,this.normalizer=n}buildStyles(i,t){const n=new Map,a=n0(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,A)=>{v&&(v=a0(v,a,t));const G=this.normalizer.normalizePropertyName(A,t);v=this.normalizer.normalizeStyleValue(A,G,v,t),n.set(A,v)})}),n}}class iN{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 eN(a.style,a.options&&a.options.params||{},n))}),g3(this.states,"true","1"),g3(this.states,"false","0"),t.transitions.forEach(a=>{this.transitionFactories.push(new p3(i,a,this.states))}),this.fallbackTransition=function nN(r,i,t){return new p3(r,{type:1,animation:{type:2,steps:[],options:null},matchers:[(v,A)=>!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 g3(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 rN=new Mv;class aN{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=EC(this._driver,t,n,a);if(n.length)throw function aL(r){return new e.vHH(3503,!1)}();this._animations.set(i,l)}_buildPlayer(i,t,n){const a=i.element,l=qM(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 A=new Map;if(l?(v=SC(this._driver,t,l,FC,_v,new Map,new Map,n,rN,a),v.forEach(be=>{const ze=Qs(A,be.element,new Map);be.postStyleProps.forEach(_t=>ze.set(_t,null))})):(a.push(function oL(){return new e.vHH(3300,!1)}()),v=[]),a.length)throw function sL(r){return new e.vHH(3504,!1)}();A.forEach((be,ze)=>{be.forEach((_t,Pt)=>{be.set(Pt,this._driver.computeStyle(ze,Pt,ke.l3))})});const V=Nu(v.map(be=>{const ze=A.get(be.element);return this._buildPlayer(be,new Map,ze)}));return this._playersById.set(i,V),V.onDestroy(()=>this.destroy(i)),this.players.push(V),V}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 lL(r){return new e.vHH(3301,!1)}();return t}listen(i,t,n,a){const l=yC(t,"","","");return _C(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 _3="ng-animate-queued",NC="ng-animate-disabled",dN=[],b3={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},uN={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Ml="__ng_removed";class RC{get params(){return this.options.params}constructor(i,t=""){this.namespaceId=t;const n=i&&i.hasOwnProperty("value");if(this.value=function pN(r){return r??null}(n?i.value:i),n){const l=n0(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 o0="void",PC=new RC(o0);class hN{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,El(t,this._hostClassName)}listen(i,t,n,a){if(!this._triggers.has(t))throw function cL(r,i){return new e.vHH(3302,!1)}();if(null==n||0==n.length)throw function dL(r){return new e.vHH(3303,!1)}();if(!function gN(r){return"start"==r||"done"==r}(n))throw function uL(r,i){return new e.vHH(3400,!1)}();const l=Qs(this._elementListeners,i,[]),v={name:t,phase:n,callback:a};l.push(v);const A=Qs(this._engine.statesByElement,i,new Map);return A.has(t)||(El(i,bv),El(i,bv+"-"+t),A.set(t,PC)),()=>{this._engine.afterFlush(()=>{const G=l.indexOf(v);G>=0&&l.splice(G,1),this._triggers.has(t)||A.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 hL(r){return new e.vHH(3401,!1)}();return t}trigger(i,t,n,a=!0){const l=this._getTrigger(t),v=new BC(this.id,t,i);let A=this._engine.statesByElement.get(i);A||(El(i,bv),El(i,bv+"-"+t),this._engine.statesByElement.set(i,A=new Map));let G=A.get(t);const V=new RC(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&G&&V.absorbOptions(G.options),A.set(t,V),G||(G=PC),V.value!==o0&&G.value===V.value){if(!function yN(r,i){const t=Object.keys(r),n=Object.keys(i);if(t.length!=n.length)return!1;for(let a=0;a{Zh(i,ei),Lc(i,Ci)})}return}const _t=Qs(this._engine.playersByElement,i,[]);_t.forEach(Xt=>{Xt.namespaceId==this.id&&Xt.triggerName==t&&Xt.queued&&Xt.destroy()});let Pt=l.matchTransition(G.value,V.value,i,V.params),jt=!1;if(!Pt){if(!a)return;Pt=l.fallbackTransition,jt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:i,triggerName:t,transition:Pt,fromState:G,toState:V,player:v,isFallbackTransition:jt}),jt||(El(i,_3),v.onStart(()=>{Vf(i,_3)})),v.onDone(()=>{let Xt=this.players.indexOf(v);Xt>=0&&this.players.splice(Xt,1);const ei=this._engine.playersByElement.get(i);if(ei){let Ci=ei.indexOf(v);Ci>=0&&ei.splice(Ci,1)}}),this.players.push(v),_t.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,yv,!0);n.forEach(a=>{if(a[Ml])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 A=[];if(l.forEach((G,V)=>{if(v.set(V,G.value),this._triggers.has(V)){const be=this.trigger(i,V,o0,a);be&&A.push(be)}}),A.length)return this._engine.markElementAsRemoved(this.id,i,!0,t,v),n&&Nu(A).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 G=this._triggers.get(v).fallbackTransition,V=n.get(v)||PC,be=new RC(o0),ze=new BC(this.id,v,i);this._engine.totalQueuedPlayers++,this._queue.push({element:i,triggerName:v,transition:G,fromState:V,toState:be,player:ze,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[Ml];(!l||l===b3)&&(n.afterFlush(()=>this.clearElementCache(i)),n.destroyInnerAnimations(i),n._onRemovalComplete(i,t))}}insertNode(i,t){El(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(A=>{if(A.name==n.triggerName){const G=yC(l,n.triggerName,n.fromState.value,n.toState.value);G._data=i,_C(n.player,A.phase,G,A.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 mN{_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 hN(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,A=this.driver.getParentElement(t);for(;A;){const G=a.get(A);if(G){const V=n.indexOf(G);n.splice(V+1,0,i),v=!0;break}A=this.driver.getParentElement(A)}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(Tv(t)){const l=this._fetchNamespace(i);if(l)return l.trigger(t,n,a),!0}return!1}insertNode(i,t,n,a){if(!Tv(t))return;const l=t[Ml];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),El(i,NC)):this.disabledNodes.has(i)&&(this.disabledNodes.delete(i),Vf(i,NC))}removeNode(i,t,n,a){if(Tv(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[Ml]={namespaceId:i,setForRemoval:a,hasAnimation:n,removedBeforeQueried:!1,previousTriggersValues:l}}listen(i,t,n,a,l){return Tv(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,yv,!0);t.forEach(n=>this.destroyActiveAnimationsForElement(n)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(i,CC,!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 Nu(this.players).onDone(()=>i());i()})}processLeaveNode(i){const t=i[Ml];if(t&&t.setForRemoval){if(i[Ml]=b3,t.namespaceId){this.destroyInnerAnimations(i);const n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(i)}this._onRemovalComplete(i,t.setForRemoval)}i.classList?.contains(NC)&&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?Nu(t).onDone(()=>{n.forEach(a=>a())}):n.forEach(a=>a())}}reportError(i){throw function mL(r){return new e.vHH(3402,!1)}()}_flushAnimations(i,t){const n=new Mv,a=[],l=new Map,v=[],A=new Map,G=new Map,V=new Map,be=new Set;this.disabledNodes.forEach(Xi=>{be.add(Xi);const kn=this.driver.query(Xi,".ng-animate-queued",!0);for(let Sn=0;Sn{const Sn=FC+Xt++;jt.set(kn,Sn),Xi.forEach(Fr=>El(Fr,Sn))});const ei=[],Ci=new Set,si=new Set;for(let Xi=0;XiCi.add(Fr)):si.add(kn))}const xi=new Map,Mi=w3(_t,Array.from(Ci));Mi.forEach((Xi,kn)=>{const Sn=_v+Xt++;xi.set(kn,Sn),Xi.forEach(Fr=>El(Fr,Sn))}),i.push(()=>{Pt.forEach((Xi,kn)=>{const Sn=jt.get(kn);Xi.forEach(Fr=>Vf(Fr,Sn))}),Mi.forEach((Xi,kn)=>{const Sn=xi.get(kn);Xi.forEach(Fr=>Vf(Fr,Sn))}),ei.forEach(Xi=>{this.processLeaveNode(Xi)})});const un=[],xn=[];for(let Xi=this._namespaceList.length-1;Xi>=0;Xi--)this._namespaceList[Xi].drainQueuedTransitions(t).forEach(Sn=>{const Fr=Sn.player,To=Sn.element;if(un.push(Fr),this.collectedEnterElements.length){const Go=To[Ml];if(Go&&Go.setForMove){if(Go.previousTriggersValues&&Go.previousTriggersValues.has(Sn.triggerName)){const Wh=Go.previousTriggersValues.get(Sn.triggerName),Al=this.statesByElement.get(Sn.element);if(Al&&Al.has(Sn.triggerName)){const Jv=Al.get(Sn.triggerName);Jv.value=Wh,Al.set(Sn.triggerName,Jv)}}return void Fr.destroy()}}const Rc=!ze||!this.driver.containsElement(ze,To),Xs=xi.get(To),Pu=jt.get(To),Aa=this._buildInstruction(Sn,n,Pu,Xs,Rc);if(Aa.errors&&Aa.errors.length)return void xn.push(Aa);if(Rc)return Fr.onStart(()=>Zh(To,Aa.fromStyles)),Fr.onDestroy(()=>Lc(To,Aa.toStyles)),void a.push(Fr);if(Sn.isFallbackTransition)return Fr.onStart(()=>Zh(To,Aa.fromStyles)),Fr.onDestroy(()=>Lc(To,Aa.toStyles)),void a.push(Fr);const _E=[];Aa.timelines.forEach(Go=>{Go.stretchStartingKeyframe=!0,this.disabledNodes.has(Go.element)||_E.push(Go)}),Aa.timelines=_E,n.append(To,Aa.timelines),v.push({instruction:Aa,player:Fr,element:To}),Aa.queriedElements.forEach(Go=>Qs(A,Go,[]).push(Fr)),Aa.preStyleProps.forEach((Go,Wh)=>{if(Go.size){let Al=G.get(Wh);Al||G.set(Wh,Al=new Set),Go.forEach((Jv,ak)=>Al.add(ak))}}),Aa.postStyleProps.forEach((Go,Wh)=>{let Al=V.get(Wh);Al||V.set(Wh,Al=new Set),Go.forEach((Jv,ak)=>Al.add(ak))})});if(xn.length){const Xi=[];xn.forEach(kn=>{Xi.push(function fL(r,i){return new e.vHH(3505,!1)}())}),un.forEach(kn=>kn.destroy()),this.reportError(Xi)}const Cn=new Map,hr=new Map;v.forEach(Xi=>{const kn=Xi.element;n.has(kn)&&(hr.set(kn,kn),this._beforeAnimationBuild(Xi.player.namespaceId,Xi.instruction,Cn))}),a.forEach(Xi=>{const kn=Xi.element;this._getPreviousPlayers(kn,!1,Xi.namespaceId,Xi.triggerName,null).forEach(Fr=>{Qs(Cn,kn,[]).push(Fr),Fr.destroy()})});const sr=ei.filter(Xi=>F3(Xi,G,V)),sa=new Map;v3(sa,this.driver,si,V,ke.l3).forEach(Xi=>{F3(Xi,G,V)&&sr.push(Xi)});const ms=new Map;Pt.forEach((Xi,kn)=>{v3(ms,this.driver,new Set(Xi),G,ke.k1)}),sr.forEach(Xi=>{const kn=sa.get(Xi),Sn=ms.get(Xi);sa.set(Xi,new Map([...Array.from(kn?.entries()??[]),...Array.from(Sn?.entries()??[])]))});const yr=[],Ks=[],$s={};v.forEach(Xi=>{const{element:kn,player:Sn,instruction:Fr}=Xi;if(n.has(kn)){if(be.has(kn))return Sn.onDestroy(()=>Lc(kn,Fr.toStyles)),Sn.disabled=!0,Sn.overrideTotalTime(Fr.totalTime),void a.push(Sn);let To=$s;if(hr.size>1){let Xs=kn;const Pu=[];for(;Xs=Xs.parentNode;){const Aa=hr.get(Xs);if(Aa){To=Aa;break}Pu.push(Xs)}Pu.forEach(Aa=>hr.set(Aa,To))}const Rc=this._buildAnimation(Sn.namespaceId,Fr,Cn,l,ms,sa);if(Sn.setRealPlayer(Rc),To===$s)yr.push(Sn);else{const Xs=this.playersByElement.get(To);Xs&&Xs.length&&(Sn.parentPlayer=Nu(Xs)),a.push(Sn)}}else Zh(kn,Fr.fromStyles),Sn.onDestroy(()=>Lc(kn,Fr.toStyles)),Ks.push(Sn),be.has(kn)&&a.push(Sn)}),Ks.forEach(Xi=>{const kn=l.get(Xi.element);if(kn&&kn.length){const Sn=Nu(kn);Xi.setRealPlayer(Sn)}}),a.forEach(Xi=>{Xi.parentPlayer?Xi.syncPlayerEvents(Xi.parentPlayer):Xi.destroy()});for(let Xi=0;Xi!Rc.destroyed);To.length?_N(this,kn,To):this.processLeaveNode(kn)}return ei.length=0,yr.forEach(Xi=>{this.players.push(Xi),Xi.onDone(()=>{Xi.destroy();const kn=this.players.indexOf(Xi);this.players.splice(kn,1)}),Xi.play()}),yr}elementContainsData(i,t){let n=!1;const a=t[Ml];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 A=this.playersByQueriedElement.get(i);A&&(v=A)}else{const A=this.playersByElement.get(i);if(A){const G=!l||l==o0;A.forEach(V=>{V.queued||!G&&V.triggerName!=a||v.push(V)})}}return(n||a)&&(v=v.filter(A=>!(n&&n!=A.namespaceId||a&&a!=A.triggerName))),v}_beforeAnimationBuild(i,t,n){const l=t.element,v=t.isRemovalTransition?void 0:i,A=t.isRemovalTransition?void 0:t.triggerName;for(const G of t.timelines){const V=G.element,be=V!==l,ze=Qs(n,V,[]);this._getPreviousPlayers(V,be,v,A,t.toState).forEach(Pt=>{const jt=Pt.getRealPlayer();jt.beforeDestroy&&jt.beforeDestroy(),Pt.destroy(),ze.push(Pt)})}Zh(l,t.fromStyles)}_buildAnimation(i,t,n,a,l,v){const A=t.triggerName,G=t.element,V=[],be=new Set,ze=new Set,_t=t.timelines.map(jt=>{const Xt=jt.element;be.add(Xt);const ei=Xt[Ml];if(ei&&ei.removedBeforeQueried)return new ke.ZN(jt.duration,jt.delay);const Ci=Xt!==G,si=function bN(r){const i=[];return x3(r,i),i}((n.get(Xt)||dN).map(Cn=>Cn.getRealPlayer())).filter(Cn=>!!Cn.element&&Cn.element===Xt),xi=l.get(Xt),Mi=v.get(Xt),un=qM(0,this._normalizer,0,jt.keyframes,xi,Mi),xn=this._buildPlayer(jt,un,si);if(jt.subTimeline&&a&&ze.add(Xt),Ci){const Cn=new BC(i,A,Xt);Cn.setRealPlayer(xn),V.push(Cn)}return xn});V.forEach(jt=>{Qs(this.playersByQueriedElement,jt.element,[]).push(jt),jt.onDone(()=>function fN(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,jt.element,jt))}),be.forEach(jt=>El(jt,n3));const Pt=Nu(_t);return Pt.onDestroy(()=>{be.forEach(jt=>Vf(jt,n3)),Lc(G,t.toStyles)}),ze.forEach(jt=>{Qs(a,jt,[]).push(Pt)}),Pt}_buildPlayer(i,t,n){return t.length>0?this.driver.animate(i.element,t,i.duration,i.delay,i.easing,n):new ke.ZN(i.duration,i.delay)}}class BC{constructor(i,t,n){this.namespaceId=i,this.triggerName=t,this.element=n,this._player=new ke.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=>_C(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){Qs(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 Tv(r){return r&&1===r.nodeType}function y3(r,i){const t=r.style.display;return r.style.display=i??"none",t}function v3(r,i,t,n,a){const l=[];t.forEach(G=>l.push(y3(G)));const v=[];n.forEach((G,V)=>{const be=new Map;G.forEach(ze=>{const _t=i.computeStyle(V,ze,a);be.set(ze,_t),(!_t||0==_t.length)&&(V[Ml]=uN,v.push(V))}),r.set(V,be)});let A=0;return t.forEach(G=>y3(G,l[A++])),v}function w3(r,i){const t=new Map;if(r.forEach(A=>t.set(A,[])),0==i.length)return t;const n=1,a=new Set(i),l=new Map;function v(A){if(!A)return n;let G=l.get(A);if(G)return G;const V=A.parentNode;return G=t.has(V)?V:a.has(V)?n:v(V),l.set(A,G),G}return i.forEach(A=>{const G=v(A);G!==n&&t.get(G).push(A)}),t}function El(r,i){r.classList?.add(i)}function Vf(r,i){r.classList?.remove(i)}function _N(r,i,t){Nu(t).onDone(()=>r.processLeaveNode(i))}function x3(r,i){for(let t=0;ta.add(l)):i.set(r,n),t.delete(r),!0}class Sv{constructor(i,t,n){this.bodyNode=i,this._driver=t,this._normalizer=n,this._triggerCache={},this.onRemovalComplete=(a,l)=>{},this._transitionEngine=new mN(i,t,n),this._timelineEngine=new aN(i,t,n),this._transitionEngine.onRemovalComplete=(a,l)=>this.onRemovalComplete(a,l)}registerTrigger(i,t,n,a,l){const v=i+"-"+a;let A=this._triggerCache[v];if(!A){const G=[],V=[],be=EC(this._driver,l,G,V);if(G.length)throw function nL(r,i){return new e.vHH(3404,!1)}();A=function tN(r,i,t){return new iN(r,i,t)}(a,be,this._normalizer),this._triggerCache[v]=A}this._transitionEngine.registerTrigger(t,a,A)}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]=WM(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,A]=WM(n);return this._timelineEngine.listen(v,t,A,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 wN=(()=>{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&&Lc(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Lc(this._element,this._initialStyles),this._endStyles&&(Lc(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(r.initialStylesByElement.delete(this._element),this._startStyles&&(Zh(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Zh(this._element,this._endStyles),this._endStyles=null),Lc(this._element,this._initialStyles),this._state=3)}}return r.initialStylesByElement=new WeakMap,r})();function YC(r){let i=null;return r.forEach((t,n)=>{(function xN(r){return"display"===r||"position"===r})(n)&&(i=i||new Map,i.set(n,t))}),i}class C3{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:c3(this.element,a))}),this.currentSnapshot=i}triggerCallback(i){const t="start"===i?this._onStartFns:this._onDoneFns;t.forEach(n=>n()),t.length=0}}class FN{validateStyleProperty(i){return!0}validateAnimatableStyleProperty(i){return!0}matchesElement(i,t){return!1}containsElement(i,t){return $M(i,t)}getParentElement(i){return wC(i)}query(i,t,n){return XM(i,t,n)}computeStyle(i,t,n){return window.getComputedStyle(i)[t]}animate(i,t,n,a,l,v=[]){const G={duration:n,delay:a,fill:0==a?"both":"forwards"};l&&(G.easing=l);const V=new Map,be=v.filter(Pt=>Pt instanceof C3);(function ML(r,i){return 0===r||0===i})(n,a)&&be.forEach(Pt=>{Pt.currentSnapshot.forEach((jt,Xt)=>V.set(Xt,jt))});let ze=function FL(r){return r.length?r[0]instanceof Map?r:r.map(i=>r3(i)):[]}(t).map(Pt=>Ru(Pt));ze=function EL(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(A,c3(r,A)))}}return i}(i,ze,V);const _t=function vN(r,i){let t=null,n=null;return Array.isArray(i)&&i.length?(t=YC(i[0]),i.length>1&&(n=YC(i[i.length-1]))):i instanceof Map&&(t=YC(i)),t||n?new wN(r,t,n):null}(i,ze);return new C3(i,ze,G,_t)}}let CN=(()=>{class r extends ke._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,ke.vP)(t):t;return k3(this._renderer,null,n,"register",[a]),new kN(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 kN extends ke.LC{constructor(i,t){super(),this._id=i,this._renderer=t}create(i,t){return new DN(this._id,i,t||{},this._renderer)}}class DN{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 k3(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 k3(r,i,t,n,a){return r.setProperty(i,`@@${t}:${n}`,a)}const D3="@.disabled";let MN=(()=>{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 A=v?.parentNode(l);A&&v.removeChild(A,l)}}createRenderer(t,n){const l=this.delegate.createRenderer(t,n);if(!(t&&n&&n.data&&n.data.animation)){let be=this._rendererCache.get(l);return be||(be=new M3("",l,this.engine,()=>this._rendererCache.delete(l)),this._rendererCache.set(l,be)),be}const v=n.id,A=n.id+"-"+this._currentId;this._currentId++,this.engine.register(A,t);const G=be=>{Array.isArray(be)?be.forEach(G):this.engine.registerTrigger(v,A,t,be.name,be)};return n.data.animation.forEach(G),new EN(this,A,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,A]=l;v(A)}),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(Sv),e.LFG(e.R0b))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r})();class M3{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==D3?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 EN extends M3{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==D3?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 AN(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 TN(r){const i=r.indexOf(".");return[r.substring(0,i),r.slice(i+1)]}(l)),this.engine.listen(this.namespaceId,a,l,v,A=>{this.factory.scheduleListenerCallback(A._data||-1,n,A)})}return this.delegate.listen(i,t,n)}}let SN=(()=>{class r extends Sv{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(xC),e.LFG(OC),e.LFG(e.z2F))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r})();const E3=[{provide:ke._j,useClass:CN},{provide:OC,useFactory:function IN(){return new KL}},{provide:Sv,useClass:SN},{provide:e.FYo,useFactory:function ON(r,i,t){return new MN(r,i,t)},deps:[f.se,Sv,e.R0b]}],HC=[{provide:xC,useFactory:()=>new FN},{provide:e.QbO,useValue:"BrowserAnimations"},...E3],A3=[{provide:xC,useClass:e3},{provide:e.QbO,useValue:"NoopAnimations"},...E3];let LN=(()=>{class r{static withConfig(t){return{ngModule:r,providers:t.disableAnimations?A3:HC}}}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:HC,imports:[f.b2]}),r})(),GN=(()=>{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})(),QN=(()=>{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})(),e8=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({}),r})(),c8=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[e8,ae.BQ,ae.BQ]}),r})(),F8=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[xr.Cl]}),r})(),H8=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[ae.BQ,F8,ae.BQ]}),r})(),G3=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({}),r})(),eR=(()=>{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,G3,ae.BQ,G3]}),r})(),tR=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[I.vT]}),r})(),tk=(()=>{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 hR={provide:tk,deps:[[new e.FiY,new e.tp0,tk]],useFactory:function uR(r){return r||new tk}};let pR=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[hR,ae.rD],imports:[ae.BQ,F.ez,k.eL,tR,Vd,ae.si,ae.BQ]}),r})(),ik=(()=>{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 vR={provide:ik,deps:[[new e.FiY,new e.tp0,ik]],useFactory:function yR(r){return r||new ik}};let wR=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[vR],imports:[F.ez,kt.ot,cF,mg]}),r})(),FR=(()=>{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})(),DR=(()=>{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 Gh{constructor(i,t){this.start=i,this.end=t}}const $3={provide:new e.OlP("mat-datepicker-scroll-strategy"),deps:[_.aV],useFactory:function NR(r){return()=>r.scrollStrategies.reposition()}};let tE=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[DR,$3],imports:[F.ez,kt.ot,_.U8,g.rt,k.eL,ae.BQ,xr.ZD]}),r})(),iE=(()=>{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 jR=["connectionContainer"],ZR=["inputContainer"],VR=["label"];function zR(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 GR(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 qR(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 WR(r,i){1&r&&e.Hsn(0,3,["*ngSwitchCase","true"])}function QR(r,i){1&r&&(e.TgZ(0,"span",23),e._uU(1," *"),e.qZA())}function JR(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,qR,4,1,"ng-container",12),e.YNc(3,WR,1,0,"ng-content",12),e.YNc(4,QR,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 KR(r,i){1&r&&(e.TgZ(0,"div",24),e.Hsn(1,4),e.qZA())}function $R(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 XR(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 eP(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 tP(r,i){if(1&r&&(e.TgZ(0,"div",27),e.YNc(1,eP,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 iP=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],nP=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],rP=new e.OlP("MatHint");let nE=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["mat-label"]]}),r})(),aP=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["mat-placeholder"]]}),r})(),rE=0;const sP=(0,ae.pj)(class{constructor(r){this._elementRef=r}},"primary"),lP=new e.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS");let cP=(()=>{class r extends sP{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,A,G){super(t),this._changeDetectorRef=n,this._dir=a,this._defaults=l,this._platform=v,this._ngZone=A,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-"+rE++,this._labelId="mat-form-field-label-"+rE++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==G,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,L.O)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe((0,Ji.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,Ji.R)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,Ue.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,L.O)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,L.O)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,Ji.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,tc.R)(this._label.nativeElement,"transitionend").pipe((0,Oe.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 be=n.querySelectorAll(`${a}, ${l}`);for(let ze=0;ze0?.75*jt+10:0}for(let be=0;be{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,ul.Q8,ae.BQ]}),r})(),sE=(()=>{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:[Zu,oE,ae.BQ,Zu,oE]}),r})();function dP(r,i){}const lE_params_enterAnimationDuration="150ms",lE_params_exitAnimationDuration="75ms";class cE extends Mt{constructor(){super(...arguments),this.enterAnimationDuration=ui.params.enterAnimationDuration,this.exitAnimationDuration=ui.params.exitAnimationDuration}}let uP=(()=>{class r extends pi{_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,A,G,V,be){super(t,n,a,l,v,A,G,be),this._changeDetectorRef=V,this._state="enter"}_getAnimationState(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||lE_params_enterAnimationDuration,exitAnimationDuration:this._config.exitAnimationDuration||lE_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(cE),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,dP,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:[mn.dialogContainer]}}),r})();class hP extends xe{}const mP=new e.OlP("MatDialogData"),fP=new e.OlP("mat-dialog-default-options"),dE=new e.OlP("mat-dialog-scroll-strategy"),gP={provide:dE,deps:[_.aV],useFactory:function pP(r){return()=>r.scrollStrategies.block()}};let _P=(()=>{class r extends fi{constructor(t,n,a,l,v,A,G,V){super(t,n,l,A,G,v,hP,uP,mP,V),this.dialogConfigClass=cE}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(_.aV),e.LFG(e.zs3),e.LFG(F.Ye,8),e.LFG(fP,8),e.LFG(dE),e.LFG(r,12),e.LFG(_.Xj),e.LFG(e.QbO,8))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r})(),bP=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[_P,gP],imports:[pe,_.U8,k.eL,ae.BQ,ae.BQ]}),r})();const uE=new e.OlP("ngx-mat-date-formats");class Gv 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 SP=new e.OlP("NGX_MAT_DATE_RANGE_SELECTION_STRATEGY");let IP=(()=>{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 Gh(a,l)}createPreview(t,n){let a=null,l=null;return n.start&&!n.end&&t&&(a=n.start,l=t),new Gh(a,l)}}return r.\u0275fac=function(t){return new(t||r)(e.LFG(Gv))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r})();function hE(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 LP={provide:ha,useExisting:(0,e.Gpc)(()=>fE),multi:!0},NP={provide:Ba,useExisting:(0,e.Gpc)(()=>fE),multi:!0};class Wv{constructor(i,t){this.target=i,this.targetElement=t,this.value=this.target.value}}let qh,fE=(()=>{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=po.w0.EMPTY,this._localeSubscription=po.w0.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatetimePickerParse:{text:this._elementRef.nativeElement.value}},this._minValidator=v=>{const A=this._getValidDateOrNull(this._dateAdapter.deserialize(v.value));return!this.min||!A||this._dateAdapter.compareDateWithTime(this.min,A,this._datepicker.showSeconds)<=0?null:{matDatetimePickerMin:{min:this.min,actual:A}}},this._maxValidator=v=>{const A=this._getValidDateOrNull(this._dateAdapter.deserialize(v.value));return!this.max||!A||this._dateAdapter.compareDateWithTime(this.max,A,this._datepicker.showSeconds)>=0?null:{matDatetimePickerMax:{max:this.max,actual:A}}},this._filterValidator=v=>{const A=this._getValidDateOrNull(this._dateAdapter.deserialize(v.value));return this._dateFilter&&A&&!this._dateFilter(A)?{matDatetimePickerFilter:!0}:null},this._validator=io.compose([this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]),this._lastValueValid=!1,!this._dateAdapter)throw hE("NgxMatDateAdapter");if(!this._dateFormats)throw hE("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 Wv(this,this._elementRef.nativeElement)),this.dateChange.emit(new Wv(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===S.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 Wv(this,this._elementRef.nativeElement))):n!==this._lastValueValid&&this._validatorOnChange()}_onChange(){this.dateChange.emit(new Wv(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(Gv,8),e.Y36(uE,8),e.Y36(cP,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([LP,NP,{provide:u1,useExisting:r}])]}),r})(),pE=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[F.ez,sE,Tm,Am,Vd,iE]}),r})(),RP=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[$3,{provide:SP,useClass:IP}],imports:[F.ez,tE,bP,k.eL,Am,Vd,iE,sE,pE]}),r})();try{qh=typeof Intl<"u"}catch{qh=!1}const PP={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"]},BP=Qv(31,r=>String(r+1)),YP={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},HP=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function Qv(r,i){const t=Array(r);for(let n=0;n{class r extends Gv{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(qh){const n=new Intl.DateTimeFormat(this.locale,{month:t,timeZone:"utc"});return Qv(12,a=>this._stripDirectionalityCharacters(this._format(n,new Date(2017,a,1))))}return PP[t]}getDateNames(){if(qh){const t=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Qv(31,n=>this._stripDirectionalityCharacters(this._format(t,new Date(2017,0,n+1))))}return BP}getDayOfWeekNames(t){if(qh){const n=new Intl.DateTimeFormat(this.locale,{weekday:t,timeZone:"utc"});return Qv(7,a=>this._stripDirectionalityCharacters(this._format(n,new Date(2017,0,a+1))))}return YP[t]}getYearName(t){if(qh){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(qh){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(HP.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 gE={year:"numeric",month:"numeric",day:"numeric",hour12:!1,hour:"2-digit",minute:"2-digit",second:"2-digit"},jP={parse:{dateInput:gE},display:{dateInput:gE,monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let ZP=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[{provide:Gv,useClass:UP}],imports:[x.ud]}),r})(),VP=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[{provide:uE,useValue:jP}],imports:[ZP]}),r})();class zP{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 Qf{constructor(){this.logs=[],this.errors=[]}}Qf.\u0275fac=function(i){return new(i||Qf)},Qf.\u0275prov=e.Yz7({token:Qf,factory:Qf.\u0275fac,providedIn:"root"});class Jf extends oi{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>Ye.WARN&&this.debugLog.errors.push(i)}resize(i,t,n){for(;i.length>t;)i.shift();for(;i.lengthconsole.error(r))},5521:(Ie,O)=>{"use strict";function y(le){if(!Number.isSafeInteger(le))throw new Error(`Wrong integer: ${le}`)}function f(...le){const pe=(ke,Ue)=>Ke=>ke(Ue(Ke));return{encode:Array.from(le).reverse().reduce((ke,Ue)=>ke?pe(ke,Ue.encode):Ue.encode,void 0),decode:le.reduce((ke,Ue)=>ke?pe(ke,Ue.decode):Ue.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 Ee=le.indexOf(ae);if(-1===Ee)throw new Error(`Unknown letter: "${ae}". Allowed: ${le}`);return Ee})}}}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 Ee of ae)if("string"!=typeof Ee)throw new Error(`padding.encode: non-string input=${Ee}`);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 ke of ae)if("string"!=typeof ke)throw new Error(`padding.decode: non-string input=${ke}`);let Ee=ae.length;if(Ee*le%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;Ee>0&&ae[Ee-1]===pe;Ee--)if(!((Ee-1)*le%8))throw new Error("Invalid padding: string has too much padding");return ae.slice(0,Ee)}}}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 Ee=0;const ke=[],Ue=Array.from(le);for(Ue.forEach(Ke=>{if(y(Ke),Ke<0||Ke>=pe)throw new Error(`Wrong integer: ${Ke}`)});;){let Ke=0,Oe=!0;for(let nt=Ee;ntpe?F(pe,le%pe):le,S=(le,pe)=>le+(pe-F(le,pe));function D(le,pe,ae,Ee){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(S(pe,ae)>32)throw new Error(`convertRadix2: carry overflow from=${pe} to=${ae} carryBits=${S(pe,ae)}`);let ke=0,Ue=0;const Ke=2**ae-1,Oe=[];for(const nt of le){if(y(nt),nt>=2**pe)throw new Error(`convertRadix2: invalid data word=${nt} from=${pe}`);if(ke=ke<32)throw new Error(`convertRadix2: carry overflow pos=${Ue} from=${pe}`);for(Ue+=pe;Ue>=ae;Ue-=ae)Oe.push((ke>>Ue-ae&Ke)>>>0);ke&=2**Ue-1}if(ke=ke<=pe)throw new Error("Excess padding");if(!Ee&&ke)throw new Error(`Non-zero padding: ${ke}`);return Ee&&Ue>0&&Oe.push(ke>>>0),Oe}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 j(le,pe=!1){if(y(le),le<=0||le>32)throw new Error("radix2: bits should be in (0..32]");if(S(8,le)>32||S(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 I(le){if("function"!=typeof le)throw new Error("unsafeWrapper fn should be function");return function(...pe){try{return le.apply(null,pe)}catch{}}}function L(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 Ee=pe(ae).slice(0,le),ke=new Uint8Array(ae.length+le);return ke.set(ae),ke.set(Ee,ae.length),ke},decode(ae){if(!(ae instanceof Uint8Array))throw new Error("checksum.decode: input should be Uint8Array");const Ee=ae.slice(0,-le),ke=pe(Ee).slice(0,le),Ue=ae.slice(-le);for(let Ke=0;Kele.toUpperCase().replace(/O/g,"0").replace(/[IL]/g,"1"))),O.base64=f(j(6),e("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),_(6),g("")),O.base64url=f(j(6),e("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),_(6),g(""));const ne=le=>f(P(58),e(le),g(""));O.base58=ne("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),O.base58flickr=ne("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"),O.base58xrp=ne("rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz");const q=[0,2,3,5,6,7,9,10,11];O.base58xmr={encode(le){let pe="";for(let ae=0;aef(L(4,pe=>le(le(pe))),O.base58);const U=f(e("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),g("")),z=[996825010,642813549,513874426,1027748829,705979059];function ue(le){const pe=le>>25;let ae=(33554431&le)<<5;for(let Ee=0;Ee>Ee&1)&&(ae^=z[Ee]);return ae}function he(le,pe,ae=1){const Ee=le.length;let ke=1;for(let Ue=0;Ue126)throw new Error(`Invalid prefix (${le})`);ke=ue(ke)^Ke>>5}ke=ue(ke);for(let Ue=0;Ueot)throw new TypeError(`Wrong string length: ${Ne.length} (${Ne}). Expected (8..${ot})`);const Ge=Ne.toLowerCase();if(Ne!==Ge&&Ne!==Ne.toUpperCase())throw new Error("String must be lowercase or uppercase");const xt=(Ne=Ge).lastIndexOf("1");if(0===xt||-1===xt)throw new Error('Letter "1" must be present between prefix and data only');const lt=Ne.slice(0,xt),Qe=Ne.slice(xt+1);if(Qe.length<6)throw new Error("Data must be at least 6 characters long");const Qt=U.decode(Qe).slice(0,-6),Bt=he(lt,Qt,pe);if(!Qe.endsWith(Bt))throw new Error(`Invalid checksum in ${Ne}: expected "${Bt}"`);return{prefix:lt,words:Qt}}return{encode:function Ke(Ne,ot,Ge=90){if("string"!=typeof Ne)throw new Error("bech32.encode prefix should be string, not "+typeof Ne);if(!Array.isArray(ot)||ot.length&&"number"!=typeof ot[0])throw new Error("bech32.encode words should be array of numbers, not "+typeof ot);const xt=Ne.length+7+ot.length;if(!1!==Ge&&xt>Ge)throw new TypeError(`Length ${xt} exceeds limit ${Ge}`);return`${Ne=Ne.toLowerCase()}1${U.encode(ot)}${he(Ne,ot,pe)}`},decode:Oe,decodeToBytes:function Ce(Ne){const{prefix:ot,words:Ge}=Oe(Ne,!1);return{prefix:ot,words:Ge,bytes:Ee(Ge)}},decodeUnsafe:I(Oe),fromWords:Ee,fromWordsUnsafe:Ue,toWords:ke}}O.bech32=J("bech32"),O.bech32m=J("bech32m"),O.utf8={encode:le=>(new TextDecoder).decode(le),decode:le=>(new TextEncoder).encode(le)},O.hex=f(j(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},$=`Invalid encoding type. Available types: ${Object.keys(Y).join(", ")}`;O.bytesToString=(le,pe)=>{if("string"!=typeof le||!Y.hasOwnProperty(le))throw new TypeError($);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($);if("string"!=typeof pe)throw new TypeError("stringToBytes() expects string");return Y[le].decode(pe)},O.bytes=O.stringToBytes},6837:(Ie,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),S=J=>"\u3042\u3044\u3053\u304f\u3057\u3093"===J[0];function D(J){if("string"!=typeof J)throw new TypeError("Invalid mnemonic type: "+typeof J);return J.normalize("NFKD")}function P(J){const Y=D(J),$=Y.split(" ");if(![12,15,18,21,24].includes($.length))throw new Error("Invalid mnemonic");return{nfkd:Y,words:$}}function j(J){e.default.bytes(J,16,20,24,28,32)}O.OF=function I(J,Y=128){if(e.default.number(Y),Y%32!=0||Y>256)throw new TypeError("Invalid entropy");return function ee(J,Y){return j(J),ne(Y).encode(J).join(S(Y)?"\u3000":" ")}((0,k.randomBytes)(Y/8),J)};const L=J=>{const Y=8-J.length/4;return new Uint8Array([(0,_.sha256)(J)[0]>>Y<{if("string"!=typeof Y)throw new Error(`Wordlist: non-string element: ${Y}`)}),F.utils.chain(F.utils.checksum(1,L),F.utils.radix2(11,!0),F.utils.alphabet(J))}O._I=function U(J,Y){try{!function q(J,Y){const{words:$}=P(J),ie=ne(Y).decode($);return j(ie),ie}(J,Y)}catch{return!1}return!0};O.Z1=function he(J,Y=""){return(0,g.pbkdf2)(x.sha512,P(J).nfkd,(J=>D(`mnemonic${J}`))(Y),{c:2048,dkLen:64})}},5729:(Ie,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,...S){if(!(F instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(S.length>0&&!S.includes(F.length))throw new TypeError(`Expected Uint8Array of length ${S}, 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,S=!0){if(F.destroyed)throw new Error("Hash instance has been destroyed");if(S&&F.finished)throw new Error("Hash#digest() has already been called")}function x(F,S){e(F);const D=S.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,S,D){super(),this.blockLen=k,this.outputLen=F,this.padOffset=S,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:S,blockLen:D}=this,P=(k=(0,e.toBytes)(k)).length;for(let j=0;jD-j&&(this.process(S,0),j=0);for(let ee=j;ee>D&P),I=Number(F&P),ne=S?0:4;x.setUint32(k+(S?4:0),j,S),x.setUint32(k+ne,I,S)})(S,D-8,BigInt(8*this.length),P),this.process(S,0);const I=(0,e.createView)(k),L=this.outputLen;if(L%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const ne=L/4,q=this.get();if(ne>q.length)throw new Error("_sha2: outputLen bigger than state");for(let ee=0;ee{"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 Ee=0;Ee>>0)+(ae>>>0);return{h:te+pe+(Ee/2**32|0)|0,l:0|Ee}}O.fromBig=e,O.split=g,O.toBig=(te,le)=>BigInt(te>>>0)<>>0),O.add=U,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:U,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,Ee)=>le+pe+ae+Ee+(te/2**32|0)|0,add5H:(te,le,pe,ae,Ee,ke)=>le+pe+ae+Ee+ke+(te/2**32|0)|0,add5L:(te,le,pe,ae,Ee)=>(te>>>0)+(le>>>0)+(pe>>>0)+(ae>>>0)+(Ee>>>0)}},7882:(Ie,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:(Ie,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 S=(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(S.length>D?k.create().update(S).digest():S);for(let j=0;jnew g(x,k).update(F).digest(),O.hmac.create=(x,k)=>new g(x,k)},9522:(Ie,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,j,I,L){e.default.hash(P);const ne=(0,_.checkOpts)({dkLen:32,asyncTick:10},L),{c:q,dkLen:ee,asyncTick:U}=ne;if(e.default.number(q),e.default.number(ee),e.default.number(U),q<1)throw new Error("PBKDF2: iterations (c) should be >= 1");const z=(0,_.toBytes)(j),ue=(0,_.toBytes)(I),he=new Uint8Array(ee),J=g.hmac.create(P,z),Y=J._cloneInto().update(ue);return{c:q,dkLen:ee,asyncTick:U,DK:he,PRF:J,PRFSalt:Y}}function k(P,j,I,L,ne){return P.destroy(),j.destroy(),L&&L.destroy(),ne.fill(0),I}function D(){return(D=f(function*(P,j,I,L){const{c:ne,dkLen:q,asyncTick:ee,DK:U,PRF:z,PRFSalt:ue}=x(P,j,I,L);let he;const J=new Uint8Array(4),Y=(0,_.createView)(J),$=new Uint8Array(z.outputLen);for(let ie=1,te=0;te{z._cloneInto(he).update($).digestInto($);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,j,I)=>P&j^~P&I,_=(P,j,I)=>P&j^P&I^j&I,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 S 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:j,B:I,C:L,D:ne,E:q,F:ee,G:U,H:z}=this;return[j,I,L,ne,q,ee,U,z]}set(j,I,L,ne,q,ee,U,z){this.A=0|j,this.B=0|I,this.C=0|L,this.D=0|ne,this.E=0|q,this.F=0|ee,this.G=0|U,this.H=0|z}process(j,I){for(let J=0;J<16;J++,I+=4)F[J]=j.getUint32(I,!1);for(let J=16;J<64;J++){const Y=F[J-15],$=F[J-2],ie=(0,e.rotr)(Y,7)^(0,e.rotr)(Y,18)^Y>>>3,te=(0,e.rotr)($,17)^(0,e.rotr)($,19)^$>>>10;F[J]=te+F[J-7]+ie+F[J-16]|0}let{A:L,B:ne,C:q,D:ee,E:U,F:z,G:ue,H:he}=this;for(let J=0;J<64;J++){const $=he+((0,e.rotr)(U,6)^(0,e.rotr)(U,11)^(0,e.rotr)(U,25))+g(U,z,ue)+x[J]+F[J]|0,te=((0,e.rotr)(L,2)^(0,e.rotr)(L,13)^(0,e.rotr)(L,22))+_(L,ne,q)|0;he=ue,ue=z,z=U,U=ee+$|0,ee=q,q=ne,ne=L,L=$+te|0}L=L+this.A|0,ne=ne+this.B|0,q=q+this.C|0,ee=ee+this.D|0,U=U+this.E|0,z=z+this.F|0,ue=ue+this.G|0,he=he+this.H|0,this.set(L,ne,q,ee,U,z,ue,he)}roundClean(){F.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}class D extends S{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 S),O.sha224=(0,e.wrapConstructor)(()=>new D)},27:(Ie,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(I=>BigInt(I))),k=new Uint32Array(80),F=new Uint32Array(80);class S 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:L,Al:ne,Bh:q,Bl:ee,Ch:U,Cl:z,Dh:ue,Dl:he,Eh:J,El:Y,Fh:$,Fl:ie,Gh:te,Gl:le,Hh:pe,Hl:ae}=this;return[L,ne,q,ee,U,z,ue,he,J,Y,$,ie,te,le,pe,ae]}set(L,ne,q,ee,U,z,ue,he,J,Y,$,ie,te,le,pe,ae){this.Ah=0|L,this.Al=0|ne,this.Bh=0|q,this.Bl=0|ee,this.Ch=0|U,this.Cl=0|z,this.Dh=0|ue,this.Dl=0|he,this.Eh=0|J,this.El=0|Y,this.Fh=0|$,this.Fl=0|ie,this.Gh=0|te,this.Gl=0|le,this.Hh=0|pe,this.Hl=0|ae}process(L,ne){for(let Ue=0;Ue<16;Ue++,ne+=4)k[Ue]=L.getUint32(ne),F[Ue]=L.getUint32(ne+=4);for(let Ue=16;Ue<80;Ue++){const Ke=0|k[Ue-15],Oe=0|F[Ue-15],nt=e.default.rotrSH(Ke,Oe,1)^e.default.rotrSH(Ke,Oe,8)^e.default.shrSH(Ke,Oe,7),Ce=e.default.rotrSL(Ke,Oe,1)^e.default.rotrSL(Ke,Oe,8)^e.default.shrSL(Ke,Oe,7),Ne=0|k[Ue-2],ot=0|F[Ue-2],Ge=e.default.rotrSH(Ne,ot,19)^e.default.rotrBH(Ne,ot,61)^e.default.shrSH(Ne,ot,6),xt=e.default.rotrSL(Ne,ot,19)^e.default.rotrBL(Ne,ot,61)^e.default.shrSL(Ne,ot,6),lt=e.default.add4L(Ce,xt,F[Ue-7],F[Ue-16]),Qe=e.default.add4H(lt,nt,Ge,k[Ue-7],k[Ue-16]);k[Ue]=0|Qe,F[Ue]=0|lt}let{Ah:q,Al:ee,Bh:U,Bl:z,Ch:ue,Cl:he,Dh:J,Dl:Y,Eh:$,El:ie,Fh:te,Fl:le,Gh:pe,Gl:ae,Hh:Ee,Hl:ke}=this;for(let Ue=0;Ue<80;Ue++){const Ke=e.default.rotrSH($,ie,14)^e.default.rotrSH($,ie,18)^e.default.rotrBH($,ie,41),Oe=e.default.rotrSL($,ie,14)^e.default.rotrSL($,ie,18)^e.default.rotrBL($,ie,41),nt=$&te^~$&pe,Ne=e.default.add5L(ke,Oe,ie&le^~ie&ae,x[Ue],F[Ue]),ot=e.default.add5H(Ne,Ee,Ke,nt,_[Ue],k[Ue]),Ge=0|Ne,xt=e.default.rotrSH(q,ee,28)^e.default.rotrBH(q,ee,34)^e.default.rotrBH(q,ee,39),lt=e.default.rotrSL(q,ee,28)^e.default.rotrBL(q,ee,34)^e.default.rotrBL(q,ee,39),Qe=q&U^q&ue^U&ue,Qt=ee&z^ee&he^z&he;Ee=0|pe,ke=0|ae,pe=0|te,ae=0|le,te=0|$,le=0|ie,({h:$,l:ie}=e.default.add(0|J,0|Y,0|ot,0|Ge)),J=0|ue,Y=0|he,ue=0|U,he=0|z,U=0|q,z=0|ee;const Bt=e.default.add3L(Ge,lt,Qt);q=e.default.add3H(Bt,ot,xt,Qe),ee=0|Bt}({h:q,l:ee}=e.default.add(0|this.Ah,0|this.Al,0|q,0|ee)),({h:U,l:z}=e.default.add(0|this.Bh,0|this.Bl,0|U,0|z)),({h:ue,l:he}=e.default.add(0|this.Ch,0|this.Cl,0|ue,0|he)),({h:J,l:Y}=e.default.add(0|this.Dh,0|this.Dl,0|J,0|Y)),({h:$,l:ie}=e.default.add(0|this.Eh,0|this.El,0|$,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:Ee,l:ke}=e.default.add(0|this.Hh,0|this.Hl,0|Ee,0|ke)),this.set(q,ee,U,z,ue,he,J,Y,$,ie,te,le,pe,ae,Ee,ke)}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=S;class D extends S{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 S{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 j extends S{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 S),O.sha512_224=(0,g.wrapConstructor)(()=>new D),O.sha512_256=(0,g.wrapConstructor)(()=>new P),O.sha384=(0,g.wrapConstructor)(()=>new j)},7507:(Ie,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,$)=>Y<<32-$|Y>>>$,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,$)=>$.toString(16).padStart(2,"0"));function I(){return(I=f(function*(Y,$,ie){let te=Date.now();for(let le=0;le=0&&pe<$||(yield(0,O.nextTick)(),te+=pe)}})).apply(this,arguments)}function L(Y){if("string"!=typeof Y)throw new TypeError("utf8ToBytes expected string, got "+typeof Y);return(new TextEncoder).encode(Y)}function ne(Y){if("string"==typeof Y&&(Y=L(Y)),!(Y instanceof Uint8Array))throw new TypeError(`Expected input type is Uint8Array (got ${typeof Y})`);return Y}O.bytesToHex=function S(Y){if(!(Y instanceof Uint8Array))throw new Error("Uint8Array expected");let $="";for(let ie=0;iete instanceof Uint8Array))throw new Error("Uint8Array list expected");if(1===Y.length)return Y[0];const $=Y.reduce((te,le)=>te+le.length,0),ie=new Uint8Array($);for(let te=0,le=0;te"[object Object]"===Object.prototype.toString.call(Y)&&Y.constructor===Object)($)))throw new TypeError("Options should be object or undefined");return Object.assign(Y,$)},O.wrapConstructor=function ue(Y){const $=te=>Y().update(ne(te)).digest(),ie=Y();return $.outputLen=ie.outputLen,$.blockLen=ie.blockLen,$.create=()=>Y(),$},O.wrapConstructorWithOpts=function he(Y){const $=(te,le)=>Y(le).update(ne(te)).digest(),ie=Y({});return $.outputLen=ie.outputLen,$.blockLen=ie.blockLen,$.create=te=>Y(te),$},O.randomBytes=function J(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:(Ie,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:(Ie,O,y)=>{"use strict";var f=y(5203),e=y(5685),g=e(f("String.prototype.indexOf"));Ie.exports=function(x,k){var F=f(x,!!k);return"function"==typeof F&&g(x,".prototype.")>-1?e(F):F}},5685:(Ie,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),S=e("%Math.max%");if(F)try{F({},"a",{value:1})}catch{F=null}Ie.exports=function(j){var I=x(f,_,arguments);return k&&F&&k(I,"length").configurable&&F(I,"length",{value:1+S(0,j.length-(arguments.length-1))}),I};var D=function(){return x(f,g,arguments)};F?F(Ie.exports,"apply",{value:D}):Ie.exports.apply=D},4999:Ie=>{"use strict";var O=function(U){return function y(ee){return!!ee&&"object"==typeof ee}(U)&&!function f(ee){var U=Object.prototype.toString.call(ee);return"[object RegExp]"===U||"[object Date]"===U||function _(ee){return ee.$$typeof===g}(ee)}(U)},g="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function k(ee,U){return!1!==U.clone&&U.isMergeableObject(ee)?ne(function x(ee){return Array.isArray(ee)?[]:{}}(ee),ee,U):ee}function F(ee,U,z){return ee.concat(U).map(function(ue){return k(ue,z)})}function P(ee){return Object.keys(ee).concat(function D(ee){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(ee).filter(function(U){return ee.propertyIsEnumerable(U)}):[]}(ee))}function j(ee,U){try{return U in ee}catch{return!1}}function ne(ee,U,z){(z=z||{}).arrayMerge=z.arrayMerge||F,z.isMergeableObject=z.isMergeableObject||O,z.cloneUnlessOtherwiseSpecified=k;var ue=Array.isArray(U);return ue===Array.isArray(ee)?ue?z.arrayMerge(ee,U,z):function L(ee,U,z){var ue={};return z.isMergeableObject(ee)&&P(ee).forEach(function(he){ue[he]=k(ee[he],z)}),P(U).forEach(function(he){(function I(ee,U){return j(ee,U)&&!(Object.hasOwnProperty.call(ee,U)&&Object.propertyIsEnumerable.call(ee,U))})(ee,he)||(ue[he]=j(ee,he)&&z.isMergeableObject(U[he])?function S(ee,U){if(!U.customMerge)return ne;var z=U.customMerge(ee);return"function"==typeof z?z:ne}(he,z)(ee[he],U[he],z):k(U[he],z))}),ue}(ee,U,z):k(U,z)}ne.all=function(U,z){if(!Array.isArray(U))throw new Error("first argument should be an array");return U.reduce(function(ue,he){return ne(ue,he,z)},{})},Ie.exports=ne},4901:Ie=>{"use strict";var O={single_source_shortest_paths:function(y,f,e){var g={},_={};_[f]=0;var k,F,S,D,P,I,x=O.PriorityQueue.make();for(x.push(f,0);!x.empty();)for(S in D=(k=x.pop()).cost,P=y[F=k.value]||{})P.hasOwnProperty(S)&&(I=D+P[S],(typeof _[S]>"u"||_[S]>I)&&(_[S]=I,x.push(S,I),g[S]=F));if(typeof e<"u"&&typeof _[e]>"u"){var q=["Could not find a path from ",f," to ",e,"."].join("");throw new Error(q)}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}}};Ie.exports=O},6316:(Ie,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:Ie=>{"use strict";Ie.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:Ie=>{"use strict";var O="Function.prototype.bind called on incompatible ",y=Array.prototype.slice,f=Object.prototype.toString,e="[object Function]";Ie.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=[],j=0;j{"use strict";var f=y(3457);Ie.exports=Function.prototype.bind||f},5203:(Ie,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 _},S=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__},j={},I=typeof Uint8Array>"u"?f:P(Uint8Array),L={"%AggregateError%":typeof AggregateError>"u"?f:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?f:ArrayBuffer,"%ArrayIteratorPrototype%":D?P([][Symbol.iterator]()):f,"%AsyncFromSyncIteratorPrototype%":f,"%AsyncFunction%":j,"%AsyncGenerator%":j,"%AsyncGeneratorFunction%":j,"%AsyncIteratorPrototype%":j,"%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%":j,"%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%":S,"%TypedArray%":I,"%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},ne=function pe(ae){var Ee;if("%AsyncFunction%"===ae)Ee=x("async function () {}");else if("%GeneratorFunction%"===ae)Ee=x("function* () {}");else if("%AsyncGeneratorFunction%"===ae)Ee=x("async function* () {}");else if("%AsyncGenerator%"===ae){var ke=pe("%AsyncGeneratorFunction%");ke&&(Ee=ke.prototype)}else if("%AsyncIteratorPrototype%"===ae){var Ue=pe("%AsyncGenerator%");Ue&&(Ee=P(Ue.prototype))}return L[ae]=Ee,Ee},q={"%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"]},ee=y(4444),U=y(3164),z=ee.call(Function.call,Array.prototype.concat),ue=ee.call(Function.apply,Array.prototype.splice),he=ee.call(Function.call,String.prototype.replace),J=ee.call(Function.call,String.prototype.slice),Y=ee.call(Function.call,RegExp.prototype.exec),$=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,ie=/\\(\\)?/g,te=function(ae){var Ee=J(ae,0,1),ke=J(ae,-1);if("%"===Ee&&"%"!==ke)throw new e("invalid intrinsic syntax, expected closing `%`");if("%"===ke&&"%"!==Ee)throw new e("invalid intrinsic syntax, expected opening `%`");var Ue=[];return he(ae,$,function(Ke,Oe,nt,Ce){Ue[Ue.length]=nt?he(Ce,ie,"$1"):Oe||Ke}),Ue},le=function(ae,Ee){var Ue,ke=ae;if(U(q,ke)&&(ke="%"+(Ue=q[ke])[0]+"%"),U(L,ke)){var Ke=L[ke];if(Ke===j&&(Ke=ne(ke)),typeof Ke>"u"&&!Ee)throw new _("intrinsic "+ae+" exists, but is not available. Please file an issue!");return{alias:Ue,name:ke,value:Ke}}throw new e("intrinsic "+ae+" does not exist!")};Ie.exports=function(ae,Ee){if("string"!=typeof ae||0===ae.length)throw new _("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof Ee)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 ke=te(ae),Ue=ke.length>0?ke[0]:"",Ke=le("%"+Ue+"%",Ee),Oe=Ke.name,nt=Ke.value,Ce=!1,Ne=Ke.alias;Ne&&(Ue=Ne[0],ue(ke,z([0,1],Ne)));for(var ot=1,Ge=!0;ot=ke.length){var Qt=k(nt,xt);nt=(Ge=!!Qt)&&"get"in Qt&&!("originalValue"in Qt.get)?Qt.get:nt[xt]}else Ge=U(nt,xt),nt=nt[xt];Ge&&!Ce&&(L[Oe]=nt)}}return nt}},2969:(Ie,O,y)=>{"use strict";var f=typeof Symbol<"u"&&Symbol,e=y(1983);Ie.exports=function(){return"function"==typeof f&&"function"==typeof Symbol&&"symbol"==typeof f("foo")&&"symbol"==typeof Symbol("bar")&&e()}},1983:Ie=>{"use strict";Ie.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:(Ie,O,y)=>{"use strict";var f=y(4444);Ie.exports=f.call(Function.call,Object.prototype.hasOwnProperty)},9140:function(Ie,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})(),S=(()=>{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 j=(()=>{class K extends F{static getChecksumInstance(){return new K}}return K.kind="ChecksumException",K})();class I{constructor(c){this.source=c}getLuminanceSource(){return this.source}getWidth(){return this.source.getWidth()}getHeight(){return this.source.getHeight()}}class L{static arraycopy(c,d,h,p,b){for(;b--;)h[p++]=c[d++]}static currentTimeMillis(){return Date.now()}}let ne=(()=>{class K extends F{}return K.kind="IndexOutOfBoundsException",K})(),q=(()=>{class K extends ne{constructor(d,h){super(h),this.index=d,this.message=h}}return K.kind="ArrayIndexOutOfBoundsException",K})();class ee{static fill(c,d){for(let h=0,p=c.length;hh)throw new D("fromIndex("+d+") > toIndex("+h+")");if(d<0)throw new q(d);if(h>c)throw new q(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 U{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)}}U.MIN_VALUE_32_BITS=-2147483648,U.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);L.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+U.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+U.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 me=(2<<(Tp?0:31&c))&4294967295;if((C[T]&me)!==(h?me: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&&ee.equals(this.bits,c.bits)}hashCode(){return 31*this.size+ee.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})(),he=ue;let J=(()=>{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 ${constructor(c,d,h,...p){this.valueIdentifier=c,this.name=h,this.values="number"==typeof d?Int32Array.from([d]):d,this.otherEncodingNames=p,$.VALUE_IDENTIFIER_TO_ECI.set(c,this),$.NAME_TO_ECI.set(h,this);const b=this.values;for(let C=0,T=b.length;C!==T;C++)$.VALUES_TO_ECI.set(b[C],this);for(const C of p)$.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 J("incorect value");const d=$.VALUES_TO_ECI.get(c);if(void 0===d)throw new J("incorect value");return d}static getCharacterSetECIByName(c){const d=$.NAME_TO_ECI.get(c);if(void 0===d)throw new J("incorect value");return d}equals(c){if(!(c instanceof $))return!1;const d=c;return this.getName()===d.getName()}}$.VALUE_IDENTIFIER_TO_ECI=new Map,$.VALUES_TO_ECI=new Map,$.NAME_TO_ECI=new Map,$.Cp437=new $(Y.Cp437,Int32Array.from([0,2]),"Cp437"),$.ISO8859_1=new $(Y.ISO8859_1,Int32Array.from([1,3]),"ISO-8859-1","ISO88591","ISO8859_1"),$.ISO8859_2=new $(Y.ISO8859_2,4,"ISO-8859-2","ISO88592","ISO8859_2"),$.ISO8859_3=new $(Y.ISO8859_3,5,"ISO-8859-3","ISO88593","ISO8859_3"),$.ISO8859_4=new $(Y.ISO8859_4,6,"ISO-8859-4","ISO88594","ISO8859_4"),$.ISO8859_5=new $(Y.ISO8859_5,7,"ISO-8859-5","ISO88595","ISO8859_5"),$.ISO8859_6=new $(Y.ISO8859_6,8,"ISO-8859-6","ISO88596","ISO8859_6"),$.ISO8859_7=new $(Y.ISO8859_7,9,"ISO-8859-7","ISO88597","ISO8859_7"),$.ISO8859_8=new $(Y.ISO8859_8,10,"ISO-8859-8","ISO88598","ISO8859_8"),$.ISO8859_9=new $(Y.ISO8859_9,11,"ISO-8859-9","ISO88599","ISO8859_9"),$.ISO8859_10=new $(Y.ISO8859_10,12,"ISO-8859-10","ISO885910","ISO8859_10"),$.ISO8859_11=new $(Y.ISO8859_11,13,"ISO-8859-11","ISO885911","ISO8859_11"),$.ISO8859_13=new $(Y.ISO8859_13,15,"ISO-8859-13","ISO885913","ISO8859_13"),$.ISO8859_14=new $(Y.ISO8859_14,16,"ISO-8859-14","ISO885914","ISO8859_14"),$.ISO8859_15=new $(Y.ISO8859_15,17,"ISO-8859-15","ISO885915","ISO8859_15"),$.ISO8859_16=new $(Y.ISO8859_16,18,"ISO-8859-16","ISO885916","ISO8859_16"),$.SJIS=new $(Y.SJIS,20,"SJIS","Shift_JIS"),$.Cp1250=new $(Y.Cp1250,21,"Cp1250","windows-1250"),$.Cp1251=new $(Y.Cp1251,22,"Cp1251","windows-1251"),$.Cp1252=new $(Y.Cp1252,23,"Cp1252","windows-1252"),$.Cp1256=new $(Y.Cp1256,24,"Cp1256","windows-1256"),$.UnicodeBigUnmarked=new $(Y.UnicodeBigUnmarked,25,"UnicodeBigUnmarked","UTF-16BE","UnicodeBig"),$.UTF8=new $(Y.UTF8,26,"UTF8","UTF-8"),$.ASCII=new $(Y.ASCII,Int32Array.from([27,170]),"ASCII","US-ASCII"),$.Big5=new $(Y.Big5,28,"Big5"),$.GB18030=new $(Y.GB18030,29,"GB18030","GB2312","EUC_CN","GBK"),$.EUC_KR=new $(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 $?c:$.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 Ai=0;Ai0?128&ni?T--:C=!1:128&ni&&(64&ni?(T++,32&ni?(T++,16&ni?(T++,8&ni?C=!1:me++):W++):N++):C=!1)),p&&(ni>127&&ni<160?p=!1:ni>159&&(ni<192||215===ni||247===ni)&&zt++),b&&(Se>0?ni<64||127===ni||ni>252?b=!1:Se--:128===ni||160===ni||ni>239?b=!1:ni>160&&ni<224?(Ve++,vt=0,ct++,ct>Dt&&(Dt=ct)):ni>127?(Se++,ct=0,vt++,vt>Ut&&(Ut=vt)):(ct=0,vt=0))}return C&&T>0&&(C=!1),b&&Se>0&&(b=!1),C&&(wi||N+W+me>0)?le.UTF8:b&&(le.ASSUME_SHIFT_JIS||Dt>=3||Ut>=3)?le.SHIFT_JIS:p&&b?2===Dt&&2===Ve||10*zt>=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,N,W,me,Se){if("%%"===C)return"%";if(void 0===d[++h])return;C=W?parseInt(W.substr(1)):void 0;let ct,Ve=me?parseInt(me.substr(1)):void 0;switch(Se){case"s":ct=d[h];break;case"c":ct=d[h][0];break;case"f":ct=parseFloat(d[h]).toFixed(C);break;case"p":ct=parseFloat(d[h]).toPrecision(C);break;case"e":ct=parseFloat(d[h]).toExponential(C);break;case"x":ct=parseInt(d[h]).toString(Ve||16);break;case"d":ct=parseFloat(parseInt(d[h],Ve||10).toPrecision(C)).toFixed(0)}ct="object"==typeof ct?JSON.stringify(ct):(+ct).toString(Ve);let vt=parseInt(N),Dt=N&&N[0]+""=="0"?"0":" ";for(;ct.lengthC){if(-1===T)T=b-C;else if(b-C!==T)throw new D("row lengths do not match");C=b,N++}W++}else if(c.substring(W,W+d.length)===d)W+=d.length,p[b]=!0,b++;else{if(c.substring(W,W+h.length)!==h)throw new D("illegal character encountered: "+c.substring(W));W+=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");N++}const me=new ae(T,N);for(let Se=0;Se>>(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,N=this.bits;for(let W=d;WN&&(N=W),32*meT){let Ve=31;for(;!(Se>>>Ve);)Ve--;32*me+Ve>T&&(T=32*me+Ve)}}}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&&ee.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+ee.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 ke extends I{constructor(c){super(c),this.luminances=ke.EMPTY,this.buckets=new Int32Array(ke.LUMINANCE_BUCKETS)}getBlackRow(c,d){const h=this.getLuminanceSource(),p=h.getWidth();null==d||d.getSize()>ke.LUMINANCE_SHIFT]++;const T=ke.estimateBlackPoint(C);if(p<3)for(let N=0;N>ke.LUMINANCE_SHIFT]++}const C=ke.estimateBlackPoint(b),T=c.getMatrix();for(let N=0;Nb&&(p=me,b=c[me]),c[me]>h&&(h=c[me]);let C=0,T=0;for(let me=0;meT&&(C=me,T=Ve)}if(p>C){const me=p;p=C,C=me}if(C-p<=d/16)throw new Ee;let N=C-1,W=-1;for(let me=C-1;me>p;me--){const Se=me-p,Ve=Se*Se*(C-me)*(h-c[me]);Ve>W&&(N=me,W=Ve)}return N<=Ue.MINIMUM_DIMENSION&&h>=Ue.MINIMUM_DIMENSION){const p=c.getMatrix();let b=d>>Ue.BLOCK_SIZE_POWER;d&Ue.BLOCK_SIZE_MASK&&b++;let C=h>>Ue.BLOCK_SIZE_POWER;h&Ue.BLOCK_SIZE_MASK&&C++;const T=Ue.calculateBlackPoints(p,b,C,d,h),N=new ae(d,h);Ue.calculateThresholdForBlock(p,b,C,d,h,T,N),this.matrix=N}else this.matrix=super.getBlackMatrix();return this.matrix}createBinarizer(c){return new Ue(c)}static calculateThresholdForBlock(c,d,h,p,b,C,T){const N=b-Ue.BLOCK_SIZE,W=p-Ue.BLOCK_SIZE;for(let me=0;meN&&(Se=N);const Ve=Ue.cap(me,2,h-3);for(let ct=0;ctW&&(vt=W);const Dt=Ue.cap(ct,2,d-3);let Ut=0;for(let wi=-2;wi<=2;wi++){const Ai=C[Ve+wi];Ut+=Ai[Dt-2]+Ai[Dt-1]+Ai[Dt]+Ai[Dt+1]+Ai[Dt+2]}Ue.thresholdBlock(c,vt,Se,Ut/25,p,T)}}}static cap(c,d,h){return ch?h:c}static thresholdBlock(c,d,h,p,b,C){for(let T=0,N=h*b+d;TC&&(me=C);for(let Se=0;SeT&&(Ve=T);let ct=0,vt=255,Dt=0;for(let zt=0,wi=me*p+Ve;ztDt&&(Dt=ni)}if(Dt-vt>Ue.MIN_DYNAMIC_RANGE)for(zt++,wi+=p;zt>2*Ue.BLOCK_SIZE_POWER;if(Dt-vt<=Ue.MIN_DYNAMIC_RANGE&&(Ut=vt/2,W>0&&Se>0)){const zt=(N[W-1][Se]+2*N[W][Se-1]+N[W-1][Se-1])/4;vt>10,p[C]=N}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 Ce(d.deviceId,d.label))})}findDeviceById(c){return Ne(this,void 0,void 0,function*(){const d=yield this.listVideoInputDevices();return d?d.find(h=>h.deviceId===c):null})}decodeFromInputVideoDevice(c,d){return Ne(this,void 0,void 0,function*(){return yield this.decodeOnceFromVideoDevice(c,d)})}decodeOnceFromVideoDevice(c,d){return Ne(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 Ne(this,void 0,void 0,function*(){const h=yield navigator.mediaDevices.getUserMedia(c);return yield this.decodeOnceFromStream(h,d)})}decodeOnceFromStream(c,d){return Ne(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 Ne(this,void 0,void 0,function*(){return yield this.decodeFromVideoDevice(c,d,h)})}decodeFromVideoDevice(c,d,h){return Ne(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 Ne(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 Ne(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 Ne(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 Ne(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 S(`element with id '${c}' not found`);if(h.nodeName.toLowerCase()!==d.toLowerCase())throw new S(`element with id '${c}' must be an ${d} element`);return h}decodeFromImage(c,d){if(!c&&!d)throw new S("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 S("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 S("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 S("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 S("A video element must be provided.");this.reset();const d=this.prepareVideoElement(c);return this.videoElement=d,d}decodeFromImageUrl(c){if(!c)throw new S("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 S("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 S("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 Ne(this,void 0,void 0,function*(){return yield this.playVideoOnLoadAsync(c),yield this.decodeOnce(c)})}_decodeOnLoadVideoContinuously(c,d){return Ne(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 Ee("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 Ee||(T instanceof j||T instanceof J)&&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 j||p instanceof J||p instanceof Ee)&&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 Ue(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 Ge{constructor(c,d,h=(null==d?0:8*d.length),p,b,C=L.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?L.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);L.arraycopy(d,0,h,0,d.length),L.arraycopy(c,0,h,d.length,c.length),this.resultPoints=h}}getTimestamp(){return this.timestamp}toString(){return this.text}}var xt=(()=>{return(K=xt||(xt={}))[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",xt;var K})(),lt=xt,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})(),Qt=Qe;class Bt{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 Fe{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;L.arraycopy(h,0,p,0,b);for(let C=b;C=c.getDegree()&&!p.isZero();){const T=p.getDegree()-c.getDegree(),N=d.multiply(p.getCoefficient(p.getDegree()),C),W=c.multiplyByMonomial(T,N),me=d.buildMonomial(T,N);h=h.addOrSubtract(me),p=p.addOrSubtract(W)}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 Gt=(()=>{class K extends F{}return K.kind="ArithmeticException",K})();class Mt extends Fe{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 ct=0;ct=(h/2|0);){let ct=b,vt=T;if(b=C,T=N,b.isZero())throw new wt("r_{i-1} was zero");C=ct;let Dt=p.getZero();const Ut=b.getCoefficient(b.getDegree()),zt=p.inverse(Ut);for(;C.getDegree()>=b.getDegree()&&!C.isZero();){const wi=C.getDegree()-b.getDegree(),Ai=p.multiply(C.getCoefficient(C.getDegree()),zt);Dt=Dt.addOrSubtract(p.buildMonomial(wi,Ai)),C=C.addOrSubtract(b.multiplyByMonomial(wi,Ai))}if(N=Dt.multiply(T).addOrSubtract(vt),C.getDegree()>=b.getDegree())throw new ht("Division algorithm failed to reduce polynomial?")}const W=N.getCoefficient(0);if(0===W)throw new wt("sigmaTilde(0) was zero");const me=p.inverse(W);return[N.multiplyScalar(me),C.multiplyScalar(me)]}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=It||(It={}))[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",It;var K})();let ii=(()=>{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),N=new Bt(C,T,null,null);return N.setNumBits(b.length),N}static highLevelDecode(d){return this.getEncodedData(d)}static getEncodedData(d){let h=d.length,p=It.UPPER,b=It.UPPER,C="",T=0;for(;T1,Ve,Ve+p-1),Ve+=p-1;else for(let Dt=p-1;Dt>=0;--Dt)Se[Ve++]=0!=(vt&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 pi{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 Kt{static floatToIntBits(c){return c}}Kt.MAX_VALUE=Number.MAX_SAFE_INTEGER;class qt{constructor(c,d){this.x=c,this.y=d}getX(){return this.x}getY(){return this.y}equals(c){return c instanceof qt&&this.x===c.x&&this.y===c.y}hashCode(){return 31*Kt.floatToIntBits(this.x)+Kt.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 N=b;b=T,T=N}c[0]=b,c[1]=C,c[2]=T}static distance(c,d){return pi.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 Ft{constructor(c,d){this.bits=c,this.points=d}getBits(){return this.bits}getPoints(){return this.points}}class xe extends Ft{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 Pe=(()=>{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 Ee}detect(){let d=this.leftInit,h=this.rightInit,p=this.upInit,b=this.downInit,C=!1,T=!0,N=!1,W=!1,me=!1,Se=!1,Ve=!1;const ct=this.width,vt=this.height;for(;T;){T=!1;let Dt=!0;for(;(Dt||!W)&&h=ct){C=!0;break}let Ut=!0;for(;(Ut||!me)&&b=vt){C=!0;break}let zt=!0;for(;(zt||!Se)&&d>=0;)zt=this.containsBlackPoint(p,b,d,!1),zt?(d--,T=!0,Se=!0):Se||d--;if(d<0){C=!0;break}let wi=!0;for(;(wi||!Ve)&&p>=0;)wi=this.containsBlackPoint(d,h,p,!0),wi?(p--,T=!0,Ve=!0):Ve||p--;if(p<0){C=!0;break}T&&(N=!0)}if(!C&&N){const Dt=h-d;let Ut=null;for(let ni=1;null===Ut&&nih||N<-1||N>p)throw new Ee;b=!1,-1===T?(d[C]=0,b=!0):T===h&&(d[C]=h-1,b=!0),-1===N?(d[C+1]=0,b=!0):N===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]),N=Math.floor(d[C+1]);if(T<-1||T>h||N<-1||N>p)throw new Ee;b=!1,-1===T?(d[C]=0,b=!0):T===h&&(d[C]=h-1,b=!0),-1===N?(d[C+1]=0,b=!0):N===p&&(d[C+1]=p-1,b=!0)}}}class We{constructor(c,d,h,p,b,C,T,N,W){this.a11=c,this.a21=d,this.a31=h,this.a12=p,this.a22=b,this.a32=C,this.a13=T,this.a23=N,this.a33=W}static quadrilateralToQuadrilateral(c,d,h,p,b,C,T,N,W,me,Se,Ve,ct,vt,Dt,Ut){const zt=We.quadrilateralToSquare(c,d,h,p,b,C,T,N);return We.squareToQuadrilateral(W,me,Se,Ve,ct,vt,Dt,Ut).times(zt)}transformPoints(c){const d=c.length,h=this.a11,p=this.a12,b=this.a13,C=this.a21,T=this.a22,N=this.a23,W=this.a31,me=this.a32,Se=this.a33;for(let Ve=0;Ve>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(U.bitCount(h^this.EXPECTED_CORNER_BITS[p])<=2)return p;throw new Ee}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 N=h-1;N>=0;--N)C[N]=15&c,c>>=4;try{new at(Mt.AZTEC_PARAM).decode(C,b)}catch{throw new Ee}let T=0;for(let N=0;N2){let Dt=this.distancePoint(vt,Se)*this.nbCenterLayers/(this.distancePoint(b,d)*(this.nbCenterLayers+2));if(Dt<.75||Dt>1.25||!this.isWhiteOrBlackRectangle(Se,Ve,ct,vt))break}d=Se,h=Ve,p=ct,b=vt,C=!C}if(5!==this.nbCenterLayers&&7!==this.nbCenterLayers)throw new Ee;this.compact=5===this.nbCenterLayers;let T=new qt(d.getX()+.5,d.getY()-.5),N=new qt(h.getX()+.5,h.getY()+.5),W=new qt(p.getX()-.5,p.getY()+.5),me=new qt(b.getX()-.5,b.getY()-.5);return this.expandSquare([T,N,W,me],2*this.nbCenterLayers-3,2*this.nbCenterLayers)}getMatrixCenter(){let c,d,h,p;try{let T=new Pe(this.image).detect();c=T[0],d=T[1],h=T[2],p=T[3]}catch{let N=this.image.getWidth()/2,W=this.image.getHeight()/2;c=this.getFirstDifferent(new Ot(N+7,W-7),!1,1,-1).toResultPoint(),d=this.getFirstDifferent(new Ot(N+7,W+7),!1,1,1).toResultPoint(),h=this.getFirstDifferent(new Ot(N-7,W+7),!1,-1,1).toResultPoint(),p=this.getFirstDifferent(new Ot(N-7,W-7),!1,-1,-1).toResultPoint()}let b=pi.round((c.getX()+p.getX()+d.getX()+h.getX())/4),C=pi.round((c.getY()+p.getY()+d.getY()+h.getY())/4);try{let T=new Pe(this.image,15,b,C).detect();c=T[0],d=T[1],h=T[2],p=T[3]}catch{c=this.getFirstDifferent(new Ot(b+7,C-7),!1,1,-1).toResultPoint(),d=this.getFirstDifferent(new Ot(b+7,C+7),!1,1,1).toResultPoint(),h=this.getFirstDifferent(new Ot(b-7,C+7),!1,-1,1).toResultPoint(),p=this.getFirstDifferent(new Ot(b-7,C-7),!1,-1,-1).toResultPoint()}return b=pi.round((c.getX()+p.getX()+d.getX()+h.getX())/4),C=pi.round((c.getY()+p.getY()+d.getY()+h.getY())/4),new Ot(b,C)}getMatrixCornerPoints(c){return this.expandSquare(c,2*this.nbCenterLayers,this.getDimension())}sampleGrid(c,d,h,p,b){let C=gt.getInstance(),T=this.getDimension(),N=T/2-this.nbCenterLayers,W=T/2+this.nbCenterLayers;return C.sampleGrid(c,T,T,N,N,W,N,W,W,N,W,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(),N=c.getY(),W=C*(d.getX()-c.getX())/b,me=C*(d.getY()-c.getY())/b;for(let Se=0;Se.1&&Se<.9?0:Se<=.1===W?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 Ot(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,N=(c[0].getY()+c[2].getY())/2,W=new qt(T+p*b,N+p*C),me=new qt(T-p*b,N-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,N=(c[1].getY()+c[3].getY())/2,[W,new qt(T+p*b,N+p*C),me,new qt(T-p*b,N-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(he.TRY_HARDER)&&c.isRotateSupported()){const b=c.rotateCounterClockwise(),C=this.doDecode(b,d),T=C.getResultMetadata();let N=270;null!==T&&!0===T.get(Qt.ORIENTATION)&&(N+=T.get(Qt.ORIENTATION)%360),C.putMetadata(Qt.ORIENTATION,N);const W=C.getResultPoints();if(null!==W){const me=b.getHeight();for(let Se=0;Se>(C?8:5));let N;N=C?p:15;const W=Math.trunc(p/2);for(let me=0;me=p)break;try{b=c.getBlackRow(ct,b)}catch{continue}for(let vt=0;vt<2;vt++){if(1===vt&&(b.reverse(),d&&!0===d.get(he.NEED_RESULT_POINT_CALLBACK))){const Dt=new Map;d.forEach((Ut,zt)=>Dt.set(zt,Ut)),Dt.delete(he.NEED_RESULT_POINT_CALLBACK),d=Dt}try{const Dt=this.decodeRow(ct,b,d);if(1===vt){Dt.putMetadata(Qt.ORIENTATION,180);const Ut=Dt.getResultPoints();null!==Ut&&(Ut[0]=new qt(h-Ut[0].getX()-1,Ut[0].getY()),Ut[1]=new qt(h-Ut[1].getX()-1,Ut[1].getY()))}return Dt}catch{}}}throw new Ee}static recordPattern(c,d,h){const p=h.length;for(let W=0;W=b)throw new Ee;let C=!c.get(d),T=0,N=d;for(;N0&&p>=0;)c.get(--d)!==b&&(p--,b=!b);if(p>=0)throw new Ee;vi.recordPattern(c,d+1,h)}static patternMatchVariance(c,d,h){const p=c.length;let b=0,C=0;for(let W=0;WSe?me-Se:Se-me;if(Ve>h)return Number.POSITIVE_INFINITY;N+=Ve}return N/b}}class ti 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 W=h;W=0&&c.isRange(Math.max(0,C-(W-C)/2),C,!1))return Int32Array.from([C,W,Se]);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 Ee}static decodeCode(c,d,h){vi.recordPattern(c,h,d);let p=ti.MAX_AVG_VARIANCE,b=-1;for(let C=0;C=0)return b;throw new Ee}decodeRow(c,d,h){const p=h&&!0===h.get(he.ASSUME_GS1),b=ti.findStartPattern(d),C=b[2];let T=0;const N=new Uint8Array(20);let W;switch(N[T++]=C,C){case ti.CODE_START_A:W=ti.CODE_CODE_A;break;case ti.CODE_START_B:W=ti.CODE_CODE_B;break;case ti.CODE_START_C:W=ti.CODE_CODE_C;break;default:throw new J}let me=!1,Se=!1,Ve="",ct=b[0],vt=b[1];const Dt=Int32Array.from([0,0,0,0,0,0]);let Ut=0,zt=0,wi=C,Ai=0,ni=!0,Tn=!1,dn=!1;for(;!me;){const La=Se;switch(Se=!1,Ut=zt,zt=ti.decodeCode(d,Dt,vt),N[T++]=zt,zt!==ti.CODE_STOP&&(ni=!0),zt!==ti.CODE_STOP&&(Ai++,wi+=Ai*zt),ct=vt,vt+=Dt.reduce((el,gs)=>el+gs,0),zt){case ti.CODE_START_A:case ti.CODE_START_B:case ti.CODE_START_C:throw new J}switch(W){case ti.CODE_CODE_A:if(zt<64)Ve+=String.fromCharCode(dn===Tn?" ".charCodeAt(0)+zt:" ".charCodeAt(0)+zt+128),dn=!1;else if(zt<96)Ve+=String.fromCharCode(dn===Tn?zt-64:zt+64),dn=!1;else switch(zt!==ti.CODE_STOP&&(ni=!1),zt){case ti.CODE_FNC_1:p&&(Ve+=0===Ve.length?"]C1":String.fromCharCode(29));break;case ti.CODE_FNC_2:case ti.CODE_FNC_3:break;case ti.CODE_FNC_4_A:!Tn&&dn?(Tn=!0,dn=!1):Tn&&dn?(Tn=!1,dn=!1):dn=!0;break;case ti.CODE_SHIFT:Se=!0,W=ti.CODE_CODE_B;break;case ti.CODE_CODE_B:W=ti.CODE_CODE_B;break;case ti.CODE_CODE_C:W=ti.CODE_CODE_C;break;case ti.CODE_STOP:me=!0}break;case ti.CODE_CODE_B:if(zt<96)Ve+=String.fromCharCode(dn===Tn?" ".charCodeAt(0)+zt:" ".charCodeAt(0)+zt+128),dn=!1;else switch(zt!==ti.CODE_STOP&&(ni=!1),zt){case ti.CODE_FNC_1:p&&(Ve+=0===Ve.length?"]C1":String.fromCharCode(29));break;case ti.CODE_FNC_2:case ti.CODE_FNC_3:break;case ti.CODE_FNC_4_B:!Tn&&dn?(Tn=!0,dn=!1):Tn&&dn?(Tn=!1,dn=!1):dn=!0;break;case ti.CODE_SHIFT:Se=!0,W=ti.CODE_CODE_A;break;case ti.CODE_CODE_A:W=ti.CODE_CODE_A;break;case ti.CODE_CODE_C:W=ti.CODE_CODE_C;break;case ti.CODE_STOP:me=!0}break;case ti.CODE_CODE_C:if(zt<100)zt<10&&(Ve+="0"),Ve+=zt;else switch(zt!==ti.CODE_STOP&&(ni=!1),zt){case ti.CODE_FNC_1:p&&(Ve+=0===Ve.length?"]C1":String.fromCharCode(29));break;case ti.CODE_CODE_A:W=ti.CODE_CODE_A;break;case ti.CODE_CODE_B:W=ti.CODE_CODE_B;break;case ti.CODE_STOP:me=!0}}La&&(W=W===ti.CODE_CODE_A?ti.CODE_CODE_B:ti.CODE_CODE_A)}const Zn=vt-ct;if(vt=d.getNextUnset(vt),!d.isRange(vt,Math.min(d.getSize(),vt+(vt-ct)/2),!1))throw new Ee;if(wi-=Ai*Ut,wi%103!==Ut)throw new j;const Ui=Ve.length;if(0===Ui)throw new Ee;Ui>0&&ni&&(Ve=Ve.substring(0,W===ti.CODE_CODE_C?Ui-2:Ui-1));const Vn=(b[1]+b[0])/2,lr=ct+Zn/2,qr=N.length,Tr=new Uint8Array(qr);for(let La=0;La{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 W,me,C=K.findAsteriskPattern(h,b),T=h.getNextSet(C[1]),N=h.getSize();do{K.recordPattern(h,T,b);let Ut=K.toNarrowWidePattern(b);if(Ut<0)throw new Ee;W=K.patternToChar(Ut),this.decodeRowResult+=W,me=T;for(let zt of b)T+=zt;T=h.getNextSet(T)}while("*"!==W);this.decodeRowResult=this.decodeRowResult.substring(0,this.decodeRowResult.length-1);let ct,Se=0;for(let Ut of b)Se+=Ut;if(T!==N&&2*(T-me-Se)p&&(C=W);p=C,b=0;let T=0,N=0;for(let W=0;Wp&&(N|=1<0;W++){let me=d[W];if(me>p&&(b--,2*me>=T))return-1}return N}}while(b>3);return-1}static patternToChar(d){for(let h=0;h="A"&&T<="Z"))throw new J;N=String.fromCharCode(T.charCodeAt(0)+32);break;case"$":if(!(T>="A"&&T<="Z"))throw new J;N=String.fromCharCode(T.charCodeAt(0)-64);break;case"%":if(T>="A"&&T<="E")N=String.fromCharCode(T.charCodeAt(0)-38);else if(T>="F"&&T<="J")N=String.fromCharCode(T.charCodeAt(0)-11);else if(T>="K"&&T<="O")N=String.fromCharCode(T.charCodeAt(0)+16);else if(T>="P"&&T<="T")N=String.fromCharCode(T.charCodeAt(0)+43);else if("U"===T)N="\0";else if("V"===T)N="@";else if("W"===T)N="`";else{if("X"!==T&&"Y"!==T&&"Z"!==T)throw new J;N="\x7f"}break;case"/":if(T>="A"&&T<="O")N=String.fromCharCode(T.charCodeAt(0)-32);else{if("Z"!==T)throw new J;N=":"}}p+=N,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 Ct extends vi{constructor(){super(...arguments),this.narrowLineWidth=-1}decodeRow(c,d,h){let p=this.decodeStart(d),b=this.decodeEnd(d),C=new pe;Ct.decodeMiddle(d,p[1],b[0],C);let T=C.toString(),N=null;null!=h&&(N=h.get(he.ALLOWED_LENGTHS)),null==N&&(N=Ct.DEFAULT_ALLOWED_LENGTHS);let W=T.length,me=!1,Se=0;for(let vt of N){if(W===vt){me=!0;break}vt>Se&&(Se=vt)}if(!me&&W>Se&&(me=!0),!me)throw new J;const Ve=[new qt(p[1],c),new qt(b[0],c)];return new Ge(T,null,0,Ve,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 Ee}static skipWhiteSpace(c){const d=c.getSize(),h=c.getNextSet(0);if(h===d)throw new Ee;return h}decodeEnd(c){c.reverse();try{let h,d=Ct.skipWhiteSpace(c);try{h=Ct.findGuardPattern(c,d,Ct.END_PATTERN_REVERSED[0])}catch(b){b instanceof Ee&&(h=Ct.findGuardPattern(c,d,Ct.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,N=0,W=d;b.fill(0);for(let me=d;me=0)return h%10;throw new Ee}}Ct.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])],Ct.MAX_AVG_VARIANCE=.38,Ct.MAX_INDIVIDUAL_VARIANCE=.5,Ct.DEFAULT_ALLOWED_LENGTHS=[6,8,10,12,14],Ct.START_PATTERN=Int32Array.from([1,1,1,1]),Ct.END_PATTERN_REVERSED=[Int32Array.from([1,1,2]),Int32Array.from([1,1,3])];class bt 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=bt.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 bt.checkStandardUPCEANChecksum(c)}static checkStandardUPCEANChecksum(c){let d=c.length;if(0===d)return!1;let h=parseInt(c.charAt(d-1),10);return bt.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 J;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 J;h+=b}return(1e3-h)%10}static decodeEnd(c,d){return bt.findGuardPattern(c,d,!1,bt.START_END_PATTERN,new Int32Array(bt.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,N=d=h?c.getNextUnset(d):c.getNextSet(d),W=p.length,me=h;for(let Se=d;Se=0)return C;throw new Ee}}bt.MAX_AVG_VARIANCE=.48,bt.MAX_INDIVIDUAL_VARIANCE=.7,bt.START_END_PATTERN=Int32Array.from([1,1,1]),bt.MIDDLE_PATTERN=Int32Array.from([1,1,1,1,1]),bt.END_PATTERN=Int32Array.from([1,1,1,1,1,1]),bt.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 Bi{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=Bi.parseExtensionString(C),N=[new qt((h[0]+h[1])/2,c),new qt(b,c)],W=new Ge(C,null,0,N,lt.UPC_EAN_EXTENSION,(new Date).getTime());return null!=T&&W.putAllMetadata(T),W}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 W=0;W<5&&C=10&&(T|=1<<4-W),4!==W&&(C=c.getNextSet(C),C=c.getNextUnset(C))}if(5!==h.length)throw new Ee;let N=this.determineCheckDigit(T);if(Bi.extensionChecksum(h.toString())!==N)throw new Ee;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 Ee}static parseExtensionString(c){if(5!==c.length)return null;let d=Bi.parseExtension5String(c);return null==d?null:new Map([[Qt.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 Oi{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=Oi.parseExtensionString(C),N=[new qt((h[0]+h[1])/2,c),new qt(b,c)],W=new Ge(C,null,0,N,lt.UPC_EAN_EXTENSION,(new Date).getTime());return null!=T&&W.putAllMetadata(T),W}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 N=0;N<2&&C=10&&(T|=1<<1-N),1!==N&&(C=c.getNextSet(C),C=c.getNextUnset(C))}if(2!==h.length)throw new Ee;if(parseInt(h.toString())%4!==T)throw new Ee;return C}static parseExtensionString(c){return 2!==c.length?null:new Map([[Qt.ISSUE_NUMBER,parseInt(c)]])}}class hn{static decodeRow(c,d,h){let p=bt.findGuardPattern(d,h,!1,this.EXTENSION_START_PATTERN,new Int32Array(this.EXTENSION_START_PATTERN.length).fill(0));try{return(new Bi).decodeRow(c,d,p)}catch{return(new Oi).decodeRow(c,d,p)}}}hn.EXTENSION_START_PATTERN=Int32Array.from([1,1,2]);class ui extends bt{constructor(){super(),this.decodeRowStringBuffer="",ui.L_AND_G_PATTERNS=ui.L_PATTERNS.map(c=>Int32Array.from(c));for(let c=10;c<20;c++){let d=ui.L_PATTERNS[c-10],h=new Int32Array(d.length);for(let p=0;p=d.getSize()||!d.isRange(me,Se,!1))throw new Ee;let Ve=N.toString();if(Ve.length<8)throw new J;if(!ui.checkChecksum(Ve))throw new j;let ct=(p[1]+p[0])/2,vt=(W[1]+W[0])/2,Dt=this.getBarcodeFormat(),Ut=[new qt(ct,c),new qt(vt,c)],zt=new Ge(Ve,null,0,Ut,Dt,(new Date).getTime()),wi=0;try{let ni=hn.decodeRow(c,d,W[1]);zt.putMetadata(Qt.UPC_EAN_EXTENSION,ni.getText()),zt.putAllMetadata(ni.getResultMetadata()),zt.addResultPoints(ni.getResultPoints()),wi=ni.getText().length}catch{}let Ai=null==h?null:h.get(he.ALLOWED_EAN_EXTENSIONS);if(null!=Ai){let ni=!1;for(let Tn in Ai)if(wi.toString()===Tn){ni=!0;break}if(!ni)throw new Ee}return zt}decodeEnd(c,d){return ui.findGuardPattern(c,d,!1,ui.START_END_PATTERN,new Int32Array(ui.START_END_PATTERN.length).fill(0))}static checkChecksum(c){return ui.checkStandardUPCEANChecksum(c)}static checkStandardUPCEANChecksum(c){let d=c.length;if(0===d)return!1;let h=parseInt(c.charAt(d-1),10);return ui.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 J;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 J;h+=b}return(1e3-h)%10}}let mn=(()=>{class K extends ui{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],N=0;for(let me=0;me<6&&T=10&&(N|=1<<5-me)}p=K.determineFirstDigit(p,N),T=ui.findGuardPattern(d,T,!0,ui.MIDDLE_PATTERN,new Int32Array(ui.MIDDLE_PATTERN.length).fill(0))[1];for(let me=0;me<6&&TW);p[0]=0,p[1]=0,p[2]=0,p[3]=0;const b=c.getSize();let C=d[1],T=0;for(let W=0;W<6&&C=10&&(T|=1<<5-W)}return{rowOffset:C,resultString:oe.determineNumSysAndCheckDigit(h,T)}}decodeEnd(c,d){return oe.findGuardPatternWithoutCounters(c,d,!0,oe.MIDDLE_END_PATTERN)}checkChecksum(c){return ui.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 Ee.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 de extends vi{constructor(c){super();let d=null==c?null:c.get(he.POSSIBLE_FORMATS),h=[];f(d)?(h.push(new mn),h.push(new Me),h.push(new kt),h.push(new oe)):(d.indexOf(lt.EAN_13)>-1&&h.push(new mn),d.indexOf(lt.UPC_A)>-1&&h.push(new Me),d.indexOf(lt.EAN_8)>-1&&h.push(new kt),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(he.POSSIBLE_FORMATS),N=null==T||T.includes(lt.UPC_A);if(C&&N){const W=b.getRawBytes(),me=new Ge(b.getText().substring(1),W,W?W.length:null,b.getResultPoints(),lt.UPC_A);return me.putAllMetadata(b.getResultMetadata()),me}return b}catch{}throw new Ee}reset(){for(let c of this.readers)c.reset()}}let Le=(()=>{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 N of d)N>T&&(T=N),N=T-N-1&&(me-=gi.combins(p-W-(T-N),T-N-2)),T-N-1>1){let Se=0;for(let Ve=p-W-(T-N-2);Ve>d;Ve--)Se+=gi.combins(p-W-Ve-1,T-N-3);me-=Se*(T-1-N)}else p-W>d&&me--;b+=me}p-=W}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 Ni{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 N=11;N>=0;--N)T&1<=0;--Se)me&1<=0;--Ve)Se&1<{class K extends ji{constructor(d,h){super(d),this.value=h}getValue(){return this.value}isFNC1(){return this.value===K.FNC1}}return K.FNC1="$",K})();class Re extends ji{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 $e=(()=>{class K extends ji{constructor(d,h,p){if(super(d),h<0||h>10||p<0||p>10)throw new J;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 Ee;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 Ee;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 Ee;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 Ee}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 $e(this.information.getSize(),0===b?$e.FNC1:b-1,$e.FNC1)}let d=this.extractNumericValueFromBitArray(c,7);return new $e(c+7,(d-8)/11,(d-8)%11)}extractNumericValueFromBitArray(c,d){return St.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 _e(c+5,_e.FNC1);if(d>=5&&d<15)return new _e(c+5,"0"+(d-5));let b,h=this.extractNumericValueFromBitArray(c,7);if(h>=64&&h<90)return new _e(c+7,""+(h+1));if(h>=90&&h<116)return new _e(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 J}return new _e(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 _e(c+5,_e.FNC1);if(d>=5&&d<15)return new _e(c+5,"0"+(d-5));let p,h=this.extractNumericValueFromBitArray(c,6);if(h>=32&&h<58)return new _e(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 _e(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 Xe{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})(),Be=(()=>{class K extends tt{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})(),pt=(()=>{class K extends Xe{constructor(d){super(d)}parseInformation(){let d=new pe;return this.getGeneralDecoder().decodeAllCodes(d,K.HEADER_SIZE)}}return K.HEADER_SIZE=5,K})();class Lt extends tt{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 Jt=(()=>{class K extends Lt{constructor(d){super(d)}parseInformation(){if(this.getInformation().getSize()!=K.HEADER_SIZE+Lt.GTIN_SIZE+K.WEIGHT_SIZE)throw new Ee;let d=new pe;return this.encodeCompressedGtin(d,K.HEADER_SIZE),this.encodeCompressedWeight(d,K.HEADER_SIZE+Lt.GTIN_SIZE,K.WEIGHT_SIZE),d.toString()}}return K.HEADER_SIZE=5,K.WEIGHT_SIZE=15,K})();class ci extends Jt{constructor(c){super(c)}addWeightCode(c,d){c.append("(3103)")}checkWeight(c){return c}}class Di extends Jt{constructor(c){super(c)}addWeightCode(c,d){c.append(d<1e4?"(3202)":"(3203)")}checkWeight(c){return c<1e4?c:c-1e4}}let Wi=(()=>{class K extends tt{constructor(d){super(d)}parseInformation(){if(this.getInformation().getSize(){class K extends tt{constructor(d){super(d)}parseInformation(){if(this.getInformation().getSize(){class K extends Lt{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 Ee;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 Cr(K){try{if(K.get(1))return new Be(K);if(!K.get(2))return new pt(K);switch(St.extractNumericValueFromBitArray(K,1,4)){case 4:return new ci(K);case 5:return new Di(K)}switch(St.extractNumericValueFromBitArray(K,1,5)){case 12:return new Wi(K);case 13:return new fn(K)}switch(St.extractNumericValueFromBitArray(K,1,7)){case 56:return new Yn(K,"310","11");case 57:return new Yn(K,"320","11");case 58:return new Yn(K,"310","13");case 59:return new Yn(K,"320","13");case 60:return new Yn(K,"310","15");case 61:return new Yn(K,"320","15");case 62:return new Yn(K,"310","17");case 63:return new Yn(K,"320","17")}}catch(c){throw console.log(c),new ht("unknown decoder: "+K)}}class fr{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 fr&&fr.equalsOrNull(c.leftchar,d.leftchar)&&fr.equalsOrNull(c.rightchar,d.rightchar)&&fr.equalsOrNull(c.finderpattern,d.finderpattern)}static equalsOrNull(c,d){return null===c?null===d:fr.equals(c,d)}hashCode(){return this.leftchar.getValue()^this.rightchar.getValue()^this.finderpattern.getValue()}}class Dn{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 Dn&&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 li extends Le{constructor(c){super(...arguments),this.pairs=new Array(li.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 li.constructResult(this.decodeRow2pairs(c,d))}catch(p){this.verbose&&console.log(p)}return this.pairs.length=0,this.startFromEven=!0,li.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 Ee){if(!this.pairs.length)throw new Ee;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 Ee}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||li.isPartialRow(this.pairs,this.rows)||(this.rows.push(h,new Dn(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(fr.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=Cr(Ni.buildBitArray(c)).parseInformation(),b=c[0].getFinderPattern().getResultPoints(),C=c[c.length-1].getFinderPattern().getResultPoints();return new Ge(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 N=!1;for(;C=0&&!c.get(W);)W--;W++,p=this.startEnd[0]-W,b=W,C=this.startEnd[1]}else b=this.startEnd[0],C=c.getNextUnset(this.startEnd[1]+1),p=C-this.startEnd[1];let N,T=this.getDecodeFinderCounters();L.arraycopy(T,0,T,1,T.length-1),T[0]=p;try{N=this.parseFinderValue(T,li.FINDER_PATTERNS)}catch{return null}return new Et(N,[b,C],b,C,d)}decodeDataCharacter(c,d,h,p){let b=this.getDataCharacterCounters();for(let lr=0;lr.3)throw new Ee;let W=this.getOddCounts(),me=this.getEvenCounts(),Se=this.getOddRoundingErrors(),Ve=this.getEvenRoundingErrors();for(let lr=0;lr8){if(qr>8.7)throw new Ee;Tr=8}let xa=lr/2;1&lr?(me[xa]=Tr,Ve[xa]=qr-Tr):(W[xa]=Tr,Se[xa]=qr-Tr)}this.adjustOddEvenCounts(17);let ct=4*d.getValue()+(h?0:2)+(p?0:1)-1,vt=0,Dt=0;for(let lr=W.length-1;lr>=0;lr--)li.isNotA1left(d,h,p)&&(Dt+=W[lr]*li.WEIGHTS[ct][2*lr]),vt+=W[lr];let Ut=0;for(let lr=me.length-1;lr>=0;lr--)li.isNotA1left(d,h,p)&&(Ut+=me[lr]*li.WEIGHTS[ct][2*lr+1]);let zt=Dt+Ut;if(1&vt||vt>13||vt<4)throw new Ee;let wi=(13-vt)/2,Ai=li.SYMBOL_WIDEST[wi],ni=9-Ai,Tn=gi.getRSSvalue(W,Ai,!0),dn=gi.getRSSvalue(me,ni,!1);return new et(Tn*li.EVEN_TOTAL_SUBSET[wi]+dn+li.GSUM[wi],zt)}static isNotA1left(c,d,h){return!(0==c.getValue()&&d&&h)}adjustOddEvenCounts(c){let d=pi.sum(new Int32Array(this.getOddCounts())),h=pi.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 N=d+h-c,W=1==(1&d),me=0==(1&h);if(1==N)if(W){if(me)throw new Ee;b=!0}else{if(!me)throw new Ee;T=!0}else if(-1==N)if(W){if(me)throw new Ee;p=!0}else{if(!me)throw new Ee;C=!0}else{if(0!=N)throw new Ee;if(W){if(!me)throw new Ee;d1)for(let T of this.possibleRightPairs)if(T.getCount()>1&&rn.checkChecksum(C,T))return rn.constructResult(C,T);throw new Ee}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 W=13-p.length;W>0;W--)b.append("0");b.append(p);let C=0;for(let W=0;W<13;W++){let me=b.charAt(W).charCodeAt(0)-"0".charCodeAt(0);C+=1&W?me:3*me}C=10-C%10,10===C&&(C=0),b.append(C.toString());let T=c.getFinderPattern().getResultPoints(),N=d.getFinderPattern().getResultPoints();return new Ge(b.toString(),null,0,[T[0],T[1],N[0],N[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(he.NEED_RESULT_POINT_CALLBACK);if(null!=T){let me=(b[0]+b[1])/2;d&&(me=c.getSize()-1-me),T.foundPossibleResultPoint(new qt(me,h))}let N=this.decodeDataCharacter(c,C,!0),W=this.decodeDataCharacter(c,C,!1);return new Mn(1597*N.getValue()+W.getValue(),N.getChecksumPortion()+4*W.getChecksumPortion(),C)}catch{return null}}decodeDataCharacter(c,d,h){let p=this.getDataCharacterCounters();for(let Ut=0;Ut8&&(wi=8);let Ai=Math.floor(Ut/2);1&Ut?(N[Ai]=wi,me[Ai]=zt-wi):(T[Ai]=wi,W[Ai]=zt-wi)}this.adjustOddEvenCounts(h,b);let Se=0,Ve=0;for(let Ut=T.length-1;Ut>=0;Ut--)Ve*=9,Ve+=T[Ut],Se+=T[Ut];let ct=0,vt=0;for(let Ut=N.length-1;Ut>=0;Ut--)ct*=9,ct+=N[Ut],vt+=N[Ut];let Dt=Ve+3*ct;if(h){if(1&Se||Se>12||Se<4)throw new Ee;let Ut=(12-Se)/2,zt=rn.OUTSIDE_ODD_WIDEST[Ut],wi=9-zt,Ai=gi.getRSSvalue(T,zt,!1),ni=gi.getRSSvalue(N,wi,!0);return new et(Ai*rn.OUTSIDE_EVEN_TOTAL_SUBSET[Ut]+ni+rn.OUTSIDE_GSUM[Ut],Dt)}{if(1&vt||vt>10||vt<4)throw new Ee;let Ut=(10-vt)/2,zt=rn.INSIDE_ODD_WIDEST[Ut],wi=9-zt,Ai=gi.getRSSvalue(T,zt,!0),ni=gi.getRSSvalue(N,wi,!1);return new et(ni*rn.INSIDE_ODD_TOTAL_SUBSET[Ut]+Ai+rn.INSIDE_GSUM[Ut],Dt)}}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,N=this.getDecodeFinderCounters(),W=new Int32Array(N.length);L.arraycopy(N,0,W,1,N.length-1),W[0]=T;const me=this.parseFinderValue(W,rn.FINDER_PATTERNS);let Se=C,Ve=p[1];return h&&(Se=c.getSize()-1-Se,Ve=c.getSize()-1-Ve),new Et(me,[C,p[1]],Se,Ve,d)}adjustOddEvenCounts(c,d){let h=pi.sum(new Int32Array(this.getOddCounts())),p=pi.sum(new Int32Array(this.getEvenCounts())),b=!1,C=!1,T=!1,N=!1;c?(h>12?C=!0:h<4&&(b=!0),p>12?N=!0:p<4&&(T=!0)):(h>11?C=!0:h<5&&(b=!0),p>10?N=!0:p<4&&(T=!0));let W=h+p-d,me=(1&h)==(c?1:0),Se=1==(1&p);if(1===W)if(me){if(Se)throw new Ee;C=!0}else{if(!Se)throw new Ee;N=!0}else if(-1===W)if(me){if(Se)throw new Ee;b=!0}else{if(!Se)throw new Ee;T=!0}else{if(0!==W)throw new Ee;if(me){if(!Se)throw new Ee;hc.reset())}}class $i{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 hi{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 N=C.getECCodewords(),W=C.getECBlocks();for(let me of W)T+=me.getCount()*(me.getDataCodewords()+N);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 J;for(let h of hi.VERSIONS)if(h.symbolSizeRows===c&&h.symbolSizeColumns===d)return h;throw new J}toString(){return""+this.versionNumber}static buildVersions(){return[new hi(1,10,10,8,8,new $i(5,new bn(1,3))),new hi(2,12,12,10,10,new $i(7,new bn(1,5))),new hi(3,14,14,12,12,new $i(10,new bn(1,8))),new hi(4,16,16,14,14,new $i(12,new bn(1,12))),new hi(5,18,18,16,16,new $i(14,new bn(1,18))),new hi(6,20,20,18,18,new $i(18,new bn(1,22))),new hi(7,22,22,20,20,new $i(20,new bn(1,30))),new hi(8,24,24,22,22,new $i(24,new bn(1,36))),new hi(9,26,26,24,24,new $i(28,new bn(1,44))),new hi(10,32,32,14,14,new $i(36,new bn(1,62))),new hi(11,36,36,16,16,new $i(42,new bn(1,86))),new hi(12,40,40,18,18,new $i(48,new bn(1,114))),new hi(13,44,44,20,20,new $i(56,new bn(1,144))),new hi(14,48,48,22,22,new $i(68,new bn(1,174))),new hi(15,52,52,24,24,new $i(42,new bn(2,102))),new hi(16,64,64,14,14,new $i(56,new bn(2,140))),new hi(17,72,72,16,16,new $i(36,new bn(4,92))),new hi(18,80,80,18,18,new $i(48,new bn(4,114))),new hi(19,88,88,20,20,new $i(56,new bn(4,144))),new hi(20,96,96,22,22,new $i(68,new bn(4,174))),new hi(21,104,104,24,24,new $i(56,new bn(6,136))),new hi(22,120,120,18,18,new $i(68,new bn(6,175))),new hi(23,132,132,20,20,new $i(62,new bn(8,163))),new hi(24,144,144,22,22,new $i(62,new bn(8,156),new bn(2,155))),new hi(25,8,18,6,16,new $i(7,new bn(1,5))),new hi(26,8,32,6,14,new $i(11,new bn(1,10))),new hi(27,12,26,10,24,new $i(14,new bn(1,16))),new hi(28,12,36,10,16,new $i(18,new bn(1,22))),new hi(29,16,36,14,16,new $i(24,new bn(1,32))),new hi(30,16,48,14,22,new $i(28,new bn(1,49)))]}}hi.VERSIONS=hi.buildVersions();class sn{constructor(c){const d=c.getHeight();if(d<8||d>144||1&d)throw new J;this.version=sn.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 hi.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,N=!1,W=!1,me=!1;do{if(h!==b||0!==p||T)if(h===b-2&&0===p&&3&C&&!N)c[d++]=255&this.readCorner2(b,C),h-=2,p+=2,N=!0;else if(h!==b+4||2!==p||7&C||W)if(h!==b-2||0!==p||4!=(7&C)||me){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,me=!0;else c[d++]=255&this.readCorner3(b,C),h-=2,p+=2,W=!0;else c[d++]=255&this.readCorner1(b,C),h-=2,p+=2,T=!0}while(h7?Dt-1:Dt]=c[Se++]}if(Se!==c.length)throw new D;return C}getNumDataCodewords(){return this.numDataCodewords}getCodewords(){return this.codewords}}class cr{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<>N,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 yn=(()=>{return(K=yn||(yn={}))[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",yn;var K})();class vn{static decode(c){const d=new cr(c),h=new pe,p=new pe,b=new Array;let C=yn.ASCII_ENCODE;do{if(C===yn.ASCII_ENCODE)C=this.decodeAsciiSegment(d,h,p);else{switch(C){case yn.C40_ENCODE:this.decodeC40Segment(d,h);break;case yn.TEXT_ENCODE:this.decodeTextSegment(d,h);break;case yn.ANSIX12_ENCODE:this.decodeAnsiX12Segment(d,h);break;case yn.EDIFACT_ENCODE:this.decodeEdifactSegment(d,h);break;case yn.BASE256_ENCODE:this.decodeBase256Segment(d,h,b);break;default:throw new J}C=yn.ASCII_ENCODE}}while(C!==yn.PAD_ENCODE&&d.available()>0);return p.length()>0&&h.append(p.toString()),new Bt(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 J;if(b<=128)return p&&(b+=128),d.append(String.fromCharCode(b-1)),yn.ASCII_ENCODE;if(129===b)return yn.PAD_ENCODE;if(b<=229){const C=b-130;C<10&&d.append("0"),d.append(""+C)}else switch(b){case 230:return yn.C40_ENCODE;case 231:return yn.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 yn.ANSIX12_ENCODE;case 239:return yn.TEXT_ENCODE;case 240:return yn.EDIFACT_ENCODE;default:if(254!==b||0!==c.available())throw new J}}while(c.available()>0);return yn.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 N=p[T];switch(b){case 0:if(N<3)b=N+1;else{if(!(N0)}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 N=p[T];switch(b){case 0:if(N<3)b=N+1;else{if(!(N0)}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 J;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 J;const T=new Uint8Array(C);for(let N=0;N=0?p:p+256}}vn.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"],vn.C40_SHIFT2_SET_CHARS=["!",'"',"#","$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","?","@","[","\\","]","^","_"],vn.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"],vn.TEXT_SHIFT2_SET_CHARS=vn.C40_SHIFT2_SET_CHARS,vn.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 la{constructor(){this.rsDecoder=new at(Mt.DATA_MATRIX_FIELD_256)}decode(c){const d=new sn(c),h=d.getVersion(),p=d.readCodewords(),b=qn.getDataBlocks(p,h);let C=0;for(let W of b)C+=W.getNumDataCodewords();const T=new Uint8Array(C),N=b.length;for(let W=0;WT&&(me=T,Se[0]=d,Se[1]=h,Se[2]=p,Se[3]=b),me>N&&(me=N,Se[0]=h,Se[1]=p,Se[2]=b,Se[3]=d),me>W&&(Se[0]=p,Se[1]=b,Se[2]=d,Se[3]=h),Se}detectSolid2(c){let d=c[0],h=c[1],p=c[2],b=c[3],C=this.transitionsBetween(d,b),T=Vi.shiftPoint(h,p,4*(C+1)),N=Vi.shiftPoint(p,h,4*(C+1));return this.transitionsBetween(T,d)this.transitionsBetween(N,Se)+this.transitionsBetween(W,Se)?me:Se:me:this.isValid(Se)?Se: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,N=Vi.shiftPoint(d,h,4*T),W=Vi.shiftPoint(p,h,4*C);C=this.transitionsBetween(N,b)+1,T=this.transitionsBetween(W,b)+1,1==(1&C)&&(C+=1),1==(1&T)&&(T+=1);let Ve,ct,me=(d.getX()+h.getX()+p.getX()+b.getX())/4,Se=(d.getY()+h.getY()+p.getY()+b.getY())/4;return d=Vi.moveAway(d,me,Se),h=Vi.moveAway(h,me,Se),p=Vi.moveAway(p,me,Se),b=Vi.moveAway(b,me,Se),N=Vi.shiftPoint(d,h,4*T),N=Vi.shiftPoint(N,b,4*C),Ve=Vi.shiftPoint(h,d,4*T),Ve=Vi.shiftPoint(Ve,p,4*C),W=Vi.shiftPoint(p,b,4*T),W=Vi.shiftPoint(W,h,4*C),ct=Vi.shiftPoint(b,p,4*T),ct=Vi.shiftPoint(ct,d,4*C),[N,Ve,W,ct]}isValid(c){return c.getX()>=0&&c.getX()0&&c.getY()Math.abs(b-h);if(T){let Dt=h;h=p,p=Dt,Dt=b,b=C,C=Dt}let N=Math.abs(b-h),W=Math.abs(C-p),me=-N/2,Se=p0){if(Ut===C)break;Ut+=Se,me-=N}}return ct}}let zi=(()=>{class K{constructor(){this.decoder=new la}decode(d,h=null){let p,b;if(null!=h&&h.has(he.PURE_BARCODE)){const me=K.extractPureBits(d.getBlackMatrix());p=this.decoder.decode(me),b=K.NO_POINTS}else{const me=new Vi(d.getBlackMatrix()).detect();p=this.decoder.decode(me.getBits()),b=me.getPoints()}const C=p.getRawBytes(),T=new Ge(p.getText(),C,8*C.length,b,lt.DATA_MATRIX,L.currentTimeMillis()),N=p.getByteSegments();null!=N&&T.putMetadata(Qt.BYTE_SEGMENTS,N);const W=p.getECLevel();return null!=W&&T.putMetadata(Qt.ERROR_CORRECTION_LEVEL,W),T}reset(){}static extractPureBits(d){const h=d.getTopLeftOnBit(),p=d.getBottomRightOnBit();if(null==h||null==p)throw new Ee;const b=this.moduleSize(h,d);let C=h[1],N=h[0];const me=(p[0]-N+1)/b,Se=(p[1]-C+1)/b;if(me<=0||Se<=0)throw new Ee;const Ve=b/2;C+=Ve,N+=Ve;const ct=new ae(me,Se);for(let vt=0;vt{return(K=Zi||(Zi={}))[K.L=0]="L",K[K.M=1]="M",K[K.Q=2]="Q",K[K.H=3]="H",Zi;var K})();class Gi{constructor(c,d,h){this.value=c,this.stringValue=d,this.bits=h,Gi.FOR_BITS.set(h,this),Gi.FOR_VALUE.set(c,this)}getValue(){return this.value}getBits(){return this.bits}static fromString(c){switch(c){case"L":return Gi.L;case"M":return Gi.M;case"Q":return Gi.Q;case"H":return Gi.H;default:throw new S(c+"not available")}}toString(){return this.stringValue}equals(c){return c instanceof Gi&&this.value===c.value}static forBits(c){if(c<0||c>=Gi.FOR_BITS.size)throw new D;return Gi.FOR_BITS.get(c)}}Gi.FOR_BITS=new Map,Gi.FOR_VALUE=new Map,Gi.L=new Gi(Zi.L,"L",1),Gi.M=new Gi(Zi.M,"M",0),Gi.Q=new Gi(Zi.Q,"Q",3),Gi.H=new Gi(Zi.H,"H",2);class tr{constructor(c){this.errorCorrectionLevel=Gi.forBits(c>>3&3),this.dataMask=7&c}static numBitsDiffering(c,d){return U.bitCount(c^d)}static decodeFormatInformation(c,d){const h=tr.doDecodeFormatInformation(c,d);return null!==h?h:tr.doDecodeFormatInformation(c^tr.FORMAT_INFO_MASK_QR,d^tr.FORMAT_INFO_MASK_QR)}static doDecodeFormatInformation(c,d){let h=Number.MAX_SAFE_INTEGER,p=0;for(const b of tr.FORMAT_INFO_DECODE_LOOKUP){const C=b[0];if(C===c||C===d)return new tr(b[1]);let T=tr.numBitsDiffering(c,C);T40)throw new D;return Ri.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}}Ri.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]),Ri.VERSIONS=[new Ri(1,new Int32Array(0),new Ht(7,new it(1,19)),new Ht(10,new it(1,16)),new Ht(13,new it(1,13)),new Ht(17,new it(1,9))),new Ri(2,Int32Array.from([6,18]),new Ht(10,new it(1,34)),new Ht(16,new it(1,28)),new Ht(22,new it(1,22)),new Ht(28,new it(1,16))),new Ri(3,Int32Array.from([6,22]),new Ht(15,new it(1,55)),new Ht(26,new it(1,44)),new Ht(18,new it(2,17)),new Ht(22,new it(2,13))),new Ri(4,Int32Array.from([6,26]),new Ht(20,new it(1,80)),new Ht(18,new it(2,32)),new Ht(26,new it(2,24)),new Ht(16,new it(4,9))),new Ri(5,Int32Array.from([6,30]),new Ht(26,new it(1,108)),new Ht(24,new it(2,43)),new Ht(18,new it(2,15),new it(2,16)),new Ht(22,new it(2,11),new it(2,12))),new Ri(6,Int32Array.from([6,34]),new Ht(18,new it(2,68)),new Ht(16,new it(4,27)),new Ht(24,new it(4,19)),new Ht(28,new it(4,15))),new Ri(7,Int32Array.from([6,22,38]),new Ht(20,new it(2,78)),new Ht(18,new it(4,31)),new Ht(18,new it(2,14),new it(4,15)),new Ht(26,new it(4,13),new it(1,14))),new Ri(8,Int32Array.from([6,24,42]),new Ht(24,new it(2,97)),new Ht(22,new it(2,38),new it(2,39)),new Ht(22,new it(4,18),new it(2,19)),new Ht(26,new it(4,14),new it(2,15))),new Ri(9,Int32Array.from([6,26,46]),new Ht(30,new it(2,116)),new Ht(22,new it(3,36),new it(2,37)),new Ht(20,new it(4,16),new it(4,17)),new Ht(24,new it(4,12),new it(4,13))),new Ri(10,Int32Array.from([6,28,50]),new Ht(18,new it(2,68),new it(2,69)),new Ht(26,new it(4,43),new it(1,44)),new Ht(24,new it(6,19),new it(2,20)),new Ht(28,new it(6,15),new it(2,16))),new Ri(11,Int32Array.from([6,30,54]),new Ht(20,new it(4,81)),new Ht(30,new it(1,50),new it(4,51)),new Ht(28,new it(4,22),new it(4,23)),new Ht(24,new it(3,12),new it(8,13))),new Ri(12,Int32Array.from([6,32,58]),new Ht(24,new it(2,92),new it(2,93)),new Ht(22,new it(6,36),new it(2,37)),new Ht(26,new it(4,20),new it(6,21)),new Ht(28,new it(7,14),new it(4,15))),new Ri(13,Int32Array.from([6,34,62]),new Ht(26,new it(4,107)),new Ht(22,new it(8,37),new it(1,38)),new Ht(24,new it(8,20),new it(4,21)),new Ht(22,new it(12,11),new it(4,12))),new Ri(14,Int32Array.from([6,26,46,66]),new Ht(30,new it(3,115),new it(1,116)),new Ht(24,new it(4,40),new it(5,41)),new Ht(20,new it(11,16),new it(5,17)),new Ht(24,new it(11,12),new it(5,13))),new Ri(15,Int32Array.from([6,26,48,70]),new Ht(22,new it(5,87),new it(1,88)),new Ht(24,new it(5,41),new it(5,42)),new Ht(30,new it(5,24),new it(7,25)),new Ht(24,new it(11,12),new it(7,13))),new Ri(16,Int32Array.from([6,26,50,74]),new Ht(24,new it(5,98),new it(1,99)),new Ht(28,new it(7,45),new it(3,46)),new Ht(24,new it(15,19),new it(2,20)),new Ht(30,new it(3,15),new it(13,16))),new Ri(17,Int32Array.from([6,30,54,78]),new Ht(28,new it(1,107),new it(5,108)),new Ht(28,new it(10,46),new it(1,47)),new Ht(28,new it(1,22),new it(15,23)),new Ht(28,new it(2,14),new it(17,15))),new Ri(18,Int32Array.from([6,30,56,82]),new Ht(30,new it(5,120),new it(1,121)),new Ht(26,new it(9,43),new it(4,44)),new Ht(28,new it(17,22),new it(1,23)),new Ht(28,new it(2,14),new it(19,15))),new Ri(19,Int32Array.from([6,30,58,86]),new Ht(28,new it(3,113),new it(4,114)),new Ht(26,new it(3,44),new it(11,45)),new Ht(26,new it(17,21),new it(4,22)),new Ht(26,new it(9,13),new it(16,14))),new Ri(20,Int32Array.from([6,34,62,90]),new Ht(28,new it(3,107),new it(5,108)),new Ht(26,new it(3,41),new it(13,42)),new Ht(30,new it(15,24),new it(5,25)),new Ht(28,new it(15,15),new it(10,16))),new Ri(21,Int32Array.from([6,28,50,72,94]),new Ht(28,new it(4,116),new it(4,117)),new Ht(26,new it(17,42)),new Ht(28,new it(17,22),new it(6,23)),new Ht(30,new it(19,16),new it(6,17))),new Ri(22,Int32Array.from([6,26,50,74,98]),new Ht(28,new it(2,111),new it(7,112)),new Ht(28,new it(17,46)),new Ht(30,new it(7,24),new it(16,25)),new Ht(24,new it(34,13))),new Ri(23,Int32Array.from([6,30,54,78,102]),new Ht(30,new it(4,121),new it(5,122)),new Ht(28,new it(4,47),new it(14,48)),new Ht(30,new it(11,24),new it(14,25)),new Ht(30,new it(16,15),new it(14,16))),new Ri(24,Int32Array.from([6,28,54,80,106]),new Ht(30,new it(6,117),new it(4,118)),new Ht(28,new it(6,45),new it(14,46)),new Ht(30,new it(11,24),new it(16,25)),new Ht(30,new it(30,16),new it(2,17))),new Ri(25,Int32Array.from([6,32,58,84,110]),new Ht(26,new it(8,106),new it(4,107)),new Ht(28,new it(8,47),new it(13,48)),new Ht(30,new it(7,24),new it(22,25)),new Ht(30,new it(22,15),new it(13,16))),new Ri(26,Int32Array.from([6,30,58,86,114]),new Ht(28,new it(10,114),new it(2,115)),new Ht(28,new it(19,46),new it(4,47)),new Ht(28,new it(28,22),new it(6,23)),new Ht(30,new it(33,16),new it(4,17))),new Ri(27,Int32Array.from([6,34,62,90,118]),new Ht(30,new it(8,122),new it(4,123)),new Ht(28,new it(22,45),new it(3,46)),new Ht(30,new it(8,23),new it(26,24)),new Ht(30,new it(12,15),new it(28,16))),new Ri(28,Int32Array.from([6,26,50,74,98,122]),new Ht(30,new it(3,117),new it(10,118)),new Ht(28,new it(3,45),new it(23,46)),new Ht(30,new it(4,24),new it(31,25)),new Ht(30,new it(11,15),new it(31,16))),new Ri(29,Int32Array.from([6,30,54,78,102,126]),new Ht(30,new it(7,116),new it(7,117)),new Ht(28,new it(21,45),new it(7,46)),new Ht(30,new it(1,23),new it(37,24)),new Ht(30,new it(19,15),new it(26,16))),new Ri(30,Int32Array.from([6,26,52,78,104,130]),new Ht(30,new it(5,115),new it(10,116)),new Ht(28,new it(19,47),new it(10,48)),new Ht(30,new it(15,24),new it(25,25)),new Ht(30,new it(23,15),new it(25,16))),new Ri(31,Int32Array.from([6,30,56,82,108,134]),new Ht(30,new it(13,115),new it(3,116)),new Ht(28,new it(2,46),new it(29,47)),new Ht(30,new it(42,24),new it(1,25)),new Ht(30,new it(23,15),new it(28,16))),new Ri(32,Int32Array.from([6,34,60,86,112,138]),new Ht(30,new it(17,115)),new Ht(28,new it(10,46),new it(23,47)),new Ht(30,new it(10,24),new it(35,25)),new Ht(30,new it(19,15),new it(35,16))),new Ri(33,Int32Array.from([6,30,58,86,114,142]),new Ht(30,new it(17,115),new it(1,116)),new Ht(28,new it(14,46),new it(21,47)),new Ht(30,new it(29,24),new it(19,25)),new Ht(30,new it(11,15),new it(46,16))),new Ri(34,Int32Array.from([6,34,62,90,118,146]),new Ht(30,new it(13,115),new it(6,116)),new Ht(28,new it(14,46),new it(23,47)),new Ht(30,new it(44,24),new it(7,25)),new Ht(30,new it(59,16),new it(1,17))),new Ri(35,Int32Array.from([6,30,54,78,102,126,150]),new Ht(30,new it(12,121),new it(7,122)),new Ht(28,new it(12,47),new it(26,48)),new Ht(30,new it(39,24),new it(14,25)),new Ht(30,new it(22,15),new it(41,16))),new Ri(36,Int32Array.from([6,24,50,76,102,128,154]),new Ht(30,new it(6,121),new it(14,122)),new Ht(28,new it(6,47),new it(34,48)),new Ht(30,new it(46,24),new it(10,25)),new Ht(30,new it(2,15),new it(64,16))),new Ri(37,Int32Array.from([6,28,54,80,106,132,158]),new Ht(30,new it(17,122),new it(4,123)),new Ht(28,new it(29,46),new it(14,47)),new Ht(30,new it(49,24),new it(10,25)),new Ht(30,new it(24,15),new it(46,16))),new Ri(38,Int32Array.from([6,32,58,84,110,136,162]),new Ht(30,new it(4,122),new it(18,123)),new Ht(28,new it(13,46),new it(32,47)),new Ht(30,new it(48,24),new it(14,25)),new Ht(30,new it(42,15),new it(32,16))),new Ri(39,Int32Array.from([6,26,54,82,110,138,166]),new Ht(30,new it(20,117),new it(4,118)),new Ht(28,new it(40,47),new it(7,48)),new Ht(30,new it(43,24),new it(22,25)),new Ht(30,new it(10,15),new it(67,16))),new Ri(40,Int32Array.from([6,30,58,86,114,142,170]),new Ht(30,new it(19,118),new it(6,119)),new Ht(28,new it(18,47),new it(31,48)),new Ht(30,new it(34,24),new it(34,25)),new Ht(30,new it(20,15),new it(61,16)))];var In=(()=>{return(K=In||(In={}))[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",In;var K})();class Wn{constructor(c,d){this.value=c,this.isMasked=d}unmaskBitMatrix(c,d){for(let h=0;h0==(K+c&1))],[In.DATA_MASK_001,new Wn(In.DATA_MASK_001,(K,c)=>0==(1&K))],[In.DATA_MASK_010,new Wn(In.DATA_MASK_010,(K,c)=>c%3==0)],[In.DATA_MASK_011,new Wn(In.DATA_MASK_011,(K,c)=>(K+c)%3==0)],[In.DATA_MASK_100,new Wn(In.DATA_MASK_100,(K,c)=>0==(Math.floor(K/2)+Math.floor(c/3)&1))],[In.DATA_MASK_101,new Wn(In.DATA_MASK_101,(K,c)=>K*c%6==0)],[In.DATA_MASK_110,new Wn(In.DATA_MASK_110,(K,c)=>K*c%6<3)],[In.DATA_MASK_111,new Wn(In.DATA_MASK_111,(K,c)=>0==(K+c+K*c%3&1))]]);class ea{constructor(c){const d=c.getHeight();if(d<21||1!=(3&d))throw new J;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=Ri.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=Ri.decodeVersionInformation(h),null!==b&&b.getDimensionForVersion()===c)return this.parsedVersion=b,b;throw new J}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 N=0,W=0,me=0;for(let Se=p-1;Se>0;Se-=2){6===Se&&Se--;for(let Ve=0;Ve=0&&T[me].codewords.length!==W;)me--;me++;const Se=W-p.getECCodewordsPerBlock();let Ve=0;for(let vt=0;vt{return(K=Wr||(Wr={}))[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",Wr;var K})();class Ei{constructor(c,d,h,p){this.value=c,this.stringValue=d,this.characterCountBitsForVersions=h,this.bits=p,Ei.FOR_BITS.set(p,this),Ei.FOR_VALUE.set(c,this)}static forBits(c){const d=Ei.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 Ei&&this.value===c.value}toString(){return this.stringValue}}Ei.FOR_BITS=new Map,Ei.FOR_VALUE=new Map,Ei.TERMINATOR=new Ei(Wr.TERMINATOR,"TERMINATOR",Int32Array.from([0,0,0]),0),Ei.NUMERIC=new Ei(Wr.NUMERIC,"NUMERIC",Int32Array.from([10,12,14]),1),Ei.ALPHANUMERIC=new Ei(Wr.ALPHANUMERIC,"ALPHANUMERIC",Int32Array.from([9,11,13]),2),Ei.STRUCTURED_APPEND=new Ei(Wr.STRUCTURED_APPEND,"STRUCTURED_APPEND",Int32Array.from([0,0,0]),3),Ei.BYTE=new Ei(Wr.BYTE,"BYTE",Int32Array.from([8,16,16]),4),Ei.ECI=new Ei(Wr.ECI,"ECI",Int32Array.from([0,0,0]),7),Ei.KANJI=new Ei(Wr.KANJI,"KANJI",Int32Array.from([8,10,12]),8),Ei.FNC1_FIRST_POSITION=new Ei(Wr.FNC1_FIRST_POSITION,"FNC1_FIRST_POSITION",Int32Array.from([0,0,0]),5),Ei.FNC1_SECOND_POSITION=new Ei(Wr.FNC1_SECOND_POSITION,"FNC1_SECOND_POSITION",Int32Array.from([0,0,0]),9),Ei.HANZI=new Ei(Wr.HANZI,"HANZI",Int32Array.from([8,10,12]),13);let ta=(()=>{class K{static decode(d,h,p,b){const C=new cr(d);let T=new pe;const N=new Array;let W=-1,me=-1;try{let ct,Se=null,Ve=!1;do{if(C.available()<4)ct=Ei.TERMINATOR;else{const vt=C.readBits(4);ct=Ei.forBits(vt)}switch(ct){case Ei.TERMINATOR:break;case Ei.FNC1_FIRST_POSITION:case Ei.FNC1_SECOND_POSITION:Ve=!0;break;case Ei.STRUCTURED_APPEND:if(C.available()<16)throw new J;W=C.readBits(8),me=C.readBits(8);break;case Ei.ECI:const vt=K.parseECIValue(C);if(Se=$.getCharacterSetECIByValue(vt),null===Se)throw new J;break;case Ei.HANZI:const Dt=C.readBits(4),Ut=C.readBits(ct.getCharacterCountBits(h));Dt===K.GB2312_SUBSET&&K.decodeHanziSegment(C,T,Ut);break;default:const zt=C.readBits(ct.getCharacterCountBits(h));switch(ct){case Ei.NUMERIC:K.decodeNumericSegment(C,T,zt);break;case Ei.ALPHANUMERIC:K.decodeAlphanumericSegment(C,T,zt,Ve);break;case Ei.BYTE:K.decodeByteSegment(C,T,zt,Se,N,b);break;case Ei.KANJI:K.decodeKanjiSegment(C,T,zt);break;default:throw new J}}}while(ct!==Ei.TERMINATOR)}catch{throw new J}return new Bt(d,T.toString(),0===N.length?null:N,null===p?null:p.toString(),W,me)}static decodeHanziSegment(d,h,p){if(13*p>d.available())throw new J;const b=new Uint8Array(2*p);let C=0;for(;p>0;){const T=d.readBits(13);let N=T/96<<8&4294967295|T%96;N+=N<959?41377:42657,b[C]=N>>8&255,b[C+1]=255&N,C+=2,p--}try{h.append(te.decode(b,le.GB2312))}catch(T){throw new J(T)}}static decodeKanjiSegment(d,h,p){if(13*p>d.available())throw new J;const b=new Uint8Array(2*p);let C=0;for(;p>0;){const T=d.readBits(13);let N=T/192<<8&4294967295|T%192;N+=N<7936?33088:49472,b[C]=N>>8,b[C+1]=N,C+=2,p--}try{h.append(te.decode(b,le.SHIFT_JIS))}catch(T){throw new J(T)}}static decodeByteSegment(d,h,p,b,C,T){if(8*p>d.available())throw new J;const N=new Uint8Array(p);for(let me=0;me=K.ALPHANUMERIC_CHARS.length)throw new J;return K.ALPHANUMERIC_CHARS[d]}static decodeAlphanumericSegment(d,h,p,b){const C=h.length();for(;p>1;){if(d.available()<11)throw new J;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 J;h.append(K.toAlphaNumericChar(d.readBits(6)))}if(b)for(let T=C;T=3;){if(d.available()<10)throw new J;const b=d.readBits(10);if(b>=1e3)throw new J;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 J;const b=d.readBits(7);if(b>=100)throw new J;h.append(K.toAlphaNumericChar(Math.floor(b/10))),h.append(K.toAlphaNumericChar(b%10))}else if(1===p){if(d.available()<4)throw new J;const b=d.readBits(4);if(b>=10)throw new J;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 J}}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 Ss{constructor(){this.rsDecoder=new at(Mt.QR_CODE_FIELD_256)}decodeBooleanArray(c,d){return this.decodeBitMatrix(ae.parseFromBooleanArray(c),d)}decodeBitMatrix(c,d){const h=new ea(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=Wa.getDataBlocks(b,h,p);let T=0;for(const me of C)T+=me.getNumDataCodewords();const N=new Uint8Array(T);let W=0;for(const me of C){const Se=me.getCodewords(),Ve=me.getNumDataCodewords();this.correctErrors(Se,Ve);for(let ct=0;ct=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 N=c;for(;N>=0&&b.get(d,N)&&T[1]<=h;)T[1]++,N--;if(N<0||T[1]>h)return NaN;for(;N>=0&&!b.get(d,N)&&T[0]<=h;)T[0]++,N--;if(T[0]>h)return NaN;for(N=c+1;Nh)return NaN;for(;Nh||5*Math.abs(T[0]+T[1]+T[2]-p)>=2*p?NaN:this.foundPatternCross(T)?kr.centerFromEnd(T,N):NaN}handlePossibleCenter(c,d,h){const p=c[0]+c[1]+c[2],b=kr.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 W of this.possibleCenters)if(W.aboutEquals(T,C,b))return W.combineEstimate(C,b,T);const N=new ca(b,C,T);this.possibleCenters.push(N),null!=this.resultPointCallback&&this.resultPointCallback.foundPossibleResultPoint(N)}return null}}class ja extends qt{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 ja(b,C,(this.count*this.estimatedModuleSize+h)/p,p)}}class Or{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 qo=(()=>{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(he.TRY_HARDER),p=null!=d&&void 0!==d.get(he.PURE_BARCODE),b=this.image,C=b.getHeight(),T=b.getWidth();let N=Math.floor(3*C/(4*K.MAX_MODULES));(Nme[2]&&(Ve+=Ut-me[2]-N,vt=T-1)}ct=0,me[0]=0,me[1]=0,me[2]=0,me[3]=0,me[4]=0}else me[0]=me[2],me[1]=me[3],me[2]=me[4],me[3]=1,me[4]=0,ct=3;else me[++ct]++;K.foundPatternCross(me)&&!0===this.handlePossibleCenter(me,Ve,T,p)&&(N=me[0],this.hasSkipped&&(W=this.haveMultiplyConfirmedCenters()))}const Se=this.selectBestPatterns();return qt.orderBestPatterns(Se),new Or(Se)}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&&N.get(h-T,d-T);)C[2]++,T++;if(d=T&&h>=T&&!N.get(h-T,d-T)&&C[1]<=p;)C[1]++,T++;if(dp)return!1;for(;d>=T&&h>=T&&N.get(h-T,d-T)&&C[0]<=p;)C[0]++,T++;if(C[0]>p)return!1;const W=N.getHeight(),me=N.getWidth();for(T=1;d+T=W||h+T>=me)return!1;for(;d+T=W||h+T>=me||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(),N=this.getCrossCheckStateCount();let W=d;for(;W>=0&&C.get(h,W);)N[2]++,W--;if(W<0)return NaN;for(;W>=0&&!C.get(h,W)&&N[1]<=p;)N[1]++,W--;if(W<0||N[1]>p)return NaN;for(;W>=0&&C.get(h,W)&&N[0]<=p;)N[0]++,W--;if(N[0]>p)return NaN;for(W=d+1;W=p)return NaN;for(;W=p||5*Math.abs(N[0]+N[1]+N[2]+N[3]+N[4]-b)>=2*b?NaN:K.foundPatternCross(N)?K.centerFromEnd(N,W):NaN}crossCheckHorizontal(d,h,p,b){const C=this.image,T=C.getWidth(),N=this.getCrossCheckStateCount();let W=d;for(;W>=0&&C.get(W,h);)N[2]++,W--;if(W<0)return NaN;for(;W>=0&&!C.get(W,h)&&N[1]<=p;)N[1]++,W--;if(W<0||N[1]>p)return NaN;for(;W>=0&&C.get(W,h)&&N[0]<=p;)N[0]++,W--;if(N[0]>p)return NaN;for(W=d+1;W=p)return NaN;for(;W=p||5*Math.abs(N[0]+N[1]+N[2]+N[3]+N[4]-b)>=b?NaN:K.foundPatternCross(N)?K.centerFromEnd(N,W):NaN}handlePossibleCenter(d,h,p,b){const C=d[0]+d[1]+d[2]+d[3]+d[4];let T=K.centerFromEnd(d,p),N=this.crossCheckVertical(h,Math.floor(T),d[2],C);if(!isNaN(N)&&(T=this.crossCheckHorizontal(Math.floor(T),Math.floor(N),d[2],C),!isNaN(T)&&(!b||this.crossCheckDiagonal(Math.floor(N),Math.floor(T),d[2],C)))){const W=C/7;let me=!1;const Se=this.possibleCenters;for(let Ve=0,ct=Se.length;Ve=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 Ee;const h=this.possibleCenters;let p;if(d>3){let b=0,C=0;for(const W of this.possibleCenters){const me=W.getEstimatedModuleSize();b+=me,C+=me*me}p=b/d;let T=Math.sqrt(C/d-p*p);h.sort((W,me)=>{const Se=Math.abs(me.getEstimatedModuleSize()-p),Ve=Math.abs(W.getEstimatedModuleSize()-p);return SeVe?1:0});const N=Math.max(.2*p,T);for(let W=0;W3;W++)Math.abs(h[W].getEstimatedModuleSize()-p)>N&&(h.splice(W,1),W--)}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 N=Math.abs(T.getEstimatedModuleSize()-p),W=Math.abs(C.getEstimatedModuleSize()-p);return NW?-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 Er{constructor(c){this.image=c}getImage(){return this.image}getResultPointCallback(){return this.resultPointCallback}detect(c){this.resultPointCallback=null==c?null:c.get(he.NEED_RESULT_POINT_CALLBACK);const h=new qo(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 Ee("No pattern found in proccess finder.");const C=Er.computeDimension(d,h,p,b),T=Ri.getProvisionalVersionForDimension(C),N=T.getDimensionForVersion()-7;let W=null;if(T.getAlignmentPatternCenters().length>0){const ct=h.getX()-d.getX()+p.getX(),vt=h.getY()-d.getY()+p.getY(),Dt=1-3/N,Ut=Math.floor(d.getX()+Dt*(ct-d.getX())),zt=Math.floor(d.getY()+Dt*(vt-d.getY()));for(let wi=4;wi<=16;wi<<=1)try{W=this.findAlignmentInRegion(b,Ut,zt,wi);break}catch(Ai){if(!(Ai instanceof Ee))throw Ai}}const me=Er.createTransform(d,h,p,W,C),Se=Er.sampleGrid(this.image,me,C);let Ve;return Ve=null===W?[p,d,h]:[p,d,h,W],new Ft(Se,Ve)}static createTransform(c,d,h,p,b){const C=b-3.5;let T,N,W,me;return null!==p?(T=p.getX(),N=p.getY(),W=C-3,me=W):(T=d.getX()-c.getX()+h.getX(),N=d.getY()-c.getY()+h.getY(),W=C,me=C),We.quadrilateralToQuadrilateral(3.5,3.5,C,3.5,W,me,3.5,C,c.getX(),c.getY(),d.getX(),d.getY(),T,N,h.getX(),h.getY())}static sampleGrid(c,d,h){return gt.getInstance().sampleGridWithTransform(c,h,h,d)}static computeDimension(c,d,h,p){const b=pi.round(qt.distance(c,d)/p),C=pi.round(qt.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 Ee("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 N=Math.floor(d-(p-d)*C);return C=1,N<0?(C=d/(d-N),N=0):N>=this.image.getHeight()&&(C=(this.image.getHeight()-1-d)/(N-d),N=this.image.getHeight()-1),T=Math.floor(c+(T-c)*C),b+=this.sizeOfBlackWhiteBlackRun(c,d,T,N),b-1}sizeOfBlackWhiteBlackRun(c,d,h,p){const b=Math.abs(p-d)>Math.abs(h-c);if(b){let ct=c;c=d,d=ct,ct=h,h=p,p=ct}const C=Math.abs(h-c),T=Math.abs(p-d);let N=-C/2;const W=c0){if(vt===p)break;vt+=me,N-=C}}return 2===Se?pi.distance(h+W,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 Ee("Alignment top exceeds estimated module size.");const N=Math.max(0,h-b),W=Math.min(this.image.getHeight()-1,h+b);if(W-N<3*c)throw new Ee("Alignment bottom exceeds estimated module size.");return new kr(this.image,C,N,T-C,W-N,c,this.resultPointCallback).find()}}class ir{constructor(){this.decoder=new Ss}getDecoder(){return this.decoder}decode(c,d){let h,p;if(null!=d&&void 0!==d.get(he.PURE_BARCODE)){const N=ir.extractPureBits(c.getBlackMatrix());h=this.decoder.decodeBitMatrix(N,d),p=ir.NO_POINTS}else{const N=new Er(c.getBlackMatrix()).detect(d);h=this.decoder.decodeBitMatrix(N.getBits(),d),p=N.getPoints()}h.getOther()instanceof Bo&&h.getOther().applyMirroredCorrection(p);const b=new Ge(h.getText(),h.getRawBytes(),void 0,p,lt.QR_CODE,void 0),C=h.getByteSegments();null!==C&&b.putMetadata(Qt.BYTE_SEGMENTS,C);const T=h.getECLevel();return null!==T&&b.putMetadata(Qt.ERROR_CORRECTION_LEVEL,T),h.hasStructuredAppend()&&(b.putMetadata(Qt.STRUCTURED_APPEND_SEQUENCE,h.getStructuredAppendSequenceNumber()),b.putMetadata(Qt.STRUCTURED_APPEND_PARITY,h.getStructuredAppendParity())),b}reset(){}static extractPureBits(c){const d=c.getTopLeftOnBit(),h=c.getBottomRightOnBit();if(null===d||null===h)throw new Ee;const p=this.moduleSize(d,c);let b=d[1],C=h[1],T=d[0],N=h[0];if(T>=N||b>=C)throw new Ee;if(C-b!=N-T&&(N=T+(C-b),N>=c.getWidth()))throw new Ee;const W=Math.round((N-T+1)/p),me=Math.round((C-b+1)/p);if(W<=0||me<=0)throw new Ee;if(me!==W)throw new Ee;const Se=Math.floor(p/2);b+=Se,T+=Se;const Ve=T+Math.floor((W-1)*p)-N;if(Ve>0){if(Ve>Se)throw new Ee;T-=Ve}const ct=b+Math.floor((me-1)*p)-C;if(ct>0){if(ct>Se)throw new Ee;b-=ct}const vt=new ae(W,me);for(let Dt=0;Dt0;){const Ve=nn.findGuardPattern(c,b,--p,h,!1,C,W);if(null==Ve){p++;break}Se=Ve}T[0]=new qt(Se[0],p),T[1]=new qt(Se[1],p),N=!0;break}}let me=p+1;if(N){let Se=0,Ve=Int32Array.from([Math.trunc(T[0].getX()),Math.trunc(T[1].getX())]);for(;menn.SKIPPED_ROW_COUNT_MAX)break;Se++}}me-=Se+1,T[2]=new qt(Ve[0],me),T[3]=new qt(Ve[1],me)}return me-p0&&W++Se?me-Se:Se-me;if(Ve>h)return 1/0;N+=Ve}return N/b}}nn.INDEXES_START_PATTERN=Int32Array.from([0,4,1,5]),nn.INDEXES_STOP_PATTERN=Int32Array.from([6,2,7,3]),nn.MAX_AVG_VARIANCE=.42,nn.MAX_INDIVIDUAL_VARIANCE=.8,nn.START_PATTERN=Int32Array.from([8,1,1,1,1,1,1,3]),nn.STOP_PATTERN=Int32Array.from([7,1,1,3,1,1,1,2,1]),nn.MAX_PIXEL_DRIFT=3,nn.MAX_PATTERN_DRIFT=5,nn.SKIPPED_ROW_COUNT_MAX=25,nn.ROW_STEP=5,nn.BARCODE_MIN_HEIGHT=10;class Rn{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;L.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 da{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 Gt;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 So extends da{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;vt--){let Dt=p.evaluateAt(this.field.exp(vt));b[d-vt]=Dt,0!==Dt&&(C=!0)}if(!C)return 0;let T=this.field.getOne();if(null!=h)for(const vt of h){let Dt=this.field.exp(c.length-1-vt),Ut=new Rn(this.field,new Int32Array([this.field.subtract(0,Dt),1]));T=T.multiply(Ut)}let N=new Rn(this.field,b),W=this.runEuclideanAlgorithm(this.field.buildMonomial(d,1),N,d),me=W[0],Se=W[1],Ve=this.findErrorLocations(me),ct=this.findErrorMagnitudes(Se,me,Ve);for(let vt=0;vt=Math.round(h/2);){let Ve=p,ct=C;if(p=b,C=T,p.isZero())throw j.getChecksumInstance();b=Ve;let vt=this.field.getZero(),Dt=p.getCoefficient(p.getDegree()),Ut=this.field.inverse(Dt);for(;b.getDegree()>=p.getDegree()&&!b.isZero();){let zt=b.getDegree()-p.getDegree(),wi=this.field.multiply(b.getCoefficient(b.getDegree()),Ut);vt=vt.add(this.field.buildMonomial(zt,wi)),b=b.subtract(p.multiplyByMonomial(zt,wi))}T=vt.multiply(C).subtract(ct).negative()}let N=T.getCoefficient(0);if(0===N)throw j.getChecksumInstance();let W=this.field.inverse(N);return[T.multiply(W),b.multiply(W)]}findErrorLocations(c){let d=c.getDegree(),h=new Int32Array(d),p=0;for(let b=1;b0){let N=h?this.topLeft:this.topRight,W=Math.trunc(N.getY()-c);W<0&&(W=0);let me=new qt(N.getX(),W);h?p=me:C=me}if(d>0){let N=h?this.bottomLeft:this.bottomRight,W=Math.trunc(N.getY()+d);W>=this.image.getHeight()&&(W=this.image.getHeight()-1);let me=new qt(N.getX(),W);h?b=me:T=me}return new Sa(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 lo{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 go{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,N,W,me,Se){if("%%"===C)return"%";if(void 0===d[++h])return;C=W?parseInt(W.substr(1)):void 0;let ct,Ve=me?parseInt(me.substr(1)):void 0;switch(Se){case"s":ct=d[h];break;case"c":ct=d[h][0];break;case"f":ct=parseFloat(d[h]).toFixed(C);break;case"p":ct=parseFloat(d[h]).toPrecision(C);break;case"e":ct=parseFloat(d[h]).toExponential(C);break;case"x":ct=parseInt(d[h]).toString(Ve||16);break;case"d":ct=parseFloat(parseInt(d[h],Ve||10).toPrecision(C)).toFixed(0)}ct="object"==typeof ct?JSON.stringify(ct):(+ct).toString(Ve);let vt=parseInt(N),Dt=N&&N[0]+""=="0"?"0":" ";for(;ct.length{class K{constructor(d){this.boundingBox=new Sa(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 Qi.toIntArray(d)}getConfidence(c){return this.values.get(c)}}class Ja extends ps{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())),N=-1,W=1,me=0;for(let Se=C;Se=c.getRowCount()||ct>Se)d[Se]=null;else{let vt;vt=W>2?(W-2)*ct:ct;let Dt=vt>=Se;for(let Ut=1;Ut<=vt&&!Dt;Ut++)Dt=null!=d[Se-Ut];Dt?d[Se]=null:(N=Ve.getRowNumber(),me=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(),N=-1;for(let W=b;W=c.getRowCount()?T[W]=null:N=me.getRowNumber())}}getBarcodeMetadata(){let c=this.getCodewords(),d=new co,h=new co,p=new co,b=new co;for(let T of c){if(null==T)continue;T.setRowNumberAsRowIndicatorColumn();let N=T.getValue()%30,W=T.getRowNumber();switch(this._isLeft||(W+=2),W%3){case 0:h.setValue(3*N+1);break;case 1:b.setValue(N/3),p.setValue(N%3);break;case 2:d.setValue(N+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]Qi.MAX_ROWS_IN_BARCODE)return null;let C=new lo(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 _o{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=Qi.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 gr{static initialize(){for(let c=0;c>=1;h=1&d,gr.RATIOS_TABLE[c]||(gr.RATIOS_TABLE[c]=new Array(Qi.BARS_IN_MODULE)),gr.RATIOS_TABLE[c][Qi.BARS_IN_MODULE-p-1]=Math.fround(b/Qi.MODULES_IN_CODEWORD)}}this.bSymbolTableReady=!0}static getDecodedValue(c){let d=gr.getDecodedCodewordValue(gr.sampleBitCounts(c));return-1!==d?d:gr.getClosestDecodedValue(c)}static sampleBitCounts(c){let d=pi.sum(c),h=new Int32Array(Qi.BARS_IN_MODULE),p=0,b=0;for(let C=0;C1)for(let C=0;C=p)break}Tnew Array(Qi.BARS_IN_MODULE));class Io{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 Za{static parseLong(c,d){return parseInt(c,d)}}let Qr=(()=>{class K extends F{}return K.kind="NullPointerException",K})();class Ia{writeBytes(c){this.writeBytesOffset(c,0,c.length)}writeBytesOffset(c,d,h){if(null==c)throw new Qr;if(d<0||d>c.length||h<0||d+h>c.length||d+h<0)throw new ne;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 bo;h=U.MAX_VALUE}this.buf=ee.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 ne;this.ensureCapacity(this.count+h),L.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 ee.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 Zr(){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 vr;function Lr(K){if(typeof vr>"u"&&(vr=Zr()),null===vr)throw new Error("BigInt is not supported!");return vr(K)}class Wt{static decode(c,d){let h=new pe(""),p=$.ISO8859_1;h.enableDecoding(p);let b=1,C=c[b++],T=new Io;for(;bc[0])throw J.getFormatInstance();let p=new Int32Array(Wt.NUMBER_OF_SEQUENCE_CODEWORDS);for(let T=0;T0){for(let Ve=0;Ve<6;++Ve)C.write(Number(Lr(N)>>Lr(8*(5-Ve))));N=0,T=0}}p===d[0]&&Se0){for(let ct=0;ct<6;++ct)C.write(Number(Lr(N)>>Lr(8*(5-ct))));N=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(Wt.MAX_NUMERIC_CODEWORDS);for(;d0&&(h.append(Wt.decodeBase900toBase10(C,p)),p=0)}return d}static decodeBase900toBase10(c,d){let h=Lr(0);for(let b=0;b@[\\]_`~!\r\t,:\n-.$/\"|*()?{}'",Wt.MIXED_CHARS="0123456789&\r\t,:#-.$/+%*=^",Wt.EXP900=Zr()?function Wo(){let K=[];K[0]=Lr(1);let c=Lr(900);K[1]=c;for(let d=2;d<16;d++)K[d]=K[d-1]*c;return K}():[],Wt.NUMBER_OF_SEQUENCE_CODEWORDS=2;class _n{constructor(){}static decode(c,d,h,p,b,C,T){let Se,N=new Sa(c,d,h,p,b),W=null,me=null;for(let vt=!0;;vt=!1){if(null!=d&&(W=_n.getRowIndicatorColumn(c,N,d,!0,C,T)),null!=p&&(me=_n.getRowIndicatorColumn(c,N,p,!1,C,T)),Se=_n.merge(W,me),null==Se)throw Ee.getNotFoundInstance();let Dt=Se.getBoundingBox();if(!vt||null==Dt||!(Dt.getMinY()N.getMaxY()))break;N=Dt}Se.setBoundingBox(N);let Ve=Se.getBarcodeColumnCount()+1;Se.setDetectionResultColumn(0,W),Se.setDetectionResultColumn(Ve,me);let ct=null!=W;for(let vt=1;vt<=Ve;vt++){let Ut,Dt=ct?vt:Ve-vt;if(void 0!==Se.getDetectionResultColumn(Dt))continue;Ut=0===Dt||Dt===Ve?new Ja(N,0===Dt):new ps(N),Se.setDetectionResultColumn(Dt,Ut);let zt=-1,wi=zt;for(let Ai=N.getMinY();Ai<=N.getMaxY();Ai++){if(zt=_n.getStartColumn(Se,Dt,Ai,ct),zt<0||zt>N.getMaxX()){if(-1===wi)continue;zt=wi}let ni=_n.detectCodeword(c,N.getMinX(),N.getMaxX(),ct,zt,Ai,C,T);null!=ni&&(Ut.setCodeword(Ai,ni),wi=zt,C=Math.min(C,ni.getWidth()),T=Math.max(T,ni.getWidth()))}}return _n.createDecoderResult(Se)}static merge(c,d){if(null==c&&null==d)return null;let h=_n.getBarcodeMetadata(c,d);if(null==h)return null;let p=Sa.merge(_n.adjustBoundingBox(c),_n.adjustBoundingBox(d));return new _o(h,p)}static adjustBoundingBox(c){if(null==c)return null;let d=c.getRowHeights();if(null==d)return null;let h=_n.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 Ja(d,p);for(let N=0;N<2;N++){let W=0===N?1:-1,me=Math.trunc(Math.trunc(h.getX()));for(let Se=Math.trunc(Math.trunc(h.getY()));Se<=d.getMaxY()&&Se>=d.getMinY();Se+=W){let Ve=_n.detectCodeword(c,0,c.getWidth(),p,me,Se,b,C);null!=Ve&&(T.setCodeword(Se,Ve),me=p?Ve.getStartX():Ve.getEndX())}}return T}static adjustCodewordCount(c,d){let h=d[0][1],p=h.getValue(),b=c.getBarcodeColumnCount()*c.getBarcodeRowCount()-_n.getNumberOfECCodeWords(c.getBarcodeECLevel());if(0===p.length){if(b<1||b>Qi.MAX_CODEWORDS_IN_BARCODE)throw Ee.getNotFoundInstance();h.setValue(b)}else p[0]!==b&&h.setValue(b)}static createDecoderResult(c){let d=_n.createBarcodeMatrix(c);_n.adjustCodewordCount(c,d);let h=new Array,p=new Int32Array(c.getBarcodeRowCount()*c.getBarcodeColumnCount()),b=[],C=new Array;for(let N=0;N0;){for(let N=0;Nnew 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(_n.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(_n.isValidBarcodeColumn(c,d-b)&&(C=c.getDetectionResultColumn(d-b).getCodewordNearby(h)),null!=C)return p?C.getEndX():C.getStartX();let T=0;for(;_n.isValidBarcodeColumn(c,d-b);){d-=b;for(let N of c.getDetectionResultColumn(d).getCodewords())if(null!=N)return(p?N.getEndX():N.getStartX())+b*T*(N.getEndX()-N.getStartX());T++}return p?c.getBoundingBox().getMinX():c.getBoundingBox().getMaxX()}static detectCodeword(c,d,h,p,b,C,T,N){b=_n.adjustCodewordStartColumn(c,d,h,p,b,C);let W=_n.getModuleBitCount(c,d,h,p,b,C);if(null==W)return null;let me,Se=pi.sum(W);if(p)me=b+Se;else{for(let vt=0;vt=d)&&W=d:T_n.CODEWORD_SKEW_SIZE)return b;T+=N}N=-N,p=!p}return T}static checkCodewordSkew(c,d,h){return d-_n.CODEWORD_SKEW_SIZE<=c&&c<=h+_n.CODEWORD_SKEW_SIZE}static decodeCodewords(c,d,h){if(0===c.length)throw J.getFormatInstance();let p=1<h/2+_n.MAX_ERRORS||h<0||h>_n.MAX_EC_CODEWORDS)throw j.getChecksumInstance();return _n.errorCorrection.decode(c,h,d)}static verifyCodewordCount(c,d){if(c.length<4)throw J.getFormatInstance();let h=c[0];if(h>c.length)throw J.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 _n.getCodewordBucketNumber(_n.getBitCountForCodeword(c))}static getCodewordBucketNumber_Int32Array(c){return(c[0]-c[2]+c[4]-c[6]+9)%9}static toString(c){let d=new go;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?U.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])*Qi.MODULES_IN_CODEWORD/Qi.MODULES_IN_STOP_PATTERN),Math.max(dr.getMaxWidth(c[1],c[5]),dr.getMaxWidth(c[7],c[3])*Qi.MODULES_IN_CODEWORD/Qi.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])*Qi.MODULES_IN_CODEWORD/Qi.MODULES_IN_STOP_PATTERN),Math.min(dr.getMinWidth(c[1],c[5]),dr.getMinWidth(c[7],c[3])*Qi.MODULES_IN_CODEWORD/Qi.MODULES_IN_STOP_PATTERN)))}reset(){}}let _a=(()=>{class K extends F{}return K.kind="ReaderException",K})();class Oo{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(he.TRY_HARDER),h=f(c)?null:c.get(he.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 ir),h.includes(lt.DATA_MATRIX)&&p.push(new zi),h.includes(lt.AZTEC)&&p.push(new ai),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 ir),p.push(new zi),p.push(new ai),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 _a("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 _a)continue}throw new Ee("No MultiFormat Readers were able to detect the code.")}}var ba=(()=>{return(K=ba||(ba={}))[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",ba;var K})(),Gn=ba;class Rr{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);L.arraycopy(c,0,b,0,h);let C=new st(this.field,b);C=C.multiplyByMonomial(d,1);const N=C.divide(p)[1].getCoefficients(),W=d-N.length;for(let me=0;me{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+(W-5)),W=1,me=Ve)}W>=5&&(p+=K.N1+(W-5))}return p}}return K.N1=3,K.N2=3,K.N3=40,K.N4=10,K})();class En{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)ee.fill(d,c)}equals(c){if(!(c instanceof En))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 Pi{constructor(){}static clearMatrix(c){c.clear(255)}static buildMatrix(c,d,h,p,b){Pi.clearMatrix(b),Pi.embedBasicPatterns(h,b),Pi.embedTypeInfo(d,p,b),Pi.maybeEmbedVersionInfo(h,b),Pi.embedDataBits(c,p,b)}static embedBasicPatterns(c,d){Pi.embedPositionDetectionPatternsAndSeparators(d),Pi.embedDarkDotAtLeftBottomCorner(d),Pi.maybeEmbedPositionAdjustmentPatterns(c,d),Pi.embedTimingPatterns(d)}static embedTypeInfo(c,d,h){const p=new z;Pi.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 N=0;N!==C;N++){const W=p[N];W>=0&&Pi.isEmpty(d.get(W,T))&&Pi.embedPositionAdjustmentPattern(W-2,T-2,d)}}}}Pi.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])]),Pi.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])]),Pi.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])]),Pi.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])]),Pi.VERSION_INFO_POLY=7973,Pi.TYPE_INFO_POLY=1335,Pi.TYPE_INFO_MASK_PATTERN=21522;class Qo{constructor(c,d){this.dataBytes=c,this.errorCorrectionBytes=d}getDataBytes(){return this.dataBytes}getErrorCorrectionBytes(){return this.errorCorrectionBytes}}class Qn{constructor(){}static calculateMaskPenalty(c){return $a.applyMaskPenaltyRule1(c)+$a.applyMaskPenaltyRule2(c)+$a.applyMaskPenaltyRule3(c)+$a.applyMaskPenaltyRule4(c)}static encode(c,d,h=null){let p=Qn.DEFAULT_BYTE_MODE_ENCODING;const b=null!==h&&void 0!==h.get(Gn.CHARACTER_SET);b&&(p=h.get(Gn.CHARACTER_SET).toString());const C=this.chooseMode(c,p),T=new z;if(C===Ei.BYTE&&(b||Qn.DEFAULT_BYTE_MODE_ENCODING!==p)){const Ai=$.getCharacterSetECIByName(p);void 0!==Ai&&this.appendECI(Ai,T)}this.appendModeInfo(C,T);const N=new z;let W;if(this.appendBytes(c,C,N,p),null!==h&&void 0!==h.get(Gn.QR_VERSION)){const Ai=Number.parseInt(h.get(Gn.QR_VERSION).toString(),10);W=Ri.getVersionForNumber(Ai);const ni=this.calculateBitsNeeded(C,T,N,W);if(!this.willFit(ni,W,d))throw new An("Data too big for requested version")}else W=this.recommendVersion(d,C,T,N);const me=new z;me.appendBitArray(T);const Se=C===Ei.BYTE?N.getSizeInBytes():c.length;this.appendLengthInfo(Se,W,C,me),me.appendBitArray(N);const Ve=W.getECBlocksForLevel(d),ct=W.getTotalCodewords()-Ve.getTotalECCodewords();this.terminateBits(ct,me);const vt=this.interleaveWithECBytes(me,W.getTotalCodewords(),ct,Ve.getNumBlocks()),Dt=new ia;Dt.setECLevel(d),Dt.setMode(C),Dt.setVersion(W);const Ut=W.getDimensionForVersion(),zt=new En(Ut,Ut),wi=this.chooseMaskPattern(vt,d,W,zt);return Dt.setMaskPattern(wi),Pi.buildMatrix(vt,d,W,wi,zt),Dt.setMatrix(zt),Dt}static recommendVersion(c,d,h,p){const b=this.calculateBitsNeeded(d,h,p,Ri.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 An("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 An("Block ID too large");const T=c%h,N=h-T,W=Math.floor(c/h),me=W+1,Se=Math.floor(d/h),Ve=Se+1,ct=W-Se,vt=me-Ve;if(ct!==vt)throw new An("EC bytes mismatch");if(h!==N+T)throw new An("RS blocks mismatch");if(c!==(Se+ct)*N+(Ve+vt)*T)throw new An("Total bytes mismatch");p=1<=0&&d<=9}static appendNumericBytes(c,d){const h=c.length;let p=0;for(;p=33088&&N<=40956?W=N-33088:N>=57408&&N<=60351&&(W=N-49472),-1===W)throw new An("Invalid byte sequence");d.appendBits(192*(W>>8)+(255&W),13)}}static appendECI(c,d){d.appendBits(Ei.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=$.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=Gi.L,T=K.QUIET_ZONE_SIZE;null!==b&&(void 0!==b.get(Gn.ERROR_CORRECTION)&&(C=Gi.fromString(b.get(Gn.ERROR_CORRECTION).toString())),void 0!==b.get(Gn.MARGIN)&&(T=Number.parseInt(b.get(Gn.MARGIN).toString(),10)));const N=Qn.encode(d,C,b);return this.renderResult(N,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(),N=C.getHeight(),W=T+2*b,me=N+2*b,Se=Math.max(h,W),Ve=Math.max(p,me),ct=Math.min(Math.floor(Se/W),Math.floor(Ve/me)),vt=Math.floor((Se-T*ct)/2),Dt=Math.floor((Ve-N*ct)/2),Ut=this.createSVGElement(Se,Ve);for(let zt=0,wi=Dt;zt{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=Gi.L,N=K.QUIET_ZONE_SIZE;null!==C&&(void 0!==C.get(Gn.ERROR_CORRECTION)&&(T=Gi.fromString(C.get(Gn.ERROR_CORRECTION).toString())),void 0!==C.get(Gn.MARGIN)&&(N=Number.parseInt(C.get(Gn.MARGIN).toString(),10)));const W=Qn.encode(d,T,C);return K.renderResult(W,p,b,N)}static renderResult(d,h,p,b){const C=d.getMatrix();if(null===C)throw new ht;const T=C.getWidth(),N=C.getHeight(),W=T+2*b,me=N+2*b,Se=Math.max(h,W),Ve=Math.max(p,me),ct=Math.min(Math.floor(Se/W),Math.floor(Ve/me)),vt=Math.floor((Se-T*ct)/2),Dt=Math.floor((Ve-N*ct)/2),Ut=new ae(Se,Ve);for(let zt=0,wi=Dt;zt{class K extends Ke{constructor(d,h,p,b,C,T,N,W){if(super(T,N),this.yuvData=d,this.dataWidth=h,this.dataHeight=p,this.left=b,this.top=C,b+T>h||C+N>p)throw new D("Crop rectangle does not fit within image data.");W&&this.reverseHorizontal(T,N)}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)+(Se>>7&510)+(255&Se))/4&255}this.luminances=W}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 rt extends ve{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 rt(this,c,d)}toString(){return"<"+this.binaryShiftStart+"::"+(this.binaryShiftStart+this.binaryShiftByteCount-1)+">"}}function mt(K,c,d){return new ve(K,c,d)}const _i=["UPPER","LOWER","DIGIT","MIXED","PUNCT"],yi=0,cn=1,Yt=2,Ii=3,bi=4,Jn=new ve(null,0,0),nr=[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 Yr=function Br(K){for(let c of K)ee.fill(c,-1);return K[yi][bi]=0,K[cn][bi]=0,K[cn][yi]=28,K[Ii][bi]=0,K[Yt][bi]=0,K[Yt][yi]=15,K}(ee.createInt32Array(6,6));class ar{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=nr[this.mode][c];p=mt(p,65535&C,C>>16),h+=C>>16}let b=c===Yt?4:5;return p=mt(p,d,b),new ar(p,c,0,h+b)}shiftAndAppend(c,d){let h=this.token,p=this.mode===Yt?4:5;return h=mt(h,Yr[this.mode][c],p),h=mt(h,d,5),new ar(h,this.mode,0,this.bitCount+p+5)}addBinaryShiftChar(c){let d=this.token,h=this.mode,p=this.bitCount;if(this.mode===bi||this.mode===Yt){let T=nr[h][yi];d=mt(d,65535&T,T>>16),p+=T>>16,h=yi}let C=new ar(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 dt(K,c,d){return new rt(K,c,d)}(d,c-this.binaryShiftByteCount,this.binaryShiftByteCount),new ar(d,this.mode,0,this.bitCount)}isBetterThanOrEqualTo(c){let d=this.bitCount+(nr[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}}ar.INITIAL_STATE=new ar(Jn,yi,0,0);const Oa=function wa(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 Ve=b;Ve<=p;Ve++)K[yi][Ve]=Ve-b+2;K[cn][c]=1;const C=le.getCharCode("z"),T=le.getCharCode("a");for(let Ve=T;Ve<=C;Ve++)K[cn][Ve]=Ve-T+2;K[Yt][c]=1;const N=le.getCharCode("9"),W=le.getCharCode("0");for(let Ve=W;Ve<=N;Ve++)K[Yt][Ve]=Ve-W+2;K[Yt][h]=12,K[Yt][d]=13;const me=["\0"," ","\x01","\x02","\x03","\x04","\x05","\x06","\x07","\b","\t","\n","\v","\f","\r","\x1b","\x1c","\x1d","\x1e","\x1f","@","\\","^","_","`","|","~","\x7f"];for(let Ve=0;Ve","?","[","]","{","}"];for(let Ve=0;Ve0&&(K[bi][le.getCharCode(Se[Ve])]=Ve);return K}(ee.createInt32Array(5,256));class xo{constructor(c){this.text=c}encode(){const c=le.getCharCode(" "),d=le.getCharCode("\n");let h=ln.singletonList(ar.INITIAL_STATE);for(let b=0;b0?(h=xo.updateStateListForPair(h,b,C),b++):h=this.updateStateListForChar(h,b)}return ln.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 xo.simplifyStates(h)}updateStateForChar(c,d,h){let p=255&this.text[d],b=Oa[c.getMode()][p]>0,C=null;for(let T=0;T<=bi;T++){let N=Oa[T][p];if(N>0){if(null==C&&(C=c.endBinaryShift(d)),!b||T===c.getMode()||T===Yt){const W=C.latchAndAppend(T,N);h.push(W)}if(!b&&Yr[c.getMode()][T]>=0){const W=C.shiftAndAppend(T,N);h.push(W)}}}if(c.getBinaryShiftByteCount()>0||0===Oa[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(bi,h)),c.getMode()!==bi&&p.push(b.shiftAndAppend(bi,h)),3===h||4===h){let C=b.latchAndAppend(Yt,16-h).latchAndAppend(Yt,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 Pn{constructor(){}static encodeBytes(c){return Pn.encode(c,Pn.DEFAULT_EC_PERCENT,Pn.DEFAULT_AZTEC_LAYERS)}static encode(c,d,h){let T,N,W,me,Se,p=new xo(c).encode(),b=U.truncDivision(p.getSize()*d,100)+11,C=p.getSize()+b;if(h!==Pn.DEFAULT_AZTEC_LAYERS){if(T=h<0,N=Math.abs(h),N>(T?Pn.MAX_NB_BITS_COMPACT:Pn.MAX_NB_BITS))throw new D(le.format("Illegal value %s for layers",h));W=Pn.totalBitsInLayer(N,T),me=Pn.WORD_SIZE[N];let ni=W-W%me;if(Se=Pn.stuffBits(p,me),Se.getSize()+b>ni)throw new D("Data to large for user specified layer");if(T&&Se.getSize()>64*me)throw new D("Data to large for user specified layer")}else{me=0,Se=null;for(let ni=0;;ni++){if(ni>Pn.MAX_NB_BITS)throw new D("Data too large for an Aztec code");if(T=ni<=3,N=T?ni+1:ni,W=Pn.totalBitsInLayer(N,T),C>W)continue;(null==Se||me!==Pn.WORD_SIZE[N])&&(me=Pn.WORD_SIZE[N],Se=Pn.stuffBits(p,me));let Tn=W-W%me;if(!(T&&Se.getSize()>64*me)&&Se.getSize()+b<=Tn)break}}let zt,Ve=Pn.generateCheckWords(Se,W,me),ct=Se.getSize()/me,vt=Pn.generateModeMessage(T,N,ct),Dt=(T?11:14)+4*N,Ut=new Int32Array(Dt);if(T){zt=Dt;for(let ni=0;ni=p||c.get(C+N))&&(T|=1<0&&$.has(this.stack[this.stack.length-1]);){var ie=this.stack.pop();null===(he=(ue=this.cbs).onclosetag)||void 0===he||he.call(ue,ie,!0)}this.isVoidElement(z)||(this.stack.push(z),L.has(z)?this.foreignContext.push(!0):ne.has(z)&&this.foreignContext.push(!1)),null===(Y=(J=this.cbs).onopentagname)||void 0===Y||Y.call(J,z),this.cbs.onopentag&&(this.attribs={})},U.prototype.endOpenTag=function(z){var ue,he;this.startIndex=this.openTagStart,this.attribs&&(null===(he=(ue=this.cbs).onopentag)||void 0===he||he.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=""},U.prototype.onopentagend=function(z){this.endIndex=z,this.endOpenTag(!1),this.startIndex=z+1},U.prototype.onclosetag=function(z,ue){var he,J,Y,$,ie,te;this.endIndex=ue;var le=this.getSlice(z,ue);if(this.lowerCaseTagNames&&(le=le.toLowerCase()),(L.has(le)||ne.has(le))&&this.foreignContext.pop(),this.isVoidElement(le))!this.options.xmlMode&&"br"===le&&(null===(J=(he=this.cbs).onopentagname)||void 0===J||J.call(he,"br"),null===($=(Y=this.cbs).onopentag)||void 0===$||$.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},U.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)},U.prototype.closeCurrentTag=function(z){var ue,he,J=this.tagname;this.endOpenTag(z),this.stack[this.stack.length-1]===J&&(null===(he=(ue=this.cbs).onclosetag)||void 0===he||he.call(ue,J,!z),this.stack.pop())},U.prototype.onattribname=function(z,ue){this.startIndex=z;var he=this.getSlice(z,ue);this.attribname=this.lowerCaseAttributeNames?he.toLowerCase():he},U.prototype.onattribdata=function(z,ue){this.attribvalue+=this.getSlice(z,ue)},U.prototype.onattribentity=function(z){this.attribvalue+=(0,x.fromCodePoint)(z)},U.prototype.onattribend=function(z,ue){var he,J;this.endIndex=ue,null===(J=(he=this.cbs).onattribute)||void 0===J||J.call(he,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=""},U.prototype.getInstructionName=function(z){var ue=z.search(q),he=ue<0?z:z.substr(0,ue);return this.lowerCaseTagNames&&(he=he.toLowerCase()),he},U.prototype.ondeclaration=function(z,ue){this.endIndex=ue;var he=this.getSlice(z,ue);if(this.cbs.onprocessinginstruction){var J=this.getInstructionName(he);this.cbs.onprocessinginstruction("!".concat(J),"!".concat(he))}this.startIndex=ue+1},U.prototype.onprocessinginstruction=function(z,ue){this.endIndex=ue;var he=this.getSlice(z,ue);if(this.cbs.onprocessinginstruction){var J=this.getInstructionName(he);this.cbs.onprocessinginstruction("?".concat(J),"?".concat(he))}this.startIndex=ue+1},U.prototype.oncomment=function(z,ue,he){var J,Y,$,ie;this.endIndex=ue,null===(Y=(J=this.cbs).oncomment)||void 0===Y||Y.call(J,this.getSlice(z,ue-he)),null===(ie=($=this.cbs).oncommentend)||void 0===ie||ie.call($),this.startIndex=ue+1},U.prototype.oncdata=function(z,ue,he){var J,Y,$,ie,te,le,pe,ae,Ee,ke;this.endIndex=ue;var Ue=this.getSlice(z,ue-he);this.options.xmlMode||this.options.recognizeCDATA?(null===(Y=(J=this.cbs).oncdatastart)||void 0===Y||Y.call(J),null===(ie=($=this.cbs).ontext)||void 0===ie||ie.call($,Ue),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(Ue,"]]")),null===(ke=(Ee=this.cbs).oncommentend)||void 0===ke||ke.call(Ee)),this.startIndex=ue+1},U.prototype.onend=function(){var z,ue;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var he=this.stack.length;he>0;this.cbs.onclosetag(this.stack[--he],!0));}null===(ue=(z=this.cbs).onend)||void 0===ue||ue.call(z)},U.prototype.reset=function(){var z,ue,he,J;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===(J=(he=this.cbs).onparserinit)||void 0===J||J.call(he,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1},U.prototype.parseComplete=function(z){this.reset(),this.end(z)},U.prototype.getSlice=function(z,ue){for(;z-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();for(var he=this.buffers[0].slice(z-this.bufferOffset,ue-this.bufferOffset);ue-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),he+=this.buffers[0].slice(0,ue-this.bufferOffset);return he},U.prototype.shiftBuffer=function(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()},U.prototype.write=function(z){var ue,he;this.ended?null===(he=(ue=this.cbs).onerror)||void 0===he||he.call(ue,new Error(".write() after done!")):(this.buffers.push(z),this.tokenizer.running&&(this.tokenizer.write(z),this.writeIndex++))},U.prototype.end=function(z){var ue,he;this.ended?null===(he=(ue=this.cbs).onerror)||void 0===he||he.call(ue,Error(".end() after done!")):(z&&this.write(z),this.ended=!0,this.tokenizer.end())},U.prototype.pause=function(){this.tokenizer.pause()},U.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,I,f=y(6569),e=(()=>{return(I=e||(e={}))[I.Tab=9]="Tab",I[I.NewLine=10]="NewLine",I[I.FormFeed=12]="FormFeed",I[I.CarriageReturn=13]="CarriageReturn",I[I.Space=32]="Space",I[I.ExclamationMark=33]="ExclamationMark",I[I.Num=35]="Num",I[I.Amp=38]="Amp",I[I.SingleQuote=39]="SingleQuote",I[I.DoubleQuote=34]="DoubleQuote",I[I.Dash=45]="Dash",I[I.Slash=47]="Slash",I[I.Zero=48]="Zero",I[I.Nine=57]="Nine",I[I.Semi=59]="Semi",I[I.Lt=60]="Lt",I[I.Eq=61]="Eq",I[I.Gt=62]="Gt",I[I.Questionmark=63]="Questionmark",I[I.UpperA=65]="UpperA",I[I.LowerA=97]="LowerA",I[I.UpperF=70]="UpperF",I[I.LowerF=102]="LowerF",I[I.UpperZ=90]="UpperZ",I[I.LowerZ=122]="LowerZ",I[I.LowerX=120]="LowerX",I[I.OpeningSquareBracket=91]="OpeningSquareBracket",e;var I})(),g=(()=>{return(I=g||(g={}))[I.Text=1]="Text",I[I.BeforeTagName=2]="BeforeTagName",I[I.InTagName=3]="InTagName",I[I.InSelfClosingTag=4]="InSelfClosingTag",I[I.BeforeClosingTagName=5]="BeforeClosingTagName",I[I.InClosingTagName=6]="InClosingTagName",I[I.AfterClosingTagName=7]="AfterClosingTagName",I[I.BeforeAttributeName=8]="BeforeAttributeName",I[I.InAttributeName=9]="InAttributeName",I[I.AfterAttributeName=10]="AfterAttributeName",I[I.BeforeAttributeValue=11]="BeforeAttributeValue",I[I.InAttributeValueDq=12]="InAttributeValueDq",I[I.InAttributeValueSq=13]="InAttributeValueSq",I[I.InAttributeValueNq=14]="InAttributeValueNq",I[I.BeforeDeclaration=15]="BeforeDeclaration",I[I.InDeclaration=16]="InDeclaration",I[I.InProcessingInstruction=17]="InProcessingInstruction",I[I.BeforeComment=18]="BeforeComment",I[I.CDATASequence=19]="CDATASequence",I[I.InSpecialComment=20]="InSpecialComment",I[I.InCommentLike=21]="InCommentLike",I[I.BeforeSpecialS=22]="BeforeSpecialS",I[I.SpecialStartSequence=23]="SpecialStartSequence",I[I.InSpecialTag=24]="InSpecialTag",I[I.BeforeEntity=25]="BeforeEntity",I[I.BeforeNumericEntity=26]="BeforeNumericEntity",I[I.InNamedEntity=27]="InNamedEntity",I[I.InNumericEntity=28]="InNumericEntity",I[I.InHexEntity=29]="InHexEntity",g;var I})();function _(I){return I===e.Space||I===e.NewLine||I===e.Tab||I===e.FormFeed||I===e.CarriageReturn}function x(I){return I===e.Slash||I===e.Gt||_(I)}function k(I){return I>=e.Zero&&I<=e.Nine}(I=D=O.QuoteType||(O.QuoteType={}))[I.NoValue=0]="NoValue",I[I.Unquoted=1]="Unquoted",I[I.Single=2]="Single",I[I.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])},j=function(){function I(L,ne){var q=L.xmlMode,ee=void 0!==q&&q,U=L.decodeEntities,z=void 0===U||U;this.cbs=ne,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=ee,this.decodeEntities=z,this.entityTrie=ee?f.xmlDecodeTree:f.htmlDecodeTree}return I.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},I.prototype.write=function(L){this.offset+=this.buffer.length,this.buffer=L,this.parse()},I.prototype.end=function(){this.running&&this.finish()},I.prototype.pause=function(){this.running=!1},I.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&&L===e.Amp&&(this.state=g.BeforeEntity)},I.prototype.stateSpecialStartSequence=function(L){var ne=this.sequenceIndex===this.currentSequence.length;if(ne?x(L):(32|L)===this.currentSequence[this.sequenceIndex]){if(!ne)return void this.sequenceIndex++}else this.isSpecial=!1;this.sequenceIndex=0,this.state=g.InTagName,this.stateInTagName(L)},I.prototype.stateInSpecialTag=function(L){if(this.sequenceIndex===this.currentSequence.length){if(L===e.Gt||_(L)){var ne=this.index-this.currentSequence.length;if(this.sectionStart=e.LowerA&&I<=e.LowerZ||I>=e.UpperA&&I<=e.UpperZ}(L)},I.prototype.startSpecial=function(L,ne){this.isSpecial=!0,this.currentSequence=L,this.sequenceIndex=ne,this.state=g.SpecialStartSequence},I.prototype.stateBeforeTagName=function(L){if(L===e.ExclamationMark)this.state=g.BeforeDeclaration,this.sectionStart=this.index+1;else if(L===e.Questionmark)this.state=g.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(L)){var ne=32|L;this.sectionStart=this.index,this.xmlMode||ne!==P.TitleEnd[2]?this.state=this.xmlMode||ne!==P.ScriptEnd[2]?g.InTagName:g.BeforeSpecialS:this.startSpecial(P.TitleEnd,3)}else L===e.Slash?this.state=g.BeforeClosingTagName:(this.state=g.Text,this.stateText(L))},I.prototype.stateInTagName=function(L){x(L)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=g.BeforeAttributeName,this.stateBeforeAttributeName(L))},I.prototype.stateBeforeClosingTagName=function(L){_(L)||(L===e.Gt?this.state=g.Text:(this.state=this.isTagStartChar(L)?g.InClosingTagName:g.InSpecialComment,this.sectionStart=this.index))},I.prototype.stateInClosingTagName=function(L){(L===e.Gt||_(L))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=g.AfterClosingTagName,this.stateAfterClosingTagName(L))},I.prototype.stateAfterClosingTagName=function(L){(L===e.Gt||this.fastForwardTo(e.Gt))&&(this.state=g.Text,this.sectionStart=this.index+1)},I.prototype.stateBeforeAttributeName=function(L){L===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):L===e.Slash?this.state=g.InSelfClosingTag:_(L)||(this.state=g.InAttributeName,this.sectionStart=this.index)},I.prototype.stateInSelfClosingTag=function(L){L===e.Gt?(this.cbs.onselfclosingtag(this.index),this.state=g.Text,this.baseState=g.Text,this.sectionStart=this.index+1,this.isSpecial=!1):_(L)||(this.state=g.BeforeAttributeName,this.stateBeforeAttributeName(L))},I.prototype.stateInAttributeName=function(L){(L===e.Eq||x(L))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=g.AfterAttributeName,this.stateAfterAttributeName(L))},I.prototype.stateAfterAttributeName=function(L){L===e.Eq?this.state=g.BeforeAttributeValue:L===e.Slash||L===e.Gt?(this.cbs.onattribend(D.NoValue,this.index),this.state=g.BeforeAttributeName,this.stateBeforeAttributeName(L)):_(L)||(this.cbs.onattribend(D.NoValue,this.index),this.state=g.InAttributeName,this.sectionStart=this.index)},I.prototype.stateBeforeAttributeValue=function(L){L===e.DoubleQuote?(this.state=g.InAttributeValueDq,this.sectionStart=this.index+1):L===e.SingleQuote?(this.state=g.InAttributeValueSq,this.sectionStart=this.index+1):_(L)||(this.sectionStart=this.index,this.state=g.InAttributeValueNq,this.stateInAttributeValueNoQuotes(L))},I.prototype.handleInAttributeValue=function(L,ne){L===ne||!this.decodeEntities&&this.fastForwardTo(ne)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(ne===e.DoubleQuote?D.Double:D.Single,this.index),this.state=g.BeforeAttributeName):this.decodeEntities&&L===e.Amp&&(this.baseState=this.state,this.state=g.BeforeEntity)},I.prototype.stateInAttributeValueDoubleQuotes=function(L){this.handleInAttributeValue(L,e.DoubleQuote)},I.prototype.stateInAttributeValueSingleQuotes=function(L){this.handleInAttributeValue(L,e.SingleQuote)},I.prototype.stateInAttributeValueNoQuotes=function(L){_(L)||L===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(L)):this.decodeEntities&&L===e.Amp&&(this.baseState=this.state,this.state=g.BeforeEntity)},I.prototype.stateBeforeDeclaration=function(L){L===e.OpeningSquareBracket?(this.state=g.CDATASequence,this.sequenceIndex=0):this.state=L===e.Dash?g.BeforeComment:g.InDeclaration},I.prototype.stateInDeclaration=function(L){(L===e.Gt||this.fastForwardTo(e.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=g.Text,this.sectionStart=this.index+1)},I.prototype.stateInProcessingInstruction=function(L){(L===e.Gt||this.fastForwardTo(e.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=g.Text,this.sectionStart=this.index+1)},I.prototype.stateBeforeComment=function(L){L===e.Dash?(this.state=g.InCommentLike,this.currentSequence=P.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=g.InDeclaration},I.prototype.stateInSpecialComment=function(L){(L===e.Gt||this.fastForwardTo(e.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=g.Text,this.sectionStart=this.index+1)},I.prototype.stateBeforeSpecialS=function(L){var ne=32|L;ne===P.ScriptEnd[3]?this.startSpecial(P.ScriptEnd,4):ne===P.StyleEnd[3]?this.startSpecial(P.StyleEnd,4):(this.state=g.InTagName,this.stateInTagName(L))},I.prototype.stateBeforeEntity=function(L){this.entityExcess=1,this.entityResult=0,L===e.Num?this.state=g.BeforeNumericEntity:L===e.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=g.InNamedEntity,this.stateInNamedEntity(L))},I.prototype.stateInNamedEntity=function(L){if(this.entityExcess+=1,this.trieIndex=(0,f.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,L),this.trieIndex<0)return this.emitNamedEntity(),void this.index--;this.trieCurrent=this.entityTrie[this.trieIndex];var ne=this.trieCurrent&f.BinTrieFlags.VALUE_LENGTH;if(ne){var q=(ne>>14)-1;if(this.allowLegacyEntity()||L===e.Semi){var ee=this.index-this.entityExcess+1;ee>this.sectionStart&&this.emitPartial(this.sectionStart,ee),this.entityResult=this.trieIndex,this.trieIndex+=q,this.entityExcess=0,this.sectionStart=this.index+1,0===q&&this.emitNamedEntity()}else this.trieIndex+=q}},I.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])}},I.prototype.stateBeforeNumericEntity=function(L){(32|L)===e.LowerX?(this.entityExcess++,this.state=g.InHexEntity):(this.state=g.InNumericEntity,this.stateInNumericEntity(L))},I.prototype.emitNumericEntity=function(L){var ne=this.index-this.entityExcess-1;ne+2+Number(this.state===g.InHexEntity)!==this.index&&(ne>this.sectionStart&&this.emitPartial(this.sectionStart,ne),this.sectionStart=this.index+Number(L),this.emitCodePoint((0,f.replaceCodePoint)(this.entityResult))),this.state=this.baseState},I.prototype.stateInNumericEntity=function(L){L===e.Semi?this.emitNumericEntity(!0):k(L)?(this.entityResult=10*this.entityResult+(L-e.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},I.prototype.stateInHexEntity=function(L){L===e.Semi?this.emitNumericEntity(!0):k(L)?(this.entityResult=16*this.entityResult+(L-e.Zero),this.entityExcess++):function S(I){return I>=e.UpperA&&I<=e.UpperF||I>=e.LowerA&&I<=e.LowerF}(L)?(this.entityResult=16*this.entityResult+((32|L)-e.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},I.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===g.Text||this.baseState===g.InSpecialTag)},I.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))},I.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(Ie,O,y){"use strict";var f=this&&this.__assign||function(){return f=Object.assign||function(J){for(var Y,$=1,ie=arguments.length;$")}(J);case x.Comment:return function he(J){return"\x3c!--".concat(J.data,"--\x3e")}(J);case x.CDATA:return function ue(J){return"")}(J);case x.Script:case x.Style:case x.Tag:return function ee(J,Y){var $;"foreign"===Y.xmlMode&&(J.name=null!==($=F.elementNames.get(J.name))&&void 0!==$?$:J.name,J.parent&&ne.has(J.parent.name)&&(Y=f(f({},Y),{xmlMode:!1}))),!Y.xmlMode&&q.has(J.name)&&(Y=f(f({},Y),{xmlMode:"foreign"}));var ie="<".concat(J.name),te=function P(J,Y){var $;if(J){var ie=!1===(null!==($=Y.encodeEntities)&&void 0!==$?$:Y.decodeEntities)?D:Y.xmlMode||"utf8"!==Y.encodeEntities?k.encodeXML:k.escapeAttribute;return Object.keys(J).map(function(te){var le,pe,ae=null!==(le=J[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(" ")}}(J.attribs,Y);return te&&(ie+=" ".concat(te)),0===J.children.length&&(Y.xmlMode?!1!==Y.selfClosingTags:Y.selfClosingTags&&j.has(J.name))?(Y.xmlMode||(ie+=" "),ie+="/>"):(ie+=">",J.children.length>0&&(ie+=I(J.children,Y)),(Y.xmlMode||!j.has(J.name))&&(ie+=""))),ie}(J,Y);case x.Text:return function z(J,Y){var $,ie=J.data||"";return!1!==(null!==($=Y.encodeEntities)&&void 0!==$?$:Y.decodeEntities)&&!(!Y.xmlMode&&J.parent&&S.has(J.parent.name))&&(ie=Y.xmlMode||"utf8"!==Y.encodeEntities?(0,k.encodeXML)(ie):(0,k.escapeText)(ie)),ie}(J,Y)}}O.render=I,O.default=I;var ne=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),q=new Set(["svg","math"])},3437:function(Ie,O,y){"use strict";var f=this&&this.__createBinding||(Object.create?function(F,S,D,P){void 0===P&&(P=D);var j=Object.getOwnPropertyDescriptor(S,D);(!j||("get"in j?!S.__esModule:j.writable||j.configurable))&&(j={enumerable:!0,get:function(){return S[D]}}),Object.defineProperty(F,P,j)}:function(F,S,D,P){void 0===P&&(P=D),F[P]=S[D]}),e=this&&this.__exportStar||function(F,S){for(var D in F)"default"!==D&&!Object.prototype.hasOwnProperty.call(S,D)&&f(S,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(S,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 S&&(D=S,S=void 0),this.callback=S??null,this.options=D??x,this.elementCB=P??null}return F.prototype.onparserinit=function(S){this.parser=S},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(S){this.handleCallback(S)},F.prototype.onclosetag=function(){this.lastNode=null;var S=this.tagStack.pop();this.options.withEndIndices&&(S.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(S)},F.prototype.onopentag=function(S,D){var j=new _.Element(S,D,void 0,this.options.xmlMode?g.ElementType.Tag:void 0);this.addNode(j),this.tagStack.push(j)},F.prototype.ontext=function(S){var D=this.lastNode;if(D&&D.type===g.ElementType.Text)D.data+=S,this.options.withEndIndices&&(D.endIndex=this.parser.endIndex);else{var P=new _.Text(S);this.addNode(P),this.lastNode=P}},F.prototype.oncomment=function(S){if(this.lastNode&&this.lastNode.type===g.ElementType.Comment)this.lastNode.data+=S;else{var D=new _.Comment(S);this.addNode(D),this.lastNode=D}},F.prototype.oncommentend=function(){this.lastNode=null},F.prototype.oncdatastart=function(){var S=new _.Text(""),D=new _.CDATA([S]);this.addNode(D),S.parent=D,this.lastNode=S},F.prototype.oncdataend=function(){this.lastNode=null},F.prototype.onprocessinginstruction=function(S,D){var P=new _.ProcessingInstruction(S,D);this.addNode(P)},F.prototype.handleCallback=function(S){if("function"==typeof this.callback)this.callback(S,this.dom);else if(S)throw S},F.prototype.addNode=function(S){var D=this.tagStack[this.tagStack.length-1],P=D.children[D.children.length-1];this.options.withStartIndices&&(S.startIndex=this.parser.startIndex),this.options.withEndIndices&&(S.endIndex=this.parser.endIndex),D.children.push(S),P&&(S.prev=P,P.next=S),S.parent=D,this.lastNode=null},F}();O.DomHandler=k,O.default=k},2105:function(Ie,O,y){"use strict";var Y,f=this&&this.__extends||(Y=function($,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])})($,ie)},function($,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=$}Y($,ie),$.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 $,ie=1,te=arguments.length;ie0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty($.prototype,"childNodes",{get:function(){return this.children},set:function(ie){this.children=ie},enumerable:!1,configurable:!0}),$}(_);O.NodeWithChildren=D;var P=function(Y){function $(){var ie=null!==Y&&Y.apply(this,arguments)||this;return ie.type=g.ElementType.CDATA,ie}return f($,Y),Object.defineProperty($.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),$}(D);O.CDATA=P;var j=function(Y){function $(){var ie=null!==Y&&Y.apply(this,arguments)||this;return ie.type=g.ElementType.Root,ie}return f($,Y),Object.defineProperty($.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),$}(D);O.Document=j;var I=function(Y){function $(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($,Y),Object.defineProperty($.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty($.prototype,"tagName",{get:function(){return this.name},set:function(ie){this.name=ie},enumerable:!1,configurable:!0}),Object.defineProperty($.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}),$}(D);function L(Y){return(0,g.isTag)(Y)}function ne(Y){return Y.type===g.ElementType.CDATA}function q(Y){return Y.type===g.ElementType.Text}function ee(Y){return Y.type===g.ElementType.Comment}function U(Y){return Y.type===g.ElementType.Directive}function z(Y){return Y.type===g.ElementType.Root}function he(Y,$){var ie;if(void 0===$&&($=!1),q(Y))ie=new k(Y.data);else if(ee(Y))ie=new F(Y.data);else if(L(Y)){var te=$?J(Y.children):[],le=new I(Y.name,e({},Y.attribs),te);te.forEach(function(ke){return ke.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(ne(Y)){te=$?J(Y.children):[];var pe=new P(te);te.forEach(function(Ue){return Ue.parent=pe}),ie=pe}else if(z(Y)){te=$?J(Y.children):[];var ae=new j(te);te.forEach(function(Ue){return Ue.parent=ae}),Y["x-mode"]&&(ae["x-mode"]=Y["x-mode"]),ie=ae}else{if(!U(Y))throw new Error("Not implemented yet: ".concat(Y.type));var Ee=new S(Y.name,Y.data);null!=Y["x-name"]&&(Ee["x-name"]=Y["x-name"],Ee["x-publicId"]=Y["x-publicId"],Ee["x-systemId"]=Y["x-systemId"]),ie=Ee}return ie.startIndex=Y.startIndex,ie.endIndex=Y.endIndex,null!=Y.sourceCodeLocation&&(ie.sourceCodeLocation=Y.sourceCodeLocation),ie}function J(Y){for(var $=Y.map(function(te){return he(te,!0)}),ie=1;ie<$.length;ie++)$[ie].prev=$[ie-1],$[ie-1].next=$[ie];return $}O.Element=I,O.isTag=L,O.isCDATA=ne,O.isText=q,O.isComment=ee,O.isDirective=U,O.isDocument=z,O.hasChildren=function ue(Y){return Object.prototype.hasOwnProperty.call(Y,"children")},O.cloneNode=he},4477:(Ie,O,y)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.getFeed=void 0;var f=y(8149),e=y(4279);O.getFeed=function g(L){var ne=D(I,L);return ne?"feed"===ne.name?function _(L){var ne,q=L.children,ee={type:"atom",items:(0,e.getElementsByTagName)("entry",q).map(function(ue){var he,J=ue.children,Y={media:S(J)};j(Y,"id","id",J),j(Y,"title","title",J);var $=null===(he=D("link",J))||void 0===he?void 0:he.attribs.href;$&&(Y.link=$);var ie=P("summary",J)||P("content",J);ie&&(Y.description=ie);var te=P("updated",J);return te&&(Y.pubDate=new Date(te)),Y})};j(ee,"id","id",q),j(ee,"title","title",q);var U=null===(ne=D("link",q))||void 0===ne?void 0:ne.attribs.href;U&&(ee.link=U),j(ee,"description","subtitle",q);var z=P("updated",q);return z&&(ee.updated=new Date(z)),j(ee,"author","email",q,!0),ee}(ne):function x(L){var ne,q,ee=null!==(q=null===(ne=D("channel",L.children))||void 0===ne?void 0:ne.children)&&void 0!==q?q:[],U={type:L.name.substr(0,3),id:"",items:(0,e.getElementsByTagName)("item",L.children).map(function(ue){var he=ue.children,J={media:S(he)};j(J,"id","guid",he),j(J,"title","title",he),j(J,"link","link",he),j(J,"description","description",he);var Y=P("pubDate",he);return Y&&(J.pubDate=new Date(Y)),J})};j(U,"title","title",ee),j(U,"link","link",ee),j(U,"description","description",ee);var z=P("lastBuildDate",ee);return z&&(U.updated=new Date(z)),j(U,"author","managingEditor",ee,!0),U}(ne):null};var k=["url","type","lang"],F=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function S(L){return(0,e.getElementsByTagName)("media:content",L).map(function(ne){for(var q=ne.attribs,ee={medium:q.medium,isDefault:!!q.isDefault},U=0,z=k;U{"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 S=[],D=[];if(k===F)return 0;for(var P=(0,f.hasChildren)(k)?k:k.parent;P;)S.unshift(P),P=P.parent;for(P=(0,f.hasChildren)(F)?F:F.parent;P;)D.unshift(P),P=P.parent;for(var j=Math.min(S.length,D.length),I=0;Ine.indexOf(ee)?L===F?g.FOLLOWING|g.CONTAINED_BY:g.FOLLOWING:L===k?g.PRECEDING|g.CONTAINS:g.PRECEDING}O.removeSubsets=function e(k){for(var F=k.length;--F>=0;){var S=k[F];if(F>0&&k.lastIndexOf(S,F-1)>=0)k.splice(F,1);else for(var D=S.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,S,D){return!D.includes(F,S+1)})).sort(function(F,S){var D=_(F,S);return D&g.PRECEDING?-1:D&g.FOLLOWING?1:0}),k}},5722:function(Ie,O,y){"use strict";var f=this&&this.__createBinding||(Object.create?function(_,x,k,F){void 0===F&&(F=k);var S=Object.getOwnPropertyDescriptor(x,k);(!S||("get"in S?!x.__esModule:S.writable||S.configurable))&&(S={enumerable:!0,get:function(){return x[k]}}),Object.defineProperty(_,F,S)}: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:(Ie,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(I){return"function"==typeof I?function(L){return(0,f.isTag)(L)&&I(L.name)}:"*"===I?f.isTag:function(L){return(0,f.isTag)(L)&&L.name===I}},tag_type:function(I){return"function"==typeof I?function(L){return I(L.type)}:function(L){return L.type===I}},tag_contains:function(I){return"function"==typeof I?function(L){return(0,f.isText)(L)&&I(L.data)}:function(L){return(0,f.isText)(L)&&L.data===I}}};function _(I,L){return"function"==typeof L?function(ne){return(0,f.isTag)(ne)&&L(ne.attribs[I])}:function(ne){return(0,f.isTag)(ne)&&ne.attribs[I]===L}}function x(I,L){return function(ne){return I(ne)||L(ne)}}function k(I){var L=Object.keys(I).map(function(ne){var q=I[ne];return Object.prototype.hasOwnProperty.call(g,ne)?g[ne](q):_(ne,q)});return 0===L.length?null:L.reduce(x)}O.testElement=function F(I,L){var ne=k(I);return!ne||ne(L)},O.getElements=function S(I,L,ne,q){void 0===q&&(q=1/0);var ee=k(I);return ee?(0,e.filter)(ee,L,ne,q):[]},O.getElementById=function D(I,L,ne){return void 0===ne&&(ne=!0),Array.isArray(L)||(L=[L]),(0,e.findOne)(_("id",I),L,ne)},O.getElementsByTagName=function P(I,L,ne,q){return void 0===ne&&(ne=!0),void 0===q&&(q=1/0),(0,e.filter)(g.tag_name(I),L,ne,q)},O.getElementsByTagType=function j(I,L,ne,q){return void 0===ne&&(ne=!0),void 0===q&&(q=1/0),(0,e.filter)(g.tag_type(I),L,ne,q)}},6180:(Ie,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 S=F.prev=k.prev;S&&(S.next=F);var D=F.next=k.next;D&&(D.prev=F);var P=F.parent=k.parent;if(P){var j=P.children;j[j.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 S=k.children[k.children.length-2];S.next=F,F.prev=S}else F.prev=null},O.append=function g(k,F){y(F);var S=k.parent,D=k.next;if(F.next=D,F.prev=k,k.next=F,F.parent=S,D){if(D.prev=F,S){var P=S.children;P.splice(P.lastIndexOf(D),0,F)}}else S&&S.children.push(F)},O.prependChild=function _(k,F){if(y(F),F.parent=k,F.prev=null,1!==k.children.unshift(F)){var S=k.children[1];S.prev=F,F.next=S}else F.next=null},O.prepend=function x(k,F){y(F);var S=k.parent;if(S){var D=S.children;D.splice(D.indexOf(k),0,F)}k.prev&&(k.prev.next=F),F.parent=S,F.prev=k.prev,F.next=k,k.prev=F}},5904:(Ie,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(S,D,P,j){for(var I=[],L=0,ne=D;L0){var ee=g(S,q.children,P,j);if(I.push.apply(I,ee),(j-=ee.length)<=0)break}}return I}O.filter=function e(S,D,P,j){return void 0===P&&(P=!0),void 0===j&&(j=1/0),Array.isArray(D)||(D=[D]),g(S,D,P,j)},O.find=g,O.findOneChild=function _(S,D){return D.find(S)},O.findOne=function x(S,D,P){void 0===P&&(P=!0);for(var j=null,I=0;I0&&(j=x(S,L.children,!0)))}return j},O.existsOne=function k(S,D){return D.some(function(P){return(0,f.isTag)(P)&&(S(P)||P.children.length>0&&k(S,P.children))})},O.findAll=function F(S,D){for(var P,L,j=[],I=D.filter(f.isTag);L=I.shift();){var ne=null===(P=L.children)||void 0===P?void 0:P.filter(f.isTag);ne&&ne.length>0&&I.unshift.apply(I,ne),S(L)&&j.push(L)}return j}},8149:function(Ie,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,j){return(0,g.default)(P,j)}O.getOuterHTML=x,O.getInnerHTML=function k(P,j){return(0,e.hasChildren)(P)?P.children.map(function(I){return x(I,j)}).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 S(P){return Array.isArray(P)?P.map(S).join(""):(0,e.hasChildren)(P)&&!(0,e.isComment)(P)?S(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:(Ie,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 L=g(P);if(null!=L)return e(L);for(var ne=[P],q=P.prev,ee=P.next;null!=q;)ne.unshift(q),q=q.prev;for(;null!=ee;)ne.push(ee),ee=ee.next;return ne},O.getAttributeValue=function x(P,j){var I;return null===(I=P.attribs)||void 0===I?void 0:I[j]},O.hasAttrib=function k(P,j){return null!=P.attribs&&Object.prototype.hasOwnProperty.call(P.attribs,j)&&null!=P.attribs[j]},O.getName=function F(P){return P.name},O.nextElementSibling=function S(P){for(var I=P.next;null!==I&&!(0,f.isTag)(I);)I=I.next;return I},O.prevElementSibling=function D(P){for(var I=P.prev;null!==I&&!(0,f.isTag)(I);)I=I.prev;return I}},6569:function(Ie,O,y){"use strict";var f=this&&this.__importDefault||function(q){return q&&q.__esModule?q:{default:q}};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,q,k=(()=>{return(q=k||(k={}))[q.NUM=35]="NUM",q[q.SEMI=59]="SEMI",q[q.ZERO=48]="ZERO",q[q.NINE=57]="NINE",q[q.LOWER_A=97]="LOWER_A",q[q.LOWER_F=102]="LOWER_F",q[q.LOWER_X=120]="LOWER_X",q[q.To_LOWER_BIT=32]="To_LOWER_BIT",k;var q})();function S(q){return function(U,z){for(var ue="",he=0,J=0;(J=U.indexOf("&",J))>=0;)if(ue+=U.slice(he,J),he=J,U.charCodeAt(J+=1)!==k.NUM){for(var pe=0,ae=1,Ee=0,ke=q[Ee];J>14)-1))break;Ee+=Ke}}var Ke;0!==pe&&(ue+=1==(Ke=(q[pe]&F.VALUE_LENGTH)>>14)?String.fromCharCode(q[pe]&~F.VALUE_LENGTH):2===Ke?String.fromCharCode(q[pe+1]):String.fromCharCode(q[pe+1],q[pe+2]),he=J-ae+1)}else{var Y=J+1,$=10,ie=U.charCodeAt(Y);(ie|k.To_LOWER_BIT)===k.LOWER_X&&($=16,J+=1,Y+=1);do{ie=U.charCodeAt(++J)}while(ie>=k.ZERO&&ie<=k.NINE||16===$&&(ie|k.To_LOWER_BIT)>=k.LOWER_A&&(ie|k.To_LOWER_BIT)<=k.LOWER_F);if(Y!==J){var te=U.substring(Y,J),le=parseInt(te,$);if(U.charCodeAt(J)===k.SEMI)J+=1;else if(z)continue;ue+=(0,_.default)(le),he=J}}return ue+U.slice(he)}}function D(q,ee,U,z){var ue=(ee&F.BRANCH_LENGTH)>>7,he=ee&F.JUMP_TABLE;if(0===ue)return 0!==he&&z===he?U:-1;if(he){var J=z-he;return J<0||J>=ue?-1:q[U+J]-1}for(var Y=U,$=Y+ue-1;Y<=$;){var ie=Y+$>>>1,te=q[ie];if(tez))return q[ie+ue];$=ie-1}}return-1}(q=F=O.BinTrieFlags||(O.BinTrieFlags={}))[q.VALUE_LENGTH=49152]="VALUE_LENGTH",q[q.BRANCH_LENGTH=16256]="BRANCH_LENGTH",q[q.JUMP_TABLE=127]="JUMP_TABLE",O.determineBranch=D;var P=S(e.default),j=S(g.default);O.decodeHTML=function I(q){return P(q,!1)},O.decodeHTMLStrict=function L(q){return P(q,!0)},O.decodeXML=function ne(q){return j(q,!0)}},3906:(Ie,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(Ie,O,y){"use strict";var f=this&&this.__importDefault||function(S){return S&&S.__esModule?S:{default:S}};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(S,D){for(var I,P="",j=0;null!==(I=S.exec(D));){var L=I.index;P+=D.substring(j,L);var ne=D.charCodeAt(L),q=e.default.get(ne);if("object"==typeof q){if(L+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,S=g.charCodeAt(F),D=y.get(S);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&S)))}return _+g.substr(x)}function e(g,_){return function(k){for(var F,S=0,D="";F=g.exec(k);)S!==F.index&&(D+=k.substring(S,F.index)),D+=_.get(F[0].charCodeAt(0)),S=F.index+1;return D+k.substring(S)}}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:(Ie,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:(Ie,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:(Ie,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 _,L,x,k,f=y(6569),e=y(6836),g=y(681);(L=_=O.EntityLevel||(O.EntityLevel={}))[L.XML=0]="XML",L[L.HTML=1]="HTML",function(L){L[L.Legacy=0]="Legacy",L[L.Strict=1]="Strict"}(x=O.DecodingMode||(O.DecodingMode={})),function(L){L[L.UTF8=0]="UTF8",L[L.ASCII=1]="ASCII",L[L.Extensive=2]="Extensive",L[L.Attribute=3]="Attribute",L[L.Text=4]="Text"}(k=O.EncodingMode||(O.EncodingMode={})),O.decode=function F(L,ne){void 0===ne&&(ne=_.XML);var q="number"==typeof ne?{level:ne}:ne;return q.level===_.HTML?q.mode===x.Strict?(0,f.decodeHTMLStrict)(L):(0,f.decodeHTML)(L):(0,f.decodeXML)(L)},O.decodeStrict=function S(L,ne){void 0===ne&&(ne=_.XML);var q="number"==typeof ne?{level:ne}:ne;return q.level===_.HTML?q.mode===x.Legacy?(0,f.decodeHTML)(L):(0,f.decodeHTMLStrict)(L):(0,f.decodeXML)(L)},O.encode=function D(L,ne){void 0===ne&&(ne=_.XML);var q="number"==typeof ne?{level:ne}:ne;return q.mode===k.UTF8?(0,g.escapeUTF8)(L):q.mode===k.Attribute?(0,g.escapeAttribute)(L):q.mode===k.Text?(0,g.escapeText)(L):q.level===_.HTML?q.mode===k.ASCII?(0,e.encodeNonAsciiHTML)(L):(0,e.encodeHTML)(L):(0,g.encodeXML)(L)};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 j=y(6836);Object.defineProperty(O,"encodeHTML",{enumerable:!0,get:function(){return j.encodeHTML}}),Object.defineProperty(O,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return j.encodeNonAsciiHTML}}),Object.defineProperty(O,"encodeHTML4",{enumerable:!0,get:function(){return j.encodeHTML}}),Object.defineProperty(O,"encodeHTML5",{enumerable:!0,get:function(){return j.encodeHTML}});var I=y(6569);Object.defineProperty(O,"decodeXML",{enumerable:!0,get:function(){return I.decodeXML}}),Object.defineProperty(O,"decodeHTML",{enumerable:!0,get:function(){return I.decodeHTML}}),Object.defineProperty(O,"decodeHTMLStrict",{enumerable:!0,get:function(){return I.decodeHTMLStrict}}),Object.defineProperty(O,"decodeHTML4",{enumerable:!0,get:function(){return I.decodeHTML}}),Object.defineProperty(O,"decodeHTML5",{enumerable:!0,get:function(){return I.decodeHTML}}),Object.defineProperty(O,"decodeHTML4Strict",{enumerable:!0,get:function(){return I.decodeHTMLStrict}}),Object.defineProperty(O,"decodeHTML5Strict",{enumerable:!0,get:function(){return I.decodeHTMLStrict}}),Object.defineProperty(O,"decodeXMLStrict",{enumerable:!0,get:function(){return I.decodeXML}})},1188:(Ie,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]},S=["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"),j=BigInt(1e11),I={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},L={};for(let J=0,Y=Object.keys(I);Je.encode(f.fromWordsUnsafe(J)),16:J=>e.encode(f.fromWordsUnsafe(J)),13:J=>g.encode(f.fromWordsUnsafe(J)),19:J=>e.encode(f.fromWordsUnsafe(J)),23:J=>e.encode(f.fromWordsUnsafe(J)),27:J=>e.encode(f.fromWordsUnsafe(J)),6:ee,24:ee,3:function U(J){const Y=[];let $,ie,te,le,pe,ae=f.fromWordsUnsafe(J);for(;ae.length>0;)$=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:$,short_channel_id:ie,fee_base_msat:te,fee_proportional_millionths:le,cltv_expiry_delta:pe});return Y},5:function z(J){const Y=J.slice().reverse().map(te=>[!!(1&te),!!(2&te),!!(4&te),!!(8&te),!!(16&te)]).reduce((te,le)=>te.concat(le),[]);for(;Y.length<2*S.length;)Y.push(!1);const $={};S.forEach((te,le)=>{let pe;pe=Y[2*le]?"required":Y[2*le+1]?"supported":"unsupported",$[te]=pe});const ie=Y.slice(2*S.length);return $.extra_bits={start_bit:2*S.length,bits:ie,has_required:ie.reduce((te,le,pe)=>pe%2!=0?te||!1:te||le,!1)},$}};function q(J){return Y=>({tagCode:parseInt(J),words:f.encode("unknown",Y,Number.MAX_SAFE_INTEGER)})}function ee(J){return J.reverse().reduce((Y,$,ie)=>Y+$*Math.pow(32,ie),0)}function ue(J,Y){let $,ie;if(J.slice(-1).match(/^[munp]$/))$=J.slice(-1),ie=J.slice(0,-1);else{if(J.slice(-1).match(/^[^munp0-9]$/))throw new Error("Not a valid multiplier for the amount");ie=J}if(!ie.match(/^\d+$/))throw new Error("Not a valid human readable amount");const te=BigInt(ie),le=$?te*j/D[$]:te*j;if("p"===$&&te%BigInt(10)!==BigInt(0)||le>P)throw new Error("Amount is outside of valid range");return Y?le.toString():le}Ie.exports={decode:function he(J,Y){if("string"!=typeof J)throw new Error("Lightning Payment Request must be string");if("ln"!==J.slice(0,2).toLowerCase())throw new Error("Not a proper lightning payment request");const $=[],ie=f.decode(J,Number.MAX_SAFE_INTEGER);J=J.toLowerCase();const te=ie.prefix;let le=ie.words,pe=J.slice(te.length+1),ae=le.slice(-104);le=le.slice(0,-104);let Ee=te.match(/^ln(\S+?)(\d*)([a-zA-Z]?)$/);if(Ee&&!Ee[2]&&(Ee=te.match(/^ln(\S+)$/)),!Ee)throw new Error("Not a proper lightning payment request");$.push({name:"lightning_network",letters:"ln"});const ke=Ee[1];let Ue;if(Y){if(void 0===Y.bech32||void 0===Y.pubKeyHash||void 0===Y.scriptHash||!Array.isArray(Y.validWitnessVersions))throw new Error("Invalid network");Ue=Y}else switch(ke){case _.bech32:Ue=_;break;case x.bech32:Ue=x;break;case k.bech32:Ue=k;break;case F.bech32:Ue=F}if(!Ue||Ue.bech32!==ke)throw new Error("Unknown coin bech32 prefix");$.push({name:"coin_network",letters:ke,value:Ue});const Ke=Ee[2];let Oe;Ke?(Oe=ue(Ke+Ee[3],!0),$.push({name:"amount",letters:Ee[2]+Ee[3],value:Oe})):Oe=null,$.push({name:"separator",letters:"1"});const nt=ee(le.slice(0,7));let Ce,Ne,ot,Ge;for(le=le.slice(7),$.push({name:"timestamp",letters:pe.slice(0,7),value:nt}),pe=pe.slice(7);le.length>0;){const Qe=le[0].toString();Ce=L[Qe]||"unknown_tag",Ne=ne[Qe]||q(Qe),le=le.slice(1),ot=ee(le.slice(0,2)),le=le.slice(2),Ge=le.slice(0,ot),le=le.slice(ot),$.push({name:Ce,tag:pe[0],letters:pe.slice(0,3+ot),value:Ne(Ge)}),pe=pe.slice(3+ot)}$.push({name:"signature",letters:pe.slice(0,104),value:e.encode(f.fromWordsUnsafe(ae))}),pe=pe.slice(104),$.push({name:"checksum",letters:pe});let xt={paymentRequest:J,sections:$,get expiry(){let Qe=$.find(Qt=>"expiry"===Qt.name);if(Qe)return lt("timestamp")+Qe.value},get route_hints(){return $.filter(Qe=>"route_hint"===Qe.name).map(Qe=>Qe.value)}};for(let Qe in I)"route_hint"!==Qe&&Object.defineProperty(xt,Qe,{get:()=>lt(Qe)});return xt;function lt(Qe){let Qt=$.find(Bt=>Bt.name===Qe);return Qt?Qt.value:void 0}},hrpToMillisat:ue}},7088:function(Ie,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(Ie,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(S,D,P,j){var I=e(S),L=g[F][e(S)];return 2===I&&(L=L[D?0:1]),L.replace(/%d/i,S)}},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,S,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(Ie,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(Ie,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(S){return 0===S?0:1===S?1:2===S?2:S%100>=3&&S%100<=10?3:S%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(S){return function(D,P,j,I){var L=g(D),ne=_[S][g(D)];return 2===L&&(ne=ne[P?0:1]),ne.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(S){return"\u0645"===S},meridiem:function(S,D,P){return S<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(S){return S.replace(/\u060c/g,",")},postformat:function(S){return S.replace(/\d/g,function(D){return e[D]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(y(5439))},5443:function(Ie,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(Ie,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(Ie,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(Ie,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,j,I,L){var ne=_(P),q=x[D][_(P)];return 2===ne&&(q=q[j?0:1]),q.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,j){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(Ie,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(Ie,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(Ie,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(Ie,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(Ie,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(Ie,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(Ie,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(Ie,O,y){!function(f){"use strict";function e(q,ee,U){return q+" "+function x(q,ee){return 2===ee?function k(q){var ee={m:"v",b:"v",d:"z"};return void 0===ee[q.charAt(0)]?q:ee[q.charAt(0)]+q.substring(1)}(q):q}({mm:"munutenn",MM:"miz",dd:"devezh"}[U],q)}function _(q){return q>9?_(q%10):q}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],S=/^(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,L=[/^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:L,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:L,monthsRegex:S,monthsShortRegex:S,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(q){switch(_(q)){case 1:case 3:case 4:case 5:case 9:return q+" bloaz";default:return q+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(q){return q+(1===q?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(q){return"g.m."===q},meridiem:function(q,ee,U){return q<12?"a.m.":"g.m."}})}(y(5439))},4792:function(Ie,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(Ie,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(Ie,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,j,I){var L=D+" ";switch(j){case"s":return P||I?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return P||I?L+(k(D)?"sekundy":"sekund"):L+"sekundami";case"m":return P?"minuta":I?"minutu":"minutou";case"mm":return P||I?L+(k(D)?"minuty":"minut"):L+"minutami";case"h":return P?"hodina":I?"hodinu":"hodinou";case"hh":return P||I?L+(k(D)?"hodiny":"hodin"):L+"hodinami";case"d":return P||I?"den":"dnem";case"dd":return P||I?L+(k(D)?"dny":"dn\xed"):L+"dny";case"M":return P||I?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return P||I?L+(k(D)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):L+"m\u011bs\xedci";case"y":return P||I?"rok":"rokem";case"yy":return P||I?L+(k(D)?"roky":"let"):L+"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(Ie,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(Ie,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(Ie,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(Ie,O,y){!function(f){"use strict";function e(_,x,k,F){var S={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?S[k][0]:S[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(Ie,O,y){!function(f){"use strict";function e(_,x,k,F){var S={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?S[k][0]:S[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(Ie,O,y){!function(f){"use strict";function e(_,x,k,F){var S={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?S[k][0]:S[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(Ie,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(Ie,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(Ie,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(Ie,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(Ie,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(Ie,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(Ie,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(Ie,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(Ie,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(Ie,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(Ie,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(Ie,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,S){return F?/-MMM-/.test(S)?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(Ie,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,S){return F?/-MMM-/.test(S)?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(Ie,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,S){return F?/-MMM-/.test(S)?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(Ie,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,S){return F?/-MMM-/.test(S)?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(Ie,O,y){!function(f){"use strict";function e(_,x,k,F){var S={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?S[k][2]?S[k][2]:S[k][1]:F?S[k][0]:S[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(Ie,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(Ie,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(Ie,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,S,D,P){var j="";switch(D){case"s":return P?"muutaman sekunnin":"muutama sekunti";case"ss":j=P?"sekunnin":"sekuntia";break;case"m":return P?"minuutin":"minuutti";case"mm":j=P?"minuutin":"minuuttia";break;case"h":return P?"tunnin":"tunti";case"hh":j=P?"tunnin":"tuntia";break;case"d":return P?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":j=P?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return P?"kuukauden":"kuukausi";case"MM":j=P?"kuukauden":"kuukautta";break;case"y":return P?"vuoden":"vuosi";case"yy":j=P?"vuoden":"vuotta"}return function x(F,S){return F<10?S?g[F]:e[F]:F}(F,P)+" "+j}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(Ie,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(Ie,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(Ie,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(Ie,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(Ie,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,S){switch(S){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(Ie,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(Ie,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(S){return S+(1===S?"d":S%10==2?"na":"mh")},week:{dow:1,doy:4}})}(y(5439))},6924:function(Ie,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(S){return S+(1===S?"d":S%10==2?"na":"mh")},week:{dow:1,doy:4}})}(y(5439))},6398:function(Ie,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(Ie,O,y){!function(f){"use strict";function e(_,x,k,F){var S={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?S[k][0]:S[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(Ie,O,y){!function(f){"use strict";function e(_,x,k,F){var S={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?S[k][0]:S[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(Ie,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(Ie,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(Ie,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(S){return g[S]})},postformat:function(F){return F.replace(/\d/g,function(S){return e[S]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(F,S){return 12===F&&(F=0),"\u0930\u093e\u0924"===S?F<4?F:F+12:"\u0938\u0941\u092c\u0939"===S?F:"\u0926\u094b\u092a\u0939\u0930"===S?F>=10?F:F+12:"\u0936\u093e\u092e"===S?F+12:void 0},meridiem:function(F,S,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(Ie,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(Ie,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,S,D){var P=k;switch(S){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,S){return k<12?!0===S?"de":"DE":!0===S?"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(Ie,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(Ie,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(Ie,O,y){!function(f){"use strict";function e(x){return x%100==11||x%10!=1}function g(x,k,F,S){var D=x+" ";switch(F){case"s":return k||S?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return e(x)?D+(k||S?"sek\xfandur":"sek\xfandum"):D+"sek\xfanda";case"m":return k?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return e(x)?D+(k||S?"m\xedn\xfatur":"m\xedn\xfatum"):k?D+"m\xedn\xfata":D+"m\xedn\xfatu";case"hh":return e(x)?D+(k||S?"klukkustundir":"klukkustundum"):D+"klukkustund";case"d":return k?"dagur":S?"dag":"degi";case"dd":return e(x)?k?D+"dagar":D+(S?"daga":"d\xf6gum"):k?D+"dagur":D+(S?"dag":"degi");case"M":return k?"m\xe1nu\xf0ur":S?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return e(x)?k?D+"m\xe1nu\xf0ir":D+(S?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):k?D+"m\xe1nu\xf0ur":D+(S?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return k||S?"\xe1r":"\xe1ri";case"yy":return e(x)?D+(k||S?"\xe1r":"\xe1rum"):D+(k||S?"\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(Ie,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(Ie,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(Ie,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(Ie,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(Ie,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(Ie,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(Ie,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(Ie,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(Ie,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(Ie,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,S){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(Ie,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(Ie,O,y){!function(f){"use strict";function e(F,S,D,P){var j={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 S?j[D][0]:j[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 S=F%10;return x(0===S?F/10:S)}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(Ie,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(Ie,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,j,I){return P?k(j)[0]:I?k(j)[1]:k(j)[2]}function x(D){return D%10==0||D>10&&D<20}function k(D){return e[D].split("_")}function F(D,P,j,I){var L=D+" ";return 1===D?L+_(0,P,j[0],I):P?L+(x(D)?k(j)[1]:k(j)[0]):I?L+k(j)[1]:L+(x(D)?k(j)[1]:k(j)[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,j,I){return P?"kelios sekund\u0117s":I?"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(Ie,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(S,D,P){return P?D%10==1&&D%100!=11?S[2]:S[3]:D%10==1&&D%100!=11?S[0]:S[1]}function _(S,D,P){return S+" "+g(e[P],S,D)}function x(S,D,P){return g(e[P],S,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(S,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(Ie,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(Ie,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(Ie,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(Ie,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(Ie,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(Ie,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,S,D){var P="";if(F)switch(S){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(S){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,S){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(Ie,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(Ie,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(Ie,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(Ie,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(Ie,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(Ie,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(Ie,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,S){return F?/-MMM-/.test(S)?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(Ie,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,S){return F?/-MMM-/.test(S)?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(Ie,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(Ie,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(Ie,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(Ie,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(S){return S%10<5&&S%10>1&&~~(S/10)%10!=1}function k(S,D,P){var j=S+" ";switch(P){case"ss":return j+(x(S)?"sekundy":"sekund");case"m":return D?"minuta":"minut\u0119";case"mm":return j+(x(S)?"minuty":"minut");case"h":return D?"godzina":"godzin\u0119";case"hh":return j+(x(S)?"godziny":"godzin");case"ww":return j+(x(S)?"tygodnie":"tygodni");case"MM":return j+(x(S)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return j+(x(S)?"lata":"lat")}}f.defineLocale("pl",{months:function(S,D){return S?/D MMMM/.test(D)?g[S.month()]:e[S.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(Ie,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(Ie,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(Ie,O,y){!function(f){"use strict";function e(_,x,k){var S=" ";return(_%100>=20||_>=100&&_%100==0)&&(S=" de "),_+S+{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(Ie,O,y){!function(f){"use strict";function g(k,F,S){return"m"===S?F?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":k+" "+function e(k,F){var S=k.split("_");return F%10==1&&F%100!=11?S[0]:F%10>=2&&F%10<=4&&(F%100<10||F%100>=20)?S[1]:S[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"}[S],+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,S){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(Ie,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(Ie,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(Ie,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(Ie,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,S,D,P){var j=F+" ";switch(D){case"s":return S||P?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return S||P?j+(_(F)?"sekundy":"sek\xfand"):j+"sekundami";case"m":return S?"min\xfata":P?"min\xfatu":"min\xfatou";case"mm":return S||P?j+(_(F)?"min\xfaty":"min\xfat"):j+"min\xfatami";case"h":return S?"hodina":P?"hodinu":"hodinou";case"hh":return S||P?j+(_(F)?"hodiny":"hod\xedn"):j+"hodinami";case"d":return S||P?"de\u0148":"d\u0148om";case"dd":return S||P?j+(_(F)?"dni":"dn\xed"):j+"d\u0148ami";case"M":return S||P?"mesiac":"mesiacom";case"MM":return S||P?j+(_(F)?"mesiace":"mesiacov"):j+"mesiacmi";case"y":return S||P?"rok":"rokom";case"yy":return S||P?j+(_(F)?"roky":"rokov"):j+"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(Ie,O,y){!function(f){"use strict";function e(_,x,k,F){var S=_+" ";switch(k){case"s":return x||F?"nekaj sekund":"nekaj sekundami";case"ss":return S+(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 S+(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 S+(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 S+(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 S+(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 S+(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(Ie,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(Ie,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,S=e.words[k];return 1===k.length?"y"===k&&x?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":F||x?S[0]:S[1]:(D=e.correctGrammaticalCase(_,S),"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(Ie,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,S=e.words[k];return 1===k.length?"y"===k&&x?"jedna godina":F||x?S[0]:S[1]:(D=e.correctGrammaticalCase(_,S),"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(Ie,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(Ie,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(Ie,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(Ie,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(Ie,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(Ie,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(Ie,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(Ie,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(Ie,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(Ie,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(Ie,O,y){!function(f){"use strict";var e="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function x(S,D,P,j){var I=function k(S){var D=Math.floor(S%1e3/100),P=Math.floor(S%100/10),j=S%10,I="";return D>0&&(I+=e[D]+"vatlh"),P>0&&(I+=(""!==I?" ":"")+e[P]+"maH"),j>0&&(I+=(""!==I?" ":"")+e[j]),""===I?"pagh":I}(S);switch(P){case"ss":return I+" lup";case"mm":return I+" tup";case"hh":return I+" rep";case"dd":return I+" jaj";case"MM":return I+" jar";case"yy":return I+" 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(S){var D=S;return-1!==S.indexOf("jaj")?D.slice(0,-3)+"leS":-1!==S.indexOf("jar")?D.slice(0,-3)+"waQ":-1!==S.indexOf("DIS")?D.slice(0,-3)+"nem":D+" pIq"},past:function _(S){var D=S;return-1!==S.indexOf("jaj")?D.slice(0,-3)+"Hu\u2019":-1!==S.indexOf("jar")?D.slice(0,-3)+"wen":-1!==S.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(Ie,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(Ie,O,y){!function(f){"use strict";function g(_,x,k,F){var S={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?S[k][0]:S[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(Ie,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(Ie,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(Ie,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(Ie,O,y){!function(f){"use strict";function g(F,S,D){return"m"===D?S?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===D?S?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":F+" "+function e(F,S){var D=F.split("_");return S%10==1&&S%100!=11?D[0]:S%10>=2&&S%10<=4&&(S%100<10||S%100>=20)?D[1]:D[2]}({ss:S?"\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:S?"\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:S?"\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,S){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(S)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(S)?"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,S,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,S){switch(S){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(Ie,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(Ie,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(Ie,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(Ie,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(Ie,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(Ie,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(Ie,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(Ie,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(Ie,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(Ie,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(Ie,O,y){(Ie=y.nmd(Ie)).exports=function(){"use strict";var f,ee;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,Z){return Object.prototype.hasOwnProperty.call(E,Z)}function F(E){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(E).length;var Z;for(Z in E)if(k(E,Z))return!1;return!0}function S(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 j(E,Z){var Ae,ge=[],Ye=E.length;for(Ae=0;Ae>>0;for(Ae=0;Ae0)for(ge=0;ge=0?ge?"+":"":"-")+Math.pow(10,Math.max(0,Z-Ae.length)).toString().substr(1)+Ae}var Ne=/(\[[^\[]*\])|(\\)?([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,ot=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Ge={},xt={};function lt(E,Z,ge,Ae){var Ye=Ae;"string"==typeof Ae&&(Ye=function(){return this[Ae]()}),E&&(xt[E]=Ye),Z&&(xt[Z[0]]=function(){return Ce(Ye.apply(this,arguments),Z[1],Z[2])}),ge&&(xt[ge]=function(){return this.localeData().ordinal(Ye.apply(this,arguments),E)})}function Qe(E){return E.match(/\[[\s\S]/)?E.replace(/^\[|\]$/g,""):E.replace(/\\/g,"")}function Bt(E,Z){return E.isValid()?(Z=Fe(Z,E.localeData()),Ge[Z]=Ge[Z]||function Qt(E){var ge,Ae,Z=E.match(Ne);for(ge=0,Ae=Z.length;ge=0&&ot.test(E);)E=E.replace(ot,Ae),ot.lastIndex=0,ge-=1;return E}var qt={};function Ft(E,Z){var ge=E.toLowerCase();qt[ge]=qt[ge+"s"]=qt[Z]=E}function xe(E){return"string"==typeof E?qt[E]||qt[E.toLowerCase()]:void 0}function Pe(E){var ge,Ae,Z={};for(Ae in E)k(E,Ae)&&(ge=xe(Ae))&&(Z[ge]=E[Ae]);return Z}var ye={};function We(E,Z){ye[E]=Z}function gt(E){return E%4==0&&E%100!=0||E%400==0}function Ot(E){return E<0?Math.ceil(E)||0:Math.floor(E)}function Rt(E){var Z=+E,ge=0;return 0!==Z&&isFinite(Z)&&(ge=Ot(Z)),ge}function ai(E,Z){return function(ge){return null!=ge?(vi(this,E,ge),e.updateOffset(this,Z),this):fi(this,E)}}function fi(E,Z){return E.isValid()?E._d["get"+(E._isUTC?"UTC":"")+Z]():NaN}function vi(E,Z,ge){E.isValid()&&!isNaN(ge)&&("FullYear"===Z&>(E.year())&&1===E.month()&&29===E.date()?(ge=Rt(ge),E._d["set"+(E._isUTC?"UTC":"")+Z](ge,E.month(),li(ge,E.month()))):E._d["set"+(E._isUTC?"UTC":"")+Z](ge))}var ji,Ct=/\d/,bt=/\d\d/,Bi=/\d{3}/,Oi=/\d{4}/,hn=/[+-]?\d{6}/,ui=/\d\d?/,mn=/\d\d\d\d?/,kt=/\d\d\d\d\d\d?/,Me=/\d{1,3}/,oe=/\d{1,4}/,de=/[+-]?\d{1,6}/,Le=/\d+/,et=/[+-]?\d+/,Et=/Z|[+-]\d\d:?\d\d/gi,gi=/Z|[+-]\d\d(?::?\d\d)?/gi,Zt=/[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 _e(E,Z,ge){ji[E]=ae(Z)?Z:function(Ae,Ye){return Ae&&ge?ge:Z}}function Re(E,Z){return k(ji,E)?ji[E](Z._strict,Z._locale):new RegExp(function $e(E){return Je(E.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(Z,ge,Ae,Ye,At){return ge||Ae||Ye||At}))}(E))}function Je(E){return E.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}ji={};var St={};function Xe(E,Z){var ge,Ye,Ae=Z;for("string"==typeof E&&(E=[E]),D(Z)&&(Ae=function(At,oi){oi[Z]=Rt(At)}),Ye=E.length,ge=0;ge68?1900:2e3)};var Zi=ai("FullYear",!0);function tr(E,Z,ge,Ae,Ye,At,oi){var on;return E<100&&E>=0?(on=new Date(E+400,Z,ge,Ae,Ye,At,oi),isFinite(on.getFullYear())&&on.setFullYear(E)):on=new Date(E,Z,ge,Ae,Ye,At,oi),on}function Ht(E){var Z,ge;return E<100&&E>=0?((ge=Array.prototype.slice.call(arguments))[0]=E+400,Z=new Date(Date.UTC.apply(null,ge)),isFinite(Z.getUTCFullYear())&&Z.setUTCFullYear(E)):Z=new Date(Date.UTC.apply(null,arguments)),Z}function it(E,Z,ge){var Ae=7+Z-ge;return-(7+Ht(E,0,Ae).getUTCDay()-Z)%7+Ae-1}function Ri(E,Z,ge,Ae,Ye){var Bn,wr,on=1+7*(Z-1)+(7+ge-Ae)%7+it(E,Ae,Ye);return on<=0?wr=pr(Bn=E-1)+on:on>pr(E)?(Bn=E+1,wr=on-pr(E)):(Bn=E,wr=on),{year:Bn,dayOfYear:wr}}function In(E,Z,ge){var At,oi,Ae=it(E.year(),Z,ge),Ye=Math.floor((E.dayOfYear()-Ae-1)/7)+1;return Ye<1?At=Ye+Wn(oi=E.year()-1,Z,ge):Ye>Wn(E.year(),Z,ge)?(At=Ye-Wn(E.year(),Z,ge),oi=E.year()+1):(oi=E.year(),At=Ye),{week:At,year:oi}}function Wn(E,Z,ge){var Ae=it(E,Z,ge),Ye=it(E+1,Z,ge);return(pr(E)-Ae+Ye)/7}lt("w",["ww",2],"wo","week"),lt("W",["WW",2],"Wo","isoWeek"),Ft("week","w"),Ft("isoWeek","W"),We("week",5),We("isoWeek",5),_e("w",ui),_e("ww",ui,bt),_e("W",ui),_e("WW",ui,bt),tt(["w","ww","W","WW"],function(E,Z,ge,Ae){Z[Ae.substr(0,1)]=Rt(E)});function kr(E,Z){return E.slice(Z,7).concat(E.slice(0,Z))}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"),Ft("day","d"),Ft("weekday","e"),Ft("isoWeekday","E"),We("day",11),We("weekday",11),We("isoWeekday",11),_e("d",ui),_e("e",ui),_e("E",ui),_e("dd",function(E,Z){return Z.weekdaysMinRegex(E)}),_e("ddd",function(E,Z){return Z.weekdaysShortRegex(E)}),_e("dddd",function(E,Z){return Z.weekdaysRegex(E)}),tt(["dd","ddd","dddd"],function(E,Z,ge,Ae){var Ye=ge._locale.weekdaysParse(E,Ae,ge._strict);null!=Ye?Z.d=Ye:q(ge).invalidWeekday=E}),tt(["d","e","E"],function(E,Z,ge,Ae){Z[Ae]=Rt(E)});var ja="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Or="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),qo="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Er=Zt,ir=Zt,Qi=Zt;function da(E,Z,ge){var Ae,Ye,At,oi=E.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],Ae=0;Ae<7;++Ae)At=L([2e3,1]).day(Ae),this._minWeekdaysParse[Ae]=this.weekdaysMin(At,"").toLocaleLowerCase(),this._shortWeekdaysParse[Ae]=this.weekdaysShort(At,"").toLocaleLowerCase(),this._weekdaysParse[Ae]=this.weekdays(At,"").toLocaleLowerCase();return ge?"dddd"===Z?-1!==(Ye=Dn.call(this._weekdaysParse,oi))?Ye:null:"ddd"===Z?-1!==(Ye=Dn.call(this._shortWeekdaysParse,oi))?Ye:null:-1!==(Ye=Dn.call(this._minWeekdaysParse,oi))?Ye:null:"dddd"===Z?-1!==(Ye=Dn.call(this._weekdaysParse,oi))||-1!==(Ye=Dn.call(this._shortWeekdaysParse,oi))||-1!==(Ye=Dn.call(this._minWeekdaysParse,oi))?Ye:null:"ddd"===Z?-1!==(Ye=Dn.call(this._shortWeekdaysParse,oi))||-1!==(Ye=Dn.call(this._weekdaysParse,oi))||-1!==(Ye=Dn.call(this._minWeekdaysParse,oi))?Ye:null:-1!==(Ye=Dn.call(this._minWeekdaysParse,oi))||-1!==(Ye=Dn.call(this._weekdaysParse,oi))||-1!==(Ye=Dn.call(this._shortWeekdaysParse,oi))?Ye:null}function Ja(){function E(ra,to){return to.length-ra.length}var At,oi,on,Bn,wr,Z=[],ge=[],Ae=[],Ye=[];for(At=0;At<7;At++)oi=L([2e3,1]).day(At),on=Je(this.weekdaysMin(oi,"")),Bn=Je(this.weekdaysShort(oi,"")),wr=Je(this.weekdays(oi,"")),Z.push(on),ge.push(Bn),Ae.push(wr),Ye.push(on),Ye.push(Bn),Ye.push(wr);Z.sort(E),ge.sort(E),Ae.sort(E),Ye.sort(E),this._weekdaysRegex=new RegExp("^("+Ye.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+Ae.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+ge.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+Z.join("|")+")","i")}function _o(){return this.hours()%12||12}function gr(E,Z){lt(E,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),Z)})}function Io(E,Z){return Z._meridiemParse}lt("H",["HH",2],0,"hour"),lt("h",["hh",2],0,_o),lt("k",["kk",2],0,function Ka(){return this.hours()||24}),lt("hmm",0,0,function(){return""+_o.apply(this)+Ce(this.minutes(),2)}),lt("hmmss",0,0,function(){return""+_o.apply(this)+Ce(this.minutes(),2)+Ce(this.seconds(),2)}),lt("Hmm",0,0,function(){return""+this.hours()+Ce(this.minutes(),2)}),lt("Hmmss",0,0,function(){return""+this.hours()+Ce(this.minutes(),2)+Ce(this.seconds(),2)}),gr("a",!0),gr("A",!1),Ft("hour","h"),We("hour",13),_e("a",Io),_e("A",Io),_e("H",ui),_e("h",ui),_e("k",ui),_e("HH",ui,bt),_e("hh",ui,bt),_e("kk",ui,bt),_e("hmm",mn),_e("hmmss",kt),_e("Hmm",mn),_e("Hmmss",kt),Xe(["H","HH"],ci),Xe(["k","kk"],function(E,Z,ge){var Ae=Rt(E);Z[ci]=24===Ae?0:Ae}),Xe(["a","A"],function(E,Z,ge){ge._isPm=ge._locale.isPM(E),ge._meridiem=E}),Xe(["h","hh"],function(E,Z,ge){Z[ci]=Rt(E),q(ge).bigHour=!0}),Xe("hmm",function(E,Z,ge){var Ae=E.length-2;Z[ci]=Rt(E.substr(0,Ae)),Z[Di]=Rt(E.substr(Ae)),q(ge).bigHour=!0}),Xe("hmmss",function(E,Z,ge){var Ae=E.length-4,Ye=E.length-2;Z[ci]=Rt(E.substr(0,Ae)),Z[Di]=Rt(E.substr(Ae,2)),Z[Wi]=Rt(E.substr(Ye)),q(ge).bigHour=!0}),Xe("Hmm",function(E,Z,ge){var Ae=E.length-2;Z[ci]=Rt(E.substr(0,Ae)),Z[Di]=Rt(E.substr(Ae))}),Xe("Hmmss",function(E,Z,ge){var Ae=E.length-4,Ye=E.length-2;Z[ci]=Rt(E.substr(0,Ae)),Z[Di]=Rt(E.substr(Ae,2)),Z[Wi]=Rt(E.substr(Ye))});var Ia=ai("Hours",!0);var vr,Va={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:Mn,monthsShort:rn,week:{dow:0,doy:6},weekdays:ja,weekdaysMin:qo,weekdaysShort:Or,meridiemParse:/[ap]\.?m?\.?/i},an={},Zr={};function Lr(E,Z){var ge,Ae=Math.min(E.length,Z.length);for(ge=0;ge0;){if(Ye=dr(At.slice(0,ge).join("-")))return Ye;if(Ae&&Ae.length>=ge&&Lr(At,Ae)>=ge-1)break;ge--}Z++}return vr}(E)}function ba(E){var Z,ge=E._a;return ge&&-2===q(E).overflow&&(Z=ge[Lt]<0||ge[Lt]>11?Lt:ge[Jt]<1||ge[Jt]>li(ge[pt],ge[Lt])?Jt:ge[ci]<0||ge[ci]>24||24===ge[ci]&&(0!==ge[Di]||0!==ge[Wi]||0!==ge[fn])?ci:ge[Di]<0||ge[Di]>59?Di:ge[Wi]<0||ge[Wi]>59?Wi:ge[fn]<0||ge[fn]>999?fn:-1,q(E)._overflowDayOfYear&&(ZJt)&&(Z=Jt),q(E)._overflowWeeks&&-1===Z&&(Z=Yn),q(E)._overflowWeekday&&-1===Z&&(Z=Cr),q(E).overflow=Z),E}var Gn=/^\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)?)?$/,Rr=/^\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)?)?$/,$a=/Z|[+-]\d\d(?::?\d\d)?/,En=[["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]],ia=[["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/]],An=/^\/?Date\((-?\d+)/i,Pi=/^(?:(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}))$/,Qo={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Qn(E){var Z,ge,At,oi,on,Bn,Ae=E._i,Ye=Gn.exec(Ae)||Rr.exec(Ae),wr=En.length,ra=ia.length;if(Ye){for(q(E).iso=!0,Z=0,ge=wr;Z7)&&(Bn=!0)):(At=E._locale._week.dow,oi=E._locale._week.doy,wr=In(bi(),At,oi),ge=Jr(Z.gg,E._a[pt],wr.year),Ae=Jr(Z.w,wr.week),null!=Z.d?((Ye=Z.d)<0||Ye>6)&&(Bn=!0):null!=Z.e?(Ye=Z.e+At,(Z.e<0||Z.e>6)&&(Bn=!0)):Ye=At),Ae<1||Ae>Wn(ge,At,oi)?q(E)._overflowWeeks=!0:null!=Bn?q(E)._overflowWeekday=!0:(on=Ri(ge,Ae,Ye,At,oi),E._a[pt]=on.year,E._dayOfYear=on.dayOfYear)}(E),null!=E._dayOfYear&&(oi=Jr(E._a[pt],Ye[pt]),(E._dayOfYear>pr(oi)||0===E._dayOfYear)&&(q(E)._overflowDayOfYear=!0),ge=Ht(oi,0,E._dayOfYear),E._a[Lt]=ge.getUTCMonth(),E._a[Jt]=ge.getUTCDate()),Z=0;Z<3&&null==E._a[Z];++Z)E._a[Z]=Ae[Z]=Ye[Z];for(;Z<7;Z++)E._a[Z]=Ae[Z]=null==E._a[Z]?2===Z?1:0:E._a[Z];24===E._a[ci]&&0===E._a[Di]&&0===E._a[Wi]&&0===E._a[fn]&&(E._nextDay=!0,E._a[ci]=0),E._d=(E._useUTC?Ht:tr).apply(null,Ae),At=E._useUTC?E._d.getUTCDay():E._d.getDay(),null!=E._tzm&&E._d.setUTCMinutes(E._d.getUTCMinutes()-E._tzm),E._nextDay&&(E._a[ci]=24),E._w&&typeof E._w.d<"u"&&E._w.d!==At&&(q(E).weekdayMismatch=!0)}}function rt(E){if(E._f!==e.ISO_8601)if(E._f!==e.RFC_2822){E._a=[],q(E).empty=!0;var ge,Ae,Ye,At,oi,wr,ra,Z=""+E._i,on=Z.length,Bn=0;for(ra=(Ye=Fe(E._f,E._locale).match(Ne)||[]).length,ge=0;ge0&&q(E).unusedInput.push(oi),Z=Z.slice(Z.indexOf(Ae)+Ae.length),Bn+=Ae.length),xt[At]?(Ae?q(E).empty=!1:q(E).unusedTokens.push(At),Be(At,Ae,E)):E._strict&&!Ae&&q(E).unusedTokens.push(At);q(E).charsLeftOver=on-Bn,Z.length>0&&q(E).unusedInput.push(Z),E._a[ci]<=12&&!0===q(E).bigHour&&E._a[ci]>0&&(q(E).bigHour=void 0),q(E).parsedDateParts=E._a.slice(0),q(E).meridiem=E._meridiem,E._a[ci]=function dt(E,Z,ge){var Ae;return null==ge?Z:null!=E.meridiemHour?E.meridiemHour(Z,ge):(null!=E.isPM&&((Ae=E.isPM(ge))&&Z<12&&(Z+=12),!Ae&&12===Z&&(Z=0)),Z)}(E._locale,E._a[ci],E._meridiem),null!==(wr=q(E).era)&&(E._a[pt]=E._locale.erasConvertYear(wr,E._a[pt])),wo(E),ba(E)}else va(E);else Qn(E)}function cn(E){var Z=E._i,ge=E._f;return E._locale=E._locale||Vr(E._l),null===Z||void 0===ge&&""===Z?z({nullInput:!0}):("string"==typeof Z&&(E._i=Z=E._locale.preparse(Z)),$(Z)?new Y(ba(Z)):(P(Z)?E._d=Z:_(ge)?function mt(E){var Z,ge,Ae,Ye,At,oi,on=!1,Bn=E._f.length;if(0===Bn)return q(E).invalidFormat=!0,void(E._d=new Date(NaN));for(Ye=0;Yethis?this:E:z()});function Br(E,Z){var ge,Ae;if(1===Z.length&&_(Z[0])&&(Z=Z[0]),!Z.length)return bi();for(ge=Z[0],Ae=1;Ae=0?new Date(E+400,Z,ge)-rl:new Date(E,Z,ge).valueOf()}function za(E,Z,ge){return E<100&&E>=0?Date.UTC(E+400,Z,ge)-rl:Date.UTC(E,Z,ge)}function hc(E,Z){return Z.erasAbbrRegex(E)}function ts(){var Ye,At,E=[],Z=[],ge=[],Ae=[],oi=this.eras();for(Ye=0,At=oi.length;Ye(At=Wn(E,Ae,Ye))&&(Z=At),Kh.call(this,E,Z,ge,Ae,Ye))}function Kh(E,Z,ge,Ae,Ye){var At=Ri(E,Z,ge,Ae,Ye),oi=Ht(At.year,0,At.dayOfYear);return this.year(oi.getUTCFullYear()),this.month(oi.getUTCMonth()),this.date(oi.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"),_e("N",hc),_e("NN",hc),_e("NNN",hc),_e("NNNN",function vd(E,Z){return Z.erasNameRegex(E)}),_e("NNNNN",function Ls(E,Z){return Z.erasNarrowRegex(E)}),Xe(["N","NN","NNN","NNNN","NNNNN"],function(E,Z,ge,Ae){var Ye=ge._locale.erasParse(E,Ae,ge._strict);Ye?q(ge).era=Ye:q(ge).invalidEra=E}),_e("y",Le),_e("yy",Le),_e("yyy",Le),_e("yyyy",Le),_e("yo",function Ns(E,Z){return Z._eraYearOrdinalRegex||Le}),Xe(["y","yy","yyy","yyyy"],pt),Xe(["yo"],function(E,Z,ge,Ae){var Ye;ge._locale._eraYearOrdinalRegex&&(Ye=E.match(ge._locale._eraYearOrdinalRegex)),Z[pt]=ge._locale.eraYearOrdinalParse?ge._locale.eraYearOrdinalParse(E,Ye):parseInt(E,10)}),lt(0,["gg",2],0,function(){return this.weekYear()%100}),lt(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Rs("gggg","weekYear"),Rs("ggggg","weekYear"),Rs("GGGG","isoWeekYear"),Rs("GGGGG","isoWeekYear"),Ft("weekYear","gg"),Ft("isoWeekYear","GG"),We("weekYear",1),We("isoWeekYear",1),_e("G",et),_e("g",et),_e("GG",ui,bt),_e("gg",ui,bt),_e("GGGG",oe,Oi),_e("gggg",oe,Oi),_e("GGGGG",de,hn),_e("ggggg",de,hn),tt(["gggg","ggggg","GGGG","GGGGG"],function(E,Z,ge,Ae){Z[Ae.substr(0,2)]=Rt(E)}),tt(["gg","GG"],function(E,Z,ge,Ae){Z[Ae]=e.parseTwoDigitYear(E)}),lt("Q",0,"Qo","quarter"),Ft("quarter","Q"),We("quarter",7),_e("Q",Ct),Xe("Q",function(E,Z){Z[Lt]=3*(Rt(E)-1)}),lt("D",["DD",2],"Do","date"),Ft("date","D"),We("date",9),_e("D",ui),_e("DD",ui,bt),_e("Do",function(E,Z){return E?Z._dayOfMonthOrdinalParse||Z._ordinalParse:Z._dayOfMonthOrdinalParseLenient}),Xe(["D","DD"],Jt),Xe("Do",function(E,Z){Z[Jt]=Rt(E.match(ui)[0])});var Xf=ai("Date",!0);lt("DDD",["DDDD",3],"DDDo","dayOfYear"),Ft("dayOfYear","DDD"),We("dayOfYear",4),_e("DDD",Me),_e("DDDD",Bi),Xe(["DDD","DDDD"],function(E,Z,ge){ge._dayOfYear=Rt(E)}),lt("m",["mm",2],0,"minute"),Ft("minute","m"),We("minute",14),_e("m",ui),_e("mm",ui,bt),Xe(["m","mm"],Di);var Zc=ai("Minutes",!1);lt("s",["ss",2],0,"second"),Ft("second","s"),We("second",15),_e("s",ui),_e("ss",ui,bt),Xe(["s","ss"],Wi);var Hr,Uu,Co=ai("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()}),Ft("millisecond","ms"),We("millisecond",16),_e("S",Me,Ct),_e("SS",Me,bt),_e("SSS",Me,Bi),Hr="SSSS";Hr.length<=9;Hr+="S")_e(Hr,Le);function $r(E,Z){Z[fn]=Rt(1e3*("0."+E))}for(Hr="S";Hr.length<=9;Hr+="S")Xe(Hr,$r);Uu=ai("Milliseconds",!1),lt("z",0,0,"zoneAbbr"),lt("zz",0,0,"zoneName");var ki=Y.prototype;function Vc(E){return E}ki.add=Tr,ki.calendar=function Te(E,Z){1===arguments.length&&(arguments[0]?el(arguments[0])?(E=arguments[0],Z=void 0):function oc(E){var Ye,Z=x(E)&&!F(E),ge=!1,Ae=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(Ye=0;Yege.valueOf():ge.valueOf()9999?Bt(ge,Z?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):ae(Date.prototype.toISOString)?Z?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",Bt(ge,"Z")):Bt(ge,Z?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},ki.inspect=function or(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var ge,Ae,E="moment",Z="";return this.isLocal()||(E=0===this.utcOffset()?"moment.utc":"moment.parseZone",Z="Z"),ge="["+E+'("]',Ae=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(ge+Ae+"-MM-DD[T]HH:mm:ss.SSS"+Z+'[")]')},typeof Symbol<"u"&&null!=Symbol.for&&(ki[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ki.toJSON=function Yc(){return this.isValid()?this.toISOString():null},ki.toString=function Hn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},ki.unix=function cc(){return Math.floor(this.valueOf()/1e3)},ki.valueOf=function Bc(){return this._d.valueOf()-6e4*(this._offset||0)},ki.creationData=function Qh(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},ki.eraName=function Xa(){var E,Z,ge,Ae=this.localeData().eras();for(E=0,Z=Ae.length;Ethis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},ki.isLocal=function zt(){return!!this.isValid()&&!this._isUTC},ki.isUtcOffset=function wi(){return!!this.isValid()&&this._isUTC},ki.isUtc=Ai,ki.isUTC=Ai,ki.zoneAbbr=function mc(){return this._isUTC?"UTC":""},ki.zoneName=function Rl(){return this._isUTC?"Coordinated Universal Time":""},ki.dates=te("dates accessor is deprecated. Use date instead.",Xf),ki.months=te("months accessor is deprecated. Use month instead",yn),ki.years=te("years accessor is deprecated. Use year instead",Zi),ki.zone=te("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function me(E,Z){return null!=E?("string"!=typeof E&&(E=-E),this.utcOffset(E,Z),this):-this.utcOffset()}),ki.isDSTShifted=te("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function Ut(){if(!S(this._isDSTShifted))return this._isDSTShifted;var Z,E={};return J(E,this),(E=cn(E))._a?(Z=E._isUTC?L(E._a):bi(E._a),this._isDSTShifted=this.isValid()&&function h(E,Z,ge){var oi,Ae=Math.min(E.length,Z.length),Ye=Math.abs(E.length-Z.length),At=0;for(oi=0;oi0):this._isDSTShifted=!1,this._isDSTShifted});var H=Ue.prototype;function Q(E,Z,ge,Ae){var Ye=Vr(),At=L().set(Ae,Z);return Ye[ge](At,E)}function R(E,Z,ge){if(D(E)&&(Z=E,E=void 0),E=E||"",null!=Z)return Q(E,Z,ge,"month");var Ae,Ye=[];for(Ae=0;Ae<12;Ae++)Ye[Ae]=Q(E,Ae,ge,"month");return Ye}function se(E,Z,ge,Ae){"boolean"==typeof E?(D(Z)&&(ge=Z,Z=void 0),Z=Z||""):(ge=Z=E,E=!1,D(Z)&&(ge=Z,Z=void 0),Z=Z||"");var oi,Ye=Vr(),At=E?Ye._week.dow:0,on=[];if(null!=ge)return Q(Z,(ge+At)%7,Ae,"day");for(oi=0;oi<7;oi++)on[oi]=Q(Z,(oi+At)%7,Ae,"day");return on}H.calendar=function nt(E,Z,ge){var Ae=this._calendar[E]||this._calendar.sameElse;return ae(Ae)?Ae.call(Z,ge):Ae},H.longDateFormat=function Gt(E){var Z=this._longDateFormat[E],ge=this._longDateFormat[E.toUpperCase()];return Z||!ge?Z:(this._longDateFormat[E]=ge.match(Ne).map(function(Ae){return"MMMM"===Ae||"MM"===Ae||"DD"===Ae||"dddd"===Ae?Ae.slice(1):Ae}).join(""),this._longDateFormat[E])},H.invalidDate=function wt(){return this._invalidDate},H.ordinal=function It(E){return this._ordinal.replace("%d",E)},H.preparse=Vc,H.postformat=Vc,H.relativeTime=function pi(E,Z,ge,Ae){var Ye=this._relativeTime[ge];return ae(Ye)?Ye(E,Z,ge,Ae):Ye.replace(/%d/i,E)},H.pastFuture=function Kt(E,Z){var ge=this._relativeTime[E>0?"future":"past"];return ae(ge)?ge(Z):ge.replace(/%s/i,Z)},H.set=function Ee(E){var Z,ge;for(ge in E)k(E,ge)&&(ae(Z=E[ge])?this[ge]=Z:this["_"+ge]=Z);this._config=E,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},H.eras=function dc(E,Z){var ge,Ae,Ye,At=this._eras||Vr("en")._eras;for(ge=0,Ae=At.length;ge=0)return At[Ae]},H.erasConvertYear=function yd(E,Z){var ge=E.since<=E.until?1:-1;return void 0===Z?e(E.since).year():e(E.since).year()+(Z-E.offset)*ge},H.erasAbbrRegex=function Yo(E){return k(this,"_erasAbbrRegex")||ts.call(this),E?this._erasAbbrRegex:this._erasRegex},H.erasNameRegex=function Il(E){return k(this,"_erasNameRegex")||ts.call(this),E?this._erasNameRegex:this._erasRegex},H.erasNarrowRegex=function Ol(E){return k(this,"_erasNarrowRegex")||ts.call(this),E?this._erasNarrowRegex:this._erasRegex},H.months=function bn(E,Z){return E?_(this._months)?this._months[E.month()]:this._months[(this._months.isFormat||er).test(Z)?"format":"standalone"][E.month()]:_(this._months)?this._months:this._months.standalone},H.monthsShort=function hi(E,Z){return E?_(this._monthsShort)?this._monthsShort[E.month()]:this._monthsShort[er.test(Z)?"format":"standalone"][E.month()]:_(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},H.monthsParse=function qn(E,Z,ge){var Ae,Ye,At;if(this._monthsParseExact)return sn.call(this,E,Z,ge);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),Ae=0;Ae<12;Ae++){if(Ye=L([2e3,Ae]),ge&&!this._longMonthsParse[Ae]&&(this._longMonthsParse[Ae]=new RegExp("^"+this.months(Ye,"").replace(".","")+"$","i"),this._shortMonthsParse[Ae]=new RegExp("^"+this.monthsShort(Ye,"").replace(".","")+"$","i")),!ge&&!this._monthsParse[Ae]&&(At="^"+this.months(Ye,"")+"|^"+this.monthsShort(Ye,""),this._monthsParse[Ae]=new RegExp(At.replace(".",""),"i")),ge&&"MMMM"===Z&&this._longMonthsParse[Ae].test(E))return Ae;if(ge&&"MMM"===Z&&this._shortMonthsParse[Ae].test(E))return Ae;if(!ge&&this._monthsParse[Ae].test(E))return Ae}},H.monthsRegex=function Vi(E){return this._monthsParseExact?(k(this,"_monthsRegex")||zi.call(this),E?this._monthsStrictRegex:this._monthsRegex):(k(this,"_monthsRegex")||(this._monthsRegex=$i),this._monthsStrictRegex&&E?this._monthsStrictRegex:this._monthsRegex)},H.monthsShortRegex=function la(E){return this._monthsParseExact?(k(this,"_monthsRegex")||zi.call(this),E?this._monthsShortStrictRegex:this._monthsShortRegex):(k(this,"_monthsShortRegex")||(this._monthsShortRegex=Ta),this._monthsShortStrictRegex&&E?this._monthsShortStrictRegex:this._monthsShortRegex)},H.week=function ea(E){return In(E,this._week.dow,this._week.doy).week},H.firstDayOfYear=function Ei(){return this._week.doy},H.firstDayOfWeek=function Wr(){return this._week.dow},H.weekdays=function Qa(E,Z){var ge=_(this._weekdays)?this._weekdays:this._weekdays[E&&!0!==E&&this._weekdays.isFormat.test(Z)?"format":"standalone"];return!0===E?kr(ge,this._week.dow):E?ge[E.day()]:ge},H.weekdaysMin=function Rn(E){return!0===E?kr(this._weekdaysMin,this._week.dow):E?this._weekdaysMin[E.day()]:this._weekdaysMin},H.weekdaysShort=function nn(E){return!0===E?kr(this._weekdaysShort,this._week.dow):E?this._weekdaysShort[E.day()]:this._weekdaysShort},H.weekdaysParse=function So(E,Z,ge){var Ae,Ye,At;if(this._weekdaysParseExact)return da.call(this,E,Z,ge);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),Ae=0;Ae<7;Ae++){if(Ye=L([2e3,1]).day(Ae),ge&&!this._fullWeekdaysParse[Ae]&&(this._fullWeekdaysParse[Ae]=new RegExp("^"+this.weekdays(Ye,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[Ae]=new RegExp("^"+this.weekdaysShort(Ye,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[Ae]=new RegExp("^"+this.weekdaysMin(Ye,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[Ae]||(At="^"+this.weekdays(Ye,"")+"|^"+this.weekdaysShort(Ye,"")+"|^"+this.weekdaysMin(Ye,""),this._weekdaysParse[Ae]=new RegExp(At.replace(".",""),"i")),ge&&"dddd"===Z&&this._fullWeekdaysParse[Ae].test(E))return Ae;if(ge&&"ddd"===Z&&this._shortWeekdaysParse[Ae].test(E))return Ae;if(ge&&"dd"===Z&&this._minWeekdaysParse[Ae].test(E))return Ae;if(!ge&&this._weekdaysParse[Ae].test(E))return Ae}},H.weekdaysRegex=function go(E){return this._weekdaysParseExact?(k(this,"_weekdaysRegex")||Ja.call(this),E?this._weekdaysStrictRegex:this._weekdaysRegex):(k(this,"_weekdaysRegex")||(this._weekdaysRegex=Er),this._weekdaysStrictRegex&&E?this._weekdaysStrictRegex:this._weekdaysRegex)},H.weekdaysShortRegex=function ps(E){return this._weekdaysParseExact?(k(this,"_weekdaysRegex")||Ja.call(this),E?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(k(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ir),this._weekdaysShortStrictRegex&&E?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},H.weekdaysMinRegex=function co(E){return this._weekdaysParseExact?(k(this,"_weekdaysRegex")||Ja.call(this),E?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(k(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Qi),this._weekdaysMinStrictRegex&&E?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},H.isPM=function Za(E){return"p"===(E+"").toLowerCase().charAt(0)},H.meridiem=function bo(E,Z,ge){return E>11?ge?"pm":"PM":ge?"am":"AM"},_a("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 Z=E%10;return E+(1===Rt(E%100/10)?"th":1===Z?"st":2===Z?"nd":3===Z?"rd":"th")}}),e.lang=te("moment.lang is deprecated. Use moment.locale instead.",_a),e.langData=te("moment.langData is deprecated. Use moment.localeData instead.",Vr);var Li=Math.abs;function $n(E,Z,ge,Ae){var Ye=dn(Z,ge);return E._milliseconds+=Ae*Ye._milliseconds,E._days+=Ae*Ye._days,E._months+=Ae*Ye._months,E._bubble()}function ko(E){return E<0?Math.floor(E):Math.ceil(E)}function Fa(E){return 4800*E/146097}function fc(E){return 146097*E/4800}function gn(E){return function(){return this.as(E)}}var rs=gn("ms"),Ur=gn("s"),as=gn("m"),No=gn("h"),al=gn("d"),pc=gn("w"),Mr=gn("M"),wd=gn("Q"),xd=gn("y");function ys(E){return function(){return this.isValid()?this._data[E]:NaN}}var d0=ys("milliseconds"),Fd=ys("seconds"),sl=ys("minutes"),u0=ys("hours"),$h=ys("days"),Xh=ys("months"),ep=ys("years");var os=Math.round,Ps={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function em(E,Z,ge,Ae,Ye){return Ye.relativeTime(Z||1,!!ge,E,Ae)}var Pl=Math.abs;function ll(E){return(E>0)-(E<0)||+E}function im(){if(!this.isValid())return this.localeData().invalidDate();var Ae,Ye,At,oi,Bn,wr,ra,to,E=Pl(this._milliseconds)/1e3,Z=Pl(this._days),ge=Pl(this._months),on=this.asSeconds();return on?(Ae=Ot(E/60),Ye=Ot(Ae/60),E%=60,Ae%=60,At=Ot(ge/12),ge%=12,oi=E?E.toFixed(3).replace(/\.?0+$/,""):"",Bn=on<0?"-":"",wr=ll(this._months)!==ll(on)?"-":"",ra=ll(this._days)!==ll(on)?"-":"",to=ll(this._milliseconds)!==ll(on)?"-":"",Bn+"P"+(At?wr+At+"Y":"")+(ge?wr+ge+"M":"")+(Z?ra+Z+"D":"")+(Ye||Ae||E?"T":"")+(Ye?to+Ye+"H":"")+(Ae?to+Ae+"M":"")+(E?to+oi+"S":"")):"P0D"}var Xn=K.prototype;return Xn.isValid=function Pn(){return this._isValid},Xn.abs=function Yi(){var E=this._data;return this._milliseconds=Li(this._milliseconds),this._days=Li(this._days),this._months=Li(this._months),E.milliseconds=Li(E.milliseconds),E.seconds=Li(E.seconds),E.minutes=Li(E.minutes),E.hours=Li(E.hours),E.months=Li(E.months),E.years=Li(E.years),this},Xn.add=function ua(E,Z){return $n(this,E,Z,1)},Xn.subtract=function _s(E,Z){return $n(this,E,Z,-1)},Xn.as=function ns(E){if(!this.isValid())return NaN;var Z,ge,Ae=this._milliseconds;if("month"===(E=xe(E))||"quarter"===E||"year"===E)switch(Z=this._days+Ae/864e5,ge=this._months+Fa(Z),E){case"month":return ge;case"quarter":return ge/3;case"year":return ge/12}else switch(Z=this._days+Math.round(fc(this._months)),E){case"week":return Z/7+Ae/6048e5;case"day":return Z+Ae/864e5;case"hour":return 24*Z+Ae/36e5;case"minute":return 1440*Z+Ae/6e4;case"second":return 86400*Z+Ae/1e3;case"millisecond":return Math.floor(864e5*Z)+Ae;default:throw new Error("Unknown unit "+E)}},Xn.asMilliseconds=rs,Xn.asSeconds=Ur,Xn.asMinutes=as,Xn.asHours=No,Xn.asDays=al,Xn.asWeeks=pc,Xn.asMonths=Mr,Xn.asQuarters=wd,Xn.asYears=xd,Xn.valueOf=function _r(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*Rt(this._months/12):NaN},Xn._bubble=function bs(){var Ye,At,oi,on,Bn,E=this._milliseconds,Z=this._days,ge=this._months,Ae=this._data;return E>=0&&Z>=0&&ge>=0||E<=0&&Z<=0&&ge<=0||(E+=864e5*ko(fc(ge)+Z),Z=0,ge=0),Ae.milliseconds=E%1e3,Ye=Ot(E/1e3),Ae.seconds=Ye%60,At=Ot(Ye/60),Ae.minutes=At%60,oi=Ot(At/60),Ae.hours=oi%24,Z+=Ot(oi/24),ge+=Bn=Ot(Fa(Z)),Z-=ko(fc(Bn)),on=Ot(ge/12),ge%=12,Ae.days=Z,Ae.months=ge,Ae.years=on,this},Xn.clone=function gc(){return dn(this)},Xn.get=function ol(E){return E=xe(E),this.isValid()?this[E+"s"]():NaN},Xn.milliseconds=d0,Xn.seconds=Fd,Xn.minutes=sl,Xn.hours=u0,Xn.days=$h,Xn.weeks=function ju(){return Ot(this.days()/7)},Xn.months=Xh,Xn.years=ep,Xn.humanize=function tp(E,Z){if(!this.isValid())return this.localeData().invalidDate();var Ye,At,ge=!1,Ae=Ps;return"object"==typeof E&&(Z=E,E=!1),"boolean"==typeof E&&(ge=E),"object"==typeof Z&&(Ae=Object.assign({},Ps,Z),null!=Z.s&&null==Z.ss&&(Ae.ss=Z.s-1)),At=function Cd(E,Z,ge,Ae){var Ye=dn(E).abs(),At=os(Ye.as("s")),oi=os(Ye.as("m")),on=os(Ye.as("h")),Bn=os(Ye.as("d")),wr=os(Ye.as("M")),ra=os(Ye.as("w")),to=os(Ye.as("y")),Pa=At<=ge.ss&&["s",At]||At0,Pa[4]=Ae,em.apply(null,Pa)}(this,!ge,Ae,Ye=this.localeData()),ge&&(At=Ye.pastFuture(+this,At)),Ye.postformat(At)},Xn.toISOString=im,Xn.toString=im,Xn.toJSON=im,Xn.locale=mo,Xn.localeData=Is,Xn.toIsoString=te("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",im),Xn.lang=il,lt("X",0,0,"unix"),lt("x",0,0,"valueOf"),_e("x",et),_e("X",/[+-]?\d+(\.\d{1,3})?/),Xe("X",function(E,Z,ge){ge._d=new Date(1e3*parseFloat(E))}),Xe("x",function(E,Z,ge){ge._d=new Date(Rt(E))}),e.version="2.29.4",function g(E){f=E}(bi),e.fn=ki,e.min=function Yr(){return Br("isBefore",[].slice.call(arguments,0))},e.max=function ar(){return Br("isAfter",[].slice.call(arguments,0))},e.now=function(){return Date.now?Date.now():+new Date},e.utc=L,e.unix=function eo(E){return bi(1e3*E)},e.months=function we(E,Z){return R(E,Z,"months")},e.isDate=P,e.locale=_a,e.invalid=z,e.duration=dn,e.isMoment=$,e.weekdays=function qe(E,Z,ge){return se(E,Z,ge,"weekdays")},e.parseZone=function is(){return bi.apply(null,arguments).parseZone()},e.localeData=Vr,e.isDuration=c,e.monthsShort=function He(E,Z){return R(E,Z,"monthsShort")},e.weekdaysMin=function ri(E,Z,ge){return se(E,Z,ge,"weekdaysMin")},e.defineLocale=Oo,e.updateLocale=function yo(E,Z){if(null!=Z){var ge,Ae,Ye=Va;null!=an[E]&&null!=an[E].parentLocale?an[E].set(ke(an[E]._config,Z)):(null!=(Ae=dr(E))&&(Ye=Ae._config),Z=ke(Ye,Z),null==Ae&&(Z.abbr=E),(ge=new Ue(Z)).parentLocale=an[E],an[E]=ge),_a(E)}else null!=an[E]&&(null!=an[E].parentLocale?(an[E]=an[E].parentLocale,E===_a()&&_a(E)):null!=an[E]&&delete an[E]);return an[E]},e.locales=function Nr(){return Ke(an)},e.weekdaysShort=function Nt(E,Z,ge){return se(E,Z,ge,"weekdaysShort")},e.normalizeUnits=xe,e.relativeTimeRounding=function tm(E){return void 0===E?os:"function"==typeof E&&(os=E,!0)},e.relativeTimeThreshold=function kd(E,Z){return void 0!==Ps[E]&&(void 0===Z?Ps[E]:(Ps[E]=Z,"s"===E&&(Ps.ss=Z-1),!0))},e.calendarFormat=function re(E,Z){var ge=E.diff(Z,"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:(Ie,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,S=x&&Set.prototype.forEach,P="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,I="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,ne="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,q=Boolean.prototype.valueOf,ee=Object.prototype.toString,U=Function.prototype.toString,z=String.prototype.match,ue=String.prototype.slice,he=String.prototype.replace,J=String.prototype.toUpperCase,Y=String.prototype.toLowerCase,$=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,Ee=Object.getOwnPropertySymbols,ke="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,Ue="function"==typeof Symbol&&"object"==typeof Symbol.iterator,Ke="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol,1)?Symbol.toStringTag:null,Oe=Object.prototype.propertyIsEnumerable,nt=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(Ct){return Ct.__proto__}:null);function Ce(Ct,bt){if(Ct===1/0||Ct===-1/0||Ct!=Ct||Ct&&Ct>-1e3&&Ct<1e3||$.call(/e/,bt))return bt;var Bi=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof Ct){var Oi=Ct<0?-pe(-Ct):pe(Ct);if(Oi!==Ct){var hn=String(Oi),ui=ue.call(bt,hn.length+1);return he.call(hn,Bi,"$&_")+"."+he.call(he.call(ui,/([0-9]{3})/g,"$&_"),/_$/,"")}}return he.call(bt,Bi,"$&_")}var Ne=y(4654),ot=Ne.custom,Ge=wt(ot)?ot:null;function xt(Ct,bt,Bi){var Oi="double"===(Bi.quoteStyle||bt)?'"':"'";return Oi+Ct+Oi}function lt(Ct){return he.call(String(Ct),/"/g,""")}function Qe(Ct){return!("[object Array]"!==ii(Ct)||Ke&&"object"==typeof Ct&&Ke in Ct)}function Bt(Ct){return!("[object RegExp]"!==ii(Ct)||Ke&&"object"==typeof Ct&&Ke in Ct)}function wt(Ct){if(Ue)return Ct&&"object"==typeof Ct&&Ct instanceof Symbol;if("symbol"==typeof Ct)return!0;if(!Ct||"object"!=typeof Ct||!ke)return!1;try{return ke.call(Ct),!0}catch{}return!1}Ie.exports=function Ct(bt,Bi,Oi,hn){var ui=Bi||{};if(It(ui,"quoteStyle")&&"single"!==ui.quoteStyle&&"double"!==ui.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(It(ui,"maxStringLength")&&("number"==typeof ui.maxStringLength?ui.maxStringLength<0&&ui.maxStringLength!==1/0:null!==ui.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var mn=!It(ui,"customInspect")||ui.customInspect;if("boolean"!=typeof mn&&"symbol"!==mn)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(It(ui,"indent")&&null!==ui.indent&&"\t"!==ui.indent&&!(parseInt(ui.indent,10)===ui.indent&&ui.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(It(ui,"numericSeparator")&&"boolean"!=typeof ui.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var kt=ui.numericSeparator;if(typeof bt>"u")return"undefined";if(null===bt)return"null";if("boolean"==typeof bt)return bt?"true":"false";if("string"==typeof bt)return ft(bt,ui);if("number"==typeof bt){if(0===bt)return 1/0/bt>0?"0":"-0";var Me=String(bt);return kt?Ce(bt,Me):Me}if("bigint"==typeof bt){var oe=String(bt)+"n";return kt?Ce(bt,oe):oe}var de=typeof ui.depth>"u"?5:ui.depth;if(typeof Oi>"u"&&(Oi=0),Oi>=de&&de>0&&"object"==typeof bt)return Qe(bt)?"[Array]":"[Object]";var Le=function vi(Ct,bt){var Bi;if("\t"===Ct.indent)Bi="\t";else{if(!("number"==typeof Ct.indent&&Ct.indent>0))return null;Bi=te.call(Array(Ct.indent+1)," ")}return{base:Bi,prev:te.call(Array(bt+1),Bi)}}(ui,Oi);if(typeof hn>"u")hn=[];else if(Kt(hn,bt)>=0)return"[Circular]";function et(ci,Di,Wi){if(Di&&(hn=le.call(hn)).push(Di),Wi){var fn={depth:ui.depth};return It(ui,"quoteStyle")&&(fn.quoteStyle=ui.quoteStyle),Ct(ci,fn,Oi+1,hn)}return Ct(ci,ui,Oi+1,hn)}if("function"==typeof bt&&!Bt(bt)){var Et=function pi(Ct){if(Ct.name)return Ct.name;var bt=z.call(U.call(Ct),/^function\s*([\w$]+)/);return bt?bt[1]:null}(bt),gi=tn(bt,et);return"[Function"+(Et?": "+Et:" (anonymous)")+"]"+(gi.length>0?" { "+te.call(gi,", ")+" }":"")}if(wt(bt)){var Ni=Ue?he.call(String(bt),/^(Symbol\(.*\))_[^)]*$/,"$1"):ke.call(bt);return"object"!=typeof bt||Ue?Ni:Ot(Ni)}if(function We(Ct){return!(!Ct||"object"!=typeof Ct)&&(typeof HTMLElement<"u"&&Ct instanceof HTMLElement||"string"==typeof Ct.nodeName&&"function"==typeof Ct.getAttribute)}(bt)){for(var Zt="<"+Y.call(String(bt.nodeName)),ji=bt.attributes||[],_e=0;_e"}if(Qe(bt)){if(0===bt.length)return"[]";var Re=tn(bt,et);return Le&&!function fi(Ct){for(var bt=0;bt=0)return!1;return!0}(Re)?"["+ti(Re,Le)+"]":"[ "+te.call(Re,", ")+" ]"}if(function Fe(Ct){return!("[object Error]"!==ii(Ct)||Ke&&"object"==typeof Ct&&Ke in Ct)}(bt)){var $e=tn(bt,et);return"cause"in Error.prototype||!("cause"in bt)||Oe.call(bt,"cause")?0===$e.length?"["+String(bt)+"]":"{ ["+String(bt)+"] "+te.call($e,", ")+" }":"{ ["+String(bt)+"] "+te.call(ie.call("[cause]: "+et(bt.cause),$e),", ")+" }"}if("object"==typeof bt&&mn){if(Ge&&"function"==typeof bt[Ge]&&Ne)return Ne(bt,{depth:de-Oi});if("symbol"!==mn&&"function"==typeof bt.inspect)return bt.inspect()}if(function qt(Ct){if(!g||!Ct||"object"!=typeof Ct)return!1;try{g.call(Ct);try{F.call(Ct)}catch{return!0}return Ct instanceof Map}catch{}return!1}(bt)){var Je=[];return _.call(bt,function(ci,Di){Je.push(et(Di,bt,!0)+" => "+et(ci,bt))}),ai("Map",g.call(bt),Je,Le)}if(function Pe(Ct){if(!F||!Ct||"object"!=typeof Ct)return!1;try{F.call(Ct);try{g.call(Ct)}catch{return!0}return Ct instanceof Set}catch{}return!1}(bt)){var St=[];return S.call(bt,function(ci){St.push(et(ci,bt))}),ai("Set",F.call(bt),St,Le)}if(function Ft(Ct){if(!P||!Ct||"object"!=typeof Ct)return!1;try{P.call(Ct,P);try{I.call(Ct,I)}catch{return!0}return Ct instanceof WeakMap}catch{}return!1}(bt))return Rt("WeakMap");if(function ye(Ct){if(!I||!Ct||"object"!=typeof Ct)return!1;try{I.call(Ct,I);try{P.call(Ct,P)}catch{return!0}return Ct instanceof WeakSet}catch{}return!1}(bt))return Rt("WeakSet");if(function xe(Ct){if(!ne||!Ct||"object"!=typeof Ct)return!1;try{return ne.call(Ct),!0}catch{}return!1}(bt))return Rt("WeakRef");if(function Gt(Ct){return!("[object Number]"!==ii(Ct)||Ke&&"object"==typeof Ct&&Ke in Ct)}(bt))return Ot(et(Number(bt)));if(function ht(Ct){if(!Ct||"object"!=typeof Ct||!ae)return!1;try{return ae.call(Ct),!0}catch{}return!1}(bt))return Ot(et(ae.call(bt)));if(function Mt(Ct){return!("[object Boolean]"!==ii(Ct)||Ke&&"object"==typeof Ct&&Ke in Ct)}(bt))return Ot(q.call(bt));if(function st(Ct){return!("[object String]"!==ii(Ct)||Ke&&"object"==typeof Ct&&Ke in Ct)}(bt))return Ot(et(String(bt)));if(!function Qt(Ct){return!("[object Date]"!==ii(Ct)||Ke&&"object"==typeof Ct&&Ke in Ct)}(bt)&&!Bt(bt)){var Xe=tn(bt,et),tt=nt?nt(bt)===Object.prototype:bt instanceof Object||bt.constructor===Object,Be=bt instanceof Object?"":"null prototype",pt=!tt&&Ke&&Object(bt)===bt&&Ke in bt?ue.call(ii(bt),8,-1):Be?"Object":"",Jt=(tt||"function"!=typeof bt.constructor?"":bt.constructor.name?bt.constructor.name+" ":"")+(pt||Be?"["+te.call(ie.call([],pt||[],Be||[]),": ")+"] ":"");return 0===Xe.length?Jt+"{}":Le?Jt+"{"+ti(Xe,Le)+"}":Jt+"{ "+te.call(Xe,", ")+" }"}return String(bt)};var at=Object.prototype.hasOwnProperty||function(Ct){return Ct in this};function It(Ct,bt){return at.call(Ct,bt)}function ii(Ct){return ee.call(Ct)}function Kt(Ct,bt){if(Ct.indexOf)return Ct.indexOf(bt);for(var Bi=0,Oi=Ct.length;Bibt.maxStringLength){var Bi=Ct.length-bt.maxStringLength,Oi="... "+Bi+" more character"+(Bi>1?"s":"");return ft(ue.call(Ct,0,bt.maxStringLength),bt)+Oi}return xt(he.call(he.call(Ct,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,gt),"single",bt)}function gt(Ct){var bt=Ct.charCodeAt(0),Bi={8:"b",9:"t",10:"n",12:"f",13:"r"}[bt];return Bi?"\\"+Bi:"\\x"+(bt<16?"0":"")+J.call(bt.toString(16))}function Ot(Ct){return"Object("+Ct+")"}function Rt(Ct){return Ct+" { ? }"}function ai(Ct,bt,Bi,Oi){return Ct+" ("+bt+") {"+(Oi?ti(Bi,Oi):te.call(Bi,", "))+"}"}function ti(Ct,bt){if(0===Ct.length)return"";var Bi="\n"+bt.prev+bt.base;return Bi+te.call(Ct,","+Bi)+"\n"+bt.prev}function tn(Ct,bt){var Bi=Qe(Ct),Oi=[];if(Bi){Oi.length=Ct.length;for(var hn=0;hn=k)return ue;L=x(D),ne=[],","===L.slice(-1)?(L=L.replace(P,""),J()):he()}function he(){for(x(F),q="",ee="in descriptor";;){if(U=g.charAt(z),"in descriptor"===ee)if(_(U))q&&(ne.push(q),q="",ee="after descriptor");else{if(","===U)return z+=1,q&&ne.push(q),void J();if("("===U)q+=U,ee="in parens";else{if(""===U)return q&&ne.push(q),void J();q+=U}}else if("in parens"===ee)if(")"===U)q+=U,ee="in descriptor";else{if(""===U)return ne.push(q),void J();q+=U}else if("after descriptor"===ee&&!_(U)){if(""===U)return void J();ee="in descriptor",z-=1}z+=1}}function J(){var $,ie,te,le,ae,Ee,ke,Ue,Ke,Y=!1,pe={};for(le=0;le-1&&(ii.onTap(),Kt=!0);Kt&&(at.stopPropagation&&at.stopPropagation(),le=!0,setTimeout(function(){le=!1},x.features.isOldAndroid?600:30))},ke=function(at,It,ii){x[(ii?"add":"remove")+"Class"](at,"pswp__"+It)},Ue=function(){var at=1===ie.getNumItemsFn();at!==$&&(ke(P,"ui--one-slide",at),$=at)},Ke=function(){ke(q,"share-modal--hidden",ee)},Oe=function(){return(ee=!ee)?(x.removeClass(q,"pswp__share-modal--fade-in"),setTimeout(function(){ee&&Ke()},300)):(Ke(),setTimeout(function(){ee||x.addClass(q,"pswp__share-modal--fade-in")},30)),ee||Ce(),!1},nt=function(at){var It=(at=at||window.event).target||at.srcElement;return _.shout("shareLinkClick",at,It),!(!It.href||!It.hasAttribute("download")&&(window.open(It.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)),ee||Oe(),1))},Ce=function(){for(var It,pi,Kt,qt,at="",Ft=0;Ft