PageSourceSearch

https://www.ottonova.de/web-app/main.82fe77301858447b.js

js ottonova.de collected 2026-09-25 19:17:24 UTC 2,694,404 bytes, 4 lines download raw bytes

1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="59f98ad5-8a43-557a-86aa-8f5621f7f78f")}catch(e){}}();
3(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[792],{22332:(st,Q,g)=>{"use strict";g.d(Q,{m:()=>R});var a=g(94485),h=g(58527),H=g(21252),z=g(6663),P=g(80489),C=g(8682),B=g(40058),_=g(48181),q=g(69131);const A_CHAT_PENDING_de="Vielen Dank f\xfcr deine Nachricht. Ein Mitarbeiter wird sich sobald wie m\xf6glich mit dir in Verbindung setzen";var X=g(43834);let R=(()=>{class ne extends _.T{unreadConversations=new Set;apiUrlsService=(0,h.WQX)(q.k);http=(0,h.WQX)(a.Qq);WELCOME_MESSAGE_DELAY=1500;initConversationWithTextMessage(_e,le){return this.initConversation(_e,le).pipe((0,H.M)(Re=>{this.store.dispatch(new C.Ki(Re)),this.sendTextMessage({content:_e})}))}initConversationWithDocument(_e,le){return this.initConversation(_e.content,le).pipe((0,H.M)(Re=>{this.store.dispatch(new C.Ki(Re)),this.sendDocumentMessage(_e)}))}reopenConversation(_e){const le=this.apiUrlsService.reopenConversation(_e);this.http.post(le,{}).subscribe(Re=>{this.store.dispatch(new C.yf(Re)),this.store.dispatch(new C.qS)})}getChatAgentsAvailability(){const _e=this.apiUrlsService.chatAgentsAvailable();return this.http.get(_e).pipe((0,z.T)(({available:le})=>le))}setUnreadChatMessages(){return this.unreadConversations.clear(),(0,P.p)({unreadMessagesCount:this.getUnreadMessagesCount(!1),unreadArchivedMessagesCount:this.getUnreadMessagesCount(!0)})}getUnreadMessagesCount(_e){const le=_e?this.apiUrlsService.getUnreadArchivedChatMessages():this.apiUrlsService.getUnreadChatMessages();return this.http.get(le).pipe((0,H.M)(({conversations:Re})=>Re.forEach(({conversationId:Le})=>this.unreadConversations.add(Le))),(0,z.T)(({totalUnreadCount:Re})=>Re))}initConversation(_e,le){return this.socketService.emit$(X.y.INIT_CONVERSATION,{message:_e,name:le.display_name,email:le.contact.email,profileId:le.profile_id}).pipe((0,H.M)(Re=>{setTimeout(()=>this.dispatchWelcomeMessage(Re.conversationId),this.WELCOME_MESSAGE_DELAY)}))}dispatchWelcomeMessage(_e){_e===this.conversationId()&&this.store.dispatch(new B.tn({conversationId:_e,data:{content:A_CHAT_PENDING_de}}))}static \u0275fac=(()=>{let _e;return function(Re){return(_e||(_e=h.xGo(ne)))(Re||ne)}})();static \u0275prov=h.jDH({token:ne,factory:ne.\u0275fac})}return ne})()},43834:(st,Q,g)=>{"use strict";g.d(Q,{y:()=>h});const h={...g(84638).y,INIT_CONVERSATION:"INIT_CONVERSATION",CONVERSATION_CREATED:"CONVERSATION_CREATED"}},48219:(st,Q,g)=>{"use strict";g.d(Q,{D:()=>Re});var a=g(94485),h=g(58527),H=g(22380),z=g(66990),P=g(51376),C=g(61177),B=g(52713),_=g(78374),q=g(60494),A=g(15463),X=g(6663),R=g(17796),ne=g(80489),se=g(69131);const _e={Submitted:P.WtB.Submitted,SentToAnalyzer:P.WtB.Submitted,AvailableInAnalyzer:P.WtB.Submitted,AnalysisFinished:P.WtB.InReview,SentToProcessManager:P.WtB.InReview,AvailableInProcessManager:P.WtB.InReview,ReadyForVisualCheck:P.WtB.InReview,InProcessing:P.WtB.InReview,OnHold:P.WtB.InReview,Done:P.WtB.Done,Archived:P.WtB.Done};var le=g(47906);let Re=(()=>{class Le{static getLabrDetails(xe=[],Te,Ne){if(Ne.type!==P.Q9W.STATEMENT||!xe.length)return;const he=xe.find(Me=>Me.resolution_document_details&&Me.resolution_documents?.includes(Ne.uuid));if(he){const Me=Te.filter(yt=>he.resolution_documents?.includes(yt.uuid));if(Me[Me.length-1].uuid===Ne.uuid)return he.resolution_document_details}}static getDocumentStatus(xe,Te){switch(!0){case null==xe[Te]:return null;case-1!==xe[Te].indexOf(P.WtB.InReview):return P.WtB.InReview;case-1!==xe[Te].indexOf(P.WtB.Submitted):return P.WtB.Submitted;case-1!==xe[Te].indexOf(P.WtB.Done):return P.WtB.Done;default:return null}}static getFiltersParams(xe={}){let Te=new a.Nl;return xe.tags?.length&&(Te=Te.set("type_lists",xe.tags.toString())),xe.dateRange&&(Te=Te.set("from",xe.dateRange.from),Te=Te.set("to",xe.dateRange.to)),xe.documentIds&&(Te=Te.set("document_ids",xe.documentIds.join(","))),Te}http=(0,h.WQX)(a.Qq);apiUrlsService=(0,h.WQX)(se.k);logService=(0,h.WQX)(C.Kc);alertService=(0,h.WQX)(H.uE);documentStore=(0,h.WQX)(B.il);apiUrl=(0,h.WQX)(z.rA);
3getThumbnail(xe,Te){const Ne=this.apiUrlsService.documentThumbnail(Te,xe.uuid);return this.http.get(Ne,{responseType:"arraybuffer"})}getAggregatePdfUrl(xe,Te){return this.apiUrlsService.aggregatePdf(Te,xe.uuid)}requestDocuments(xe,Te){const Ne=this.apiUrlsService.documents(xe);let he=new a.Nl;return Te?.document_ids?.length&&(he=he.set("document_ids",String(Te.document_ids))),this.http.get(Ne,{params:he}).pipe((0,_.s)(1),(0,q.W)(Me=>(this.handleFetchDocumentsError(Me,xe),(0,A.$)(()=>Me))))}loadUnreadDocumentsCount(xe){const Te=this.apiUrlsService.unreadDocumentsCount(xe);this.http.get(Te).subscribe(({unread_documents_count:Ne})=>this.documentStore.dispatch((0,le.tc)({unreadDocumentsCount:Ne})))}toggleMarkAsPaid(xe,Te,Ne){const he=this.apiUrlsService.markAsPaid(xe,Te);return Ne?this.http.put(he,{}):this.http.delete(he)}markDocumentAsRead(xe,Te){const Ne=this.apiUrlsService.markDocumentAsRead(xe,Te);return this.http.put(Ne,{})}checkIfStatementSettlementFeedbackExists(xe,Te){const Ne=`${this.apiUrl}/customer/customer/profiles/${xe}/feedbacks`,he=(new a.Nl).set("type","claim_settlement_days").set("document_id",Te);return this.http.head(Ne,{params:he}).pipe((0,X.T)(()=>!0),(0,q.W)(Me=>(0,R.of)(Me.status!==a.kG.NotFound)))}requestDocumentsWithClaims(xe,Te){const Ne=this.apiUrlsService.documents(xe),he=this.apiUrlsService.claims(xe);return(0,ne.p)({documents:this.http.get(Ne,{params:Le.getFiltersParams(Te)}).pipe((0,_.s)(1),(0,q.W)(Me=>(this.handleFetchDocumentsError(Me,xe),(0,A.$)(()=>Me)))),claims:this.http.get(he).pipe((0,_.s)(1),(0,q.W)(Me=>(this.handleFetchClaimsError(Me,xe),(0,R.of)([]))))})}getDocumentsData(xe,Te){const Ne=this.getDocumentsStatuses(Te),he=Te.filter(Se=>Se.resolution_document_details),Me=xe.filter(Se=>Se.type===P.Q9W.STATEMENT);let ct=0;return{documentsWithClaims:xe.map(Se=>(Se.read||(ct+=1),{...Se,status:Le.getDocumentStatus(Ne,Se.uuid),labrDetails:Le.getLabrDetails(he,Me,Se)})),unreadDocumentsCount:ct}}getDocumentsStatuses(xe){const Te={};return xe.forEach(({initiating_document_id:Ne,status:he})=>{_e[he]&&(Te[Ne]?Te[Ne].push(_e[he]):Te[Ne]=[_e[he]])}),Te}handleFetchDocumentsError(xe,Te){this.logService.error(`[DocumentService] Failed to load customer documents for profileId "${Te}"`,xe),this.alertService.error("Deine Dokumente konnten leider nicht geladen werden. Bitte versuche es erneut oder wende dich an unseren Kundenservice.")}handleFetchClaimsError(xe,Te){this.logService.error(`[DocumentService] Failed to load customer claims for profileId "${Te}"`,xe)}static \u0275fac=function(Te){return new(Te||Le)};static \u0275prov=h.jDH({token:Le,factory:Le.\u0275fac})}return Le})()},47906:(st,Q,g)=>{"use strict";g.d(Q,{Iv:()=>A,M0:()=>ne,P_:()=>z,QM:()=>P,WF:()=>C,dl:()=>_,kN:()=>B,lU:()=>R,p$:()=>H,tc:()=>X,xY:()=>q});var a=g(52713),h=function(se){return se.LoadingDocuments="[WebApp][Documents] Loading documents",se.FetchDocuments="[WebApp][Documents] Fetch documents",se.FetchDocumentsFailed="[WebApp][Documents] Fetch documents failed",se.ProcessDocuments="[WebApp][Documents] Process documents",se.FetchTimelineEventDocuments="[WebApp][Documents] Fetch timeline events documents",se.ProcessTimelineEventDocuments="[WebApp][Documents] Process timeline event documents",se.ResetTimelineEventDocuments="[WebApp][Documents] Reset timeline event documents",se.UpdateShowedConfettiDocumentId="[WebApp][Documents] Update showed confetti document id",se.SetUnreadDocumentsCount="[WebApp][Documents] Set unread documents count",se.UpdateDocument="[WebApp][Documents] Update document",se.PrependNewDocument="[WebApp][Documents] Prepend new document",se.DocumentUpdatePaidStatus="[WebApp][Documents] Document update paid status",se}(h||{});const H=(0,a.VP)(h.LoadingDocuments,(0,a.xk)()),z=(0,a.VP)(h.FetchDocuments,(0,a.xk)()),P=(0,a.VP)(h.FetchDocumentsFailed,(0,a.xk)()),C=(0,a.VP)(h.FetchTimelineEventDocuments,(0,a.xk)()),B=(0,a.VP)(h.ProcessDocuments,(0,a.xk)()),_=(0,a.VP)(h.ProcessTimelineEventDocuments,(0,a.xk)()),q=(0,a.VP)(h.ResetTimelineEventDocuments),A=(0,a.VP)(h.UpdateShowedConfettiDocumentId,(0,a.xk)()),X=(0,a.VP)(h.SetUnreadDocumentsCount,(0,a.xk)()),R=(0,a.VP)(h.UpdateDocument,(0,a.xk)()),ne=(0,a.VP)(h.PrependNewDocument,(0,a.xk)())},64959:(st,Q,g)=>{"use strict";g.d(Q,{i:()=>q});var a=g(58527),h=g(74150),H=g(23818),z=g(66990),P=g(51376),C=g(51335);
3function B(A,X){if(1&A){const R=a.RV6();a.j41(0,"frontend-default-modal",2),a.bIt("onDismissClick",function(){a.eBV(R);const se=a.XpG();return a.Njj(se.refuse())})("onSubmitClick",function(){a.eBV(R);const se=a.XpG();return a.Njj(se.agree())}),a.qex(1,3),a.nrm(2,"iframe",4),a.bVm(),a.k0s()}if(2&A){const R=a.XpG();a.Y8G("hideCrossIcon",!0),a.R7$(2),a.Y8G("src",R.disclaimerUrl,a.f$h)}}function _(A,X){if(1&A){const R=a.RV6();a.j41(0,"frontend-default-modal",5),a.bIt("onDismissClick",function(){a.eBV(R);const se=a.XpG();return a.Njj(se.closeModal())})("onSubmitClick",function(){a.eBV(R);const se=a.XpG();return a.Njj(se.closeModal())}),a.j41(1,"p",3),a.EFF(2," Du hast dich von Health X abgemeldet. Durch deine Abmeldung kannst du nicht mehr an Umfragen teilnehmen und reduzierst somit deinen Anspruch auf ein Budget f\xfcr gesundheitsf\xf6rdernde Produkte und Dienstleistungen. "),a.k0s()()}}let q=(()=>{class A{mode="consent";disclaimerUrl;websiteUri=(0,a.WQX)(z.CY);consentTypes=P.rvg;sanitizer=(0,a.WQX)(h.up);modalInstanceService=(0,a.WQX)(H.g7);modalService=(0,a.WQX)(H.Bg);profileService=(0,a.WQX)(C.p);data=(0,a.WQX)(H.e5);ngOnInit(){this.fetchDisclaimerUrl()}agree(){const R={type:this.consentTypes.HealthXParticipation,consented:!0},ne={...this.data.profile,consents:[...this.data.profile.consents.filter(se=>se.type!==R.type),R],has_confirmed_consultation:R.consented};this.profileService.updateConsent(R,this.data.profile).subscribe(()=>this.modalInstanceService.close(ne))}refuse(){const R={type:this.consentTypes.HealthXParticipation,consented:!1},ne={...this.data.profile,consents:[...this.data.profile.consents.filter(se=>se.type!==R.type),R],has_confirmed_consultation:R.consented};this.profileService.updateConsent(R,this.data.profile).subscribe(()=>{if(this.modalService.result.next(ne),this.data&&this.shouldSkipConfirmation())return this.closeModal();this.mode="confirmation"})}closeModal(){this.modalInstanceService.dismiss()}shouldSkipConfirmation(){return!this.data.profile.consents.find(se=>se.type===P.rvg.HealthXParticipation)||this.data&&this.data.skipConfirmation}fetchDisclaimerUrl(){this.disclaimerUrl=this.sanitizer.bypassSecurityTrustResourceUrl(`${this.websiteUri}/teilnahmebedingungen/on_tb_healthx`)}static \u0275fac=function(ne){return new(ne||A)};static \u0275cmp=a.VBU({type:A,selectors:[["wa-edit-consents-health-x"]],standalone:!0,features:[a.Jv_([H.g7]),a.aNF],decls:2,vars:2,consts:[["title","Health X","submitButtonText","Einwilligen","dismissButtonText","Nicht einwilligen",3,"hideCrossIcon"],["submitButtonText","Ok"],["title","Health X","submitButtonText","Einwilligen","dismissButtonText","Nicht einwilligen",3,"onDismissClick","onSubmitClick","hideCrossIcon"],["modalBody",""],["title","Health X Teilnahmebedingungen",1,"modal-iframe",3,"src"],["submitButtonText","Ok",3,"onDismissClick","onSubmitClick"]],template:function(ne,se){1&ne&&a.DNE(0,B,3,2,"frontend-default-modal",0)(1,_,3,0,"frontend-default-modal",1),2&ne&&(a.vxM("consent"===se.mode?0:-1),a.R7$(),a.vxM("confirmation"===se.mode?1:-1))},dependencies:[H.o],styles:[".modal-iframe[_ngcontent-%COMP%]{width:100%;height:100%;border-width:0}"]})}return A})()},72369:(st,Q,g)=>{"use strict";g.d(Q,{U:()=>Ne});var a=g(58527),h=g(56106),H=g(59643),z=g(23818),P=g(97752),C=g(82689),B=g(22380),_=g(61177),q=g(84284);let A=(()=>{class he{inputId;formGroup;inputControlName;placeholder="Passwort";label="Passwort";enableAutofocus=!1;size;ariaAttributes;inputElement;elementRef=(0,a.WQX)(a.aKT);ngOnInit(){this.inputElement=this.elementRef.nativeElement.querySelector("input")}toggleViewPassword(){this.inputElement.type="password"===this.inputElement.type?"text":"password"}static \u0275fac=function(yt){return new(yt||he)};static \u0275cmp=a.VBU({type:he,selectors:[["frontend-input-password"]],inputs:{inputId:"inputId",formGroup:"formGroup",inputControlName:"inputControlName",placeholder:"placeholder",label:"label",enableAutofocus:"enableAutofocus",size:"size",ariaAttributes:"ariaAttributes"},decls:3,vars:9,consts:[["password",""],[3,"formGroup"],["type","password","iconName","eye.svg","dataCy","password",3,"onIconClick","label","formControlName","placeholder","autofocus","withIcon","size","ariaAttributes"]],template:function(yt,Se){if(1&yt){const ke=a.RV6();a.j41(0,"div",1)(1,"frontend-input",2,0),a.bIt("onIconClick",function(){return a.eBV(ke),a.Njj(Se.toggleViewPassword())}),a.k0s()()}2&yt&&(a.Y8G("formGroup",Se.formGroup),a.R7$(),a.Y8G("label",Se.label)("formControlName",Se.inputControlName)("placeholder",Se.placeholder)("autofocus",Se.enableAutofocus)("withIcon",!0)("size",Se.size)("ariaAttributes",Se.ariaAttributes),a.BMQ("id",Se.inputId))},dependencies:[h.BC,h.cb,h.j4,h.JD,q.S],encapsulation:2})}return he})();var X=g(54042);function R(he,Me){1&he&&(a.j41(0,"span"),a.EFF(1," Dein Passwort muss folgende Punkte beinhalten"),a.k0s())}let ne=(()=>{class he{group;initial=!0;meetsStandard(ct){const yt=this.group.controls.password.errors;if(!yt)return!0;
3if(yt.required)return!1;switch(ct){case"minlength":return!yt.minlength;case"number":return!yt.containsNumber;case"uppercase":return!yt.containsUppercase;case"lowercase":return!yt.containsLowercase;default:return!0}}static \u0275fac=function(yt){return new(yt||he)};static \u0275cmp=a.VBU({type:he,selectors:[["frontend-password-standards"]],inputs:{group:"group",initial:"initial"},decls:7,vars:9,consts:[[1,"password-standards"],[1,"requirements"],["name","7 Zeichen","icon","check-pill.svg",3,"selected","clickable"],["name","Eine Zahl","icon","check-pill.svg",3,"selected","clickable"],["name","Ein Klein\xadbuchstabe","icon","check-pill.svg",3,"selected","clickable"],["name","Ein Gro\xdf\xadbuchstabe","icon","check-pill.svg",3,"selected","clickable"]],template:function(yt,Se){1&yt&&(a.j41(0,"div",0),a.DNE(1,R,2,0,"span"),a.j41(2,"div",1),a.nrm(3,"frontend-chip",2)(4,"frontend-chip",3)(5,"frontend-chip",4)(6,"frontend-chip",5),a.k0s()()),2&yt&&(a.R7$(),a.vxM(Se.initial?1:-1),a.R7$(2),a.Y8G("selected",Se.meetsStandard("minlength"))("clickable",!1),a.R7$(),a.Y8G("selected",Se.meetsStandard("number"))("clickable",!1),a.R7$(),a.Y8G("selected",Se.meetsStandard("lowercase"))("clickable",!1),a.R7$(),a.Y8G("selected",Se.meetsStandard("uppercase"))("clickable",!1))},dependencies:[X.w],styles:["[_ngcontent-%COMP%]:root, [_nghost-%COMP%]{--business-primary: #2c6fd1;--business-secondary: #21bbfe;--first-primary: #352f64;--first-secondary: #415197;--economy-primary: #8063e1;--economy-secondary: #bd7be8;--premium-economy-primary: #3f58e3;--premium-economy-secondary: #7f94fc;--exclusive-flex-primary: #052d5e;--exclusive-flex-secondary: #07428b;--exclusive-garant-primary: #0c4a9a;--exclusive-garant-secondary: #005ea8;--expats-primary: #40b2c0;--expats-secondary: #51dbc0;--study-free-primary: #052d5e;--study-free-secondary: #07428b;--study-protect-primary: #0c4a9a;--study-protect-secondary: #005ea8;--freemium-primary: #667093;--freemium-secondary: #999fb7;--clinic-zweibett-primary: #3db88d;--clinic-zweibett-secondary: #b7f5ab;--clinic-einbett-primary: #207f7a;--clinic-einbett-secondary: #44b898;--dental-70-primary: #3abfd5;--dental-70-secondary: #a5e5dd;--dental-85-primary: #677eeb;--dental-85-secondary: #b5bef0;--primary: #0077ff;--primary-contrast: #0070f0;--primary-darker: #006be6;--primary-contrast-darker: #0065d8;--primary-light: #99c9ff;--primary-pale: #f2f8ff;--primary-110: #0066db;--primary-80: #3392ff;--primary-contrast-80: #338df3;--primary-60: #66adff;--primary-contrast-60: #66a9f6;--primary-40: #99c9ff;--primary-20: #cce4ff;--primary-10: #e6f1ff;--primary-05: #f2f8ff;--primary-02: #fafcff;--black: #000000;--white: #ffffff;--overlay-light: rgba(0, 16, 75, .4);--overlay-dark: rgba(0, 0, 0, .4);--sec-light-100: #00104b;--sec-light-90: #1a285d;--sec-light-80: #33406f;--sec-light-60: #667093;--sec-light-40: #999fb7;--sec-light-20: #cccfdb;--sec-light-10: #e6e7ed;--sec-light-05: #f2f3f6;--sec-light-02: #fafafb;--dark: #00104b;--dark-80: #33406f;--dark-60: #667093;--dark-40: #999fb7;--dark-20: #cccfdb;--dark-10: #e6e7ed;--dark-05: #f2f3f6;--dark-02: #fafafb;--sec-dark-00: #181a20;--sec-dark-80: #e5e6eb;--sec-dark-60: #aab0c0;--sec-dark-40: #717993;--sec-dark-20: #44495a;--sec-dark-10: #2e323d;--sec-dark-05: #23262f;--sec-dark-02: #1c1f26;--night: #181a20;--night-98: #1c1f26;--night-95: #23262f;--night-90: #2e323d;--night-80: #44495a;--night-60: #717993;--night-40: #aab0c0;--night-20: #e5e6eb;--black-pure: #000000;--white-pure: #ffffff;--overlay: rgba(0, 16, 75, .4);--sand: #ffedd3;--sand-80: #fff1dc;--sand-60: #fff4e5;--sand-40: #fff8ed;--sand-20: #fffbf6;--cyan: #20c2e0;--cyan-80: #4dcee6;--cyan-60: #79daec;--cyan-40: #a6e7f3;--cyan-20: #d2f3f9;--green: #0dbd83;--green-contrast: #09865d;--success: #0dbd83;--success-contrast: #09865d;--success-darker: #0caa76;--success-contrast-darker: #087954;--success-bright: #3dca9c;--success-light: #ecfaf5;--success-shadow: #cff2e6;--red: #ff5252;--red-contrast: #eb0000;--error: #ff5252;--error-contrast: #eb0000;--danger: #ff5252;--danger-contrast: #eb0000;--danger-darker: #e64a4a;--danger-contrast-darker: #d40000;--danger-bright: #ff7575;--danger-light: #fff1f1;
3--danger-shadow: #ffdcdc;--purple: #7263d0;--info: #7263d0;--info-darker: #6759bb;--info-bright: #8e82d9;--info-light: #f4f3fb;--info-shadow: #e3e0f6;--orange: #ffa600;--warning: #ffa600;--warning-darker: #e69500;--warning-bright: #ffb833;--warning-light: #fff8eb;--warning-shadow: #ffedcc;--pink: #f65c96;--pink-contrast: #e80d5f;--pink-darker: #dd5387;--pink-contrast-darker: #d10c56;--pink-bright: #f87dab;--pink-light: #fef2f7;--pink-shadow: #fddeea;--yellow: #fecf02;--yellow-contrast: #9f661e;--payback: #0046aa;--healthx: #151b36;--satisfaction-strong: #a38247;--satisfaction-shadow: #ede4d3;--expats-shadow: #b3ede5;--pastel-sky: #cce4ff;--pastel-rose: #ffdcdc;--pastel-mint: #cff2e6;--pastel-lemon: #fff5cc;--pastel-purple: #e2dffb;--pastel-sand: #ebe1d3;--primary-rgb: 0, 119, 255;--cyan-rgb: 32, 194, 224;--green-rgb: 13, 189, 131;--red-rgb: 255, 82, 82;--orange-rgb: 255, 166, 0;--dark-rgb: 0, 16, 75;--dark-10-rgb: 230, 231, 237;--gray-dark-rgb: 51, 64, 111;--gray-lighter-rgb: 204, 207, 219;--comprehensive: #0077ff;--comprehensive-dark: #006be6;--comprehensive-darker: #005fcc;--comprehensive-darkest: #004799;--comprehensive-light: #b3d6ff;--comprehensive-pale: #e6f1ff;--first: #404a8d;--first-dark: #3a437f;--first-darker: #333b71;--first-darkest: #262c55;--first-light: #c6c9dd;--first-pale: #ecedf4;--business: #009cfe;--business-dark: #008ce5;--business-darker: #007dcb;--business-darkest: #005e98;--business-light: #b3e1ff;--business-pale: #e6f5ff;--economy: #905aca;--economy-dark: #8251b6;--economy-darker: #7348a2;--economy-darkest: #563679;--economy-light: #deceef;--economy-pale: #f4effa;--premium-economy: #6e7fed;--premium-economy-dark: #6372d5;--premium-economy-darker: #5866be;--premium-economy-darkest: #424c8e;--premium-economy-light: #d4d9fa;--premium-economy-pale: #f1f2fd;--civil: #8b50ff;--civil-dark: #7d48e6;--civil-darker: #6f40cc;--civil-darkest: #533099;--civil-light: #dccbff;--civil-pale: #f3eeff;--exclusive: #063773;--exclusive-dark: #053268;--exclusive-darker: #052c5c;--exclusive-darkest: #042145;--exclusive-light: #b4c3d5;--exclusive-pale: #e6ebf1;--expats: #00c2a9;--expats-dark: #00af98;--expats-darker: #009b87;--expats-darkest: #007465;--expats-light: #b3ede5;--expats-pale: #e6f9f6;--dental: #00bcdc;--dental-dark: #00a9c6;--dental-darker: #0096b0;--dental-darkest: #007184;--dental-light: #b3ebf5;--dental-pale: #e6f8fc;--company: #e09c1f;--company-dark: #ca8c1c;--company-darker: #b37d19;--company-darkest: #865e13;--company-light: #f6e1bc;--company-pale: #fcf5e9;--dental-70: #5eccd7;--dental-70-dark: #55b8c2;--dental-70-darker: #4ba3ac;--dental-70-darkest: #387a81;--dental-70-light: #cff0f3;--dental-70-pale: #effafb;--dental-85: #677eeb;--dental-85-dark: #5d71d4;--dental-85-darker: #5265bc;--dental-85-darkest: #3e4c8d;--dental-85-light: #d1d8f9;--dental-85-pale: #f0f2fd;--clinic: #3db88d;--clinic-dark: #37a67f;--clinic-darker: #319371;--clinic-darkest: #256e55;--clinic-light: #c5eadd;--clinic-pale: #ecf8f4;--zweibett: #55c291;--zweibett-dark: #4daf83;--zweibett-darker: #449b74;--zweibett-darkest: #337457;--zweibett-light: #ccedde;--zweibett-pale: #eef9f4;--einbett: #319884;--einbett-dark: #2c8977;--einbett-darker: #277a6a;--einbett-darkest: #1d5b4f;--einbett-light: #c1e0da;--einbett-pale: #eaf5f3;--satisfaction: #c2a46d;--satisfaction-dark: #af9462;--satisfaction-darker: #9b8357;--satisfaction-darkest: #746241;--satisfaction-light: #ede4d3;--satisfaction-pale: #f9f6f0;--study-free: #052d5e;--study-free-dark: #052955;--study-free-darker: #04244b;--study-free-darkest: #031b38;--study-free-light: #b4c0cf;--study-free-pale: #e6eaef;--study-protect: #005ea8;--study-protect-dark: #005597;--study-protect-darker: #004b86;--study-protect-darkest: #003865;--study-protect-light: #b3cfe5;--study-protect-pale: #e6eff6;--option: #5f50ff;--option-dark: #5648e6;--option-darker: #4c40cc;--option-darkest: #393099;--option-light: #cfcbff;--option-pale: #efeeff;--text-gray: #33406f;--text-gray-darker: #293359;--text-blue: #1e429f;--text-blue-darker: #18357f;--text-purple: #5521b5;--text-purple-darker: #441a91;--text-pink: #a745a3;--text-pink-darker: #863782;--text-pink-contrast: #e80d5f;--text-pink-contrast-darker: #ba0a4c;--text-green: #04543f;--text-green-darker: #034332;--text-red: #9a1c1c;--text-red-darker: #7b1616;--text-orange: #8a2c0d;--text-orange-darker: #6e230a;--text-yellow: #a3691f;--text-yellow-darker: #825419;--text-yellow-contrast: #9f661e;--text-yellow-contrast-darker: #7f5218;--text-background-gray: #f2f3f6;--text-background-gray-darker: #c2c2c5;--text-background-blue: #e1effe;--text-background-blue-darker: #b4bfcb;--text-background-purple: #edebfe;--text-background-purple-darker: #bebccb;--text-background-pink: #fee6fd;--text-background-pink-darker: #cbb8ca;--text-background-green: #def7ec;--text-background-green-darker: #b2c6bd;--text-background-red: #fde8e7;--text-background-red-darker: #cabab9;--text-background-orange: #feecdc;--text-background-orange-darker: #cbbdb0;--text-background-yellow: #fffaca;--text-background-yellow-darker: #ccc8a2;--text: var(--sec-light-60);--text-light: var(--sec-light-40);--text-lighter: var(--sec-light-20);--text-heading: var(--sec-light-100);--line: var(--sec-light-10);--border-light: var(--sec-light-10);--border: var(--sec-light-20);--border-dark: var(--sec-light-40);--border-primary: var(--primary);--border-primary-dark: var(--primary-darker);--border-error: var(--error);--border-radius-xs: 4px;--border-radius-sm: 6px;--border-radius-md: 8px;--border-radius-lg: 12px;--border-radius-xl: 16px;--disabled: var(--sec-light-02);--shadow: rgba(0, 16, 75, .15);--shadow-dark: rgba(0, 16, 75, .2);
3--box-shadow-xs: 0 1px 2px var(--shadow-dark);--box-shadow-sm: 0 2px 4px var(--shadow-dark);--box-shadow-md: 0 4px 12px var(--shadow);--box-shadow-lg: 0 8px 24px var(--shadow);--transition: all .2s ease-in-out;--focus-shadow-primary: 0 0 0 4px var(--primary-20);--focus-shadow-darker: 0 0 0 4px var(--sec-light-40);--focus-shadow-dark: 0 0 0 4px var(--sec-light-20);--focus-shadow-gray: 0 0 0 4px var(--sec-light-10);--focus-shadow-danger: 0 0 0 4px var(--danger-shadow);--focus-shadow-success: 0 0 0 4px var(--success-shadow);--focus-shadow-warning: 0 0 0 4px var(--warning-shadow);--focus-shadow-info: 0 0 0 4px var(--info-shadow);--focus-shadow-pink: 0 0 0 4px var(--pink-shadow);--focus-shadow-gold: 0 0 0 4px var(--satisfaction-shadow);--focus-shadow-expats: 0 0 0 4px var(--expats-shadow);--focus-shadow-text-primary: drop-shadow(0px 1px 3px rgba(0, 119, 255, .5));--focus-shadow-text-pink: drop-shadow(0px 1px 3px rgba(246, 92, 150, .5))}[data-theme=contrast][_ngcontent-%COMP%]   *[_ngcontent-%COMP%]{--primary: var(--primary-contrast);--primary-darker: var(--primary-contrast-darker);--success: var(--success-contrast);--success-darker: var(--success-contrast-darker);--danger: var(--danger-contrast);--danger-darker: var(--danger-contrast-darker);--pink: var(--pink-contrast);--pink-darker: var(--pink-contrast-darker);--satisfaction: var(--satisfaction-pale);--satisfaction-strong: var(--satisfaction-darkest);--yellow: var(--yellow-contrast)}.password-standards[_ngcontent-%COMP%]{color:var(--text-gray)}.password-standards[_ngcontent-%COMP%]   .requirements[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-top:20px;gap:16px}.password-standards[_ngcontent-%COMP%]   .requirements[_ngcontent-%COMP%]   .requirement[_ngcontent-%COMP%]{padding:2px 10px;border:1px solid var(--border);border-radius:20px}.password-standards[_ngcontent-%COMP%]   .requirements[_ngcontent-%COMP%]   .requirement[_ngcontent-%COMP%]:first-child{margin-left:0}.password-standards[_ngcontent-%COMP%]   .requirements[_ngcontent-%COMP%]   .requirement[_ngcontent-%COMP%]:last-child{margin-right:0}.password-standards[_ngcontent-%COMP%]   .requirements[_ngcontent-%COMP%]   .requirement.valid[_ngcontent-%COMP%]{border:1px solid var(--success);background-color:var(--success-light);color:var(--success)}"]})}return he})();var se=g(35044);const _e=["editSuccess"],le=()=>["required"],Re=()=>["minlength","containsNumber","containsUppercase","containsLowercase"];function Le(he,Me){1&he&&(a.j41(0,"span"),a.EFF(1," Dein derzeitiges Passwort ist fehlerhaft. Bitte \xfcberpr\xfcfe es und versuche es erneut. "),a.k0s())}function Ie(he,Me){1&he&&(a.j41(0,"span")(1,"span"),a.EFF(2," Dein Passwort ist zu schwach. "),a.k0s(),a.j41(3,"span"),a.EFF(4," Es muss aus mindestens 7 Zeichen bestehen, eine Zahl, einen Gro\xdf- und einen Kleinbuchstaben enthalten. "),a.k0s()())}function xe(he,Me){1&he&&(a.j41(0,"span"),a.EFF(1," Das \xc4ndern des Passworts ist fehlgeschlagen. Bitte versuche es erneut. "),a.k0s())}function Te(he,Me){if(1&he&&(a.j41(0,"div",2),a.DNE(1,Le,2,0,"span")(2,Ie,5,0,"span")(3,xe,2,0,"span"),a.k0s()),2&he){let ct;const yt=a.XpG();a.R7$(),a.vxM(10005===(ct=yt.requestFailed)?1:10011===ct?2:3)}}let Ne=(()=>{class he{editSuccess;form;requestFailed;isSubmitting=!1;formBuilder=(0,a.WQX)(h.ze);modalInstanceService=(0,a.WQX)(z.g7);authenticationService=(0,a.WQX)(H.x6);logService=(0,a.WQX)(_.Kc);alertService=(0,a.WQX)(B.uE);profile=(0,a.WQX)(z.e5);ngOnInit(){this.form=this.formBuilder.group({currentPassword:[null,C.k0.required],password:[null,C.k0.compose([C.k0.required,C.k0.minLength(7),C.k0.containsNumber,C.k0.containsUppercase,C.k0.containsLowercase])],repassword:[null,C.k0.required]},{validator:C.k0.passwordsEqual})}closeModal(){this.modalInstanceService.dismiss()}onSubmit(){this.isSubmitting||!this.form.valid||(this.isSubmitting=!0,this.requestFailed=void 0,this.authenticationService.updatePassword(this.form.value.currentPassword,this.form.value.password).subscribe({next:()=>{this.alertService.success("Dein Passwort wurde erfolgreich aktualisiert."),this.modalInstanceService.close(this.profile),this.isSubmitting=!1},error:ct=>{this.requestFailed=ct.error&&ct.error.code||"default",this.alertService.error("Das Aktualisieren des Passworts ist fehlgeschlagen. Bitte versuche es erneut."),this.logService.error("[EditPasswordComponent] Error on change password",ct),this.isSubmitting=!1}}))}static \u0275fac=function(yt){return new(yt||he)};static \u0275cmp=a.VBU({type:he,selectors:[["wa-edit-password-modal"]],viewQuery:function(yt,Se){if(1&yt&&a.GBs(_e,5),2&yt){let ke;a.mGM(ke=a.lsd())&&(Se.editSuccess=ke.first)}},standalone:!0,features:[a.Jv_([z.g7]),a.aNF],decls:16,vars:27,consts:[["title","Passwort \xe4ndern","dismissButtonText","Abbrechen","submitButtonText","Best\xe4tigen",3,"onDismissClick","onSubmitClick","
3submitDisabled"],["modalBody","",1,"body-wrapper"],[1,"alert","alert-danger"],[1,"form-group"],[1,"password-reset-input",3,"formGroup","inputControlName","placeholder","label","inputId","enableAutofocus"],["inputName","currentPassword",3,"formGroup","inputError"],[3,"initial","group"],[1,"password-reset-input",3,"formGroup","inputControlName","placeholder","label","inputId"],["inputName","password",3,"formGroup","inputError"],["formError","passwordsEqual",3,"formGroup"]],template:function(yt,Se){1&yt&&(a.j41(0,"frontend-default-modal",0),a.bIt("onDismissClick",function(){return Se.closeModal()})("onSubmitClick",function(){return Se.onSubmit()}),a.j41(1,"div",1),a.DNE(2,Te,4,1,"div",2),a.j41(3,"div",3),a.nrm(4,"frontend-input-password",4),a.j41(5,"frontend-validation-message",5),a.EFF(6," Bitte trage dein derzeitiges Passwort ein "),a.k0s()(),a.j41(7,"div",3),a.nrm(8,"frontend-password-standards",6)(9,"frontend-input-password",7),a.j41(10,"frontend-validation-message",8),a.EFF(11," Das Passwort entspricht nicht den Mindestanforderungen "),a.k0s()(),a.j41(12,"div",3),a.nrm(13,"frontend-input-password",7),a.j41(14,"frontend-validation-message",9),a.EFF(15," Die Passw\xf6rter m\xfcssen \xfcbereinstimmen "),a.k0s()()()()),2&yt&&(a.Y8G("submitDisabled",!Se.form.valid||Se.isSubmitting),a.R7$(2),a.vxM(Se.requestFailed?2:-1),a.R7$(2),a.Y8G("formGroup",Se.form)("inputControlName","currentPassword")("placeholder","Derzeitiges Passwort")("label","Derzeitiges Passwort")("inputId","currentPassword")("enableAutofocus",!0),a.R7$(),a.Y8G("formGroup",Se.form)("inputError",a.lJ4(25,le)),a.R7$(3),a.Y8G("initial",!1)("group",Se.form),a.R7$(),a.Y8G("formGroup",Se.form)("inputControlName","password")("placeholder","Neues Passwort")("label","Neues Passwort")("inputId","password"),a.R7$(),a.Y8G("formGroup",Se.form)("inputError",a.lJ4(26,Re)),a.R7$(3),a.Y8G("formGroup",Se.form)("inputControlName","repassword")("placeholder","Passwort wiederholen")("label","Passwort wiederholen")("inputId","repassword"),a.R7$(),a.Y8G("formGroup",Se.form))},dependencies:[z.o,P.i,A,ne,h.YN,h.cb,h.X1,h.j4,C.ih,se.A],styles:[".body-wrapper[_ngcontent-%COMP%]{margin-bottom:12px}.password-reset-input[_ngcontent-%COMP%]{display:block;margin-bottom:20px}.password-reset-input[_ngcontent-%COMP%]:not(:first-child){margin-top:20px}"]})}return he})()},12024:(st,Q,g)=>{"use strict";g.d(Q,{a:()=>Ve});var a=g(70650),h=g(58527),H=g(61142),z=g(69956);function P(Be,ge){if(1&Be&&(h.EFF(0),h.nI1(1,"fromCents"),h.nI1(2,"number")),2&Be){const Pe=h.XpG(2);h.SpI(" ",h.i5U(2,3,h.bMT(1,1,Pe.current()),Pe.numberPresentation())," ")}}function C(Be,ge){if(1&Be&&h.EFF(0),2&Be){const Pe=h.XpG(2);h.SpI(" ",Pe.current()," ")}}function B(Be,ge){if(1&Be&&h.DNE(0,P,3,6)(1,C,1,1),2&Be){const Pe=h.XpG();h.vxM(Pe.isPrice()?0:1)}}function _(Be,ge){if(1&Be&&h.EFF(0),2&Be){const Pe=h.XpG();h.SpI(" ",Pe.isPrice()?"--,-":"-","\n")}}let q=(()=>{class Be{number=(0,h.hFB)();startNumber=(0,h.hFB)(0);isPrice=(0,h.hFB)(!1);alwaysAnimate=(0,h.hFB)(!1);transitionStep=(0,h.hFB)(1);numberPresentation=(0,h.hFB)("1.2-2");animationInterval=(0,h.hFB)(10);current=(0,h.vPA)(0);destroyRef=(0,h.WQX)(h.abz);interval;previousNumber=null;previousStartNumber=0;hasInitialized=!1;constructor(){(0,h.QZP)(()=>{const Pe=this.number(),He=this.startNumber(),bt=this.alwaysAnimate(),Yt=this.transitionStep(),sn=this.animationInterval();(0,h.O8t)(()=>{this.current.set(He)}),this.clearInterval(),null!=Pe?(bt?this.transitionPrice(Pe,Yt,sn):(this.shouldAnimate(Pe,this.previousNumber)&&(0,h.O8t)(()=>this.current.set(Pe)),He!==this.previousStartNumber&&this.shouldAnimate(He,Pe)&&(0,h.O8t)(()=>this.current.set(He)),this.hasInitialized&&(this.previousNumber||He)&&this.transitionPrice(Pe,Yt,sn)),this.updatePreviousValues(Pe,He)):this.updatePreviousValues(Pe,He)}),this.destroyRef.onDestroy(()=>this.clearInterval())}transitionPrice(Pe,He,bt){let Yt=(0,h.O8t)(()=>this.current()),sn=0;const ft=Yt<Pe;this.interval=setInterval(()=>{Yt+=15*sn,(ft&&Yt>=Pe||!ft&&Yt<=Pe)&&(Yt=Pe,this.clearInterval()),this.current.set(Yt),sn=ft?sn+He:sn-He},bt)}clearInterval(){this.interval&&(clearInterval(this.interval),this.interval=void 0)}shouldAnimate(Pe,He){return!He||Pe-He>
35e4}updatePreviousValues(Pe,He){this.previousNumber=Pe??null,this.previousStartNumber=He,this.hasInitialized=!0}static \u0275fac=function(He){return new(He||Be)};static \u0275cmp=h.VBU({type:Be,selectors:[["frontend-animated-number"]],inputs:{number:[1,"number"],startNumber:[1,"startNumber"],isPrice:[1,"isPrice"],alwaysAnimate:[1,"alwaysAnimate"],transitionStep:[1,"transitionStep"],numberPresentation:[1,"numberPresentation"],animationInterval:[1,"animationInterval"]},standalone:!0,features:[h.aNF],decls:2,vars:1,template:function(He,bt){1&He&&h.DNE(0,B,2,1)(1,_,1,1),2&He&&h.vxM(null!==bt.number()&&void 0!==bt.number()?0:1)},dependencies:[H.QX,z.A9],encapsulation:2,changeDetection:0})}return Be})();var A=g(24153),X=g(85618),R=g(23818),ne=g(22380),se=g(66990),_e=g(61177),le=g(77392),Re=g(58468),Le=g(78374),Ie=g(71101),xe=g(71645),Te=g(51335),Ne=g(39611),he=g(73466),Me=g(2590);const ct=()=>({dataCy:"referral-get-link-button"});function yt(Be,ge){1&Be&&h.nrm(0,"div",15)}function Se(Be,ge){if(1&Be&&(h.j41(0,"div",10)(1,"div",11)(2,"span",12),h.nrm(3,"frontend-animated-number",13),h.EFF(4," \u20ac "),h.k0s(),h.j41(5,"div",14),h.EFF(6),h.k0s(),h.DNE(7,yt,1,0,"div",15),h.k0s()()),2&Be){const Pe=ge.$implicit,He=ge.$index,bt=ge.$count;h.R7$(3),h.Y8G("number",Pe.amount)("isPrice",!0)("alwaysAnimate",Pe.is_campaign_ongoing)("transitionStep",5)("numberPresentation","1.0-0"),h.R7$(3),h.JRh(Pe.title_german),h.R7$(),h.vxM(He!==bt-1?7:-1)}}function ke(Be,ge){if(1&Be&&(h.j41(0,"div",6),h.Z7z(1,Se,8,7,"div",10,h.fX1),h.k0s()),2&Be){const Pe=h.XpG();h.R7$(),h.Dyx(Pe.referralInfo.items)}}function Ze(Be,ge){1&Be&&h.EFF(0," Kein laufendes Empfehlungsprogramm ")}let Ve=(()=>{class Be{referralUrl;referralInfo;maxReward=0;modalData=(0,h.WQX)(R.e5);websiteUrl=(0,h.WQX)(se.CY);modalInstanceService=(0,h.WQX)(R.g7);profileService=(0,h.WQX)(Te.p);alertService=(0,h.WQX)(ne.uE);logService=(0,h.WQX)(_e.Kc);firebaseService=(0,h.WQX)(xe.f);modalService=(0,h.WQX)(R.Bg);component$=new le.B;ngOnInit(){this.firebaseService.logScreenVisited(Ne.MC.Referral);const Pe=this.profileService.getPrimaryProfile()?.profile_id;Pe?(this.profileService.getReferralId(Pe).pipe((0,Re.Q)(this.component$)).subscribe({next:He=>this.referralUrl=He.referral_url,error:He=>this.logService.error("[ReferralLinkComponent] Failed to retrieve tiggeber id",He)}),this.firebaseService.getRemoteConfig().then(He=>{this.referralInfo=this.firebaseService.getReferralInfo(He),this.referralInfo.items.forEach(bt=>{this.maxReward<bt.amount&&(this.maxReward=bt.amount)})})):this.errorLoadingReferral()}ngOnDestroy(){this.component$.next(),this.component$.complete()}closeModal(){this.modalInstanceService.dismiss()}handleSubmitClick(){this.modalInstanceService.close(),!this.profileService.isBkvCustomer()||this.profileService.getAccountIBAN()?this.copyLink():this.modalService.show(Ie.K,{data:{profile:this.modalData.profile,subtitle:"Du hast deine Bankdaten noch nicht angegeben. Um dir die Pr\xe4mie f\xfcr die Weiterempfehlung \xfcberweisen zu k\xf6nnen, ben\xf6tigen wir noch deine IBAN."}}).pipe((0,Le.s)(1)).subscribe(()=>{this.copyLink()})}copyLink(){var Pe=this;return(0,a.A)(function*(){Pe.referralUrl?(Pe.firebaseService.logSimpleEvent(Ne.B8.ReferralLink),yield(0,_e.Dk)(Pe.referralUrl),Pe.alertService.success(`Freunde werben Freunde - Link "${Pe.referralUrl}" wurde erfolgreich in die Zwischenablage kopiert`)):Pe.errorLoadingReferral()})()}errorLoadingReferral(){this.alertService.error("Wir konnten leider keinen Link f\xfcr dich finden. Bitte versuche es erneut oder wende dich an unseren Kundenservice.")}static \u0275fac=function(He){return new(He||Be)};static \u0275cmp=h.VBU({type:Be,selectors:[["wa-referral-link-modal"]],standalone:!0,features:[h.Jv_([R.g7]),h.aNF],decls:19,vars:15,consts:[["dismissButtonText","Abbrechen","submitButtonText","Link kopieren",3,"onDismissClick","onSubmitClick","
3submitButtonSettings"],["modalBody","",1,"referral-body"],[1,"top-icon"],["type","svg","file","referral-top.svg",3,"stretchToContainer"],["data-cy","referral-header",1,"referral-header"],[1,"referral-subtitle"],[1,"tariff-board"],[1,"url-description-prefix","terms"],[1,"terms",3,"href","targetBlank"],[1,"url-description-suffix","terms"],[1,"tariff-pane"],[1,"item-container"],[1,"item-amount"],[3,"number","isPrice","alwaysAnimate","transitionStep","numberPresentation"],[1,"item-name"],[1,"separator"]],template:function(He,bt){1&He&&(h.j41(0,"frontend-default-modal",0),h.bIt("onDismissClick",function(){return bt.closeModal()})("onSubmitClick",function(){return bt.handleSubmitClick()}),h.j41(1,"div",1)(2,"div",2),h.nrm(3,"frontend-image",3),h.k0s(),h.j41(4,"h2",4),h.EFF(5),h.nI1(6,"fromCents"),h.nI1(7,"ngcCurrency"),h.k0s(),h.j41(8,"p",5),h.EFF(9," Werbe deine Freunde f\xfcr ottonova. Kommt es zum Abschluss, bekommst du: "),h.k0s(),h.DNE(10,ke,3,0,"div",6)(11,Ze,1,0),h.j41(12,"div")(13,"span",7),h.EFF(14,"Wenn du den Link teilst, stimmst du den "),h.k0s(),h.j41(15,"frontend-link",8),h.EFF(16," Teilnahmebedingungen "),h.k0s(),h.j41(17,"span",9),h.EFF(18," zu."),h.k0s()()()()),2&He&&(h.Y8G("submitButtonSettings",h.lJ4(14,ct)),h.R7$(3),h.Y8G("stretchToContainer",!0),h.R7$(2),h.SpI(" Erhalte bis zu ",h.ii3(7,9,h.bMT(6,7,bt.maxReward),"EUR","symbol-narrow","1.0")," "),h.R7$(5),h.vxM(null!=bt.referralInfo&&null!=bt.referralInfo.items&&bt.referralInfo.items.length?10:11),h.R7$(5),h.Mz_("href","",bt.websiteUrl,"/teilnahmebedingungen-on_tb_r2f"),h.Y8G("targetBlank",!0))},dependencies:[R.o,A.U,he.h,q,X.VM,Me.g,z.oe,z.A9],styles:[".referral-header[_ngcontent-%COMP%]{font-size:24px;font-style:normal;font-weight:700;line-height:30px}.referral-subtitle[_ngcontent-%COMP%]{width:438px;font-size:16px;font-style:normal;font-weight:400;line-height:24px}.referral-body[_ngcontent-%COMP%]{display:flex;width:100%;flex-direction:column;align-items:center;text-align:center}.referral-body[_ngcontent-%COMP%]   .top-icon[_ngcontent-%COMP%]{width:160px;height:120px;margin-top:-20px;color:var(--primary)}.referral-body[_ngcontent-%COMP%]   .tariff-board[_ngcontent-%COMP%]{display:flex;width:438px;flex-direction:column;align-items:center;justify-content:center;border:1px solid var(--sec-light-10);margin-bottom:32px;border-radius:12px;gap:0}.referral-body[_ngcontent-%COMP%]   .tariff-board[_ngcontent-%COMP%]   .tariff-pane[_ngcontent-%COMP%]{width:100%;flex:1;flex-direction:row;justify-content:center}.referral-body[_ngcontent-%COMP%]   .tariff-board[_ngcontent-%COMP%]   .tariff-pane[_ngcontent-%COMP%]   .item-container[_ngcontent-%COMP%]{display:flex;width:100%;flex-direction:column;align-items:center;align-self:stretch;margin-top:12px}.referral-body[_ngcontent-%COMP%]   .tariff-board[_ngcontent-%COMP%]   .tariff-pane[_ngcontent-%COMP%]   .item-container[_ngcontent-%COMP%]   .item-amount[_ngcontent-%COMP%]{color:var(--dark);font-size:20px;font-style:normal;font-weight:700;line-height:25px;text-align:center}.referral-body[_ngcontent-%COMP%]   .tariff-board[_ngcontent-%COMP%]   .tariff-pane[_ngcontent-%COMP%]   .item-container[_ngcontent-%COMP%]   .item-name[_ngcontent-%COMP%]{margin-bottom:12px;color:var(--sec-light-60);font-size:14px;font-style:normal;font-weight:400;line-height:21px;text-align:center}.referral-body[_ngcontent-%COMP%]   .tariff-board[_ngcontent-%COMP%]   .separator[_ng
3content-%COMP%]{height:1px;align-self:stretch;background-color:var(--sec-light-10)}.referral-body[_ngcontent-%COMP%]   .terms[_ngcontent-%COMP%]{font-size:14px;font-style:normal;font-weight:500;line-height:20px}"]})}return Be})()},26822:(st,Q,g)=>{"use strict";g.d(Q,{S:()=>Ie});var a=g(58527),h=g(56106),H=g(30045),z=g(23818),P=g(48476),C=g(82689),B=g(22380),_=g(51376),q=g(61177),A=g(77392),X=g(85687),R=g(58468),ne=g(51335),se=g(84284),_e=g(47868);const le=xe=>({mask:xe,guide:!1});function Re(xe,Te){1&xe&&(a.j41(0,"p"),a.EFF(1," Deine \xc4nderungen werden auch f\xfcr alle mitversicherten Personen \xfcbernommen. F\xfcr individuelle \xc4nderungen wende dich bitte an unseren Concierge. "),a.k0s())}function Le(xe,Te){1&xe&&(a.j41(0,"frontend-checkbox",3),a.EFF(1," Bitte best\xe4tige die Erteilung des Firmenlastschrift-Mandats "),a.k0s())}let Ie=(()=>{class xe{form;isSubmitting=!1;sepaDebitAvailable=!1;mask=_.Yu9;modalData=(0,a.WQX)(z.e5);component$=new A.B;formBuilder=(0,a.WQX)(h.ze);modalInstanceService=(0,a.WQX)(z.g7);profileService=(0,a.WQX)(ne.p);logService=(0,a.WQX)(q.Kc);alertService=(0,a.WQX)(B.uE);ngOnInit(){this.form=this.formBuilder.group({iban:[this.modalData.profile.bank_account?.iban,[C.k0.required,C.k0.iban]],sepaApproved:[!0,C.k0.requiredTrue]}),this.sepaDebitAvailable=this.profileService.getAttributeValue(_.L6M.SepaDebit)===_.eKl.Enabled,this.form.controls.iban.valueChanges.pipe((0,X.p)(()=>this.sepaDebitAvailable),(0,R.Q)(this.component$)).subscribe(()=>this.form.patchValue({sepaApproved:!1}))}ngOnDestroy(){this.component$.next(),this.component$.complete()}closeModal(){this.modalInstanceService.dismiss()}onSubmit(){if(this.isSubmitting||!this.form.valid)return;this.isSubmitting=!0;const Ne={...this.modalData.profile,bank_account:{...this.modalData.profile.bank_account,iban:this.form.value.iban}};this.profileService.updateBankAccountData(Ne).subscribe({next:he=>{this.alertService.success("Deine Bankverbindung wurde erfolgreich aktualisiert."),Ne.bank_account=he,this.modalInstanceService.close(Ne)},error:he=>{this.alertService.error("Das Aktualisieren deiner Bankverbindung ist fehlgeschlagen. Bitte versuche es erneut."),this.logService.error("[EditBankDataComponent] Error on PUT bank account data",he),this.modalInstanceService.dismiss()}})}static \u0275fac=function(he){return new(he||xe)};static \u0275cmp=a.VBU({type:xe,selectors:[["wa-edit-bank-data-modal"]],standalone:!0,features:[a.Jv_([z.g7]),a.aNF],decls:5,vars:7,consts:[["title","Bankverbindung","dismissButtonText","Abbrechen","submitButtonText","Best\xe4tigen",3,"onDismissClick","onSubmitClick","
3submitDisabled"],["modalBody","",1,"body-wrapper",3,"formGroup"],["label","IBAN","placeholder","DE00000000000000000000","size","lg","formControlName","iban",1,"iban-input",3,"textMaskConfig"],["formControlName","sepaApproved",1,"iban-checkbox"]],template:function(he,Me){1&he&&(a.j41(0,"frontend-default-modal",0),a.bIt("onDismissClick",function(){return Me.closeModal()})("onSubmitClick",function(){return Me.onSubmit()}),a.j41(1,"form",1),a.DNE(2,Re,2,0,"p"),a.nrm(3,"frontend-input",2),a.DNE(4,Le,2,0,"frontend-checkbox",3),a.k0s()()),2&he&&(a.Y8G("submitDisabled",!Me.form.valid||Me.isSubmitting),a.R7$(),a.Y8G("formGroup",Me.form),a.R7$(),a.vxM(Me.modalData.hasCoinsuredProfiles?2:-1),a.R7$(),a.Y8G("textMaskConfig",a.eq3(5,le,Me.mask)),a.R7$(),a.vxM(Me.sepaDebitAvailable?4:-1))},dependencies:[z.o,h.YN,h.qT,h.BC,h.cb,h.X1,h.j4,h.JD,P.x,se.S,H.q,_e.P],styles:[".body-wrapper[_ngcontent-%COMP%], .iban-input[_ngcontent-%COMP%]{display:block;margin-bottom:12px}"]})}return xe})()},2479:(st,Q,g)=>{"use strict";g.d(Q,{G:()=>z});var a=g(94485),h=g(58527),H=g(69131);let z=(()=>{class P{http=(0,h.WQX)(a.Qq);apiUrlService=(0,h.WQX)(H.k);getAvailableSalesCallAppointments(B){const _=this.apiUrlService.getAvailableSalesCallAppointments(B);return this.http.get(_)}bookSalesCall(B,_){const q=this.apiUrlService.bookSalesCall(B);return this.http.post(q,_)}static \u0275fac=function(_){return new(_||P)};static \u0275prov=h.jDH({token:P,factory:P.\u0275fac})}return P})()},79463:(st,Q,g)=>{"use strict";g.d(Q,{$:()=>q});var a=g(94485),h=g(58527),H=g(22380),z=g(61177),P=g(78374),C=g(60494),B=g(17796),_=g(69131);let q=(()=>{class A{httpClient=(0,h.WQX)(a.Qq);apiUrlService=(0,h.WQX)(_.k);logService=(0,h.WQX)(z.Kc);alertService=(0,h.WQX)(H.uE);answers;fetchSurveyQuestions(R,ne){const se=this.apiUrlService.surveyQuestions(R,ne);return this.httpClient.get(se).pipe((0,P.s)(1),(0,C.W)(_e=>(this.logService.error(`[${A.name}] Failed to load survey questions for productGroup ${R} and tariffId ${ne}}`,_e),this.alertService.error("Die Umfrage konnte leider nicht geladen werden. Bitte versuche es erneut."),(0,B.of)([]))))}postSurveyResult(R){this.answers={answers:this.convertToAnswers(R.previous),result:{id:R.id,message:R.message}}}convertToAnswers(R){const ne=[];let se=R;for(;se;)ne.push({message:se.message,answer:se.selectedOption?.name?se.selectedOption?.name:""}),se=se.previous;return ne.reverse()}getSurveyResult(){return this.answers}static \u0275fac=function(ne){return new(ne||A)};static \u0275prov=h.jDH({token:A,factory:A.\u0275fac})}return A})()},31840:(st,Q,g)=>{"use strict";g.d(Q,{y:()=>q});var a=g(94485),h=g(58527),H=g(22380),z=g(61177),P=g(78374),C=g(60494),B=g(17796),_=g(69131);let q=(()=>{class A{httpClient=(0,h.WQX)(a.Qq);apiUrlService=(0,h.WQX)(_.k);logService=(0,h.WQX)(z.Kc);alertService=(0,h.WQX)(H.uE);fetchTodos(R){const ne=this.apiUrlService.todos(R);return this.httpClient.get(ne).pipe((0,P.s)(1),(0,C.W)(se=>(this.logService.error(`[${A.name}] Failed to load customer todos for profileId ${R}`,se),this.alertService.error("Deine To-dos konnten leider nicht geladen werden. Bitte versuche es erneut."),(0,B.of)([]))))}fetchOpenedTodosCountForAccount(R){const ne=this.apiUrlService.openedTodosCountForAccount(R);return this.httpClient.get(ne).pipe((0,P.s)(1),(0,C.W)(se=>(this.logService.error(`[TodoService] Failed to load customer todos count for accountId ${R}`,se),(0,B.of)({}))))}markAsIneligibleForUpsell(R,ne){const se=this.apiUrlService.markAsIneligibleForUpsell(R);return this.httpClient.post(se,ne)}static \u0275fac=function(ne){return new(ne||A)};static \u0275prov=h.jDH({token:A,factory:A.\u0275fac})}return A})()},53797:(st,Q,g)=>{"use strict";g.d(Q,{$D:()=>P,Cj:()=>H,Cw:()=>a,VB:()=>z,dm:()=>h,i:()=>C});var a=function(B){return B.Connect="[Chat] Connect",B.Reconnect="[Chat] Reconnect",B.Disconnect="[Chat] Disconnect",B.Error="[Chat] Error",B.JwtError="[Chat] Jwt Error",B}(a||{});class h{type=a.Connect}class H{type=a.Reconnect}class z{type=a.Disconnect}class P{payload;type=a.Error;constructor(_){this.payload=_}}class C{payload;type=a.JwtError;constructor(_){this.payload=_}}},8682:(st,Q,g)=>{"use strict";g.d(Q,{Cj:()=>_,E_:()=>le,F9:()=>R,FV:()=>P,H$:()=>B,HH:()=>ne,HT:()=>h,Ki:()=>H,_J:()=>se,id:()=>C,o_:()=>A,qS:()=>Le,yf:()=>q});var a=g(52713),h=function(Ie){return Ie.InitConversation="[Chat] Init Conversation",Ie.TriggerUpdatedConversation="[Chat] Trigger Updated Conversation",Ie.Upd
3ateConversation="[Chat] Update Conversation",Ie.SelectConversation="[Chat] Select Conversation",Ie.DeselectConversation="[Chat] Deselect Conversation",Ie.ArchiveConversation="[Chat] Archive Conversation",Ie.RemoveConversation="[Chat] Remove Conversation",Ie.ReopenedConversation="[Chat] Reopened Conversation",Ie.ConversationsLoading="[Chat] Set Conversations Loading",Ie.SetConversations="[Chat] Set Conversations",Ie.OpenConversation="[Chat] Open Conversation",Ie.ShowOpenConversations="[Chat] Show open conversations",Ie.ShowNewConversations="[Chat] Show new conversations",Ie.ShowWaitingConversations="[Chat] Show waiting conversations",Ie.WaitingStatusUpdatedConversation="[Chat] waiting status Updated conversations",Ie.ShowArchivedConversations="[Chat] Show archived conversations",Ie}(h||{});class H{payload;type=h.InitConversation;constructor(xe){this.payload=xe}}class P{payload;type=h.UpdateConversation;constructor(xe){this.payload=xe}}const C=(0,a.VP)(h.SelectConversation,(0,a.xk)()),B=(0,a.VP)(h.DeselectConversation,(0,a.xk)());class _{payload;type=h.ArchiveConversation;constructor(xe){this.payload=xe}}class q{payload;type=h.ReopenedConversation;constructor(xe){this.payload=xe}}class A{payload;type=h.WaitingStatusUpdatedConversation;constructor(xe){this.payload=xe}}class R{payload;type=h.ConversationsLoading;constructor(xe){this.payload=xe}}class ne{payload;type=h.SetConversations;constructor(xe){this.payload=xe}}class se{payload;type=h.OpenConversation;constructor(xe){this.payload=xe}}class le{type=h.ShowArchivedConversations}class Le{type=h.ShowOpenConversations}},27896:(st,Q,g)=>{"use strict";g.d(Q,{er:()=>a,lr:()=>z,v2:()=>H});var a=function(P){return P.Append="[Entered Message] Append",P.Update="[Entered Message] Update",P.Remove="[Entered Message] Remove",P}(a||{});class H{payload;type=a.Update;constructor(C){this.payload=C}}class z{payload;type=a.Remove;constructor(C){this.payload=C}}},56631:(st,Q,g)=>{"use strict";g.d(Q,{bj:()=>H,lK:()=>h,wI:()=>a});var a=function(z){return z.IdentityChanged="[Chat] Identity Changed",z.SetIdentity="[Chat] Set Identity",z}(a||{});class h{payload;type=a.IdentityChanged;constructor(P){this.payload=P}}class H{payload;type=a.SetIdentity;constructor(P){this.payload=P}}},40058:(st,Q,g)=>{"use strict";g.d(Q,{AO:()=>H,LG:()=>q,VS:()=>C,ZP:()=>h,dN:()=>a,dV:()=>B,iq:()=>P,jj:()=>z,kN:()=>_,mI:()=>X,tn:()=>A});var a=function(R){return R.AddMessage="[Chat] Add Message",R.AddPendingMessage="[Chat] Add Pending Message",R.UpdateMessageStatus="[Chat] Update Message Status",R.UpdateRatingMessage="[Chat] Update Rating Message ",R.ResendMessage="[Chat] Resend Message",R.SendMessageFailed="[Chat] Send Message Failed",R.RemoveMessage="[Chat] Remove Message",R.RemoveUnsentMessage="[Chat] Remove unsent message",R.SystemMessage="[Chat] System Message",R.SetConversationMessages="[Chat] Set Conversation Messages",R}(a||{});class h{payload;type=a.AddMessage;constructor(ne){this.payload=ne}}class H{payload;type=a.AddPendingMessage;constructor(ne){this.payload=ne}}class z{payload;type=a.UpdateMessageStatus;constructor(ne){this.payload=ne}}class P{payload;type=a.UpdateRatingMessage;constructor(ne){this.payload=ne}}class C{payload;type=a.ResendMessage;constructor(ne){this.payload=ne}}class B{payload;type=a.SendMessageFailed;constructor(ne){this.payload=ne}}class _{payload;type=a.RemoveMessage;constructor(ne){this.payload=ne}}class q{payload;type=a.RemoveUnsentMessage;constructor(ne){this.payload=ne}}class A{payload;type=a.SystemMessage;constructor(ne){this.payload=ne}}class X{payload;conversationId;type=a.SetConversationMessages;constructor(ne,se){this.payload=ne,this.conversationId=se}}},71734:(st,Q,g)=>{"use strict";g.d(Q,{IG:()=>h,Pb:()=>a,u5:()=>H});var a=function(z){return z.Typing="[Chat] Typing",z.RemoveTyping="[Chat] Remove Typing",z}(a||{});class h{payload;type=a.Typing;constructor(P){this.payload=P}}class H{payload;type=a.RemoveTyping;constructor(P){this.payload=P}}},17465:(st,Q,g)=>{"use strict";g.d(Q,{_:()=>Re,x:()=>le});var a=g(61142),h=g(58527),H=g(22380),z=g(66990),P=g(94236),C=g(52713),B=g(6663),_=g(7738),q=g(85687),A=g(84975),X=g(21252),R=g(8682),ne=g(40058),se=g(13740),_e=g(48181);const le="chat-notification";let Re=(()=>{class Le{actions$=(0,h.WQX)(P.En);chatService=(0,h.WQX)(_e.T);document=(0,h.WQX)(a.qQ);window=(0,h.WQX)(z.jf);store=(0,h.WQX)(C.il);
3audioElement=new Audio("assets/audio/chat-notification.mp3");faviconBlinkInterval;customTitle$=(0,P.EH)(()=>this.actions$.pipe((0,P.gp)(ne.dN.AddMessage,ne.dN.UpdateMessageStatus,R.HT.UpdateConversation),(0,B.T)(xe=>xe.payload.conversationId),(0,_.E)(this.store.select(se.oN)),(0,q.p)(([xe,Te])=>xe!==Te),(0,A.n)(([xe,Te])=>this.store.select((0,se.nX)(xe))),(0,X.M)(xe=>{const Te=this.document.querySelector("link#appIcon");if(Te?.setAttribute("href","assets/fav/favicon-32x32.png"),clearInterval(this.faviconBlinkInterval),xe){let Ne=!0;this.faviconBlinkInterval=setInterval(()=>{Te?.setAttribute("href",Ne?"assets/fav/favicon-notification-32x32.png":"assets/fav/favicon-32x32.png"),Ne=!Ne},750)}})),{dispatch:!1});customNotifications$=(0,P.EH)(()=>this.actions$.pipe((0,P.gp)(ne.dN.AddMessage),(0,B.T)(xe=>xe.payload),(0,q.p)(xe=>"rating"!==xe.type&&!this.chatService.chatActivated()&&xe.author.id!==this.chatService.identity.id),(0,X.M)(()=>{if(!this.document.hasFocus()&&"Audio"in this.window){const xe=this.audioElement.play();void 0!==xe&&xe.catch(()=>{this.playAudioOnceOnClick()})}}),(0,B.T)(xe=>(0,H.z8)({notification:{id:xe.messageId,templateId:le,context:{message:xe}}}))));playAudioOnceOnClick(){this.audioElement.muted=!0;const xe=()=>{this.audioElement.play().finally(()=>{this.audioElement.muted=!1,this.document.removeEventListener("click",xe)})};this.document.addEventListener("click",xe)}static \u0275fac=function(Te){return new(Te||Le)};static \u0275prov=h.jDH({token:Le,factory:Le.\u0275fac})}return Le})()},67322:(st,Q,g)=>{"use strict";g.d(Q,{bv:()=>z,lJ:()=>h});var a=g(27896);const h="<default>",H={};function z(P=H,C){switch(C.type){case a.er.Append:const B=P[C.payload.conversationId],_=C.payload.message,q=B?`${B}\n${_}`:_;return{...P,[C.payload.conversationId]:q};case a.er.Update:return{...P,[C.payload.conversationId]:C.payload.message};case a.er.Remove:return Object.keys(P).reduce((A,X)=>X!==C.payload?{...A,[X]:P[X]}:A,{});default:return P}}},13740:(st,Q,g)=>{"use strict";g.d(Q,{As:()=>yt,D2:()=>Me,J5:()=>_e,KT:()=>he,PR:()=>ct,R4:()=>B,UJ:()=>C,XV:()=>P,ez:()=>xe,j:()=>le,lI:()=>Ne,lS:()=>se,nX:()=>Ie,o3:()=>_,oN:()=>Te});var a=g(52713),h=g(85279),H=g(67322);const z=(0,a.UX)("chat"),P=(0,a.Mz)(z,ke=>ke.identity),C=(0,a.Mz)(z,ke=>ke.connected),B=(0,a.Mz)(z,ke=>ke.currentView),_=(0,a.Mz)(z,ke=>ke.currentView===h.KI.Archived),q=(0,a.Mz)(z,ke=>ke.currentView),R=((0,a.Mz)(z,ke=>ke.currentView===h.KI.Waiting),(0,a.Mz)(z,ke=>ke.currentView===h.KI.New),(0,a.Mz)(z,ke=>Object.keys(ke.conversations).map(Ze=>ke.conversations[Ze]))),se=((0,a.Mz)(z,ke=>ke.loading),(0,a.Mz)(R,q,(ke,Ze)=>ke.filter(Ve=>{switch(Ze){case h.KI.Archived:return Ve.isArchived||!!Ve.earmark;case h.KI.New:return!Ve.isWaiting&&!Ve.isArchived;case h.KI.Open:return!Ve.isArchived;case h.KI.Waiting:return Ve.isWaiting&&!Ve.isArchived}}))),_e=(0,a.Mz)(R,ke=>ke.filter(Ze=>!Ze.isArchived)),le=(0,a.Mz)(R,ke=>ke.filter(Ze=>Ze.isArchived)),Ie=((0,a.Mz)(R,ke=>ke.filter(Ze=>Ze.isWaiting&&!Ze.isArchived&&!!Ze.partner)),(0,a.Mz)(_e,ke=>ke.filter(Ve=>{const Be=Ve.lastMessage;return!!Be&&(Be.status!==h.qp.Read&&(Be.author.type===h.ut.Customer||Be.author.type===h.ut.Anonymous))}).length),ke=>(0,a.Mz)(R,P,(Ze,Ve)=>void 0!==Ze.find(({isArchived:ge,lastMessage:Pe,conversationId:He})=>He===ke&&!ge&&Pe&&Pe.status!==h.qp.Read&&Pe.author.id!==Ve.id))),xe=(0,a.Mz)(z,ke=>ke.messages),Te=(0,a.Mz)(z,ke=>ke.selectedConversationId),Ne=(0,a.Mz)(z,ke=>ke.selectedConversationId?ke.conversations[ke.selectedConversationId]:null),he=(0,a.Mz)(z,ke=>ke.selectedConversationId&&ke.typing[ke.selectedConversationId]||[]),Me=(0,a.Mz)(Ne,ke=>!ke||ke.isArchived),ct=(0,a.Mz)(z,ke=>ke.enteredMessage[ke.selectedConversationId??H.lJ]??""),yt=(0,a.Mz)(z,ke=>Object.values(ke.messages).reduce((Ze,Ve)=>[...Ze,...Ve],[]).filter(Ze=>Ze.status===h.qp.Pending))},56359:(st,Q,g)=>{"use strict";g.d(Q,{P:()=>a});class a{}},30958:(st,Q,g)=>{"use strict";g.d(Q,{V:()=>Tt});var a=g(58527),h=g(23818),H=g(56106),z=g(77392),P=g(62997),C=g(84975),B=g(60494),_=g(17796),q=g(56359),A=g(85279),X=g(63752),R=g(84284),ne=g(41904),se=g(89898),_e=g(23583),le=g(52490),Re=g(78374),Le=g(73466),Ie=g(5026);function xe($e,rt){if(1&$e){const tt=a.RV6();a.j41(0,"div",2),a.bIt("click",function(_t){a.eBV(tt);const on=a.XpG();
3return a.Njj(on.loadOnClick&&on.requestThumbnail(_t))}),a.j41(1,"div",3),a.nrm(2,"frontend-image",4),a.k0s()()}2&$e&&(a.R7$(2),a.Y8G("stretchToContainer",!0))}let Te=(()=>{class $e{document;profileId;preload=!1;loadOnClick=!1;onLoaded=new a.bkB;onError=new a.bkB;imageData;hideLoaderButton;attachmentDataService=(0,a.WQX)(q.P);ngOnInit(){this.preload&&this.loadThumbnail()}requestThumbnail(tt){tt.stopPropagation(),tt.preventDefault(),this.loadThumbnail()}loadThumbnail(){this.hideLoaderButton=!0,this.attachmentDataService.getDocumentThumbnail(this.profileId,this.document).pipe((0,Re.s)(1)).subscribe(tt=>{this.imageData="data:image/jpeg;base64,"+le.iI(new Uint8Array(tt)),this.onLoaded.emit()},tt=>{this.onError.emit(`Not able to retrieve thumbnail for document ${this.document.uuid} with error ${JSON.stringify(tt)}`)})}static \u0275fac=function(nt){return new(nt||$e)};static \u0275cmp=a.VBU({type:$e,selectors:[["wa-chat-attachment-document-thumbnail"]],inputs:{document:"document",profileId:"profileId",preload:"preload",loadOnClick:"loadOnClick"},outputs:{onLoaded:"onLoaded",onError:"onError"},decls:2,vars:2,consts:[["altText","Document thumbnail",3,"imageData"],[1,"load-thumbnail-container"],[1,"load-thumbnail-container",3,"click"],[1,"load-thumbnail"],["type","svg","file","icon-document.svg",1,"placeholder-image",3,"stretchToContainer"]],template:function(nt,_t){1&nt&&(a.nrm(0,"frontend-thumbnail",0),a.DNE(1,xe,3,1,"div",1)),2&nt&&(a.Y8G("imageData",_t.imageData),a.R7$(),a.vxM(_t.hideLoaderButton?-1:1))},dependencies:[Le.h,Ie.Y],styles:["[_nghost-%COMP%]{position:relative}[_nghost-%COMP%]   .load-thumbnail-container[_ngcontent-%COMP%]{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}[_nghost-%COMP%]   .load-thumbnail-container[_ngcontent-%COMP%]   .load-thumbnail[_ngcontent-%COMP%]{z-index:2;width:20px;height:20px;cursor:pointer}[_nghost-%COMP%]   .load-thumbnail-container[_ngcontent-%COMP%]   .load-thumbnail[_ngcontent-%COMP%]   .placeholder-image[_ngcontent-%COMP%]{color:var(--sec-light-100)}"]})}return $e})();var Ne=g(61142),he=g(46628),Me=g(6622);let ct=(()=>{class $e{transform(tt,nt){return tt.some(_t=>new RegExp(nt,"i").test(_t.name))}static \u0275fac=function(nt){return new(nt||$e)};static \u0275pipe=a.EJ8({name:"areDocumentsVisibleByName",type:$e,pure:!0})}return $e})(),yt=(()=>{class $e{transform(tt,nt){return new RegExp(nt,"i").test(tt.name)}
3static \u0275fac=function(nt){return new(nt||$e)};static \u0275pipe=a.EJ8({name:"isDocumentVisibleByName",type:$e,pure:!0})}return $e})(),Se=(()=>{class $e{transform(tt,nt){return tt.documents.some(_t=>new RegExp(nt,"i").test(_t.name))}static \u0275fac=function(nt){return new(nt||$e)};static \u0275pipe=a.EJ8({name:"isDocumentsGroupVisibleByName",type:$e,pure:!0})}return $e})();function ke($e,rt){1&$e&&(a.j41(0,"div",9)(1,"span"),a.EFF(2,"Keine Ergebnisse gefunden"),a.k0s()())}function Ze($e,rt){if(1&$e){const tt=a.RV6();a.j41(0,"div",22),a.nI1(1,"isDocumentVisibleByName"),a.bIt("click",function(){const _t=a.eBV(tt).$implicit,on=a.XpG(3);return a.Njj(on.selectDocument(_t))}),a.j41(2,"wa-chat-attachment-document-thumbnail",23),a.bIt("click",function(){const _t=a.eBV(tt).$implicit,on=a.XpG(3);return a.Njj(on.previewDocument(_t))}),a.k0s(),a.j41(3,"div",24)(4,"h6",25),a.EFF(5),a.k0s()(),a.j41(6,"div",26)(7,"label",27),a.nrm(8,"input",28)(9,"span"),a.k0s()()()}if(2&$e){const tt=rt.$implicit,nt=a.XpG(3);a.AVh("hidden",!a.i5U(1,7,tt,nt.attachmentModalForm.value.search)),a.R7$(2),a.Y8G("preload",!0)("document",tt)("profileId",nt.attachmentModalForm.value.profileId),a.R7$(3),a.JRh(tt.name),a.R7$(3),a.Y8G("checked",(null==nt.selectedDocument?null:nt.selectedDocument.uuid)===tt.uuid)}}function Ve($e,rt){if(1&$e&&(a.j41(0,"div",18),a.nI1(1,"isDocumentsGroupVisibleByName"),a.j41(2,"h6",19),a.EFF(3),a.nI1(4,"longDateFormat"),a.k0s(),a.j41(5,"div",20),a.Z7z(6,Ze,10,10,"div",21,a.fX1),a.k0s()()),2&$e){const tt=rt.$implicit,nt=a.XpG(2);a.AVh("hidden",!a.i5U(1,3,tt,nt.attachmentModalForm.value.search)),a.R7$(3),a.SpI(" ",a.bMT(4,6,tt.date)," "),a.R7$(3),a.Dyx(tt.documents)}}function Be($e,rt){1&$e&&a.nrm(0,"frontend-loader",31)}function ge($e,rt){if(1&$e){const tt=a.RV6();a.j41(0,"div",29),a.DNE(1,Be,1,0,"frontend-loader",31),a.j41(2,"wa-chat-attachment-document-thumbnail",32),a.bIt("onLoaded",function(){a.eBV(tt);const _t=a.XpG(3);return a.Njj(_t.fetchingThumbnail=!1)})("onError",function(){a.eBV(tt);const _t=a.XpG(3);return a.Njj(_t.fetchingThumbnail=!1)})("click",function(){a.eBV(tt);const _t=a.XpG(3);return a.Njj(_t.previewDocument(_t.selectedDocument))}),a.k0s()()}if(2&$e){const tt=a.XpG(3);a.R7$(),a.vxM(tt.fetchingThumbnail?1:-1),a.R7$(),a.Y8G("preload",!0)("document",tt.selectedDocument)("profileId",tt.attachmentModalForm.value.profileId)}}function Pe($e,rt){if(1&$e&&(a.j41(0,"div",11),a.DNE(1,ge,3,4,"div",29),a.nrm(2,"textarea",30),a.k0s()),2&$e){const tt=a.XpG(2);a.R7$(),a.vxM(tt.selectedDocument?1:-1)}}function He($e,rt){if(1&$e&&(a.j41(0,"option",36),a.EFF(1),a.k0s()),2&$e){const tt=rt.$implicit;a.Y8G("ngValue",tt.profileId),a.R7$(),a.JRh(tt.name)}}function bt($e,rt){if(1&$e&&(a.j41(0,"div",33)(1,"div",34)(2,"select",35),a.Z7z(3,He,2,2,"option",36,a.fX1),a.k0s()()()),2&$e){const tt=a.XpG(2);a.AVh("hidden",tt.currentStep!==tt.attachmentStep.DocumentSelect),a.R7$(3),a.Dyx(tt.attachmentProfile)}}function Yt($e,rt){if(1&$e){const tt=a.RV6();a.j41(0,"form",0)(1,"frontend-default-modal",3),a.bIt("onDismissClick",function(){a.eBV(tt);const _t=a.XpG();return a.Njj(_t.handleDismiss())}),a.qex(2,4),a.j41(3,"div",5)(4,"div",6),a.nrm(5,"frontend-input",7),a.j41(6,"div",8),a.DNE(7,ke,3,0,"div",9),a.nI1(8,"areDocumentsVisibleByName"),a.Z7z(9,Ve,8,8,"div",10,a.fX1),a.nI1(11,"mapDocumentsToDates"),a.k0s()(),a.DNE(12,Pe,3,1,"div",11),a.k0s(),a.bVm(),a.qex(13,12),a.j41(14,"div",13),a.DNE(15,bt,5,2,"div",14),a.j41(16,"div",15)(17,"frontend-button",16),a.bIt("click",function(){a.eBV(tt);const _t=a.XpG();return a.Njj(_t.handleDismiss())}),a.EFF(18),a.k0s(),a.j41(19,"frontend-button",17),a.bIt("click",function(){a.eBV(tt);const _t=a.XpG();return a.Njj(_t.handleSubmit())}),a.EFF(20),a.k0s()()(),a.bVm(),a.k0s()()}if(2&$e){const tt=rt,nt=a.XpG();a.Y8G("formGroup",nt.attachmentModalForm),a.R7$(4),a.AVh("hidden",nt.currentStep!==nt.attachmentStep.DocumentSelect),a.R7$(3),a.vxM(a.i5U(8,10,tt,nt.attachmentModalForm.value.search)?-1:7),a.R7$(2),a.Dyx(a.bMT(11,13,tt)),a.R7$(3),a.vxM(nt.currentStep===nt.attachmentStep.CommentInput?12:-1),a.R7$(3),a.vxM(nt.attachmentProfile.length>1?15:-1),a.R7$(2),a.Y8G("outlined",!0),a.R7$(),a.SpI(" ",nt.currentStep===nt.attachmentStep.DocumentSelect?"Abbrechen":"Zur\xfcck"," "),a.R7$(),a.Y8G("disabled",nt.currentStep===nt.attachmentStep.DocumentSelect&&!nt.selectedDocument),a.R7$(),a.SpI(" ",nt.currentStep===nt.attachmentStep.DocumentSelect?"Einf\xfcgen":"Senden"," ")}}function sn($e,rt){1&$e&&(a.j41(0,"div",1),a.nrm(1,"frontend-loader",37),a.k0s())}let ft=(()=>{class $e{attachmentStep=A.Q2;fb=(0,a.WQX)(H.Qk);modalData=(0,a.WQX)(h.e5);preview$=new z.B;attachmentModalForm=this.fb.group({search:"",comment:this.modalData.initialMessage??"",profileId:this.modalData.attachmentProfile[0].profileId});selectedDocument=null;documents$;currentStep=A.Q2.DocumentSelect;fetchingThumbnail=!1;attachmentProfile=this.modalData.attachmentProfile;modalInstance=(0,a.WQX)(h.g7);attachmentDataService=(0,a.WQX)(q.P);ngOnInit(){this.documents$=this.attachmentModalForm.controls.profileId.valueChanges.pipe((0,P.Z)(this.modalData.attachmentProfile[0].profileId),(0,C.n)(tt=>
3this.attachmentDataService.getUserDocuments(tt).pipe((0,B.W)(()=>(0,_.of)([])))))}closeModal(){this.modalInstance.dismiss()}selectDocument(tt){this.selectedDocument=tt}handleDismiss(){this.currentStep===A.Q2.DocumentSelect?this.closeModal():(this.currentStep=A.Q2.DocumentSelect,this.fetchingThumbnail=!1)}handleSubmit(){if(this.currentStep===A.Q2.DocumentSelect)return this.currentStep=A.Q2.CommentInput,void(this.fetchingThumbnail=!0);this.selectedDocument&&this.modalInstance.close({content:this.attachmentModalForm.value.comment||"",documentId:this.selectedDocument.uuid,documentOwnerProfileId:this.attachmentModalForm.getRawValue().profileId,documentTitle:this.selectedDocument.name})}previewDocument(tt){this.preview$.next({name:tt.name,path:this.attachmentDataService.getAggregatedUserDocumentUrl(this.attachmentModalForm.getRawValue().profileId,tt)})}static \u0275fac=function(nt){return new(nt||$e)};static \u0275cmp=a.VBU({type:$e,selectors:[["wa-chat-attachment-modal"]],decls:4,vars:4,consts:[[3,"formGroup"],[1,"loader-container"],["transparentOverlay","true","closeOnOutsideClick","true","data-cy","modal-attachment-customer-document-preview",3,"filePreview$"],["title","Dokumente",3,"onDismissClick"],["modalBody",""],[1,"attachment-modal-body"],[1,"attachment-modal-body-documents-list-wrapper"],["type","text","placeholder","Suche","formControlName","search","data-cy","modal-attachment-search-input",1,"search-input-element"],[1,"attachment-modal-body-documents-list"],[1,"no-search-results"],[1,"attachment-modal-body-documents-list-group",3,"hidden"],[1,"attachment-modal-body-comment-section"],["modalFooter",""],[1,"attachment-modal-footer"],[1,"otto-form-element",3,"hidden"],[1,"buttons"],["color","grey","data-cy","modal-attachment-back-button",1,"action-button",3,"click","outlined"],["data-cy","modal-attachment-proceed-button",1,"action-button",3,"click","disabled"],[1,"attachment-modal-body-documents-list-group"],[1,"document-date"],[1,"file-list"],[1,"attachment-modal-body-documents-list-item",3,"hidden"],[1,"attachment-modal-body-documents-list-item",3,"click"],[1,"item-document-thumbnail-container",3,"click","preload","document","profileId"],[1,"document-info-container"],[1,"h6"],[1,"control-container"],[1,"radio"],["type","radio",1,"radio",3,"checked"],[1,"selected-document-thumbnail-container"],["rows","5","placeholder","Bemerkungen...","formControlName","comment","data-cy","modal-attachment-comment-input",1,"comment-field"],["size","md"],[1,"selected-document-thumbnail",3,"onLoaded","onError","click","preload","document","profileId"],[1,"otto-form-element"],[1,"otto-field-wrapper","otto-select"],["required","","formControlName","profileId",1,"otto-field"],[3,"ngValue"],["size","lg"]],template:function(nt,_t){if(1&nt&&(a.DNE(0,Yt,21,15,"form",0),a.nI1(1,"async"),a.DNE(2,sn,2,0,"div",1),a.nrm(3,"frontend-file-preview",2)),2&nt){let on;a.vxM((on=a.bMT(1,2,_t.documents$))?0:2,on),a.R7$(3),a.Y8G("filePreview$",_t.preview$)}},dependencies:[X.Q,H.qT,H.xH,H.y7,H.me,H.wz,H.BC,H.cb,H.YS,H.j4,H.JD,R.S,ne.V,se.M,_e.o,Te,Ne.Jj,he.U,Me.K,ct,yt,Se],styles:['h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%], .h1[_ngcontent-%COMP%], .h2[_ngcontent-%COMP%], .h3[_ngcontent-%COMP%], .h4[_ngcontent-%COMP%], .h5[_ngcontent-%COMP%], .h6[_ngcontent-%COMP%]{font-family:inherit;color:var(--text-heading);line-height:1.25}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], .h1[_ngcontent-%COMP%], .h2[_ngcontent-%COMP%], .h3[_ngcontent-%COMP%]{font-weight:900}h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%], .h4[_ngcontent-%COMP%], .h5[_ngcontent-%COMP%], .h6[_ngcontent-%COMP%]{font-weight:700}h1[_ngcontent-%COMP%], .h1[_ngcontent-%COMP%]{font-size:50px;margin:24px 0}@media (max-width: 991px){h1[_ngcontent-%COMP%], .h1[_ngcontent-%COMP%]{font-size:40px}}@media (max-width: 767px){h1[_ngcontent-%COMP%], .h1[_ngcontent-%COMP%]{font-size:32px}}@media (max-width: 575px){h1[_ngcontent-%COMP%], .h1[_ngcontent-%COMP%]{font-size:28px}}@media (max-width: 320px){h1[_ngcontent-%COMP%], .h1[_ngcontent-%COMP%]{font-size:24px}}h2[_ngcontent-%COMP%], .h2[_ngcontent-%COMP%]{font-size:40px;margin:20px 0}@media (max-width: 991px){h2[_ngcontent-%COMP%], .h2[_ngcontent-%COMP%]{font-size:32px}}@media (max-width: 767px){h2[_ngcontent-%COMP%], .h2[_ngcontent-%COMP%]{font-size:28px}}@media (max-width: 575px){h2[_ngcontent-%COMP%], .h2[_ngcontent-%COMP%]{font-size:26px}}@media (max-width: 320px){h2[_ngcontent-%COMP%], .h2[_ngcontent-%COMP%]{font-size:22px}}h3[_ngcontent-%COMP%], .h3[_ngcontent-%COMP%]{font-size:32px;margin:12px 0}@media (max-width: 991px){h3[_ngcontent-%COMP%], .h3[_ngcontent-%COMP%]{font-size:24px}}h4[_ngcontent-%COMP%], .h4[_ngcontent-%COMP%]{font-size:24px;margin:12px 0}@media (max-width: 991px){h4[_ngcontent-%COMP%], .h4[_ngcontent-%COMP%]{font-size:20px}}h5[_ngcontent-%COMP%], .h5[_ngcontent-%COMP%]{font-size:20px;margin:8px 0}@media (max-width: 991px){h5[_ngcontent-%COMP%], .h5[_ngcontent-%COMP%]{font-size:18px}}h6[_ngcontent-%COMP%], .h6[_ngcontent-%COMP%]{font-size:16px;margin:4px 0}.caption[_ngcontent-%COMP%]{font-size:12px;text-transform:uppercase;font-weight:900;display:block;letter-spacing:.5px;color:var(--text-light);margin:16px 0}.label[_ngcontent-%COMP%]{font-size:14px;line-height:18px;font-weight:700;display:block;color:var(--text);margin:0 0 2px}p[_ngcontent-%COMP%]{margin:0 0 20px}p.subline[_ngcontent-%COMP%]{font-size:24px}@media (max-width: 991px){p.subline[_ngcontent-%COMP%]{font-size:20px}}@media (max-width: 767px){p.subline[_ngcontent-%COMP%]{font-size:16px}}p.copy[_ngcontent-%COMP%]{font-size:20px}@media (max-width: 767px){p.copy[_ngcontent-%COMP%]{font-size:16px}}p[_ngcontent-%COMP%]:empty{display:none}p.quote[_ngcontent-%COMP%]{font-family:Merriweather,serif;line-height:1.8;font-size:20px}@media (max-width: 767px){p.quote[_ngcontent-%COMP%]{font-size:16px}}.checkbox[_ngcontent-%COMP%], .radio[_ngcontent-%COMP%], .switch[_ngcontent-%COMP%], .radio-button[_ngcontent-%COMP%]{--active: var(--primary);--focus-shadow: var(--focus-shadow-gray);--active-inner: #fff;--input-border: var(--border);--input-border-hover: var(--border-dark);--background: #fff;display:table;margin:0 0 12px;cursor:pointer}.checkbox.gold[_ngcontent-%COMP%], .radio.gold[_ngcontent-%COMP%], .switch.gold[_ngcontent-%COMP%], .radio-button.gold[_ngcontent-%COMP%]{--active: var(--satisfaction-strong)}.checkbox.expats[_ngcontent-%COMP%], .radio.expats[_ngcontent-%COMP%], .switch.expats[_ngcontent-%COMP%], .radio-button.expats[_ngcontent-%COMP%]{--active: var(--expats)}.checkbox.inline[_ngcontent-%COMP%], .radio.inline[_ngcontent-%COMP%], .switch.inline[_ngcontent-%COMP%], .radio-button.inl
3ine[_ngcontent-%COMP%]{margin:0 12px 0 0;display:inline-block}.checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%], .radio[_ngcontent-%COMP%] > input[_ngcontent-%COMP%], .switch[_ngcontent-%COMP%] > input[_ngcontent-%COMP%], .radio-button[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]{position:absolute;opacity:0}.checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%], .radio[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%], .switch[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%], .radio-button[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]{color:var(--text);min-height:21px;line-height:21px;font-size:14px;font-weight:500;outline:none;position:relative;display:block}.checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before, .checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:after, .radio[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before, .radio[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:after, .switch[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before, .switch[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:after, .radio-button[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before, .radio-button[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:after{content:"";display:block;left:0;top:0;position:absolute}.checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before, .radio[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before, .switch[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before, .radio-button[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before{height:21px;border:1px solid var(--input-border);background:var(--background);transition:background .3s ease,border-color .3s ease}.checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:after, .radio[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:after, .switch[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:after, .radio-button[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:after{transition:transform .3s ease,opacity .2s ease}.checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:before, .radio[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:before, .switch[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:before, .radio-button[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:before{background:var(--active);border-color:var(--active)}.checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:after, .radio[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:after, .switch[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:after, .radio-button[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:after{transition:opacity .3s ease,transform .6s cubic-bezier(.175,.88,.32,1.2)}.checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:disabled + span[_ngcontent-%COMP%], .radio[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:disabled + span[_ngcontent-%COMP%], .switch[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:disabled + span[_ngcontent-%COMP%], .radio-button[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:disabled + span[_ngcontent-%COMP%]{cursor:not-allowed;opacity:.8;color:var(--text-light)}.checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:disabled + span[_ngcontent-%COMP%]:before, .radio[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:disabled + span[_ngcontent-%COMP%]:before, .switch[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:disabled + span[_ngcontent-%COMP%]:before, .radio-button[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:disabled + span[_ngcontent-%COMP%]:before{background:var(--disabled)}.checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:disabled:checked + span[_ngcontent-%COMP%]:before, .radio[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:disabled:checked + span[_ngcontent-%COMP%]:before, .switch[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:disabled:checked + span[_ngcontent-%COMP%]:before, .radio-button[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:disabled:checked + span[_ngcontent-%COMP%]:before{background:var(--sec-light-20);border-color:var(--border)}.checkbox[_ngcontent-%COMP%]:hover > input[_ngcontent-%COMP%]:not(:checked):not(:disabled) + span[_ngcontent-%COMP%]:before, .radio[_ngcontent-%COMP%]:hover > input[_ngcontent-%COMP%]:not(:checked):not(:disabled) + span[_ngcontent-%COMP%]:before, .switch[_ngcontent-%COMP%]:hover > input[_ngcontent-%COMP%]:not(:checked):not(:disabled) + span[_ngcontent-%COMP%]:before, .radio-button[_ngcontent-%COMP%]:hover > input[_ngcontent-%COMP%]:not(:checked):not(:disabled) + span[_ngcontent-%COMP%]:before{border-color:var(--input-border-hover)}.checkbox[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus-visible + span[_ngcontent-%COMP%]:before, .radio[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus-visible + span[_ngcontent-%COMP%]:before, .switch[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus-visible + span[_ngcontent-%COMP%]:before{outline:3px solid var(--active);outline-offset:3px}.checkbox[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:before, .checkbox[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:indeterminate + span[_ngcontent-%COMP%]:before, .radio[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:before, .radio[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:indeterminate + span[_ngcontent-%COMP%]:before, .switch[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:before, .switch[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:indeterminate + span[_ngcontent-%COMP%]:before{--focus-shadow: var(--focus-shadow-active)}
3.radio-button[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus-visible + span[_ngcontent-%COMP%]{outline:3px solid var(--active);outline-offset:3px}.checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%], .radio[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%], .radio-button[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]{padding-left:21px}.checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:not(:empty), .radio[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:not(:empty), .radio-button[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:not(:empty){padding-left:29px}.checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before, .radio[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before, .radio-button[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before{width:21px}.checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:after, .radio[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:after, .radio-button[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:after{opacity:0}.checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:after, .radio[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:after, .radio-button[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:after{opacity:1}.checkbox[_ngcontent-%COMP%]{margin-bottom:0}.checkbox.wide[_ngcontent-%COMP%]{width:100%}.checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before{border-radius:var(--border-radius-xs)}.checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:after{--s: .7;width:11px;height:9px;left:5px;top:6px;transform:scale(var(--s));background-image:url(\'data:image/svg+xml;utf8,<svg width="11" height="9" viewBox="0 0 11 9" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 5.5L4 8L10 1" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>\')}.checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:after{--s: 1}.checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:indeterminate + span[_ngcontent-%COMP%]:before{background:var(--active);border-color:var(--active)}.checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:indeterminate + span[_ngcontent-%COMP%]:after{width:11px;left:5px;height:3px;border-radius:2px;top:9px;background:var(--active-inner);border:0;opacity:1;transform:rotate(0) scaleY(.7)}.checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:indeterminate + span[_ngcontent-%COMP%]:hover:before{border-color:var(--active)}.checkbox.download-checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:after{display:none}.checkbox.download-checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%], .checkbox.download-checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]   .check[_ngcontent-%COMP%]{position:absolute;fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:2;color:#fff}.checkbox.download-checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]   .check[_ngcontent-%COMP%]{left:3px;top:3px;width:13px;height:13px;opacity:var(--check-opacity, 0);transition:opacity 0s ease .6s}.checkbox.download-checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]   .check[_ngcontent-%COMP%]   path[_ngcontent-%COMP%]{stroke-dasharray:var(--check-dasharray, 37 37 0);stroke-dashoffset:var(--check-dashoffset, 67);transition:stroke-dasharray .3s ease-in .3s,stroke-dashoffset .3s ease-in .3s}.checkbox.download-checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]{left:6px;top:var(--arrow-y, 5px);width:9px;height:11px;opacity:var(--o, 0);animation:_ngcontent-%COMP%_dl-arrow-bounce .3s alternate infinite ease-in .6s;transition:top .3s ease-out .6s,opacity .3s ease}.checkbox.download-checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]   path[_ngcontent-%COMP%]{transform:scale(var(--s, .7));transform-origin:center;opacity:var(--arrow-path-opacity, 1);transition:transform .6s cubic-bezier(.175,.88,.32,1.2),stroke-dasharray .3s ease-out .6s,stroke-dashoffset .3s ease-out .6s,opacity 0s ease .6s}.checkbox.download-checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]   path[_ngcontent-%COMP%]:nth-child(1){stroke-dasharray:var(--arrow-dasharray-1, 11 11);stroke-dashoffset:var(--arrow-dashoffset-1, 22)}.checkbox.download-checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]   path[_ngcontent-%COMP%]:nth-child(2){stroke-dasharray:var(--arrow-dasharray-2, 11 11);stroke-dashoffset:var(--arrow-dashoffset-2, 1)}@keyframes _ngcontent-%COMP%_dl-arrow-bounce{0%{transform:translateY(-1px)}to{transform:translateY(1px) scale(1.1,.9)}}.checkbox.download-checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]{--s: 1;--o: 1}.checkbox.download-checkbox.done[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]{--check-dasharray: 37 37 13;--check-dashoffset: 51;--check-opacity: 1;--arrow-dasharray-1: 0 11;--arrow-dashoffset-1: 6;--arrow-dasharray-2: 0 11;--arrow-y: -2px;--arrow-path-opacity: 0}.checkbox.download-checkbox.done[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]   .check[_ngcontent-%COMP%]{transition:opacity 0s ease .3s}.checkbox.download-checkbox.done[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]   .check[_ngcontent-%COMP%]   path[_ngcontent-%COMP%]{transition:stroke-dasharray .4s ease-out .3s,stroke-dashoffset .4s ease-out .3s}.checkbox.download-checkbox.done[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]{transition:top .3s ease-in,opacity .3s ease}.checkbox.download-checkbox.done[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]   path[_ngcontent-%COMP%]{transition:transform .6s cubic-bezier(.175,.88,.32,1.2),stroke-dasharray .3s ease-in,stroke-dashoffset .3s ease-in,opacity 0s ease .3s}.radio.wide[_ngcontent-%COMP%]{width:100%}.radio[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before, .radio[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:after, .radio-button[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before, .radio-button[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:after{border-radius:50%}.radio[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:after, .radio-button[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:after{width:21px;height:21px;background:var(--active-inner);transform:scale(.91);opacity:1}.radio[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:after, .radio-button[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:after{background:var(--active-inner);transform:scale(.4)}.radio-button.answer[_ngcontent-%COMP%]{text-align:center}.radio-button.answer[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]{padding:11px 16px;color:var(--sec-light-60);font-size:16px;font-weight:600;background-color:var(--white);border-width:1px;border-color:var(--sec-light-20);border-radius:var(--border-radius-sm);box-shadow:none;transition:border 0s}.radio-button.answer[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before, .radio-button.answer[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:after{display:none}.radio-button.answer[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%], .radio-button.answer[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:hover + span[_ngcontent-%COMP%]{color:var(--white);background-color:var(--active);border-color:var(--active)}
3.switch[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]{padding-left:38px}.switch[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:not(:empty){padding-left:46px}.switch[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before{width:38px;border-radius:11px}.switch[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:after{left:3px;top:3px;border-radius:50%;width:15px;height:15px;background:var(--input-border)}.switch[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:after{background:var(--active-inner);transform:translate(17px)}.switch[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:disabled:not(:checked) + span[_ngcontent-%COMP%]:after{background:var(--sec-light-20)}.attachment-modal-header[_ngcontent-%COMP%]{padding:20px 30px 10px;border-top-left-radius:var(--border-radius-md);border-top-right-radius:var(--border-radius-md)}.attachment-modal-header[_ngcontent-%COMP%]   .attachment-modal-header-title[_ngcontent-%COMP%]{margin-bottom:0;color:var(--text-heading)}.attachment-modal-body[_ngcontent-%COMP%], .attachment-modal-body[_ngcontent-%COMP%]   .attachment-modal-body-documents-list-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column}.attachment-modal-body[_ngcontent-%COMP%]   .attachment-modal-body-documents-list-wrapper[_ngcontent-%COMP%]   .search-input-element[_ngcontent-%COMP%]{margin-bottom:22px}.attachment-modal-body[_ngcontent-%COMP%]   .attachment-modal-body-documents-list-wrapper.hidden[_ngcontent-%COMP%]{overflow:hidden;height:0;min-height:0;padding:0;margin:0;opacity:0}.attachment-modal-body[_ngcontent-%COMP%]   .attachment-modal-body-documents-list-wrapper[_ngcontent-%COMP%]   .attachment-modal-body-documents-list[_ngcontent-%COMP%]{display:flex;height:400px;flex-direction:column;overflow-y:auto}.attachment-modal-body[_ngcontent-%COMP%]   .attachment-modal-body-documents-list-wrapper[_ngcontent-%COMP%]   .attachment-modal-body-documents-list[_ngcontent-%COMP%]   .attachment-modal-body-documents-list-group.hidden[_ngcontent-%COMP%]{overflow:hidden;height:0;min-height:0;padding:0;margin:0;opacity:0}.attachment-modal-body[_ngcontent-%COMP%]   .attachment-modal-body-documents-list-wrapper[_ngcontent-%COMP%]   .attachment-modal-body-documents-list[_ngcontent-%COMP%]   .no-search-results[_ngcontent-%COMP%]{display:flex;height:100%;align-items:center;justify-content:center;color:var(--sec-light-60);font-size:16px;font-weight:500}.attachment-modal-body[_ngcontent-%COMP%]   .attachment-modal-body-documents-list-wrapper[_ngcontent-%COMP%]   .attachment-modal-body-documents-list[_ngcontent-%COMP%]   .document-date[_ngcontent-%COMP%]{color:var(--text-heading);font-weight:600}.attachment-modal-body[_ngcontent-%COMP%]   .attachment-modal-body-documents-list-wrapper[_ngcontent-%COMP%]   .attachment-modal-body-documents-list[_ngcontent-%COMP%]   .document-date[_ngcontent-%COMP%]:not(:first-child){margin-top:24px}.attachment-modal-body[_ngcontent-%COMP%]   .attachment-modal-body-documents-list-wrapper[_ngcontent-%COMP%]   .attachment-modal-body-documents-list[_ngcontent-%COMP%]   .attachment-modal-body-documents-list-item[_ngcontent-%COMP%]{display:flex;overflow:hidden;min-height:80px;align-items:center;padding:10px 20px;margin-bottom:8px;border-radius:var(--border-radius-md);cursor:pointer}.attachment-modal-body[_ngcontent-%COMP%]   .attachment-modal-body-documents-list-wrapper[_ngcontent-%COMP%]   .attachment-modal-body-documents-list[_ngcontent-%COMP%]   .attachment-modal-body-documents-list-item.hidden[_ngcontent-%COMP%]{overflow:hidden;height:0;min-height:0;padding:0;margin:0;opacity:0}.attachment-modal-body[_ngcontent-%COMP%]   .attachment-modal-body-documents-list-wrapper[_ngcontent-%COMP%]   .attachment-modal-body-documents-list[_ngcontent-%COMP%]   .attachment-modal-body-documents-list-item[_ngcontent-%COMP%]:hover{background-color:var(--sec-light-05)}.attachment-modal-body[_ngcontent-%COMP%]   .attachment-modal-body-documents-list-wrapper[_ngcontent-%COMP%]   .attachment-modal-body-documents-list[_ngcontent-%COMP%]   .attachment-modal-body-documents-list-item[_ngcontent-%COMP%]   .item-document-thumbnail-container[_ngcontent-%COMP%]{width:48px;min-width:48px;height:48px;margin-right:10px}.attachment-modal-body[_ngcontent-%COMP%]   .attachment-modal-body-documents-list-wrapper[_ngcontent-%COMP%]   .attachment-modal-body-documents-list[_ngcontent-%COMP%]   .attachment-modal-body-documents-list-item[_ngcontent-%COMP%]   .document-info-container[_ngcontent-%COMP%]{flex:1}.attachment-modal-body[_ngcontent-%COMP%]   .attachment-modal-body-documents-list-wrapper[_ngcontent-%COMP%]   .attachment-modal-body-documents-list[_ngcontent-%COMP%]   .attachment-modal-body-documents-list-item[_ngcontent-%COMP%]   .control-container[_ngcontent-%COMP%] > .radio[_ngcontent-%COMP%]{margin:0}.attachment-modal-body[_ngcontent-%COMP%]   .attachment-modal-body-comment-section[_ngcontent-%COMP%]   .selected-document-thumbnail-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;padding:8px 20px 20px;text-align:center}.attachment-modal-body[_ngcontent-%COMP%]   .attachment-modal-body-comment-section[_ngcontent-%COMP%]   .selected-document-thumbnail-container[_ngcontent-%COMP%]   .selected-document-thumbnail[_ngcontent-%COMP%]{max-width:250px;height:100%;cursor:pointer}.attachment-modal-body[_ngcontent-%COMP%]   .attachment-modal-body-comment-section[_ngcontent-%COMP%]   .comment-field[_ngcontent-%COMP%]{overflow:auto;width:100%;padding:16px 20px;border:1px solid var(--border);border-radius:var(--border-radius-xs);font-size:20px;line-height:25px;outline:none;resize:vertical}.attachment-modal-body[_ngcontent-%COMP%]   .attachment-modal-body-comment-section[_ngcontent-%COMP%]   .comment-field[_ngcontent-%COMP%]:focus{border-color:var(--primary)}.otto-form-element.hidden[_ngcontent-%COMP%]{overflow:hidden;height:0;min-height:0;padding:0;margin:0;opacity:0}
3.attachment-modal-footer[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;background-color:var(--sec-light-02);border-bottom-left-radius:var(--border-radius-md);border-bottom-right-radius:var(--border-radius-md)}.attachment-modal-footer[_ngcontent-%COMP%]   .buttons[_ngcontent-%COMP%]{display:flex;flex:1;justify-content:flex-end}.attachment-modal-footer[_ngcontent-%COMP%]   .action-button[_ngcontent-%COMP%]:not(:last-child){margin-right:10px}.loader-container[_ngcontent-%COMP%]{display:flex;height:350px;align-items:center;justify-content:center}']})}return $e})(),Tt=(()=>{class $e{modalService=(0,a.WQX)(h.Bg);attachDocument(tt,nt,_t){return this.modalService.show(ft,{data:{attachmentProfile:_t||[{profileId:tt.profileId,name:tt.client.name}],initialMessage:nt}})}static \u0275fac=function(nt){return new(nt||$e)};static \u0275prov=a.jDH({token:$e,factory:$e.\u0275fac})}return $e})()},48181:(st,Q,g)=>{"use strict";g.d(Q,{T:()=>Ve});var a=g(61142),h=g(58527),H=g(45768),z=g(65377),P=g(52713),C=g(21252),B=g(6663),_=g(60494),q=g(17796),A=g(20316),X=g(97293),R=g(77392),ne=g(92411),se=g(20223),le=g(50106),Re=g(78374),Le=g(8682),Ie=g(27896),xe=g(56631),Te=g(40058),Ne=g(67322),he=g(13740),Me=g(85279),ct=g(84638),yt=g(51405),Se=g(46524),ke=g(45780),Ze=g(31555);let Ve=(()=>{class Be{static defaultSorter(Pe,He){return new Date(Pe.lastMessage.timestamp)>new Date(He.lastMessage.timestamp)?-1:new Date(Pe.lastMessage.timestamp)<new Date(He.lastMessage.timestamp)?1:0}static archiveSorter(Pe,He){return Be.unreadConversation(Pe)&&!Be.unreadConversation(He)?-1:!Be.unreadConversation(Pe)&&Be.unreadConversation(He)?1:!Pe.categoryId&&He.categoryId?Be.unreadConversation(Pe)?0:-1:Pe.categoryId&&!He.categoryId?Be.unreadConversation(He)?0:1:new Date(Pe.lastMessage.timestamp)>new Date(He.lastMessage.timestamp)?-1:new Date(Pe.lastMessage.timestamp)<new Date(He.lastMessage.timestamp)?1:0}static unreadConversation(Pe){const He=Pe.lastMessage;return!!He&&(He.status!==Me.qp.Read&&(He.author.type===Me.ut.Customer||He.author.type===Me.ut.Anonymous))}identity;formSizeChanged=new h.bkB;chatUri=(0,h.WQX)(yt.wQ);chatSocketPath=(0,h.WQX)(yt.h4);socketService=(0,h.WQX)(Ze.L);store=(0,h.WQX)(P.il);eventsService=(0,h.WQX)(Se.H);identityService=(0,h.WQX)(ke.R);document=(0,h.WQX)(a.qQ);router=(0,h.WQX)(z.Ix);chatServerReconnectTimeout=(0,h.WQX)(yt.f1);conversationId=this.store.selectSignal(he.oN);get isConnected(){return this.socketService.isConnected}constructor(){this.identityService.userIdentity().pipe((0,C.M)(Pe=>this.identityChanged(Pe)),(0,H.pQ)()).subscribe()}start(){const Pe=new URL(this.chatUri).origin;this.socketService.init(Pe,this.getConnectionOptions()),this.eventsService.start()}typing(Pe){const He=this.conversationId();"string"==typeof Pe&&(He&&this.socketService.emit$(ct.y.TYPING,{conversationId:He}).subscribe(),this.store.dispatch(new Ie.v2({conversationId:He??Ne.lJ,message:Pe})))}sendTextMessage(Pe,He){const bt=He??this.conversationId();if(!bt)return void console.warn("No conversation ID provided for sending text message");const Yt=crypto.randomUUID(),sn={conversationId:bt,messageId:Yt,sendId:Yt,type:"text",data:Pe,status:Me.qp.Pending,timestamp:(new Date).toISOString(),author:{...this.identity.authorPayload()}};this.sendMessage(sn)}sendDocumentMessage(Pe,He){const bt=He??this.conversationId();if(!bt)return void console.warn("No conversation ID provided for sending text message");const Yt=crypto.randomUUID(),sn={conversationId:bt,messageId:Yt,sendId:Yt,type:"document",data:Pe,status:Me.qp.Pending,timestamp:(new Date).toISOString(),author:{...this.identity.authorPayload()}};this.sendMessage(sn)}emitMessage(Pe){return this.socketService.emit$(ct.y.MESSAGE,Pe).pipe((0,B.T)(He=>[new Te.ZP(He)]),(0,_.W)(()=>(0,q.of)([new Te.dV({messageId:Pe.messageId,conversationId:Pe.conversationId})])))}markMessageRead(Pe,He){this.updateMessageStatus(Pe,He,Me.qp.Read)}closeConversationRequest(Pe){return(0,A._)(this.socketService.emit$(ct.y.CLOSE_CONVERSATION_REQUEST,{conversationId:Pe}))}closeConversation(Pe,He,bt){return(0,A._)(this.socketService.emit$(ct.y.CLOSE_CONVERSATION,{rating:He,messageId:bt,conversationId:Pe??this.conversationId()}))}setWaitingStatus(Pe=!0){this.socketService.emit$(ct.y.SET_WAITING_CONVERSATION,{conversationId:this.conversationId(),isWaiting:Pe}).subscribe()}chatActivated(){return!!this.document?.hasFocus()&&!!this.router?.url.includes("/chat/")}deselectLastConversation(){const He=this.store.selectSignal(he.lI)()?.conversationId;He&&this.store.dispatch((0,Le.H$)({conversationId:He}))}identityChanged(Pe){const He=this.identity?.id!==Pe.id;if(this.store.dispatch(new xe.bj(Pe)),this.identity=Pe,Pe.type===Me.ut.Anonymous)return void this.socketService.disconnect();const{isInitialized:bt,isConnected:Yt}=this.socketService;(He||!Yt&&bt)&&(this.reconnect(),this.store.dispatch(new xe.lK(Pe)))}reconnect(){const{isConnected:Pe}=this.socketService;Pe&&this.socketService.disconnect(),this.start()}sendMessage(Pe){this.store.dispatch(new Te.AO(Pe)),this.emitMessage(Pe).subscribe(He=>He.forEach(bt=>this.store.dispatch(bt)))}updateMessageStatus(Pe,He,bt){this.socketService.emit$(ct.y.UPDATE_MESSAGE_STATUS,{conversationId:Pe,messageId:He,status:bt}).pipe((0,C.M)(()=>this.store.dispatch(new Te.jj({conversationId:Pe,messageId:He,status:bt}))),function _e(Be){return(0,ne.N)((ge,Pe)=>{let He,Yt,bt=!1;const sn=()=>{He=ge.subscribe((0,se._)(Pe,void 0,void 0,ft=>{Yt||(Yt=new R.B,(0,X.Tg)(Be(Yt)).subscribe((0,se._)(Pe,()=>He?sn():bt=!0))),Yt&&Yt.next(ft)})),bt&&(He.unsubscribe(),He=null,bt=!1,sn())};sn()})}(Yt=>Yt.pipe((0,le.c)(1e3),(0,Re.s)(1)))).subscribe()}getConnectionOptions(){return{path:this.chatSocketPath,transports:["websocket"],secure:!0,query:{...this.identity.connectionQueryParams()},reconnectionDelay:+this.chatServerReconnectTimeout||5e3}}static \u0275fac=function(He){return new(He||Be)};static \u0275prov=h.jDH({token:Be,factory:Be.\u0275fac})}return Be})()},15769:(st,Q,g)=>{"use strict";g.d(Q,{E:()=>H});var a=g(58527),h=g(28161);let H=(()=>{class z{emojiSearch=(0,a.WQX)(h.lC);emojies=[":)","(:",";)",":(","):",":P",":p",":D",":/",":\\"];parseMessageWithEmojies(C){return this.hasWordsToReplaceWithEmojies(C)?C.split(" ").map(B=>{let _=B;return this.emojies.includes(B)&&(_=this.emojiSearch.search(B).map(A=>A.native)[0]||B),_}).join(" "):C}hasWordsToReplaceWithEmojies(C){return new RegExp(this.emojies.join("|").replace(/[()/\\]/g,"\\$&"),"ig").test(C)}static \u0275fac=function(B){return new(B||z)};static \u0275prov=a.jDH({token:z,factory:z.\u0275fac})}return z})()},46524:(st,Q,g)=>{"use strict";g.d(Q,{H:()=>xe});var a=g(58527),h=g(52713),H=g(77392),z=g(59343),P=g(60825),C=g(58468),B=g(46891),_=g(28950),q=g(6663),A=g(21252),X=g(7738),R=g(53797),ne=g(8682),se=g(40058),_e=g(71734),le=g(13740),Re=g(85279),Le=g(84638),Ie=g(31555);let xe=(()=>
3{class Te{socket=(0,a.WQX)(Ie.L);store=(0,a.WQX)(h.il);jwtErrors=[10001,10002,10003];lifecycle$=new H.B;onEventsSubscription=new z.yU;start(){this.subscribeOnEvents()}stop(){this.lifecycle$.next(),this.lifecycle$.complete()}subscribeOnEvents(){this.store.dispatch(new ne.F9(!0)),this.onEventsSubscription.unsubscribe(),this.onEventsSubscription=new z.yU,this.onEventsSubscription.add(this.onError()),this.onEventsSubscription.add(this.onConnect()),this.onEventsSubscription.add(this.onReconnect()),this.onEventsSubscription.add(this.onDisconnect()),this.onEventsSubscription.add(this.onMessage()),this.onEventsSubscription.add(this.onMessageStatusUpdated()),this.onEventsSubscription.add(this.onTyping()),this.onEventsSubscription.add(this.onConversationCloseRequest()),this.onEventsSubscription.add(this.onConversationClosed()),this.onEventsSubscription.add(this.onChatWaitingStatusUpdated()),this.onEventsSubscription.add(this.onConversationReopened())}onError(){return(0,P.h)(this.socket.on$("error"),this.socket.on$("exception")).pipe((0,C.Q)(this.lifecycle$)).subscribe(he=>this.jwtErrors.includes(he?.code)?(this.socket.disconnect(),this.store.dispatch(new R.i(he))):this.store.dispatch(new R.$D(he)))}onConnect(){return this.socket.on$("connect").pipe((0,B.$)(),(0,C.Q)(this.lifecycle$)).subscribe(()=>this.store.dispatch(new R.dm))}onReconnect(){return this.socket.on$("connect").pipe((0,_.i)(1),(0,C.Q)(this.lifecycle$)).subscribe(()=>this.store.dispatch(new R.Cj))}onDisconnect(){return this.socket.on$("disconnect").pipe((0,C.Q)(this.lifecycle$)).subscribe(()=>this.store.dispatch(new R.VB))}onMessage(){return this.socket.on$(Le.y.MESSAGE).pipe((0,q.T)(he=>he.status!==Re.qp.Sent?he:(this.socket.emit$(Le.y.UPDATE_MESSAGE_STATUS,{conversationId:he.conversationId,messageId:he.messageId,status:Re.qp.Received}).subscribe(),{...he,status:Re.qp.Received})),(0,A.M)(he=>this.store.dispatch(new se.ZP({...he,status:Re.qp.Received}))),(0,C.Q)(this.lifecycle$)).subscribe()}onMessageStatusUpdated(){return this.socket.on$(Le.y.MESSAGE_STATUS_UPDATED).pipe((0,C.Q)(this.lifecycle$)).subscribe(he=>this.store.dispatch(new se.jj(he)))}onTyping(){return this.socket.on$(Le.y.TYPING).pipe((0,A.M)(he=>this.store.dispatch(new _e.IG(he))),(0,C.Q)(this.lifecycle$)).subscribe()}onConversationCloseRequest(){return this.socket.on$(Le.y.CLOSE_CONVERSATION_REQUEST).pipe((0,C.Q)(this.lifecycle$)).subscribe(({message:he})=>this.store.dispatch(new se.ZP(he)))}onConversationClosed(){return this.socket.on$(Le.y.CONVERSATION_CLOSED).pipe((0,C.Q)(this.lifecycle$)).subscribe(he=>{this.store.dispatch(new ne.Cj(he))})}onConversationReopened(){return this.socket.on$(Le.y.CONVERSATION_REOPENED).pipe((0,C.Q)(this.lifecycle$)).subscribe(he=>this.store.dispatch(new ne.yf(he)))}onChatWaitingStatusUpdated(){return this.socket.on$(Le.y.CHAT_WAITING_STATUS_UPDATED).pipe((0,X.E)(this.store.select(le.oN)),(0,A.M)(([he,Me])=>{this.store.dispatch(new ne.o_({changedConversation:he,selectedConversationId:Me}))}),(0,C.Q)(this.lifecycle$)).subscribe()}static \u0275fac=function(Me){return new(Me||Te)};static \u0275prov=a.jDH({token:Te,factory:Te.\u0275fac})}return Te})()},32126:(st,Q,g)=>{"use strict";g.d(Q,{J:()=>q});var a=g(58527),h=g(66990),H=g(61177),z=g(85279);class P{id;name;type=z.ut.Anonymous;constructor(X,R){this.id=X,this.name=R}connectionQueryParams(){return{userId:this.id,userName:this.name}}authorPayload(){return{id:this.id,name:this.name}}}const C="frontend-chat_user";let q=(()=>{class A{appDomain=(0,a.WQX)(h.iy,{optional:!0});storageService=(0,a.WQX)(H.n$);anonymousIdentity(){const R=this.getUser();return new P(R.id,R.name)}removeUser(){this.storageService.removeItem(C,this.appDomain)}getUser(){let R=this.storageService.getItem(C);if(!R){const ne=this.storageService.getItem("on-chat_user-id"),se=this.storageService.getItem("on-chat_user-name");ne&&se&&(R={id:ne,name:se,type:z.ut.Anonymous},this.storageService.setItem(C,R,this.appDomain))}return R||(R={id:crypto.randomUUID(),name:"Anonymous Website User",type:z.ut.Anonymous},this.storageService.setItem(C,R,this.appDomain),R)}static \u0275fac=function(ne){return new(ne||A)};static \u0275prov=a.jDH({token:A,factory:A.\u0275fac})}return A})()},45780:(st,Q,g)=>{"use strict";g.d(Q,{R:()=>C});var a=g(58527),h=g(8713),H=g(17796),z=g(6663),P=g(32126);class C{authService=(0,a.WQX)(h.Bf);anonymousIdentityService=(0,a.WQX)(P.J);userIdentity(){return this.authService?this.authService.getAccessTokenObservable().pipe((0,z.T)(_=>this.createIdentity(_))):(0,H.of)(this.createIdentity())}createIdentity(_){return _?(this.removeAnonymousUser(),this.tokenUserIdentity(_)):this.localUserIdentity()}removeAnonymousUser(){this.anonymousIdentityService.removeUser()}localUserIdentity(){return this.anonymousIdentityService.anonymousIdentity()}}},31555:(st,Q,g)=>{"use strict";g.d(Q,{L:()=>ko});var a={};g.r(a),g.d(a,{Decoder:()=>cr,Encoder:()=>ds,PacketType:()=>Di,isPacketValid:()=>Wi,protocol:()=>ss});var h=g(18718);const H=Object.create(null);H.open="0",H.close="1",H.ping="2",H.pong="3",H.message="4",H.upgrade="5",H.noop="6";
vendor: 4,133 bytes, line 3
3const z=Object.create(null);Object.keys(H).forEach(We=>{z[H[We]]=We});const P={type:"error",data:"parser error"},C="function"==typeof Blob||typeof Blob<"u"&&"[object BlobConstructor]"===Object.prototype.toString.call(Blob),B="function"==typeof ArrayBuffer,_=We=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(We):We&&We.buffer instanceof ArrayBuffer,q=({type:We,data:be},we,Ee)=>C&&be instanceof Blob?we?Ee(be):A(be,Ee):B&&(be instanceof ArrayBuffer||_(be))?we?Ee(be):A(new Blob([be]),Ee):Ee(H[We]+(be||"")),A=(We,be)=>{const we=new FileReader;return we.onload=function(){const Ee=we.result.split(",")[1];be("b"+(Ee||""))},we.readAsDataURL(We)};function X(We){return We instanceof Uint8Array?We:We instanceof ArrayBuffer?new Uint8Array(We):new Uint8Array(We.buffer,We.byteOffset,We.byteLength)}let R;const _e=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let We=0;We<64;We++)_e["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(We)]=We;const Le="function"==typeof ArrayBuffer,Ie=(We,be)=>{if("string"!=typeof We)return{type:"message",data:Te(We,be)};const we=We.charAt(0);return"b"===we?{type:"message",data:xe(We.substring(1),be)}:z[we]?We.length>1?{type:z[we],data:We.substring(1)}:{type:z[we]}:P},xe=(We,be)=>{if(Le){const we=(We=>{let Ee,Xe,qe,kt,Qt,be=.75*We.length,we=We.length,ue=0;"="===We[We.length-1]&&(be--,"="===We[We.length-2]&&be--);const En=new ArrayBuffer(be),Bn=new Uint8Array(En);for(Ee=0;Ee<we;Ee+=4)Xe=_e[We.charCodeAt(Ee)],qe=_e[We.charCodeAt(Ee+1)],kt=_e[We.charCodeAt(Ee+2)],Qt=_e[We.charCodeAt(Ee+3)],Bn[ue++]=Xe<<2|qe>>4,Bn[ue++]=(15&qe)<<4|kt>>2,Bn[ue++]=(3&kt)<<6|63&Qt;return En})(We);return Te(we,be)}return{base64:!0,data:We}},Te=(We,be)=>"blob"===be?We instanceof Blob?We:new Blob([We]):We instanceof ArrayBuffer?We:We.buffer;let yt;function Se(We){return We.reduce((be,we)=>be+we.length,0)}function ke(We,be){if(We[0].length===be)return We.shift();const we=new Uint8Array(be);let Ee=0;for(let ue=0;ue<be;ue++)we[ue]=We[0][Ee++],Ee===We[0].length&&(We.shift(),Ee=0);return We.length&&Ee<We[0].length&&(We[0]=We[0].slice(Ee)),we}function Be(We){if(We)return function ge(We){for(var be in Be.prototype)We[be]=Be.prototype[be];return We}(We)}Be.prototype.on=Be.prototype.addEventListener=function(We,be){return this._callbacks=this._callbacks||{},(this._callbacks["$"+We]=this._callbacks["$"+We]||[]).push(be),this},Be.prototype.once=function(We,be){function we(){this.off(We,we),be.apply(this,arguments)}return we.fn=be,this.on(We,we),this},Be.prototype.off=Be.prototype.removeListener=Be.prototype.removeAllListeners=Be.prototype.removeEventListener=function(We,be){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var we=this._callbacks["$"+We];if(!we)return this;if(1==arguments.length)return delete this._callbacks["$"+We],this;for(var Ee,ue=0;ue<we.length;ue++)if((Ee=we[ue])===be||Ee.fn===be){we.splice(ue,1);break}return 0===we.length&&delete this._callbacks["$"+We],this},Be.prototype.emitReserved=Be.prototype.emit=function(We){this._callbacks=this._callbacks||{};for(var be=new Array(arguments.length-1),we=this._callbacks["$"+We],Ee=1;Ee<arguments.length;Ee++)be[Ee-1]=arguments[Ee];if(we){Ee=0;for(var ue=(we=we.slice(0)).length;Ee<ue;++Ee)we[Ee].apply(this,be)}return this},Be.prototype.listeners=function(We){return this._callbacks=this._callbacks||{},this._callbacks["$"+We]||[]},Be.prototype.hasListeners=function(We){return!!this.listeners(We).length};const Pe=typeof self<"u"?self:typeof window<"u"?window:Function("return this")();function He(We,...be){return be.reduce((we,Ee)=>(We.hasOwnProperty(Ee)&&(we[Ee]=We[Ee]),we),{})}const bt=Pe.setTimeout,Yt=Pe.clearTimeout;function sn(We,be){be.useNativeTimers?(We.setTimeoutFn=bt.bind(Pe),We.clearTimeoutFn=Yt.bind(Pe)):(We.setTimeoutFn=Pe.setTimeout.bind(Pe),We.clearTimeoutFn=Pe.clearTimeout.bind(Pe))}function Tt(We){return"string"==typeof We?function $e(We){let be=0,we=0;for(let Ee=0,ue=We.length;Ee<ue;Ee++)be=We.charCodeAt(Ee),be<128?we+=1:be<2048?we+=2:be<55296||be>=57344?we+=3:(Ee++,we+=4);return we}(We):Math.ceil(1.33*(We.byteLength||We.size))}
3class nt extends Error{constructor(be,we,Ee){super(be),this.description=we,this.context=Ee,this.type="TransportError"}}class _t extends Be{constructor(be){super(),this.writable=!1,sn(this,be),this.opts=be,this.query=be.query,this.socket=be.socket}onError(be,we,Ee){return super.emitReserved("error",new nt(be,we,Ee)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return("opening"===this.readyState||"open"===this.readyState)&&(this.doClose(),this.onClose()),this}send(be){"open"===this.readyState&&this.write(be)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(be){const we=Ie(be,this.socket.binaryType);this.onPacket(we)}onPacket(be){super.emitReserved("packet",be)}onClose(be){this.readyState="closed",super.emitReserved("close",be)}pause(be){}createUri(be,we={}){return be+"://"+this._hostname()+this._port()+this.opts.path+this._query(we)}_hostname(){const be=this.opts.hostname;return-1===be.indexOf(":")?be:"["+be+"]"}_port(){return this.opts.port&&(this.opts.secure&&+(443!==this.opts.port)||!this.opts.secure&&80!==Number(this.opts.port))?":"+this.opts.port:""}_query(be){const we=function rt(We){let be="";for(let we in We)We.hasOwnProperty(we)&&(be.length&&(be+="&"),be+=encodeURIComponent(we)+"="+encodeURIComponent(We[we]));return be}(be);return we.length?"?"+we:""}}const on="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),Hn=64,_n={};let Ot,hn=0,en=0;function Gt(We){let be="";do{be=on[We%Hn]+be,We=Math.floor(We/Hn)}while(We>0);return be}function Wn(){const We=Gt(+new Date);return We!==Ot?(hn=0,Ot=We):We+"."+Gt(hn++)}for(;en<Hn;en++)_n[on[en]]=en;let qn=!1;try{qn=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const Fn=qn;function Mi(We){const be=We.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!be||Fn))return new XMLHttpRequest}catch{}if(!be)try{return new(Pe[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP")}catch{}}function Yi(){}const ni=null!=new Mi({xdomain:!1}).responseType;let Rt=(()=>{class We extends Be{constructor(we,Ee){super(),sn(this,Ee),this.opts=Ee,this.method=Ee.method||"GET",this.uri=we,this.data=void 0!==Ee.data?Ee.data:null,this.create()}create(){var we;const Ee=He(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");Ee.xdomain=!!this.opts.xd;const ue=this.xhr=new Mi(Ee);try{ue.open(this.method,this.uri,!0);try{if(this.opts.extraHeaders){ue.setDisableHeaderCheck&&ue.setDisableHeaderCheck(!0);for(let Xe in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(Xe)&&ue.setRequestHeader(Xe,this.opts.extraHeaders[Xe])}}catch{}if("POST"===this.method)try{ue.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{ue.setRequestHeader("Accept","*/*")}catch{}null===(we=this.opts.cookieJar)||void 0===we||we.addCookies(ue),"withCredentials"in ue&&(ue.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(ue.timeout=this.opts.requestTimeout),ue.onreadystatechange=()=>{var Xe;3===ue.readyState&&(null===(Xe=this.opts.cookieJar)||void 0===Xe||Xe.parseCookies(ue)),4===ue.readyState&&(200===ue.status||1223===ue.status?this.onLoad():this.setTimeoutFn(()=>{this.onError("number"==typeof ue.status?ue.status:0)},0))},ue.send(this.data)}catch(Xe){return void this.setTimeoutFn(()=>{this.onError(Xe)},0)}typeof document<"u"&&(this.index=We.requestsCount++,We.requests[this.index]=this)}onError(we){this.emitReserved("error",we,this.xhr),this.cleanup(!0)}cleanup(we){if(!(typeof this.xhr>"u"||null===this.xhr)){if(this.xhr.onreadystatechange=Yi,we)try{this.xhr.abort()}catch{}typeof document<"u"&&delete We.requests[this.index],this.xhr=null}}onLoad(){const we=this.xhr.responseText;null!==we&&(this.emitReserved("data",we),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}return We.requestsCount=0,We.requests={},We})();function Xt(){for(let We in Rt.requests)Rt.requests.hasOwnProperty(We)&&Rt.requests[We].abort()}typeof document<"u"&&("function"==typeof attachEvent?attachEvent("onunload",Xt):"function"==typeof addEventListener&&addEventListener("onpagehide"in Pe?"pagehide":"unload",Xt,!1));const Dt="function"==typeof Promise&&"function"==typeof Promise.resolve?be=>Promise.resolve().then(be):(be,we)=>we(be,0),xn=Pe.WebSocket||Pe.MozWebSocket,vt=typeof navigator<"u"&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase(),Qn={websocket:class tn extends _t{constructor(be){super(be),this.supportsBinary=!be.forceBase64}get name(){return"websocket"}
3doOpen(){if(!this.check())return;const be=this.uri(),we=this.opts.protocols,Ee=vt?{}:He(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(Ee.headers=this.opts.extraHeaders);try{this.ws=vt?new xn(be,we,Ee):we?new xn(be,we):new xn(be)}catch(ue){return this.emitReserved("error",ue)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=be=>this.onClose({description:"websocket connection closed",context:be}),this.ws.onmessage=be=>this.onData(be.data),this.ws.onerror=be=>this.onError("websocket error",be)}write(be){this.writable=!1;for(let we=0;we<be.length;we++){const ue=we===be.length-1;q(be[we],this.supportsBinary,Xe=>{try{this.ws.send(Xe)}catch{}ue&&Dt(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){const be=this.opts.secure?"wss":"ws",we=this.query||{};return this.opts.timestampRequests&&(we[this.opts.timestampParam]=Wn()),this.supportsBinary||(we.b64=1),this.createUri(be,we)}check(){return!!xn}},webtransport:class zn extends _t{get name(){return"webtransport"}doOpen(){"function"==typeof WebTransport&&(this.transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name]),this.transport.closed.then(()=>{this.onClose()}).catch(be=>{this.onError("webtransport error",be)}),this.transport.ready.then(()=>{this.transport.createBidirectionalStream().then(be=>{const we=function Ze(We,be){yt||(yt=new TextDecoder);const we=[];let Ee=0,ue=-1,Xe=!1;return new TransformStream({transform(qe,kt){for(we.push(qe);;){if(0===Ee){if(Se(we)<1)break;const Qt=ke(we,1);Xe=!(128&~Qt[0]),ue=127&Qt[0],Ee=ue<126?3:126===ue?1:2}else if(1===Ee){if(Se(we)<2)break;const Qt=ke(we,2);ue=new DataView(Qt.buffer,Qt.byteOffset,Qt.length).getUint16(0),Ee=3}else if(2===Ee){if(Se(we)<8)break;const Qt=ke(we,8),En=new DataView(Qt.buffer,Qt.byteOffset,Qt.length),Bn=En.getUint32(0);if(Bn>Math.pow(2,21)-1){kt.enqueue(P);break}ue=Bn*Math.pow(2,32)+En.getUint32(4),Ee=3}else{if(Se(we)<ue)break;const Qt=ke(we,ue);kt.enqueue(Ie(Xe?Qt:yt.decode(Qt),be)),Ee=0}if(0===ue||ue>We){kt.enqueue(P);break}}}})}(Number.MAX_SAFE_INTEGER,this.socket.binaryType),Ee=be.readable.pipeThrough(we).getReader(),ue=function ct(){return new TransformStream({transform(We,be){!function ne(We,be){C&&We.data instanceof Blob?We.data.arrayBuffer().then(X).then(be):B&&(We.data instanceof ArrayBuffer||_(We.data))?be(X(We.data)):q(We,!1,we=>{R||(R=new TextEncoder),be(R.encode(we))})}(We,we=>{const Ee=we.length;let ue;if(Ee<126)ue=new Uint8Array(1),new DataView(ue.buffer).setUint8(0,Ee);else if(Ee<65536){ue=new Uint8Array(3);const Xe=new DataView(ue.buffer);Xe.setUint8(0,126),Xe.setUint16(1,Ee)}else{ue=new Uint8Array(9);const Xe=new DataView(ue.buffer);Xe.setUint8(0,127),Xe.setBigUint64(1,BigInt(Ee))}We.data&&"string"!=typeof We.data&&(ue[0]|=128),be.enqueue(ue),be.enqueue(we)})}})}();ue.readable.pipeTo(be.writable),this.writer=ue.writable.getWriter();const Xe=()=>{Ee.read().then(({done:kt,value:Qt})=>{kt||(this.onPacket(Qt),Xe())}).catch(kt=>{})};Xe();const qe={type:"open"};this.query.sid&&(qe.data=`{"sid":"${this.query.sid}"}`),this.writer.write(qe).then(()=>this.onOpen())})}))}write(be){this.writable=!1;for(let we=0;we<be.length;we++){const ue=we===be.length-1;this.writer.write(be[we]).then(()=>{ue&&Dt(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var be;null===(be=this.transport)||void 0===be||be.close()}},polling:class wi extends _t{constructor(be){if(super(be),this.polling=!1,typeof location<"u"){const Ee="https:"===location.protocol;let ue=location.port;ue||(ue=Ee?"443":"80"),this.xd=typeof location<"u"&&be.hostname!==location.hostname||ue!==be.port}this.supportsBinary=ni&&!(be&&be.forceBase64),this.opts.withCredentials&&(this.cookieJar=void 0)}get name(){return"polling"}
3doOpen(){this.poll()}pause(be){this.readyState="pausing";const we=()=>{this.readyState="paused",be()};if(this.polling||!this.writable){let Ee=0;this.polling&&(Ee++,this.once("pollComplete",function(){--Ee||we()})),this.writable||(Ee++,this.once("drain",function(){--Ee||we()}))}else we()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(be){((We,be)=>{const we=We.split("\x1e"),Ee=[];for(let ue=0;ue<we.length;ue++){const Xe=Ie(we[ue],be);if(Ee.push(Xe),"error"===Xe.type)break}return Ee})(be,this.socket.binaryType).forEach(Ee=>{if("opening"===this.readyState&&"open"===Ee.type&&this.onOpen(),"close"===Ee.type)return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(Ee)}),"closed"!==this.readyState&&(this.polling=!1,this.emitReserved("pollComplete"),"open"===this.readyState&&this.poll())}doClose(){const be=()=>{this.write([{type:"close"}])};"open"===this.readyState?be():this.once("open",be)}write(be){this.writable=!1,((We,be)=>{const we=We.length,Ee=new Array(we);let ue=0;We.forEach((Xe,qe)=>{q(Xe,!1,kt=>{Ee[qe]=kt,++ue===we&&be(Ee.join("\x1e"))})})})(be,we=>{this.doWrite(we,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const be=this.opts.secure?"https":"http",we=this.query||{};return!1!==this.opts.timestampRequests&&(we[this.opts.timestampParam]=Wn()),!this.supportsBinary&&!we.sid&&(we.b64=1),this.createUri(be,we)}request(be={}){return Object.assign(be,{xd:this.xd,cookieJar:this.cookieJar},this.opts),new Rt(this.uri(),be)}doWrite(be,we){const Ee=this.request({method:"POST",data:be});Ee.on("success",we),Ee.on("error",(ue,Xe)=>{this.onError("xhr post error",ue,Xe)})}doPoll(){const be=this.request();be.on("data",this.onData.bind(this)),be.on("error",(we,Ee)=>{this.onError("xhr poll error",we,Ee)}),this.pollXhr=be}}},si=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,gr=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function xt(We){if(We.length>2e3)throw"URI too long";const be=We,we=We.indexOf("["),Ee=We.indexOf("]");-1!=we&&-1!=Ee&&(We=We.substring(0,we)+We.substring(we,Ee).replace(/:/g,";")+We.substring(Ee,We.length));let ue=si.exec(We||""),Xe={},qe=14;for(;qe--;)Xe[gr[qe]]=ue[qe]||"";return-1!=we&&-1!=Ee&&(Xe.source=be,Xe.host=Xe.host.substring(1,Xe.host.length-1).replace(/;/g,":"),Xe.authority=Xe.authority.replace("[","").replace("]","").replace(/;/g,":"),Xe.ipv6uri=!0),Xe.pathNames=function Sn(We,be){const Ee=be.replace(/\/{2,9}/g,"/").split("/");return("/"==be.slice(0,1)||0===be.length)&&Ee.splice(0,1),"/"==be.slice(-1)&&Ee.splice(Ee.length-1,1),Ee}(0,Xe.path),Xe.queryKey=function qt(We,be){const we={};return be.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(Ee,ue,Xe){ue&&(we[ue]=Xe)}),we}(0,Xe.query),Xe}let Cn=(()=>{class We extends Be{constructor(we,Ee={}){super(),this.binaryType="arraybuffer",this.writeBuffer=[],we&&"object"==typeof we&&(Ee=we,we=null),we?(we=xt(we),Ee.hostname=we.host,Ee.secure="https"===we.protocol||"wss"===we.protocol,Ee.port=we.port,we.query&&(Ee.query=we.query)):Ee.host&&(Ee.hostname=xt(Ee.host).host),sn(this,Ee),this.secure=null!=Ee.secure?Ee.secure:typeof location<"u"&&"https:"===location.protocol,Ee.hostname&&!Ee.port&&(Ee.port=this.secure?"443":"80"),this.hostname=Ee.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=Ee.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=Ee.transports||["polling","websocket","webtransport"],this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},Ee),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),"string"==typeof this.opts.query&&(this.opts.query=function tt(We){let be={},we=We.split("&");for(let Ee=0,ue=we.length;Ee<ue;Ee++){let Xe=we[Ee].split("=");be[decodeURIComponent(Xe[0])]=decodeURIComponent(Xe[1])}return be}(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,"function"==typeof addEventListener&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),"localhost"!==this.hostname&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})}
3,addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(we){const Ee=Object.assign({},this.opts.query);Ee.EIO=4,Ee.transport=we,this.id&&(Ee.sid=this.id);const ue=Object.assign({},this.opts,{query:Ee,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[we]);return new Qn[we](ue)}open(){let we;if(this.opts.rememberUpgrade&&We.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))we="websocket";else{if(0===this.transports.length)return void this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);we=this.transports[0]}this.readyState="opening";try{we=this.createTransport(we)}catch{return this.transports.shift(),void this.open()}we.open(),this.setTransport(we)}setTransport(we){this.transport&&this.transport.removeAllListeners(),this.transport=we,we.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",Ee=>this.onClose("transport close",Ee))}probe(we){let Ee=this.createTransport(we),ue=!1;We.priorWebsocketSuccess=!1;const Xe=()=>{ue||(Ee.send([{type:"ping",data:"probe"}]),Ee.once("packet",ei=>{if(!ue)if("pong"===ei.type&&"probe"===ei.data){if(this.upgrading=!0,this.emitReserved("upgrading",Ee),!Ee)return;We.priorWebsocketSuccess="websocket"===Ee.name,this.transport.pause(()=>{ue||"closed"!==this.readyState&&(Ci(),this.setTransport(Ee),Ee.send([{type:"upgrade"}]),this.emitReserved("upgrade",Ee),Ee=null,this.upgrading=!1,this.flush())})}else{const qi=new Error("probe error");qi.transport=Ee.name,this.emitReserved("upgradeError",qi)}}))};function qe(){ue||(ue=!0,Ci(),Ee.close(),Ee=null)}const kt=ei=>{const qi=new Error("probe error: "+ei);qi.transport=Ee.name,qe(),this.emitReserved("upgradeError",qi)};function Qt(){kt("transport closed")}function En(){kt("socket closed")}function Bn(ei){Ee&&ei.name!==Ee.name&&qe()}const Ci=()=>{Ee.removeListener("open",Xe),Ee.removeListener("error",kt),Ee.removeListener("close",Qt),this.off("close",En),this.off("upgrading",Bn)};Ee.once("open",Xe),Ee.once("error",kt),Ee.once("close",Qt),this.once("close",En),this.once("upgrading",Bn),-1!==this.upgrades.indexOf("webtransport")&&"webtransport"!==we?this.setTimeoutFn(()=>{ue||Ee.open()},200):Ee.open()}onOpen(){if(this.readyState="open",We.priorWebsocketSuccess="websocket"===this.transport.name,this.emitReserved("open"),this.flush(),"open"===this.readyState&&this.opts.upgrade){let we=0;const Ee=this.upgrades.length;for(;we<Ee;we++)this.probe(this.upgrades[we])}}onPacket(we){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)switch(this.emitReserved("packet",we),this.emitReserved("heartbeat"),this.resetPingTimeout(),we.type){case"open":this.onHandshake(JSON.parse(we.data));break;case"ping":this.sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong");break;case"error":const Ee=new Error("server error");Ee.code=we.data,this.onError(Ee);break;case"message":this.emitReserved("data",we.data),this.emitReserved("message",we.data)}}onHandshake(we){this.emitReserved("handshake",we),this.id=we.sid,this.transport.query.sid=we.sid,this.upgrades=this.filterUpgrades(we.upgrades),this.pingInterval=we.pingInterval,this.pingTimeout=we.pingTimeout,this.maxPayload=we.maxPayload,this.onOpen(),"closed"!==this.readyState&&this.resetPingTimeout()}resetPingTimeout(){this.clearTimeoutFn(this.pingTimeoutTimer),this.pingTimeoutTimer=this.setTimeoutFn(()=>{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0===this.writeBuffer.length?this.emitReserved("drain"):this.flush()}flush(){if("closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const we=this.getWritablePackets();this.transport.send(we),this.prevBufferLen=we.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&"polling"===this.transport.name&&this.writeBuffer.length>1))return this.writeBuffer;let Ee=1;for(let ue=0;ue<this.writeBuffer.length;ue++){const Xe=this.writeBuffer[ue].data;if(Xe&&(Ee+=Tt(Xe)),ue>0&&Ee>this.maxPayload)return this.writeBuffer.slice(0,ue);Ee+=2}return this.writeBuffer}write(we,Ee,ue){return this.sendPacket("message",we,Ee,ue),this}send(we,Ee,ue){return this.sendPacket("message",we,Ee,ue),this}
3sendPacket(we,Ee,ue,Xe){if("function"==typeof Ee&&(Xe=Ee,Ee=void 0),"function"==typeof ue&&(Xe=ue,ue=null),"closing"===this.readyState||"closed"===this.readyState)return;(ue=ue||{}).compress=!1!==ue.compress;const qe={type:we,data:Ee,options:ue};this.emitReserved("packetCreate",qe),this.writeBuffer.push(qe),Xe&&this.once("flush",Xe),this.flush()}close(){const we=()=>{this.onClose("forced close"),this.transport.close()},Ee=()=>{this.off("upgrade",Ee),this.off("upgradeError",Ee),we()},ue=()=>{this.once("upgrade",Ee),this.once("upgradeError",Ee)};return("opening"===this.readyState||"open"===this.readyState)&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?ue():we()}):this.upgrading?ue():we()),this}onError(we){We.priorWebsocketSuccess=!1,this.emitReserved("error",we),this.onClose("transport error",we)}onClose(we,Ee){("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)&&(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),"function"==typeof removeEventListener&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",we,Ee),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(we){const Ee=[];let ue=0;const Xe=we.length;for(;ue<Xe;ue++)~this.transports.indexOf(we[ue])&&Ee.push(we[ue]);return Ee}}
vendor: 6,712 bytes, line 3
3return We.protocol=4,We})();const Pt="function"==typeof ArrayBuffer,Et=We=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(We):We.buffer instanceof ArrayBuffer,ot=Object.prototype.toString,pt="function"==typeof Blob||typeof Blob<"u"&&"[object BlobConstructor]"===ot.call(Blob),rn="function"==typeof File||typeof File<"u"&&"[object FileConstructor]"===ot.call(File);function Vn(We){return Pt&&(We instanceof ArrayBuffer||Et(We))||pt&&We instanceof Blob||rn&&We instanceof File}function oi(We,be){if(!We||"object"!=typeof We)return!1;if(Array.isArray(We)){for(let we=0,Ee=We.length;we<Ee;we++)if(oi(We[we]))return!0;return!1}if(Vn(We))return!0;if(We.toJSON&&"function"==typeof We.toJSON&&1===arguments.length)return oi(We.toJSON(),!0);for(const we in We)if(Object.prototype.hasOwnProperty.call(We,we)&&oi(We[we]))return!0;return!1}function hi(We){const be=[],Ee=We;return Ee.data=Oi(We.data,be),Ee.attachments=be.length,{packet:Ee,buffers:be}}function Oi(We,be,we){if(!We)return We;if(Vn(We)){const Ee={_placeholder:!0,num:be.length};return be.push(We),Ee}if(Array.isArray(We)){const Ee=new Array(We.length);for(let ue=0;ue<We.length;ue++)Ee[ue]=Oi(We[ue],be);return Ee}if("object"==typeof We&&!(We instanceof Date)){if(We.toJSON&&"function"==typeof We.toJSON&&!we)return Oi(We.toJSON(),be,!0);const Ee={};for(const ue in We)Object.prototype.hasOwnProperty.call(We,ue)&&(Ee[ue]=Oi(We[ue],be));return Ee}return We}function Dr(We,be){return We.data=mr(We.data,be),delete We.attachments,We}function mr(We,be){if(!We)return We;if(We&&!0===We._placeholder){if("number"==typeof We.num&&We.num>=0&&We.num<be.length)return be[We.num];throw new Error("illegal attachments")}if(Array.isArray(We))for(let we=0;we<We.length;we++)We[we]=mr(We[we],be);else if("object"==typeof We)for(const we in We)Object.prototype.hasOwnProperty.call(We,we)&&(We[we]=mr(We[we],be));return We}const yr=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],ss=5;var Di=function(We){return We[We.CONNECT=0]="CONNECT",We[We.DISCONNECT=1]="DISCONNECT",We[We.EVENT=2]="EVENT",We[We.ACK=3]="ACK",We[We.CONNECT_ERROR=4]="CONNECT_ERROR",We[We.BINARY_EVENT=5]="BINARY_EVENT",We[We.BINARY_ACK=6]="BINARY_ACK",We}(Di||{});class ds{constructor(be){this.replacer=be}encode(be){return be.type!==Di.EVENT&&be.type!==Di.ACK||!oi(be)?[this.encodeAsString(be)]:this.encodeAsBinary({type:be.type===Di.EVENT?Di.BINARY_EVENT:Di.BINARY_ACK,nsp:be.nsp,data:be.data,id:be.id})}encodeAsString(be){let we=""+be.type;return(be.type===Di.BINARY_EVENT||be.type===Di.BINARY_ACK)&&(we+=be.attachments+"-"),be.nsp&&"/"!==be.nsp&&(we+=be.nsp+","),null!=be.id&&(we+=be.id),null!=be.data&&(we+=JSON.stringify(be.data,this.replacer)),we}encodeAsBinary(be){const we=hi(be),Ee=this.encodeAsString(we.packet),ue=we.buffers;return ue.unshift(Ee),ue}}class cr extends Be{constructor(be){super(),this.opts=Object.assign({reviver:void 0,maxAttachments:10},"function"==typeof be?{reviver:be}:be)}add(be){let we;if("string"==typeof be){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");we=this.decodeString(be);const Ee=we.type===Di.BINARY_EVENT;Ee||we.type===Di.BINARY_ACK?(we.type=Ee?Di.EVENT:Di.ACK,this.reconstructor=new jt(we)):super.emitReserved("decoded",we)}else{if(!Vn(be)&&!be.base64)throw new Error("Unknown type: "+be);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");we=this.reconstructor.takeBinaryData(be),we&&(this.reconstructor=null,super.emitReserved("decoded",we))}}decodeString(be){let we=0;const Ee={type:Number(be.charAt(0))};if(void 0===Di[Ee.type])throw new Error("unknown packet type "+Ee.type);if(Ee.type===Di.BINARY_EVENT||Ee.type===Di.BINARY_ACK){const Xe=we+1;for(;"-"!==be.charAt(++we)&&we!=be.length;);const qe=be.substring(Xe,we);if(qe!=Number(qe)||"-"!==be.charAt(we))throw new Error("Illegal attachments");const kt=Number(qe);if(!et(kt)||kt<1)throw new Error("Illegal attachments");if(kt>this.opts.maxAttachments)throw new Error("too many attachments");Ee.attachments=kt}if("/"===be.charAt(we+1)){const Xe=we+1;for(;++we&&","!==be.charAt(we)&&we!==be.length;);Ee.nsp=be.substring(Xe,we)}else Ee.nsp="/";const ue=be.charAt(we+1);if(""!==ue&&Number(ue)==ue){const Xe=we+1;for(;++we;){const qe=be.charAt(we);if(null==qe||Number(qe)!=qe){--we;break}if(we===be.length)break}Ee.id=Number(be.substring(Xe,we+1))}if(be.charAt(++we)){const Xe=this.tryParse(be.substr(we));if(!cr.isPayloadValid(Ee.type,Xe))throw new Error("invalid payload");Ee.data=Xe}return Ee}tryParse(be){try{return JSON.parse(be,this.opts.reviver)}catch{return!1}}static isPayloadValid(be,we){switch(be){case Di.CONNECT:return At(we);case Di.DISCONNECT:return void 0===we;case Di.CONNECT_ERROR:return"string"==typeof we||At(we);case Di.EVENT:case Di.BINARY_EVENT:return Array.isArray(we)&&("number"==typeof we[0]||"string"==typeof we[0]&&-1===yr.indexOf(we[0]));case Di.ACK:case Di.BINARY_ACK:return Array.isArray(we)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class jt{constructor(be){this.packet=be,this.buffers=[],this.reconPack=be}takeBinaryData(be){if(this.buffers.push(be),this.buffers.length===this.reconPack.attachments){const we=Dr(this.reconPack,this.buffers);return this.finishedReconstruction(),we}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const et=Number.isInteger||function(We){return"number"==typeof We&&isFinite(We)&&Math.floor(We)===We};function At(We){return"[object Object]"===Object.prototype.toString.call(We)}function Wi(We){return function nn(We){return"string"==typeof We}(We.nsp)&&function Zt(We){return void 0===We||et(We)}(We.id)&&function Yn(We,be){switch(We){case Di.CONNECT:return void 0===be||At(be);case Di.DISCONNECT:return void 0===be;case Di.EVENT:return Array.isArray(be)&&("number"==typeof be[0]||"string"==typeof be[0]&&-1===yr.indexOf(be[0]));case Di.ACK:return Array.isArray(be);case Di.CONNECT_ERROR:return"string"==typeof be||At(be);default:return!1}}(We.type,We.data)}function ii(We,be,we){return We.on(be,we),function(){We.off(be,we)}}const Ur=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class sr extends Be{constructor(be,we,Ee){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=be,this.nsp=we,Ee&&Ee.auth&&(this.auth=Ee.auth),this._opts=Object.assign({},Ee),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const be=this.io;this.subs=[ii(be,"open",this.onopen.bind(this)),ii(be,"packet",this.onpacket.b
vendor: 4,405 bytes, line 3
3ind(this)),ii(be,"error",this.onerror.bind(this)),ii(be,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected||(this.subEvents(),this.io._reconnecting||this.io.open(),"open"===this.io._readyState&&this.onopen()),this}open(){return this.connect()}send(...be){return be.unshift("message"),this.emit.apply(this,be),this}emit(be,...we){if(Ur.hasOwnProperty(be))throw new Error('"'+be.toString()+'" is a reserved event name');if(we.unshift(be),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(we),this;const Ee={type:Di.EVENT,data:we,options:{}};if(Ee.options.compress=!1!==this.flags.compress,"function"==typeof we[we.length-1]){const qe=this.ids++,kt=we.pop();this._registerAckCallback(qe,kt),Ee.id=qe}return this.flags.volatile&&(!(this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable)||!this.connected)||(this.connected?(this.notifyOutgoingListeners(Ee),this.packet(Ee)):this.sendBuffer.push(Ee)),this.flags={},this}_registerAckCallback(be,we){var Ee;const ue=null!==(Ee=this.flags.timeout)&&void 0!==Ee?Ee:this._opts.ackTimeout;if(void 0===ue)return void(this.acks[be]=we);const Xe=this.io.setTimeoutFn(()=>{delete this.acks[be];for(let qe=0;qe<this.sendBuffer.length;qe++)this.sendBuffer[qe].id===be&&this.sendBuffer.splice(qe,1);we.call(this,new Error("operation has timed out"))},ue);this.acks[be]=(...qe)=>{this.io.clearTimeoutFn(Xe),we.apply(this,[null,...qe])}}emitWithAck(be,...we){const Ee=void 0!==this.flags.timeout||void 0!==this._opts.ackTimeout;return new Promise((ue,Xe)=>{we.push((qe,kt)=>Ee?qe?Xe(qe):ue(kt):ue(qe)),this.emit(be,...we)})}_addToQueue(be){let we;"function"==typeof be[be.length-1]&&(we=be.pop());const Ee={id:this._queueSeq++,tryCount:0,pending:!1,args:be,flags:Object.assign({fromQueue:!0},this.flags)};be.push((ue,...Xe)=>Ee!==this._queue[0]?void 0:(null!==ue?Ee.tryCount>this._opts.retries&&(this._queue.shift(),we&&we(ue)):(this._queue.shift(),we&&we(null,...Xe)),Ee.pending=!1,this._drainQueue())),this._queue.push(Ee),this._drainQueue()}_drainQueue(be=!1){if(!this.connected||0===this._queue.length)return;const we=this._queue[0];we.pending&&!be||(we.pending=!0,we.tryCount++,this.flags=we.flags,this.emit.apply(this,we.args))}packet(be){be.nsp=this.nsp,this.io._packet(be)}onopen(){"function"==typeof this.auth?this.auth(be=>{this._sendConnectPacket(be)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(be){this.packet({type:Di.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},be):be})}onerror(be){this.connected||this.emitReserved("connect_error",be)}onclose(be,we){this.connected=!1,delete this.id,this.emitReserved("disconnect",be,we)}onpacket(be){if(be.nsp===this.nsp)switch(be.type){case Di.CONNECT:be.data&&be.data.sid?this.onconnect(be.data.sid,be.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case Di.EVENT:case Di.BINARY_EVENT:this.onevent(be);break;case Di.ACK:case Di.BINARY_ACK:this.onack(be);break;case Di.DISCONNECT:this.ondisconnect();break;case Di.CONNECT_ERROR:this.destroy();const Ee=new Error(be.data.message);Ee.data=be.data.data,this.emitReserved("connect_error",Ee)}}onevent(be){const we=be.data||[];null!=be.id&&we.push(this.ack(be.id)),this.connected?this.emitEvent(we):this.receiveBuffer.push(Object.freeze(we))}emitEvent(be){if(this._anyListeners&&this._anyListeners.length){const we=this._anyListeners.slice();for(const Ee of we)Ee.apply(this,be)}super.emit.apply(this,be),this._pid&&be.length&&"string"==typeof be[be.length-1]&&(this._lastOffset=be[be.length-1])}ack(be){const we=this;let Ee=!1;return function(...ue){Ee||(Ee=!0,we.packet({type:Di.ACK,id:be,data:ue}))}}onack(be){const we=this.acks[be.id];"function"==typeof we&&(we.apply(this,be.data),delete this.acks[be.id])}onconnect(be,we){this.id=be,this.recovered=we&&this._pid===we,this._pid=we,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(be=>this.emitEvent(be)),this.receiveBuffer=[],this.sendBuffer.forEach(be=>{this.notifyOutgoingListeners(be),this.packet(be)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}
vendor: 4,255 bytes, line 3
3destroy(){this.subs&&(this.subs.forEach(be=>be()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:Di.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(be){return this.flags.compress=be,this}get volatile(){return this.flags.volatile=!0,this}timeout(be){return this.flags.timeout=be,this}onAny(be){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(be),this}prependAny(be){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(be),this}offAny(be){if(!this._anyListeners)return this;if(be){const we=this._anyListeners;for(let Ee=0;Ee<we.length;Ee++)if(be===we[Ee])return we.splice(Ee,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(be){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(be),this}prependAnyOutgoing(be){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(be),this}offAnyOutgoing(be){if(!this._anyOutgoingListeners)return this;if(be){const we=this._anyOutgoingListeners;for(let Ee=0;Ee<we.length;Ee++)if(be===we[Ee])return we.splice(Ee,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(be){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const we=this._anyOutgoingListeners.slice();for(const Ee of we)Ee.apply(this,be.data)}}}function lr(We){this.ms=(We=We||{}).min||100,this.max=We.max||1e4,this.factor=We.factor||2,this.jitter=We.jitter>0&&We.jitter<=1?We.jitter:0,this.attempts=0}lr.prototype.duration=function(){var We=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var be=Math.random(),we=Math.floor(be*this.jitter*We);We=1&Math.floor(10*be)?We+we:We-we}return 0|Math.min(We,this.max)},lr.prototype.reset=function(){this.attempts=0},lr.prototype.setMin=function(We){this.ms=We},lr.prototype.setMax=function(We){this.max=We},lr.prototype.setJitter=function(We){this.jitter=We};class us extends Be{constructor(be,we){var Ee;super(),this.nsps={},this.subs=[],be&&"object"==typeof be&&(we=be,be=void 0),(we=we||{}).path=we.path||"/socket.io",this.opts=we,sn(this,we),this.reconnection(!1!==we.reconnection),this.reconnectionAttempts(we.reconnectionAttempts||1/0),this.reconnectionDelay(we.reconnectionDelay||1e3),this.reconnectionDelayMax(we.reconnectionDelayMax||5e3),this.randomizationFactor(null!==(Ee=we.randomizationFactor)&&void 0!==Ee?Ee:.5),this.backoff=new lr({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==we.timeout?2e4:we.timeout),this._readyState="closed",this.uri=be;const ue=we.parser||a;this.encoder=new ue.Encoder,this.decoder=new ue.Decoder,this._autoConnect=!1!==we.autoConnect,this._autoConnect&&this.open()}reconnection(be){return arguments.length?(this._reconnection=!!be,this):this._reconnection}reconnectionAttempts(be){return void 0===be?this._reconnectionAttempts:(this._reconnectionAttempts=be,this)}reconnectionDelay(be){var we;return void 0===be?this._reconnectionDelay:(this._reconnectionDelay=be,null===(we=this.backoff)||void 0===we||we.setMin(be),this)}randomizationFactor(be){var we;return void 0===be?this._randomizationFactor:(this._randomizationFactor=be,null===(we=this.backoff)||void 0===we||we.setJitter(be),this)}reconnectionDelayMax(be){var we;return void 0===be?this._reconnectionDelayMax:(this._reconnectionDelayMax=be,null===(we=this.backoff)||void 0===we||we.setMax(be),this)}timeout(be){return arguments.length?(this._timeout=be,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()}open(be){if(~this._readyState.indexOf("open"))return this;this.engine=new Cn(this.uri,this.opts);const we=this.engine,Ee=this;this._readyState="opening",this.skipReconnect=!1;const ue=ii(we,"open",function(){Ee.onopen(),be&&be()}),Xe=kt=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",kt),be?be(kt):this.maybeReconnectOnOpen()},qe=ii(we,"error",Xe);if(!1!==this._timeout){const Qt=this.setTimeoutFn(()=>
3{ue(),Xe(new Error("timeout")),we.close()},this._timeout);this.opts.autoUnref&&Qt.unref(),this.subs.push(()=>{this.clearTimeoutFn(Qt)})}return this.subs.push(ue),this.subs.push(qe),this}connect(be){return this.open(be)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const be=this.engine;this.subs.push(ii(be,"ping",this.onping.bind(this)),ii(be,"data",this.ondata.bind(this)),ii(be,"error",this.onerror.bind(this)),ii(be,"close",this.onclose.bind(this)),ii(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(be){try{this.decoder.add(be)}catch(we){this.onclose("parse error",we)}}ondecoded(be){Dt(()=>{this.emitReserved("packet",be)},this.setTimeoutFn)}onerror(be){this.emitReserved("error",be)}socket(be,we){let Ee=this.nsps[be];return Ee?this._autoConnect&&!Ee.active&&Ee.connect():(Ee=new sr(this,be,we),this.nsps[be]=Ee),Ee}_destroy(be){const we=Object.keys(this.nsps);for(const Ee of we)if(this.nsps[Ee].active)return;this._close()}_packet(be){const we=this.encoder.encode(be);for(let Ee=0;Ee<we.length;Ee++)this.engine.write(we[Ee],be.options)}cleanup(){this.subs.forEach(be=>be()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(be,we){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",be,we),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const be=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const we=this.backoff.duration();this._reconnecting=!0;const Ee=this.setTimeoutFn(()=>{be.skipReconnect||(this.emitReserved("reconnect_attempt",be.backoff.attempts),!be.skipReconnect&&be.open(ue=>{ue?(be._reconnecting=!1,be.reconnect(),this.emitReserved("reconnect_error",ue)):be.onreconnect()}))},we);this.opts.autoUnref&&Ee.unref(),this.subs.push(()=>{this.clearTimeoutFn(Ee)})}}onreconnect(){const be=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",be)}}const Cs={};function ho(We,be){"object"==typeof We&&(be=We,We=void 0);const we=function gi(We,be="",we){let Ee=We;we=we||typeof location<"u"&&location,null==We&&(We=we.protocol+"//"+we.host),"string"==typeof We&&("/"===We.charAt(0)&&(We="/"===We.charAt(1)?we.protocol+We:we.host+We),/^(https?|wss?):\/\//.test(We)||(We=typeof we<"u"?we.protocol+"//"+We:"https://"+We),Ee=xt(We)),Ee.port||(/^(http|ws)$/.test(Ee.protocol)?Ee.port="80":/^(http|ws)s$/.test(Ee.protocol)&&(Ee.port="443")),Ee.path=Ee.path||"/";const Xe=-1!==Ee.host.indexOf(":")?"["+Ee.host+"]":Ee.host;return Ee.id=Ee.protocol+"://"+Xe+":"+Ee.port+be,Ee.href=Ee.protocol+"://"+Xe+(we&&we.port===Ee.port?"":":"+Ee.port),Ee}(We,(be=be||{}).path||"/socket.io"),Ee=we.source,ue=we.id;let Qt;return be.forceNew||be["force new connection"]||!1===be.multiplex||Cs[ue]&&we.path in Cs[ue].nsps?Qt=new us(Ee,be):(Cs[ue]||(Cs[ue]=new us(Ee,be)),Qt=Cs[ue]),we.query&&!be.query&&(be.query=we.queryKey),Qt.socket(we.path,be)}Object.assign(ho,{Manager:us,Socket:sr,io:ho,connect:ho});var _o=g(58527);let ko=(()=>{class We{observers=[];socket;get isInitialized(){return!!this.socket}get isConnected(){return this.socket?.connected??!1}init(we,Ee){return this.socket=ho(we,{...Ee,withCredentials:!0}),this}options(we){return this.socket.io.opts={...this.socket.io.opts,...we,transports:["websocket"],withCredentials:!0},this}emit$(we,Ee){return new h.c(ue=>{this.socket.emit(we,Ee,Xe=>{this.ackHandler(ue,Xe),ue.complete()})})}on$(we){return new h.c(Ee=>{this.observers.push(Ee),this.socket.on(we,ue=>this.ackHandler(Ee,ue))})}disconnect(){return this.isConnected&&(this.socket.disconnect(),this.completeCurrentObservers()),this}connect(){return this.socket.connect(),this}completeCurrentObservers(){this.observers.forEach(we=>we.complete()),this.observers=[]}ackHandler(we,Ee){we.next(Ee&&Ee.error?Ee.error:Ee)}static \u0275fac=function(Ee){return new(Ee||We)};static \u0275prov=_o.jDH({token:We,factory:We.\u0275fac})}return We})()},84638:(st,Q,g)=>{"use strict";g.d(Q,{y:()=>h});const h={MESSAGE:"MESSAGE",UPDATE_MESSAGE_STATUS:"UPDATE_MESSAGE_STATUS",MESSAGE_STATUS_UPDATED:"MESSAGE_STATUS_UPDATED",TYPING:"TYPING",SYSTEM_NOTIFICATION:"SYSTEM_NOTIFICATION",CLOSE_CONVERSATION:"CLOSE_CONVERSATION",CLOSE_CONVERSATION_REQUEST:"CLOSE_CONVERSATION_REQUEST",CONVERSATION_CLOSED:"CONVERSATION_CLOSED",CONVERSATION_REOPENED:"CONVERSATION_REOPENED",SET_WAITING_CONVERSATION:"SET_WAITING_CONVERSATION",CHAT_WAITING_STATUS_UPDATED:"CHAT_WAITING_STATUS_UPDATED",MESSAGE_RECEIVED:"MESSAGE_RECEIVED",CONVERSATION_LOADED:"CONVERSATION_LOADED"}},85279:(st,Q,g)=>{"use strict";g.d(Q,{KI:()=>a.KI,Q2:()=>a.Q2,hK:()=>a.hK,qp:()=>a.qp,ut:()=>a.ut});
3var a=g(56055)},56055:(st,Q,g)=>{"use strict";g.d(Q,{KI:()=>h,Q2:()=>C,ZO:()=>a,hK:()=>P,qp:()=>H,ut:()=>z});var a=function(B){return B.Pending="pending",B}(a||{}),h=function(B){return B.Open="open",B.Waiting="waiting",B.Archived="archived",B.New="new",B}(h||{}),H=function(B){return B.Pending="pending",B.Failed="failed",B.Received="received",B.Read="read",B.Sent="sent",B}(H||{}),z=function(B){return B.Agent="agent",B.Anonymous="anonymous",B.Bot="bot",B.Customer="customer",B.System="system",B.Unknown="unknown",B}(z||{}),P=function(B){return B.Default="default",B.Agent="agent",B}(P||{}),C=function(B){return B.DocumentSelect="DocumentSelect",B.CommentInput="CommentInput",B}(C||{})},51405:(st,Q,g)=>{"use strict";g.d(Q,{f1:()=>z,h4:()=>h,mC:()=>P,oO:()=>C,wQ:()=>H});var a=g(58527);const h=new a.nKC("chatSocketPath"),H=new a.nKC("chatUri"),z=new a.nKC("chatServerReconnectTimeout"),P=new a.nKC("CHAT_CUSTOM_PARSER"),C=new a.nKC("CHAT_PARSER")},71101:(st,Q,g)=>{"use strict";g.d(Q,{K:()=>Ie});var a=g(58527),h=g(56106),H=g(46140),z=g(23818),P=g(48476),C=g(82689),B=g(22380),_=g(51376),q=g(61177),A=g(52713),X=g(77392),R=g(58468),ne=g(60494),se=g(17796),_e=g(51335),le=g(99361),Re=g(84284);const Le=xe=>({mask:xe,guide:!1});let Ie=(()=>{class xe{buttonLoadingState=H.Gu;form;isSubmitting=!1;mask=_.Yu9;modalData=(0,a.WQX)(z.e5);formBuilder=(0,a.WQX)(h.ze);modalInstanceService=(0,a.WQX)(z.g7);profileService=(0,a.WQX)(_e.p);store=(0,a.WQX)(A.il);logService=(0,a.WQX)(q.Kc);alertService=(0,a.WQX)(B.uE);component$=new X.B;ngOnInit(){this.form=this.formBuilder.group({iban:["",[C.k0.required,C.k0.iban]]})}ngOnDestroy(){this.component$.next(),this.component$.complete()}dismissModal(){this.modalInstanceService.dismiss()}submit(){if(!this.form.valid)return;this.isSubmitting=!0;const Ne={...this.modalData.profile,bank_account:{...this.modalData.profile.bank_account,iban:this.form.value.iban}};this.profileService.updateBankAccountData(Ne).pipe((0,R.Q)(this.component$),(0,ne.W)(this.handleUpdateBankAccountError.bind(this))).subscribe(he=>{this.alertService.success("Deine Bankverbindung wurde erfolgreich aktualisiert."),Ne.bank_account=he,this.store.dispatch(new le.BS(Ne.profile_id,Ne)),this.modalInstanceService.close()})}handleUpdateBankAccountError(Ne){return this.alertService.error("Das Aktualisieren deiner Bankverbindung ist fehlgeschlagen. Bitte versuche es erneut."),this.logService.error("[IbanUpdateModalComponent] Error on PUT bank account data",Ne),this.modalInstanceService.dismiss(),(0,se.of)(null)}static \u0275fac=function(he){return new(he||xe)};static \u0275cmp=a.VBU({type:xe,selectors:[["wa-iban-update-modal"]],standalone:!0,features:[a.aNF],decls:7,vars:7,consts:[["title","Deine Bankdaten","dismissButtonText","Abbrechen","submitButtonText","Speichern",3,"onDismissClick","onSubmitClick","
3submitDisabled","submitLoadingState"],["modalBody",""],[3,"formGroup"],[1,"iban-update-input"],["label","IBAN","placeholder","DE00000000000000000000","size","lg","formControlName","iban",3,"textMaskConfig"]],template:function(he,Me){1&he&&(a.j41(0,"frontend-default-modal",0),a.bIt("onDismissClick",function(){return Me.dismissModal()})("onSubmitClick",function(){return Me.submit()}),a.qex(1,1),a.j41(2,"p"),a.EFF(3),a.k0s(),a.j41(4,"form",2)(5,"div",3),a.nrm(6,"frontend-input",4),a.k0s()(),a.bVm(),a.k0s()),2&he&&(a.Y8G("submitDisabled",Me.isSubmitting||!Me.form.valid)("submitLoadingState",Me.isSubmitting?Me.buttonLoadingState.Loading:Me.buttonLoadingState.NotLoading),a.R7$(3),a.SpI(" ",Me.modalData.subtitle," "),a.R7$(),a.Y8G("formGroup",Me.form),a.R7$(2),a.Y8G("textMaskConfig",a.eq3(5,Le,Me.mask)))},dependencies:[z.o,h.YN,h.qT,h.BC,h.cb,h.X1,h.j4,h.JD,P.x,Re.S],styles:[".iban-update-input[_ngcontent-%COMP%]{margin-bottom:12px}"]})}return xe})()},60352:(st,Q,g)=>{"use strict";g.d(Q,{j:()=>_});var a=g(61142),h=g(56106),H=g(24153),z=g(23818),P=g(48476),C=g(71101),B=g(58527);let _=(()=>{class q{static \u0275fac=function(R){return new(R||q)};static \u0275mod=B.$C({type:q});static \u0275inj=B.G2t({imports:[a.MD,h.X1,H.U,z.o,P.x,C.K]})}return q})()},62274:(st,Q,g)=>{"use strict";g.d(Q,{G:()=>C});var a=g(58527),h=g(85618),H=g(23818),z=g(13735),P=g(2590);let C=(()=>{class B{data=(0,a.WQX)(H.e5);modalInstanceService=(0,a.WQX)(H.g7);trackingConsentService=(0,a.WQX)(z.r);closeModal(){this.setTrackingConsent(!1),this.modalInstanceService.dismiss()}onConsentAcceptClick(){this.setTrackingConsent(!0),this.modalInstanceService.dismiss()}setTrackingConsent(q){this.trackingConsentService.toggleTrackingConsent(q,this.data.profile)}static \u0275fac=function(A){return new(A||B)};static \u0275cmp=a.VBU({type:B,selectors:[["wa-tracking-consent-modal"]],standalone:!0,features:[a.aNF],decls:8,vars:1,consts:[["title","App Nutzungsdaten","dismissButtonText","Nicht teilen","submitButtonText","Nutzungsdaten teilen",3,"onDismissClick","onSubmitClick"],["modalBody","",1,"tracking-consent-modal-body"],["href","https://www.ottonova.de/datenschutz#App",3,"targetBlank"]],template:function(A,X){1&A&&(a.j41(0,"frontend-default-modal",0),a.bIt("onDismissClick",function(){return X.closeModal()})("onSubmitClick",function(){return X.onConsentAcceptClick()}),a.j41(1,"div",1)(2,"p"),a.EFF(3," Indem du die App Aktivit\xe4t und Absturzberichte teilst, hilfst du die App weiter zu verbessern. Es handelt sich hierbei nicht um pers\xf6nliche Daten oder Gesundheitsdaten. "),a.k0s(),a.j41(4,"p"),a.EFF(5," Details zu den Daten findest du unter "),a.j41(6,"frontend-link",2),a.EFF(7," https://www.ottonova.de/datenschutz#App "),a.k0s()()()()),2&A&&(a.R7$(6),a.Y8G("targetBlank",!0))},dependencies:[H.o,h.VM,P.g],encapsulation:2})}return B})()},13735:(st,Q,g)=>{"use strict";g.d(Q,{r:()=>R});var a=g(58527),h=g(23818),H=g(51376),z=g(52713),P=g(78374),C=g(85687),B=g(6663),_=g(51335),q=g(99361),A=g(35888),X=g(62274);let R=(()=>{class ne{profileService=(0,a.WQX)(_.p);store=(0,a.WQX)(z.il);modalService=(0,a.WQX)(h.Bg);showConsentModal(_e){this.modalService.show(X.G,{data:{profile:_e}})}toggleTrackingConsent(_e,le){const Re={type:H.rvg.TrackAppAnalytics,consented:_e};this.profileService.updateConsent(Re,le).pipe((0,P.s)(1)).subscribe(()=>{this.store.dispatch(new q.BS(le.profile_id,{consents:[...le.consents.filter(Le=>!this.isTrackingConsent(Le)),Re]}))})}selectTrackingAnalyticsConsentState(){return this.store.select(A.r7).pipe((0,C.p)(_e=>!!_e),(0,B.T)(_e=>{const le=_e.length<2?_e[0]:_e.find(Re=>Re.is_primary_profile);return!!le&&this.isTrackingConsentAccepted(le)}),(0,P.s)(1))}isTrackingConsentGiven(_e){return _e.consents.some(this.isTrackingConsent)}isTrackingConsentAccepted(_e){return _e.consents.find(this.isTrackingConsent)?.consented}isTrackingConsent(_e){return _e.type===H.rvg.TrackAppAnalytics}static \u0275fac=function(le){return new(le||ne)};static \u0275prov=a.jDH({token:ne,factory:ne.\u0275fac,providedIn:"root"})}return ne})()},69131:(st,Q,g)=>{"use strict";g.d(Q,{k:()=>P});var a=g(58527),h=g(66990),H=g(51376),z=g(51405);let P=(()=>
3{class C{apiUrl=(0,a.WQX)(h.rA);chatServerApiUrl=(0,a.WQX)(z.wQ);healthXServiceApiUrl=(0,a.WQX)(h.uR);freemiumServiceApiUrl=(0,a.WQX)(h.bx);profileDocumentCategories(_,q=H.TMK.German){return`${this.apiUrl}/customer/customer/profiles/${_}/document-categories?language=${q}`}documentThumbnail(_,q){return`${this.apiUrl}/customer/customer/profiles/${_}/documents/${q}/thumbnail`}aggregatePdf(_,q){return`${this.apiUrl}/customer/customer/profiles/${_}/documents/${q}/aggregate-pdf`}getReferralId(_){return`${this.apiUrl}/customer/customer/profiles/${_}/referral-id`}documents(_){return`${this.apiUrl}/customer/customer/profiles/${_}/documents`}markAsPaid(_,q){return`${this.apiUrl}/customer/customer/profiles/${_}/documents/${q}/paid`}unreadDocumentsCount(_){return`${this.apiUrl}/customer/customer/profiles/${_}/documents/unread-count`}markDocumentAsRead(_,q){return`${this.apiUrl}/customer/customer/profiles/${_}/documents/${q}/read`}claims(_){return`${this.apiUrl}/claim/customer/profiles/${_}/claims`}files(_){return`${this.apiUrl}/customer/customer/profiles/${_}/files`}timelineEvents(_){return`${this.apiUrl}/customer/customer/profiles/${_}/timeline-events`}timelineEventDetails(_,q){return`${this.apiUrl}/customer/customer/profiles/${_}/timeline-events/${q}`}profiles(){return`${this.apiUrl}/customer/customer/profiles`}signups(){return`${this.apiUrl}/signup/customer/signups`}profileBankAccount(_){return`${this.apiUrl}/customer/customer/profiles/${_}/bank-account`}consents(_){return`${this.apiUrl}/customer/customer/profiles/${_}/consents`}getTariffPremiums(_){return`${this.apiUrl}/customer/customer/profiles/${_}/tariff-premiums`}getUnreadChatMessages(){return`${this.chatServerApiUrl}/chat/conversations/unread-count`}getUnreadArchivedChatMessages(){return`${this.chatServerApiUrl}/chat/conversations/unread-count?archived=true&includeRatingMessages=true`}reopenConversation(_){return`${this.chatServerApiUrl}/chat/conversations/${_}/reopen`}chatAgentsAvailable(){return`${this.chatServerApiUrl}/chat/agents-availability`}thryveAccess(_){return`${this.healthXServiceApiUrl}/thryve/access/${_}`}thryveSdkUrl(_){return`${this.healthXServiceApiUrl}/thryve/sdk-url/${_}`}thryveRevokeAllConsentsUrl(_){return`${this.healthXServiceApiUrl}/thryve/revoke-consents/${_}`}tariffBenefits(_){return`${this.apiUrl}/customer/customer/profiles/${_}/tariff-benefits?language=de`}todos(_){return`${this.apiUrl}/customer/customer/profiles/${_}/customer-todos`}openedTodosCountForAccount(_){return`${this.apiUrl}/customer/customer/accounts/${_}/customer-todos/open-todos-count`}sendFeedback(_){return`${this.apiUrl}/customer/customer/profiles/${_}/feedback`}profileLanguage(_){return`${this.apiUrl}/customer/customer/profiles/${_}/means-of-communication/language`}categoryExpiryDate(_){return`${this.apiUrl}/customer/customer/profiles/${_}/customer-category-expiry-date`}surveyQuestions(_,q){return`${this.freemiumServiceApiUrl}/inventory/survey/upsale/${_}/${q}`}getAvailableSalesCallAppointments(_){return`${this.apiUrl}/customer/customer/profiles/${_}/upsell/available-appointments`}bookSalesCall(_){return`${this.apiUrl}/customer/customer/profiles/${_}/upsell/appointments`}markAsIneligibleForUpsell(_){return`${this.apiUrl}/customer/customer/profiles/${_}/upsell/ineligible`}static \u0275fac=function(q){return new(q||C)};static \u0275prov=a.jDH({token:C,factory:C.\u0275fac})}return C})()},12669:(st,Q,g)=>{"use strict";g.d(Q,{T:()=>h});var a=g(58527);let h=(()=>{class H{isFirstLoad=!0;cache=new Map;get(P){return this.cache.get(P)}set(P,C){this.cache.set(P,C)}clear(){this.cache.clear()}static \u0275fac=function(C){return new(C||H)};static \u0275prov=a.jDH({token:H,factory:H.\u0275fac,providedIn:"root"})}return H})()},71645:(st,Q,g)=>{"use strict";g.d(Q,{f:()=>Gr});var a=g(70650),h=g(58527);const P=function(U,D){if(!U)throw C(D)},C=function(U){return new Error("Firebase Database (${JSCORE_VERSION}) INTERNAL ASSERT FAILED: "+U)},B=function(U){const D=[];let L=0;for(let de=0;de<U.length;de++){let De=U.charCodeAt(de);De<128?D[L++]=De:De<2048?(D[L++]=De>>6|192,D[L++]=63&De|128):55296==(64512&De)&&de+1<U.length&&56320==(64512&U.charCo
3deAt(de+1))?(De=65536+((1023&De)<<10)+(1023&U.charCodeAt(++de)),D[L++]=De>>18|240,D[L++]=De>>12&63|128,D[L++]=De>>6&63|128,D[L++]=63&De|128):(D[L++]=De>>12|224,D[L++]=De>>6&63|128,D[L++]=63&De|128)}return D},q={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:"function"==typeof atob,encodeByteArray(U,D){if(!Array.isArray(U))throw Error("encodeByteArray takes an array as a parameter");this.init_();const L=D?this.byteToCharMapWebSafe_:this.byteToCharMap_,de=[];for(let De=0;De<U.length;De+=3){const at=U[De],Ut=De+1<U.length,bn=Ut?U[De+1]:0,Dn=De+2<U.length,ln=Dn?U[De+2]:0;let Fi=(15&bn)<<2|ln>>6,Kr=63&ln;Dn||(Kr=64,Ut||(Fi=64)),de.push(L[at>>2],L[(3&at)<<4|bn>>4],L[Fi],L[Kr])}return de.join("")},encodeString(U,D){return this.HAS_NATIVE_SUPPORT&&!D?btoa(U):this.encodeByteArray(B(U),D)},decodeString(U,D){return this.HAS_NATIVE_SUPPORT&&!D?atob(U):function(U){const D=[];let L=0,de=0;for(;L<U.length;){const De=U[L++];if(De<128)D[de++]=String.fromCharCode(De);else if(De>191&&De<224){const at=U[L++];D[de++]=String.fromCharCode((31&De)<<6|63&at)}else if(De>239&&De<365){const Dn=((7&De)<<18|(63&U[L++])<<12|(63&U[L++])<<6|63&U[L++])-65536;D[de++]=String.fromCharCode(55296+(Dn>>10)),D[de++]=String.fromCharCode(56320+(1023&Dn))}else{const at=U[L++],Ut=U[L++];D[de++]=String.fromCharCode((15&De)<<12|(63&at)<<6|63&Ut)}}return D.join("")}(this.decodeStringToByteArray(U,D))},decodeStringToByteArray(U,D){this.init_();const L=D?this.charToByteMapWebSafe_:this.charToByteMap_,de=[];for(let De=0;De<U.length;){const at=L[U.charAt(De++)],bn=De<U.length?L[U.charAt(De)]:0;++De;const ln=De<U.length?L[U.charAt(De)]:64;++De;const Rn=De<U.length?L[U.charAt(De)]:64;if(++De,null==at||null==bn||null==ln||null==Rn)throw new A;de.push(at<<2|bn>>4),64!==ln&&(de.push(bn<<4&240|ln>>2),64!==Rn&&de.push(ln<<6&192|Rn))}return de},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let U=0;U<this.ENCODED_VALS.length;U++)this.byteToCharMap_[U]=this.ENCODED_VALS.charAt(U),this.charToByteMap_[this.byteToCharMap_[U]]=U,this.byteToCharMapWebSafe_[U]=this.ENCODED_VALS_WEBSAFE.charAt(U),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[U]]=U,U>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(U)]=U,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(U)]=U)}}};class A extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}const R=function(U){return function(U){const D=B(U);return q.encodeByteArray(D,!0)}(U).replace(/\./g,"")},Te=()=>{try{return function Re(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("Unable to locate global object.")}().__FIREBASE_DEFAULTS__||(()=>{if(typeof process>"u"||typeof process.env>"u")return;const U=process.env.__FIREBASE_DEFAULTS__;return U?JSON.parse(U):void 0})()||(()=>{if(typeof document>"u")return;let U;try{U=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;]+)/)}catch{return}const D=U&&function(U){try{return q.decodeString(U,!0)}catch(D){console.error("base64Decode failed: ",D)}return null}(U[1]);return D&&JSON.parse(D)})()}catch(U){return void console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${U}`)}},Me=()=>Te()?.config;class yt{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise((D,L)=>{this.resolve=D,this.reject=L})}wrapCallback(D){return(L,de)=>{L?this.reject(L):this.resolve(de),"function"==typeof D&&(this.promise.catch(()=>{}),1===D.length?D(L):D(L,de))}}}function tt(){try{return"object"==typeof indexedDB}catch{return!1}}function nt(){return new Promise((U,D)=>{try{let L=!0;const de="validate-browser-context-for-indexeddb-analytics-module",De=self.indexedDB.open(de);De.onsuccess=()=>{De.result.close(),L||self.indexedDB.deleteDatabase(de),U(!0)},De.onupgradeneeded=()=>{L=!1},De.onerror=()=>{D(De.error?.message||"")}}catch(L){D(L)}})}
3class Hn extends Error{constructor(D,L,de){super(L),this.code=D,this.customData=de,this.name="FirebaseError",Object.setPrototypeOf(this,Hn.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,_n.prototype.create)}}class _n{constructor(D,L,de){this.service=D,this.serviceName=L,this.errors=de}create(D,...L){const de=L[0]||{},De=`${this.service}/${D}`,at=this.errors[D],Ut=at?function hn(U,D){try{let L=0,de="";for(;L<U.length;){const De=U.indexOf("{$",L);if(-1===De){de+=U.substring(L);break}const at=U.indexOf("}",De+2);if(-1===at){de+=U.substring(L);break}const Ut=U.substring(De+2,at),bn=D[Ut];de+=U.substring(L,De)+(null!=bn?String(bn):`<${Ut}?>`),L=at+1}return de}catch{return U}}(at,de):"Error";return new Hn(De,`${this.serviceName}: ${Ut} (${De}).`,de)}}function wi(U,D){if(U===D)return!0;const L=Object.keys(U),de=Object.keys(D);for(const De of L){if(!de.includes(De))return!1;const at=U[De],Ut=D[De];if(Rt(at)&&Rt(Ut)){if(!wi(at,Ut))return!1}else if(at!==Ut)return!1}for(const De of de)if(!L.includes(De))return!1;return!0}function Rt(U){return null!==U&&"object"==typeof U}const Pt=1e3,Et=2,ot=144e5,pt=.5;function rn(U,D=Pt,L=Et){const de=D*Math.pow(L,U),De=Math.round(pt*de*(Math.random()-.5)*2);return Math.min(ot,de+De)}function hi(U){return U&&U._delegate?U._delegate:U}class Di{constructor(D,L,de){this.name=D,this.instanceFactory=L,this.type=de,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(D){return this.instantiationMode=D,this}setMultipleInstances(D){return this.multipleInstances=D,this}setServiceProps(D){return this.serviceProps=D,this}setInstanceCreatedCallback(D){return this.onInstanceCreated=D,this}}const ds="[DEFAULT]";class cr{constructor(D,L){this.name=D,this.container=L,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}get(D){const L=this.normalizeInstanceIdentifier(D);if(!this.instancesDeferred.has(L)){const de=new yt;if(this.instancesDeferred.set(L,de),this.isInitialized(L)||this.shouldAutoInitialize())try{const De=this.getOrInitializeService({instanceIdentifier:L});De&&de.resolve(De)}catch{}}return this.instancesDeferred.get(L).promise}getImmediate(D){const L=this.normalizeInstanceIdentifier(D?.identifier),de=D?.optional??!1;if(!this.isInitialized(L)&&!this.shouldAutoInitialize()){if(de)return null;throw Error(`Service ${this.name} is not available`)}try{return this.getOrInitializeService({instanceIdentifier:L})}catch(De){if(de)return null;throw De}}getComponent(){return this.component}setComponent(D){if(D.name!==this.name)throw Error(`Mismatching Component ${D.name} for Provider ${this.name}.`);if(this.component)throw Error(`Component for ${this.name} has already been provided`);if(this.component=D,this.shouldAutoInitialize()){if(function nn(U){return"EAGER"===U.instantiationMode}(D))try{this.getOrInitializeService({instanceIdentifier:ds})}catch{}for(const[L,de]of this.instancesDeferred.entries()){const De=this.normalizeInstanceIdentifier(L);try{const at=this.getOrInitializeService({instanceIdentifier:De});de.resolve(at)}catch{}}}}clearInstance(D=ds){this.instancesDeferred.delete(D),this.instancesOptions.delete(D),this.instances.delete(D)}delete(){var D=this;return(0,a.A)(function*(){const L=Array.from(D.instances.values());yield Promise.all([...L.filter(de=>"INTERNAL"in de).map(de=>de.INTERNAL.delete()),...L.filter(de=>"_delete"in de).map(de=>de._delete())])})()}isComponentSet(){return null!=this.component}isInitialized(D=ds){return this.instances.has(D)}getOptions(D=ds){return this.instancesOptions.get(D)||{}}initialize(D={}){const{options:L={}}=D,de=this.normalizeInstanceIdentifier(D.instanceIdentifier);if(this.isInitialized(de))throw Error(`${this.name}(${de}) has already been initialized`);if(!this.isComponentSet())throw Error(`Component ${this.name} has not been registered yet`);const De=this.getOrInitializeService({instanceIdentifier:de,options:L});for(const[at,Ut]of this.instancesDeferred.entries())de===this.normalizeInstanceIdentifier(at)&&Ut.resolve(De);return De}onInit(D,L){const de=this.normalizeInstanceIdentifier(L),De=this.onInitCallbacks.get(de)??new Set;De.add(D),this.onInitCallbacks.set(de,De);const at=this.instances.get(de);return at&&D(at,de),()=>{De.delete(D)}}invokeOnInitCallbacks(D,L){const de=this.onInitCallbacks.get(L);if(de)for(const De of de)try{De(D,L)}catch{}}getOrInitializeService({instanceIdentifier:D,options:L={}}){let de=this.instances.get(D);if(!de&&this.component&&(de=this.component.instanceFactory(this.container,{instanceIdentifier:(U=D,U===ds?void 0:U),options:L}),this.instances.set(D,de),this.instancesOptions.set(D,L),this.invokeOnInitCallbacks(de,D),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,D,de)}catch{}var U;return de||null}normalizeInstanceIdentifier(D=ds){return this.component?this.component.multipleInstances?D:ds:D}shouldAutoInitialize(){return!!this.component&&"EXPLICIT"!==this.component.instantiationMode}}class et{constructor(D){this.name=D,this.providers=new Map}addComponent(D){const L=this.getProvider(D.name);if(L.isComponentSet())throw new Error(`Component ${D.name} has already been registered with ${this.name}`);L.setComponent(D)}addOrOverwriteComponent(D){this.getProvider(D.name).isComponentSet()&&this.providers.delete(D.name),this.addComponent(D)}getProvider(D){if(this.providers.has(D))return this.providers.get(D);const L=new cr(D,this);return this.providers.set(D,L),L}getProviders(){return Array.from(this.providers.values())}}const Zt=[];var At=function(U){return U[U.DEBUG=0]="DEBUG",U[U.VERBOSE=1]="VERBOSE",U[U.INFO=2]="INFO",U[U.WARN=3]="WARN",U[U.ERROR=4]="ERROR",U[U.SILENT=5]="SILENT",U}(At||{});const Yn={debug:At.DEBUG,verbose:At.VERBOSE,info:At.INFO,warn:At.WARN,error:At.ERROR,silent:At.SILENT},Wi=At.INFO,ii={[At.DEBUG]:"log",[At.VERBOSE]:"log",[At.INFO]:"info",[At.WARN]:"warn",[At.ERROR]:"error"},Ur=(U,D,...L)=>{if(D<U.logLevel)return;const de=(new Date).toISOString(),De=ii[D];if(!De)throw new Error(`Attempted to log a message with an invali
3d logType (value: ${D})`);console[De](`[${de}]  ${U.name}:`,...L)};class sr{constructor(D){this.name=D,this._logLevel=Wi,this._logHandler=Ur,this._userLogHandler=null,Zt.push(this)}get logLevel(){return this._logLevel}set logLevel(D){if(!(D in At))throw new TypeError(`Invalid value "${D}" assigned to \`logLevel\``);this._logLevel=D}setLogLevel(D){this._logLevel="string"==typeof D?Yn[D]:D}get logHandler(){return this._logHandler}set logHandler(D){if("function"!=typeof D)throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=D}get userLogHandler(){return this._userLogHandler}set userLogHandler(D){this._userLogHandler=D}debug(...D){this._userLogHandler&&this._userLogHandler(this,At.DEBUG,...D),this._logHandler(this,At.DEBUG,...D)}log(...D){this._userLogHandler&&this._userLogHandler(this,At.VERBOSE,...D),this._logHandler(this,At.VERBOSE,...D)}info(...D){this._userLogHandler&&this._userLogHandler(this,At.INFO,...D),this._logHandler(this,At.INFO,...D)}warn(...D){this._userLogHandler&&this._userLogHandler(this,At.WARN,...D),this._logHandler(this,At.WARN,...D)}error(...D){this._userLogHandler&&this._userLogHandler(this,At.ERROR,...D),this._logHandler(this,At.ERROR,...D)}}const Cs=(U,D)=>D.some(L=>U instanceof L);let ho,_o;const be=new WeakMap,we=new WeakMap,Ee=new WeakMap,ue=new WeakMap,Xe=new WeakMap;let Qt={get(U,D,L){if(U instanceof IDBTransaction){if("done"===D)return we.get(U);if("objectStoreNames"===D)return U.objectStoreNames||Ee.get(U);if("store"===D)return L.objectStoreNames[1]?void 0:L.objectStore(L.objectStoreNames[0])}return ei(U[D])},set:(U,D,L)=>(U[D]=L,!0),has:(U,D)=>U instanceof IDBTransaction&&("done"===D||"store"===D)||D in U};function Ci(U){return"function"==typeof U?function Bn(U){return U!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?function We(){return _o||(_o=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}().includes(U)?function(...D){return U.apply(qi(this),D),ei(be.get(this))}:function(...D){return ei(U.apply(qi(this),D))}:function(D,...L){const de=U.call(qi(this),D,...L);return Ee.set(de,D.sort?D.sort():[D]),ei(de)}}(U):(U instanceof IDBTransaction&&function kt(U){if(we.has(U))return;const D=new Promise((L,de)=>{const De=()=>{U.removeEventListener("complete",at),U.removeEventListener("error",Ut),U.removeEventListener("abort",Ut)},at=()=>{L(),De()},Ut=()=>{de(U.error||new DOMException("AbortError","AbortError")),De()};U.addEventListener("complete",at),U.addEventListener("error",Ut),U.addEventListener("abort",Ut)});we.set(U,D)}(U),Cs(U,function ko(){return ho||(ho=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}())?new Proxy(U,Qt):U)}function ei(U){if(U instanceof IDBRequest)return function qe(U){const D=new Promise((L,de)=>{const De=()=>{U.removeEventListener("success",at),U.removeEventListener("error",Ut)},at=()=>{L(ei(U.result)),De()},Ut=()=>{de(U.error),De()};U.addEventListener("success",at),U.addEventListener("error",Ut)});return D.then(L=>{L instanceof IDBCursor&&be.set(L,U)}).catch(()=>{}),Xe.set(D,U),D}(U);if(ue.has(U))return ue.get(U);const D=Ci(U);return D!==U&&(ue.set(U,D),Xe.set(D,U)),D}const qi=U=>Xe.get(U);function br(U,D,{blocked:L,upgrade:de,blocking:De,terminated:at}={}){const Ut=indexedDB.open(U,D),bn=ei(Ut);return de&&Ut.addEventListener("upgradeneeded",Dn=>{de(ei(Ut.result),Dn.oldVersion,Dn.newVersion,ei(Ut.transaction),Dn)}),L&&Ut.addEventListener("blocked",Dn=>L(Dn.oldVersion,Dn.newVersion,Dn)),bn.then(Dn=>{at&&Dn.addEventListener("close",()=>at()),De&&Dn.addEventListener("versionchange",ln=>De(ln.oldVersion,ln.newVersion,ln))}).catch(()=>{}),bn}const os=["get","getKey","getAll","getAllKeys","count"],jr=["put","add","delete","clear"],as=new Map;function Pi(U,D){if(!(U instanceof IDBDatabase)||D in U||"string"!=typeof D)return;if(as.get(D))return as.get(D);const L=D.replace(/FromIndex$/,""),de=D!==L,De=jr.includes(L);if(!(L in(de?IDBIndex:IDBObjectStore).prototype)||!De&&!os.includes(L))return;const at=function(){var Ut=(0,a.A)(function*(bn,...Dn){const ln=this.transaction(bn,De?"readwrite":"readonly");let Un=ln.store;return de&&(Un=Un.index(Dn.shift())),(yield Promise.all([Un[L](...Dn),De&&ln.done]))[0]});return function(Dn){return Ut.apply(this,arguments)}}();return as.set(D,at),at}!function En(U){Qt=U(Qt)}(U=>({...U,get:(D,L,de)=>Pi(D,L)||U.get(D,L,de),has:(D,L)=>!!Pi(D,L)||U.has(D,L)}));class xr{constructor(D){this.container=D}getPlatformInfoString(){return this.container.getProviders().map(L=>{if(function Es(U){return"VERSION"===U.getComponent()?.type}(L)){const de=L.getImmediate();return`${de.library}/${de.version}`}return null}).filter(L=>L).join(" ")}}const it="@firebase/app",Bt=new sr("@firebase/app"),Kt="@firebase/app-compat",Gn="@firebase/analytics-compat",Jn="@f
3irebase/analytics",Gi="@firebase/app-check-compat",vr="@firebase/app-check",ki="@firebase/auth",Rs="@firebase/auth-compat",Ki="@firebase/database",kr="@firebase/data-connect",Na="@firebase/database-compat",la="@firebase/functions",Lc="@firebase/functions-compat",ka="@firebase/installations",ba="@firebase/installations-compat",va="@firebase/messaging",ea="@firebase/messaging-compat",Dc="@firebase/performance",Ka="@firebase/performance-compat",Sa="@firebase/remote-config",No="@firebase/remote-config-compat",gc="@firebase/storage",Hr="@firebase/storage-compat",Ra="@firebase/firestore",Qr="@firebase/ai",Fo="@firebase/firestore-compat",gn="firebase",dr="[DEFAULT]",io={[it]:"fire-core",[Kt]:"fire-core-compat",[Jn]:"fire-analytics",[Gn]:"fire-analytics-compat",[vr]:"fire-app-check",[Gi]:"fire-app-check-compat",[ki]:"fire-auth",[Rs]:"fire-auth-compat",[Ki]:"fire-rtdb",[kr]:"fire-data-connect",[Na]:"fire-rtdb-compat",[la]:"fire-fn",[Lc]:"fire-fn-compat",[ka]:"fire-iid",[ba]:"fire-iid-compat",[va]:"fire-fcm",[ea]:"fire-fcm-compat",[Dc]:"fire-perf",[Ka]:"fire-perf-compat",[Sa]:"fire-rc",[No]:"fire-rc-compat",[gc]:"fire-gcs",[Hr]:"fire-g
3cs-compat",[Ra]:"fire-fst",[Fo]:"fire-fst-compat",[Qr]:"fire-vertex","fire-js":"fire-js",[gn]:"fire-js-all"},fi=new Map,Or=new Map,_a=new Map;function Bo(U,D){try{U.container.addComponent(D)}catch(L){Bt.debug(`Component ${D.name} failed to register with FirebaseApp ${U.name}`,L)}}function Ai(U){const D=U.name;if(_a.has(D))return Bt.debug(`There were multiple attempts to register component ${D}.`),!1;_a.set(D,U);for(const L of fi.values())Bo(L,U);for(const L of Or.values())Bo(L,U);return!0}function Ys(U,D){const L=U.container.getProvider("heartbeat").getImmediate({optional:!0});return L&&L.triggerHeartbeat(),U.container.getProvider(D)}const es=new _n("app","Firebase",{"no-app":"No Firebase App '{$appName}' has been created - call initializeApp() first","bad-app-name":"Illegal App name: '{$appName}'","duplicate-app":"Firebase App named '{$appName}' already exists with different {$mismatchedParam}. Existing: '{$oldValue}'. New: '{$newValue}'.","app-deleted":"Firebase App named '{$appName}' already deleted","server-app-deleted":"Firebase Server App has been deleted","no-options":"Need to provide options, when not being deployed to hosting via source.","invalid-app-argument":"firebase.{$appName}() takes either no argument or a Firebase App instance.","invali
3d-log-argument":"First argument to `onLog` must be null or a function.","idb-open":"Error thrown when opening IndexedDB. Original error: {$originalErrorMessage}.","idb-get":"Error thrown when reading from IndexedDB. Original error: {$originalErrorMessage}.","idb-set":"Error thrown when writing to IndexedDB. Original error: {$originalErrorMessage}.","idb-delete":"Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}.","finalization-registry-not-supported":"FirebaseServerApp deleteOnDeref field defined but the JS runtime does not support FinalizationRegistry.","invalid-server-app-environment":"FirebaseServerApp is not for use in browser environments."});class wo{constructor(D,L,de){this._isDeleted=!1,this._options={...D},this._config={...L},this._name=L.name,this._automaticDataCollectionEnabled=L.automaticDataCollectionEnabled,this._container=de,this.container.addComponent(new Di("app",()=>this,"PUBLIC"))}get automaticDataCollectionEnabled(){return this.checkDestroyed(),this._automaticDataCollectionEnabled}set automaticDataCollectionEnabled(D){this.checkDestroyed(),this._automaticDataCollectionEnabled=D}get name(){return this.checkDestroyed(),this._name}get options(){return this.checkDestroyed(),this._options}get config(){return this.checkDestroyed(),this._config}get container(){return this._container}get isDeleted(){return this._isDeleted}set isDeleted(D){this._isDeleted=D}checkDestroyed(){if(this.isDeleted)throw es.create("app-deleted",{appName:this._name})}}const Ms="12.18.0";function Lo(U,D={}){let L=U;"object"!=typeof D&&(D={name:D});const de={name:dr,automaticDataCollectionEnabled:!0,...D},De=de.name;if("string"!=typeof De||!De)throw es.create("bad-app-name",{appName:String(De)});if(L||(L=Me()),!L)throw es.create("no-options");const at=fi.get(De);if(at){if(wi(L,at.options)){if(wi(de,at.config))return at;throw es.create("duplicate-app",{appName:De,mismatchedParam:"config",oldValue:JSON.stringify(at.config),newValue:JSON.stringify(de)})}throw es.create("duplicate-app",{appName:De,mismatchedParam:"options",oldValue:JSON.stringify(at.options),newValue:JSON.stringify(L)})}const Ut=new et(De);for(const Dn of _a.values())Ut.addComponent(Dn);const bn=new wo(L,de,Ut);return fi.set(De,bn),bn}function Hs(U=dr){const D=fi.get(U);if(!D&&U===dr&&Me())return Lo();if(!D)throw es.create("no-app",{appName:U});return D}function fs(U,D,L){let de=io[U]??U;L&&(de+=`-${L}`);const De=de.match(/\s|\//),at=D.match(/\s|\//);if(De||at){const Ut=[`Unable to register library "${de}" with version "${D}":`];return De&&Ut.push(`library name "${de}" contains illegal characters (whitespace or "/")`),De&&at&&Ut.push("and"),at&&Ut.push(`version name "${D}" contains illegal characters (whitespace or "/")`),void Bt.warn(Ut.join(" "))}Ai(new Di(`${de}-version`,()=>({library:de,version:D}),"VERSION"))}const Wr="firebase-heartbeat-database",Ba=1,ro="firebase-heartbeat-store";let Uo=null;function da(){return Uo||(Uo=br(Wr,Ba,{upgrade:(U,D)=>{if(0===D)try{U.createObjectStore(ro)}catch(L){console.warn(L)}}}).catch(U=>{throw es.create("idb-open",{originalErrorMessage:U.message})})),Uo}function Ri(){return(Ri=(0,a.A)(function*(U){try{const L=(yield da()).transaction(ro),de=yield L.objectStore(ro).get(Qc(U));return yield L.done,de}catch(D){if(D instanceof Hn)Bt.warn(D.message);else{const L=es.create("idb-get",{originalErrorMessage:D?.message});Bt.warn(L.message)}}})).apply(this,arguments)}function ts(U,D){return Bs.apply(this,arguments)}function Bs(){return(Bs=(0,a.A)(function*(U,D){try{const de=(yield da()).transaction(ro,"readwrite");yield de.objectStore(ro).put(D,Qc(U)),yield de.done}catch(L){if(L instanceof Hn)Bt.warn(L.message);else{const de=es.create("idb-set",{originalErrorMessage:L?.message});Bt.warn(de.message)}}})).apply(this,arguments)}function Qc(U){return`${U.name}!${U.options.appId}`}class gl{constructor(D){this.container=D,this._heartbeatsCache=null;const L=this.container.getProvider("app").getImmediate();this._storage=new Zc(L),this._heartbeatsCachePromise=this._storage.read().then(de=>(this._heartbeatsCache=de,de))}triggerHeartbeat(){var D=this;return(0,a.A)(function*(){try{const de=D.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),De=nd();if(null==D._heartbeatsCache?.heartbeats&&(D._heartbeatsCache=yield D._heartbeatsCachePromise,null==D._heartbeatsCache?.heartbeats)||D._heartbeatsCache.lastSentHeartbeatDate===De||D._heartbeatsCache.heartbeats.some(at=>at.date===De))return;if(D._heartbeatsCache.heartbeats.push({date:De,agent:de}),D._heartbeatsCache.heartbeats.length>30){const at=function ye(U){if(0===U.length)return-1;let D=0,L=U[0].date;for(let de=1;de<U.length;de++)U[de].date<L&&(L=U[de].date,D=de);return D}(D._heartbeatsCache.heartbeats);D._heartbeatsCache.heartbeats.splice(at,1)}return D._storage.overwrite(D._heartbeatsCache)}catch(L){Bt.warn(L)}})()}getHeartbeatsHeader(){var D=this;return(0,a.A)(function*(){try{if(null===D._heartbeatsCache&&(yield D._heartbeatsCachePromise),null==D._heartbeatsCache?.heartbeats||0===D._heartbeatsCache.heartbeats.length)return"";const L=nd(),{heartbeatsToSend:de,unsentEntries:De}=function xc(U,D=1024){const L=[];let de=U.slice();for(const De of U){const at=L.find(Ut=>Ut.agent===De.agent);if(at){if(at.dates.push(De.date),fe(L)>D){at.dates.pop();break}}else if(L.push({agent:De.agent,dates:[De.date]}),fe(L)>
3D){L.pop();break}de=de.slice(1)}return{heartbeatsToSend:L,unsentEntries:de}}(D._heartbeatsCache.heartbeats),at=R(JSON.stringify({version:2,heartbeats:de}));return D._heartbeatsCache.lastSentHeartbeatDate=L,De.length>0?(D._heartbeatsCache.heartbeats=De,yield D._storage.overwrite(D._heartbeatsCache)):(D._heartbeatsCache.heartbeats=[],D._storage.overwrite(D._heartbeatsCache)),at}catch(L){return Bt.warn(L),""}})()}}function nd(){return(new Date).toISOString().substring(0,10)}class Zc{constructor(D){this.app=D,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}runIndexedDBEnvironmentCheck(){return(0,a.A)(function*(){return!!tt()&&nt().then(()=>!0).catch(()=>!1)})()}read(){var D=this;return(0,a.A)(function*(){if(yield D._canUseIndexedDBPromise){const de=yield function go(U){return Ri.apply(this,arguments)}(D.app);return de?.heartbeats?de:{heartbeats:[]}}return{heartbeats:[]}})()}overwrite(D){var L=this;return(0,a.A)(function*(){if(yield L._canUseIndexedDBPromise){const De=yield L.read();return ts(L.app,{lastSentHeartbeatDate:D.lastSentHeartbeatDate??De.lastSentHeartbeatDate,heartbeats:D.heartbeats})}})()}add(D){var L=this;return(0,a.A)(function*(){if(yield L._canUseIndexedDBPromise){const De=yield L.read();return ts(L.app,{lastSentHeartbeatDate:D.lastSentHeartbeatDate??De.lastSentHeartbeatDate,heartbeats:[...De.heartbeats,...D.heartbeats]})}})()}}function fe(U){return R(JSON.stringify({version:2,heartbeats:U})).length}!function ee(U){Ai(new Di("platform-logger",D=>new xr(D),"PRIVATE")),Ai(new Di("heartbeat",D=>new gl(D),"PRIVATE")),fs(it,"0.16.1",U),fs(it,"0.16.1","esm2020"),fs("fire-js","")}("");const ze="@firebase/installations",Ft="0.6.24",Kn=1e4,ur=`w:${Ft}`,Ma="FIS_v2",Rr="https://firebaseinstallations.googleapis.com/v1",La=36e5,As=new _n("installations","Installations",{"missing-app-config-values":'Missing App configuration value: "{$valueName}"',"not-registered":"Firebase Installation is not registered.","installation-not-found":"Firebase Installation not found.","request-failed":'{$requestName} request failed with error "{$serverCode} {$serverStatus}: {$serverMessage}"',"app-offline":"Could not process request. Application offline.","delete-pending-registration":"Can't delete installation while there is a pending registration request."});function Br(U){return U instanceof Hn&&U.code.includes("request-failed")}function mo({projectId:U}){return`${Rr}/projects/${U}/installations`}function Xo(U){return{token:U.token,requestStatus:2,expiresIn:xo(U.expiresIn),creationTime:Date.now()}}function yo(U,D){return bc.apply(this,arguments)}function bc(){return(bc=(0,a.A)(function*(U,D){const de=(yield D.json()).error;return As.create("request-failed",{requestName:U,serverCode:de.code,serverMessage:de.message,serverStatus:de.status})})).apply(this,arguments)}function wr({apiKey:U}){return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":U})}function So(U){return Do.apply(this,arguments)}function Do(){return(Do=(0,a.A)(function*(U){const D=yield U();return D.status>=500&&D.status<600?U():D})).apply(this,arguments)}function xo(U){return Number(U.replace("s","000"))}function Ya(){return(Ya=(0,a.A)(function*({appConfig:U,heartbeatServiceProvider:D},{fid:L}){const de=mo(U),De=wr(U),at=D.getImmediate({optional:!0});if(at){const ln=yield at.getHeartbeatsHeader();ln&&De.append("x-firebase-client",ln)}const bn={method:"POST",headers:De,body:JSON.stringify({fid:L,authVersion:Ma,appId:U.appId,sdkVersion:ur})},Dn=yield So(()=>fetch(de,bn));if(Dn.ok){const ln=yield Dn.json();return{fid:ln.fid||L,registrationStatus:2,refreshToken:ln.refreshToken,authToken:Xo(ln.authToken)}}throw yield yo("Create Installation",Dn)})).apply(this,arguments)}function Ua(U){return new Promise(D=>{setTimeout(D,U)})}const Ss=/^[cdef][\w-]{21}$/,el="";function vc(){try{const U=new Uint8Array(17);(self.crypto||self.msCrypto).getRandomValues(U),U[0]=112+U[0]%16;const L=function Ts(U){return function ml(U){return btoa(String.fromCharCode(...U)).replace(/\+/g,"-").replace(/\//g,"_")}(U).substr(0,22)}(U);return Ss.test(L)?L:el}catch{return el}}function _c(U){return`${U.appName}!${U.appId}`}const qa=new Map;function tl(U,D){const L=_c(U);Co(L,D),function Vc(U,D){const L=function ci(){return!jo&&"BroadcastChannel"in self&&(jo=new BroadcastChannel("[Firebase] FID Change"),jo.onmessage=U=>{Co(U.data.key,U.data.fid)}),jo}();L&&L.postMessage({key:U,fid:D}),function cs(){0===qa.size&&jo&&(jo.close(),jo=null)}()}(L,D)}function Co(U,D){const L=qa.get(U);if(L)for(const de of L)de(D)}let jo=null;const zc="firebase-installations-database",nl=1,Yo="firebase-installations-store";let ta=null;function bo(){return ta||(ta=br(zc,nl,{upgrade:(U,D)=>{0===D&&U.createObjectStore(Yo)}})),ta}function qo(U,D){return Fa.apply(this,arguments)}function Fa(){return(Fa=(0,a.A)(function*(U,D){const L=_c(U),De=(yield bo()).transaction(Yo,"readwrite"),at=De.objectStore(Yo),Ut=yield at.get(L);return yield at.put(D,L),yield De.done,(!Ut||Ut.fid!==D.fid)&&tl(U,D.fid),D})).apply(this,arguments)}function Mc(U){return so.apply(this,arguments)}function so(){return(so=(0,a.A)(function*(U){const D=_c(U),de=(yield bo()).transaction(Yo,"readwrite");yield de.objectStore(Yo).delete(D),yield de.done})).apply(this,arguments)}function Fc(U,D){return wa.apply(this,arguments)}function wa(){return(wa=(0,a.A)(function*(U,D){const L=_c(U),De=(yield bo()).transaction(Yo,"readwrite"),at=De.objectStore(Yo),Ut=yield at.get(L),bn=D(Ut);return void 0===bn?yield at.delete(L):yield at.put(bn,L),yield De.done,bn&&(!Ut||Ut.fid!==bn.fid)&&tl(U,bn.fid),bn})).apply(this,arguments)}function Vo(U){return yl.apply(this,arguments)}function yl(){return yl=(0,a.A)(function*(U){let D;const L=yield Fc(U.appConfig,de=>{const De=function Ul(U){return W(U||{fid:vc(),registrationStatus:0})}(de),at=function Ac(U,D){if(0===D.registrationStatus){if(!navigator.onLine)return{installationEntry:D,registrationPromise:Promise.reject(As.create("app-offline"))};const L={fid:D.fid,registrationStatus:1,registrationTime:Date.now()},de=function Qa(U,D){return Tc.apply(this,arguments)}(U,L);return{installationEntry:L,registrationPromise:de}}return 1===D.registrationStatus?{installationEntry:D,registrationPromise:Za(U)}:{installationEntry:D}}(U,De);return D=at.registrationPromise,at.installationEntry});return L.fid===el?{installationEntry:yield D}:{installationEntry:L,registrationPromise:D}}),yl.apply(this,arguments)}function Tc(){return Tc=(0,a.A)(function*(U,D){try{const L=yield function J
3c(U,D){return Ya.apply(this,arguments)}(U,D);return qo(U.appConfig,L)}catch(L){throw Br(L)&&409===L.customData.serverCode?yield Mc(U.appConfig):yield qo(U.appConfig,{fid:D.fid,registrationStatus:0}),L}}),Tc.apply(this,arguments)}function Za(U){return oo.apply(this,arguments)}function oo(){return(oo=(0,a.A)(function*(U){let D=yield ja(U.appConfig);for(;1===D.registrationStatus;)yield Ua(100),D=yield ja(U.appConfig);if(0===D.registrationStatus){const{installationEntry:L,registrationPromise:de}=yield Vo(U);return de||L}return D})).apply(this,arguments)}function ja(U){return Fc(U,D=>{if(!D)throw As.create("installation-not-found");return W(D)})}function W(U){return function k(U){return 1===U.registrationStatus&&U.registrationTime+Kn<Date.now()}(U)?{fid:U.fid,registrationStatus:0}:U}function Ce(){return(Ce=(0,a.A)(function*({appConfig:U,heartbeatServiceProvider:D},L){const de=function lt(U,{fid:D}){return`${mo(U)}/${D}/authTokens:generate`}(U,L),De=function Ws(U,{refreshToken:D}){const L=wr(U);return L.append("Authorization",function jc(U){return`${Ma} ${U}`}(D)),L}(U,L),at=D.getImmediate({optional:!0});if(at){const ln=yield at.getHeartbeatsHeader();ln&&De.append("x-firebase-client",ln)}const bn={method:"POST",headers:De,body:JSON.stringify({installation:{sdkVersion:ur,appId:U.appId}})},Dn=yield So(()=>fetch(de,bn));if(Dn.ok)return Xo(yield Dn.json());throw yield yo("Generate Auth Token",Dn)})).apply(this,arguments)}function an(U){return kn.apply(this,arguments)}function kn(){return kn=(0,a.A)(function*(U,D=!1){let L;const de=yield Fc(U.appConfig,at=>{if(!ys(at))throw As.create("not-registered");const Ut=at.authToken;if(!D&&function $i(U){return 2===U.requestStatus&&!function wn(U){const D=Date.now();return D<U.creationTime||U.creationTime+U.expiresIn<D+La}(U)}(Ut))return at;if(1===Ut.requestStatus)return L=function vi(U,D){return _r.apply(this,arguments)}(U,D),at;{if(!navigator.onLine)throw As.create("app-offline");const bn=function Ei(U){return{...U,authToken:{requestStatus:1,requestTime:Date.now()}}}(at);return L=function xi(U,D){return Sr.apply(this,arguments)}(U,bn),bn}});return L?yield L:de.authToken}),kn.apply(this,arguments)}function _r(){return(_r=(0,a.A)(function*(U,D){let L=yield ns(U.appConfig);for(;1===L.authToken.requestStatus;)yield Ua(100),L=yield ns(U.appConfig);const de=L.authToken;return 0===de.requestStatus?an(U,D):de})).apply(this,arguments)}function ns(U){return Fc(U,D=>{if(!ys(D))throw As.create("not-registered");return function Ui(U){return 1===U.requestStatus&&U.requestTime+Kn<Date.now()}(D.authToken)?{...D,authToken:{requestStatus:0}}:D})}function Sr(){return Sr=(0,a.A)(function*(U,D){try{const L=yield function ae(U,D){return Ce.apply(this,arguments)}(U,D),de={...D,authToken:L};return yield qo(U.appConfig,de),L}catch(L){if(!Br(L)||401!==L.customData.serverCode&&404!==L.customData.serverCode){const de={...D,authToken:{requestStatus:0}};yield qo(U.appConfig,de)}else yield Mc(U.appConfig);throw L}}),Sr.apply(this,arguments)}function ys(U){return void 0!==U&&2===U.registrationStatus}function Vr(){return(Vr=(0,a.A)(function*(U){const D=U,{installationEntry:L,registrationPromise:de}=yield Vo(D);return de?de.catch(console.error):an(D).catch(console.error),L.fid})).apply(this,arguments)}function ao(){return ao=(0,a.A)(function*(U,D=!1){const L=U;return yield function Zr(U){return Ds.apply(this,arguments)}(L),(yield an(L,D)).token}),ao.apply(this,arguments)}function Ds(){return(Ds=(0,a.A)(function*(U){const{registrationPromise:D}=yield Vo(U);D&&(yield D)})).apply(this,arguments)}function ia(U){return As.create("missing-app-config-values",{valueName:U})}const ac="installations",Oc=U=>{const D=U.getProvider("app").getImmediate(),L=function sd(U){if(!U||!U.options)throw ia("App Configuration");if(!U.name)throw ia("App Name");const D=["projectId","apiKey","appId"];for(const L of D)if(!U.options[L])throw ia(L);return{appName:U.name,projectId:U.options.projectId,apiKey:U.options.apiKey,appId:U.options.appId}}(D);return{app:D,appConfig:L,heartbeatServiceProvider:Ys(D,"heartbeat"),_delete:()=>Promise.resolve()}},il=U=>{const L=Ys(U.getProvider("app").getImmediate(),ac).getImmediate();return{getId:()=>function Gs(U){return Vr.apply(this,arguments)}(L),getToken:De=>function Eo(U){return ao.apply(this,arguments)}(L,De)}};(function Ta(){Ai(new Di(ac,Oc,"PUBLIC")),Ai(new Di("installations-internal",il,"PRIVATE"))})(),fs(ze,Ft),fs(ze,Ft,"esm2020");const _i="@firebase/remote-config";class wc{constructor(){this.listeners=[]}
3addEventListener(D){this.listeners.push(D)}abort(){this.listeners.forEach(D=>D())}}const cc="remote-config",Ir=new _n("remoteconfig","Remote Config",{"already-initialized":"Remote Config already initialized","registration-window":"Undefined window object. This SDK only supports usage in a browser environment.","registration-project-id":"Undefined project identifier. Check Firebase app initialization.","registration-api-key":"Undefined API key. Check Firebase app initialization.","registration-app-id":"Undefined app identifier. Check Firebase app initialization.","storage-open":"Error thrown when opening storage. Original error: {$originalErrorMessage}.","storage-get":"Error thrown when reading from storage. Original error: {$originalErrorMessage}.","storage-set":"Error thrown when writing to storage. Original error: {$originalErrorMessage}.","storage-delete":"Error thrown when deleting from storage. Original error: {$originalErrorMessage}.","fetch-client-network":"Fetch client failed to connect to a network. Check Internet connection. Original error: {$originalErrorMessage}.","fetch-timeout":'The config fetch request timed out.  Configure timeout using "fetchTimeoutMillis" SDK setting.',"fetch-throttle":'The config fetch request timed out while in an exponential backoff state. Configure timeout using "fetchTimeoutMillis" SDK setting. Unix timestamp in milliseconds when fetch request throttling ends: {$throttleEndTimeMillis}.',"fetch-client-parse":"Fetch client could not parse response. Original error: {$originalErrorMessage}.","fetch-status":"Fetch server returned an HTTP error status. HTTP status: {$httpStatus}.","indexed-db-unavailable":"Indexed DB is not supported by current browser","custom-signal-max-allowed-signals":"Setting more than {$maxSignals} custom signals is not supported.","stream-error":"The stream was not able to connect to the backend: {$originalErrorMessage}.","realtime-unavailable":"The Realtime service is unavailable: {$originalErrorMessage}","update-message-invalid":"The stream invalidation message was unparsable: {$originalErrorMessage}","update-not-fetched":"Unable to fetch the latest config: {$originalErrorMessage}","analytics-unavailable":"Connection to Firebase Analytics failed: {$originalErrorMessage}"}),za=["1","true","t","yes","y","on"];class Wc{constructor(D,L=""){this._source=D,this._value=L}asString(){return this._value}asBoolean(){return"static"!==this._source&&za.indexOf(this._value.toLowerCase())>=0}asNumber(){if("static"===this._source)return 0;let D=Number(this._value);return isNaN(D)&&(D=0),D}getSource(){return this._source}}class kd{constructor(D){this.storage=D._storage,this.logger=D._logger,this.analyticsProvider=D._analyticsProvider}updateActiveExperiments(D){var L=this;return(0,a.A)(function*(){const de=(yield L.storage.getActiveExperiments())||new Set,De=L.createExperimentInfoMap(D);return L.addActiveExperiments(De),L.removeInactiveExperiments(de,De),L.storage.setActiveExperiments(new Set(De.keys()))})()}createExperimentInfoMap(D){const L=new Map;for(const de of D)L.set(de.experimentId,de);return L}addActiveExperiments(D){const L={};for(const[de,De]of D.entries())L[`firebase${de}`]=De.variantId;this.addExperimentToAnalytics(L)}removeInactiveExperiments(D,L){const de={};for(const De of D)L.has(De)||(de[`firebase${De}`]=null);this.addExperimentToAnalytics(de)}addExperimentToAnalytics(D){if(0!==Object.keys(D).length)try{const L=this.analyticsProvider.getImmediate({optional:!0});L?(L.setUserProperties(D),L.logEvent("set_firebase_experiment_state")):this.logger.warn("Analytics import failed. Verify if you have imported Firebase Analytics in your app code.")}catch(L){throw Ir.create("analytics-unavailable",{originalErrorMessage:L?.message})}}}function $l(){return($l=(0,a.A)(function*(U){const D=hi(U),[L,de]=yield Promise.all([D._storage.getLastSuccessfulFetchResponse(),D._storage.getActiveConfigEtag()]);if(!(L&&L.config&&L.eTag&&L.templateVersion&&L.eTag!==de))return!1;const at=new kd(D).updateActiveExperiments(L.experiments||[]);return yield Promise.all([D._storageCache.setActiveConfig(L.config),D._storage.setActiveConfigEtag(L.eTag),D._storage.setActiveConfigTemplateVersion(L.templateVersion),at]),!0})).apply(this,arguments)}function bu(){return(bu=(0,a.A)(function*(U){const D=hi(U),L=new wc;setTimeout((0,a.A)(function*(){L.abort()}),D.settings.fetchTimeoutMillis);const de=D._storageCache.getCustomSignals();de&&D._logger.debug(`Fetching config with custom signals: ${JSON.stringify(de)}`);try{yield D._client.fetch({cacheMaxAgeMillis:D.settings.minimumFetchIntervalMillis,signal:L,customSignals:de}),yield D._storageCache.setLastFetchStatus("success")}catch(De){const at=function ua(U,D){return U instanceof Hn&&-1!==U.code.indexOf(D)}(De,"fetch-throttle")?"throttle":"failure";throw yield D._storageCache.setLastFetchStatus(at),De}})).apply(this,arguments)}function sl(U,D){return N(hi(U),D).asBoolean()}function N(U,D){const L=hi(U);L._isInitializationComplete||L._logger.debug(`A value was requested for key "${D}" before SDK initialization completed. Await on ensureInitialized if the intent was to get a previously activated value.`);const de=L._storageCache.getActiveConfig();return de&&void 0!==de[D]?new Wc("remote",de[D]):L.defaultConfig&&void 0!==L.defaultConfig[D]?new Wc("default",String(L.defaultConfig[D])):(L._logger.debug(`Returning static value for key "${D}". Define a default or remote value if this is unintentional.`),new Wc("static"))}class ht{constructor(D,L,de,De){this.client=D,this.storage=L,this.storageCache=de,this.logger=De}
3isCachedDataFresh(D,L){if(!L)return this.logger.debug("Config fetch cache check. Cache unpopulated."),!1;const de=Date.now()-L,De=de<=D;return this.logger.debug(`Config fetch cache check. Cache age millis: ${de}. Cache max age millis (minimumFetchIntervalMillis setting): ${D}. Is cache hit: ${De}.`),De}fetch(D){var L=this;return(0,a.A)(function*(){const[de,De]=yield Promise.all([L.storage.getLastSuccessfulFetchTimestampMillis(),L.storage.getLastSuccessfulFetchResponse()]);if(De&&L.isCachedDataFresh(D.cacheMaxAgeMillis,de))return De;D.eTag=De&&De.eTag;const at=yield L.client.fetch(D),Ut=[L.storageCache.setLastSuccessfulFetchTimestampMillis(Date.now())];return 200===at.status&&Ut.push(L.storage.setLastSuccessfulFetchResponse(at)),yield Promise.all(Ut),at})()}}function cn(U=navigator){return U.languages&&U.languages[0]||U.language}class $t{constructor(D,L,de,De,at,Ut){this.firebaseInstallations=D,this.sdkVersion=L,this.namespace=de,this.projectId=De,this.apiKey=at,this.appId=Ut}fetch(D){var L=this;return(0,a.A)(function*(){const[de,De]=yield Promise.all([L.firebaseInstallations.getId(),L.firebaseInstallations.getToken()]),Ut=`${window.FIREBASE_REMOTE_CONFIG_URL_BASE||"https://firebaseremoteconfig.googleapis.com"}/v1/projects/${L.projectId}/namespaces/${L.namespace}:fetch?key=${L.apiKey}`,bn={"Content-Type":"application/json","Content-Encoding":"gzip","If-None-Match":D.eTag||"*"},Dn={sdk_version:L.sdkVersion,app_instance_id:de,app_instance_id_token:De,app_id:L.appId,language_code:cn(),custom_signals:D.customSignals},ln={method:"POST",headers:bn,body:JSON.stringify(Dn)},Un=fetch(Ut,ln),Rn=new Promise((to,Ha)=>{D.signal.addEventListener(()=>{const vs=new Error("The operation was aborted.");vs.name="AbortError",Ha(vs)})});let Fi;try{yield Promise.race([Un,Rn]),Fi=yield Un}catch(to){let Ha="fetch-client-network";throw"AbortError"===to?.name&&(Ha="fetch-timeout"),Ir.create(Ha,{originalErrorMessage:to?.message})}let Kr=Fi.status;const Ho=Fi.headers.get("ETag")||void 0;let To,Xr,bs,Cl,Xc;if(200===Fi.status){let to;try{to=yield Fi.json()}catch(Ha){throw Ir.create("fetch-client-parse",{originalErrorMessage:Ha?.message})}To=to.entries,Xr=to.state,bs=to.templateVersion,Cl=to.experimentDescriptions,Xc=to.rolloutMetadata}if("INSTANCE_STATE_UNSPECIFIED"===Xr?Kr=500:"NO_CHANGE"===Xr?Kr=304:("NO_TEMPLATE"===Xr||"EMPTY_CONFIG"===Xr)&&(To={},Cl=[],Xc=[]),304!==Kr&&200!==Kr)throw Ir.create("fetch-status",{httpStatus:Kr});return{status:Kr,eTag:Ho,config:To,templateVersion:bs,experiments:Cl,rollouts:Xc}})()}}class Bi{constructor(D,L){this.client=D,this.storage=L}fetch(D){var L=this;return(0,a.A)(function*(){const de=(yield L.storage.getThrottleMetadata())||{backoffCount:0,throttleEndTimeMillis:Date.now()};return L.attemptFetch(D,de)})()}attemptFetch(D,L){var de=this;return(0,a.A)(function*(De,{throttleEndTimeMillis:at,backoffCount:Ut}){yield function li(U,D){return new Promise((L,de)=>{const De=Math.max(D-Date.now(),0),at=setTimeout(L,De);U.addEventListener(()=>{clearTimeout(at),de(Ir.create("fetch-throttle",{throttleEndTimeMillis:D}))})})}(De.signal,at);try{const bn=yield de.client.fetch(De);return yield de.storage.deleteThrottleMetadata(),bn}catch(bn){if(!function tr(U){if(!(U instanceof Hn&&U.customData))return!1;const D=Number(U.customData.httpStatus);return 429===D||500===D||503===D||504===D}(bn))throw bn;const Dn={throttleEndTimeMillis:Date.now()+rn(Ut),backoffCount:Ut+1};return yield de.storage.setThrottleMetadata(Dn),de.attemptFetch(De,Dn)}}).apply(this,arguments)}}class Qo{get fetchTimeMillis(){return this._storageCache.getLastSuccessfulFetchTimestampMillis()||-1}get lastFetchStatus(){return this._storageCache.getLastFetchStatus()||"no-fetch-yet"}constructor(D,L,de,De,at,Ut,bn){this.app=D,this._client=L,this._storageCache=de,this._storage=De,this._logger=at,this._realtimeHandler=Ut,this._analyticsProvider=bn,this._isInitializationComplete=!1,this.settings={fetchTimeoutMillis:6e4,minimumFetchIntervalMillis:432e5},this.defaultConfig={}}}function Ca(U,D){const L=U.target.error||void 0;return Ir.create(D,{originalErrorMessage:L&&L?.message})}const Mo="app_namespace_store";class Ao{getLastFetchStatus(){return this.get("last_fetch_status")}setLastFetchStatus(D){return this.set("last_fetch_status",D)}getLastSuccessfulFetchTimestampMillis(){return this.get("last_successful_fetch_timestamp_millis")}setLastSuccessfulFetchTimestampMillis(D){return this.set("last_successful_fetch_timestamp_millis",D)}getLastSuccessfulFetchResponse(){return this.get("last_successful_fetch_response")}setLastSuccessfulFetchResponse(D){return this.set("last_successful_fetch_response",D)}getActiveConfig(){return this.get("active_config")}setActiveConfig(D){return this.set("active_config",D)}getActiveConfigEtag(){return this.get("active_config_etag")}setActiveConfigEtag(D){return this.set("active_config_etag",D)}getActiveExperiments(){return this.get("active_experiments")}setActiveExperiments(D){return this.set("active_experiments",D)}getThrottleMetadata(){return this.get("throttle_metadata")}setThrottleMetadata(D){return this.set("throttle_metadata",D)}deleteThrottleMetadata(){return this.delete("throttle_metadata")}getCustomSignals(){return this.get("custom_signals")}getRealtimeBackoffMetadata(){return this.get("realtime_backoff_metadata")}setRealtimeBackoffMetadata(D){return this.set("realtime_backoff_metadata",D)}getActiveConfigTemplateVersion(){return this.get("last_known_template_version")}setActiveConfigTemplateVersion(D){return this.set("last_known_template_version",D)}}class vl extends Ao{constructor(D,L,de,De=function Us(){return new Promise((U,D)=>{try{const L=indexedDB.open("firebase_remote_config",1);L.onerror=de=>{D(Ca(de,"storage-open"))},L.onsuccess=de=>{U(de.target.result)},L.onupgradeneeded=de=>
3{0===de.oldVersion&&de.target.result.createObjectStore(Mo,{keyPath:"compositeKey"})}}catch(L){D(Ir.create("storage-open",{originalErrorMessage:L?.message}))}})}()){super(),this.appId=D,this.appName=L,this.namespace=de,this.openDbPromise=De}setCustomSignals(D){var L=this;return(0,a.A)(function*(){const De=(yield L.openDbPromise).transaction([Mo],"readwrite"),at=yield L.getWithTransaction("custom_signals",De),Ut=al(D,at||{});return yield L.setWithTransaction("custom_signals",Ut,De),Ut})()}getWithTransaction(D,L){var de=this;return(0,a.A)(function*(){return new Promise((De,at)=>{const Ut=L.objectStore(Mo),bn=de.createCompositeKey(D);try{const Dn=Ut.get(bn);Dn.onerror=ln=>{at(Ca(ln,"storage-get"))},Dn.onsuccess=ln=>{const Un=ln.target.result;De(Un?Un.value:void 0)}}catch(Dn){at(Ir.create("storage-get",{originalErrorMessage:Dn?.message}))}})})()}setWithTransaction(D,L,de){var De=this;return(0,a.A)(function*(){return new Promise((at,Ut)=>{const bn=de.objectStore(Mo),Dn=De.createCompositeKey(D);try{const ln=bn.put({compositeKey:Dn,value:L});ln.onerror=Un=>{Ut(Ca(Un,"storage-set"))},ln.onsuccess=()=>{at()}}catch(ln){Ut(Ir.create("storage-set",{originalErrorMessage:ln?.message}))}})})()}get(D){var L=this;return(0,a.A)(function*(){const De=(yield L.openDbPromise).transaction([Mo],"readonly");return L.getWithTransaction(D,De)})()}set(D,L){var de=this;return(0,a.A)(function*(){const at=(yield de.openDbPromise).transaction([Mo],"readwrite");return de.setWithTransaction(D,L,at)})()}delete(D){var L=this;return(0,a.A)(function*(){const de=yield L.openDbPromise;return new Promise((De,at)=>{const bn=de.transaction([Mo],"readwrite").objectStore(Mo),Dn=L.createCompositeKey(D);try{const ln=bn.delete(Dn);ln.onerror=Un=>{at(Ca(Un,"storage-delete"))},ln.onsuccess=()=>{De()}}catch(ln){at(Ir.create("storage-delete",{originalErrorMessage:ln?.message}))}})})()}createCompositeKey(D){return[this.appId,this.appName,this.namespace,D].join()}}class Ja extends Ao{constructor(){super(...arguments),this.storage={}}get(D){var L=this;return(0,a.A)(function*(){return Promise.resolve(L.storage[D])})()}set(D,L){var de=this;return(0,a.A)(function*(){return de.storage[D]=L,Promise.resolve(void 0)})()}delete(D){var L=this;return(0,a.A)(function*(){return L.storage[D]=void 0,Promise.resolve()})()}setCustomSignals(D){var L=this;return(0,a.A)(function*(){return L.storage.custom_signals=al(D,L.storage.custom_signals||{}),Promise.resolve(L.storage.custom_signals)})()}}function al(U,D){const L={...D,...U},de=Object.fromEntries(Object.entries(L).filter(([De,at])=>null!==at).map(([De,at])=>"number"==typeof at?[De,at.toString()]:[De,at]));if(Object.keys(de).length>100)throw Ir.create("custom-signal-max-allowed-signals",{maxSignals:100});return de}class lc{constructor(D){this.storage=D}getLastFetchStatus(){return this.lastFetchStatus}getLastSuccessfulFetchTimestampMillis(){return this.lastSuccessfulFetchTimestampMillis}getActiveConfig(){return this.activeConfig}getCustomSignals(){return this.customSignals}loadFromStorage(){var D=this;return(0,a.A)(function*(){const L=D.storage.getLastFetchStatus(),de=D.storage.getLastSuccessfulFetchTimestampMillis(),De=D.storage.getActiveConfig(),at=D.storage.getCustomSignals(),Ut=yield L;Ut&&(D.lastFetchStatus=Ut);const bn=yield de;bn&&(D.lastSuccessfulFetchTimestampMillis=bn);const Dn=yield De;Dn&&(D.activeConfig=Dn);const ln=yield at;ln&&(D.customSignals=ln)})()}setLastFetchStatus(D){return this.lastFetchStatus=D,this.storage.setLastFetchStatus(D)}setLastSuccessfulFetchTimestampMillis(D){return this.lastSuccessfulFetchTimestampMillis=D,this.storage.setLastSuccessfulFetchTimestampMillis(D)}setActiveConfig(D){return this.activeConfig=D,this.storage.setActiveConfig(D)}setCustomSignals(D){var L=this;return(0,a.A)(function*(){L.customSignals=yield L.storage.setCustomSignals(D)})()}}class Dd{constructor(D){this.allowedEvents_=D,this.listeners_={},P(Array.isArray(D)&&D.length>0,"Requires a non-empty array")}trigger(D,...L){if(Array.isArray(this.listeners_[D])){const de=[...this.listeners_[D]];for(let De=0;De<de.length;De++)de[De].callback.apply(de[De].context,L)}}on(D,L,de){this.validateEventType_(D),this.listeners_[D]=this.listeners_[D]||[],this.listeners_[D].push({callback:L,context:de});const De=this.getInitialEvent(D);De&&L.apply(de,De)}off(D,L,de){this.validateEventType_(D);const De=this.listeners_[D]||[];for(let at=0;at<De.length;at++)if(De[at].callback===L&&(!de||de===De[at].context))return void De.splice(at,1)}validateEventType_(D){P(this.allowedEvents_.find(L=>
3L===D),"Unknown event: "+D)}}class xd extends Dd{static getInstance(){return new xd}constructor(){let D,L;super(["visible"]),typeof document<"u"&&typeof document.addEventListener<"u"&&(typeof document.hidden<"u"?(L="visibilitychange",D="hidden"):typeof document.mozHidden<"u"?(L="mozvisibilitychange",D="mozHidden"):typeof document.msHidden<"u"?(L="msvisibilitychange",D="msHidden"):typeof document.webkitHidden<"u"&&(L="webkitvisibilitychange",D="webkitHidden")),this.visible_=!0,L&&document.addEventListener(L,()=>{const de=!document[D];de!==this.visible_&&(this.visible_=de,this.trigger("visible",de))},!1)}getInitialEvent(D){return P("visible"===D,"Unknown event type: "+D),[this.visible_]}}const pi="X-Goog-Api-Key",Gd="X-Goog-Firebase-Installations-Auth",hr="featureDisabled",Ks="retryIntervalSeconds",Uu="latestTemplateVersionNumber";class ju{constructor(D,L,de,De,at,Ut,bn,Dn,ln,Un){this.firebaseInstallations=D,this.storage=L,this.sdkVersion=de,this.namespace=De,this.projectId=at,this.apiKey=Ut,this.appId=bn,this.logger=Dn,this.storageCache=ln,this.cachingClient=Un,this.observers=new Set,this.isConnectionActive=!1,this.isRealtimeDisabled=!1,this.httpRetriesRemaining=8,this.isInBackground=!1,this.decoder=new TextDecoder("utf-8"),this.isClosingConnection=!1,this.propagateError=Rn=>this.observers.forEach(Fi=>Fi.error?.(Rn)),this.isStatusCodeRetryable=Rn=>!Rn||[408,429,502,503,504].includes(Rn),this.setRetriesRemaining(),xd.getInstance().on("visible",this.onVisibilityChange,this)}setRetriesRemaining(){var D=this;return(0,a.A)(function*(){const de=(yield D.storage.getRealtimeBackoffMetadata())?.numFailedStreams||0;D.httpRetriesRemaining=Math.max(8-de,1)})()}updateBackoffMetadataWithLastFailedStreamConnectionTime(D){var L=this;return(0,a.A)(function*(){const de=((yield L.storage.getRealtimeBackoffMetadata())?.numFailedStreams||0)+1,De=rn(de,6e4,2);yield L.storage.setRealtimeBackoffMetadata({backoffEndTimeMillis:new Date(D.getTime()+De),numFailedStreams:de})})()}updateBackoffMetadataWithRetryInterval(D){var L=this;return(0,a.A)(function*(){const de=Date.now(),at=new Date(de+1e3*D);yield L.storage.setRealtimeBackoffMetadata({backoffEndTimeMillis:at,numFailedStreams:0}),yield L.retryHttpConnectionWhenBackoffEnds()})()}closeRealtimeHttpConnection(){var D=this;return(0,a.A)(function*(){if(!D.isClosingConnection){D.isClosingConnection=!0;try{D.reader&&(yield D.reader.cancel())}catch{D.logger.debug("Failed to cancel the reader, connection was lost.")}finally{D.reader=void 0}D.controller&&(yield D.controller.abort(),D.controller=void 0),D.isClosingConnection=!1}})()}resetRealtimeBackoff(){var D=this;return(0,a.A)(function*(){yield D.storage.setRealtimeBackoffMetadata({backoffEndTimeMillis:new Date(-1),numFailedStreams:0})})()}resetRetryCount(){this.httpRetriesRemaining=8}establishRealtimeConnection(D,L,de,De){var at=this;return(0,a.A)(function*(){const Ut=yield at.storage.getActiveConfigEtag(),bn=yield at.storage.getActiveConfigTemplateVersion(),Dn={[pi]:at.apiKey,[Gd]:de,"Content-Type":"application/json",Accept:"application/json","If-None-Match":Ut||"*","Content-Encoding":"gzip"},ln={project:at.projectId,namespace:at.namespace,lastKnownVersionNumber:bn,appId:at.appId,sdkVersion:at.sdkVersion,appInstanceId:L};return yield fetch(D,{method:"POST",headers:Dn,body:JSON.stringify(ln),signal:De})})()}getRealtimeUrl(){const L=`${window.FIREBASE_REMOTE_CONFIG_URL_BASE||"https://firebaseremoteconfigrealtime.googleapis.com"}/v1/projects/${this.projectId}/namespaces/${this.namespace}
3:streamFetchInvalidations?key=${this.apiKey}`;return new URL(L)}createRealtimeConnection(){var D=this;return(0,a.A)(function*(){const[L,de]=yield Promise.all([D.firebaseInstallations.getId(),D.firebaseInstallations.getToken(!1)]);D.controller=new AbortController;const De=D.getRealtimeUrl();return yield D.establishRealtimeConnection(De,L,de,D.controller.signal)})()}retryHttpConnectionWhenBackoffEnds(){var D=this;return(0,a.A)(function*(){let L=yield D.storage.getRealtimeBackoffMetadata();L||(L={backoffEndTimeMillis:new Date(-1),numFailedStreams:0});const de=new Date(L.backoffEndTimeMillis).getTime(),De=Date.now(),at=Math.max(0,de-De);yield D.makeRealtimeHttpConnection(at)})()}setIsHttpConnectionRunning(D){this.isConnectionActive=D}checkAndSetHttpConnectionFlagIfNotRunning(){const D=this.canEstablishStreamConnection();return D&&this.setIsHttpConnectionRunning(!0),D}fetchResponseIsUpToDate(D,L){return null!=D.config&&D.templateVersion?D.templateVersion>=L:"success"===this.storageCache.getLastFetchStatus()}parseAndValidateConfigUpdateMessage(D){const L=D.indexOf("{"),de=D.indexOf("}",L);return L<0||de<0||L>=de?"":D.substring(L,de+1)}isEventListenersEmpty(){return 0===this.observers.size}getRandomInt(D){return Math.floor(Math.random()*D)}executeAllListenerCallbacks(D){this.observers.forEach(L=>L.next(D))}getChangedParams(D,L,de,De){const at=new Set,Ut=new Set(Object.keys(D||{})),bn=new Set(Object.keys(L||{})),Dn=de.experiments||[],ln=De?.experiments||[],Un=this.createExperimentsMap(Dn),Rn=this.createExperimentsMap(ln),Fi=de.rollouts||[],Kr=De?.rollouts||[],Ho=this.createRolloutsMap(Fi),To=this.createRolloutsMap(Kr);for(const Xr of Ut){if(!bn.has(Xr)||D[Xr]!==L[Xr]){at.add(Xr);continue}if(Un.has(Xr)!==Rn.has(Xr)){at.add(Xr);continue}const bs=Un.get(Xr),Cl=Rn.get(Xr);if(bs&&Cl&&!this.areExperimentsEqual(bs,Cl)){at.add(Xr);continue}if(Ho.has(Xr)!==To.has(Xr)){at.add(Xr);continue}const Xc=Ho.get(Xr),to=To.get(Xr);Xc&&to&&!this.areRolloutsEqual(Xc,to)&&at.add(Xr)}for(const Xr of bn)Ut.has(Xr)||at.add(Xr);return at}areExperimentsEqual(D,L){return D.experimentId===L.experimentId&&D.variantId===L.variantId&&D.timeToLiveMillis===L.timeToLiveMillis&&D.triggerTimeoutMillis===L.triggerTimeoutMillis}areRolloutsEqual(D,L){if(D.size!==L.size)return!1;for(const[de,De]of D)if(L.get(de)!==De)return!1;return!0}createExperimentsMap(D){const L=new Map;for(const de of D)if(de.affectedParameterKeys&&!de.experimentId.startsWith("_exp_rollout"))for(const De of de.affectedParameterKeys)L.set(De,de);return L}createRolloutsMap(D){const L=new Map;for(const de of D){const De=de.rolloutId,at=de.variantId,Ut=de.affectedParameterKeys||[];for(const bn of Ut){let Dn=L.get(bn);Dn||(Dn=new Map,L.set(bn,Dn)),Dn.set(De,at)}}return L}fetchLatestConfig(D,L){var de=this;return(0,a.A)(function*(){const De=D-1,at=3-De,Ut=de.storageCache.getCustomSignals();Ut&&de.logger.debug(`Fetching config with custom signals: ${JSON.stringify(Ut)}`);const bn=new wc;try{const Dn={cacheMaxAgeMillis:0,signal:bn,customSignals:Ut,fetchType:"REALTIME",fetchAttempt:at},ln=yield de.storage.getLastSuccessfulFetchResponse(),Un=yield de.cachingClient.fetch(Dn);let Rn=yield de.storage.getActiveConfig();if(!de.fetchResponseIsUpToDate(Un,L))return de.logger.debug("Fetched template version is the same as SDK's current version. Retrying fetch."),void(yield de.autoFetch(De,L));if(null==Un.config)return void de.logger.debug("The fetch succeeded, but the backend had no updates.");null==Rn&&(Rn={});const Fi=de.getChangedParams(Un.config,Rn,Un,ln);if(0===Fi.size)return void de.logger.debug("Config was fetched, but no params changed.");de.executeAllListenerCallbacks({getUpdatedKeys:()=>new Set(Fi)})}catch(Dn){const ln=Dn instanceof Error?Dn.message:String(Dn),Un=Ir.create("update-not-fetched",{originalErrorMessage:`Failed to auto-fetch config update: ${ln}`});de.propagateError(Un)}})()}autoFetch(D,L){var de=this;return(0,a.A)(function*(){if(0===D){const Ut=Ir.create("update-not-fetched",{originalErrorMessage:"Unable to fetch the latest version of the template."});return void de.propagateError(Ut)}const at=1e3*de.getRandomInt(4);yield new Promise(Ut=>setTimeout(Ut,at)),yield de.fetchLatestConfig(D,L)})()}handleNotifications(D){var L=this;return(0,a.A)(function*(){let de,De="";for(;;){const{done:at,value:Ut}=yield D.read();if(at)break;
3if(de=L.decoder.decode(Ut,{stream:!0}),De+=de,de.includes("}")){if(De=L.parseAndValidateConfigUpdateMessage(De),0===De.length)continue;try{const bn=JSON.parse(De);if(L.isEventListenersEmpty())break;if(hr in bn&&!0===bn[hr]){const Dn=Ir.create("realtime-unavailable",{originalErrorMessage:"The server is temporarily unavailable. Try again in a few minutes."});L.propagateError(Dn);break}if(Uu in bn){const Dn=yield L.storage.getActiveConfigTemplateVersion(),ln=Number(bn[Uu]);Dn&&ln>Dn&&(yield L.autoFetch(3,ln))}if(Ks in bn){const Dn=Number(bn[Ks]);yield L.updateBackoffMetadataWithRetryInterval(Dn)}}catch(bn){L.logger.debug("Unable to parse latest config update message.",bn);const Dn=bn instanceof Error?bn.message:String(bn);L.propagateError(Ir.create("update-message-invalid",{originalErrorMessage:Dn}))}De=""}}})()}listenForNotifications(D){var L=this;return(0,a.A)(function*(){try{yield L.handleNotifications(D)}catch{L.isInBackground||L.logger.debug("Real-time connection was closed due to an exception.")}})()}prepareAndBeginRealtimeHttpStream(){var D=this;return(0,a.A)(function*(){if(!D.checkAndSetHttpConnectionFlagIfNotRunning())return;let L=yield D.storage.getRealtimeBackoffMetadata();L||(L={backoffEndTimeMillis:new Date(-1),numFailedStreams:0});const de=L.backoffEndTimeMillis.getTime();if(Date.now()<de)return void(yield D.retryHttpConnectionWhenBackoffEnds());let De,at;try{if(De=yield D.createRealtimeConnection(),at=De.status,De.ok&&De.body){D.resetRetryCount(),yield D.resetRealtimeBackoff();const Ut=De.body.getReader();D.reader=Ut,yield D.listenForNotifications(Ut)}}catch(Ut){D.isInBackground?D.resetRetryCount():D.logger.debug("Exception connecting to real-time RC backend. Retrying the connection...:",Ut)}finally{yield D.closeRealtimeHttpConnection(),D.setIsHttpConnectionRunning(!1);const Ut=!D.isInBackground&&(void 0===at||D.isStatusCodeRetryable(at));if(Ut&&(yield D.updateBackoffMetadataWithLastFailedStreamConnectionTime(new Date)),Ut||De?.ok)yield D.retryHttpConnectionWhenBackoffEnds();else{const Dn=Ir.create("stream-error",{originalErrorMessage:`Unable to connect to the server. HTTP status code: ${at}`});D.propagateError(Dn)}}})()}canEstablishStreamConnection(){return this.observers.size>0&&!this.isRealtimeDisabled&&!this.isConnectionActive&&!this.isInBackground}makeRealtimeHttpConnection(D){var L=this;return(0,a.A)(function*(){if(L.canEstablishStreamConnection())if(L.httpRetriesRemaining>0)L.httpRetriesRemaining--,yield new Promise(de=>setTimeout(de,D)),L.prepareAndBeginRealtimeHttpStream();else if(!L.isInBackground){const de=Ir.create("stream-error",{originalErrorMessage:"Unable to connect to the server. Check your connection and try again."});L.propagateError(de)}})()}beginRealtime(){var D=this;return(0,a.A)(function*(){D.observers.size>0&&(yield D.makeRealtimeHttpConnection(0))})()}addObserver(D){this.observers.add(D),this.beginRealtime()}removeObserver(D){this.observers.has(D)&&this.observers.delete(D)}onVisibilityChange(D){var L=this;return(0,a.A)(function*(){L.isInBackground=!D,D?D&&(yield L.beginRealtime()):yield L.closeRealtimeHttpConnection()})()}}function Lr(){return Lr=(0,a.A)(function*(U){return U=hi(U),yield function Hl(U){return bu.apply(this,arguments)}(U),function Hd(U){return $l.apply(this,arguments)}(U)}),Lr.apply(this,arguments)}!function ec(){Ai(new Di(cc,function U(D,{options:L}){const de=D.getProvider("app").getImmediate(),De=D.getProvider("installations-internal").getImmediate(),at=D.getProvider("analytics-internal"),{projectId:Ut,apiKey:bn,appId:Dn}=de.options;if(!Ut)throw Ir.create("registration-project-id");if(!bn)throw Ir.create("registration-api-key");if(!Dn)throw Ir.create("registration-app-id");const ln=L?.templateId||"firebase",Un=tt()?new vl(Dn,de.name,ln):new Ja,Rn=new lc(Un),Fi=new sr(_i);Fi.logLevel=At.ERROR;const Kr=new $t(De,Ms,ln,Ut,bn,Dn),Ho=new Bi(Kr,Un),To=new ht(Ho,Un,Rn,Fi),Xr=new ju(De,Un,Ms,ln,Ut,bn,Dn,Fi,Rn,To),bs=new Qo(de,To,Rn,Un,Fi,Xr,at);return function Wd(U){const D=hi(U);D._initializePromise||(D._initializePromise=D._storageCache.loadFromStorage().then(()=>{D._isInitializationComplete=!0}))}(bs),bs},"PUBLIC").setMultipleInstances(!0)),fs(_i,"0.9.2"),fs(_i,"0.9.2","esm2020")}();var ll=g(66990);const Ic="analytics",$a="firebase_id",cd="origin",nr=6e4,or="https://firebase.googleapis.com/v1alpha/projects/-/apps/{app-id}/webConfig",ld="https://www.googletagmanager.com/gtag/js",Zo=new sr("@firebase/analytics"),sa=new _n("analytics","Analytics",{"already-exists":"A Firebase Analytics instance with the appId {$id}  already exists. Only one Firebase Analytics instance can be created for each appId.","already-initialized":"initializeAnalytics() cannot be called again with different options than those it was initially called with. It can be called again with the same options to return the existing instance, or getAnalytics() can be used to get a reference to the already-initialized instance.","already-initialized-settings":"Firebase Analytics has already been initialized.settings() must be called before initializing any Analytics instanceor it will have no effect.","interop-component-reg-failed":"Firebase Analytics Interop Component failed to instantiate: {$reason}
3","invalid-analytics-context":"Firebase Analytics is not supported in this environment. Wrap initialization of analytics in analytics.isSupported() to prevent initialization in unsupported environments. Details: {$errorInfo}","indexeddb-unavailable":"IndexedDB unavailable or restricted in this environment. Wrap initialization of analytics in analytics.isSupported() to prevent initialization in unsupported environments. Details: {$errorInfo}","fetch-throttle":"The config fetch request timed out while in an exponential backoff state. Unix timestamp in milliseconds when fetch request throttling ends: {$throttleEndTimeMillis}.","config-fetch-failed":"Dynamic config fetch failed: [{$httpStatus}] {$responseMessage}","no-api-key":'The "apiKey" field is empty in the local Firebase config. Firebase Analytics requires this field tocontain a valid API key.',"no-app-id":'The "appId" field is empty in the local Firebase config. Firebase Analytics requires this field tocontain a valid app ID.',"no-client-id":'The "client_id" field is empty.',"invalid-gtag-resource":"Trusted Types detected an invalid gtag resource: {$gtagURL}."});function vu(U){if(!U.startsWith(ld)){const D=sa.create("invalid-gtag-resource",{gtagURL:U});return Zo.warn(D.message),""}return U}function Tl(U){return Promise.all(U.map(D=>D.catch(L=>L)))}function uc(){return(uc=(0,a.A)(function*(U,D,L,de,De,at){const Ut=de[De];try{if(Ut)yield D[Ut];else{const Dn=(yield Tl(L)).find(ln=>ln.measurementId===De);Dn&&(yield D[Dn.appId])}}catch(bn){Zo.error(bn)}U("config",De,at)})).apply(this,arguments)}function Kd(){return(Kd=(0,a.A)(function*(U,D,L,de,De){try{let at=[];if(De&&De.send_to){let Ut=De.send_to;Array.isArray(Ut)||(Ut=[Ut]);const bn=yield Tl(L);for(const Dn of Ut){const ln=bn.find(Rn=>Rn.measurementId===Dn),Un=ln&&D[ln.appId];if(!Un){at=[];break}at.push(Un)}}0===at.length&&(at=Object.values(D)),yield Promise.all(at),U("event",de,De||{})}catch(at){Zo.error(at)}})).apply(this,arguments)}const zr=30,Vu=new class Js{constructor(D={},L=1e3){this.throttleMetadata=D,this.intervalMillis=L}getThrottleMetadata(D){return this.throttleMetadata[D]}setThrottleMetadata(D,L){this.throttleMetadata[D]=L}deleteThrottleMetadata(D){delete this.throttleMetadata[D]}};function Xd(U){return new Headers({Accept:"application/json","x-goog-api-key":U})}function Md(){return(Md=(0,a.A)(function*(U){const{appId:D,apiKey:L}=U,de={method:"GET",headers:Xd(L)},De=or.replace("{app-id}",D),at=yield fetch(De,de);if(200!==at.status&&304!==at.status){let Ut="";try{const bn=yield at.json();bn.error?.message&&(Ut=bn.error.message)}catch{}throw sa.create("config-fetch-failed",{httpStatus:at.status,responseMessage:Ut})}return at.json()})).apply(this,arguments)}function Ol(){return(Ol=(0,a.A)(function*(U,D=Vu,L){const{appId:de,apiKey:De,measurementId:at}=U.options;if(!de)throw sa.create("no-app-id");if(!De){if(at)return{measurementId:at,appId:de};throw sa.create("no-api-key")}const Ut=D.getThrottleMetadata(de)||{backoffCount:0,throttleEndTimeMillis:Date.now()},bn=new Fl;return setTimeout((0,a.A)(function*(){bn.abort()}),nr),ah({appId:de,apiKey:De,measurementId:at},Ut,bn,D)})).apply(this,arguments)}function ah(U,D,L){return qd.apply(this,arguments)}function qd(){return qd=(0,a.A)(function*(U,{throttleEndTimeMillis:D,backoffCount:L},de,De=Vu){const{appId:at,measurementId:Ut}=U;try{yield function zu(U,D){return new Promise((L,de)=>{const De=Math.max(D-Date.now(),0),at=setTimeout(L,De);U.addEventListener(()=>{clearTimeout(at),de(sa.create("fetch-throttle",{throttleEndTimeMillis:D}))})})}(de,D)}catch(bn){if(Ut)return Zo.warn(`Timed out fetching this Firebase app's measurement ID from the server. Falling back to the measurement ID ${Ut} provided in the "measurementId" field in the local Firebase config. [${bn?.message}]`),{appId:at,measurementId:Ut};throw bn}try{const bn=yield function Kc(U){return Md.apply(this,arguments)}(U);return De.deleteThrottleMetadata(at),bn}catch(bn){const Dn=bn;if(!function Qd(U){if(!(U instanceof Hn&&U.customData))return!1;const D=Number(U.customData.httpStatus);return 429===D||500===D||503===D||504===D}(Dn)){if(De.deleteThrottleMetadata(at),Ut)return Zo.warn(`Failed to fetch this Firebase app's measurement ID from the server. Falling back to the measurement ID ${Ut} provided in the "measurementId" field in the local Firebase config. [${Dn?.message}
3]`),{appId:at,measurementId:Ut};throw bn}const ln=503===Number(Dn?.customData?.httpStatus)?rn(L,De.intervalMillis,zr):rn(L,De.intervalMillis),Un={throttleEndTimeMillis:Date.now()+ln,backoffCount:L+1};return De.setThrottleMetadata(at,Un),Zo.debug(`Calling attemptFetch again in ${ln} millis`),ah(U,Un,de,De)}}),qd.apply(this,arguments)}class Fl{constructor(){this.listeners=[]}addEventListener(D){this.listeners.push(D)}abort(){this.listeners.forEach(D=>D())}}let Jo,Td;function ud(){return(ud=(0,a.A)(function*(U,D,L,de,De){if(De&&De.global)U("event",L,de);else{const at=yield D;U("event",L,{...de,send_to:at})}})).apply(this,arguments)}function eu(){return(eu=(0,a.A)(function*(U,D,L,de){if(de&&de.global){const De={};for(const at of Object.keys(L))De[`user_properties.${at}`]=L[at];return U("set",De),Promise.resolve()}U("config",yield D,{update:!0,user_properties:L})})).apply(this,arguments)}function Od(){return(Od=(0,a.A)(function*(){if(!tt())return Zo.warn(sa.create("indexeddb-unavailable",{errorInfo:"IndexedDB is not available in this environment."}).message),!1;try{yield nt()}catch(U){return Zo.warn(sa.create("indexeddb-unavailable",{errorInfo:U?.toString()}).message),!1}return!0})).apply(this,arguments)}function iu(){return iu=(0,a.A)(function*(U,D,L,de,De,at,Ut){const bn=function Yd(U){return Ol.apply(this,arguments)}(U);bn.then(Fi=>{L[Fi.measurementId]=Fi.appId,U.options.measurementId&&Fi.measurementId!==U.options.measurementId&&Zo.warn(`The measurement ID in the local Firebase config (${U.options.measurementId}) does not match the measurement ID fetched from the server (${Fi.measurementId}). To ensure analytics events are always sent to the correct Analytics property, update the measurement ID field in the local config or remove it from the local config.`)}).catch(Fi=>Zo.error(Fi)),D.push(bn);const Dn=function nu(){return Od.apply(this,arguments)}().then(Fi=>{if(Fi)return de.getId()}),[ln,Un]=yield Promise.all([bn,Dn]);(function ar(U){const D=window.document.getElementsByTagName("script");for(const L of Object.values(D))if(L.src&&L.src.includes(ld)&&L.src.includes(U))return L;return null})(at)||function _l(U,D){const L=function _u(U,D){let L;return window.trustedTypes&&(L=window.trustedTypes.createPolicy(U,D)),L}("firebase-js-sdk-policy",{createScriptURL:vu}),de=document.createElement("script"),De=`${ld}?l=${U}&id=${D}`;de.src=L?L?.createScriptURL(De):De,de.async=!0,document.head.appendChild(de)}(at,ln.measurementId),Td&&(De("consent","default",Td),function hd(U){Td=U}(void 0)),De("js",new Date);const Rn=Ut?.config??{};
3return Rn[cd]="firebase",Rn.update=!0,null!=Un&&(Rn[$a]=Un),De("config",ln.measurementId,Rn),Jo&&(De("set",Jo),function ql(U){Jo=U}(void 0)),ln.measurementId}),iu.apply(this,arguments)}class Cc{constructor(D){this.app=D}_delete(){return delete Ea[this.app.options.appId],Promise.resolve()}}let Ea={},$o=[];const Pl={};let nc,dl,eo="dataLayer",Ec=!1;function T(U,D,L){!function Y(){const U=[];if(function He(){const U="object"==typeof chrome?chrome.runtime:"object"==typeof browser?browser.runtime:void 0;return"object"==typeof U&&void 0!==U.id}()&&U.push("This is a browser extension environment."),function _t(){return!(typeof navigator>"u"||!navigator.cookieEnabled)}()||U.push("Cookies are not available."),U.length>0){const D=U.map((de,De)=>`(${De+1}) ${de}`).join(" "),L=sa.create("invalid-analytics-context",{errorInfo:D});Zo.warn(L.message)}}();const de=U.options.appId;if(!de)throw sa.create("no-app-id");if(!U.options.apiKey){if(!U.options.measurementId)throw sa.create("no-api-key");Zo.warn(`The "apiKey" field is empty in the local Firebase config. This is needed to fetch the latest measurement ID for this Firebase app. Falling back to the measurement ID ${U.options.measurementId} provided in the "measurementId" field in the local Firebase config.`)}if(null!=Ea[de])throw sa.create("already-exists",{id:de});if(!Ec){!function dd(U){let D=[];Array.isArray(window[U])?D=window[U]:window[U]=D}(eo);const{wrappedGtag:at,gtagCore:Ut}=function yn(U,D,L,de,De){let at=function(...Ut){window[de].push(arguments)};return window[De]&&"function"==typeof window[De]&&(at=window[De]),window[De]=function zf(U,D,L,de){function at(){return at=(0,a.A)(function*(Ut,...bn){try{if("event"===Ut){const[Dn,ln]=bn;yield function Fu(U,D,L,de,De){return Kd.apply(this,arguments)}(U,D,L,Dn,ln)}else if("config"===Ut){const[Dn,ln]=bn;yield function Kl(U,D,L,de,De,at){return uc.apply(this,arguments)}(U,D,L,de,Dn,ln)}else if("consent"===Ut){const[Dn,ln]=bn;U("consent",Dn,ln)}else if("get"===Ut){const[Dn,ln,Un]=bn;U("get",Dn,ln,Un)}else if("set"===Ut){const[Dn]=bn;U("set",Dn)}else U(Ut,...bn)}catch(Dn){Zo.error(Dn)}}),at.apply(this,arguments)}
3return function De(Ut){return at.apply(this,arguments)}}(at,U,D,L),{gtagCore:at,wrappedGtag:window[De]}}(Ea,$o,Pl,eo,"gtag");dl=at,nc=Ut,Ec=!0}return Ea[de]=function Cu(U,D,L,de,De,at,Ut){return iu.apply(this,arguments)}(U,$o,Pl,D,nc,eo,L),new Cc(U)}function jn(U,D,L){U=hi(U),function ch(U,D,L,de){return eu.apply(this,arguments)}(dl,Ea[U.app.options.appId],D,L).catch(de=>Zo.error(de))}function ji(U,D,L,de){U=hi(U),function wl(U,D,L,de,De){return ud.apply(this,arguments)}(dl,Ea[U.app.options.appId],D,L,de).catch(De=>Zo.error(De))}const ri="@firebase/analytics",ls="0.10.24";!function ps(){Ai(new Di(Ic,(D,{options:L})=>T(D.getProvider("app").getImmediate(),D.getProvider("installations-internal").getImmediate(),L),"PUBLIC")),Ai(new Di("analytics-internal",function U(D){try{const L=D.getProvider(Ic).getImmediate();return{logEvent:(de,De,at)=>ji(L,de,De,at),setUserProperties:(de,De)=>jn(L,de,De)}}catch(L){throw sa.create("interop-component-reg-failed",{reason:L})}},"PRIVATE")),fs(ri,ls),fs(ri,ls,"esm2020")}(),fs("firebase","12.18.0","app");var yi=g(39611),fr=function(U){return U.Paid="paid",U.NotPaid="unpaid",U}(fr||{});let Gr=(()=>{class U{firebaseConfig=(0,h.WQX)(ll.Nd);firebaseApp;remoteConfig;analytics;configFetched=!1;isConsentAccepted=!1;constructor(){try{this.firebaseApp=Lo(JSON.parse(this.firebaseConfig)),this.remoteConfig=function od(U=Hs(),D={}){const L=Ys(U=hi(U),cc);if(L.isInitialized()){if(wi(L.getOptions(),D))return L.getImmediate();throw Ir.create("already-initialized")}L.initialize({options:D});const de=L.getImmediate();return D.initialFetchResponse&&(de._initializePromise=Promise.all([de._storage.setLastSuccessfulFetchResponse(D.initialFetchResponse),de._storage.setActiveConfigEtag(D.initialFetchResponse?.eTag||""),de._storage.setActiveConfigTemplateVersion(D.initialFetchResponse.templateVersion||0),de._storageCache.setLastSuccessfulFetchTimestampMillis(Date.now()),de._storageCache.setLastFetchStatus("success"),de._storageCache.setActiveConfig(D.initialFetchResponse?.config||{})]).then(),de._isInitializationComplete=!0),de}(this.firebaseApp),this.remoteConfig.defaultConfig=yi.sb,this.analytics=function S(U=Hs()){const D=Ys(U=hi(U),Ic);return D.isInitialized()?D.getImmediate():function V(U,D={}){const L=Ys(U,Ic);if(L.isInitialized()){const De=L.getImmediate();if(wi(D,L.getOptions()))return De;throw sa.create("already-initialized")}return L.initialize({options:D})}(U)}()}catch{}}getRemoteConfig(){var L=this;return(0,a.A)(function*(){return L.configFetched||(yield L.fetchAndActivateRemoteConfig()),L.remoteConfig})()}isFeedbackIncompleteClaimableDocumentDisabled(L){return sl(L,yi.Ut.FEATURE_FEEDBACK_INCOMPLETE_CLAIMABLE_DOCUMENT_DISABLED)}isFeedbackCurrentVisaDisabled(L){return sl(L,yi.Ut.FEATURE_FEEDBACK_CURRENT_VISA_DISABLED)}isFeedbackEnrollmentProofDisabled(L){return sl(L,yi.Ut.FEATURE_FEEDBACK_ENROLLMENT_PROOF_DISABLED)}isFeedbackCivilServantApplicantExpiryDateDisabled(L){return sl(L,yi.Ut.FEATURE_FEEDBACK_CATEGORY_CIVIL_SERVANT_APPLICANT_EXPIRY_DATE_DISABLED)}isFeedbackStudentExpiryDateDisabled(L){return sl(L,yi.Ut.FEATURE_FEEDBACK_CATEGORY_STUDENT_EXPIRY_DATE_DISABLED)}isFeedbackUpsellDisabled(L){return sl(L,yi.Ut.FEATURE_FEEDBACK_UPSELL_DISABLED)}isFeedbackCertificateDisabled(L){return sl(L,yi.Ut.FEATURE_FEEDBACK_CERTIFICATE_DISABLED)}isFeedbackClaimSettlementDaysDisabled(L){return sl(L,yi.Ut.FEATURE_FEEDBACK_CLAIM_SETTLEMENT_DAYS_DISABLED)}getReferralInfo(L){const de=N(L,yi.Ut.REFERRAL_INFO).asString();let De;try{De=JSON.parse(de)}catch{De=JSON.parse(yi.sb[yi.Ut.REFERRAL_INFO])}return De}isChatReopenDisabled(L){return sl(L,yi.Ut.FEATURE_CHAT_REOPEN_DISABLED)}allowTracking(L,de,De){this.isConsentAccepted=!0,jn(this.analytics,{userId:L,dimension2:L,tariff_id:de,primary_profile:De})}disableTracking(){this.isConsentAccepted=!1,jn(this.analytics,{userId:null,dimension2:null,tariff_id:null,primary_profile:null})}logSimpleEvent(L){this.logEventDecorator(this.analytics,L)}logScreenVisited(L){this.logEventDecorator(this.analytics,yi.vT.ScreenView,{firebase_screen:L})}logStatementSettlementDaysScreenVisited(L){const de={firebase_screen:yi.MC.ClaimSettlementDaysFeedback};L&&(de.item_id=L),this.logEventDecorator(this.analytics,yi.vT.ScreenView,de)}logDocumentUpload(L){const de=new Array(L).fill("file_picker");this.logEventDecorator(this.analytics,yi.B8.DocumentUpload,{source:de})}logDocumentFilter(L){this.logEventDecorator(this.analytics,yi.B8.DocumentFilter,{filter:L.join(",")})}logTodoSelected(L,de){this.logEventDecorator(this.analytics,yi.B8.TodoSelected,{content_type:L,source:"list",extra:de})}logTodoAction(L){this.logEventDecorator(this.analytics,yi.B8.TodoAction,{content_type:L})}logDocumentPaidStatus(L,de){this.logEventDecorator(this.analytics,yi.B8.DocumentMark,{category:L,result:de?fr.Paid:fr.NotPaid})}logFeedbackDialogShown(L){this.logEventDecorator(this.analytics,yi.B8.FeedbackDialog,{content_type:L})}logFeedbackSend(L){this.logEventDecorator(this.analytics,yi.B8.FeedbackSend,{content_type:"rating",result:L})}logClaimSettlementDaysFeedbackSend(L){this.logEventDecorator(this.analytics,yi.B8.FeedbackSend,{content_type:"claim_settlement_days",result:L})}logExternalFeedbackAction(L){this.logEventDecorator(this.analytics,yi.B8.ExternalFeedbackAction,{content_type:L})}logFaqAction(L){this.logEventDecorator(this.analytics,yi.B8.FaqActionClick,{content_type:L})}logInsuranceCardDeliveredAction(L){this.logEventDecorator(this.analytics,yi.B8.InsuranceCardDelivered,{extra:L})}logCertificateGenerationRequested(L){this.logEventDecorator(this.analytics,yi.B8.CertificateGenerate,{content_type:L})}logCertificateMessageClick(){this.logSimpleEvent(yi.B8.MessageClickCertificateEvent)}logScanDuplicateCancelled(L){this.logEventDecorator(this.analytics,yi.B8.ScanDuplicateCancelled,{source:"checksum",extra:L})}logScanDuplicateRemoved(){this.logEventDecorator(this.analytics,yi.B8.ScanDuplicateRemoved)}logEventDecorator(...L){this.isConsentAccepted&&ji.apply(this,L)}fetchAndActivateRemoteConfig(){var L=this;return(0,a.A)(function*(){return function rs(U){return Lr.apply(this,arguments)}(L.remoteConfig).finally(()=>{L.configFetched=!0})})()}static \u0275fac=function(de){return new(de||U)};static \u0275prov=h.jDH({token:U,factory:U.\u0275fac})}return U})()},51335:(st,Q,g)=>{"use strict";g.d(Q,{p:()=>xe});var a=g(94485),h=g(58527),H=g(65377),z=g(59643),P=g(8713),C=g(66990),B=g(51376),_=g(61177),q=g(52713),A=g(78374),X=g(17796),R=g(16920),ne=g(52182),se=g(99361),_e=g(35888),le=g(69131),Re=g(12669),Le=g(24892);let xe=(()=>{class Te{http=(0,h.WQX)(a.Qq);router=(0,h.WQX)(H.Ix);storageService=(0,h.WQX)(_.n$);authAppService=(0,h.WQX)(z.r7);apiUrls=(0,h.WQX)(le.k);tariffPremiumService=(0,h.WQX)(Le.p);store=(0,h.WQX)(q.il);apiUrl=(0,h.WQX)(C.rA);thumbnailCache=(0,h.WQX)(Re.T);logout(){const he=this.getReturnUrl();this.authAppService.logoutWithReturnUrl(he),this.clearProfiles(),this.thumbnailCache.clear()}setProfiles(he){const Me=he.map(ct=>this.enrichProfile(ct));this.tariffPremiumService.getTariffPremiums(Me[0].profile_id).subscribe(ct=>{Me.forEach(yt=>{yt.tariff_premiums=ct.filter(Se=>Se.profile_id===yt.profile_id)}),this.store.dispatch(new se.JM(Me)),this.store.dispatch(new se.$s(this.getCurrentProfileId()))})}getProfiles(){return this.store.select(_e.r7).pipe((0,A.s)(1))}clearProfiles(){this.storageService.removeItem(R.c.tokenTitles.currentProfile),this.store.dispatch(new se.$s(void 0)),this.store.dispatch(new se.JM(void 0))}getCurrentProfileId(){let Me,he=this.getActiveProfileIdFromLocalStore();return this.getProfiles().subscribe(ct=>{Me=ct?.map(yt=>yt.profile_id)}),he&&Me?.includes(he)?he:this.getHolder()?(he=this.getHolder()?.profile_id,this.setActiveProfileIdInLocalStorage(he),he):void 0}retrieveProfiles(){const he=this.apiUrls.profiles();return this.http.get(he)}retrieveSignups(){const he=this.apiUrls.signups();return this.http.get(he)}getHolder(){let he;return this.getProfiles().subscribe(Me=>{he=Me?.find(ct=>ct.is_primary_profile)}),he}getProfile(){const he=this.getHolder();if(he)return he}getCurrentProfile(){let he;return this.getProfiles().subscribe(Me=>{he=Me?.find(ct=>ct.profile_id===this.getCurrentProfileId())}),he}getCurrentProfileTariffId(){return this.getCurrentProfile()?.tariffs[0].id}getPrimaryProfile(){let he;return this.getProfiles().subscribe(Me=>{he=Me?.find(ct=>ct.is_primary_profile)}),he}isPrimaryProfile(he){return!!he.is_primary_profile}getAttributeValue(he){return this.getCurrentProfile()?.attributes.find(yt=>yt.name===he)?.value}updateAddress(he,Me){return this.http.put(`${this.apiUrl}/customer/customer/profiles/${he}/address`,Me)}updateBankAccountData(he){const Me=this.apiUrls.profileBankAccount(he.profile_id);return this.http.put(Me,he.bank_account)}updateConsent(he,Me){const ct=this.apiUrls.consents(Me.profile_id);return this.http.put(ct,he,{responseType:"text"})}getReferralId(he){return this.http.get(this.apiUrls.getReferralId(he))}isBkvCustomer(){const he=this.getCurrentProfile();return!!he&&he.product_groups?.includes(B.mi2.Company)}checkThryveAccess(he){return(0,X.of)(!1)}getTariffBenefits(he){return this.http.get(this.apiUrls.tariffBenefits(he))}sendFeedback(he,Me,ct,yt,Se){const ke=this.apiUrls.sendFeedback(he),Ze=window.navigator?.userAgent?.split(" ");let Ve="web-app";Ze?.length>1&&(Ve=Ze.slice(-2).join(" ").slice(-50));const Be={comment_type:ct,comment:yt||" ",star_value:Me,platform:"web-app",os_version:Ve,app_version:"web-app",device_model:""};return Se&&(Be.metadata=Se),this.http.post(ke,Be)}sendClaimSettlementDaysFeedback(he,Me,ct){return this.sendFeedback(he,Me.rating,ne.e.ClaimSettlementDays,Me.feedbackText,ct)}canSetProfileLanguage(he){return this.isPrimaryProfile(he)}getProfileLanguage(he){return he.contact?.communication_language}setProfileLanguage(he,Me){const ct=this.apiUrls.profileLanguage(he);return this.http.put(ct,{language:Me})}getAccountIBAN(){const he=this.getCurrentProfile();return he?.is_primary_profile?he.bank_account?.iban:this.getPrimaryProfile()?.bank_account?.iban}setCategoryExpiryDate(he,Me,ct,yt=void 0){return this.http.put(this.apiUrls.categoryExpiryDate(he),{customer_category:Me,expiry_date:ct,customer_todo_id:yt})}getActiveProfileIdFromLocalStore(){return this.storageService.getItem(R.c.tokenTitles.currentProfile)}setActiveProfileIdInLocalStorage(he){this.storageService.setItem(R.c.tokenTitles.currentProfile,he)}enrichProfile(he){he.consents||(he.consents=[]);const Me=he.consents.find(ct=>ct.type===B.rvg.VideoConsultation);return{...he,has_confirmed_consultation:!!Me&&Me.consented}}getReturnUrl(){return`/${P.FY}${this.router.url}`}static \u0275fac=function(Me){return new(Me||Te)};static \u0275prov=h.jDH({token:Te,factory:Te.\u0275fac})}return Te})()},24892:(st,Q,g)=>{"use strict";g.d(Q,{p:()=>z});var a=g(94485),h=g(58527),H=g(66990);let z=(()=>{class P{http=(0,h.WQX)(a.Qq);apiUrl=(0,h.WQX)(H.rA);getTariffPremiums(B){return this.http.get(`${this.apiUrl}/customer/customer/profiles/${B}/tariff-premiums`)}getTariffPremiumsTotalForProfiles(B){let _=0;return B.forEach(q=>
3{q.tariff_premiums?.length&&q.tariff_premiums.forEach(A=>_+=A.premium.amount)}),_}static \u0275fac=function(_){return new(_||P)};static \u0275prov=h.jDH({token:P,factory:P.\u0275fac})}return P})()},99361:(st,Q,g)=>{"use strict";g.d(Q,{$s:()=>ne,$w:()=>Le,AZ:()=>H,BS:()=>se,Cz:()=>A,JM:()=>R,Km:()=>C,Lo:()=>P,RZ:()=>_e,V7:()=>Ie,WO:()=>Re,Wy:()=>_,ZL:()=>xe,ab:()=>z,cL:()=>le,ig:()=>B,nV:()=>q,o2:()=>h});const h="[WebApp] SET_PROFILES",H="[WebApp] SET_ACTIVE_PROFILE_ID",z="[WebApp] UPDATE_PROFILE",P="[WebApp] FETCH_OPENED_TODOS_BY_PROFILE",C="[WebApp] FETCH_UNREAD_MESSAGES_COUNT",B="[WebApp] SET_UNREAD_MESSAGES_COUNT",_="[WebApp] OPENED_TODOS_BY_PROFILE_LOADED",q="[WebApp] FETCH_TODOS",A="[WebApp] TODOS_LOADED";class R{profiles;type=h;constructor(Ne){this.profiles=Ne}}class ne{profile_id;type=H;constructor(Ne){this.profile_id=Ne}}class se{profile_id;update;type=z;constructor(Ne,he){this.profile_id=Ne,this.update=he}}class _e{payload;type=P;constructor(Ne){this.payload=Ne}}class le{response;type=_;constructor(Ne){this.response=Ne}}class Re{payload;type=q;constructor(Ne){this.payload=Ne}}class Le{response;type=A;constructor(Ne){this.response=Ne}}class Ie{type=C}class xe{payload;type=B;constructor(Ne){this.payload=Ne}}},35888:(st,Q,g)=>{"use strict";g.d(Q,{Gg:()=>A,HW:()=>q,Lq:()=>C,NP:()=>ne,Vc:()=>R,ay:()=>z,oy:()=>P,r7:()=>H,t3:()=>B});var a=g(52713);const h=(0,a.UX)("web-app"),H=(0,a.Mz)(h,se=>se.profiles?[...se.profiles].sort((le,Re)=>le.is_primary_profile?-1:1):void 0),z=se=>(0,a.Mz)(h,_e=>{if(_e.profiles)return _e.profiles.find(le=>le.profile_id===se)}),P=(0,a.Mz)(h,se=>se.profiles?.find(_e=>_e.profile_id===se.activeProfileId)),C=(0,a.Mz)(h,se=>se.activeProfileId),B=(0,a.Mz)(P,H,(se,_e)=>{if(se&&_e)return{activeProfile:se,profiles:_e}}),q=((0,a.Mz)(h,se=>se.openedTodosCount),(0,a.Mz)(h,se=>se.openedTodosByProfile)),A=(0,a.Mz)(h,se=>se.todos),R=(0,a.Mz)(h,se=>se.unreadMessagesCount.archived),ne=(0,a.Mz)(h,se=>se.unreadMessagesCount.total)},46904:(st,Q,g)=>{"use strict";g.d(Q,{K:()=>q});var a=g(58527),h=g(74150),H=g(23818),z=g(66990),P=g(51376),C=g(51335);function B(A,X){if(1&A){const R=a.RV6();a.j41(0,"frontend-default-modal",2),a.bIt("onDismissClick",function(){a.eBV(R);const se=a.XpG();return a.Njj(se.refuse())})("onSubmitClick",function(){a.eBV(R);const se=a.XpG();return a.Njj(se.agree())}),a.qex(1,3),a.nrm(2,"iframe",4),a.bVm(),a.k0s()}if(2&A){const R=a.XpG();a.Y8G("hideCrossIcon",!0),a.R7$(2),a.Y8G("src",R.disclaimerUrl,a.f$h)}}function _(A,X){if(1&A){const R=a.RV6();a.j41(0,"frontend-default-modal",5),a.bIt("onDismissClick",function(){a.eBV(R);const se=a.XpG();return a.Njj(se.closeModal())})("onSubmitClick",function(){a.eBV(R);const se=a.XpG();return a.Njj(se.closeModal())}),a.j41(1,"p",3),a.EFF(2," Du hast die Einwilligungserkl\xe4rung widerrufen. Du kannst die dir \xfcbersandten Zugangscodes f\xfcr den digitalen Arztbesuch bei eedoctors im Rahmen des Concierge Services von ottonova nicht mehr verwenden, da hierf\xfcr eine g\xfcltige Einwilligungserkl\xe4rung Voraussetzung ist. "),a.k0s()()}}let q=(()=>{class A{websiteUri=(0,a.WQX)(z.CY);mode="consent";disclaimerUrl;consentTypes=P.rvg;sanitizer=(0,a.WQX)(h.up);modalInstanceService=(0,a.WQX)(H.g7);modalService=(0,a.WQX)(H.Bg);profileService=(0,a.WQX)(C.p);data=(0,a.WQX)(H.e5);ngOnInit(){this.fetchDisclaimerUrl()}agree(){const R={type:this.consentTypes.VideoConsultation,consented:!0},ne={...this.data.profile,consents:[...this.data.profile.consents.filter(se=>se.type!==R.type),R],has_confirmed_consultation:R.consented};this.profileService.updateConsent(R,this.data.profile).subscribe(()=>this.modalInstanceService.close(ne))}refuse(){const R={type:this.consentTypes.VideoConsultation,consented:!1},ne={...this.data.profile,consents:[...this.data.profile.consents.filter(se=>se.type!==R.type),R],has_confirmed_consultation:R.consented};this.profileService.updateConsent(R,this.data.profile).subscribe(()=>{if(this.modalService.result.next(ne),this.data&&this.shouldSkipConfirmation())return this.closeModal();this.mode="confirmation"})}closeModal(){this.modalInstanceService.dismiss()}shouldSkipConfirmation(){return!this.data.profile.consents.find(se=>se.type===P.rvg.VideoConsultation)||this.data&&this.data.skipConfirmation}fetchDisclaimerUrl(){this.disclaimerUrl=this.sanitizer.bypassSecurityTrustResourceUrl(`${this.websiteUri}/disclaimer/de/telemedicine.2205e48de5f93c784733ffcca841d2b5.html`)}static \u0275fac=function(ne){return new(ne||A)};static \u0275cmp=a.VBU({type:A,selectors:[["wa-edit-consents-video-consultation"]],standalone:!0,features:[a.Jv_([H.g7]
3),a.aNF],decls:2,vars:2,consts:[["title","Digitaler Arztbesuch","submitButtonText","Einwilligen","dismissButtonText","Nicht einwilligen",3,"hideCrossIcon"],["submitButtonText","Ok"],["title","Digitaler Arztbesuch","submitButtonText","Einwilligen","dismissButtonText","Nicht einwilligen",3,"onDismissClick","onSubmitClick","hideCrossIcon"],["modalBody",""],[1,"modal-iframe",3,"src"],["submitButtonText","Ok",3,"onDismissClick","onSubmitClick"]],template:function(ne,se){1&ne&&a.DNE(0,B,3,2,"frontend-default-modal",0)(1,_,3,0,"frontend-default-modal",1),2&ne&&(a.vxM("consent"===se.mode?0:-1),a.R7$(),a.vxM("confirmation"===se.mode?1:-1))},dependencies:[H.o],styles:[".modal-iframe[_ngcontent-%COMP%]{width:100%;height:100%;border-width:0}"]})}return A})()},39611:(st,Q,g)=>{"use strict";g.d(Q,{B8:()=>z,MC:()=>P,Ut:()=>a,sG:()=>C,sb:()=>h,vT:()=>H});const a={REFERRAL_INFO:"referral_info_v2",FEATURE_FEEDBACK_CURRENT_VISA_DISABLED:"feature_feedback_current_visa_disabled",FEATURE_FEEDBACK_INCOMPLETE_CLAIMABLE_DOCUMENT_DISABLED:"feature_feedback_incomplete_claimable_document_disabled",FEATURE_FEEDBACK_ENROLLMENT_PROOF_DISABLED:"feature_feedback_enrollment_proof_disabled",FEATURE_FEEDBACK_CATEGORY_STUDENT_EXPIRY_DATE_DISABLED:"feature_feedback_student_expiry_disabled",FEATURE_FEEDBACK_CATEGORY_CIVIL_SERVANT_APPLICANT_EXPIRY_DATE_DISABLED:"feature_feedback_civil_servant_applicant_expiry_disabled",FEATURE_FEEDBACK_UPSELL_DISABLED:"feature_feedback_upsell_disabled",FEATURE_FEEDBACK_CERTIFICATE_DISABLED:"feature_feedback_certificate_disabled",FEATURE_FEEDBACK_CLAIM_SETTLEMENT_DAYS_DISABLED:"feature_feedback_claim_settlement_days_disabled",FEATURE_CHAT_REOPEN_DISABLED:"feature_chat_reopen_disabled"},h={[a.REFERRAL_INFO]:'{\n      "title_german": "Erhalte bis zu 200 \u20ac",\n      "title_english": "Receive up to \u20ac200",\n      "message_german": "Werbe deine Freunde f\xfcr ottonova. Kommt es zum Abschluss, bekommst du:",\n      "message_english": "Refer ottonova to your friends. For each finalized insurance policy you will get:",\n      "items": [\n      {\n          "title_german": "pro Vollversicherung",\n          "title_english": "for full-insurance plans",\n          "amount": 20000,\n          "is_campaign_ongoing": false\n      },\n      {\n          "title_german": "pro Studenten-, Beamten- & Beihilfeversicherung",\n          "title_english": "for student, civil-servant & allowance plans",\n          "amount": 10000,\n          "is_campaign_ongoing": false\n      },\n      {\n          "title_german": "pro Zusatzversicherung",\n          "title_english": "for top-up insurance plans",\n          "amount": 5000,\n          "is_campaign_ongoing": false\n      }\n  ]\n  }',[a.FEATURE_FEEDBACK_CURRENT_VISA_DISABLED]:!0,[a.FEATURE_FEEDBACK_INCOMPLETE_CLAIMABLE_DOCUMENT_DISABLED]:!0,[a.FEATURE_FEEDBACK_ENROLLMENT_PROOF_DISABLED]:!0,[a.FEATURE_CHAT_REOPEN_DISABLED]:!1};var H=function(B){return B.ScreenView="screen_view",B}(H||{}),z=function(B){return B.ConversationStart="conversation_start",B.ConversationClickFromEmpty="click_conversation_start_empty",B.DocumentUpload="document_upload",B.StartVideoConsultation="start_video_consultation",B.CallOttonova="call_ottonova",B.ConversationResolved="conversation_resolve",B.ConversationReopenPrompt="conversation_reopen_prompt",B.ConversationReopenPromptConfirm="conversation_reopen_prompt_confirm",B.DocumentFilter="document_filter",B.DocumentMark="document_mark",B.DocumentLabrNotes="document_labr_notes",B.DocumentSendToChat="document_send_to_chat",B.DocumentSendToChatConfirm="document_send_to_chat_confirm",B.ReferralLink="referral_link",B.ProfileIbanConfirm="profile_iban_confirm",B.ProfileAddressConfirm="profile_address_confirm",B.ProfileTariffBenefits="profile_tariff_benefits",B.TodoSelected="todo_selected",B.TodoAction="todo_action",B.FeedbackDialog="feedback_dialog",B.FeedbackSend="feedback_send",B.ExternalFeedbackShown="external_feedback_shown",B.ExternalFeedbackAction="external_feedback_action",B.CertificateGenerate="certificate_generate",B.CertificateChatRequest="certificate_chat_request",B.FaqActionClick="faq_action_click",B.InsuranceCardDelivered="action_card_delivered",B.MessageClickCertificateEvent="action_message_click_request_certificate",B.ScanDuplicateCancelled="scan_duplicate_cancelled",B.ScanDuplicateRemoved="scan_duplicate_removed",B}(z||{}),P=function(B){return B.Timeline="timeline",B.TimelineDetail="timeline_detail",B.Concierge="concierge",B.ConciergeChat="concierge_chat",B.Documents="documents",B.DocumentDetail="document_detail",B.Profile="profile",B.ProfileDetail="profile_detail",B.ProfileConsents="profile_consents",B.Referral="referral",B.Premium="premium",B.TariffBenefits="tariff_benefits",B.TariffBenefitsSearch="tariff_benefits_search",B.Faq="faq",B.FaqSearch="faq_search",B.CustomerTodos="customer_todos",B.CustomerTodoDetail="customer_todo_detail",B.CustomerUpsellSurvey="survey",B.CustomerTodoBookSalesCall="book_sales_call",B.Certificates="screen_profile_certificates",B.ProfileAddressChangeCardNotice="screen_profile_change_address",B.ClaimSettlementDaysFeedback="screen_claim_settlement_days_feedback",B}(P||{}),C=function(B){return B.TariffBenefits="faq_tariff_benefits",B.SearchStart="faq_search_start",B.UploadDocument="faq_upload_document",B.UploadHealthXDocument="faq_upload_document_healthx",B.HealthXTerms="faq_healthx_terms",B.BookAppointment="faq_book_appointment",B.CheckUp="faq_checkup",B.PensionInsuranceWebsite="faq_rentenversicherung_website",B.PensionInsurancePhone="faq_rentenversicherung_phone",B.PensionInsuranceForm="faq_rentenversicherung_formular",B}(C||{})},16920:(st,Q,g)=>{"use strict";g.d(Q,{c:()=>h});const h=(0,g(61177).Qq)()},75388:(st,Q,g)=>{"use strict";var a=g(61142),h=g(94485);const H=void 0,P=["de",[["AM","PM"],H,H],H,[["S","M","D","M","D","F","S"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["S","M","D","M","D","F","S"],["So","Mo","Di","Mi","Do","Fr","Sa"],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan.","Feb.","M\xe4rz","Apr.","Mai","Juni","Juli","Aug.","Sept.","Okt.","Nov.","Dez."],["Januar","Februar","M\xe4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","M\xe4r","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],["Januar","Februar","M\xe4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["v. Chr.","n. Chr."],H,H
3],1,[6,0],["dd.MM.yy","dd.MM.y","d. MMMM y","EEEE, d. MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",H,"{1} 'um' {0}",H],[",",".",";","%","+","-","E","\xb7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","Euro",{ATS:["\xf6S"],AUD:["AU$","$"],BGM:["BGK"],BGO:["BGJ"],BYN:[H,"\u0440."],CUC:[H,"Cub$"],DEM:["DM"],FKP:[H,"Fl\xa3"],GHS:[H,"\u20b5"],GNF:[H,"F.G."],KMF:[H,"FC"],PHP:[H,"\u20b1"],RON:[H,"L"],RUR:[H,"\u0440."],RWF:[H,"F.Rw"],SYP:[],THB:["\u0e3f"],TWD:["NT$"],XXX:[],ZMW:[H,"K"]},"ltr",function z(Y){const S=Math.floor(Math.abs(Y)),V=Y.toString().replace(/^[^.]*\.?/,"").length;return 1===S&&0===V?1:5}];var C=g(58527),B=g(74150),_=g(40262);function A(Y){return new C.wOt(3e3,!1)}function _n(Y){switch(Y.length){case 0:return new _.sf;case 1:return Y[0];default:return new _.ui(Y)}}function hn(Y,T,S=new Map,V=new Map){const ce=[],je=[];let dt=-1,Ct=null;if(T.forEach(zt=>{const Vt=zt.get("offset"),jn=Vt==dt,Mn=jn&&Ct||new Map;zt.forEach((Si,ji)=>{let ti=ji,ri=Si;if("offset"!==ji)switch(ti=Y.normalizePropertyName(ti,ce),ri){case _.FX:ri=S.get(ji);break;case _.kp:ri=V.get(ji);break;default:ri=Y.normalizeStyleValue(ji,ti,ri,ce)}Mn.set(ti,ri)}),jn||je.push(Mn),Ct=Mn,dt=Vt}),ce.length)throw function He(){return new C.wOt(3502,!1)}();return je}function en(Y,T,S,V){switch(T){case"start":Y.onStart(()=>V(S&&Ot(S,"start",Y)));break;case"done":Y.onDone(()=>V(S&&Ot(S,"done",Y)));break;case"destroy":Y.onDestroy(()=>V(S&&Ot(S,"destroy",Y)))}}function Ot(Y,T,S){const je=Gt(Y.element,Y.triggerName,Y.fromState,Y.toState,T||Y.phaseName,S.totalTime??Y.totalTime,!!S.disabled),dt=Y._data;return null!=dt&&(je._data=dt),je}function Gt(Y,T,S,V,ce="",je=0,dt){return{element:Y,triggerName:T,fromState:S,toState:V,phaseName:ce,totalTime:je,disabled:!!dt}}function Wt(Y,T,S){let V=Y.get(T);return V||Y.set(T,V=S),V}function Wn(Y){const T=Y.indexOf(":");return[Y.substring(1,T),Y.slice(T+1)]}const qn=typeof document>"u"?null:document.documentElement;function Fn(Y){const T=Y.parentNode||Y.host||null;return T===qn?null:T}let zi=null,Yi=!1;function Xt(Y,T){for(;T;){if(T===Y)return!0;T=Fn(T)}return!1}function Dt(Y,T,S){if(S)return Array.from(Y.querySelectorAll(T));const V=Y.querySelector(T);return V?[V]:[]}let Oe=(()=>{class Y{validateStyleProperty(S){return function ni(Y){zi||(zi=function Rt(){return typeof document<"u"?document.body:null}()||{},Yi=!!zi.style&&"WebkitAppearance"in zi.style);let T=!0;return zi.style&&!function Mi(Y){return"ebkit"==Y.substring(1,6)}(Y)&&(T=Y in zi.style,!T&&Yi&&(T="Webkit"+Y.charAt(0).toUpperCase()+Y.slice(1)in zi.style)),T}(S)}containsElement(S,V){return Xt(S,V)}getParentElement(S){return Fn(S)}query(S,V,ce){return Dt(S,V,ce)}computeStyle(S,V,ce){return ce||""}animate(S,V,ce,je,dt,Ct=[],zt){return new _.sf(ce,je)}static{this.\u0275fac=function(V){return new(V||Y)}}static{this.\u0275prov=C.jDH({token:Y,factory:Y.\u0275fac})}}return Y})();class Ye{static{this.NOOP=new Oe}}class vt{}const zn=1e3,gr="ng-enter",xt="ng-leave",Sn="ng-trigger",qt=".ng-trigger",Cn="ng-animating",ai=".ng-animating";function gi(Y){if("number"==typeof Y)return Y;const T=Y.match(/^(-?[\.\d]+)(m?s)/);return!T||T.length<2?0:Pt(parseFloat(T[1]),T[2])}function Pt(Y,T){return"s"===T?Y*zn:Y}function Et(Y,T,S){return Y.hasOwnProperty("duration")?Y:function ot(Y,T,S){let ce,je=0,dt="";if("string"==typeof Y){const Ct=Y.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Ct)return T.push(A()),{duration:0,delay:0,easing:""};ce=Pt(parseFloat(Ct[1]),Ct[2]);const zt=Ct[3];null!=zt&&(je=Pt(parseFloat(zt),Ct[4]));const Vt=Ct[5];Vt&&(dt=Vt)}else ce=Y;if(!S){let Ct=!1,zt=T.length;ce<0&&(T.push(function X(){return new C.wOt(3100,!1)}()),Ct=!0),je<0&&(T.push(function R(){return new C.wOt(3101,!1)}()),Ct=!0),Ct&&T.splice(zt,0,A())}return{duration:ce,delay:je,easing:dt}}(Y,T,S)}function Vn(Y,T,S){T.forEach((V,ce)=>{const je=Di(ce);S&&!S.has(ce)&&S.set(ce,Y.style[je]),Y.style[je]=V})}function oi(Y,T){T.forEach((S,V)=>{const ce=Di(V);Y.style[ce]=""})}function hi(Y){return Array.isArray(Y)?1==Y.length?Y[0]:(0,_.K2)(Y):Y}const Dr=new RegExp("{{\\s*(.+?)\\s*}}","g");function mr(Y){let T=[];
3if("string"==typeof Y){let S;for(;S=Dr.exec(Y);)T.push(S[1]);Dr.lastIndex=0}return T}function yr(Y,T,S){const V=`${Y}`,ce=V.replace(Dr,(je,dt)=>{let Ct=T[dt];return null==Ct&&(S.push(function se(){return new C.wOt(3003,!1)}()),Ct=""),Ct.toString()});return ce==V?Y:ce}const ss=/-+([a-z0-9])/g;function Di(Y){return Y.replace(ss,(...T)=>T[1].toUpperCase())}function nn(Y,T,S){switch(T.type){case _.If.Trigger:return Y.visitTrigger(T,S);case _.If.State:return Y.visitState(T,S);case _.If.Transition:return Y.visitTransition(T,S);case _.If.Sequence:return Y.visitSequence(T,S);case _.If.Group:return Y.visitGroup(T,S);case _.If.Animate:return Y.visitAnimate(T,S);case _.If.Keyframes:return Y.visitKeyframes(T,S);case _.If.Style:return Y.visitStyle(T,S);case _.If.Reference:return Y.visitReference(T,S);case _.If.AnimateChild:return Y.visitAnimateChild(T,S);case _.If.AnimateRef:return Y.visitAnimateRef(T,S);case _.If.Query:return Y.visitQuery(T,S);case _.If.Stagger:return Y.visitStagger(T,S);default:throw function _e(){return new C.wOt(3004,!1)}()}}function et(Y,T){return window.getComputedStyle(Y)[T]}const Zt=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 At extends vt{normalizePropertyName(T,S){return Di(T)}normalizeStyleValue(T,S,V,ce){let je="";const dt=V.toString().trim();if(Zt.has(S)&&0!==V&&"0"!==V)if("number"==typeof V)je="px";else{const Ct=V.match(/^[+-]?[\d\.]+([a-z]*)$/);Ct&&0==Ct[1].length&&ce.push(function le(){return new C.wOt(3005,!1)}())}return dt+je}}const us="*";const ko=new Set(["true","1"]),We=new Set(["false","0"]);function be(Y,T){const S=ko.has(Y)||We.has(Y),V=ko.has(T)||We.has(T);return(ce,je)=>{let dt=Y==us||Y==ce,Ct=T==us||T==je;return!dt&&S&&"boolean"==typeof ce&&(dt=ce?ko.has(Y):We.has(Y)),!Ct&&V&&"boolean"==typeof je&&(Ct=je?ko.has(T):We.has(T)),dt&&Ct}}const Ee=new RegExp("s*:selfs*,?","g");function ue(Y,T,S,V){return new qe(Y).build(T,S,V)}class qe{constructor(T){this._driver=T}build(T,S,V){const ce=new En(S);return this._resetContextStyleTimingState(ce),nn(this,hi(T),ce)}_resetContextStyleTimingState(T){T.currentQuerySelector="",T.collectedStyles=new Map,T.collectedStyles.set("",new Map),T.currentTime=0}visitTrigger(T,S){let V=S.queryCount=0,ce=S.depCount=0;const je=[],dt=[];return"@"==T.name.charAt(0)&&S.errors.push(function Re(){return new C.wOt(3006,!1)}()),T.definitions.forEach(Ct=>{if(this._resetContextStyleTimingState(S),Ct.type==_.If.State){const zt=Ct,Vt=zt.name;Vt.toString().split(/\s*,\s*/).forEach(jn=>{zt.name=jn,je.push(this.visitState(zt,S))}),zt.name=Vt}else if(Ct.type==_.If.Transition){const zt=this.visitTransition(Ct,S);V+=zt.queryCount,ce+=zt.depCount,dt.push(zt)}else S.errors.push(function Le(){return new C.wOt(3007,!1)}())}),{type:_.If.Trigger,name:T.name,states:je,transitions:dt,queryCount:V,depCount:ce,options:null}}visitState(T,S){const V=this.visitStyle(T.styles,S),ce=T.options&&T.options.params||null;if(V.containsDynamicStyles){const je=new Set,dt=ce||{};V.styles.forEach(Ct=>{Ct instanceof Map&&Ct.forEach(zt=>{mr(zt).forEach(Vt=>{dt.hasOwnProperty(Vt)||je.add(Vt)})})}),je.size&&S.errors.push(function Ie(){return new C.wOt(3008,!1)}(0,je.values()))}return{type:_.If.State,name:T.name,style:V,options:ce?{params:ce}:null}}visitTransition(T,S){S.queryCount=0,S.depCount=0;const V=nn(this,hi(T.animation),S),ce=function Cs(Y,T){const S=[];return"string"==typeof Y?Y.split(/\s*,\s*/).forEach(V=>function ho(Y,T,S){if(":"==Y[0]){const zt=function _o(Y,T){switch(Y){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(S,V)=>parseFloat(V)>parseFloat(S);case":decrement":return(S,V)=>parseFloat(V)<parseFloat(S);default:return T.push(function Ve(){return new C.wOt(3016,!1)}()),"* => *"}}(Y,S);if("function"==typeof zt)return void T.push(zt);Y=zt}const V=Y.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==V||V.length<4)return S.push(function Ze(){return new C.wOt(3015,!1)}()),T;const ce=V[1],je=V[2],dt=V[3];T.push(be(ce,dt)),"<"==je[0]&&(ce!=us||dt!=us)&&T.push(be(dt,ce))}(V,S,T)):S.push(Y),S}(T.expr,S.errors);return{type:_.If.Transition,matchers:ce,animation:V,queryCount:S.queryCount,depCount:S.depCount,options:ei(T.options)}}visitSequence(T,S){return{type:_.If.Sequence,steps:T.steps.map(V=>nn(this,V,S)),options:ei(T.options)}}visitGroup(T,S){const V=S.currentTime;let ce=0;const je=T.steps.map(dt=>{S.currentTime=V;const Ct=nn(this,dt,S);return ce=Math.max(ce,S.currentTime),Ct});return S.currentTime=ce,{type:_.If.Group,steps:je,options:ei(T.options)}}visitAnimate(T,S){const V=function Ci(Y,T){if(Y.hasOwnProperty("duration"))return Y;if("number"==typeof Y)return qi(Et(Y,T).duration,0,"");const S=Y;if(S.split(/\s+/).some(je=>"{"==je.charAt(0)&&"{"==je.charAt(1))){const je=qi(0,0,"");return je.dynamic=!0,je.strValue=S,je}const ce=Et(S,T);return qi(ce.duration,ce.delay,ce.easing)}(T.timings,S.errors);S.currentAnimateTimings=V;let ce,je=T.styles?T.styles:(0,_.iF)({});if(je.type==_.If.Keyframes)ce=this.visitKeyframes(je,S);else{let dt=T.styles,Ct=!1;if(!dt){Ct=!0;const Vt={};V.easing&&(Vt.easing=V.easing),dt=(0,_.iF)(Vt)}S.currentTime+=V.duration+V.delay;
vendor: 14,173 bytes, line 3
3const zt=this.visitStyle(dt,S);zt.isEmptyStep=Ct,ce=zt}return S.currentAnimateTimings=null,{type:_.If.Animate,timings:V,style:ce,options:null}}visitStyle(T,S){const V=this._makeStyleAst(T,S);return this._validateStyleAst(V,S),V}_makeStyleAst(T,S){const V=[],ce=Array.isArray(T.styles)?T.styles:[T.styles];for(let Ct of ce)"string"==typeof Ct?Ct===_.kp?V.push(Ct):S.errors.push(new C.wOt(3002,!1)):V.push(new Map(Object.entries(Ct)));let je=!1,dt=null;return V.forEach(Ct=>{if(Ct instanceof Map&&(Ct.has("easing")&&(dt=Ct.get("easing"),Ct.delete("easing")),!je))for(let zt of Ct.values())if(zt.toString().indexOf("{{")>=0){je=!0;break}}),{type:_.If.Style,styles:V,easing:dt,offset:T.offset,containsDynamicStyles:je,options:null}}_validateStyleAst(T,S){const V=S.currentAnimateTimings;let ce=S.currentTime,je=S.currentTime;V&&je>0&&(je-=V.duration+V.delay),T.styles.forEach(dt=>{"string"!=typeof dt&&dt.forEach((Ct,zt)=>{const Vt=S.collectedStyles.get(S.currentQuerySelector),jn=Vt.get(zt);let Mn=!0;jn&&(je!=ce&&je>=jn.startTime&&ce<=jn.endTime&&(S.errors.push(function Ne(){return new C.wOt(3010,!1)}()),Mn=!1),je=jn.startTime),Mn&&Vt.set(zt,{startTime:je,endTime:ce}),S.options&&function Oi(Y,T,S){const V=T.params||{},ce=mr(Y);ce.length&&ce.forEach(je=>{V.hasOwnProperty(je)||S.push(function ne(){return new C.wOt(3001,!1)}())})}(Ct,S.options,S.errors)})})}visitKeyframes(T,S){const V={type:_.If.Keyframes,styles:[],options:null};if(!S.currentAnimateTimings)return S.errors.push(function he(){return new C.wOt(3011,!1)}()),V;let je=0;const dt=[];let Ct=!1,zt=!1,Vt=0;const jn=T.steps.map(ps=>{const Xs=this._makeStyleAst(ps,S);let js=null!=Xs.offset?Xs.offset:function Bn(Y){if("string"==typeof Y)return null;let T=null;if(Array.isArray(Y))Y.forEach(S=>{if(S instanceof Map&&S.has("offset")){const V=S;T=parseFloat(V.get("offset")),V.delete("offset")}});else if(Y instanceof Map&&Y.has("offset")){const S=Y;T=parseFloat(S.get("offset")),S.delete("offset")}return T}(Xs.styles),yi=0;return null!=js&&(je++,yi=Xs.offset=js),zt=zt||yi<0||yi>1,Ct=Ct||yi<Vt,Vt=yi,dt.push(yi),Xs});zt&&S.errors.push(function Me(){return new C.wOt(3012,!1)}()),Ct&&S.errors.push(function ct(){return new C.wOt(3200,!1)}());const Mn=T.steps.length;let Si=0;je>0&&je<Mn?S.errors.push(function yt(){return new C.wOt(3202,!1)}()):0==je&&(Si=1/(Mn-1));const ji=Mn-1,ti=S.currentTime,ri=S.currentAnimateTimings,ls=ri.duration;return jn.forEach((ps,Xs)=>{const js=Si>0?Xs==ji?1:Si*Xs:dt[Xs],yi=js*ls;S.currentTime=ti+ri.delay+yi,ri.duration=yi,this._validateStyleAst(ps,S),ps.offset=js,V.styles.push(ps)}),V}visitReference(T,S){return{type:_.If.Reference,animation:nn(this,hi(T.animation),S),options:ei(T.options)}}visitAnimateChild(T,S){return S.depCount++,{type:_.If.AnimateChild,options:ei(T.options)}}visitAnimateRef(T,S){return{type:_.If.AnimateRef,animation:this.visitReference(T.animation,S),options:ei(T.options)}}visitQuery(T,S){const V=S.currentQuerySelector,ce=T.options||{};S.queryCount++,S.currentQuery=T;const[je,dt]=function kt(Y){const T=!!Y.split(/\s*,\s*/).find(S=>":self"==S);return T&&(Y=Y.replace(Ee,"")),Y=Y.replace(/@\*/g,qt).replace(/@\w+/g,S=>qt+"-"+S.slice(1)).replace(/:animating/g,ai),[Y,T]}(T.selector);S.currentQuerySelector=V.length?V+" "+je:je,Wt(S.collectedStyles,S.currentQuerySelector,new Map);const Ct=nn(this,hi(T.animation),S);return S.currentQuery=null,S.currentQuerySelector=V,{type:_.If.Query,selector:je,limit:ce.limit||0,optional:!!ce.optional,includeSelf:dt,animation:Ct,originalSelector:T.selector,options:ei(T.options)}}visitStagger(T,S){S.currentQuery||S.errors.push(function Se(){return new C.wOt(3013,!1)}());const V="full"===T.timings?{duration:0,delay:0,easing:"full"}:Et(T.timings,S.errors,!0);return{type:_.If.Stagger,animation:nn(this,hi(T.animation),S),timings:V,options:null}}}class En{constructor(T){this.errors=T,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function ei(Y){return Y?(Y={...Y}).params&&(Y.params=function Qt(Y){return Y?{...Y}:null}(Y.params)):Y={},Y}function qi(Y,T,S){return{duration:Y,delay:T,easing:S}}function br(Y,T,S,V,ce,je,dt=null,Ct=!1){return{type:1,element:Y,keyframes:T,preStyleProps:S,postStyleProps:V,duration:ce,delay:je,totalTime:ce+je,easing:dt,subTimeline:Ct}}class pr{constructor(){this._map=new Map}get(T){return this._map.get(T)||[]}append(T,S){let V=this._map.get(T);V||this._map.set(T,V=[]),V.push(...S)}has(T){return this._map.has(T)}clear(){this._map.clear()}}const as=new RegExp(":enter","g"),xr=new RegExp(":leave","g");function Es(Y,T,S,V,ce,je=new Map,dt=new Map,Ct,zt,Vt=[]){return(new it).buildKeyframes(Y,T,S,V,ce,je,dt,Ct,zt,Vt)}class it{buildKeyframes(T,S,V,ce,je,dt,Ct,zt,Vt,jn=[]){Vt=Vt||new pr;const Mn=new Bt(T,S,Vt,ce,je,jn,[]);Mn.options=zt;const Si=zt.delay?gi(zt.delay):0;Mn.currentTimeline.delayNextStep(Si),Mn.currentTimeline.setStyles([dt],null,Mn.errors,zt),nn(this,V,Mn);const ji=Mn.timelines.filter(ti=>ti.containsAnimation());if(ji.length&&Ct.size){let ti;for(let ri=ji.length-1;ri>=0;ri--){const ls=ji[ri];if(ls.element===S){ti=ls;break}}ti&&!ti.allowOnlyTimelineStyles()&&ti.setStyles([Ct],null,Mn.errors,zt)}return ji.length?ji.map(ti=>ti.buildKeyframes()):[br(S,[],[],[],0,Si,"",!1)]}visitTrigger(T,S){}visitState(T,S){}visitTransition(T,S){}visitAnimateChild(T,S){const V=S.subInstructions.get(S.element);if(V){const ce=S.createSubContext(T.options),je=S.currentTimeline.currentTime,dt=this._visitSubInstructions(V,ce,ce.options);je!=dt&&S.transformIntoNewTimeline(dt)}S.previousNode=T}visitAnimateRef(T,S){const V=S.createSubContext(T.options);V.transformIntoNewTimeline(),this._applyAnimationRefDelays([T.options,T.animation.options],S,V),this.visitReference(T.animation,V),S.transformIntoNewTimeline(V.currentTimeline.currentTime),S.previousNode=T}_applyAnimationRefDelays(T,S,V){for(const ce of T){const je=ce?.delay;if(je){const dt="number"==typeof je?je:gi(yr(je,ce?.params??{},S.errors));V.delayNextStep(dt)}}}_visitSubInstructions(T,S,V){let je=S.currentTimeline.currentTime;const dt=null!=V.duration?gi(V.duration):null,Ct=null!=V.delay?gi(V.delay):null;return 0!==dt&&T.forEach(zt=>{const Vt=S.appendInstructionToTimeline(zt,dt,Ct);je=Math.max(je,Vt.duration+Vt.delay)}),je}visitReference(T,S){S.updateOptions(T.options,!0),nn(this,T.animation,S),S.previousNode=T}visitSequence(T,S){const V=S.subContextCount;let ce=S;const je=T.options;if(je&&(je.params||je.delay)&&(ce=S.createSubContext(je),ce.transformIntoNewTimeline(),null!=je.delay)){ce.previousNode.type==_.If.Style&&(ce.currentTimeline.snapshotCurrentStyles(),ce.previousNode=Nt);const dt=gi(je.delay);ce.delayNextStep(dt)}T.steps.length&&(T.steps.forEach(dt=>nn(this,dt,ce)),ce.currentTimeline.applyStylesToKeyframe(),ce.subContextCount>V&&ce.transformIntoNewTimeline()),S.previousNode=T}visitGroup(T,S){const V=[];let ce=S.currentTimeline.currentTime;const je=T.options&&T.options.delay?gi(T.options.delay):0;T.steps.forEach(dt=>{const Ct=S.createSubContext(T.options);je&&Ct.delayNextStep(je),nn(this,dt,Ct),ce=Math.max(ce,Ct.currentTimeline.currentTime),V.push(Ct.currentTimeline)}),V.forEach(dt=>S.currentTimeline.mergeTimelineCollectedStyles(dt)),S.transformIntoNewTimeline(ce),S.previousNode=T}_visitTiming(T,S){if(T.dynamic){const V=T.strValue;return Et(S.params?yr(V,S.params,S.errors):V,S.errors)}return{duration:T.duration,delay:T.delay,easing:T.easing}}visitAnimate(T,S){const V=S.currentAnimateTimings=this._visitTiming(T.timings,S),ce=S.currentTimeline;V.delay&&(S.incrementTime(V.delay),ce.snapshotCurrentStyles());const je=T.style;je.type==_.If.Keyframes?this.visitKeyframes(je,S):(S.incrementTime(V.duration),this.visitStyle(je,S),ce.applyStylesToKeyframe()),S.currentAnimateTimings=null,S.previousNode=T}visitStyle(T,S){const V=S.currentTimeline,ce=S.currentAnimateTimings;!ce&&V.hasCurrentStyleProperties()&&V.forwardFrame();const je=ce&&ce.easing||T.easing;T.isEmptyStep?V.applyEmptyStep(je):V.setStyles(T.styles,je,S.errors,S.options),S.previousNode=T}visitKeyframes(T,S){const V=S.currentAnimateTimings,ce=S.currentTimeline.duration,je=V.duration,Ct=S.createSubContext().currentTimeline;Ct.easing=V.easing,T.styles.forEach(zt=>{Ct.forwardTime((zt.offset||0)*je),Ct.setStyles(zt.styles,zt.easing,S.errors,S.options),Ct.applyStylesToKeyframe()}),S.currentTimeline.mergeTimelineCollectedStyles(Ct),S.transformIntoNewTimeline(ce+je),S.previousNode=T}visitQuery(T,S){const V=S.currentTimeline.currentTime,ce=T.options||{},je=ce.delay?gi(ce.delay):0;je&&(S.previousNode.type===_.If.Style||0==V&&S.currentTimeline.hasCurrentStyleProperties())&&(S.currentTimeline.snapshotCurrentStyles(),S.previousNode=Nt);let dt=V;const Ct=S.invokeQuery(T.selector,T.originalSelector,T.limit,T.includeSelf,!!ce.optional,S.errors);S.currentQueryTotal=Ct.length;let zt=null;Ct.forEach((Vt,jn)=>{S.currentQueryIndex=jn;const Mn=S.createSubContext(T.options,Vt);je&&Mn.delayNextStep(je),Vt===S.element&&(zt=Mn.currentTimeline),nn(this,T.animation,Mn),Mn.currentTimeline.applyStylesToKeyframe(),dt=Math.max(dt,Mn.currentTimeline.currentTime)}),S.currentQueryIndex=0,S.currentQueryTotal=0,S.transformIntoNewTimeline(dt),zt&&(S.currentTimeline.mergeTimelineCollectedStyles(zt),S.currentTimeline.snapshotCurrentStyles()),S.previousNode=T}visitStagger(T,S){const V=S.parentContext,ce=S.currentTimeline,je=T.timings,dt=Math.abs(je.duration),Ct=dt*(S.currentQueryTotal-1);let zt=dt*S.currentQueryIndex;switch(je.duration<0?"reverse":je.easing){case"reverse":zt=Ct-zt;break;case"full":zt=V.currentStaggerTime}const jn=S.currentTimeline;zt&&jn.delayNextStep(zt);const Mn=jn.currentTime;nn(this,T.animation,S),S.previousNode=T,V.currentStaggerTime=ce.currentTime-Mn+(ce.startTime-V.currentTimeline.startTime)}}const Nt={};class Bt{constructor(T,S,V,ce,je,dt,Ct,zt){this._driver=T,this.element=S,this.subInstructions=V,this._enterClassName=ce,this._leaveClassName=je,this.errors=dt,this.timelines=Ct,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Nt,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=zt||new Kt(this._driver,S,0),Ct.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(T,S){if(!T)return;const V=T;let ce=this.options;null!=V.duration&&(ce.duration=gi(V.duration)),null!=V.delay&&(ce.delay=gi(V.delay));const je=V.params;if(je){let dt=ce.params;dt||(dt=this.options.params={}),Object.keys(je).forEach(Ct=>{(!S||!dt.hasOwnProperty(Ct))&&(dt[Ct]=yr(je[Ct],dt,this.errors))})}}_copyOptions(){const T={};if(this.options){const S=this.options.params;if(S){const V=T.params={};Object.keys(S).forEach(ce=>{V[ce]=S[ce]})}}return T}createSubContext(T=null,S,V){const ce=S||this.element,je=new Bt(this._driver,ce,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(ce,V||0));return je.previousNode=this.previousNode,je.currentAnimateTimings=this.currentAnimateTimings,je.options=this._copyOptions(),je.updateOptions(T),je.currentQueryIndex=this.currentQueryIndex,je.currentQueryTotal=this.currentQueryTotal,je.parentContext=this,this.subContextCount++,je}transformIntoNewTimeline(T){return this.previousNode=Nt,this.currentTimeline=this.currentTimeline.fork(this.element,T),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(T,S,V){const ce={duration:S??T.duration,delay:this.currentTimeline.currentTime+(V??0)+T.delay,easing:""},je=new Gn(this._driver,T.element,T.keyframes,T.preStyleProps,T.postStyleProps,ce,T.stretchStartingKeyframe);return this.timelines.push(je),ce}incrementTime(T){this.currentTimeline.forwardTime(this.currentTimeline.duration+T)}delayNextStep(T){T>0&&this.currentTimeline.delayNextStep(T)}invokeQuery(T,S,V,ce,je,dt){let Ct=[];if(ce&&Ct.push(this.element),T.length>0){T=(T=T.replace(as,"."+this._enterClassName)).replace(xr,"."+this._leaveClassName);let Vt=this._driver.query(this.element,T,1!=V);0!==V&&(Vt=V<0?Vt.slice(Vt.length+V,Vt.length):Vt.slice(0,V)),Ct.push(...Vt)}return!je&&0==Ct.length&&dt.push(function ke(){return new C.wOt(3014,!1)}()),Ct}}class Kt{constructor(T,S,V,ce){this._driver=T,this.element=S,this.startTime=V,this._elementTimelineStylesLookup=ce,this.duration=0,this.easing=null,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(S),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(S,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(T){const S=1===this._keyframes.size&&this._pendingStyles.size;this.duration||S?(this.forwardTime(this.currentTime+T),S&&this.snapshotCurrentStyles()):this.startTime+=T}fork(T,S){return this.applyStylesToKeyframe(),new Kt(this._driver,T,S||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(T){this.applyStylesToKeyframe(),this.duration=T,this._loadKeyframe()}_updateStyle(T,S){this._localTimelineStyles.set(T,S),this._globalTimelineStyles.set(T,S),this._styleSummary.set(T,{time:this.currentTime,value:S})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}
3applyEmptyStep(T){T&&this._previousKeyframe.set("easing",T);for(let[S,V]of this._globalTimelineStyles)this._backFill.set(S,V||_.kp),this._currentKeyframe.set(S,_.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(T,S,V,ce){S&&this._previousKeyframe.set("easing",S);const je=ce&&ce.params||{},dt=function Gi(Y,T){const S=new Map;let V;return Y.forEach(ce=>{if("*"===ce){V??=T.keys();for(let je of V)S.set(je,_.kp)}else for(let[je,dt]of ce)S.set(je,dt)}),S}(T,this._globalTimelineStyles);for(let[Ct,zt]of dt){const Vt=yr(zt,je,V);this._pendingStyles.set(Ct,Vt),this._localTimelineStyles.has(Ct)||this._backFill.set(Ct,this._globalTimelineStyles.get(Ct)??_.kp),this._updateStyle(Ct,Vt)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((T,S)=>{this._currentKeyframe.set(S,T)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((T,S)=>{this._currentKeyframe.has(S)||this._currentKeyframe.set(S,T)}))}snapshotCurrentStyles(){for(let[T,S]of this._localTimelineStyles)this._pendingStyles.set(T,S),this._updateStyle(T,S)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const T=[];for(let S in this._currentKeyframe)T.push(S);return T}
3mergeTimelineCollectedStyles(T){T._styleSummary.forEach((S,V)=>{const ce=this._styleSummary.get(V);(!ce||S.time>ce.time)&&this._updateStyle(V,S.value)})}buildKeyframes(){this.applyStylesToKeyframe();const T=new Set,S=new Set,V=1===this._keyframes.size&&0===this.duration;let ce=[];this._keyframes.forEach((Ct,zt)=>{const Vt=new Map([...this._backFill,...Ct]);Vt.forEach((jn,Mn)=>{jn===_.FX?T.add(Mn):jn===_.kp&&S.add(Mn)}),V||Vt.set("offset",zt/this.duration),ce.push(Vt)});const je=[...T.values()],dt=[...S.values()];if(V){const Ct=ce[0],zt=new Map(Ct);Ct.set("offset",0),zt.set("offset",1),ce=[Ct,zt]}return br(this.element,ce,je,dt,this.duration,this.startTime,this.easing,!1)}}class Gn extends Kt{constructor(T,S,V,ce,je,dt,Ct=!1){super(T,S,dt.delay),this.keyframes=V,this.preStyleProps=ce,this.postStyleProps=je,this._stretchStartingKeyframe=Ct,this.timings={duration:dt.duration,delay:dt.delay,easing:dt.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let T=this.keyframes,{delay:S,duration:V,easing:ce}=this.timings;if(this._stretchStartingKeyframe&&S){const je=[],dt=V+S,Ct=S/dt,zt=new Map(T[0]);zt.set("offset",0),je.push(zt);const Vt=new Map(T[0]);Vt.set("offset",Jn(Ct)),je.push(Vt);const jn=T.length-1;for(let Mn=1;Mn<=jn;Mn++){let Si=new Map(T[Mn]);const ji=Si.get("offset");Si.set("offset",Jn((S+ji*V)/dt)),je.push(Si)}V=dt,S=0,ce="",T=je}return br(this.element,T,this.preStyleProps,this.postStyleProps,V,S,ce,!0)}}function Jn(Y,T=3){const S=Math.pow(10,T-1);return Math.round(Y*S)/S}function vr(Y,T,S,V,ce,je,dt,Ct,zt,Vt,jn,Mn,Si){return{type:0,element:Y,triggerName:T,isRemovalTransition:ce,fromState:S,fromStyles:je,toState:V,toStyles:dt,timelines:Ct,queriedElements:zt,preStyleProps:Vt,postStyleProps:jn,totalTime:Mn,errors:Si}}const ki={};class Rs{constructor(T,S,V){this._triggerName=T,this.ast=S,this._stateStyles=V}match(T,S,V,ce){return function kr(Y,T,S,V,ce){return Y.some(je=>je(T,S,V,ce))}(this.ast.matchers,T,S,V,ce)}buildStyles(T,S,V){let ce=this._stateStyles.get("*");return void 0!==T&&(ce=this._stateStyles.get(T?.toString())||ce),ce?ce.buildStyles(S,V):new Map}build(T,S,V,ce,je,dt,Ct,zt,Vt,jn){const Mn=[],Si=this.ast.options&&this.ast.options.params||ki,ti=this.buildStyles(V,Ct&&Ct.params||ki,Mn),ri=zt&&zt.params||ki,ls=this.buildStyles(ce,ri,Mn),ps=new Set,Xs=new Map,js=new Map,yi="void"===ce,fr={params:Na(ri,Si),delay:this.ast.options?.delay},Gr=jn?[]:Es(T,S,this.ast.animation,je,dt,ti,ls,fr,Vt,Mn);let U=0;return Gr.forEach(D=>{U=Math.max(D.duration+D.delay,U)}),Mn.length?vr(S,this._triggerName,V,ce,yi,ti,ls,[],[],Xs,js,U,Mn):(Gr.forEach(D=>{const L=D.element,de=Wt(Xs,L,new Set);D.preStyleProps.forEach(at=>de.add(at));const De=Wt(js,L,new Set);D.postStyleProps.forEach(at=>De.add(at)),L!==S&&ps.add(L)}),vr(S,this._triggerName,V,ce,yi,ti,ls,Gr,[...ps.values()],Xs,js,U))}}function Na(Y,T){const S={...T};return Object.entries(Y).forEach(([V,ce])=>{null!=ce&&(S[V]=ce)}),S}class la{constructor(T,S,V){this.styles=T,this.defaultParams=S,this.normalizer=V}buildStyles(T,S){const V=new Map,ce=Na(T,this.defaultParams);return this.styles.styles.forEach(je=>{"string"!=typeof je&&je.forEach((dt,Ct)=>{dt&&(dt=yr(dt,ce,S));const zt=this.normalizer.normalizePropertyName(Ct,S);dt=this.normalizer.normalizeStyleValue(Ct,zt,dt,S),V.set(Ct,dt)})}),V}}class ka{constructor(T,S,V){this.name=T,this.ast=S,this._normalizer=V,this.transitionFactories=[],this.states=new Map,S.states.forEach(ce=>{this.states.set(ce.name,new la(ce.style,ce.options&&ce.options.params||{},V))}),va(this.states,"true","1"),va(this.states,"false","0"),S.transitions.forEach(ce=>{this.transitionFactories.push(new Rs(T,ce,this.states))}),this.fallbackTransition=function ba(Y,T){return new Rs(Y,{type:_.If.Transition,animation:{type:_.If.Sequence,steps:[],options:null},matchers:[(dt,Ct)=>!0],options:null,queryCount:0,depCount:0},T)}(T,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(T,S,V,ce){return this.transitionFactories.find(dt=>dt.match(T,S,V,ce))||null}matchStyles(T,S,V){return this.fallbackTransition.buildStyles(T,S,V
vendor: 13,041 bytes, line 3
3)}}function va(Y,T,S){Y.has(T)?Y.has(S)||Y.set(S,Y.get(T)):Y.has(S)&&Y.set(T,Y.get(S))}const ea=new pr;class Dc{constructor(T,S,V){this.bodyNode=T,this._driver=S,this._normalizer=V,this._animations=new Map,this._playersById=new Map,this.players=[]}register(T,S){const V=[],je=ue(this._driver,S,V,[]);if(V.length)throw function bt(){return new C.wOt(3503,!1)}();this._animations.set(T,je)}_buildPlayer(T,S,V){const ce=T.element,je=hn(this._normalizer,T.keyframes,S,V);return this._driver.animate(ce,je,T.duration,T.delay,T.easing,[],!0)}create(T,S,V={}){const ce=[],je=this._animations.get(T);let dt;const Ct=new Map;if(je?(dt=Es(this._driver,S,je,gr,xt,new Map,new Map,V,ea,ce),dt.forEach(jn=>{const Mn=Wt(Ct,jn.element,new Map);jn.postStyleProps.forEach(Si=>Mn.set(Si,null))})):(ce.push(function Yt(){return new C.wOt(3300,!1)}()),dt=[]),ce.length)throw function sn(){return new C.wOt(3504,!1)}();Ct.forEach((jn,Mn)=>{jn.forEach((Si,ji)=>{jn.set(ji,this._driver.computeStyle(Mn,ji,_.kp))})});const Vt=_n(dt.map(jn=>{const Mn=Ct.get(jn.element);return this._buildPlayer(jn,new Map,Mn)}));return this._playersById.set(T,Vt),Vt.onDestroy(()=>this.destroy(T)),this.players.push(Vt),Vt}destroy(T){const S=this._getPlayer(T);S.destroy(),this._playersById.delete(T);const V=this.players.indexOf(S);V>=0&&this.players.splice(V,1)}_getPlayer(T){const S=this._playersById.get(T);if(!S)throw function ft(){return new C.wOt(3301,!1)}();return S}listen(T,S,V,ce){const je=Gt(S,"","","");return en(this._getPlayer(T),V,je,ce),()=>{}}command(T,S,V,ce){if("register"==V)return void this.register(T,ce[0]);if("create"==V)return void this.create(T,S,ce[0]||{});const je=this._getPlayer(T);switch(V){case"play":je.play();break;case"pause":je.pause();break;case"reset":je.reset();break;case"restart":je.restart();break;case"finish":je.finish();break;case"init":je.init();break;case"setPosition":je.setPosition(parseFloat(ce[0]));break;case"destroy":this.destroy(T)}}}const Ka="ng-animate-queued",No="ng-animate-disabled",Qr=[],Fo={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},gn={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Ro="__ng_removed";class dr{get params(){return this.options.params}constructor(T,S=""){this.namespaceId=S;const V=T&&T.hasOwnProperty("value");if(this.value=function Ai(Y){return Y??null}(V?T.value:T),V){const{value:je,...dt}=T;this.options=dt}else this.options={};this.options.params||(this.options.params={})}absorbOptions(T){const S=T.params;if(S){const V=this.options.params;Object.keys(S).forEach(ce=>{null==V[ce]&&(V[ce]=S[ce])})}}}const io="void",fi=new dr(io);class Or{constructor(T,S,V){this.id=T,this.hostElement=S,this._engine=V,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+T,qs(S,this._hostClassName)}listen(T,S,V,ce){if(!this._triggers.has(S))throw function Tt(){return new C.wOt(3302,!1)}();if(null==V||0==V.length)throw function $e(){return new C.wOt(3303,!1)}();if(!function oc(Y){return"start"==Y||"done"==Y}(V))throw function rt(){return new C.wOt(3400,!1)}();const je=Wt(this._elementListeners,T,[]),dt={name:S,phase:V,callback:ce};je.push(dt);const Ct=Wt(this._engine.statesByElement,T,new Map);return Ct.has(S)||(qs(T,Sn),qs(T,Sn+"-"+S),Ct.set(S,fi)),()=>{this._engine.afterFlush(()=>{const zt=je.indexOf(dt);zt>=0&&je.splice(zt,1),this._triggers.has(S)||Ct.delete(S)})}}register(T,S){return!this._triggers.has(T)&&(this._triggers.set(T,S),!0)}_getTrigger(T){const S=this._triggers.get(T);if(!S)throw function tt(){return new C.wOt(3401,!1)}();return S}trigger(T,S,V,ce=!0){const je=this._getTrigger(S),dt=new Bo(this.id,S,T);let Ct=this._engine.statesByElement.get(T);Ct||(qs(T,Sn),qs(T,Sn+"-"+S),this._engine.statesByElement.set(T,Ct=new Map));let zt=Ct.get(S);const Vt=new dr(V,this.id);if(!(V&&V.hasOwnProperty("value"))&&zt&&Vt.absorbOptions(zt.options),Ct.set(S,Vt),zt||(zt=fi),Vt.value!==io&&zt.value===Vt.value){if(!function hs(Y,T){const S=Object.keys(Y),V=Object.keys(T);if(S.length!=V.length)return!1;for(let ce=0;ce<S.length;ce++){const je=S[ce];if(!T.hasOwnProperty(je)||Y[je]!==T[je])return!1}return!0}(zt.params,Vt.params)){const ri=[],ls=je.matchStyles(zt.value,zt.params,ri),ps=je.matchStyles(Vt.value,Vt.params,ri);ri.length?this._engine.reportError(ri):this._engine.afterFlush(()=>{oi(T,ls),Vn(T,ps)})}return}const Si=Wt(this._engine.playersByElement,T,[]);Si.forEach(ri=>{ri.namespaceId==this.id&&ri.triggerName==S&&ri.queued&&ri.destroy()});let ji=je.matchTransition(zt.value,Vt.value,T,Vt.params),ti=!1;if(!ji){if(!ce)return;ji=je.fallbackTransition,ti=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:T,triggerName:S,transition:ji,fromState:zt,toState:Vt,player:dt,isFallbackTransition:ti}),ti||(qs(T,Ka),dt.onStart(()=>{Qs(T,Ka)})),dt.onDone(()=>{let ri=this.players.indexOf(dt);ri>=0&&this.players.splice(ri,1);const ls=this._engine.playersByElement.get(T);if(ls){let ps=ls.indexOf(dt);ps>=0&&ls.splice(ps,1)}}),this.players.push(dt),Si.push(dt),dt}deregister(T){this._triggers.delete(T),this._engine.statesByElement.forEach(S=>S.delete(T)),this._elementListeners.forEach((S,V)=>{this._elementListeners.set(V,S.filter(ce=>ce.name!=T))})}clearElementCache(T){this._engine.statesByElement.delete(T),this._elementListeners.delete(T);const S=this._engine.playersByElement.get(T);S&&(S.forEach(V=>V.destroy()),this._engine.playersByElement.delete(T))}_signalRemovalForInnerTriggers(T,S){const V=this._engine.driver.query(T,qt,!0);V.forEach(ce=>{if(ce[Ro])return;const je=this._engine.fetchNamespacesByElement(ce);je.size?je.forEach(dt=>dt.triggerLeaveAnimation(ce,S,!1,!0)):this.clearElementCache(ce)}),this._engine.afterFlushAnimationsDone(()=>V.forEach(ce=>this.clearElementCache(ce)))}triggerLeaveAnimation(T,S,V,ce){const je=this._engine.statesByElement.get(T),dt=new Map;if(je){const Ct=[];if(je.forEach((zt,Vt)=>{if(dt.set(Vt,zt.value),this._triggers.has(Vt)){const jn=this.trigger(T,Vt,io,ce);jn&&Ct.push(jn)}}),Ct.length)return this._engine.markElementAsRemoved(this.id,T,!0,S,dt),V&&_n(Ct).onDone(()=>this._engine.processLeaveNode(T)),!0}return!1}prepareLeaveAnimationListeners(T){const S=this._elementListeners.get(T),V=this._engine.statesByElement.get(T);if(S&&V){const ce=new Set;S.forEach(je=>{const dt=je.name;if(ce.has(dt))return;ce.add(dt);const zt=this._triggers.get(dt).fallbackTransition,Vt=V.get(dt)||fi,jn=new dr(io),Mn=new Bo(this.id,dt,T);this._engine.totalQueuedPlayers++,this._queue.push({element:T,triggerName:dt,transition:zt,fromState:Vt,toState:jn,player:Mn,isFallbackTransition:!0})})}}removeNode(T,S){const V=this._engine;if(T.childElementCount&&this._signalRemovalForInnerTriggers(T,S),this.triggerLeaveAnimation(T,S,!0))return;let ce=!1;if(V.totalAnimations){const je=V.players.length?V.playersByQueriedElement.get(T):[];if(je&&je.length)ce=!0;else{let dt=T;for(;dt=dt.parentNode;)if(V.statesByElement.get(dt)){ce=!0;break}}}if(this.prepareLeaveAnimationListeners(T),ce)V.markElementAsRemoved(this.id,T,!1,S);else{const je=T[Ro];(!je||je===Fo)&&(V.afterFlush(()=>this.clearElementCache(T)),V.destroyInnerAnimations(T),V._onRemovalComplete(T,S))}}insertNode(T,S){qs(T,this._hostClassName)}drainQueuedTransitions(T){const S=[];return this._queue.forEach(V=>{const ce=V.player;if(ce.destroyed)return;const je=V.element,dt=this._elementListeners.get(je);dt&&dt.forEach(Ct=>{if(Ct.name==V.triggerName){const zt=Gt(je,V.triggerName,V.fromState.value,V.toState.value);zt._data=T,en(V.player,Ct.phase,zt,Ct.callback)}}),ce.markedForDestroy?this._engine.afterFlush(()=>{ce.destroy()}):S.push(V)}),this._queue=[],S.sort((V,ce)=>{const je=V.transition.ast.depCount,dt=ce.transition.ast.depCount;return 0==je||0==dt?je-dt:this._engine.driver.containsElement(V.element,ce.element)?1:-1})}destroy(T){this.players.forEach(S=>S.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,T)}}class _a{_onRemovalComplete(T,S){this.onRemovalComplete(T,S)}constructor(T,S,V){this.bodyNode=T,this.driver=S,this._normalizer=V,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=(ce,je)=>{}}get queuedPlayers(){const T=[];return this._namespaceList.forEach(S=>{S.players.forEach(V=>{V.queued&&T.push(V)})}),T}createNamespace(T,S){const V=new Or(T,S,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,S)?this._balanceNamespaceList(V,S):(this.newHostElements.set(S,V),this.collectEnterElement(S)),this._namespaceLookup[T]=V}_balanceNamespaceList(T,S){const V=this._namespaceList,ce=this.namespacesByHostElement;if(V.length-1>=0){let dt=!1,Ct=this.driver.getParentElement(S);for(;Ct;){const zt=ce.get(Ct);if(zt){const Vt=V.indexOf(zt);V.splice(Vt+1,0,T),dt=!0;break}Ct=this.driver.getParentElement(Ct)}dt||V.unshift(T)}else V.push(T);return ce.set(S,T),T}register(T,S){let V=this._namespaceLookup[T];return V||(V=this.createNamespace(T,S)),V}registerTrigger(T,S,V){let ce=this._namespaceLookup[T];ce&&ce.register(S,V)&&this.totalAnimations++}destroy(T,S){T&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const V=this._fetchNamespace(T);this.namespacesByHostElement.delete(V.hostElement);const ce=this._namespaceList.indexOf(V);ce>=0&&this._namespaceList.splice(ce,1),V.destroy(S),delete this._namespaceLookup[T]}))}_fetchNamespace(T){return this._namespaceLookup[T]}fetchNamespacesByElement(T){const S=new Set,V=this.statesByElement.get(T);if(V)for(let ce of V.values())if(ce.namespaceId){const je=this._fetchNamespace(ce.namespaceId);je&&S.add(je)}return S}trigger(T,S,V,ce){if(Ys(S)){const je=this._fetchNamespace(T);if(je)return je.trigger(S,V,ce),!0}return!1}insertNode(T,S,V,ce){if(!Ys(S))return;const je=S[Ro];if(je&&je.setForRemoval){je.setForRemoval=!1,je.setForMove=!0;const dt=this.collectedLeaveElements.indexOf(S);dt>=0&&this.collectedLeaveElements.splice(dt,1)}if(T){const dt=this._fetchNamespace(T);dt&&dt.insertNode(S,V)}ce&&this.collectEnterElement(S)}collectEnterElement(T){this.collectedEnterElements.push(T)}markElementAsDisabled(T,S){S?this.disabledNodes.has(T)||(this.disabledNodes.add(T),qs(T,No)):this.disabledNodes.has(T)&&(this.disabledNodes.delete(T),Qs(T,No))}removeNode(T,S,V){if(Ys(S)){const ce=T?this._fetchNamespace(T):null;ce?ce.removeNode(S,V):this.markElementAsRemoved(T,S,!1,V);const je=this.namespacesByHostElement.get(S);je&&je.id!==T&&je.removeNode(S,V)}else this._onRemovalComplete(S,V)}markElementAsRemoved(T,S,V,ce,je){this.collectedLeaveElements.push(S),S[Ro]={namespaceId:T,setForRemoval:ce,hasAnimation:V,removedBeforeQueried:!1,previousTriggersValues:je}}listen(T,S,V,ce,je){return Ys(S)?this._fetchNamespace(T).listen(S,V,ce,je):()=>{}}_buildInstruction(T,S,V,ce,je){return T.transition.build(this.driver,T.element,T.fromState.value,T.toState.value,V,ce,T.fromState.options,T.toState.options,S,je)}destroyInnerAnimations(T){let S=this.driver.query(T,qt,!0);S.forEach(V=>this.destroyActiveAnimationsForElement(V)),0!=this.playersByQueriedElement.size&&(S=this.driver.query(T,ai,!0),S.forEach(V=>this.finishActiveQueriedAnimationOnElement(V)))}destroyActiveAnimationsForElement(T){const S=this.playersByElement.get(T);S&&S.forEach(V=>{V.queued?V.markedForDestroy=!0:V.destroy()})}finishActiveQueriedAnimationOnElement(T){const S=this.playersByQueriedElement.get(T);S&&S.forEach(V=>V.finish())}whenRenderingDone(){return new Promise(T=>{if(this.players.length)return _n(this.players).onDone(()=>T());T()})}processLeaveNode(T){const S=T[Ro];if(S&&S.setForRemoval){if(T[Ro]=Fo,S.namespaceId){this.destroyInnerAnimations(T);const V=this._fetchNamespace(S.namespaceId);V&&V.clearElementCache(T)}this._onRemovalComplete(T,S.setForRemoval)}T.classList?.contains(No)&&this.markElementAsDisabled(T,!1),this.driver.query(T,".ng-animate-disabled",!0).forEach(V=>{this.markElementAsDisabled(V,!1)})}flush(T=-1){let S=[];if(this.newHostElements.size&&(this.newHostElements.forEach((V,ce)=>this._balanceNamespaceList(V,ce)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let V=0;V<this.collectedEnterElements.length;V++)qs(this.collectedEnterElements[V],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const V=[];try{S=this._flushAnimations(V,T)}finally{for(let ce=0;ce<V.length;ce++)V[ce]()}}else for(let V=0;V<this.collectedLeaveElements.length;V++)this.processLeaveNode(this.collectedLeaveElements[V]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(V=>V()),this._flushFns=[],this._whenQuietFns.length){const V=this._whenQuietFns;this._whenQuietFns=[],S.length?_n(S).onDone(()=>
3{V.forEach(ce=>ce())}):V.forEach(ce=>ce())}}reportError(T){throw function nt(){return new C.wOt(3402,!1)}()}_flushAnimations(T,S){const V=new pr,ce=[],je=new Map,dt=[],Ct=new Map,zt=new Map,Vt=new Map,jn=new Set;this.disabledNodes.forEach(ln=>{jn.add(ln);const Un=this.driver.query(ln,".ng-animate-queued",!0);for(let Rn=0;Rn<Un.length;Rn++)jn.add(Un[Rn])});const Mn=this.bodyNode,Si=Array.from(this.statesByElement.keys()),ji=xs(Si,this.collectedEnterElements),ti=new Map;let ri=0;ji.forEach((ln,Un)=>{const Rn=gr+ri++;ti.set(Un,Rn),ln.forEach(Fi=>qs(Fi,Rn))});const ls=[],ps=new Set,Xs=new Set;for(let ln=0;ln<this.collectedLeaveElements.length;ln++){const Un=this.collectedLeaveElements[ln],Rn=Un[Ro];Rn&&Rn.setForRemoval&&(ls.push(Un),ps.add(Un),Rn.hasAnimation?this.driver.query(Un,".ng-star-inserted",!0).forEach(Fi=>ps.add(Fi)):Xs.add(Un))}const js=new Map,yi=xs(Si,Array.from(ps));yi.forEach((ln,Un)=>{const Rn=xt+ri++;js.set(Un,Rn),ln.forEach(Fi=>qs(Fi,Rn))}),T.push(()=>{ji.forEach((ln,Un)=>{const Rn=ti.get(Un);ln.forEach(Fi=>Qs(Fi,Rn))}),yi.forEach((ln,Un)=>{const Rn=js.get(Un);ln.forEach(Fi=>Qs(Fi,Rn))}
vendor: 13,450 bytes, line 3
3),ls.forEach(ln=>{this.processLeaveNode(ln)})});const fr=[],Gr=[];for(let ln=this._namespaceList.length-1;ln>=0;ln--)this._namespaceList[ln].drainQueuedTransitions(S).forEach(Rn=>{const Fi=Rn.player,Kr=Rn.element;if(fr.push(Fi),this.collectedEnterElements.length){const to=Kr[Ro];if(to&&to.setForMove){if(to.previousTriggersValues&&to.previousTriggersValues.has(Rn.triggerName)){const Ha=to.previousTriggersValues.get(Rn.triggerName),vs=this.statesByElement.get(Rn.element);if(vs&&vs.has(Rn.triggerName)){const ul=vs.get(Rn.triggerName);ul.value=Ha,vs.set(Rn.triggerName,ul)}}return void Fi.destroy()}}const Ho=!Mn||!this.driver.containsElement(Mn,Kr),To=js.get(Kr),Xr=ti.get(Kr),bs=this._buildInstruction(Rn,V,Xr,To,Ho);if(bs.errors&&bs.errors.length)return void Gr.push(bs);if(Ho)return Fi.onStart(()=>oi(Kr,bs.fromStyles)),Fi.onDestroy(()=>Vn(Kr,bs.toStyles)),void ce.push(Fi);if(Rn.isFallbackTransition)return Fi.onStart(()=>oi(Kr,bs.fromStyles)),Fi.onDestroy(()=>Vn(Kr,bs.toStyles)),void ce.push(Fi);const Cl=[];bs.timelines.forEach(to=>{to.stretchStartingKeyframe=!0,this.disabledNodes.has(to.element)||Cl.push(to)}),bs.timelines=Cl,V.append(Kr,bs.timelines),dt.push({instruction:bs,player:Fi,element:Kr}),bs.queriedElements.forEach(to=>Wt(Ct,to,[]).push(Fi)),bs.preStyleProps.forEach((to,Ha)=>{if(to.size){let vs=zt.get(Ha);vs||zt.set(Ha,vs=new Set),to.forEach((ul,Nl)=>vs.add(Nl))}}),bs.postStyleProps.forEach((to,Ha)=>{let vs=Vt.get(Ha);vs||Vt.set(Ha,vs=new Set),to.forEach((ul,Nl)=>vs.add(Nl))})});if(Gr.length){const ln=[];Gr.forEach(Un=>{ln.push(function on(){return new C.wOt(3505,!1)}())}),fr.forEach(Un=>Un.destroy()),this.reportError(ln)}const U=new Map,D=new Map;dt.forEach(ln=>{const Un=ln.element;V.has(Un)&&(D.set(Un,Un),this._beforeAnimationBuild(ln.player.namespaceId,ln.instruction,U))}),ce.forEach(ln=>{const Un=ln.element;this._getPreviousPlayers(Un,!1,ln.namespaceId,ln.triggerName,null).forEach(Fi=>{Wt(U,Un,[]).push(Fi),Fi.destroy()})});const L=ls.filter(ln=>Ms(ln,zt,Vt)),de=new Map;Xa(de,this.driver,Xs,Vt,_.kp).forEach(ln=>{Ms(ln,zt,Vt)&&L.push(ln)});const at=new Map;ji.forEach((ln,Un)=>{Xa(at,this.driver,new Set(ln),zt,_.FX)}),L.forEach(ln=>{const Un=de.get(ln),Rn=at.get(ln);de.set(ln,new Map([...Un?.entries()??[],...Rn?.entries()??[]]))});const Ut=[],bn=[],Dn={};dt.forEach(ln=>{const{element:Un,player:Rn,instruction:Fi}=ln;if(V.has(Un)){if(jn.has(Un))return Rn.onDestroy(()=>Vn(Un,Fi.toStyles)),Rn.disabled=!0,Rn.overrideTotalTime(Fi.totalTime),void ce.push(Rn);let Kr=Dn;if(D.size>1){let To=Un;const Xr=[];for(;To=To.parentNode;){const bs=D.get(To);if(bs){Kr=bs;break}Xr.push(To)}Xr.forEach(bs=>D.set(bs,Kr))}const Ho=this._buildAnimation(Rn.namespaceId,Fi,U,je,at,de);if(Rn.setRealPlayer(Ho),Kr===Dn)Ut.push(Rn);else{const To=this.playersByElement.get(Kr);To&&To.length&&(Rn.parentPlayer=_n(To)),ce.push(Rn)}}else oi(Un,Fi.fromStyles),Rn.onDestroy(()=>Vn(Un,Fi.toStyles)),bn.push(Rn),jn.has(Un)&&ce.push(Rn)}),bn.forEach(ln=>{const Un=je.get(ln.element);if(Un&&Un.length){const Rn=_n(Un);ln.setRealPlayer(Rn)}}),ce.forEach(ln=>{ln.parentPlayer?ln.syncPlayerEvents(ln.parentPlayer):ln.destroy()});for(let ln=0;ln<ls.length;ln++){const Un=ls[ln],Rn=Un[Ro];if(Qs(Un,xt),Rn&&Rn.hasAnimation)continue;let Fi=[];if(Ct.size){let Ho=Ct.get(Un);Ho&&Ho.length&&Fi.push(...Ho);let To=this.driver.query(Un,ai,!0);for(let Xr=0;Xr<To.length;Xr++){let bs=Ct.get(To[Xr]);bs&&bs.length&&Fi.push(...bs)}}const Kr=Fi.filter(Ho=>!Ho.destroyed);Kr.length?es(this,Un,Kr):this.processLeaveNode(Un)}return ls.length=0,Ut.forEach(ln=>{this.players.push(ln),ln.onDone(()=>{ln.destroy();const Un=this.players.indexOf(ln);this.players.splice(Un,1)}),ln.play()}),Ut}afterFlush(T){this._flushFns.push(T)}afterFlushAnimationsDone(T){this._whenQuietFns.push(T)}_getPreviousPlayers(T,S,V,ce,je){let dt=[];if(S){const Ct=this.playersByQueriedElement.get(T);Ct&&(dt=Ct)}else{const Ct=this.playersByElement.get(T);if(Ct){const zt=!je||je==io;Ct.forEach(Vt=>{Vt.queued||!zt&&Vt.triggerName!=ce||dt.push(Vt)})}}return(V||ce)&&(dt=dt.filter(Ct=>!(V&&V!=Ct.namespaceId||ce&&ce!=Ct.triggerName))),dt}_beforeAnimationBuild(T,S,V){const je=S.element,dt=S.isRemovalTransition?void 0:T,Ct=S.isRemovalTransition?void 0:S.triggerName;for(const zt of S.timelines){const Vt=zt.element,jn=Vt!==je,Mn=Wt(V,Vt,[]);this._getPreviousPlayers(Vt,jn,dt,Ct,S.toState).forEach(ji=>{const ti=ji.getRealPlayer();ti.beforeDestroy&&ti.beforeDestroy(),ji.destroy(),Mn.push(ji)})}oi(je,S.fromStyles)}_buildAnimation(T,S,V,ce,je,dt){const Ct=S.triggerName,zt=S.element,Vt=[],jn=new Set,Mn=new Set,Si=S.timelines.map(ti=>{const ri=ti.element;jn.add(ri);const ls=ri[Ro];if(ls&&ls.removedBeforeQueried)return new _.sf(ti.duration,ti.delay);const ps=ri!==zt,Xs=function wo(Y){const T=[];return Ko(Y,T),T}((V.get(ri)||Qr).map(U=>U.getRealPlayer())).filter(U=>!!U.element&&U.element===ri),js=je.get(ri),yi=dt.get(ri),fr=hn(this._normalizer,ti.keyframes,js,yi),Gr=this._buildPlayer(ti,fr,Xs);if(ti.subTimeline&&ce&&Mn.add(ri),ps){const U=new Bo(T,Ct,ri);U.setRealPlayer(Gr),Vt.push(U)}return Gr});Vt.forEach(ti=>{Wt(this.playersByQueriedElement,ti.element,[]).push(ti),ti.onDone(()=>function mc(Y,T,S){let V=Y.get(T);if(V){if(V.length){const ce=V.indexOf(S);V.splice(ce,1)}0==V.length&&Y.delete(T)}return V}(this.playersByQueriedElement,ti.element,ti))}),jn.forEach(ti=>qs(ti,Cn));const ji=_n(Si);return ji.onDestroy(()=>{jn.forEach(ti=>Qs(ti,Cn)),Vn(zt,S.toStyles)}),Mn.forEach(ti=>{Wt(ce,ti,[]).push(ji)}),ji}_buildPlayer(T,S,V){return S.length>0?this.driver.animate(T.element,S,T.duration,T.delay,T.easing,V):new _.sf(T.duration,T.delay)}}class Bo{constructor(T,S,V){this.namespaceId=T,this.triggerName=S,this.element=V,this._player=new _.sf,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(T){this._containsRealPlayer||(this._player=T,this._queuedCallbacks.forEach((S,V)=>{S.forEach(ce=>en(T,V,void 0,ce))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(T.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(T){this.totalTime=T}syncPlayerEvents(T){const S=this._player;S.triggerCallback&&T.onStart(()=>S.triggerCallback("start")),T.onDone(()=>this.finish()),T.onDestroy(()=>this.destroy())}_queueEvent(T,S){Wt(this._queuedCallbacks,T,[]).push(S)}onDone(T){this.queued&&this._queueEvent("done",T),this._player.onDone(T)}onStart(T){this.queued&&this._queueEvent("start",T),this._player.onStart(T)}onDestroy(T){this.queued&&this._queueEvent("destroy",T),this._player.onDestroy(T)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(T){this.queued||this._player.setPosition(T)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(T){const S=this._player;S.triggerCallback&&S.triggerCallback(T)}}function Ys(Y){return Y&&1===Y.nodeType}function fo(Y,T){const S=Y.style.display;return Y.style.display=T??"none",S}function Xa(Y,T,S,V,ce){const je=[];S.forEach(zt=>je.push(fo(zt)));const dt=[];V.forEach((zt,Vt)=>{const jn=new Map;zt.forEach(Mn=>{const Si=T.computeStyle(Vt,Mn,ce);jn.set(Mn,Si),(!Si||0==Si.length)&&(Vt[Ro]=gn,dt.push(Vt))}),Y.set(Vt,jn)});let Ct=0;return S.forEach(zt=>fo(zt,je[Ct++])),dt}function xs(Y,T){const S=new Map;if(Y.forEach(Ct=>S.set(Ct,[])),0==T.length)return S;const ce=new Set(T),je=new Map;function dt(Ct){if(!Ct)return 1;let zt=je.get(Ct);if(zt)return zt;const Vt=Ct.parentNode;return zt=S.has(Vt)?Vt:ce.has(Vt)?1:dt(Vt),je.set(Ct,zt),zt}return T.forEach(Ct=>{const zt=dt(Ct);1!==zt&&S.get(zt).push(Ct)}),S}function qs(Y,T){Y.classList?.add(T)}function Qs(Y,T){Y.classList?.remove(T)}function es(Y,T,S){_n(S).onDone(()=>Y.processLeaveNode(T))}function Ko(Y,T){for(let S=0;S<Y.length;S++){const V=Y[S];V instanceof _.ui?Ko(V.players,T):T.push(V)}}function Ms(Y,T,S){const V=S.get(Y);if(!V)return!1;let ce=T.get(Y);return ce?V.forEach(je=>ce.add(je)):T.set(Y,V),S.delete(Y),!0}class Lo{constructor(T,S,V){this._driver=S,this._normalizer=V,this._triggerCache={},this.onRemovalComplete=(ce,je)=>{},this._transitionEngine=new _a(T.body,S,V),this._timelineEngine=new Dc(T.body,S,V),this._transitionEngine.onRemovalComplete=(ce,je)=>this.onRemovalComplete(ce,je)}registerTrigger(T,S,V,ce,je){const dt=T+"-"+ce;let Ct=this._triggerCache[dt];if(!Ct){const zt=[],jn=ue(this._driver,je,zt,[]);if(zt.length)throw function Pe(){return new C.wOt(3404,!1)}();Ct=function Lc(Y,T,S){return new ka(Y,T,S)}(ce,jn,this._normalizer),this._triggerCache[dt]=Ct}this._transitionEngine.registerTrigger(S,ce,Ct)}register(T,S){this._transitionEngine.register(T,S)}destroy(T,S){this._transitionEngine.destroy(T,S)}onInsert(T,S,V,ce){this._transitionEngine.insertNode(T,S,V,ce)}onRemove(T,S,V){this._transitionEngine.removeNode(T,S,V)}disableAnimations(T,S){this._transitionEngine.markElementAsDisabled(T,S)}process(T,S,V,ce){if("@"==V.charAt(0)){const[je,dt]=Wn(V);this._timelineEngine.command(je,S,dt,ce)}else this._transitionEngine.trigger(T,S,V,ce)}listen(T,S,V,ce,je){if("@"==V.charAt(0)){const[dt,Ct]=Wn(V);return this._timelineEngine.listen(dt,S,Ct,je)}return this._transitionEngine.listen(T,S,V,ce,je)}flush(T=-1){this._transitionEngine.flush(T)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(T){this._transitionEngine.afterFlushAnimationsDone(T)}}class Hs{static{this.initialStylesByElement=new WeakMap}constructor(T,S,V){this._element=T,this._startStyles=S,this._endStyles=V,this._state=0;let ce=Hs.initialStylesByElement.get(T);ce||Hs.initialStylesByElement.set(T,ce=new Map),this._initialStyles=ce}start(){this._state<1&&(this._startStyles&&Vn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Vn(this._element,this._initialStyles),this._endStyles&&(Vn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Hs.initialStylesByElement.delete(this._element),this._startStyles&&(oi(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(oi(this._element,this._endStyles),this._endStyles=null),Vn(this._element,this._initialStyles),this._state=3)}}function Da(Y){let T=null;return Y.forEach((S,V)=>{(function Ml(Y){return"display"===Y||"position"===Y})(V)&&(T=T||new Map,T.set(V,S))}),T}class Zs{constructor(T,S,V,ce){this.element=T,this.keyframes=S,this.options=V,this._specialStyles=ce,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=V.duration,this._delay=V.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(T=>T()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const T=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,T,this.options),this._finalKeyframe=T.length?T[T.length-1]:new Map;const S=()=>this._onFinish();this.domPlayer.addEventListener("finish",S),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",S)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(T){const S=[];return T.forEach(V=>{S.push(Object.fromEntries(V))}),S}_triggerWebAnimation(T,S,V){return T.animate(this._convertKeyframesToObject(S),V)}onStart(T){this._originalOnStartFns.push(T),this._onStartFns.push(T)}onDone(T){this._originalOnDoneFns.push(T),this._onDoneFns.push(T)}onDestroy(T){this._onDestroyFns.push(T)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(T=>T()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(T=>T()),this._onDestroyFns=[])}setPosition(T){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=T*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const T=new Map;this.hasStarted()&&this._finalKeyframe.forEach((V,ce)=>{"offset"!==ce&&T.set(ce,this._finished?V:et(this.element,ce))}),this.currentSnapshot=T}triggerCallback(T){const S="start"===T?this._onStartFns:this._onDoneFns;
3S.forEach(V=>V()),S.length=0}}class fs{validateStyleProperty(T){return!0}validateAnimatableStyleProperty(T){return!0}containsElement(T,S){return Xt(T,S)}getParentElement(T){return Fn(T)}query(T,S,V){return Dt(T,S,V)}computeStyle(T,S,V){return et(T,S)}animate(T,S,V,ce,je,dt=[]){const zt={duration:V,delay:ce,fill:0==ce?"both":"forwards"};je&&(zt.easing=je);const Vt=new Map,jn=dt.filter(ji=>ji instanceof Zs);(function cr(Y,T){return 0===Y||0===T})(V,ce)&&jn.forEach(ji=>{ji.currentSnapshot.forEach((ti,ri)=>Vt.set(ri,ti))});let Mn=function pt(Y){return Y.length?Y[0]instanceof Map?Y:Y.map(T=>new Map(Object.entries(T))):[]}(S).map(ji=>new Map(ji));Mn=function jt(Y,T,S){if(S.size&&T.length){let V=T[0],ce=[];if(S.forEach((je,dt)=>{V.has(dt)||ce.push(dt),V.set(dt,je)}),ce.length)for(let je=1;je<T.length;je++){let dt=T[je];ce.forEach(Ct=>dt.set(Ct,et(Y,Ct)))}}return T}(T,Mn,Vt);const Si=function po(Y,T){let S=null,V=null;return Array.isArray(T)&&T.length?(S=Da(T[0]),T.length>1&&(V=Da(T[T.length-1]))):T instanceof Map&&(S=Da(T)),S||V?new Hs(Y,S,V):null}(T,Mn);return new Zs(T,Mn,zt,Si)}}const Ba="@.disabled";class ro{constructor(T,S,V,ce){this.namespaceId=T,this.delegate=S,this.engine=V,this._onDestroy=ce,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(T){this.delegate.destroyNode?.(T)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(T,S){return this.delegate.createElement(T,S)}createComment(T){return this.delegate.createComment(T)}createText(T){return this.delegate.createText(T)}appendChild(T,S){this.delegate.appendChild(T,S),this.engine.onInsert(this.namespaceId,S,T,!1)}insertBefore(T,S,V,ce=!0){this.delegate.insertBefore(T,S,V),this.engine.onInsert(this.namespaceId,S,T,ce)}removeChild(T,S,V){this.parentNode(S)&&this.engine.onRemove(this.namespaceId,S,this.delegate)}selectRootElement(T,S){return this.delegate.selectRootElement(T,S)}parentNode(T){return this.delegate.parentNode(T)}nextSibling(T){return this.delegate.nextSibling(T)}setAttribute(T,S,V,ce){this.delegate.setAttribute(T,S,V,ce)}removeAttribute(T,S,V){this.delegate.removeAttribute(T,S,V)}addClass(T,S){this.delegate.addClass(T,S)}removeClass(T,S){this.delegate.removeClass(T,S)}setStyle(T,S,V,ce){this.delegate.setStyle(T,S,V,ce)}removeStyle(T,S,V){this.delegate.removeStyle(T,S,V)}setProperty(T,S,V){"@"==S.charAt(0)&&S==Ba?this.disableAnimations(T,!!V):this.delegate.setProperty(T,S,V)}setValue(T,S){this.delegate.setValue(T,S)}listen(T,S,V){return this.delegate.listen(T,S,V)}disableAnimations(T,S){this.engine.disableAnimations(T,S)}}class Uo extends ro{constructor(T,S,V,ce,je){super(S,V,ce,je),this.factory=T,this.namespaceId=S}setProperty(T,S,V){"@"==S.charAt(0)?"."==S.charAt(1)&&S==Ba?this.disableAnimations(T,V=void 0===V||!!V):this.engine.process(this.namespaceId,T,S.slice(1),V):this.delegate.setProperty(T,S,V)}listen(T,S,V){if("@"==S.charAt(0)){const ce=function da(Y){switch(Y){case"body":return document.body;case"document":return document;case"window":return window;default:return Y}}(T);let je=S.slice(1),dt="";return"@"!=je.charAt(0)&&([je,dt]=function go(Y){const T=Y.indexOf(".");return[Y.substring(0,T),Y.slice(T+1)]}(je)),this.engine.listen(this.namespaceId,ce,je,dt,Ct=>{this.factory.scheduleListenerCallback(Ct._data||-1,V,Ct)})}return this.delegate.listen(T,S,V)}}class Ri{constructor(T,S,V){this.delegate=T,this.engine=S,this._zone=V,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,S.onRemovalComplete=(ce,je)=>{je?.removeChild(null,ce)}}createRenderer(T,S){const ce=this.delegate.createRenderer(T,S);if(!T||!S?.data?.animation){const Vt=this._rendererCache;let jn=Vt.get(ce);return jn||(jn=new ro("",ce,this.engine,()=>Vt.delete(ce)),Vt.set(ce,jn)),jn}const je=S.id,dt=S.id+"-"+this._currentId;this._currentId++,this.engine.register(dt,T);const Ct=Vt=>{Array.isArray(Vt)?Vt.forEach(Ct):this.engine.registerTrigger(je,dt,T,Vt.name,Vt)};return S.data.animation.forEach(Ct),new Uo(this,dt,ce,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(T,S,V){if(T>=0&&T<this._microtaskId)return void this._zone.run(()=>S(V));const ce=this._animationCallbacksBuffer;0==ce.length&&queueMicrotask(()=>{this._zone.run(()=>{ce.forEach(je=>{const[dt,Ct]=je;dt(Ct)}),this._animationCallbacksBuffer=[]})}),ce.push([S,V])}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()}}const xa=[{provide:vt,useFactory:function Bs(){return new At}},{provide:Lo,useClass:(()=>{class Y extends Lo{constructor(S,V,ce){super(S,V,ce)}ngOnDestroy(){this.flush()}static{this.\u0275fac=function(V){return new(V||Y)(C.KVO(a.qQ),C.KVO(Ye),C.KVO(vt))}}static{this.\u0275prov=C.jDH({token:Y,factory:Y.\u0275fac})}}return Y})()},{provide:C._9s,useFactory:function Qc(Y,T,S){return new Ri(Y,T,S)},deps:[B.B7,Lo,C.SKi]}],Uc=[{provide:Ye,useFactory:()=>new fs},{provide:C.bc$,useValue:"BrowserAnimations"},...xa];var ye=g(24444),ee=g(89344),ze=g(45768),Ft=g(24153),Kn=g(66990),ur=g(77392),Ma=g(64785),Rr=g(6663),La=g(21252),yc=g(60825),id=g(70650),ks=g(65377),As=g(23818),Br=g(61177),mo=g(60494),Xo=g(17796),yo=g(85687),bc=g(26377),wr=g(20316);const Ws="version:release-notes-last-version";var Do=function(Y){return Y.Underwriting="underwriting",Y.Signups="signups",Y.Crm="crm",Y.Beratung="beratung",Y.Chat="chat",Y.Claims="claims",Y.Makler="makler",Y.Angebot="angebot",Y.Marketing="marketing",Y.Dsgvo="dsgvo",Y.BriefEditor="brief editor",Y}(Do||{}),xo=function(Y){return Y.Build="build",Y.Chore="chore",Y.Ci="ci",Y.Docs="docs",Y.Feat="feat",Y.Fix="fix",Y.Perf="perf",Y.Refactor="refactor",Y.Revert="revert",Y.Test="test",Y}(xo||{});const jc=/(?<sha>.*?)\+(?<build>.*)\.(?<time>.*)/;var Jc=g(73466);function Ya(Y,T){1&Y&&C.nrm(0,"frontend-image",11),2&Y&&C.Y8G("stretchToContainer",!0)}function Ua(Y,T){1&Y&&C.nrm(0,"frontend-image",12),2&Y&&C.Y8G("stretchToContainer",!0)}function ml(Y,T){1&Y&&C.nrm(0,"frontend-image",13),2&Y&&C.Y8G("stretchToContainer",!0)}function Ss(Y,T){1&Y&&(C.j41(0,"div",15),C.EFF(1),C.k0s()),2&Y&&(C.R7$(),C.JRh(T))}function el(Y,T){if(1&Y&&(C.j41(0,"div",7)(1,"div",9)(2,"div",10),C.DNE(3,Ya,1,1,"frontend-image",11)(4,Ua,1,1,"frontend-image",12)(5,ml,1,1,"frontend-image",13),C.k0s()(),C.j41(6,"div",14),C.DNE(7,Ss,2,1,"div",15),C.nrm(8,"div",16),C.k0s()()),2&Y){let S,V;const ce=T.$implicit,je=C.XpG();C.R7$(3),C.vxM((S=ce.scope)===je.releaseNoteScope.Chat?3:S===je.releaseNoteScope.BriefEditor?4:5),C.R7$(4),C.vxM((V=ce.headline||je.issueTypeLabelMapping[ce.type])?7:-1,V),C.R7$(),
3C.Y8G("innerHtml",ce.content,C.npT)}}let vc=(()=>{class Y{data=(0,C.WQX)(As.e5);releaseNoteScope=Do;issueTypeLabelMapping={feat:"Feature",fix:"Bug Fix"};modalInstanceService=(0,C.WQX)(As.g7);onDismissModal(){this.modalInstanceService.dismiss()}static \u0275fac=function(V){return new(V||Y)};static \u0275cmp=C.VBU({type:Y,selectors:[["frontend-release-notes-modal"]],standalone:!0,features:[C.aNF],decls:11,vars:0,consts:[["data-cy","modal-release-notes",1,"release-notes-modal-header"],["data-cy","modal-close-icon-button",1,"close-modal-button",3,"click"],["file","close-cross.svg",1,"close-icon"],[1,"release-notes-modal-body"],[1,"release-notes-modal-body_main-title"],[1,"release-notes-modal-body_content"],["data-cy","modal-release-notes-list",1,"release-notes-list"],["data-cy","modal-release-notes-list-item",1,"release-notes-row"],[1,"release-notes-modal-footer"],[1,"release-notes-row_icon"],["data-cy","modal-release-notes-list-image",1,"image-icon-wrapper"],["type","svg","file","icon-chat-notes.svg",1,"icon-image",3,"stretchToContainer"],["type","svg","file","icon-free-letter-notes.svg",1,"icon-image",3,"stretchToContainer"],["type","svg","file","info-icon.svg",1,"icon-image",3,"stretchToContainer"],["data-cy","modal-release-notes-list-item-title",1,"release-notes-row_content"],[1,"content-title"],["data-cy","modal-release-notes-list-item-content",1,"content-body",3,"innerHtml"]],template:function(V,ce){1&V&&(C.j41(0,"div",0)(1,"button",1),C.bIt("click",function(){return ce.onDismissModal()}),C.nrm(2,"frontend-image",2),C.k0s()(),C.j41(3,"div",3)(4,"div",4),C.EFF(5,"What's New"),C.k0s(),C.j41(6,"div",5)(7,"div",6),C.Z7z(8,el,9,3,"div",7,C.fX1),C.k0s()()(),C.nrm(10,"div",8)),2&V&&(C.R7$(8),C.Dyx(ce.data))},dependencies:[Ft.U,Jc.h],styles:[".release-notes-modal-header[_ngcontent-%COMP%]{padding:24px 32px 12px;border-top-left-radius:var(--border-radius-md);border-top-right-radius:var(--border-radius-md)}.release-notes-modal-header[_ngcontent-%COMP%]   .close-modal-button[_ngcontent-%COMP%]{position:absolute;top:24px;right:32px;padding:0;border:none;background-color:transparent}.release-notes-modal-header[_ngcontent-%COMP%]   .close-modal-button[_ngcontent-%COMP%]   .close-icon[_ngcontent-%COMP%]{opacity:.7}.release-notes-modal-header[_ngcontent-%COMP%]   .close-modal-button[_ngcontent-%COMP%]   .close-icon[_ngcontent-%COMP%]:hover{opacity:1}.release-notes-modal-body[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding-right:5px}.release-notes-modal-body_main-title[_ngcontent-%COMP%]{width:85%;margin:0 auto 40px;color:var(--sec-light-100);font-size:32px;font-weight:800;text-indent:20px}.release-notes-modal-body_content[_ngcontent-%COMP%]{display:flex;width:100%;max-height:550px;justify-content:center;overflow-y:auto}.release-notes-modal-body_content[_ngcontent-%COMP%]   .release-notes-list[_ngcontent-%COMP%]{display:flex;width:85%;height:100%;flex-direction:column}.release-notes-modal-body_content[_ngcontent-%COMP%]   .release-notes-list[_ngcontent-%COMP%]   .release-notes-row[_ngcontent-%COMP%]{display:flex;margin-bottom:40px}.release-notes-modal-body_content[_ngcontent-%COMP%]   .release-notes-list[_ngcontent-%COMP%]   .release-notes-row_icon[_ngcontent-%COMP%]{width:25px}.release-notes-modal-body_content[_ngcontent-%COMP%]   .release-notes-list[_ngcontent-%COMP%]   .release-notes-row_icon[_ngcontent-%COMP%]   .image-icon-wrapper[_ngcontent-%COMP%]{position:relative;top:3px;width:18px;height:18px}.release-notes-modal-body_content[_ngcontent-%COMP%]   .release-notes-list[_ngcontent-%COMP%]   .release-notes-row_icon[_ngcontent-%COMP%]   .image-icon-wrapper[_ngcontent-%COMP%]   .icon-image[_ngcontent-%COMP%]{color:var(--primary)}.release-notes-modal-body_content[_ngcontent-%COMP%]   .release-notes-list[_ngcontent-%COMP%]   .release-notes-row_content[_ngcontent-%COMP%]{flex:1;color:var(--sec-light-100);font-size:16px}.release-notes-modal-body_content[_ngcontent-%COMP%]   .release-notes-list[_ngcontent-%COMP%]   .release-notes-row_content[_ngcontent-%COMP%]   .content-title[_ngcontent-%COMP%]{font-weight:700}.release-notes-modal-footer[_ngcontent-%COMP%]{padding:24px 32px 12px;border-bottom-left-radius:var(--border-radius-md);border-bottom-right-radius:var(--border-radius-md)}"]})}return Y})();const Ts=Y=>Y.replace(/\s/g,""),_c=Y=>Y instanceof ks.Z;let qa=(()=>{class Y{version$;enabled;
3versionUrl=(0,C.WQX)(Kn.Xp);releaseNotestUrl=(0,C.WQX)(Kn.CP);localVersion=(0,C.WQX)(Kn.hl);env=(0,C.WQX)(Kn.uH);router=(0,C.WQX)(ks.Ix);http=(0,C.WQX)(h.Qq);localStorageService=(0,C.WQX)(Br.sj);modalService=(0,C.WQX)(As.Bg);sanitizer=(0,C.WQX)(B.up);constructor(){this.enabled=/(preview|test|staging|live)/.test(this.env);const S=Ts(this.localVersion),V=this.versionUrl?this.http.get(this.versionUrl,{responseType:"text"}).pipe((0,mo.W)(()=>(0,Xo.of)(S))):(0,Xo.of)(S);this.version$=this.enabled?this.router.events.pipe((0,yo.p)(_c),(0,bc.p)(()=>V),(0,Rr.T)(Ts),(0,Ma.F)(),(0,Rr.T)(ce=>({remoteVersion:ce,localVersion:S,versionMissMatchDetected:ce!==S}))):(0,Xo.of)({remoteVersion:"dev",localVersion:S,versionMissMatchDetected:!1})}showReleaseNotes(){var S=this;return(0,id.A)(function*(){if(!S.enabled)return;const V=S.localStorageService.getItem(Ws),ce=S.localStorageService.getItem("version:skip");if(V&&V===S.localVersion||"true"===ce)return;S.localStorageService.setItem(Ws,S.localVersion);const je=S.releaseNotestUrl?yield(0,wr._)(S.http.get(S.releaseNotestUrl,{responseType:"json"}).pipe((0,mo.W)(()=>(0,Xo.of)(null)))):null,dt=S.parseReleaseNotes(je);dt.length&&S.modalService.show(vc,{data:dt,size:As.rI.Lg})})()}parseReleaseNotes(S){return(S||[]).reduce((V,ce)=>{const{type:je,issue:dt,data:Ct}=ce,{customfield_15000:zt}=Ct||{};if(!zt||![xo.Feat,xo.Fix].includes(je))return[...V];const Vt=zt.match(/(##((?:.*\[(?<scope>[\w\s]+)\])(?<headline>.*))##)/)?.groups||{scope:null,headline:null},jn=zt.replace(/##(.*)##/,"").replace(/^[\r\n]+/,"").replace(/[\r\n]+$/,"").replace(/(\r\n)/g,"<br>");return[...V,{scope:Vt.scope?.toLowerCase(),headline:Vt.headline,content:this.sanitizer.sanitize(C.WPN.HTML,jn),issue:dt,type:je}]},[])}static \u0275fac=function(V){return new(V||Y)};static \u0275prov=C.jDH({token:Y,factory:Y.\u0275fac})}return Y})();function tl(Y,T){if(1&Y){const S=C.RV6();C.j41(0,"div",0),C.nrm(1,"frontend-image",1),C.j41(2,"span",2),C.EFF(3,"Eine neue Version ist verf\xfcgbar. Aktualisiere die Seite, um sie zu nutzen."),C.k0s(),C.j41(4,"frontend-image",3),C.bIt("click",function(){C.eBV(S);const ce=C.XpG();return C.Njj(ce.refresh())}),C.k0s(),C.nrm(5,"span",4),C.j41(6,"frontend-image",5),C.bIt("click",function(){C.eBV(S);const ce=C.XpG();return C.Njj(ce.close())}),C.k0s()()}2&Y&&(C.R7$(),C.Y8G("stretchToContainer",!0),C.R7$(3),C.Y8G("stretchToContainer",!0),C.R7$(2),C.Y8G("stretchToContainer",!0))}let rd=(()=>{class Y{alertNewVersion$;presentedVersion=null;dismiss$=new ur.B;versionService=(0,C.WQX)(qa);appVersion=(0,C.WQX)(Kn.hl);appTag=(0,C.WQX)(Kn.v0);constructor(){this.message();const S=this.dismiss$.pipe((0,Ma.F)(),(0,Rr.T)(()=>!1),(0,ze.pQ)()),V=this.versionService.version$.pipe((0,La.M)(ce=>this.presentedVersion=ce.versionMissMatchDetected?ce.remoteVersion:null),(0,Rr.T)(ce=>ce.versionMissMatchDetected),(0,ze.pQ)());this.alertNewVersion$=(0,yc.h)(S,V)}refresh(){this.presentedVersion=null,location.reload()}close(){this.dismiss$.next(this.presentedVersion)}message(){console.info("\n%cottonova welcomes you!","font-weight: bold; font-size: 32px; color:#0077ff");const V={...this.appVersion.match(jc)?.groups??{},tag:this.appTag,version:this.appVersion};try{console.info(`%c${JSON.stringify(V,null,2)}`,"font-weight: bold;")}catch{console.info("version = "+this.appVersion)}}static \u0275fac=function(V){return new(V||Y)};static \u0275cmp=C.VBU({type:Y,selectors:[["frontend-version"]],standalone:!0,features:[C.aNF],decls:2,vars:3,consts:[[1,"release-alert"],["type","svg","file","release-sparkle-filled.svg",1,"sparkle-dark",3,"stretchToContainer"],[1,"message"],["type","svg","role","button","file","refresh.svg",1,"refresh",3,"click","stretchToContainer"],[1,"spacer"],["type","svg","role","button","file","close-cross.svg",1,"close-cross",3,"click","stretchToContainer"]],template:function(V,ce){1&V&&(C.DNE(0,tl,7,3,"div",0),C.nI1(1,"async")),2&V&&C.vxM(C.bMT(1,1,ce.alertNewVersion$)?0:-1)},dependencies:[a.Jj,Ft.U,Jc.h],styles:["[_nghost-%COMP%]{position:fixed;z-index:999;bottom:32px;left:50%;display:block;margin:0 auto;transform:translate(-50%)}.release-alert[_ngcontent-%COMP%]{--bg: linear-gradient(90deg, #fff5cc 0%, #fff 50%);--color: var(--sec-light-100);--refresh-color: var(--sec-light-60);--close-color: var(--sec-light-20);--icon-size: $iconSize;display:flex;align-items:center;justify-content:center;padding:12px 20px 12px 16px;background:var(--bg);border-radius:999vw;
3box-shadow:var(--box-shadow-sm);color:var(--color);gap:16px}.release-alert[_ngcontent-%COMP%]   [role=button][_ngcontent-%COMP%]{display:block}@media (prefers-color-scheme: dark){.release-alert[_ngcontent-%COMP%]{--bg: var(--sec-dark-05);--color: var(--white);--refresh-color: var(--sec-dark-80);--close-color: var(--sec-light-60)}}.release-alert[_ngcontent-%COMP%]   .sparkle-dark[_ngcontent-%COMP%]{width:24px;height:24px;color:#ffa600}.release-alert[_ngcontent-%COMP%]   .refresh[_ngcontent-%COMP%]{width:24px;height:24px;color:var(--refresh-color)}.release-alert[_ngcontent-%COMP%]   .close-cross[_ngcontent-%COMP%]{width:16px;height:16px;color:var(--close-color)}.release-alert[_ngcontent-%COMP%]   .spacer[_ngcontent-%COMP%]{width:1px;height:22px;background-color:var(--close-color)}"]})}return Y})();var Vc=g(22380),jo=g(46757),ci=g(94236),cs=g(52713),zc=g(80560),nl=g(18718),Yo=g(42576),ta=g(58530),bo=g(87750),qo=g(19847),Fa=g(11521),Mc=g(42746),so=g(92411),Fc=g(97293),wa=g(14904),Vo=g(20223),yl=g(64686);const Ul=(0,wa.L)(Y=>function(S=null){Y(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=S});function Qa(Y){throw new Ul(Y)}var Tc=g(47943),Za=g(78374),oo=g(58468),ja=g(84975),W=g(28950),k=g(50728),ae=g(7738),Ce=g(89800);const lt="PERFORM_ACTION",vi="ROLLBACK",xi="TOGGLE_ACTION",ys="JUMP_TO_STATE",$i="JUMP_TO_ACTION",wn="IMPORT_STATE",Ei="LOCK_CHANGES",Ui="PAUSE_RECORDING";class Gs{constructor(T,S){if(this.action=T,this.timestamp=S,this.type=lt,typeof T.type>"u")throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?')}}class Vr{constructor(){this.type="REFRESH"}}class Eo{constructor(T){this.timestamp=T,this.type="RESET"}}class ao{constructor(T){this.timestamp=T,this.type=vi}}class Zr{constructor(T){this.timestamp=T,this.type="COMMIT"}}class Ds{constructor(){this.type="SWEEP"}}class Va{constructor(T){this.id=T,this.type=xi}}class Cr{constructor(T){this.index=T,this.type=ys}}class na{constructor(T){this.actionId=T,this.type=$i}}class Ls{constructor(T){this.nextLiftedState=T,this.type=wn}}class is{constructor(T){this.status=T,this.type=Ei}}class zo{constructor(T){this.status=T,this.type=Ui}}const ia=new C.nKC("@ngrx/store-devtools Options"),ac=new C.nKC("@ngrx/store-devtools Initial Config");function jl(){return null}const Oc="NgRx Store DevTools";function il(Y){const T={maxAge:!1,monitor:jl,actionSanitizer:void 0,stateSanitizer:void 0,name:Oc,serialize:!1,logOnly:!1,autoPause:!1,trace:!1,traceLimit:75,features:{pause:!0,lock:!0,persist:!0,export:!0,import:"custom",jump:!0,skip:!0,reorder:!0,dispatch:!0,test:!0},connectInZone:!1},S="function"==typeof Y?Y():Y,ce=S.features||!!S.logOnly&&{pause:!0,export:!0,test:!0}||T.features;!0===ce.import&&(ce.import="custom");const je=Object.assign({},T,{features:ce},S);if(je.maxAge&&je.maxAge<2)throw new Error(`Devtools 'maxAge' cannot be less than 2, got ${je.maxAge}`);return je}function Ta(Y,T){return Y.filter(S=>T.indexOf(S)<0)}function _i(Y){const{computedStates:T,currentStateIndex:S}=Y;if(S>=T.length){const{state:ce}=T[T.length-1];return ce}const{state:V}=T[S];return V}function wc(Y){return new Gs(Y,+Date.now())}function cc(Y,T){return Object.keys(T).reduce((S,V)=>{const ce=Number(V);return S[ce]=$c(Y,T[ce],ce),S},{})}function $c(Y,T,S){return{...T,action:Y(T.action,S)}}function bl(Y,T){return T.map((S,V)=>({state:vo(Y,S.state,V),error:S.error}))}function vo(Y,T,S){return Y(T,S)}function Vl(Y){return Y.predicate||Y.actionsSafelist||Y.actionsBlocklist}function ua(Y,T,S,V,ce){const je=S&&!S(Y,T.action),dt=V&&!T.action.type.match(V.map(zt=>zl(zt)).join("|")),Ct=ce&&T.action.type.match(ce.map(zt=>zl(zt)).join("|"));return je||dt||Ct}function zl(Y){return Y.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Hc(Y){return{ngZone:Y?(0,C.WQX)(C.SKi):null,connectInZone:Y}}let rl=(()=>{class Y extends cs.SS{static{this.\u0275fac=(()=>{let S;return function(ce){return(S||(S=C.xGo(Y)))(ce||Y)}})()}static{this.\u0275prov=C.jDH({token:Y,factory:Y.\u0275fac})}}return Y})();const Wc=new C.nKC("@ngrx/store-devtools Redux Devtools Extension");let kd=(()=>{class Y{constructor(S,V,ce){this.config=V,this.dispatcher=ce,this.zoneConfig=Hc(this.config.connectInZone),this.devtoolsExtension=S,this.createActionStream
3s()}notify(S,V){if(this.devtoolsExtension)if(S.type===lt){if(V.isLocked||V.isPaused)return;const ce=_i(V);if(Vl(this.config)&&ua(ce,S,this.config.predicate,this.config.actionsSafelist,this.config.actionsBlocklist))return;const je=this.config.stateSanitizer?vo(this.config.stateSanitizer,ce,V.currentStateIndex):ce,dt=this.config.actionSanitizer?$c(this.config.actionSanitizer,S,V.nextActionId):S;this.sendToReduxDevtools(()=>this.extensionConnection.send(dt,je))}else{const ce={...V,stagedActionIds:V.stagedActionIds,actionsById:this.config.actionSanitizer?cc(this.config.actionSanitizer,V.actionsById):V.actionsById,computedStates:this.config.stateSanitizer?bl(this.config.stateSanitizer,V.computedStates):V.computedStates};this.sendToReduxDevtools(()=>this.devtoolsExtension.send(null,ce,this.getExtensionConfig(this.config)))}}createChangesObservable(){return this.devtoolsExtension?new nl.c(S=>{const V=this.zoneConfig.connectInZone?this.zoneConfig.ngZone.runOutsideAngular(()=>this.devtoolsExtension.connect(this.getExtensionConfig(this.config))):this.devtoolsExtension.connect(this.getExtensionConfig(this.config));return this.extensionConnection=V,V.init(),V.subscribe(ce=>S.next(ce)),V.unsubscribe}):zc.w}createActionStreams(){const S=this.createChangesObservable().pipe((0,bo.u)()),V=S.pipe((0,yo.p)(Vt=>"START"===Vt.type)),ce=S.pipe((0,yo.p)(Vt=>"STOP"===Vt.type)),je=S.pipe((0,yo.p)(Vt=>"DISPATCH"===Vt.type),(0,Rr.T)(Vt=>this.unwrapAction(Vt.payload)),(0,qo.H)(Vt=>Vt.type===wn?this.dispatcher.pipe((0,yo.p)(jn=>jn.type===cs.q6),function Ac(Y,T){const{first:S,each:V,with:ce=Qa,scheduler:je=T??Fa.E,meta:dt=null}=(0,Mc.v)(Y)?{first:Y}:"number"==typeof Y?{each:Y}:Y;if(null==S&&null==V)throw new TypeError("No timeout provided.");return(0,so.N)((Ct,zt)=>{let Vt,jn,Mn=null,Si=0;const ji=ti=>{jn=(0,yl.N)(zt,je,()=>{try{Vt.unsubscribe(),(0,Fc.Tg)(ce({meta:dt,lastValue:Mn,seen:Si})).subscribe(zt)}catch(ri){zt.error(ri)}},ti)};Vt=Ct.subscribe((0,Vo._)(zt,ti=>{jn?.unsubscribe(),Si++,zt.next(Mn=ti),V>0&&ji(V)},void 0,void 0,()=>{jn?.closed||jn?.unsubscribe(),Mn=null})),!Si&&ji(null!=S?"number"==typeof S?S:+S-je.now():V)})}(1e3),(0,Tc.B)(1e3),(0,Rr.T)(()=>Vt),(0,mo.W)(()=>(0,Xo.of)(Vt)),(0,Za.s)(1)):(0,Xo.of)(Vt))),Ct=S.pipe((0,yo.p)(Vt=>"ACTION"===Vt.type),(0,Rr.T)(Vt=>this.unwrapAction(Vt.payload))).pipe((0,oo.Q)(ce)),zt=je.pipe((0,oo.Q)(ce));this.start$=V.pipe((0,oo.Q)(ce)),this.actions$=this.start$.pipe((0,ja.n)(()=>Ct)),this.liftedActions$=this.start$.pipe((0,ja.n)(()=>zt))}unwrapAction(S){return"string"==typeof S?(0,eval)(`(${S})`):S}getExtensionConfig(S){const V={name:S.name,features:S.features,serialize:S.serialize,autoPause:S.autoPause??!1,trace:S.trace??!1,traceLimit:S.traceLimit??75};return!1!==S.maxAge&&(V.maxAge=S.maxAge),V}sendToReduxDevtools(S){try{S()}catch(V){console.warn("@ngrx/store-devtools: something went wrong inside the redux devtools",V)}}static{this.\u0275fac=function(V){return new(V||Y)(C.KVO(Wc),C.KVO(ia),C.KVO(rl))}}static{this.\u0275prov=C.jDH({token:Y,factory:Y.\u0275fac})}}return Y})();const od={type:cs.Zz},$l={type:"@ngrx/store-devtools/recompute"};function Wd(Y,T,S,V,ce){if(V)return{state:S,error:"Interrupted by an error up the chain"};let dt,je=S;try{je=Y(S,T)}catch(Ct){dt=Ct.toString(),ce.handleError(Ct)}return{state:je,error:dt}}function Hl(Y,T,S,V,ce,je,dt,Ct,zt){if(T>=Y.length&&Y.length===je.length)return Y;const Vt=Y.slice(0,T),jn=je.length-(zt?1:0);for(let Mn=T;Mn<jn;Mn++){const Si=je[Mn],ji=ce[Si].action,ti=Vt[Mn-1],ri=ti?ti.state:V,ls=ti?ti.error:void 0,Xs=dt.indexOf(Si)>-1?ti:Wd(S,ji,ri,ls,Ct);Vt.push(Xs)}return zt&&Vt.push(Y[Y.length-1]),Vt}let sl=(()=>{class Y{constructor(S,V,ce,je,dt,Ct,zt,Vt){const jn=function bu(Y,T){return{monitorState:T(void 0,{}),nextActionId:1,actionsById:{0:wc(od)},stagedActionIds:[0],skippedActionIds:[],committedState:Y,currentStateIndex:0,computedStates:[],isLocked:!1,isPaused:!1}}(zt,Vt.monitor),Mn=function Sd(Y,T,S,V,ce={}){return je=>(dt,Ct)=>{let{monitorState:zt,actionsById:Vt,nextActionId:jn,stagedActionIds:Mn,skippedActionIds:Si,committedState:ji,currentStateIndex:ti,computedStates:ri,isLocked:ls,isPaused:ps}=dt||T;function Xs(fr){let Gr=fr,U=Mn.slice(1,Gr+1);for(let D=0;D<U.length;D++){if(ri[D+1].error){Gr=D,U=Mn.slice(1,Gr+1);break}delete Vt[U[D]]}Si=Si.filter(D=>-1===U.indexOf(D)),Mn=[0,...Mn.slice(Gr+1)],ji=ri[Gr].state,ri=ri.slice(Gr),ti=ti>Gr?ti-Gr:0}function js(){Vt={0:wc(od)},jn=1,Mn=[0],Si=[],ji=ri[ti].state,ti=0,ri=[]}dt||(Vt=Object.create(Vt));let yi=0;switch(Ct.type){case Ei:ls=Ct.status,yi=1/0;break;case Ui:ps=Ct.status,ps?(Mn=[...Mn,jn],Vt[jn]=new Gs({type:"@ngrx/devtools/pause"},+Date.now()),jn++,yi=Mn.length-1,ri=ri.concat(ri[ri.length-1]),ti===Mn.length-2&&ti++,yi=1/0):js();break;case"RESET":Vt={0:wc(od)},jn=1,Mn=[0],Si=[],ji=Y,ti=0,ri=[];break;
3case"COMMIT":js();break;case vi:Vt={0:wc(od)},jn=1,Mn=[0],Si=[],ti=0,ri=[];break;case xi:{const{id:fr}=Ct;Si=-1===Si.indexOf(fr)?[fr,...Si]:Si.filter(U=>U!==fr),yi=Mn.indexOf(fr);break}case"SET_ACTIONS_ACTIVE":{const{start:fr,end:Gr,active:U}=Ct,D=[];for(let L=fr;L<Gr;L++)D.push(L);Si=U?Ta(Si,D):[...Si,...D],yi=Mn.indexOf(fr);break}case ys:ti=Ct.index,yi=1/0;break;case $i:{const fr=Mn.indexOf(Ct.actionId);-1!==fr&&(ti=fr),yi=1/0;break}case"SWEEP":Mn=Ta(Mn,Si),Si=[],ti=Math.min(ti,Mn.length-1);break;case lt:{if(ls)return dt||T;if(ps||dt&&ua(dt.computedStates[ti],Ct,ce.predicate,ce.actionsSafelist,ce.actionsBlocklist)){const Gr=ri[ri.length-1];ri=[...ri.slice(0,-1),Wd(je,Ct.action,Gr.state,Gr.error,S)],yi=1/0;break}ce.maxAge&&Mn.length===ce.maxAge&&Xs(1),ti===Mn.length-1&&ti++;const fr=jn++;Vt[fr]=Ct,Mn=[...Mn,fr],yi=Mn.length-1;break}case wn:({monitorState:zt,actionsById:Vt,nextActionId:jn,stagedActionIds:Mn,skippedActionIds:Si,committedState:ji,currentStateIndex:ti,computedStates:ri,isLocked:ls,isPaused:ps}=Ct.nextLiftedState);break;case cs.Zz:yi=0,ce.maxAge&&Mn.length>ce.maxAge&&(ri=Hl(ri,yi,je,ji,Vt,Mn,Si,S,ps),Xs(Mn.length-ce.maxAge),yi=1/0);break;case cs.q6:if(ri.filter(Gr=>Gr.error).length>0)yi=0,ce.maxAge&&Mn.length>ce.maxAge&&(ri=Hl(ri,yi,je,ji,Vt,Mn,Si,S,ps),Xs(Mn.length-ce.maxAge),yi=1/0);else{if(!ps&&!ls){ti===Mn.length-1&&ti++;const Gr=jn++;Vt[Gr]=new Gs(Ct,+Date.now()),Mn=[...Mn,Gr],yi=Mn.length-1,ri=Hl(ri,yi,je,ji,Vt,Mn,Si,S,ps)}ri=ri.map(Gr=>({...Gr,state:je(Gr.state,$l)})),ti=Mn.length-1,ce.maxAge&&Mn.length>ce.maxAge&&Xs(Mn.length-ce.maxAge),yi=1/0}break;default:yi=1/0}return ri=Hl(ri,yi,je,ji,Vt,Mn,Si,S,ps),zt=V(zt,Ct),{monitorState:zt,actionsById:Vt,nextActionId:jn,stagedActionIds:Mn,skippedActionIds:Si,committedState:ji,currentStateIndex:ti,computedStates:ri,isLocked:ls,isPaused:ps}}}(zt,jn,Ct,Vt.monitor,Vt),Si=(0,yc.h)((0,yc.h)(V.asObservable().pipe((0,W.i)(1)),je.actions$).pipe((0,Rr.T)(wc)),S,je.liftedActions$).pipe((0,k.Q)(Yo.T)),ji=ce.pipe((0,Rr.T)(Mn)),ti=Hc(Vt.connectInZone),ri=new ta.m(1);this.liftedStateSubscription=Si.pipe((0,ae.E)(ji),Bu(ti),(0,Ce.S)(({state:Xs},[js,yi])=>{let fr=yi(Xs,js);return js.type!==lt&&Vl(Vt)&&(fr=function Ir(Y,T,S,V){const ce=[],je={},dt=[];return Y.stagedActionIds.forEach((Ct,zt)=>{const Vt=Y.actionsById[Ct];Vt&&(zt&&ua(Y.computedStates[zt],Vt,T,S,V)||(je[Ct]=Vt,ce.push(Ct),dt.push(Y.computedStates[zt])))}),{...Y,stagedActionIds:ce,actionsById:je,computedStates:dt}}(fr,Vt.predicate,Vt.actionsSafelist,Vt.actionsBlocklist)),je.notify(js,fr),{state:fr,action:js}},{state:jn,action:null})).subscribe(({state:Xs,action:js})=>{ri.next(Xs),js.type===lt&&dt.next(js.action)}),this.extensionStartSubscription=je.start$.pipe(Bu(ti)).subscribe(()=>{this.refresh()});const ls=ri.asObservable(),ps=ls.pipe((0,Rr.T)(_i));Object.defineProperty(ps,"state",{value:(0,ze.ot)(ps,{manualCleanup:!0,requireSync:!0})}),this.dispatcher=S,this.liftedState=ls,this.state=ps}ngOnDestroy(){this.liftedStateSubscription.unsubscribe(),this.extensionStartSubscription.unsubscribe()}dispatch(S){this.dispatcher.next(S)}next(S){this.dispatcher.next(S)}error(S){}complete(){}performAction(S){this.dispatch(new Gs(S,+Date.now()))}refresh(){this.dispatch(new Vr)}reset(){this.dispatch(new Eo(+Date.now()))}rollback(){this.dispatch(new ao(+Date.now()))}commit(){this.dispatch(new Zr(+Date.now()))}sweep(){this.dispatch(new Ds)}toggleAction(S){this.dispatch(new Va(S))}jumpToAction(S){this.dispatch(new na(S))}jumpToState(S){this.dispatch(new Cr(S))}importState(S){this.dispatch(new Ls(S))}lockChanges(S){this.dispatch(new is(S))}pauseRecording(S){this.dispatch(new zo(S))}static{this.\u0275fac=function(V){return new(V||Y)(C.KVO(rl),C.KVO(cs.SS),C.KVO(cs.QU),C.KVO(kd),C.KVO(cs.sA),C.KVO(C.zcH),C.KVO(cs.N_),C.KVO(ia))}}static{this.\u0275prov=C.jDH({token:Y,factory:Y.\u0275fac})}}return Y})();function Bu({ngZone:Y,connectInZone:T}){return S=>T?new nl.c(V=>S.subscribe({next:ce=>Y.run(()=>V.next(ce)),error:ce=>Y.run(()=>V.error(ce)),complete:()=>Y.run(()=>V.complete())})):S}const Lu=new C.nKC("@ngrx/store-devtools Is Devtools Extension or Monitor Present");function N(Y,T){return!!Y||T.monitor!==jl}function Z(){const Y="__REDUX_DEVTOOLS_EXTENSION__";return"object"==typeof window&&typeof window[Y]<"u"?window[Y]:null}function j(Y={}){return(0,C.EmA)([kd,rl,sl,{provide:ac,useValue:Y},{provide:Lu,deps:[Wc,ia],useFactory:N},{provide:Wc,useFactory:Z},{provide:ia,deps:[ac],useFactory:il},{provide:cs.h1,deps:[sl],useFactory:te},{provide:cs.Bh,useExisting:rl}])}function te(Y){return Y.state}let ve=(()=>{class Y{static instrument(S={}){return{ngModule:Y,providers:[j(S)]}}static{this.\u0275fac=function(V){return new(V||Y)}}static{this.\u0275mod=C.$C({type:Y})}static{this.\u0275inj=C.G2t({})}}return Y})();var Ke=g(59643),ht=g(8713),cn=g(27639),$t=g(46140),li=g(51376),tr=g(51335),Bi=g(99361),Os=g(35888),Pc=g(63752);let Qo=(()=>{class Y{language=li.TMK;modalInstanceService=(0,C.WQX)(As.g7);profileService=(0,C.WQX)(tr.p);store=(0,C.WQX)(cs.il);alertService=(0,C.WQX)(Vc.uE);logService=(0,C.WQX)(Br.Kc);activeProfile;component$=new ur.B;ngOnInit(){this.store.select(Os.oy).pipe((0,yo.p)(S=>!!S),(0,oo.Q)(this.component$)).subscribe(S=>{this.activeProfile=S})}ngOnDestroy(){this.component$.next(),this.component$.complete()}dismissModal(){this.modalInstanceService.dismiss()}setLanguage(S){this.profileService.setProfileLanguage(this.activeProfile.profile_id,S).pipe((0,oo.Q)(this.component$)).subscribe({next:()=>{this.store.dispatch(new Bi.BS(this.activeProfile.profile_id,{contact:{...this.activeProfile.contact,communication_language:S}})),this.alertService.success("Kommunikationssprache wurde ausgew\xe4hlt"),this.modalInstanceService.close()},error:V=>{this.alertService.error("Die Aktualisierung der Kommunikationssprache ist fehlgeschlagen. Bitte versuche es erneut."),this.logService.error(`[CommunicationLanguageModalComponent][setLanguage] Error on setting communication language: ${JSON.stringify(V)}`),this.dismissModal()}})}static \u0275fac=function(V){return new(V||Y)};static \u0275cmp=C.VBU({type:Y,selectors:[["wa-communication-language-modal"]],standalone:!0,features:[C.aNF],decls:15,vars:6,consts:[[3,"onDismissClick"],["modalBody",""],[1,"icons"],["type","svg","file","icon-flag-de.svg",1,"icon",3,"stretchToContainer"],["type","svg","file","icon-flag-us-uk.svg",1,"icon",3,"stretchToContainer"],[1,"title"],[1,"description"],["modalFooter",""],[1,"buttons"],[3,"onClick","outlined","wide"]],template:function(V,ce){1&V&&(C.j41(0,"frontend-default-modal",0),C.bIt("onDismissClick",function(){return ce.dismissModal()}),C.qex(1,1),C.j41(2,"div",2),C.nrm(3,"frontend-image",3)(4,"frontend-image",4),C.k0s(),C.j41(5,"h3",5),C.EFF(6,"Kommunikation mit ottonova"),C.k0s(),C.j41(7,"p",6),C.EFF(8," Welche Sprache m\xf6chtest du im Chat und f\xfcr Push-Nachrichten verwenden? Diese ist unabh\xe4ngig von der Sprache der Benutzeroberfl\xe4che und kann jederzeit in den Einstellungen ge\xe4ndert werden. "),C.k0s(),C.bVm(),C.qex(9,7),C.j41(10,"div",8)(11,"frontend-button",9),C.bIt("onClick",function(){return ce.setLanguage(ce.language.German)}),C.EFF(12," Deutsch "),C.k0s(),C.j41(13,"frontend-button",9),C.bIt("onClick",function(){return ce.setLanguage(ce.language.English)}),C.EFF(14," English "),C.k0s()(),C.bVm(),C.k0s()),2&V&&(C.R7$(3),C.Y8G("stretchToContainer",!0),C.R7$(),
3C.Y8G("stretchToContainer",!0),C.R7$(7),C.Y8G("outlined",!0)("wide",!0),C.R7$(2),C.Y8G("outlined",!0)("wide",!0))},dependencies:[As.o,Ft.U,Jc.h,$t.tm,Pc.Q],styles:[".icons[_ngcontent-%COMP%]{display:flex;justify-content:center;margin:0 0 16px 14px}.icon[_ngcontent-%COMP%]{position:relative;display:inline-block;overflow:hidden;width:56px;height:56px;border:4px solid white;border-radius:50%;vertical-align:middle}.icon[_ngcontent-%COMP%]:first-child{z-index:1}.icon[_ngcontent-%COMP%]:last-child{transform:translate(-14px)}.title[_ngcontent-%COMP%]{margin:0 0 8px;font-size:20px;font-weight:700;line-height:25px;text-align:center}.description[_ngcontent-%COMP%]{margin:0;line-height:20px;text-align:center}.buttons[_ngcontent-%COMP%]{display:grid;gap:24px;grid-template-columns:1fr 1fr}"]})}return Y})();var Ca=g(13735),Mo=g(71645);let ol=(()=>{class Y{store=(0,C.WQX)(cs.il);profileService=(0,C.WQX)(tr.p);trackingConsentService=(0,C.WQX)(Ca.r);firebaseService=(0,C.WQX)(Mo.f);authService=(0,C.WQX)(Ke.x6);tokenService=(0,C.WQX)(Br.By);router=(0,C.WQX)(ks.Ix);modalService=(0,C.WQX)(As.Bg);window=(0,C.WQX)(Kn.jf);component$=new ur.B;tokenTitles=(0,C.WQX)(Kn.IN);ngOnInit(){this.store.select(Os.t3).pipe((0,yo.p)(S=>!!S),(0,oo.Q)(this.component$)).subscribe(S=>{const V=S.profiles.find(zt=>zt.is_primary_profile);V&&!this.trackingConsentService.isTrackingConsentGiven(V)&&this.trackingConsentService.showConsentModal(V);const ce=this.tokenService.retrieveAccessToken(),je=this.authService.getUserIdFromAccessToken(ce);let dt;dt=!(1!==S.profiles.length&&!S.activeProfile.is_primary_profile)||null,this.profileService.getCurrentProfileTariffId()&&this.firebaseService.allowTracking(je,this.profileService.getCurrentProfileTariffId(),dt)}),this.store.select(Os.oy).pipe((0,yo.p)(S=>!!S),(0,Za.s)(1)).subscribe(S=>{this.profileService.canSetProfileLanguage(S)&&!this.profileService.getProfileLanguage(S)&&this.modalService.show(Qo)}),(0,ht.OA)(this.tokenTitles,()=>this.profileService.logout()),this.subscribeToRouterEvents(),this.subscribeToChunkErrors()}ngOnDestroy(){this.component$.next(),this.component$.complete()}subscribeToRouterEvents(){(0,cn.z)([this.router.events,this.trackingConsentService.selectTrackingAnalyticsConsentState()]).pipe((0,yo.p)(([S,V])=>S instanceof ks.vG&&S.snapshot.data?.screenName&&V),(0,oo.Q)(this.component$)).subscribe(([S])=>{this.firebaseService.logScreenVisited(S.snapshot.data.screenName)})}subscribeToChunkErrors(){this.router.events.pipe((0,yo.p)(S=>S instanceof ks.L6&&"ChunkLoadError"===S.error.name),(0,oo.Q)(this.component$)).subscribe(()=>this.window.location.reload())}static \u0275fac=function(V){return new(V||Y)};static \u0275cmp=C.VBU({type:Y,selectors:[["wa-root"]],standalone:!0,features:[C.aNF],decls:5,vars:1,consts:[[3,"extraTopSpacing"]],template:function(V,ce){1&V&&C.nrm(0,"router-outlet")(1,"frontend-modal")(2,"frontend-notification-queue",0)(3,"frontend-alerts")(4,"frontend-version"),2&V&&(C.R7$(2),C.Y8G("extraTopSpacing",!0))},dependencies:[ks.n3,As.zf,Vc.ZE,Vc.e,rd],encapsulation:2})}return Y})();const Us=ks.iI.forRoot([{path:"browser-warning",loadComponent:()=>Promise.resolve().then(g.bind(g,46757)).then(Y=>Y.BrowserWarningComponent)},{path:"",loadChildren:()=>g.e(295).then(g.bind(g,9295)).then(Y=>Y.ProtectedModule),canActivate:[jo.browserGuard,(Y,T)=>{const S=(0,C.WQX)(ht.Dp),V=(0,C.WQX)(Ke.r7);return S.isAuthorized().pipe((0,Rr.T)(ce=>(ce||V.loginWithReturnUrl(`/${ht.FY}${T.url}`),ce)))}]},{path:"**",redirectTo:"",pathMatch:"full"}]);var Ao=g(16920),vl=g(48181),Ja=g(85279);let al=(()=>{class Y{chatService=(0,C.WQX)(vl.T);parse(S){return["voucher","text","document","certificate-prompt"].includes(S.type)?{...S,whose:this.whose(S)}:S}whose(S){return S.whose?S.whose:this.chatService.identity.id===S.author.id?"me":this.chatService.identity.type===S.author.type?"agent":"you"}static \u0275fac=function(V){return new(V||Y)};static \u0275prov=C.jDH({token:Y,factory:Y.\u0275fac})}return Y})();var lc=function(Y){return Y.Certificate="request_certificate",Y}(lc||{});const Dd=new C.nKC("DEEPLINK_HOST");let xd=(()=>{class Y{deeplinkHost=(0,C.WQX)(Dd);parse(S){if("text"!==S.type)return S;const ce=this.parseUrl((S.data?.content??"").trim());return ce&&this.isCertificatePromptUrl(ce)?{...S,type:"certificate-prompt"}:S}isCertificatePromptUrl(S){return S.origin===this.deeplinkHost&&"/profile"===S.pathname&&S.searchParams.get("action")===lc.Certificate}parseUrl(S){try{return new URL(S)}catch{return null}}static \u0275fac=function(V){return new(V||Y)};static \u0275prov=C.jDH({token:Y,factory:Y.\u0275fac})}return Y})(),pi=(()=>{class Y{parse(S){let V={...S};const dt=/(?:https\:\/\/eedoctors\.com\/voucher\?)(?:[\S\&]*)(?:code=)(\w+)/gi.exec(V.data?V.data.content:"");return dt&&(V={...V,data:{voucher:dt[1]},type:dt[1]?"voucher":V.type}),V}static \u0275fac=function(V){return new(V||Y)};static \u0275prov=C.jDH({token:Y,factory:Y.\u0275fac})}return Y})();var Gd=g(15769);let co=(()=>{class Y{emojiService=(0,C.WQX)(Gd.E);parse(S){const V=structuredClone(S);return V.data.content=this.emojiService.parseMessageWithEmojies(V.data.content),V}static \u0275fac=function(V){return new(V||Y)};static \u0275prov=C.jDH({token:Y,factory:Y.\u0275fac})}return Y})(),ra=(()=>{class Y{markdownService=(0,C.WQX)(Br.Rl);parse(S){return"text"===S.type?{...S,data:{content:this.markdownService.markdownUnsortedList(S.data.content)}}:S}static \u0275fac=function(V){return new(V||Y)};static \u0275prov=C.jDH({token:Y,factory:Y.\u0275fac})}return Y})(),ad=(()=>{class Y{urlRegex=/(http(s)?:\/\/(www\.)?|(www\.))[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/gi;parse(S){return"text"===S.type?{...S,data:{content:this.replace(S.data.content)}}:S}replace(S){return S.replace(this.urlRegex,V=>{let ce=V;return ce.startsWith("http")||(ce="https://"+ce),`<a href="${ce}" target="_blank">${V}</a>`})}static \u0275fac=function(V){return new(V||Y)};static \u0275prov=C.jDH({token:Y,factory:Y.\u0275fac})}return Y})();var dc=g(30958),hr=g(46524),Ks=g(32126),Uu=g(31555),Gc=g(51405);let ju=(()=>{class Y{static \u0275fac=function(V){return new(V||Y)};static \u0275mod=C.$C({type:Y});static \u0275inj=C.G2t({providers:[Br.n$,Br.sj,Uu.L,hr.H,vl.T,Gd.E,Ks.J,dc.V,{provide:Dd,useFactory:S=>{switch(S){case"live":return"https://app.ottonova.de";case"staging":return"https://app-staging.on.ag";default:return"https://app-test.on.ag"}},deps:[Kn.uH]}
3,{provide:Gc.oO,useClass:pi,multi:!0},{provide:Gc.oO,useClass:xd,multi:!0},{provide:Gc.oO,useClass:al,multi:!0},{provide:Gc.oO,useClass:ad,multi:!0},{provide:Gc.oO,useClass:co,multi:!0},{provide:Gc.oO,useClass:ra,multi:!0}]})}return Y})();var ec=g(43614),rs=g(8682),Lr=g(40058);let Wl=(()=>{class Y{initConversation$=(0,ci.EH)((S=(0,C.WQX)(ci.En))=>S.pipe((0,ci.gp)(rs.HT.InitConversation),(0,Rr.T)(V=>V.payload),(0,ec.Z)(V=>[new rs.FV(V),(0,rs.id)({conversationId:V.conversationId})])));waitingStatusUpdated=(0,ci.EH)((S=(0,C.WQX)(ci.En),V=(0,C.WQX)(ks.Ix))=>S.pipe((0,ci.gp)(rs.HT.WaitingStatusUpdatedConversation),(0,yo.p)(({payload:ce})=>ce.selectedConversationId===ce.changedConversation.conversationId),(0,ja.n)(ce=>V.navigate(["/chat"]))),{dispatch:!1});archiveConversation$=(0,ci.EH)((S=(0,C.WQX)(ci.En))=>S.pipe((0,ci.gp)(rs.HT.ArchiveConversation),(0,ec.Z)(V=>[new Lr.kN({conversationId:V.payload.conversationId,messageId:V.payload.conversationId}),new rs.FV({conversationId:V.payload.conversationId,isArchived:!0})])));static \u0275fac=function(V){return new(V||Y)};static \u0275prov=C.jDH({token:Y,factory:Y.\u0275fac})}return Y})();var cl=g(80489),ll=g(53797),Ic=g(13740);let $a=(()=>{class Y{apiUri=(0,C.WQX)(Gc.wQ);httpClient=(0,C.WQX)(h.Qq);loadOpenConversations(S){return this.loadConversations(!1,S)}loadArchivedConversations(S){return this.loadConversations(!0,S)}loadMessages(S){return this.httpClient.get(`${this.apiUri}/api/conversations/${S}`,{params:{includeRatingMessages:!0}})}loadConversations(S=!1,V){let ce=`${this.apiUri}/api/conversations?archived=${S}`;return V&&(ce+=`&limit=${V}`),this.httpClient.get(ce)}static \u0275fac=function(V){return new(V||Y)};static \u0275prov=C.jDH({token:Y,factory:Y.\u0275fac})}return Y})();class cd{token;id;type;constructor(T){this.token=T}
3connectionQueryParams(){return{token:this.token,type:this.type}}}let nr=(()=>{class Y{loadOpenedConversations$=(0,ci.EH)((S=(0,C.WQX)(ci.En),V=(0,C.WQX)($a))=>S.pipe((0,ci.gp)(rs.HT.ShowOpenConversations,rs.HT.ShowNewConversations),(0,bc.p)(()=>V.loadOpenConversations()),(0,Rr.T)(ce=>new rs.HH(ce))));loadArchivedConversations$=(0,ci.EH)((S=(0,C.WQX)(ci.En),V=(0,C.WQX)($a))=>S.pipe((0,ci.gp)(rs.HT.ShowArchivedConversations),(0,bc.p)(()=>V.loadArchivedConversations()),(0,Rr.T)(ce=>new rs.HH(ce))));keepConnection$=(0,ci.EH)((S=(0,C.WQX)(ci.En),V=(0,C.WQX)(vl.T),ce=(0,C.WQX)($a))=>S.pipe((0,ci.gp)(ll.Cw.Connect,ll.Cw.Reconnect,ll.Cw.JwtError),(0,yo.p)(()=>V.identity instanceof cd),(0,bc.p)(()=>(0,cl.p)([ce.loadOpenConversations(),ce.loadArchivedConversations()])),(0,Rr.T)(([je,dt])=>new rs.HH(je.concat(dt)))));loadMessages$=(0,ci.EH)((S=(0,C.WQX)(ci.En),V=(0,C.WQX)($a))=>S.pipe((0,ci.gp)(rs.id),(0,ja.n)(ce=>V.loadMessages(ce.conversationId).pipe((0,Rr.T)(je=>new Lr.mI(je,ce.conversationId))))));refreshMessages$=(0,ci.EH)((S=(0,C.WQX)(ci.En),V=(0,C.WQX)(vl.T),ce=(0,C.WQX)(cs.il),je=(0,C.WQX)($a))=>S.pipe((0,ci.gp)(ll.Cw.Reconnect),(0,yo.p)(()=>V.identity instanceof cd),(0,ja.n)(()=>ce.select(Ic.oN)),(0,yo.p)(dt=>!!dt),(0,ja.n)(dt=>je.loadMessages(dt).pipe((0,Rr.T)(Ct=>new Lr.mI(Ct,dt))))));customNotifications$=(0,ci.EH)((S=(0,C.WQX)(ci.En),V=(0,C.WQX)(ks.Ix))=>S.pipe((0,ci.gp)(rs.HT.OpenConversation),(0,La.M)(ce=>V.navigate(["/chat",ce.payload]))),{dispatch:!1});static \u0275fac=function(V){return new(V||Y)};static \u0275prov=C.jDH({token:Y,factory:Y.\u0275fac})}return Y})();var or=g(27896);let ld=(()=>{class Y{removeTypedMessage$=(0,ci.EH)((S=(0,C.WQX)(ci.En),V=(0,C.WQX)(cs.il))=>S.pipe((0,ci.gp)(Lr.dN.AddPendingMessage),(0,ae.E)(V.select(Ic.XV)),(0,yo.p)(([ce,je])=>ce.payload.author.id===je.id),(0,Rr.T)(([ce,je])=>ce.payload),(0,Rr.T)(ce=>new or.lr(ce.conversationId))));removePendingMessage$=(0,ci.EH)((S=(0,C.WQX)(ci.En))=>S.pipe((0,ci.gp)(Lr.dN.AddMessage),(0,Rr.T)(V=>new Lr.LG({conversationId:V.payload.conversationId,sendId:V.payload.sendId}))));markMessagesAsFailed$=(0,ci.EH)((S=(0,C.WQX)(ci.En),V=(0,C.WQX)(cs.il))=>S.pipe((0,ci.gp)(ll.Cw.Disconnect),(0,ae.E)(V.select(Ic.As)),(0,ec.Z)(([ce,je])=>je.map(dt=>new Lr.dV({messageId:dt.messageId,conversationId:dt.conversationId})))));resendMessage$=(0,ci.EH)((S=(0,C.WQX)(ci.En),V=(0,C.WQX)(vl.T))=>S.pipe((0,ci.gp)(Lr.dN.ResendMessage),(0,qo.H)(ce=>V.emitMessage(ce.payload)),(0,ec.Z)(ce=>ce)));updateLastMessage$=(0,ci.EH)((S=(0,C.WQX)(ci.En))=>S.pipe((0,ci.gp)(Lr.dN.AddMessage),(0,Rr.T)(V=>V.payload),(0,yo.p)(V=>"system"!==V.whose&&"rating"!==V.type),(0,Rr.T)(V=>new rs.FV({conversationId:V.conversationId,lastMessage:V}))));static \u0275fac=function(V){return new(V||Y)};static \u0275prov=C.jDH({token:Y,factory:Y.\u0275fac})}return Y})();var Zo=g(17465);let Gl=(()=>{class Y{systemMessage$=(0,ci.EH)((S=(0,C.WQX)(ci.En))=>S.pipe((0,ci.gp)(Lr.dN.SystemMessage),(0,Rr.T)(V=>({conversationId:V.payload.conversationId,messageId:crypto.randomUUID(),type:"text",whose:"system",timestamp:(new Date).toISOString(),author:{name:"system",id:"system"},data:V.payload.data})),(0,Rr.T)(V=>new Lr.ZP(V))));static \u0275fac=function(V){return new(V||Y)};static \u0275prov=C.jDH({token:Y,factory:Y.\u0275fac})}return Y})();var sa=g(71734);let vu=(()=>{class Y{typing$=(0,ci.EH)((S=(0,C.WQX)(ci.En),V=(0,C.WQX)(cs.il))=>S.pipe((0,ci.gp)(sa.Pb.Typing),(0,La.M)(ce=>this.resetTyping(ce.payload,V))),{dispatch:!1});timeouts={};resetTyping(S,V){const ce=`${S.conversationId}_${S.client.id}`;clearTimeout(this.timeouts[ce]),this.timeouts[ce]=setTimeout(()=>{V.dispatch(new sa.u5(S)),delete this.timeouts[ce]},1e3)}static \u0275fac=function(V){return new(V||Y)};static \u0275prov=C.jDH({token:Y,factory:Y.\u0275fac})}return Y})();var Tl=g(56359),_u=g(45780),_l=g(85837);class dd extends cd{constructor(T){super(T);const S=(0,_l.s)(T);this.type=Ja.ut.Customer,this.id=S.sub||"invalid"}authorPayload(){return{id:this.id}}}let Kl=(()=>{class Y extends _u.R{tokenUserIdentity(S){return new dd(S)}static \u0275fac=(()=>{let S;return function(ce){return(S||(S=C.xGo(Y)))(ce||Y)}})();static \u0275prov=C.jDH({token:Y,factory:Y.\u0275fac})}return Y})(),uc=(()=>{class Y{customNotifications$=(0,ci.EH)((S=(0,C.WQX)(ci.En),V=(0,C.WQX)(ks.Ix))=>S.pipe((0,ci.gp)(rs.HT.OpenConversation),(0,La.M)(ce=>V.navigate(["/chat",ce.payload]))),{dispatch:!1});updateUnread$=(0,ci.EH)((S=(0,C.WQX)(ci.En))=>S.pipe((0,ci.gp)(Lr.dN.AddMessage,Lr.dN.UpdateMessageStatus,rs.HT.ReopenedConversation),(0,ja.n)(()=>(0,Xo.of)(new Bi.V7))));archiveConversation$=(0,ci.EH)((S=(0,C.WQX)(ci.En),V=(0,C.WQX)(cs.il),ce=(0,C.WQX)($a))=>S.pipe((0,ci.gp)(rs.HT.ArchiveConversation),(0,La.M)(()=>V.dispatch(new Bi.V7)),(0,bc.p)(()=>ce.loadArchivedConversations()),(0,Rr.T)(je=>new rs.HH(je))));static \u0275fac=function(V){return new(V||Y)};static \u0275prov=C.jDH({token:Y,factory:Y.\u0275fac})}return Y})();var Kd=g(56631);const yn=(0,cs.vy)(null,(0,cs.on)(rs.id,(Y,T)=>T.conversationId),(0,cs.on)(rs.H$,()=>null));var zr=g(67322);const Xl={id:"",name:""},Kc={connected:function Fu(Y=!1,T){switch(T.type){case ll.Cw.Connect:case ll.Cw.Reconnect:return!0;case ll.Cw.Disconnect:return!1;default:return Y}},conversations:function zf(Y={},T){switch(T.type){case rs.HT.TriggerUpdatedConversation:return{...Y,[T.payload]:{...Y[T.payload]}};case rs.HT.UpdateConversation:{const je=Y[T.payload.conversationId];return{...Y,[T.payload.conversationId]:{...je,...T.payload}}}case rs.HT.WaitingStatusUpdatedConversation:const{isWaiting:S,conversationId:V}=T.payload.changedConversation,ce=Y[V];return{...Y,[V]:{...ce,isWaiting:S}};case rs.HT.SetConversations:return T.payload.reduce((je,dt)=>(je[dt.conversationId]={...dt},je),{...Y});case rs.HT.ReopenedConversation:{const je=Y[T.payload.conversationId];return{...Y,[T.payload.conversationId]:{...je,isArchived:!1}}}case rs.HT.RemoveConversation:{const je={...Y};return delete je[T.payload.conversationId],je}case Kd.wI.IdentityChanged:return{};default:return Y}},currentView:function ar(Y=Ja.KI.Open,T){switch(T.type){case rs.HT.ShowArchivedConversations:return Ja.KI.Archived;case rs.HT.ShowWaitingConversations:return Ja.KI.Waiting;case rs.HT.ShowNewConversations:return Ja.KI.New;case rs.HT.ShowOpenConversations:return Ja.KI.Open;default:return Y}},identity:function Js(Y=Xl,T){return T.type===Kd.wI.SetIdentity?{id:T.payload.id,name:T.payload.name,type:T.payload.type}:Y},selectedConversationId:yn,typing:function Xd(Y={},T){switch(T.type){case sa.Pb.Typing:{const S=Y[T.payload.conversationId]||[];return S.find(ce=>ce.client.id===T.payload.client.id)?Y:{...Y,[T.payload.conversationId]:[...S,{...T.payload}]}}case sa.Pb.RemoveTyping:{const S=(Y[T.payload.conversationId]||[]).filter(V=>V.client.id!==T.payload.client.id);return{...Y,[T.payload.conversationId]:S}}default:return Y}},messages:function Vu(Y={},T){switch(T.type){case Lr.dN.SetConversationMessages:{const S=(Y[T.conversationId]||[]).filter(V=>V.status===Ja.qp.Pending||V.status===Ja.qp.Failed).filter(V=>!T.payload.find(ce=>ce.sendId===V.sendId));return{...Y,[T.conversationId]:[...T.payload,...S].map(V=>({...V,conversationId:T.conversationId}))}}case Lr.dN.UpdateMessageStatus:{const S=Y[T.payload.conversationId];return S?{...Y,[T.payload.conversationId]:[...S.map(V=>V.messageId!==T.payload.messageId?V:{...V,messageId:T.payload.messageId,status:T.payload.status,conversationId:T.payload.conversationId})]}:Y}case Lr.dN.AddPendingMessage:{const S=Y[T.payload.conversationId];return S?{...Y,[T.payload.conversationId]:[...S,T.payload].map(V=>({...V,conversationId:T.payload.conversationId}))}:Y}case Lr.dN.AddMessage:{const S=Y[T.payload.conversationId];if(!S)return Y;const V=[...S].filter(ce=>ce.messageId!==T.payload.messageId);return{...Y,[T.payload.conversationId]:[...V,T.payload].map(ce=>({...ce,conversationId:T.payload.conversationId}))}}case Lr.dN.RemoveMessage:{const S=Y[T.payload.conversationId];return S?{...Y,[T.payload.conversationId]:S.filter(V=>V.messageId!==T.payload.messageId)}:Y}case Lr.dN.UpdateRatingMessage:{const S=Y[T.payload.conversationId];return S?{...Y,[T.payload.conversationId]:[...S.map(V=>V.messageId!==T.payload.messageId?V:{...V,data:{...V.data,rating:T.payload.rating}})]}:Y}case Lr.dN.RemoveUnsentMessage:{const S=Y[T.payload.conversationId];return S?{...Y,[T.payload.conversationId]:S.filter(V=>!(V.sendId===T.payload.sendId&&(V.status===Ja.qp.Failed||V.status===Ja.qp.Pending)))}:Y}case Lr.dN.SendMessageFailed:{const S=Y[T.payload.conversationId];return S?{...Y,[T.payload.conversationId]:S.map(V=>V.messageId!==T.payload.messageId?V:{...V,status:Ja.qp.Failed})}:Y}case Lr.dN.ResendMessage:{const S=Y[T.payload.conversationId];return S?{...Y,[T.payload.conversationId]:S.map(V=>V.messageId!==T.payload.messageId?V:{...V,status:Ja.qp.Pending})}:Y}case Kd.wI.IdentityChanged:return{};default:return Y}},enteredMessage:zr.bv};var Md=g(48219);let Yd=(()=>{class Y extends Tl.P{documentService=(0,C.WQX)(Md.D);getUserDocuments(S){return this.documentService.requestDocuments(S)}
3getDocumentThumbnail(S,V){return this.documentService.getThumbnail(V,S)}getAggregatedUserDocumentUrl(S,V){return this.documentService.getAggregatePdfUrl(V,S)}static \u0275fac=(()=>{let S;return function(ce){return(S||(S=C.xGo(Y)))(ce||Y)}})();static \u0275prov=C.jDH({token:Y,factory:Y.\u0275fac})}return Y})();var Ol=g(22332),ah=g(43834);let qd=(()=>{class Y extends hr.H{subscribeOnEvents(){super.subscribeOnEvents(),this.onEventsSubscription.add(this.onConversationCreated())}onConversationCreated(){return this.socket.on$(ah.y.CONVERSATION_CREATED).pipe((0,La.M)(S=>this.store.dispatch(new rs.FV(S)))).subscribe()}static \u0275fac=(()=>{let S;return function(ce){return(S||(S=C.xGo(Y)))(ce||Y)}})();static \u0275prov=C.jDH({token:Y,factory:Y.\u0275fac})}return Y})(),zu=(()=>{class Y{static \u0275fac=function(V){return new(V||Y)};static \u0275mod=C.$C({type:Y});static \u0275inj=C.G2t({providers:[{provide:Gc.wQ,useFactory:()=>Ao.c.chatUri},{provide:Gc.h4,useFactory:()=>Ao.c.chatSocketPath},{provide:Gc.f1,useFactory:()=>Ao.c.chatServerReconnectTimeout},Ol.m,$a,Mo.f,{provide:vl.T,useExisting:Ol.m},{provide:hr.H,useClass:qd},{provide:Tl.P,useClass:Yd},{provide:_u.R,useClass:Kl}],imports:[ks.iI,ju,cs.md.forFeature("chat",Kc),ci.Vm.forFeature([Wl,nr,Gl,vu,Zo._,uc,ld])]})}return Y})();var Qd=g(64959);let Fl=(()=>{class Y{static \u0275fac=function(V){return new(V||Y)};static \u0275mod=C.$C({type:Y});static \u0275inj=C.G2t({imports:[a.MD,As.o,Ft.U,Qd.i]})}return Y})();var Jo=g(56106),wl=g(97752),ud=g(82689),Nc=g(72369);let tc=(()=>{class Y{static \u0275fac=function(V){return new(V||Y)};static \u0275mod=C.$C({type:Y});static \u0275inj=C.G2t({imports:[a.MD,Jo.YN,Jo.X1,As.o,wl.i,ud.ih,Ft.U,$t.tm,Nc.U]})}return Y})();var Zd=g(85618),Jd=g(60352),ch=g(12024);let eu=(()=>{class Y{static \u0275fac=function(V){return new(V||Y)};static \u0275mod=C.$C({type:Y});static \u0275inj=C.G2t({imports:[a.MD,Jo.X1,As.o,Ft.U,Zd.VM,Jd.j,ch.a]})}return Y})();var wu=g(30045),Ad=g(48476),tu=g(26822);let Yl=(()=>{class Y{static \u0275fac=function(V){return new(V||Y)};static \u0275mod=C.$C({type:Y});static \u0275inj=C.G2t({imports:[a.MD,Jo.X1,As.o,Ft.U,$t.tm,Ad.x,wu.q,tu.S]})}return Y})();var Td=g(2479),hd=g(79463),ql=g(31840);function nu(){return Ao.c.authAppUri}function Od(){return Ao.c.production}function Cu(){return Ao.c.phpBackendServicesUri}let iu=(()=>{class Y{static \u0275fac=function(V){return new(V||Y)};static \u0275mod=C.$C({type:Y});static \u0275inj=C.G2t({providers:[{provide:Kn.Jc,useFactory:nu},{provide:ht.Ic,useFactory:nu},{provide:Kn.Zu,useValue:ht.FY},{provide:Kn.p8,useFactory:Od},{provide:Kn.rA,useFactory:Cu},{provide:Kn.IN,useValue:Kn.SQ},Br.Kc,Br.By,Br.n$,tr.p],imports:[Ke.CH]})}return Y})();var Cc=g(62274);let Ea=(()=>{class Y{static \u0275fac=function(V){return new(V||Y)};static \u0275mod=C.$C({type:Y});static \u0275inj=C.G2t({imports:[a.MD,As.o,Ft.U,Zd.VM,$t.tm,Cc.G]})}return Y})();var Pl=g(69131),eo=g(24892);let Il=(()=>{class Y{setActiveProfileId$=(0,ci.EH)((S=(0,C.WQX)(ci.En),V=(0,C.WQX)(Br.n$))=>S.pipe((0,ci.gp)(Bi.AZ),(0,La.M)(ce=>{V.setItem(Ao.c.tokenTitles.currentProfile,ce.profile_id)})),{dispatch:!1});fetchOpenedTodosByProfile$=(0,ci.EH)((S=(0,C.WQX)(ci.En),V=(0,C.WQX)(ql.y))=>S.pipe((0,ci.gp)(Bi.Lo),(0,ja.n)(ce=>V.fetchOpenedTodosCountForAccount(ce.payload.accountId).pipe((0,Rr.T)(je=>new Bi.cL(je))))));fetchTodos$=(0,ci.EH)((S=(0,C.WQX)(ci.En),V=(0,C.WQX)(ql.y))=>S.pipe((0,ci.gp)(Bi.nV),(0,ja.n)(ce=>V.fetchTodos(ce.payload.profileId).pipe((0,Rr.T)(je=>new Bi.$w(je))))));fetchUnreadMessagesCount$=(0,ci.EH)((S=(0,C.WQX)(ci.En),V=(0,C.WQX)(Ol.m))=>S.pipe((0,ci.gp)(Bi.Km),(0,ja.n)(()=>V.setUnreadChatMessages().pipe((0,Rr.T)(ce=>new Bi.ZL({active:ce.unreadMessagesCount,archived:ce.unreadArchivedMessagesCount,total:ce.unreadMessagesCount+ce.unreadArchivedMessagesCount}))))));static \u0275fac=function(V){return new(V||Y)};static \u0275prov=C.jDH({token:Y,factory:Y.\u0275fac})}return Y})();const nc={profiles:void 0,activeProfileId:void 0,todos:null,openedTodosCount:0,openedTodosByProfile:{},unreadMessagesCount:{active:0,archived:0,total:0}};var Ec=g(46904);let Qi=(()=>{class Y{static \u0275fac=function(V){return new(V||Y)};static \u0275mod=C.$C({type:Y});static \u0275inj=C.G2t({imports:[a.MD,As.o,Ft.U,Ec.K]})}return Y})();(0,a.EO)(P),Ao.c.production&&(0,C.SmG)(),(0,B.B8)(ol,{providers:[(0,C.oKB)(B.Bb,cs.md.forRoot({}),ci.Vm.forRoot([]),ve.instrument({maxAge:25,connectInZone:!0}
3),cs.md.forFeature("web-app",function dl(Y=nc,T){switch(T.type){case Bi.o2:return{...Y,profiles:T.profiles};case Bi.AZ:return{...Y,activeProfileId:T.profile_id};case Bi.ab:if(!Y.profiles||!Y.profiles.find(ce=>ce.profile_id===T.profile_id))return Y;const S=Y.profiles.findIndex(ce=>ce.profile_id===T.profile_id),V=[...Y.profiles];return V[S]={...V[S],...T.update},{...Y,profiles:V};case Bi.Wy:return{...Y,openedTodosByProfile:T.response,openedTodosCount:Object.values(T.response).reduce((ce,je)=>ce+je,0)};case Bi.Cz:return{...Y,todos:T.response};case Bi.ig:return{...Y,unreadMessagesCount:T.payload};default:return Y}}),ci.Vm.forFeature([Il]),iu,Us,zu,ee.xy.forRoot(),Yl,tc,eu,Qi,Fl,ye.mt,Ea,Vc.JL),{provide:C.xe9,useValue:"de-DE"},{provide:Kn.CY,useFactory:()=>Ao.c.websiteUri},{provide:Kn.uR,useFactory:()=>Ao.c.healthXServiceUrl},{provide:Kn.bx,useFactory:()=>Ao.c.freemiumServiceUrl},{provide:Kn.f4,useFactory:()=>Ao.c.googleMapsApiKey},{provide:Kn.Nd,useFactory:()=>Ao.c.firebaseConfig},{provide:Kn.uH,useFactory:()=>Ao.c.app.environment},{provide:Kn.oO,useFactory:()=>Ao.c.app.url},{provide:Kn.hl,useFactory:()=>Ao.c.app.version},{provide:Kn.v0,useFactory:()=>Ao.c.app.tag},{provide:Kn.jf,useFactory:Br.Jk,deps:[C.Agw]},Br.Kc,tr.p,Pl.k,Mo.f,jo.BrowserDetectionService,Br.kT,eo.p,Md.D,ql.y,hd.$,Td.G,...(0,Br.Dv)({dsn:Ao.c.sentryDsn,environment:Ao.c.app.environment,release:Ao.c.app.version,ignoreErrors:["Non-Error promise rejection captured"],beforeSend:Y=>(Y.exception?.values?.some(T=>"ChunkLoadError"===T.type||T.value?.includes("ChunkLoadError"))&&(Y.level=Br.DZ.Info),Y)}),function Aa({versionUrl:Y,releaseNotesUrl:T}={}){return(0,C.EmA)([qa,Br.sj,{provide:Kn.Xp,useValue:Y},{provide:Kn.CP,useValue:T}])}(),(0,h.$R)((0,h.Sx)(),(0,h.b$)([(Y,T)=>{const S=Y.headers.has("Accept-Language"),ce=[(0,C.WQX)(Kn.rA),(0,C.WQX)(Kn.bx)].some(Ct=>Y.url.startsWith(Ct));if(S||!ce)return T(Y);const je=(0,C.WQX)(C.xe9)||"de-DE";return T(Y.clone({setHeaders:{"Accept-Language":je}}))}])),function xc(){return(0,C.ngT)("NgEagerAnimations"),[...Uc]}()]})},52182:(st,Q,g)=>{"use strict";g.d(Q,{e:()=>a});var a=function(h){return h.VisaUpload="visa_upload",h.IncompleteClaimableDocument="incomplete_claimable_document",h.EnrollmentProof="enrollment_proof",h.CategoryStudentExpiryDate="category_student_expiry_date",h.CategoryCivilServantApplicantExpiryDate="category_civil_servant_applicant_expiry_date",h.OcrHintUpload="ocr_hint_upload",h.Proposal="proposal",h.Rating="rating",h.Upsell="upsell",h.Certificate="certificate",h.ClaimSettlementDays="claim_settlement_days",h}(a||{})},59643:(st,Q,g)=>{"use strict";g.d(Q,{CH:()=>ke,x6:()=>Se,r7:()=>A});var a=g(58527),h=g(66990),H=g(61177),z=g(8713);new a.nKC("ALLOWED_REDIRECT_APPS");const q="redirect";let A=(()=>{class Ve{authAppUri=(0,a.WQX)(h.Jc,{optional:!0});appDomain=(0,a.WQX)(h.iy,{optional:!0});appName=(0,a.WQX)(h.Zu,{optional:!0});storageService=(0,a.WQX)(H.n$);window=(0,a.WQX)(h.jf);login(ge){this.storeCredentials(ge),this.window.location.href=`${this.authAppUri}/auth/login`}logout(){this.storeCredentials(),this.window.location.href=`${this.authAppUri}/auth/logout`}loginWithReturnUrl(ge){const Pe=this.buildParamsWithRedirectUrl(ge);this.window.location.href=`${this.authAppUri}/auth/login?${Pe}`}logoutWithReturnUrl(ge){const Pe=this.buildParamsWithRedirectUrl(ge);this.window.location.href=`${this.authAppUri}/auth/logout?${Pe}`}getCredentials(){return this.storageService.getItem(q)}removeCredentials(){this.storageService.removeItem(q,this.appDomain)}register(){this.window.location.href=`${this.authAppUri}/registration/email`}verifyRegistration(ge){this.window.location.href=`${this.authAppUri}/registration/email-verification?registration_id=${ge}`}storeCredentials(ge){this.storageService.setItem(q,{redirectUri:ge,redirectApp:this.appName},this.appDomain)}buildParamsWithRedirectUrl(ge){const Pe=new URLSearchParams;return Pe.set("redirect_url",ge),Pe.toString()}static \u0275fac=function(Pe){return new(Pe||Ve)};static \u0275prov=a.jDH({token:Ve,factory:Ve.\u0275fac})}return Ve})();var X=g(61142),R=g(94485),ne=g(65377),se=g(83485),_e=g(6663),le=g(17796),Re=g(85687),Le=g(78374),Ie=g(21252),xe=g(60494),Te=g(56731),Ne=g(66853),he=g(80560),Me=g(84975),ct=g(15463);let Se=(()=>{class Ve{apiCredentialsToken;otpToken;privateApiUrl;publicApiUrl;isRefreshInProgress=!1;
3refreshSubject=new se.t(null);jwtService=(0,a.WQX)(z.bT);http=(0,a.WQX)(R.Qq);tokenService=(0,a.WQX)(H.By);location=(0,a.WQX)(X.aZ,{optional:!0});router=(0,a.WQX)(ne.Ix,{optional:!0});publicFallbackUri=(0,a.WQX)(z.Ic);document=(0,a.WQX)(X.qQ);useThirdPartyCookies=(0,a.WQX)(z.VY,{optional:!0});apiUrl=(0,a.WQX)(h.rA);constructor(){this.privateApiUrl=`${this.apiUrl}/auth/customer`,this.publicApiUrl=`${this.apiUrl}/auth/otto`}getRealm(){return"accounts"}isAgentAuth(){return!1}isAuthorized(){return this.getAccessTokenObservable().pipe((0,_e.T)(Boolean))}getAccessToken(){return(0,le.of)(this.tokenService.retrieveAccessToken())}getAccessTokenObservable(){return this.tokenService.accessToken}upsertTokens(ge,Pe){this.tokenService.createTokens(ge,Pe)}refreshToken(){if(this.isRefreshInProgress)return this.refreshSubject.pipe((0,Re.p)(Pe=>null!==Pe),(0,Le.s)(1));this.isRefreshInProgress=!0,this.refreshSubject.next(null);const ge=this.tokenService.retrieveRefreshToken();return ge?this.http.post(`${this.publicApiUrl}/accounts/refreshed-api-credentials`,{refresh_token:ge}).pipe((0,Ie.M)(Pe=>{this.tokenService.updateTokens(Pe.access_token,Pe.refresh_token,!!this.useThirdPartyCookies),this.refreshSubject.next(Pe.access_token)}),(0,_e.T)(Pe=>Pe.access_token),(0,xe.W)(Pe=>(this.refreshSubject.next(null),this.handleRefreshError(Pe))),(0,Te.j)(()=>this.isRefreshInProgress=!1),(0,Ne.t)(1)):(this.isRefreshInProgress=!1,this.throwRefreshTokenError())}refreshShouldHappen(ge){if(!ge.error)return!1;let Pe={};if("string"==typeof ge.error)try{Pe=JSON.parse(ge.error).error}catch{}else if(ge.error instanceof ArrayBuffer){const bt=(0,z.GY)(ge.error);try{Pe=JSON.parse(bt).error}catch{}}else ge.error instanceof Blob&&401===ge.status?Pe={code:10001}:ge.error.error&&(Pe=ge.error.error);return 401===ge.status&&[10001,10002,10003].includes(Pe.code||0)}verifyTokenRequest(ge){return ge.endsWith("refreshed-api-credentials")}login(ge,Pe){return this.http.post(`${this.publicApiUrl}/accounts/api-credentials`,{email:ge,password:Pe}).pipe((0,Ie.M)(He=>this.apiCredentialsToken=He.api_credentials_token))}resendOtp(ge){return this.http.post(`${this.publicApiUrl}/accounts/api-credentials/${this.apiCredentialsToken}/verification-codes`,{delivery_channel:ge})}verifyOtp(ge){const Pe=new R.Lr({"X-ON-VERIFICATION-CODE":ge});return this.apiCredentialsToken?this.http.get(`${this.publicApiUrl}/accounts/api-credentials/${this.apiCredentialsToken}`,{headers:Pe}).pipe((0,Ie.M)(He=>this.createTokens(He.access_token,He.refresh_token))):(this.redirectAway(),he.w)}getUserIdFromAccessToken(ge){return this.jwtService.decode(ge)?.sub}getEmailFromAccessToken(ge){return this.jwtService.decode(ge)?.email}requestPasswordRestoration(ge){return this.http.post(`${this.publicApiUrl}/password-reset/send-reset-mail`,{email:ge})}setPassword(ge,Pe){return this.verifyResetPasswordToken(ge).pipe((0,Me.n)(()=>this.http.post(`${this.publicApiUrl}/password-reset/set-password`,{password:Pe,email_token:ge})),(0,Ie.M)(He=>this.otpToken=He.otp_token))}resendResetOtp(){return this.http.post(`${this.publicApiUrl}/otp-resend`,{otp_token:this.otpToken}).pipe((0,Ie.M)(ge=>this.otpToken=ge.otp_token))}verifyResetPasswordOtp(ge){return this.http.post(`${this.publicApiUrl}/password-reset/otp-confirm`,{otp_token:this.otpToken,otp_value:ge}).pipe((0,Ie.M)(()=>this.apiCredentialsToken=null))}createTokens(ge,Pe){this.tokenService.createTokens(ge,Pe,!!this.useThirdPartyCookies),this.apiCredentialsToken=null}logout(){this.tokenService.removeTokens()}verifyResetPasswordToken(ge){return this.http.post(`${this.publicApiUrl}/password-reset/verify-token`,{email_token:ge})}updatePassword(ge,Pe){return this.http.post(`${this.privateApiUrl}/update-password`,{current_password:ge,new_password:Pe})}redirectAway(){this.router.navigateByUrl(this.publicFallbackUri)}navigate(ge){ge.startsWith("http")?this.document.location.href=ge:this.router.navigateByUrl(ge)}throwRefreshTokenError(ge){return this.tokenService.removeTokens(),this.router&&this.location&&this.redirectAway(),(0,ct.$)(()=>ge??new Error("Refresh token is not found or expired."))}isRecoverableError(ge){return ge instanceof R.yz&&(0===ge.status||408===ge.status||429===ge.status||ge.status>=500&&ge.status<=599)}handleRefreshError(ge){return this.isRecoverableError(ge)?(0,ct.$)(()=>ge):this.throwRefreshTokenError(ge)}static \u0275fac=function(Pe){return new(Pe||Ve)};static \u0275prov=a.jDH({token:Ve,factory:Ve.\u0275fac})}return Ve})(),ke=(()=>{class Ve{static \u0275fac=function(Pe){return new(Pe||Ve)};static \u0275mod=a.$C({type:Ve});static \u0275inj=a.G2t({providers:[A,{provide:z.Bf,useExisting:Se},{provide:z.Dp,useExisting:Se},A,Se],imports:[z.r]})}return Ve})()},8713:(st,Q,g)=>{"use strict";g.d(Q,{Bf:()=>se,r:()=>xe,Dp:()=>Ne,bT:()=>ne,Ic:()=>_e,fT:()=>yt,VY:()=>Re,FY:()=>he,GY:()=>ke,OA:()=>Ze});var a=g(94485),h=g(58527),H=g(66990);let z=(()=>{class ge{auditLog=(0,h.WQX)(H.bd,{optional:!0});thirdPartyUrls=[];constructor(){this.auditLog?.uri&&this.thirdPartyUrls.push(this.auditLog.uri)}intercept(He,bt){return this.thirdPartyUrls.some(Yt=>He.url.includes(Yt))||He.headers.has("X-ON-CORRELATION-ID")?bt.handle(He):bt.handle(He.clone({setHeaders:{"X-ON-CORRELATION-ID":crypto.randomUUID()}}))}static \u0275fac=function(bt){return new(bt||ge)}
3;static \u0275prov=h.jDH({token:ge,factory:ge.\u0275fac})}return ge})();var P=g(77392),C=g(84975),B=g(17796),_=g(60494),q=g(15463),A=g(6663),X=g(46891),R=g(85837);let ne=(()=>{class ge{decode(He){try{return(0,R.s)(He)}catch{return null}}static \u0275fac=function(bt){return new(bt||ge)};static \u0275prov=h.jDH({token:ge,factory:ge.\u0275fac})}return ge})();const se=new h.nKC("AUTH_SERVICE"),_e=new h.nKC("PUBLIC_FALLBACK_PAGE_URI"),le=new h.nKC("PROTECTED_FALLBACK_PAGE_URI"),Re=new h.nKC("USE_THIRD_PARTY_COOKIES");new h.nKC("REDIRECT_URL");let Ie=(()=>{class ge{injector=(0,h.WQX)(h.zZn);refreshInProgress=!1;refreshSubject=new P.B;jwtService=(0,h.WQX)(ne);intercept(He,bt){return this.skipRequest(He)?bt.handle(He):this.processIntercept(He,bt)}processIntercept(He,bt){const Yt=He.clone(),sn=this.injector.get(se);return sn.getAccessToken().pipe((0,C.n)(ft=>ft&&this.getExpirationTimeInSeconds(ft)<=10?sn.refreshToken():(0,B.of)(!0)),(0,C.n)(()=>this.request(Yt).pipe((0,C.n)(ft=>bt.handle(ft)),(0,_.W)(ft=>this.responseError(Yt,ft)))))}getExpirationTimeInSeconds(He){return(1e3*(this.jwtService.decode(He)?.exp??0)-(new Date).getTime())/1e3}request(He){return this.refreshInProgress?this.delayRequest(He):this.addToken(He)}responseError(He,bt){const Yt=this.injector.get(se),sn=Yt.refreshShouldHappen(bt,He);return sn&&!this.refreshInProgress&&(this.refreshInProgress=!0,Yt.refreshToken().subscribe({next:()=>{this.refreshInProgress=!1,this.refreshSubject.next(!0)},error:()=>{this.refreshInProgress=!1,this.refreshSubject.next(!1)}})),sn&&this.refreshInProgress?this.retryRequest(He,bt):(0,q.$)(bt)}addToken(He){const bt=this.injector.get(se);return bt.getAccessToken().pipe((0,A.T)(Yt=>{if(Yt){let sn;return sn="function"==typeof bt.getHeaders?bt.getHeaders(Yt):{Authorization:`Bearer ${Yt}`},He.clone({setHeaders:sn})}return He}),(0,X.$)())}delayRequest(He){return this.refreshSubject.pipe((0,X.$)(),(0,C.n)(bt=>bt?this.addToken(He):(0,q.$)(He)))}retryRequest(He,bt){const Yt=this.injector.get(a.Qq);return this.refreshSubject.pipe((0,X.$)(),(0,C.n)(sn=>sn?Yt.request(He):(0,q.$)(bt||He)))}skipRequest(He){const bt=this.exec("skipRequest",He),Yt=this.exec("verifyRefreshToken",He),sn=this.exec("verifyTokenRequest",He.url);return bt||Yt||sn}exec(He,...bt){const Yt=this.injector.get(se);if("function"==typeof Yt[He])return Yt[He](...bt)}static \u0275fac=function(bt){return new(bt||ge)};static \u0275prov=h.jDH({token:ge,factory:ge.\u0275fac})}return ge})(),xe=(()=>{class ge{static \u0275fac=function(bt){return new(bt||ge)};static \u0275mod=h.$C({type:ge});static \u0275inj=h.G2t({providers:[ne,{provide:a.a7,useClass:z,multi:!0},{provide:a.a7,useClass:Ie,multi:!0},{provide:le,useValue:"/"},{provide:_e,useValue:"/login"}]})}return ge})(),Ne=(()=>{class ge{static \u0275fac=function(bt){return new(bt||ge)};static \u0275prov=h.jDH({token:ge,factory:ge.\u0275fac,providedIn:"root"})}return ge})();const he="web-app",yt="signup-app";var Se=g(70650);function ke(ge){return String.fromCodePoint(...new Uint8Array(ge))}function Ze(ge,Pe){const He=function(){var bt=(0,Se.A)(function*(Yt){Yt.deleted.map(ft=>ft.name).filter(ft=>!!ft).some(ft=>[ge.access,ge.refresh].includes(ft))&&(yield Pe())});return function(sn){return bt.apply(this,arguments)}}();return"cookieStore"in window?(window.cookieStore.addEventListener("change",He),()=>window.cookieStore.removeEventListener("change",He)):()=>{}}},81930:(st,Q,g)=>{"use strict";g.d(Q,{Z:()=>z});var a=g(58527),h=g(51376);const H=["*"];let z=(()=>{class P{type=(0,a.hFB)(h.vTj.Primary);textCentered=(0,a.hFB)(!1);dataCy=(0,a.hFB)("");static \u0275fac=function(_){return new(_||P)};static \u0275cmp=a.VBU({type:P,selectors:[["frontend-alert-inline"]],inputs:{type:[1,"type"],textCentered:[1,"textCentered"],dataCy:[1,"dataCy"]},standalone:!0,features:[a.aNF],ngContentSelectors:H,decls:2,vars:5,consts:[[1,"alert","block"]],template:function(_,q){1&_&&(a.NAR(),a.j41(0,"div",0),a.SdG(1),a.k0s()),2&_&&(a.HbH(q.type()),a.AVh("text-centered",q.textCentered()),a.BMQ("data-cy",q.dataCy()))},styles:['[_ngcontent-%COMP%]:root, [_nghost-%COMP%]{--business-primary: #2c6fd1;--business-secondary: #21bbfe;--first-primary: #352f64;--first-secondary: #415197;--economy-primary: #8063e1;--economy-secondary: #bd7be8;--premium-economy-primary: #3f58e3;--premium-economy-secondary: #7f94fc;--exclusive-flex-primary: #052d5e;--exclusive-flex-secondary: #07428b;--exclusive-garant-primary: #0c4a9a;--exclusive-garant-secondary: #005ea8;--expats-primary: #40b2c0;--expats-secondary: #51dbc0;--study-free-primary: #052d5e;--study-free-secondary: #07428b;--study-protect-primary: #0c4a9a;--study-protect-secondary: #005ea8;--freemium-primary: #667093;--freemium-secondary: #999fb7;--clinic-zweibett-primary: #3db88d;--clinic-zweibett-secondary: #b7f5ab;--clinic-einbett-primary: #207f7a;--clinic-einbett-secondary: #44b898;--dental-70-primary: #3abfd5;--dental-70-secondary: #a5e5dd;--dental-85-primary: #677eeb;--dental-85-secondary: #b5bef0;--primary: #0077ff;--primary-contrast: #0070f0;--primary-darker: #006be6;--primary-contrast-darker: #0065d8;--primary-light: #99c9ff;--primary-pale: #f2f8ff;--primary-110: #0066db;--primary-80: #3392ff;--primary-contrast-80: #338df3;--primary-60: #66adff;--primary-contrast-60: #66a9f6;--primary-40: #99c9ff;--primary-20: #cce4ff;--primary-10: #e6f1ff;--primary-05: #f2f8ff;--primary-02: #fafcff;--black: #000000;--white: #ffffff;--overlay-light: rgba(0, 16, 75, .4);--overlay-dark: rgba(0, 0, 0, .4);--sec-light-100: #00104b;--sec-light-90: #1a285d;--sec-light-80: #33406f;--sec-light-60: #667093;--sec-light-40: #999fb7;--sec-light-20: #cccfdb;--sec-light-10: #e6e7ed;--sec-light-05: #f2f3f6;--sec-light-02: #fafafb;--dark: #00104b;--dark-80: #33406f;--dark-60: #667093;--dark-40: #999fb7;--dark-20: #cccfdb;--dark-10: #e6e7ed;--dark-05: #f2f3f6;--dark-02: #fafafb;--sec-dark-00: #181a20;--sec-dark-80: #e5e6eb;--sec-dark-60: #aab0c0;--sec-dark-40: #717993;--sec-dark-20: #44495a;--sec-dark-10: #2e323d;--sec-dark-05: #23262f;--sec-dark-02: #1c1f26;--night: #181a20;--night-98: #1c1f26;--night-95: #23262f;--night-90: #2e323d;--night-80: #44495a;--night-60: #717993;--night-40: #aab0c0;--night-20: #e5e6eb;--black-pure: #000000;--white-pure: #ffffff;--overlay: rgba(0, 16, 75, .4);--sand: #ffedd3;--sand-80: #fff1dc;--sand-60: #fff4e5;--sand-40: #fff8ed;--sand-20: #fffbf6;--cyan: #20c2e0;--cyan-80: #4dcee6;--cyan-60: #79daec;--cyan-40: #a6e7f3;--cyan-20: #d2f3f9;--green: #0dbd83;--green-contrast: #09865d;--success: #0dbd83;--success-contrast: #09865d;--success-darker: #0caa76;--success-contrast-darker: #087954;--success-bright: #3dca9c;--success-light: #ecfaf5;--success-shadow: #cff2e6;--red: #ff5252;--red-contrast: #eb0000;--error: #ff5252;--error-contrast: #eb0000;--danger: #ff5252;--danger-contrast: #eb0000;--danger-darker: #e64a4a;--danger-contrast-darker: #d40000;--danger-bright: #ff7575;--danger-light: #fff1f1;
3--danger-shadow: #ffdcdc;--purple: #7263d0;--info: #7263d0;--info-darker: #6759bb;--info-bright: #8e82d9;--info-light: #f4f3fb;--info-shadow: #e3e0f6;--orange: #ffa600;--warning: #ffa600;--warning-darker: #e69500;--warning-bright: #ffb833;--warning-light: #fff8eb;--warning-shadow: #ffedcc;--pink: #f65c96;--pink-contrast: #e80d5f;--pink-darker: #dd5387;--pink-contrast-darker: #d10c56;--pink-bright: #f87dab;--pink-light: #fef2f7;--pink-shadow: #fddeea;--yellow: #fecf02;--yellow-contrast: #9f661e;--payback: #0046aa;--healthx: #151b36;--satisfaction-strong: #a38247;--satisfaction-shadow: #ede4d3;--expats-shadow: #b3ede5;--pastel-sky: #cce4ff;--pastel-rose: #ffdcdc;--pastel-mint: #cff2e6;--pastel-lemon: #fff5cc;--pastel-purple: #e2dffb;--pastel-sand: #ebe1d3;--primary-rgb: 0, 119, 255;--cyan-rgb: 32, 194, 224;--green-rgb: 13, 189, 131;--red-rgb: 255, 82, 82;--orange-rgb: 255, 166, 0;--dark-rgb: 0, 16, 75;--dark-10-rgb: 230, 231, 237;--gray-dark-rgb: 51, 64, 111;--gray-lighter-rgb: 204, 207, 219;--comprehensive: #0077ff;--comprehensive-dark: #006be6;--comprehensive-darker: #005fcc;--comprehensive-darkest: #004799;--comprehensive-light: #b3d6ff;--comprehensive-pale: #e6f1ff;--first: #404a8d;--first-dark: #3a437f;--first-darker: #333b71;--first-darkest: #262c55;--first-light: #c6c9dd;--first-pale: #ecedf4;--business: #009cfe;--business-dark: #008ce5;--business-darker: #007dcb;--business-darkest: #005e98;--business-light: #b3e1ff;--business-pale: #e6f5ff;--economy: #905aca;--economy-dark: #8251b6;--economy-darker: #7348a2;--economy-darkest: #563679;--economy-light: #deceef;--economy-pale: #f4effa;--premium-economy: #6e7fed;--premium-economy-dark: #6372d5;--premium-economy-darker: #5866be;--premium-economy-darkest: #424c8e;--premium-economy-light: #d4d9fa;--premium-economy-pale: #f1f2fd;--civil: #8b50ff;--civil-dark: #7d48e6;--civil-darker: #6f40cc;--civil-darkest: #533099;--civil-light: #dccbff;--civil-pale: #f3eeff;--exclusive: #063773;--exclusive-dark: #053268;--exclusive-darker: #052c5c;--exclusive-darkest: #042145;--exclusive-light: #b4c3d5;--exclusive-pale: #e6ebf1;--expats: #00c2a9;--expats-dark: #00af98;--expats-darker: #009b87;--expats-darkest: #007465;--expats-light: #b3ede5;--expats-pale: #e6f9f6;--dental: #00bcdc;--dental-dark: #00a9c6;--dental-darker: #0096b0;--dental-darkest: #007184;--dental-light: #b3ebf5;--dental-pale: #e6f8fc;--company: #e09c1f;--company-dark: #ca8c1c;--company-darker: #b37d19;--company-darkest: #865e13;--company-light: #f6e1bc;--company-pale: #fcf5e9;--dental-70: #5eccd7;--dental-70-dark: #55b8c2;--dental-70-darker: #4ba3ac;--dental-70-darkest: #387a81;--dental-70-light: #cff0f3;--dental-70-pale: #effafb;--dental-85: #677eeb;--dental-85-dark: #5d71d4;--dental-85-darker: #5265bc;--dental-85-darkest: #3e4c8d;--dental-85-light: #d1d8f9;--dental-85-pale: #f0f2fd;--clinic: #3db88d;--clinic-dark: #37a67f;--clinic-darker: #319371;--clinic-darkest: #256e55;--clinic-light: #c5eadd;--clinic-pale: #ecf8f4;--zweibett: #55c291;--zweibett-dark: #4daf83;--zweibett-darker: #449b74;--zweibett-darkest: #337457;--zweibett-light: #ccedde;--zweibett-pale: #eef9f4;--einbett: #319884;--einbett-dark: #2c8977;--einbett-darker: #277a6a;--einbett-darkest: #1d5b4f;--einbett-light: #c1e0da;--einbett-pale: #eaf5f3;--satisfaction: #c2a46d;--satisfaction-dark: #af9462;--satisfaction-darker: #9b8357;--satisfaction-darkest: #746241;--satisfaction-light: #ede4d3;--satisfaction-pale: #f9f6f0;--study-free: #052d5e;--study-free-dark: #052955;--study-free-darker: #04244b;--study-free-darkest: #031b38;--study-free-light: #b4c0cf;--study-free-pale: #e6eaef;--study-protect: #005ea8;--study-protect-dark: #005597;--study-protect-darker: #004b86;--study-protect-darkest: #003865;--study-protect-light: #b3cfe5;--study-protect-pale: #e6eff6;--option: #5f50ff;--option-dark: #5648e6;--option-darker: #4c40cc;--option-darkest: #393099;--option-light: #cfcbff;--option-pale: #efeeff;--text-gray: #33406f;--text-gray-darker: #293359;--text-blue: #1e429f;--text-blue-darker: #18357f;--text-purple: #5521b5;--text-purple-darker: #441a91;--text-pink: #a745a3;--text-pink-darker: #863782;--text-pink-contrast: #e80d5f;--text-pink-contrast-darker: #ba0a4c;--text-green: #04543f;--text-green-darker: #034332;--text-red: #9a1c1c;--text-red-darker: #7b1616;--text-orange: #8a2c0d;--text-orange-darker: #6e230a;--text-yellow: #a3691f;--text-yellow-darker: #825419;--text-yellow-contrast: #9f661e;--text-yellow-contrast-darker: #7f5218;--text-background-gray: #f2f3f6;--text-background-gray-darker: #c2c2c5;--text-background-blue: #e1effe;--text-background-blue-darker: #b4bfcb;--text-background-purple: #edebfe;--text-background-purple-darker: #bebccb;--text-background-pink: #fee6fd;--text-background-pink-darker: #cbb8ca;--text-background-green: #def7ec;--text-background-green-darker: #b2c6bd;--text-background-red: #fde8e7;--text-background-red-darker: #cabab9;--text-background-orange: #feecdc;--text-background-orange-darker: #cbbdb0;--text-background-yellow: #fffaca;--text-background-yellow-darker: #ccc8a2;--text: var(--sec-light-60);--text-light: var(--sec-light-40);--text-lighter: var(--sec-light-20);--text-heading: var(--sec-light-100);--line: var(--sec-light-10);--border-light: var(--sec-light-10);--border: var(--sec-light-20);--border-dark: var(--sec-light-40);--border-primary: var(--primary);--border-primary-dark: var(--primary-darker);--border-error: var(--error);--border-radius-xs: 4px;--border-radius-sm: 6px;--border-radius-md: 8px;--border-radius-lg: 12px;--border-radius-xl: 16px;--disabled: var(--sec-light-02);--shadow: rgba(0, 16, 75, .15);--shadow-dark: rgba(0, 16, 75, .2);
3--box-shadow-xs: 0 1px 2px var(--shadow-dark);--box-shadow-sm: 0 2px 4px var(--shadow-dark);--box-shadow-md: 0 4px 12px var(--shadow);--box-shadow-lg: 0 8px 24px var(--shadow);--transition: all .2s ease-in-out;--focus-shadow-primary: 0 0 0 4px var(--primary-20);--focus-shadow-darker: 0 0 0 4px var(--sec-light-40);--focus-shadow-dark: 0 0 0 4px var(--sec-light-20);--focus-shadow-gray: 0 0 0 4px var(--sec-light-10);--focus-shadow-danger: 0 0 0 4px var(--danger-shadow);--focus-shadow-success: 0 0 0 4px var(--success-shadow);--focus-shadow-warning: 0 0 0 4px var(--warning-shadow);--focus-shadow-info: 0 0 0 4px var(--info-shadow);--focus-shadow-pink: 0 0 0 4px var(--pink-shadow);--focus-shadow-gold: 0 0 0 4px var(--satisfaction-shadow);--focus-shadow-expats: 0 0 0 4px var(--expats-shadow);--focus-shadow-text-primary: drop-shadow(0px 1px 3px rgba(0, 119, 255, .5));--focus-shadow-text-pink: drop-shadow(0px 1px 3px rgba(246, 92, 150, .5))}[data-theme=contrast][_ngcontent-%COMP%]   *[_ngcontent-%COMP%]{--primary: var(--primary-contrast);--primary-darker: var(--primary-contrast-darker);--success: var(--success-contrast);--success-darker: var(--success-contrast-darker);--danger: var(--danger-contrast);--danger-darker: var(--danger-contrast-darker);--pink: var(--pink-contrast);--pink-darker: var(--pink-contrast-darker);--satisfaction: var(--satisfaction-pale);--satisfaction-strong: var(--satisfaction-darkest);--yellow: var(--yellow-contrast)}.alert[_ngcontent-%COMP%]{position:relative;padding:12px 42px 12px 16px;font-size:16px;font-weight:500;line-height:22px;text-align:left;border-radius:var(--border-radius-sm);color:var(--text-blue);background:var(--text-background-blue)}@media (min-width: 768px){.alert[_ngcontent-%COMP%]{display:inline-block}}.alert.secondary[_ngcontent-%COMP%]{color:var(--text-gray);background:var(--text-background-gray)}.alert.secondary[_ngcontent-%COMP%]   .alert-close[_ngcontent-%COMP%]:focus-visible{box-shadow:var(--focus-shadow-gray)}.alert.success[_ngcontent-%COMP%]{color:var(--text-green);background:var(--text-background-green)}.alert.success[_ngcontent-%COMP%]   .alert-close[_ngcontent-%COMP%]:focus-visible{box-shadow:var(--focus-shadow-success)}.alert.danger[_ngcontent-%COMP%]{color:var(--text-red);background:var(--text-background-red)}.alert.danger[_ngcontent-%COMP%]   .alert-close[_ngcontent-%COMP%]:focus-visible{box-shadow:var(--focus-shadow-danger)}.alert.warning[_ngcontent-%COMP%]{color:var(--text-yellow);background:var(--text-background-yellow)}.alert.warning[_ngcontent-%COMP%]   .alert-close[_ngcontent-%COMP%]:focus-visible{box-shadow:var(--focus-shadow-warning)}.alert.info[_ngcontent-%COMP%]{color:var(--text-purple);background:var(--text-background-purple)}.alert.info[_ngcontent-%COMP%]   .alert-close[_ngcontent-%COMP%]:focus-visible{box-shadow:var(--focus-shadow-info)}.alert.dark[_ngcontent-%COMP%]{color:var(--white);background:var(--dark)}.alert.dark[_ngcontent-%COMP%]   .alert-close[_ngcontent-%COMP%]:focus-visible{box-shadow:var(--focus-shadow-dark)}.alert.block[_ngcontent-%COMP%]{padding:12px 12px 12px 16px;border:1px solid rgba(30,66,159,.1);border-radius:var(--border-radius-lg);display:flex;align-items:center;gap:12px}.alert.block[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%], .alert.block[_ngcontent-%COMP%]   .svg[_ngcontent-%COMP%]{flex-shrink:0}.alert.block[_ngcontent-%COMP%]   .otto-alert-block-content[_ngcontent-%COMP%]{flex-grow:1}.alert.block[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .alert.block[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]:hover{--color: currentColor;--outline: currentColor}.alert.block.secondary[_ngcontent-%COMP%]{border-color:#33406f1a}.alert.block.success[_ngcontent-%COMP%]{border-color:#04543f1a}.alert.block.danger[_ngcontent-%COMP%]{border-color:#9a1c1c1a}.alert.block.warning[_ngcontent-%COMP%]{border-color:#a3691f1a}.alert.block.info[_ngcontent-%COMP%]{border-color:#5521b51a}.alert.block.dark[_ngcontent-%COMP%]{border:none}.alert-close[_ngcontent-%COMP%]{position:absolute;right:10px;top:13px;display:inline-block;margin-left:16px;width:20px;height:20px;border:none;outline:none;background-color:transparent;color:inherit}.alert-close[_ngcontent-%COMP%]:before, .alert-close[_ngcontent-%COMP%]:after{content:"";display:block;position:absolute;
3left:2px;top:9px;width:16px;height:2px;border-radius:1px;background-color:currentColor}.alert-close[_ngcontent-%COMP%]:before{transform:rotate(-45deg)}.alert-close[_ngcontent-%COMP%]:after{transform:rotate(45deg)}.alert-close[_ngcontent-%COMP%]:focus-visible{border-radius:var(--border-radius-xs);box-shadow:var(--focus-shadow-primary)}',".text-centered[_ngcontent-%COMP%]{text-align:center}"],changeDetection:0})}return P})()},63752:(st,Q,g)=>{"use strict";g.d(Q,{Q:()=>ne});var a=g(58527),h=g(8820),H=g(51376),z=g(83658),P=g(61142),C=g(73466),B=g(41904);let _=(()=>{class se{autofocus=!0;elementRef=(0,a.WQX)(a.aKT);ngAfterViewInit(){this.autofocus&&this.elementRef.nativeElement.focus()}static \u0275fac=function(Re){return new(Re||se)};static \u0275dir=a.FsC({type:se,selectors:[["","frontendButtonAutofocus",""]],inputs:{autofocus:"autofocus"}})}return se})();const q=["*"];function A(se,_e){if(1&se&&a.nrm(0,"frontend-image",1),2&se){const le=a.XpG();a.Y8G("file",le.iconName)("stretchToContainer",!0)}}function X(se,_e){if(1&se&&a.nrm(0,"frontend-image",1),2&se){const le=a.XpG();a.AVh("icon-right",le.iconRight),a.Y8G("file",le.iconName)("stretchToContainer",!0)}}function R(se,_e){if(1&se&&a.nrm(0,"frontend-loader",3),2&se){const le=a.XpG();a.Y8G("type",le.loaderType.Validate)("size",le.componentSize.Xs)("light",le.color!==le.buttonColor.White&&!le.outlined)("done",le.loadingState===le.loadingStateEnum.Completed)}}let ne=(()=>{class se{type=z.VQ.Button;size;color;loadingState=z.Gu.NotLoading;outlined;dashed;rounded;disabled;link;wide;wideOnMobile;shine;dataCy;dataLabel;iconName;tabIndex=0;iconRight=!1;flat=!1;autofocus=!1;propagateEvent=!0;onClick=new a.bkB;componentSize=H.H7o;buttonColor=z.mq;loaderType=h.M;loadingStateEnum=z.Gu;handleClick(le){this.propagateEvent||le.stopPropagation(),this.onClick.emit(le)}static \u0275fac=function(Re){return new(Re||se)};static \u0275cmp=a.VBU({type:se,selectors:[["frontend-button"]],inputs:{type:"type",size:"size",color:"color",loadingState:"loadingState",outlined:"outlined",dashed:"dashed",rounded:"rounded",disabled:"disabled",link:"link",wide:"wide",wideOnMobile:"wideOnMobile",shine:"shine",dataCy:"dataCy",dataLabel:"dataLabel",iconName:"iconName",tabIndex:"tabIndex",iconRight:"iconRight",flat:"flat",autofocus:"autofocus",propagateEvent:"propagateEvent"},outputs:{onClick:"onClick"},ngContentSelectors:q,decls:5,vars:36,consts:[["frontendButtonAutofocus","",1,"btn",3,"click","ngClass","type","disabled","tabindex","autofocus"],["type","svg",1,"svg",3,"file","stretchToContainer"],["type","svg",1,"svg",3,"icon-right","file","stretchToContainer"],[1,"button-loader",3,"type","size","light","done"]],template:function(Re,Le){1&Re&&(a.NAR(),a.j41(0,"button",0),a.bIt("click",function(xe){return Le.handleClick(xe)}),a.DNE(1,A,1,2,"frontend-image",1),a.SdG(2),a.DNE(3,X,1,4,"frontend-image",2)(4,R,1,4,"frontend-loader",3),a.k0s()),2&Re&&(a.AVh("outline",Le.outlined)("rounded",Le.rounded)("dashed",Le.dashed)("sm",Le.size===Le.componentSize.Sm)("lg",Le.size===Le.componentSize.Lg)("xs",Le.size===Le.componentSize.Xs)("loader",Le.loadingState!==Le.loadingStateEnum.NotLoading)("link",Le.link)("noPadding",Le.link)("flat",Le.flat)("wide",Le.wide)("wide-on-mobile",Le.wideOnMobile)("shine",Le.shine),a.Y8G("ngClass",Le.color)("type",Le.type)("disabled",Le.disabled||null)("tabindex",Le.tabIndex)("autofocus",Le.autofocus),a.BMQ("data-cy",Le.dataCy)("data-label",Le.dataLabel),a.R7$(),a.vxM(Le.iconName&&!Le.iconRight?1:-1),a.R7$(2),a.vxM(Le.iconName&&Le.iconRight?3:-1),a.R7$(),a.vxM(Le.loadingState!==Le.loadingStateEnum.NotLoading?4:-1))},dependencies:[P.YU,C.h,B.V,_],styles:['[_ngcontent-%COMP%]:root, [_nghost-%COMP%]{--business-primary: #2c6fd1;--business-secondary: #21bbfe;--first-primary: #352f64;--first-secondary: #415197;--economy-primary: #8063e1;--economy-secondary: #bd7be8;--premium-economy-primary: #3f58e3;--premium-economy-secondary: #7f94fc;--exclusive-flex-primary: #052d5e;--exclusive-flex-secondary: #07428b;--exclusive-garant-primary: #0c4a9a;--exclusive-garant-secondary: #005ea8;--expats-primary: #40b2c0;--expats-secondary: #51dbc0;--study-free-primary: #052d5e;--study-free-secondary: #07428b;--study-protect-primary: #0c4a9a;--study-protect-secondary: #005ea8;--freemium-primary: #667093;--freemium-secondary: #999fb7;--clinic-zweibett-primary: #3db88d;--clinic-zweibett-secondary: #b7f5ab;--clinic-einbett-primary: #207f7a;--clinic-einbett-secondary: #44b898;--dental-70-primary: #3abfd5;--dental-70-secondary: #a5e5dd;--dental-85-primary: #677eeb;--dental-85-secondary: #b5bef0;--primary: #0077ff;--primary-contrast: #0070f0;--primary-darker: #006be6;--primary-contrast-darker: #0065d8;--primary-light: #99c9ff;--primary-pale: #f2f8ff;--primary-110: #0066db;--primary-80: #3392ff;--primary-contrast-80: #338df3;--primary-60: #66adff;--primary-contrast-60: #66a9f6;--primary-40: #99c9ff;--primary-20: #cce4ff;--primary-10: #e6f1ff;--primary-05: #f2f8ff;--primary-02: #fafcff;--black: #000000;--white: #ffffff;--overlay-light: rgba(0, 16, 75, .4);--overlay-dark: rgba(0, 0, 0, .4);--sec-light-100: #00104b;--sec-light-90: #1a285d;--sec-light-80: #33406f;--sec-light-60: #667093;--sec-light-40: #999fb7;--sec-light-20: #cccfdb;--sec-light-10: #e6e7ed;--sec-light-05: #f2f3f6;--sec-light-02: #fafafb;--dark: #00104b;--dark-80: #33406f;--dark-60: #667093;--dark-40: #999fb7;--dark-20: #cccfdb;--dark-10: #e6e7ed;--dark-05: #f2f3f6;--dark-02: #fafafb;--sec-dark-00: #181a20;--sec-dark-80: #e5e6eb;--sec-dark-60: #aab0c0;--sec-dark-40: #717993;--sec-dark-20: #44495a;--sec-dark-10: #2e323d;--sec-dark-05: #23262f;--sec-dark-02: #1c1f26;--night: #181a20;--night-98: #1c1f26;--night-95: #23262f;--night-90: #2e323d;--night-80: #44495a;--night-60: #717993;--night-40: #aab0c0;--night-20: #e5e6eb;--black-pure: #000000;--white-pure: #ffffff;--overlay: rgba(0, 16, 75, .4);--sand: #ffedd3;--sand-80: #fff1dc;--sand-60: #fff4e5;--sand-40: #fff8ed;--sand-20: #fffbf6;--cyan: #20c2e0;--cyan-80: #4dcee6;--cyan-60: #79daec;--cyan-40: #a6e7f3;--cyan-20: #d2f3f9;--green: #0dbd83;--green-contrast: #09865d;--success: #0dbd83;--success-contrast: #09865d;--success-darker: #0caa76;--success-contrast-darker: #087954;--success-bright: #3dca9c;--success-light: #ecfaf5;--success-shadow: #cff2e6;--red: #ff5252;--red-contrast: #eb0000;--error: #ff5252;--error-contrast: #eb0000;--danger: #ff5252;--danger-contrast: #eb0000;--danger-darker: #e64a4a;--danger-contrast-darker: #d40000;--danger-bright: #ff7575;--danger-light: #fff1f1;
3--danger-shadow: #ffdcdc;--purple: #7263d0;--info: #7263d0;--info-darker: #6759bb;--info-bright: #8e82d9;--info-light: #f4f3fb;--info-shadow: #e3e0f6;--orange: #ffa600;--warning: #ffa600;--warning-darker: #e69500;--warning-bright: #ffb833;--warning-light: #fff8eb;--warning-shadow: #ffedcc;--pink: #f65c96;--pink-contrast: #e80d5f;--pink-darker: #dd5387;--pink-contrast-darker: #d10c56;--pink-bright: #f87dab;--pink-light: #fef2f7;--pink-shadow: #fddeea;--yellow: #fecf02;--yellow-contrast: #9f661e;--payback: #0046aa;--healthx: #151b36;--satisfaction-strong: #a38247;--satisfaction-shadow: #ede4d3;--expats-shadow: #b3ede5;--pastel-sky: #cce4ff;--pastel-rose: #ffdcdc;--pastel-mint: #cff2e6;--pastel-lemon: #fff5cc;--pastel-purple: #e2dffb;--pastel-sand: #ebe1d3;--primary-rgb: 0, 119, 255;--cyan-rgb: 32, 194, 224;--green-rgb: 13, 189, 131;--red-rgb: 255, 82, 82;--orange-rgb: 255, 166, 0;--dark-rgb: 0, 16, 75;--dark-10-rgb: 230, 231, 237;--gray-dark-rgb: 51, 64, 111;--gray-lighter-rgb: 204, 207, 219;--comprehensive: #0077ff;--comprehensive-dark: #006be6;--comprehensive-darker: #005fcc;--comprehensive-darkest: #004799;--comprehensive-light: #b3d6ff;--comprehensive-pale: #e6f1ff;--first: #404a8d;--first-dark: #3a437f;--first-darker: #333b71;--first-darkest: #262c55;--first-light: #c6c9dd;--first-pale: #ecedf4;--business: #009cfe;--business-dark: #008ce5;--business-darker: #007dcb;--business-darkest: #005e98;--business-light: #b3e1ff;--business-pale: #e6f5ff;--economy: #905aca;--economy-dark: #8251b6;--economy-darker: #7348a2;--economy-darkest: #563679;--economy-light: #deceef;--economy-pale: #f4effa;--premium-economy: #6e7fed;--premium-economy-dark: #6372d5;--premium-economy-darker: #5866be;--premium-economy-darkest: #424c8e;--premium-economy-light: #d4d9fa;--premium-economy-pale: #f1f2fd;--civil: #8b50ff;--civil-dark: #7d48e6;--civil-darker: #6f40cc;--civil-darkest: #533099;--civil-light: #dccbff;--civil-pale: #f3eeff;--exclusive: #063773;--exclusive-dark: #053268;--exclusive-darker: #052c5c;--exclusive-darkest: #042145;--exclusive-light: #b4c3d5;--exclusive-pale: #e6ebf1;--expats: #00c2a9;--expats-dark: #00af98;--expats-darker: #009b87;--expats-darkest: #007465;--expats-light: #b3ede5;--expats-pale: #e6f9f6;--dental: #00bcdc;--dental-dark: #00a9c6;--dental-darker: #0096b0;--dental-darkest: #007184;--dental-light: #b3ebf5;--dental-pale: #e6f8fc;--company: #e09c1f;--company-dark: #ca8c1c;--company-darker: #b37d19;--company-darkest: #865e13;--company-light: #f6e1bc;--company-pale: #fcf5e9;--dental-70: #5eccd7;--dental-70-dark: #55b8c2;--dental-70-darker: #4ba3ac;--dental-70-darkest: #387a81;--dental-70-light: #cff0f3;--dental-70-pale: #effafb;--dental-85: #677eeb;--dental-85-dark: #5d71d4;--dental-85-darker: #5265bc;--dental-85-darkest: #3e4c8d;--dental-85-light: #d1d8f9;--dental-85-pale: #f0f2fd;--clinic: #3db88d;--clinic-dark: #37a67f;--clinic-darker: #319371;--clinic-darkest: #256e55;--clinic-light: #c5eadd;--clinic-pale: #ecf8f4;--zweibett: #55c291;--zweibett-dark: #4daf83;--zweibett-darker: #449b74;--zweibett-darkest: #337457;--zweibett-light: #ccedde;--zweibett-pale: #eef9f4;--einbett: #319884;--einbett-dark: #2c8977;--einbett-darker: #277a6a;--einbett-darkest: #1d5b4f;--einbett-light: #c1e0da;--einbett-pale: #eaf5f3;--satisfaction: #c2a46d;--satisfaction-dark: #af9462;--satisfaction-darker: #9b8357;--satisfaction-darkest: #746241;--satisfaction-light: #ede4d3;--satisfaction-pale: #f9f6f0;--study-free: #052d5e;--study-free-dark: #052955;--study-free-darker: #04244b;--study-free-darkest: #031b38;--study-free-light: #b4c0cf;--study-free-pale: #e6eaef;--study-protect: #005ea8;--study-protect-dark: #005597;--study-protect-darker: #004b86;--study-protect-darkest: #003865;--study-protect-light: #b3cfe5;--study-protect-pale: #e6eff6;--option: #5f50ff;--option-dark: #5648e6;--option-darker: #4c40cc;--option-darkest: #393099;--option-light: #cfcbff;--option-pale: #efeeff;--text-gray: #33406f;--text-gray-darker: #293359;--text-blue: #1e429f;--text-blue-darker: #18357f;--text-purple: #5521b5;--text-purple-darker: #441a91;--text-pink: #a745a3;--text-pink-darker: #863782;--text-pink-contrast: #e80d5f;--text-pink-contrast-darker: #ba0a4c;--text-green: #04543f;--text-green-darker: #034332;--text-red: #9a1c1c;--text-red-darker: #7b1616;--text-orange: #8a2c0d;--text-orange-darker: #6e230a;--text-yellow: #a3691f;--text-yellow-darker: #825419;--text-yellow-contrast: #9f661e;--text-yellow-contrast-darker: #7f5218;--text-background-gray: #f2f3f6;--text-background-gray-darker: #c2c2c5;--text-background-blue: #e1effe;--text-background-blue-darker: #b4bfcb;--text-background-purple: #edebfe;--text-background-purple-darker: #bebccb;--text-background-pink: #fee6fd;--text-background-pink-darker: #cbb8ca;--text-background-green: #def7ec;--text-background-green-darker: #b2c6bd;--text-background-red: #fde8e7;--text-background-red-darker: #cabab9;--text-background-orange: #feecdc;--text-background-orange-darker: #cbbdb0;--text-background-yellow: #fffaca;--text-background-yellow-darker: #ccc8a2;--text: var(--sec-light-60);--text-light: var(--sec-light-40);--text-lighter: var(--sec-light-20);--text-heading: var(--sec-light-100);--line: var(--sec-light-10);--border-light: var(--sec-light-10);--border: var(--sec-light-20);--border-dark: var(--sec-light-40);--border-primary: var(--primary);--border-primary-dark: var(--primary-darker);--border-error: var(--error);--border-radius-xs: 4px;--border-radius-sm: 6px;--border-radius-md: 8px;--border-radius-lg: 12px;--border-radius-xl: 16px;--disabled: var(--sec-light-02);--shadow: rgba(0, 16, 75, .15);--shadow-dark: rgba(0, 16, 75, .2);
3--box-shadow-xs: 0 1px 2px var(--shadow-dark);--box-shadow-sm: 0 2px 4px var(--shadow-dark);--box-shadow-md: 0 4px 12px var(--shadow);--box-shadow-lg: 0 8px 24px var(--shadow);--transition: all .2s ease-in-out;--focus-shadow-primary: 0 0 0 4px var(--primary-20);--focus-shadow-darker: 0 0 0 4px var(--sec-light-40);--focus-shadow-dark: 0 0 0 4px var(--sec-light-20);--focus-shadow-gray: 0 0 0 4px var(--sec-light-10);--focus-shadow-danger: 0 0 0 4px var(--danger-shadow);--focus-shadow-success: 0 0 0 4px var(--success-shadow);--focus-shadow-warning: 0 0 0 4px var(--warning-shadow);--focus-shadow-info: 0 0 0 4px var(--info-shadow);--focus-shadow-pink: 0 0 0 4px var(--pink-shadow);--focus-shadow-gold: 0 0 0 4px var(--satisfaction-shadow);--focus-shadow-expats: 0 0 0 4px var(--expats-shadow);--focus-shadow-text-primary: drop-shadow(0px 1px 3px rgba(0, 119, 255, .5));--focus-shadow-text-pink: drop-shadow(0px 1px 3px rgba(246, 92, 150, .5))}[data-theme=contrast][_ngcontent-%COMP%]   *[_ngcontent-%COMP%]{--primary: var(--primary-contrast);--primary-darker: var(--primary-contrast-darker);--success: var(--success-contrast);--success-darker: var(--success-contrast-darker);--danger: var(--danger-contrast);--danger-darker: var(--danger-contrast-darker);--pink: var(--pink-contrast);--pink-darker: var(--pink-contrast-darker);--satisfaction: var(--satisfaction-pale);--satisfaction-strong: var(--satisfaction-darkest);--yellow: var(--yellow-contrast)}.btn[_ngcontent-%COMP%]{--color: #fff;--background: var(--primary);--border-radius: var(--border-radius-sm);--focus-shadow: 0 0 0 4px rgba(0, 119, 255, .2);--active: var(--primary);display:inline-flex;justify-content:center;align-items:center;gap:4px;text-align:center;vertical-align:middle;touch-action:manipulation;position:relative;white-space:nowrap;border:none;padding:12px 24px;font-size:16px;line-height:24px;font-weight:700;border-radius:var(--border-radius);transition:color .2s ease-in-out,background .2s ease-in-out,opacity .2s ease-in-out,box-shadow .2s ease-in-out;
3box-shadow:var(--box-shadow-sm);transform:translateZ(0);background:var(--background);color:var(--color)}.btn.gold[_ngcontent-%COMP%]{--active: var(--satisfaction-strong)}.btn.green[_ngcontent-%COMP%], .btn.success[_ngcontent-%COMP%]{--active: var(--success)}.btn.expats[_ngcontent-%COMP%]{--active: var(--expats)}.btn.info[_ngcontent-%COMP%]{--active: var(--info)}.btn.warning[_ngcontent-%COMP%]{--active: var(--warning)}.btn.red[_ngcontent-%COMP%], .btn.danger[_ngcontent-%COMP%]{--active: var(--danger)}.btn.highlight[_ngcontent-%COMP%]{--active: var(--pink)}.btn[_ngcontent-%COMP%]:link, .btn[_ngcontent-%COMP%]:active, .btn[_ngcontent-%COMP%]:visited, .btn[_ngcontent-%COMP%]:focus{color:var(--color)}.btn[_ngcontent-%COMP%]:focus-visible{outline:3px solid var(--active);outline-offset:3px}.btn[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%], .btn[_ngcontent-%COMP%]   .svg[_ngcontent-%COMP%]{display:inline-block;width:1rem;height:1rem;vertical-align:top;position:relative;transform:translateZ(0)}.btn.comprehensive[_ngcontent-%COMP%]{--background: var(--comprehensive);--color: #fff}.btn.first[_ngcontent-%COMP%]{--background: var(--first);--color: #fff}.btn.business[_ngcontent-%COMP%]{--background: var(--business);--color: #fff}.btn.economy[_ngcontent-%COMP%]{--background: var(--economy);--color: #fff}.btn.premium-economy[_ngcontent-%COMP%]{--background: var(--premium-economy);--color: #fff}.btn.civil[_ngcontent-%COMP%]{--background: var(--civil);--color: #fff}.btn.exclusive[_ngcontent-%COMP%]{--background: var(--exclusive);--color: #fff}.btn.expats[_ngcontent-%COMP%]{--background: var(--expats);--color: #fff}.btn.dental[_ngcontent-%COMP%]{--background: var(--dental);--color: #fff}.btn.company[_ngcontent-%COMP%]{--background: var(--company);--color: #fff}.btn.dental-70[_ngcontent-%COMP%]{--background: var(--dental-70);--color: #fff}.btn.dental-85[_ngcontent-%COMP%]{--background: var(--dental-85);--color: #fff}.btn.clinic[_ngcontent-%COMP%]{--background: var(--clinic);--color: #fff}.btn.zweibett[_ngcontent-%COMP%]{--background: var(--zweibett);--color: #fff}.btn.einbett[_ngcontent-%COMP%]{--background: var(--einbett);--color: #fff}.btn.satisfaction[_ngcontent-%COMP%]{--background: var(--satisfaction);--color: #fff}.btn.study-free[_ngcontent-%COMP%]{--background: var(--study-free);--color: #fff}.btn.study-protect[_ngcontent-%COMP%]{--background: var(--study-protect);--color: #fff}.btn.option[_ngcontent-%COMP%]{--background: var(--option);--color: #fff}.btn.sm[_ngcontent-%COMP%]{--border-radius: var(--border-radius-xs);font-size:14px;padding:6px 16px}.btn.sm[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%], .btn.sm[_ngcontent-%COMP%]   .svg[_ngcontent-%COMP%]{width:.875rem;height:.875rem}.btn.lg[_ngcontent-%COMP%]{padding:16px 24px}.btn.xs[_ngcontent-%COMP%]{--border-radius: var(--border-radius-xs);font-size:14px;padding:4px 8px;line-height:19px}.btn.center[_ngcontent-%COMP%]{display:table;margin-left:auto;margin-right:auto}.btn.block[_ngcontent-%COMP%]{display:block;width:100%}.btn[_ngcontent-%COMP%]:hover:not(:disabled){--background: var(--primary-darker);color:var(--color)}.btn[_ngcontent-%COMP%]:active:not(:disabled){--background: var(--primary-darker);color:var(--color)}.btn.white[_ngcontent-%COMP%]{--background: #fff;--color: var(--primary)}.btn.white[_ngcontent-%COMP%]:hover:not(:disabled), .btn.white[_ngcontent-%COMP%]:active{--background: #fff;--color: var(--primary-darker)}.btn.white.outline[_ngcontent-%COMP%]{--color: #fff;--outline: #fff;--background: none}.btn.lightblue[_ngcontent-%COMP%]{--background: var(--primary-10);--color: var(--primary)}.btn.lightblue[_ngcontent-%COMP%]:hover:not(:disabled), .btn.lightblue[_ngcontent-%COMP%]:active{--background: var(--primary-20);--color: var(--primary-darker)}.btn.red[_ngcontent-%COMP%]{--background: var(--danger)}.btn.red[_ngcontent-%COMP%]:hover:not(:disabled), .btn.red[_ngcontent-%COMP%]:active{--background: var(--danger-darker)}.btn.green[_ngcontent-%COMP%]{--background: var(--success)}.btn.green[_ngcontent-%COMP%]:hover:not(:disabled), .btn.green[_ngcontent-%COMP%]:active{--background: var(--success-darker)}.btn.highlight[_ngcontent-%COMP%]{--background: var(--pink)}.btn.highlight[_ngcontent-%COMP%]:hover:not(:disabled), .btn.highlight[_ngcontent-%COMP%]:active{--background: var(--pink-darker)}.btn.gold[_ngcontent-%COMP%]{--background: var(--satisfaction-darker)}.btn.gold[_ngcontent-%COMP%]:hover:not(:disabled), .btn.gold[_ngcontent-%COMP%]:active{--background: var(--satisfaction-strong)}.btn.expats[_ngcontent-%COMP%]{--background: var(--expats)}.btn.expats[_ngcontent-%COMP%]:hover:not(:disabled), .btn.expats[_ngcontent-%COMP%]:active{--background: var(--expats-darker)}.btn.shine[_ngcontent-%COMP%]:not(.outline):not(.link):not(.white):not(:disabled){--shine-size: 250px;overflow:hidden}.btn.shine[_ngcontent-%COMP%]:not(.outline):not(.link):not(.white):not(:disabled):after{content:"";width:var(--shine-size);height:100%;position:absolute;top:0;transform:skew(-20deg);background-image:linear-gradient(to right,#fff0,#fff6,#fff0);animation:_ngcontent-%COMP%_btnShine 5s linear infinite}@keyframes _ngcontent-%COMP%_btnShine{0%,25%{left:calc(-1 * var(--shine-size))}45%,to{left:100%}}.btn.link[_ngcontent-%COMP%]{--background: none;--color: var(--primary);box-shadow:none}.btn.link[_ngcontent-%COMP%]:hover:not(:disabled), .btn.link[_ngcontent-%COMP%]:active:not(:disabled){--background: none;box-shadow:none}.btn.link[_ngcontent-%COMP%]:hover:not(:disabled):not(.loader), .btn.link[_ngcontent-%COMP%]:active:not(:disabled):not(.loader){color:var(--primary-darker)}.btn.link[_ngcontent-%COMP%]:focus-visible{filter:var(--focus-shadow-text-primary)}.btn.link.noPadding[_ngcontent-%COMP%]{padding:0}.btn.link[_ngcontent-%COMP%]:disabled{--color: var(--sec-light-20);--background: none;cursor:default;box-shadow:none}.btn.outline[_ngcontent-%COMP%]{--color: var(--background);--outline: var(--background);background:none;box-shadow:none}.btn.outline[_ngcontent-%COMP%]:before{content:"";top:0;left:0;width:100%;height:100%;position:absolute;z-index:0;border-radius:inherit;transition:opacity .3s ease,border .3s ease;opacity:.75;border:1px solid var(--outline)}.btn.outline[_ngcontent-%COMP%]:hover:not(:disabled), .btn.outline[_ngcontent-%COMP%]:active:not(:disabled){box-shadow:none}.btn.outline[_ngcontent-%COMP%]:hover:not(:disabled):before, .btn.outline[_ngcontent-%COMP%]:active:not(:disabled):before{opacity:1}.btn.outline.grey[_ngcontent-%COMP%]{--color: var(--sec-light-60);--outline: var(--sec-light-60)}
3.btn.outline.grey[_ngcontent-%COMP%]:hover{--outline: var(--border-dark)}.btn.outline.gold[_ngcontent-%COMP%]{--color: var(--satisfaction-darker);--outline: var(--satisfaction-darker)}.btn.outline.gold[_ngcontent-%COMP%]:hover{--outline: var(--satisfaction-strong)}.btn.outline.expats[_ngcontent-%COMP%]{--color: var(--expats);--outline: var(--expats)}.btn.outline.expats[_ngcontent-%COMP%]:hover{--outline: var(--expats-darker)}.btn.outline.dashed[_ngcontent-%COMP%]:before{border-style:dashed}.btn.outline[_ngcontent-%COMP%]:disabled{--outline: var(--sec-light-20);--color: var(--sec-light-20)}.btn.icon-right[_ngcontent-%COMP%]{justify-content:space-between}.btn.icon-right[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%], .btn.icon-right.svg[_ngcontent-%COMP%]{order:99}.btn.icon[_ngcontent-%COMP%]{--background: none;--color: var(--sec-light-60);--border-radius: var(--border-radius-sm);box-shadow:none;padding:5px;line-height:normal}.btn.icon[_ngcontent-%COMP%]:hover:not(:disabled), .btn.icon[_ngcontent-%COMP%]:active:not(:disabled){--background: var(--sec-light-05);box-shadow:none}.btn.icon[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:1.375rem;height:1.375rem;left:0;margin:0}.btn.icon.dark[_ngcontent-%COMP%]{--color: var(--sec-light-80)}.btn.icon.dark[_ngcontent-%COMP%]:hover:not(:disabled), .btn.icon.dark[_ngcontent-%COMP%]:active:not(:disabled){--background: var(--sec-light-05)}.btn.icon.light[_ngcontent-%COMP%]{--color: var(--sec-light-40)}.btn.icon.light[_ngcontent-%COMP%]:hover:not(:disabled), .btn.icon.light[_ngcontent-%COMP%]:active:not(:disabled){--background: var(--sec-light-05)}.btn.icon.primary[_ngcontent-%COMP%]{--color: var(--primary)}.btn.icon.primary[_ngcontent-%COMP%]:hover:not(:disabled), .btn.icon.primary[_ngcontent-%COMP%]:active:not(:disabled){--background: var(--primary-05)}.btn.icon.success[_ngcontent-%COMP%]{--color: var(--success)}.btn.icon.success[_ngcontent-%COMP%]:hover:not(:disabled), .btn.icon.success[_ngcontent-%COMP%]:active:not(:disabled){--background: var(--success-light)}.btn.icon.danger[_ngcontent-%COMP%]{--color: var(--danger)}.btn.icon.danger[_ngcontent-%COMP%]:hover:not(:disabled), .btn.icon.danger[_ngcontent-%COMP%]:active:not(:disabled){--background: var(--danger-light)}.btn.icon.info[_ngcontent-%COMP%]{--color: var(--info)}.btn.icon.info[_ngcontent-%COMP%]:hover:not(:disabled), .btn.icon.info[_ngcontent-%COMP%]:active:not(:disabled){--background: var(--info-light)}.btn.icon.warning[_ngcontent-%COMP%]{--color: var(--warning)}.btn.icon.warning[_ngcontent-%COMP%]:hover:not(:disabled), .btn.icon.warning[_ngcontent-%COMP%]:active:not(:disabled){--background: var(--warning-light)}.btn.icon.highlight[_ngcontent-%COMP%]{--color: var(--pink)}.btn.icon.highlight[_ngcontent-%COMP%]:hover:not(:disabled), .btn.icon.highlight[_ngcontent-%COMP%]:active:not(:disabled){--background: var(--pink-light)}.btn.icon.gold[_ngcontent-%COMP%]{--color: var(--satisfaction-darker)}.btn.icon.gold[_ngcontent-%COMP%]:hover:not(:disabled), .btn.icon.gold[_ngcontent-%COMP%]:active:not(:disabled){--background: var(--satisfaction-pale)}.btn.icon.expats[_ngcontent-%COMP%]{--color: var(--expats-darker)}.btn.icon.expats[_ngcontent-%COMP%]:hover:not(:disabled), .btn.icon.expats[_ngcontent-%COMP%]:active:not(:disabled){--background: var(--expats-pale)}.btn.icon[_ngcontent-%COMP%]:disabled{--color: var(--sec-light-20);--background: none;cursor:default}.btn.icon[_ngcontent-%COMP%]:disabled:hover:not(:disabled), .btn.icon[_ngcontent-%COMP%]:disabled:active:not(:disabled){--background: none;--color: var(--sec-light-20)}.btn.icon.white[_ngcontent-%COMP%]{--color: #fff}.btn.icon.white[_ngcontent-%COMP%]:hover:not(:disabled), .btn.icon.white[_ngcontent-%COMP%]:active:not(:disabled){--color: #fff;--background: var(--sec-dark-10) }.btn.rounded[_ngcontent-%COMP%]{--border-radius: 50px}.btn[_ngcontent-%COMP%]:disabled{--color: #fff;--background: var(--sec-light-20);cursor:default;box-shadow:none}.btn.loader[_ngcontent-%COMP%]{--color: transparent}.btn.loader[_ngcontent-%COMP%]:disabled{--color: transparent;--color-spinner: var(--sec-light-20);--color-bg: var(--sec-light-05)}.btn.loader[_ngcontent-%COMP%]   svg.otto-loader--simple[_ngcontent-%COMP%], .btn.loader[_ngcontent-%COMP%]   svg.otto-loader--validate[_ngcontent-%COMP%], .btn.loader[_ngcontent-%COMP%]   svg.otto-loader--logo[_ngcontent-%COMP%]{position:absolute;
3left:0;width:100%}.btn.wide-on-mobile[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.btn.wide-on-mobile[_ngcontent-%COMP%]{width:auto}}.btn.flat[_ngcontent-%COMP%]{box-shadow:none}[data-theme=contrast]   [_nghost-%COMP%]   .gold[_ngcontent-%COMP%]{--background: var(--satisfaction-strong)}[_nghost-%COMP%]{-webkit-appearance:none;appearance:none}.button-loader[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;display:flex;width:16px;height:16px;font-size:0;transform:translate(-50%,-50%)}.icon-right[_ngcontent-%COMP%]{margin-left:10px}.wide[_ngcontent-%COMP%]{width:100%}.btn[_ngcontent-%COMP%]{cursor:pointer}']})}return se})()},46140:(st,Q,g)=>{"use strict";g.d(Q,{mq:()=>_.mq,tm:()=>B,Gu:()=>_.Gu}),g(63752);var h=g(61142),H=g(56106),z=g(24153),P=g(8820),C=g(58527);let B=(()=>{class q{static \u0275fac=function(R){return new(R||q)};static \u0275mod=C.$C({type:q});static \u0275inj=C.G2t({imports:[h.MD,H.X1,z.U,P.iZ]})}return q})();var _=g(83658)},83658:(st,Q,g)=>{"use strict";g.d(Q,{Gu:()=>H,VQ:()=>h,mq:()=>a});var a=function(z){return z.Green="green",z.Red="red",z.White="white",z.Grey="grey",z.Highlight="highlight",z.LightBlue="lightblue",z.Gold="gold",z.Expats="expats",z}(a||{}),h=function(z){return z.Button="button",z.Submit="submit",z}(h||{}),H=function(z){return z[z.NotLoading=0]="NotLoading",z[z.Loading=1]="Loading",z[z.Completed=2]="Completed",z}(H||{})},47868:(st,Q,g)=>{"use strict";g.d(Q,{P:()=>B});var a=g(58527),h=g(56106),H=g(51376),z=g(61142);const P=["*"];function C(_,q){1&_&&(a.qSk(),a.j41(0,"svg",4),a.nrm(1,"path",5),a.k0s(),a.j41(2,"svg",6)(3,"g"),a.nrm(4,"path",7)(5,"path",8),a.k0s()())}let B=(()=>{class _{dataCy=(0,a.hFB)("");color=(0,a.hFB)();downloadable=(0,a.hFB)(!1);downloadCompleted=(0,a.hFB)(!1);wide=(0,a.hFB)(!1);tabIndex=(0,a.hFB)(0);ariaLabel=(0,a.hFB)(this.downloadable()?"Herunterladen":"Annehmen");value=(0,a.geq)(!1);disabled=(0,a.vPA)(!1);toggleColor=H._gw;setDisabledState(A){this.disabled.set(A)}writeValue(A){this.value.set(!!A)}registerOnChange(A){this.onChange=A}registerOnTouched(A){this.onTouched=A}toggleCheckbox(){this.value.update(A=>!A),this.onChange(this.value()),this.onTouched()}onChange=()=>{};onTouched=()=>{};static \u0275fac=function(X){return new(X||_)};static \u0275cmp=a.VBU({type:_,selectors:[["frontend-checkbox"]],inputs:{dataCy:[1,"dataCy"],color:[1,"color"],downloadable:[1,"downloadable"],downloadCompleted:[1,"downloadCompleted"],wide:[1,"wide"],tabIndex:[1,"tabIndex"],ariaLabel:[1,"ariaLabel"],value:[1,"value"]},outputs:{value:"valueChange"},features:[a.Jv_([{provide:h.kq,useExisting:(0,a.Rfq)(()=>_),multi:!0}])],ngContentSelectors:P,decls:7,vars:17,consts:[["model","ngModel"],["role","checkbox"],[1,"checkbox","data-hj-suppress","heap-ignore",3,"ngClass"],["type","checkbox",3,"ngModelChange","ngModel","ariaLabel","disabled","tabindex"],["viewBox","0 0 13 13",1,"check"],["stroke","currentColor","d","M7.50048 11.9999L7.5 3.5C7.49952 2.00008 6 1 4.5 1C3 1 1 2.30662 1 4.5C1 6.69338 2 7.5 3.00043 8.49996L6.00043 11L12.0005 3.99996"],["viewBox","0 0 9 11",1,"arrow"],["stroke","currentColor","d","M1 6.5L4.5 10L8 6.5"],["stroke","currentColor","d","M4.5 10V1"]],template:function(X,R){if(1&X){const ne=a.RV6();a.NAR(),a.j41(0,"div",1)(1,"label",2)(2,"input",3,0),a.bIt("ngModelChange",function(){return a.eBV(ne),a.Njj(R.toggleCheckbox())}),a.k0s(),a.j41(4,"span"),a.DNE(5,C,6,0),a.SdG(6),a.k0s()()()}if(2&X){const ne=a.sdS(3);a.BMQ("data-cy",R.dataCy()?R.dataCy()+"-div":null),a.R7$(),a.AVh("download-checkbox",R.downloadable())("done",R.downloadCompleted())("wide",R.wide()),a.Y8G("ngClass",R.color()),a.BMQ("data-cy",R.dataCy()?R.dataCy()+"-label":null),a.R7$(),a.Y8G("ngModel",R.value())("ariaLabel",R.ariaLabel())("disabled",R.disabled())("tabindex",R.tabIndex()),a.BMQ("name",ne.name||"checkbox")("data-cy",R.dataCy()?R.dataCy()+"-input":null),a.R7$(2),a.BMQ("data-cy",R.dataCy()?R.dataCy()+"-span":null),a.R7$(),a.vxM(R.downloadable()?5:-1)}},dependencies:[z.YU,h.Zm,h.BC,h.vS],styles:['[_ngcontent-%COMP%]:root, [_nghost-%COMP%]{--business-primary: #2c6fd1;--business-secondary: #21bbfe;--first-primary: #352f64;--first-secondary: #415197;--economy-primary: #8063e1;--economy-secondary: #bd7be8;--premium-economy-primary: #3f58e3;--premium-economy-secondary: #7f94fc;--exclusive-flex-primary: #052d5e;--exclusive-flex-secondary: #07428b;--exclusive-garant-primary: #0c4a9a;--exclusive-garant-secondary: #005ea8;--expats-primary: #40b2c0;--expats-secondary: #51dbc0;--study-free-primary: #052d5e;--study-free-secondary: #07428b;--study-protect-primary: #0c4a9a;--study-protect-secondary: #005ea8;--freemium-primary: #667093;--freemium-secondary: #999fb7;--clinic-zweibett-primary: #3db88d;--clinic-zweibett-secondary: #b7f5ab;--clinic-einbett-primary: #207f7a;--clinic-einbett-secondary: #44b898;--dental-70-primary: #3abfd5;--dental-70-secondary: #a5e5dd;--dental-85-primary: #677eeb;--dental-85-secondary: #b5bef0;--primary: #0077ff;--primary-contrast: #0070f0;--primary-darker: #006be6;--primary-contrast-darker: #0065d8;--primary-light: #99c9ff;--primary-pale: #f2f8ff;--primary-110: #0066db;--primary-80: #3392ff;--primary-contrast-80: #338df3;--primary-60: #66adff;--primary-contrast-60: #66a9f6;--primary-40: #99c9ff;--primary-20: #cce4ff;--primary-10: #e6f1ff;--primary-05: #f2f8ff;--primary-02: #fafcff;--black: #000000;--white: #ffffff;--overlay-light: rgba(0, 16, 75, .4);--overlay-dark: rgba(0, 0, 0, .4);--sec-light-100: #00104b;--sec-light-90: #1a285d;--sec-light-80: #33406f;--sec-light-60: #667093;--sec-light-40: #999fb7;--sec-light-20: #cccfdb;--sec-light-10: #e6e7ed;--sec-light-05: #f2f3f6;--sec-light-02: #fafafb;--dark: #00104b;--dark-80: #33406f;--dark-60: #667093;--dark-40: #999fb7;--dark-20: #cccfdb;--dark-10: #e6e7ed;--dark-05: #f2f3f6;--dark-02: #fafafb;--sec-dark-00: #181a20;--sec-dark-80: #e5e6eb;--sec-dark-60: #aab0c0;--sec-dark-40: #717993;--sec-dark-20: #44495a;--sec-dark-10: #2e323d;--sec-dark-05: #23262f;--sec-dark-02: #1c1f26;--night: #181a20;--night-98: #1c1f26;--night-95: #23262f;--night-90: #2e323d;--night-80: #44495a;--night-60: #717993;--night-40: #aab0c0;--night-20: #e5e6eb;--black-pure: #000000;--white-pure: #ffffff;--overlay: rgba(0, 16, 75, .4);--sand: #ffedd3;--sand-80: #fff1dc;--sand-60: #fff4e5;--sand-40: #fff8ed;--sand-20: #fffbf6;--cyan: #20c2e0;--cyan-80: #4dcee6;--cyan-60: #79daec;--cyan-40: #a6e7f3;--cyan-20: #d2f3f9;--green: #0dbd83;--green-contrast: #09865d;--success: #0dbd83;--success-contrast: #09865d;--success-darker: #0caa76;--success-contrast-darker: #087954;--success-bright: #3dca9c;--success-light: #ecfaf5;--success-shadow: #cff2e6;--red: #ff5252;--red-contrast: #eb0000;--error: #ff5252;--error-contrast: #eb0000;--danger: #ff5252;--danger-contrast: #eb0000;--danger-darker: #e64a4a;--danger-contrast-darker: #d40000;--danger-bright: #ff7575;--danger-light: #fff1f1;
3--danger-shadow: #ffdcdc;--purple: #7263d0;--info: #7263d0;--info-darker: #6759bb;--info-bright: #8e82d9;--info-light: #f4f3fb;--info-shadow: #e3e0f6;--orange: #ffa600;--warning: #ffa600;--warning-darker: #e69500;--warning-bright: #ffb833;--warning-light: #fff8eb;--warning-shadow: #ffedcc;--pink: #f65c96;--pink-contrast: #e80d5f;--pink-darker: #dd5387;--pink-contrast-darker: #d10c56;--pink-bright: #f87dab;--pink-light: #fef2f7;--pink-shadow: #fddeea;--yellow: #fecf02;--yellow-contrast: #9f661e;--payback: #0046aa;--healthx: #151b36;--satisfaction-strong: #a38247;--satisfaction-shadow: #ede4d3;--expats-shadow: #b3ede5;--pastel-sky: #cce4ff;--pastel-rose: #ffdcdc;--pastel-mint: #cff2e6;--pastel-lemon: #fff5cc;--pastel-purple: #e2dffb;--pastel-sand: #ebe1d3;--primary-rgb: 0, 119, 255;--cyan-rgb: 32, 194, 224;--green-rgb: 13, 189, 131;--red-rgb: 255, 82, 82;--orange-rgb: 255, 166, 0;--dark-rgb: 0, 16, 75;--dark-10-rgb: 230, 231, 237;--gray-dark-rgb: 51, 64, 111;--gray-lighter-rgb: 204, 207, 219;--comprehensive: #0077ff;--comprehensive-dark: #006be6;--comprehensive-darker: #005fcc;--comprehensive-darkest: #004799;--comprehensive-light: #b3d6ff;--comprehensive-pale: #e6f1ff;--first: #404a8d;--first-dark: #3a437f;--first-darker: #333b71;--first-darkest: #262c55;--first-light: #c6c9dd;--first-pale: #ecedf4;--business: #009cfe;--business-dark: #008ce5;--business-darker: #007dcb;--business-darkest: #005e98;--business-light: #b3e1ff;--business-pale: #e6f5ff;--economy: #905aca;--economy-dark: #8251b6;--economy-darker: #7348a2;--economy-darkest: #563679;--economy-light: #deceef;--economy-pale: #f4effa;--premium-economy: #6e7fed;--premium-economy-dark: #6372d5;--premium-economy-darker: #5866be;--premium-economy-darkest: #424c8e;--premium-economy-light: #d4d9fa;--premium-economy-pale: #f1f2fd;--civil: #8b50ff;--civil-dark: #7d48e6;--civil-darker: #6f40cc;--civil-darkest: #533099;--civil-light: #dccbff;--civil-pale: #f3eeff;--exclusive: #063773;--exclusive-dark: #053268;--exclusive-darker: #052c5c;--exclusive-darkest: #042145;--exclusive-light: #b4c3d5;--exclusive-pale: #e6ebf1;--expats: #00c2a9;--expats-dark: #00af98;--expats-darker: #009b87;--expats-darkest: #007465;--expats-light: #b3ede5;--expats-pale: #e6f9f6;--dental: #00bcdc;--dental-dark: #00a9c6;--dental-darker: #0096b0;--dental-darkest: #007184;--dental-light: #b3ebf5;--dental-pale: #e6f8fc;--company: #e09c1f;--company-dark: #ca8c1c;--company-darker: #b37d19;--company-darkest: #865e13;--company-light: #f6e1bc;--company-pale: #fcf5e9;--dental-70: #5eccd7;--dental-70-dark: #55b8c2;--dental-70-darker: #4ba3ac;--dental-70-darkest: #387a81;--dental-70-light: #cff0f3;--dental-70-pale: #effafb;--dental-85: #677eeb;--dental-85-dark: #5d71d4;--dental-85-darker: #5265bc;--dental-85-darkest: #3e4c8d;--dental-85-light: #d1d8f9;--dental-85-pale: #f0f2fd;--clinic: #3db88d;--clinic-dark: #37a67f;--clinic-darker: #319371;--clinic-darkest: #256e55;--clinic-light: #c5eadd;--clinic-pale: #ecf8f4;--zweibett: #55c291;--zweibett-dark: #4daf83;--zweibett-darker: #449b74;--zweibett-darkest: #337457;--zweibett-light: #ccedde;--zweibett-pale: #eef9f4;--einbett: #319884;--einbett-dark: #2c8977;--einbett-darker: #277a6a;--einbett-darkest: #1d5b4f;--einbett-light: #c1e0da;--einbett-pale: #eaf5f3;--satisfaction: #c2a46d;--satisfaction-dark: #af9462;--satisfaction-darker: #9b8357;--satisfaction-darkest: #746241;--satisfaction-light: #ede4d3;--satisfaction-pale: #f9f6f0;--study-free: #052d5e;--study-free-dark: #052955;--study-free-darker: #04244b;--study-free-darkest: #031b38;--study-free-light: #b4c0cf;--study-free-pale: #e6eaef;--study-protect: #005ea8;--study-protect-dark: #005597;--study-protect-darker: #004b86;--study-protect-darkest: #003865;--study-protect-light: #b3cfe5;--study-protect-pale: #e6eff6;--option: #5f50ff;--option-dark: #5648e6;--option-darker: #4c40cc;--option-darkest: #393099;--option-light: #cfcbff;--option-pale: #efeeff;--text-gray: #33406f;--text-gray-darker: #293359;--text-blue: #1e429f;--text-blue-darker: #18357f;--text-purple: #5521b5;--text-purple-darker: #441a91;--text-pink: #a745a3;--text-pink-darker: #863782;--text-pink-contrast: #e80d5f;--text-pink-contrast-darker: #ba0a4c;--text-green: #04543f;--text-green-darker: #034332;--text-red: #9a1c1c;--text-red-darker: #7b1616;--text-orange: #8a2c0d;--text-orange-darker: #6e230a;--text-yellow: #a3691f;--text-yellow-darker: #825419;--text-yellow-contrast: #9f661e;--text-yellow-contrast-darker: #7f5218;--text-background-gray: #f2f3f6;--text-background-gray-darker: #c2c2c5;--text-background-blue: #e1effe;--text-background-blue-darker: #b4bfcb;--text-background-purple: #edebfe;--text-background-purple-darker: #bebccb;--text-background-pink: #fee6fd;--text-background-pink-darker: #cbb8ca;--text-background-green: #def7ec;--text-background-green-darker: #b2c6bd;--text-background-red: #fde8e7;--text-background-red-darker: #cabab9;--text-background-orange: #feecdc;--text-background-orange-darker: #cbbdb0;--text-background-yellow: #fffaca;--text-background-yellow-darker: #ccc8a2;--text: var(--sec-light-60);--text-light: var(--sec-light-40);--text-lighter: var(--sec-light-20);--text-heading: var(--sec-light-100);--line: var(--sec-light-10);--border-light: var(--sec-light-10);--border: var(--sec-light-20);--border-dark: var(--sec-light-40);--border-primary: var(--primary);--border-primary-dark: var(--primary-darker);--border-error: var(--error);--border-radius-xs: 4px;--border-radius-sm: 6px;--border-radius-md: 8px;--border-radius-lg: 12px;--border-radius-xl: 16px;--disabled: var(--sec-light-02);--shadow: rgba(0, 16, 75, .15);--shadow-dark: rgba(0, 16, 75, .2);
3--box-shadow-xs: 0 1px 2px var(--shadow-dark);--box-shadow-sm: 0 2px 4px var(--shadow-dark);--box-shadow-md: 0 4px 12px var(--shadow);--box-shadow-lg: 0 8px 24px var(--shadow);--transition: all .2s ease-in-out;--focus-shadow-primary: 0 0 0 4px var(--primary-20);--focus-shadow-darker: 0 0 0 4px var(--sec-light-40);--focus-shadow-dark: 0 0 0 4px var(--sec-light-20);--focus-shadow-gray: 0 0 0 4px var(--sec-light-10);--focus-shadow-danger: 0 0 0 4px var(--danger-shadow);--focus-shadow-success: 0 0 0 4px var(--success-shadow);--focus-shadow-warning: 0 0 0 4px var(--warning-shadow);--focus-shadow-info: 0 0 0 4px var(--info-shadow);--focus-shadow-pink: 0 0 0 4px var(--pink-shadow);--focus-shadow-gold: 0 0 0 4px var(--satisfaction-shadow);--focus-shadow-expats: 0 0 0 4px var(--expats-shadow);--focus-shadow-text-primary: drop-shadow(0px 1px 3px rgba(0, 119, 255, .5));--focus-shadow-text-pink: drop-shadow(0px 1px 3px rgba(246, 92, 150, .5))}[data-theme=contrast][_ngcontent-%COMP%]   *[_ngcontent-%COMP%]{--primary: var(--primary-contrast);--primary-darker: var(--primary-contrast-darker);--success: var(--success-contrast);--success-darker: var(--success-contrast-darker);--danger: var(--danger-contrast);--danger-darker: var(--danger-contrast-darker);--pink: var(--pink-contrast);--pink-darker: var(--pink-contrast-darker);--satisfaction: var(--satisfaction-pale);--satisfaction-strong: var(--satisfaction-darkest);--yellow: var(--yellow-contrast)}.checkbox[_ngcontent-%COMP%], .radio[_ngcontent-%COMP%], .switch[_ngcontent-%COMP%], .radio-button[_ngcontent-%COMP%]{--active: var(--primary);--focus-shadow: var(--focus-shadow-gray);--active-inner: #fff;--input-border: var(--border);--input-border-hover: var(--border-dark);--background: #fff;display:table;margin:0 0 12px;cursor:pointer}.checkbox.gold[_ngcontent-%COMP%], .radio.gold[_ngcontent-%COMP%], .switch.gold[_ngcontent-%COMP%], .radio-button.gold[_ngcontent-%COMP%]{--active: var(--satisfaction-strong)}.checkbox.expats[_ngcontent-%COMP%], .radio.expats[_ngcontent-%COMP%], .switch.expats[_ngcontent-%COMP%], .radio-button.expats[_ngcontent-%COMP%]{--active: var(--expats)}.checkbox.inline[_ngcontent-%COMP%], .radio.inline[_ngcontent-%COMP%], .switch.inline[_ngcontent-%COMP%], .radio-button.inline[_ngcontent-%COMP%]{margin:0 12px 0 0;display:inline-block}.checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%], .radio[_ngcontent-%COMP%] > input[_ngcontent-%COMP%], .switch[_ngcontent-%COMP%] > input[_ngcontent-%COMP%], .radio-button[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]{position:absolute;opacity:0}.checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%], .radio[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%], .switch[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%], .radio-button[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]{color:var(--text);min-height:21px;line-height:21px;font-size:14px;font-weight:500;outline:none;position:relative;display:block}.checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before, .checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:after, .radio[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before, .radio[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:after, .switch[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before, .switch[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:after, .radio-button[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before, .radio-button[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:after{content:"";display:block;left:0;top:0;position:absolute}.checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before, .radio[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before, .switch[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before, .radio-button[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before{height:21px;border:1px solid var(--input-border);background:var(--background);transition:background .3s ease,border-color .3s ease}.checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:after, .radio[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:after, .switch[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:after, .radio-button[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:after{transition:transform .3s ease,opacity .2s ease}.checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:before, .radio[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:before, .switch[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:before, .radio-button[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:before{background:var(--active);border-color:var(--active)}
3.checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:after, .radio[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:after, .switch[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:after, .radio-button[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:after{transition:opacity .3s ease,transform .6s cubic-bezier(.175,.88,.32,1.2)}.checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:disabled + span[_ngcontent-%COMP%], .radio[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:disabled + span[_ngcontent-%COMP%], .switch[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:disabled + span[_ngcontent-%COMP%], .radio-button[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:disabled + span[_ngcontent-%COMP%]{cursor:not-allowed;opacity:.8;color:var(--text-light)}.checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:disabled + span[_ngcontent-%COMP%]:before, .radio[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:disabled + span[_ngcontent-%COMP%]:before, .switch[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:disabled + span[_ngcontent-%COMP%]:before, .radio-button[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:disabled + span[_ngcontent-%COMP%]:before{background:var(--disabled)}.checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:disabled:checked + span[_ngcontent-%COMP%]:before, .radio[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:disabled:checked + span[_ngcontent-%COMP%]:before, .switch[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:disabled:checked + span[_ngcontent-%COMP%]:before, .radio-button[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:disabled:checked + span[_ngcontent-%COMP%]:before{background:var(--sec-light-20);border-color:var(--border)}.checkbox[_ngcontent-%COMP%]:hover > input[_ngcontent-%COMP%]:not(:checked):not(:disabled) + span[_ngcontent-%COMP%]:before, .radio[_ngcontent-%COMP%]:hover > input[_ngcontent-%COMP%]:not(:checked):not(:disabled) + span[_ngcontent-%COMP%]:before, .switch[_ngcontent-%COMP%]:hover > input[_ngcontent-%COMP%]:not(:checked):not(:disabled) + span[_ngcontent-%COMP%]:before, .radio-button[_ngcontent-%COMP%]:hover > input[_ngcontent-%COMP%]:not(:checked):not(:disabled) + span[_ngcontent-%COMP%]:before{border-color:var(--input-border-hover)}.checkbox[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus-visible + span[_ngcontent-%COMP%]:before, .radio[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus-visible + span[_ngcontent-%COMP%]:before, .switch[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus-visible + span[_ngcontent-%COMP%]:before{outline:3px solid var(--active);outline-offset:3px}.checkbox[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:before, .checkbox[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:indeterminate + span[_ngcontent-%COMP%]:before, .radio[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:before, .radio[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:indeterminate + span[_ngcontent-%COMP%]:before, .switch[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:before, .switch[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:indeterminate + span[_ngcontent-%COMP%]:before{--focus-shadow: var(--focus-shadow-active)}.radio-button[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus-visible + span[_ngcontent-%COMP%]{outline:3px solid var(--active);outline-offset:3px}.checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%], .radio[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%], .radio-button[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]{padding-left:21px}.checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:not(:empty), .radio[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:not(:empty), .radio-button[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:not(:empty){padding-left:29px}.checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before, .radio[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before, .radio-button[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before{width:21px}.checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:after, .radio[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:after, .radio-button[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:after{opacity:0}
3.checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:after, .radio[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:after, .radio-button[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:after{opacity:1}.checkbox[_ngcontent-%COMP%]{margin-bottom:0}.checkbox.wide[_ngcontent-%COMP%]{width:100%}.checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before{border-radius:var(--border-radius-xs)}.checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:after{--s: .7;width:11px;height:9px;left:5px;top:6px;transform:scale(var(--s));background-image:url(\'data:image/svg+xml;utf8,<svg width="11" height="9" viewBox="0 0 11 9" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 5.5L4 8L10 1" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>\')}.checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:after{--s: 1}.checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:indeterminate + span[_ngcontent-%COMP%]:before{background:var(--active);border-color:var(--active)}.checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:indeterminate + span[_ngcontent-%COMP%]:after{width:11px;left:5px;height:3px;border-radius:2px;top:9px;background:var(--active-inner);border:0;opacity:1;transform:rotate(0) scaleY(.7)}.checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:indeterminate + span[_ngcontent-%COMP%]:hover:before{border-color:var(--active)}.checkbox.download-checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:after{display:none}.checkbox.download-checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%], .checkbox.download-checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]   .check[_ngcontent-%COMP%]{position:absolute;fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:2;color:#fff}.checkbox.download-checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]   .check[_ngcontent-%COMP%]{left:3px;top:3px;width:13px;height:13px;opacity:var(--check-opacity, 0);transition:opacity 0s ease .6s}.checkbox.download-checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]   .check[_ngcontent-%COMP%]   path[_ngcontent-%COMP%]{stroke-dasharray:var(--check-dasharray, 37 37 0);stroke-dashoffset:var(--check-dashoffset, 67);transition:stroke-dasharray .3s ease-in .3s,stroke-dashoffset .3s ease-in .3s}.checkbox.download-checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]{left:6px;top:var(--arrow-y, 5px);width:9px;height:11px;opacity:var(--o, 0);animation:_ngcontent-%COMP%_dl-arrow-bounce .3s alternate infinite ease-in .6s;transition:top .3s ease-out .6s,opacity .3s ease}.checkbox.download-checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]   path[_ngcontent-%COMP%]{transform:scale(var(--s, .7));transform-origin:center;opacity:var(--arrow-path-opacity, 1);transition:transform .6s cubic-bezier(.175,.88,.32,1.2),stroke-dasharray .3s ease-out .6s,stroke-dashoffset .3s ease-out .6s,opacity 0s ease .6s}.checkbox.download-checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]   path[_ngcontent-%COMP%]:nth-child(1){stroke-dasharray:var(--arrow-dasharray-1, 11 11);stroke-dashoffset:var(--arrow-dashoffset-1, 22)}.checkbox.download-checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]   path[_ngcontent-%COMP%]:nth-child(2){stroke-dasharray:var(--arrow-dasharray-2, 11 11);stroke-dashoffset:var(--arrow-dashoffset-2, 1)}@keyframes _ngcontent-%COMP%_dl-arrow-bounce{0%{transform:translateY(-1px)}to{transform:translateY(1px) scale(1.1,.9)}}.checkbox.download-checkbox[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]{--s: 1;--o: 1}.checkbox.download-checkbox.done[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]{--check-dasharray: 37 37 13;--check-dashoffset: 51;--check-opacity: 1;--arrow-dasharray-1: 0 11;--arrow-dashoffset-1: 6;--arrow-dasharray-2: 0 11;--arrow-y: -2px;--arrow-path-opacity: 0}.checkbox.download-checkbox.done[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]   .check[_ngcontent-%COMP%]{transition:opacity 0s ease .3s}.checkbox.download-checkbox.done[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]   .check[_ngcontent-%COMP%]   path[_ngcontent-%COMP%]{transition:stroke-dasharray .4s ease-out .3s,stroke-dashoffset .4s ease-out .3s}.checkbox.download-checkbox.done[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]{transition:top .3s ease-in,opacity .3s ease}.checkbox.download-checkbox.done[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]   path[_ngcontent-%COMP%]{transition:transform .6s cubic-bezier(.175,.88,.32,1.2),stroke-dasharray .3s ease-in,stroke-dashoffset .3s ease-in,opacity 0s ease .3s}.radio.wide[_ngcontent-%COMP%]{width:100%}.radio[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before, .radio[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:after, .radio-button[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before, .radio-button[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:after{border-radius:50%}.radio[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:after, .radio-button[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:after{width:21px;height:21px;background:var(--active-inner);transform:scale(.91);opacity:1}.radio[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:after, .radio-button[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:after{background:var(--active-inner);transform:scale(.4)}.radio-button.answer[_ngcontent-%COMP%]{text-align:center}.radio-button.answer[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]{padding:11px 16px;color:var(--sec-light-60);font-size:16px;font-weight:600;background-color:var(--white);border-width:1px;border-color:var(--sec-light-20);border-radius:var(--border-radius-sm);box-shadow:none;transition:border 0s}.radio-button.answer[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before, .radio-button.answer[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:after{display:none}.radio-button.answer[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%], .radio-button.answer[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:hover + span[_ngcontent-%COMP%]{color:var(--white);background-color:var(--active);border-color:var(--active)}
3.switch[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]{padding-left:38px}.switch[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:not(:empty){padding-left:46px}.switch[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before{width:38px;border-radius:11px}.switch[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:after{left:3px;top:3px;border-radius:50%;width:15px;height:15px;background:var(--input-border)}.switch[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:after{background:var(--active-inner);transform:translate(17px)}.switch[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:disabled:not(:checked) + span[_ngcontent-%COMP%]:after{background:var(--sec-light-20)}']})}return _})()},30045:(st,Q,g)=>{"use strict";g.d(Q,{q:()=>P}),g(47868);var h=g(61142),H=g(56106),z=g(58527);let P=(()=>{class C{static \u0275fac=function(q){return new(q||C)};static \u0275mod=z.$C({type:C});static \u0275inj=z.G2t({imports:[h.MD,H.YN]})}return C})()},54042:(st,Q,g)=>{"use strict";g.d(Q,{w:()=>P});var a=g(58527),h=g(24153),H=g(73466);function z(C,B){if(1&C&&a.nrm(0,"frontend-image",1),2&C){const _=a.XpG();a.Y8G("file",_.icon())("stretchToContainer",!0)}}let P=(()=>{class C{id=(0,a.hFB)(void 0);name=(0,a.hFB)("");selected=(0,a.geq)(!1);icon=(0,a.hFB)("button-x-circle.svg");clickable=(0,a.hFB)(!0);hideIcon=(0,a.hFB)(!1);wide=(0,a.hFB)(!1);noWrap=(0,a.hFB)(!1);onChange=(0,a.CGW)();changeState(){this.clickable()&&(this.selected.update(_=>!_),this.onChange.emit({id:this.id(),selected:this.selected()}))}static \u0275fac=function(q){return new(q||C)};static \u0275cmp=a.VBU({type:C,selectors:[["frontend-chip"]],inputs:{id:[1,"id"],name:[1,"name"],selected:[1,"selected"],icon:[1,"icon"],clickable:[1,"clickable"],hideIcon:[1,"hideIcon"],wide:[1,"wide"],noWrap:[1,"noWrap"]},outputs:{selected:"selectedChange",onChange:"onChange"},standalone:!0,features:[a.aNF],decls:3,vars:10,consts:[[1,"chip",3,"click"],["type","svg",1,"chip-close",3,"file","stretchToContainer"]],template:function(q,A){1&q&&(a.j41(0,"div",0),a.bIt("click",function(){return A.changeState()}),a.EFF(1),a.DNE(2,z,1,2,"frontend-image",1),a.k0s()),2&q&&(a.AVh("chip-selected",A.selected())("clickable",A.clickable())("wide",A.wide())("nowrap",A.noWrap()),a.R7$(),a.SpI(" ",A.name()," "),a.R7$(),a.vxM(!A.hideIcon()&&A.selected()?2:-1))},dependencies:[h.U,H.h],styles:["[_ngcontent-%COMP%]:root, [_nghost-%COMP%]{--business-primary: #2c6fd1;--business-secondary: #21bbfe;--first-primary: #352f64;--first-secondary: #415197;--economy-primary: #8063e1;--economy-secondary: #bd7be8;--premium-economy-primary: #3f58e3;--premium-economy-secondary: #7f94fc;--exclusive-flex-primary: #052d5e;--exclusive-flex-secondary: #07428b;--exclusive-garant-primary: #0c4a9a;--exclusive-garant-secondary: #005ea8;--expats-primary: #40b2c0;--expats-secondary: #51dbc0;--study-free-primary: #052d5e;--study-free-secondary: #07428b;--study-protect-primary: #0c4a9a;--study-protect-secondary: #005ea8;--freemium-primary: #667093;--freemium-secondary: #999fb7;--clinic-zweibett-primary: #3db88d;--clinic-zweibett-secondary: #b7f5ab;--clinic-einbett-primary: #207f7a;--clinic-einbett-secondary: #44b898;--dental-70-primary: #3abfd5;--dental-70-secondary: #a5e5dd;--dental-85-primary: #677eeb;--dental-85-secondary: #b5bef0;--primary: #0077ff;--primary-contrast: #0070f0;--primary-darker: #006be6;--primary-contrast-darker: #0065d8;--primary-light: #99c9ff;--primary-pale: #f2f8ff;--primary-110: #0066db;--primary-80: #3392ff;--primary-contrast-80: #338df3;--primary-60: #66adff;--primary-contrast-60: #66a9f6;--primary-40: #99c9ff;--primary-20: #cce4ff;--primary-10: #e6f1ff;--primary-05: #f2f8ff;--primary-02: #fafcff;--black: #000000;--white: #ffffff;--overlay-light: rgba(0, 16, 75, .4);--overlay-dark: rgba(0, 0, 0, .4);--sec-light-100: #00104b;--sec-light-90: #1a285d;--sec-light-80: #33406f;--sec-light-60: #667093;--sec-light-40: #999fb7;--sec-light-20: #cccfdb;--sec-light-10: #e6e7ed;--sec-light-05: #f2f3f6;--sec-light-02: #fafafb;--dark: #00104b;--dark-80: #33406f;--dark-60: #667093;--dark-40: #999fb7;--dark-20: #cccfdb;--dark-10: #e6e7ed;--dark-05: #f2f3f6;--dark-02: #fafafb;--sec-dark-00: #181a20;--sec-dark-80: #e5e6eb;--sec-dark-60: #aab0c0;--sec-dark-40: #717993;--sec-dark-20: #44495a;--sec-dark-10: #2e323d;--sec-dark-05: #23262f;--sec-dark-02: #1c1f26;--night: #181a20;--night-98: #1c1f26;--night-95: #23262f;--night-90: #2e323d;--night-80: #44495a;--night-60: #717993;--night-40: #aab0c0;--night-20: #e5e6eb;--black-pure: #000000;--white-pure: #ffffff;--overlay: rgba(0, 16, 75, .4);--sand: #ffedd3;--sand-80: #fff1dc;--sand-60: #fff4e5;--sand-40: #fff8ed;--sand-20: #fffbf6;--cyan: #20c2e0;--cyan-80: #4dcee6;--cyan-60: #79daec;--cyan-40: #a6e7f3;--cyan-20: #d2f3f9;--green: #0dbd83;--green-contrast: #09865d;--success: #0dbd83;--success-contrast: #09865d;--success-darker: #0caa76;--success-contrast-darker: #087954;--success-bright: #3dca9c;--success-light: #ecfaf5;--success-shadow: #cff2e6;--red: #ff5252;--red-contrast: #eb0000;--error: #ff5252;--error-contrast: #eb0000;--danger: #ff5252;--danger-contrast: #eb0000;--danger-darker: #e64a4a;--danger-contrast-darker: #d40000;--danger-bright: #ff7575;--danger-light: #fff1f1;
3--danger-shadow: #ffdcdc;--purple: #7263d0;--info: #7263d0;--info-darker: #6759bb;--info-bright: #8e82d9;--info-light: #f4f3fb;--info-shadow: #e3e0f6;--orange: #ffa600;--warning: #ffa600;--warning-darker: #e69500;--warning-bright: #ffb833;--warning-light: #fff8eb;--warning-shadow: #ffedcc;--pink: #f65c96;--pink-contrast: #e80d5f;--pink-darker: #dd5387;--pink-contrast-darker: #d10c56;--pink-bright: #f87dab;--pink-light: #fef2f7;--pink-shadow: #fddeea;--yellow: #fecf02;--yellow-contrast: #9f661e;--payback: #0046aa;--healthx: #151b36;--satisfaction-strong: #a38247;--satisfaction-shadow: #ede4d3;--expats-shadow: #b3ede5;--pastel-sky: #cce4ff;--pastel-rose: #ffdcdc;--pastel-mint: #cff2e6;--pastel-lemon: #fff5cc;--pastel-purple: #e2dffb;--pastel-sand: #ebe1d3;--primary-rgb: 0, 119, 255;--cyan-rgb: 32, 194, 224;--green-rgb: 13, 189, 131;--red-rgb: 255, 82, 82;--orange-rgb: 255, 166, 0;--dark-rgb: 0, 16, 75;--dark-10-rgb: 230, 231, 237;--gray-dark-rgb: 51, 64, 111;--gray-lighter-rgb: 204, 207, 219;--comprehensive: #0077ff;--comprehensive-dark: #006be6;--comprehensive-darker: #005fcc;--comprehensive-darkest: #004799;--comprehensive-light: #b3d6ff;--comprehensive-pale: #e6f1ff;--first: #404a8d;--first-dark: #3a437f;--first-darker: #333b71;--first-darkest: #262c55;--first-light: #c6c9dd;--first-pale: #ecedf4;--business: #009cfe;--business-dark: #008ce5;--business-darker: #007dcb;--business-darkest: #005e98;--business-light: #b3e1ff;--business-pale: #e6f5ff;--economy: #905aca;--economy-dark: #8251b6;--economy-darker: #7348a2;--economy-darkest: #563679;--economy-light: #deceef;--economy-pale: #f4effa;--premium-economy: #6e7fed;--premium-economy-dark: #6372d5;--premium-economy-darker: #5866be;--premium-economy-darkest: #424c8e;--premium-economy-light: #d4d9fa;--premium-economy-pale: #f1f2fd;--civil: #8b50ff;--civil-dark: #7d48e6;--civil-darker: #6f40cc;--civil-darkest: #533099;--civil-light: #dccbff;--civil-pale: #f3eeff;--exclusive: #063773;--exclusive-dark: #053268;--exclusive-darker: #052c5c;--exclusive-darkest: #042145;--exclusive-light: #b4c3d5;--exclusive-pale: #e6ebf1;--expats: #00c2a9;--expats-dark: #00af98;--expats-darker: #009b87;--expats-darkest: #007465;--expats-light: #b3ede5;--expats-pale: #e6f9f6;--dental: #00bcdc;--dental-dark: #00a9c6;--dental-darker: #0096b0;--dental-darkest: #007184;--dental-light: #b3ebf5;--dental-pale: #e6f8fc;--company: #e09c1f;--company-dark: #ca8c1c;--company-darker: #b37d19;--company-darkest: #865e13;--company-light: #f6e1bc;--company-pale: #fcf5e9;--dental-70: #5eccd7;--dental-70-dark: #55b8c2;--dental-70-darker: #4ba3ac;--dental-70-darkest: #387a81;--dental-70-light: #cff0f3;--dental-70-pale: #effafb;--dental-85: #677eeb;--dental-85-dark: #5d71d4;--dental-85-darker: #5265bc;--dental-85-darkest: #3e4c8d;--dental-85-light: #d1d8f9;--dental-85-pale: #f0f2fd;--clinic: #3db88d;--clinic-dark: #37a67f;--clinic-darker: #319371;--clinic-darkest: #256e55;--clinic-light: #c5eadd;--clinic-pale: #ecf8f4;--zweibett: #55c291;--zweibett-dark: #4daf83;--zweibett-darker: #449b74;--zweibett-darkest: #337457;--zweibett-light: #ccedde;--zweibett-pale: #eef9f4;--einbett: #319884;--einbett-dark: #2c8977;--einbett-darker: #277a6a;--einbett-darkest: #1d5b4f;--einbett-light: #c1e0da;--einbett-pale: #eaf5f3;--satisfaction: #c2a46d;--satisfaction-dark: #af9462;--satisfaction-darker: #9b8357;--satisfaction-darkest: #746241;--satisfaction-light: #ede4d3;--satisfaction-pale: #f9f6f0;--study-free: #052d5e;--study-free-dark: #052955;--study-free-darker: #04244b;--study-free-darkest: #031b38;--study-free-light: #b4c0cf;--study-free-pale: #e6eaef;--study-protect: #005ea8;--study-protect-dark: #005597;--study-protect-darker: #004b86;--study-protect-darkest: #003865;--study-protect-light: #b3cfe5;--study-protect-pale: #e6eff6;--option: #5f50ff;--option-dark: #5648e6;--option-darker: #4c40cc;--option-darkest: #393099;--option-light: #cfcbff;--option-pale: #efeeff;--text-gray: #33406f;--text-gray-darker: #293359;--text-blue: #1e429f;--text-blue-darker: #18357f;--text-purple: #5521b5;--text-purple-darker: #441a91;--text-pink: #a745a3;--text-pink-darker: #863782;--text-pink-contrast: #e80d5f;--text-pink-contrast-darker: #ba0a4c;--text-green: #04543f;--text-green-darker: #034332;--text-red: #9a1c1c;--text-red-darker: #7b1616;--text-orange: #8a2c0d;--text-orange-darker: #6e230a;--text-yellow: #a3691f;--text-yellow-darker: #825419;--text-yellow-contrast: #9f661e;--text-yellow-contrast-darker: #7f5218;--text-background-gray: #f2f3f6;--text-background-gray-darker: #c2c2c5;--text-background-blue: #e1effe;--text-background-blue-darker: #b4bfcb;--text-background-purple: #edebfe;--text-background-purple-darker: #bebccb;--text-background-pink: #fee6fd;--text-background-pink-darker: #cbb8ca;--text-background-green: #def7ec;--text-background-green-darker: #b2c6bd;--text-background-red: #fde8e7;--text-background-red-darker: #cabab9;--text-background-orange: #feecdc;--text-background-orange-darker: #cbbdb0;--text-background-yellow: #fffaca;--text-background-yellow-darker: #ccc8a2;--text: var(--sec-light-60);--text-light: var(--sec-light-40);--text-lighter: var(--sec-light-20);--text-heading: var(--sec-light-100);--line: var(--sec-light-10);--border-light: var(--sec-light-10);--border: var(--sec-light-20);--border-dark: var(--sec-light-40);--border-primary: var(--primary);--border-primary-dark: var(--primary-darker);--border-error: var(--error);--border-radius-xs: 4px;--border-radius-sm: 6px;--border-radius-md: 8px;--border-radius-lg: 12px;--border-radius-xl: 16px;--disabled: var(--sec-light-02);--shadow: rgba(0, 16, 75, .15);--shadow-dark: rgba(0, 16, 75, .2);
3--box-shadow-xs: 0 1px 2px var(--shadow-dark);--box-shadow-sm: 0 2px 4px var(--shadow-dark);--box-shadow-md: 0 4px 12px var(--shadow);--box-shadow-lg: 0 8px 24px var(--shadow);--transition: all .2s ease-in-out;--focus-shadow-primary: 0 0 0 4px var(--primary-20);--focus-shadow-darker: 0 0 0 4px var(--sec-light-40);--focus-shadow-dark: 0 0 0 4px var(--sec-light-20);--focus-shadow-gray: 0 0 0 4px var(--sec-light-10);--focus-shadow-danger: 0 0 0 4px var(--danger-shadow);--focus-shadow-success: 0 0 0 4px var(--success-shadow);--focus-shadow-warning: 0 0 0 4px var(--warning-shadow);--focus-shadow-info: 0 0 0 4px var(--info-shadow);--focus-shadow-pink: 0 0 0 4px var(--pink-shadow);--focus-shadow-gold: 0 0 0 4px var(--satisfaction-shadow);--focus-shadow-expats: 0 0 0 4px var(--expats-shadow);--focus-shadow-text-primary: drop-shadow(0px 1px 3px rgba(0, 119, 255, .5));--focus-shadow-text-pink: drop-shadow(0px 1px 3px rgba(246, 92, 150, .5))}[data-theme=contrast][_ngcontent-%COMP%]   *[_ngcontent-%COMP%]{--primary: var(--primary-contrast);--primary-darker: var(--primary-contrast-darker);--success: var(--success-contrast);--success-darker: var(--success-contrast-darker);--danger: var(--danger-contrast);--danger-darker: var(--danger-contrast-darker);--pink: var(--pink-contrast);--pink-darker: var(--pink-contrast-darker);--satisfaction: var(--satisfaction-pale);--satisfaction-strong: var(--satisfaction-darkest);--yellow: var(--yellow-contrast)}.chip[_ngcontent-%COMP%]{display:inline-block;padding:6px 12px 4px;background-color:var(--sec-light-05);border-radius:30px;color:var(--sec-light-60);cursor:default;font-size:14px;font-weight:600;line-height:21px;text-align:center;transition:all .2s ease-in-out}.chip.clickable[_ngcontent-%COMP%]{cursor:pointer}.chip.clickable[_ngcontent-%COMP%]:hover{background-color:var(--sec-light-10)}.chip.wide[_ngcontent-%COMP%]{width:100%}.chip.nowrap[_ngcontent-%COMP%]{white-space:nowrap}.chip-selected[_ngcontent-%COMP%]{background-color:var(--primary-10);color:var(--primary)}.chip-selected[_ngcontent-%COMP%]:hover{background-color:var(--primary-20)}.chip-close[_ngcontent-%COMP%]{display:inline-block;width:16px;height:16px;margin-left:5px;border-radius:50%;color:var(--primary);transform:translateY(3px)}[data-theme=contrast]   [_nghost-%COMP%]{--sec-light-60: var(--sec-light-80);--primary-10: var(--primary-05);--primary-contrast: var(--primary-darker)}"],changeDetection:0})}return C})()},9349:(st,Q,g)=>{"use strict";g.d(Q,{w:()=>a.w});var a=g(54042)},24444:(st,Q,g)=>{"use strict";g.d(Q,{rP:()=>cr,mt:()=>Wn,I0:()=>si});var a=g(61142),h=g(56106),H=g(46140),z=g(30045),P=g(89344),C=g(24153),B=g(23818),_=g(58527),q=g(51376),A=g(73466);const X=(jt,nn)=>nn.value;function R(jt,nn){if(1&jt&&(_.j41(0,"span",5),_.nrm(1,"frontend-image",6),_.k0s()),2&jt){const et=_.XpG().$implicit;_.R7$(),_.Y8G("file",et.icon)("stretchToContainer",!0)}}function ne(jt,nn){if(1&jt&&(_.j41(0,"small"),_.EFF(1),_.k0s()),2&jt){const et=_.XpG().$implicit;_.R7$(),_.JRh(et.subtitle)}}function se(jt,nn){if(1&jt){const et=_.RV6();_.j41(0,"label")(1,"input",4),_.bIt("ngModelChange",function(At){_.eBV(et);const Yn=_.XpG();return _.Njj(Yn.onValueChange(At))}),_.k0s(),_.j41(2,"span"),_.DNE(3,R,2,2,"span",5),_.EFF(4),_.DNE(5,ne,2,1,"small"),_.k0s()()}if(2&jt){const et=nn.$implicit,Zt=_.XpG();_.R7$(),_.Y8G("ngModel",Zt.value())("value",et.value)("checked",et.value===Zt.value()),_.BMQ("disabled",!!et.disabled||null)("data-label",et.value||"no value")("data-cy",et.dataCy),_.R7$(2),_.vxM(et.icon?3:-1),_.R7$(),_.SpI(" ",et.label," "),_.R7$(),_.vxM(Zt.withExtraRow()&&et.subtitle?5:-1)}}function _e(jt,nn){if(1&jt&&_.EFF(0),2&jt){const et=_.XpG().$implicit;_.SpI(" (",et.subtitle,") ")}}function le(jt,nn){if(1&jt&&(_.j41(0,"option",3),_.EFF(1),_.DNE(2,_e,1,1),_.k0s()),2&jt){const et=nn.$implicit;_.Y8G("ngValue",et.value),_.BMQ("disabled",!!et.disabled||null),_.R7$(),_.SpI(" ",et.label," "),_.R7$(),_.vxM(et.subtitle?2:-1)}}let Re=(()=>{class jt{toggleColor=q._gw;componentSize=q.H7o;options=(0,_.hFB)([]);items=(0,_.hFB)([]);size=(0,_.hFB)();color=(0,_.hFB)();
3forceDesktopTheme=(0,_.hFB)(!1);equalWidth=(0,_.hFB)(!1);value=(0,_.geq)(null);disabled=(0,_.geq)(!1);actualOptions=(0,_.EWP)(()=>{const et=this.options();return et.length>0?et:this.items()});withExtraRow=(0,_.EWP)(()=>this.size()===q.H7o.Lg&&this.actualOptions().some(et=>!!et.subtitle));constructor(){this.registerValueEffect(),this.registerOptionsEffect()}onChange=()=>{};onTouched=()=>{};writeValue(et){this.value.set(et)}registerOnChange(et){this.onChange=et}registerOnTouched(et){this.onTouched=et}setDisabledState(et){this.disabled.set(et)}onValueChange(et){this.writeValue(et),this.onTouched()}registerValueEffect(){let et=!0;(0,_.QZP)(()=>{const Zt=this.value();if(et)return et=!1;this.onChange(Zt)})}registerOptionsEffect(){(0,_.QZP)(()=>{const et=this.actualOptions();(0,_.O8t)(()=>{const Zt=this.value();null!==Zt&&(et.some(At=>At.value===Zt)||this.writeValue(et.at(0)?.value??null))})})}static \u0275fac=function(Zt){return new(Zt||jt)};static \u0275cmp=_.VBU({type:jt,selectors:[["frontend-segmented-control"]],inputs:{options:[1,"options"],items:[1,"items"],size:[1,"size"],color:[1,"color"],forceDesktopTheme:[1,"forceDesktopTheme"],equalWidth:[1,"equalWidth"],value:[1,"value"],disabled:[1,"disabled"]},outputs:{value:"valueChange",disabled:"disabledChange"},standalone:!0,features:[_.Jv_([{provide:h.kq,useExisting:(0,_.Rfq)(()=>jt),multi:!0}]),_.aNF],decls:8,vars:21,consts:[["data-toggle","buttons",1,"segment-control"],[1,"form-select"],["name","segmented-control",3,"ngModelChange","ngModel"],[3,"ngValue"],["name","segmented-control","type","radio",1,"data-hj-suppress","heap-ignore",3,"ngModelChange","ngModel","value","checked"],[1,"segment-control-icon"],["type","svg",3,"file","stretchToContainer"]],template:function(Zt,At){1&Zt&&(_.j41(0,"form")(1,"div",0),_.Z7z(2,se,6,9,"label",null,X),_.k0s(),_.j41(4,"div",1)(5,"select",2),_.bIt("ngModelChange",function(Wi){return At.onValueChange(Wi)}),_.Z7z(6,le,3,4,"option",3,X),_.k0s()()()),2&Zt&&(_.R7$(),_.HbH(At.color()),_.xc7("--segmented-columns",At.actualOptions().length),_.AVh("extra-row",At.withExtraRow())("equal-width",At.equalWidth())("forced-desktop-theme",At.forceDesktopTheme())("disabled",At.disabled())("sm",At.size()===At.componentSize.Sm)("lg",At.size()===At.componentSize.Lg),_.R7$(),_.Dyx(At.actualOptions()),_.R7$(2),_.AVh("sm",At.componentSize.Sm)("forced-desktop-theme",At.forceDesktopTheme()),_.R7$(),_.Y8G("ngModel",At.value()),_.R7$(),_.Dyx(At.actualOptions()))},dependencies:[h.YN,h.qT,h.xH,h.y7,h.me,h.wz,h.Fm,h.BC,h.cb,h.vS,h.cV,C.U,A.h],styles:['[_ngcontent-%COMP%]:root, [_nghost-%COMP%]{--business-primary: #2c6fd1;--business-secondary: #21bbfe;--first-primary: #352f64;--first-secondary: #415197;--economy-primary: #8063e1;--economy-secondary: #bd7be8;--premium-economy-primary: #3f58e3;--premium-economy-secondary: #7f94fc;--exclusive-flex-primary: #052d5e;--exclusive-flex-secondary: #07428b;--exclusive-garant-primary: #0c4a9a;--exclusive-garant-secondary: #005ea8;--expats-primary: #40b2c0;--expats-secondary: #51dbc0;--study-free-primary: #052d5e;--study-free-secondary: #07428b;--study-protect-primary: #0c4a9a;--study-protect-secondary: #005ea8;--freemium-primary: #667093;--freemium-secondary: #999fb7;--clinic-zweibett-primary: #3db88d;--clinic-zweibett-secondary: #b7f5ab;--clinic-einbett-primary: #207f7a;--clinic-einbett-secondary: #44b898;--dental-70-primary: #3abfd5;--dental-70-secondary: #a5e5dd;--dental-85-primary: #677eeb;--dental-85-secondary: #b5bef0;--primary: #0077ff;--primary-contrast: #0070f0;--primary-darker: #006be6;--primary-contrast-darker: #0065d8;--primary-light: #99c9ff;--primary-pale: #f2f8ff;--primary-110: #0066db;--primary-80: #3392ff;--primary-contrast-80: #338df3;--primary-60: #66adff;--primary-contrast-60: #66a9f6;--primary-40: #99c9ff;--primary-20: #cce4ff;--primary-10: #e6f1ff;--primary-05: #f2f8ff;--primary-02: #fafcff;--black: #000000;--white: #ffffff;--overlay-light: rgba(0, 16, 75, .4);--overlay-dark: rgba(0, 0, 0, .4);--sec-light-100: #00104b;--sec-light-90: #1a285d;--sec-light-80: #33406f;--sec-light-60: #667093;--sec-light-40: #999fb7;--sec-light-20: #cccfdb;--sec-light-10: #e6e7ed;--sec-light-05: #f2f3f6;--sec-light-02: #fafafb;--dark: #00104b;--dark-80: #33406f;--dark-60: #667093;--dark-40: #999fb7;--dark-20: #cccfdb;--dark-10: #e6e7ed;--dark-05: #f2f3f6;--dark-02: #fafafb;--sec-dark-00: #181a20;--sec-dark-80: #e5e6eb;--sec-dark-60: #aab0c0;--sec-dark-40: #717993;--sec-dark-20: #44495a;--sec-dark-10: #2e323d;--sec-dark-05: #23262f;--sec-dark-02: #1c1f26;--night: #181a20;--night-98: #1c1f26;--night-95: #23262f;--night-90: #2e323d;--night-80: #44495a;--night-60: #717993;--night-40: #aab0c0;--night-20: #e5e6eb;--black-pure: #000000;--white-pure: #ffffff;--overlay: rgba(0, 16, 75, .4);--sand: #ffedd3;--sand-80: #fff1dc;--sand-60: #fff4e5;--sand-40: #fff8ed;--sand-20: #fffbf6;--cyan: #20c2e0;--cyan-80: #4dcee6;--cyan-60: #79daec;--cyan-40: #a6e7f3;--cyan-20: #d2f3f9;--green: #0dbd83;--green-contrast: #09865d;--success: #0dbd83;--success-contrast: #09865d;--success-darker: #0caa76;--success-contrast-darker: #087954;--success-bright: #3dca9c;--success-light: #ecfaf5;--success-shadow: #cff2e6;--red: #ff5252;--red-contrast: #eb0000;--error: #ff5252;--error-contrast: #eb0000;--danger: #ff5252;--danger-contrast: #eb0000;--danger-darker: #e64a4a;--danger-contrast-darker: #d40000;--danger-bright: #ff7575;--danger-light: #fff1f1;
3--danger-shadow: #ffdcdc;--purple: #7263d0;--info: #7263d0;--info-darker: #6759bb;--info-bright: #8e82d9;--info-light: #f4f3fb;--info-shadow: #e3e0f6;--orange: #ffa600;--warning: #ffa600;--warning-darker: #e69500;--warning-bright: #ffb833;--warning-light: #fff8eb;--warning-shadow: #ffedcc;--pink: #f65c96;--pink-contrast: #e80d5f;--pink-darker: #dd5387;--pink-contrast-darker: #d10c56;--pink-bright: #f87dab;--pink-light: #fef2f7;--pink-shadow: #fddeea;--yellow: #fecf02;--yellow-contrast: #9f661e;--payback: #0046aa;--healthx: #151b36;--satisfaction-strong: #a38247;--satisfaction-shadow: #ede4d3;--expats-shadow: #b3ede5;--pastel-sky: #cce4ff;--pastel-rose: #ffdcdc;--pastel-mint: #cff2e6;--pastel-lemon: #fff5cc;--pastel-purple: #e2dffb;--pastel-sand: #ebe1d3;--primary-rgb: 0, 119, 255;--cyan-rgb: 32, 194, 224;--green-rgb: 13, 189, 131;--red-rgb: 255, 82, 82;--orange-rgb: 255, 166, 0;--dark-rgb: 0, 16, 75;--dark-10-rgb: 230, 231, 237;--gray-dark-rgb: 51, 64, 111;--gray-lighter-rgb: 204, 207, 219;--comprehensive: #0077ff;--comprehensive-dark: #006be6;--comprehensive-darker: #005fcc;--comprehensive-darkest: #004799;--comprehensive-light: #b3d6ff;--comprehensive-pale: #e6f1ff;--first: #404a8d;--first-dark: #3a437f;--first-darker: #333b71;--first-darkest: #262c55;--first-light: #c6c9dd;--first-pale: #ecedf4;--business: #009cfe;--business-dark: #008ce5;--business-darker: #007dcb;--business-darkest: #005e98;--business-light: #b3e1ff;--business-pale: #e6f5ff;--economy: #905aca;--economy-dark: #8251b6;--economy-darker: #7348a2;--economy-darkest: #563679;--economy-light: #deceef;--economy-pale: #f4effa;--premium-economy: #6e7fed;--premium-economy-dark: #6372d5;--premium-economy-darker: #5866be;--premium-economy-darkest: #424c8e;--premium-economy-light: #d4d9fa;--premium-economy-pale: #f1f2fd;--civil: #8b50ff;--civil-dark: #7d48e6;--civil-darker: #6f40cc;--civil-darkest: #533099;--civil-light: #dccbff;--civil-pale: #f3eeff;--exclusive: #063773;--exclusive-dark: #053268;--exclusive-darker: #052c5c;--exclusive-darkest: #042145;--exclusive-light: #b4c3d5;--exclusive-pale: #e6ebf1;--expats: #00c2a9;--expats-dark: #00af98;--expats-darker: #009b87;--expats-darkest: #007465;--expats-light: #b3ede5;--expats-pale: #e6f9f6;--dental: #00bcdc;--dental-dark: #00a9c6;--dental-darker: #0096b0;--dental-darkest: #007184;--dental-light: #b3ebf5;--dental-pale: #e6f8fc;--company: #e09c1f;--company-dark: #ca8c1c;--company-darker: #b37d19;--company-darkest: #865e13;--company-light: #f6e1bc;--company-pale: #fcf5e9;--dental-70: #5eccd7;--dental-70-dark: #55b8c2;--dental-70-darker: #4ba3ac;--dental-70-darkest: #387a81;--dental-70-light: #cff0f3;--dental-70-pale: #effafb;--dental-85: #677eeb;--dental-85-dark: #5d71d4;--dental-85-darker: #5265bc;--dental-85-darkest: #3e4c8d;--dental-85-light: #d1d8f9;--dental-85-pale: #f0f2fd;--clinic: #3db88d;--clinic-dark: #37a67f;--clinic-darker: #319371;--clinic-darkest: #256e55;--clinic-light: #c5eadd;--clinic-pale: #ecf8f4;--zweibett: #55c291;--zweibett-dark: #4daf83;--zweibett-darker: #449b74;--zweibett-darkest: #337457;--zweibett-light: #ccedde;--zweibett-pale: #eef9f4;--einbett: #319884;--einbett-dark: #2c8977;--einbett-darker: #277a6a;--einbett-darkest: #1d5b4f;--einbett-light: #c1e0da;--einbett-pale: #eaf5f3;--satisfaction: #c2a46d;--satisfaction-dark: #af9462;--satisfaction-darker: #9b8357;--satisfaction-darkest: #746241;--satisfaction-light: #ede4d3;--satisfaction-pale: #f9f6f0;--study-free: #052d5e;--study-free-dark: #052955;--study-free-darker: #04244b;--study-free-darkest: #031b38;--study-free-light: #b4c0cf;--study-free-pale: #e6eaef;--study-protect: #005ea8;--study-protect-dark: #005597;--study-protect-darker: #004b86;--study-protect-darkest: #003865;--study-protect-light: #b3cfe5;--study-protect-pale: #e6eff6;--option: #5f50ff;--option-dark: #5648e6;--option-darker: #4c40cc;--option-darkest: #393099;--option-light: #cfcbff;--option-pale: #efeeff;--text-gray: #33406f;--text-gray-darker: #293359;--text-blue: #1e429f;--text-blue-darker: #18357f;--text-purple: #5521b5;--text-purple-darker: #441a91;--text-pink: #a745a3;--text-pink-darker: #863782;--text-pink-contrast: #e80d5f;--text-pink-contrast-darker: #ba0a4c;--text-green: #04543f;--text-green-darker: #034332;--text-red: #9a1c1c;--text-red-darker: #7b1616;--text-orange: #8a2c0d;--text-orange-darker: #6e230a;--text-yellow: #a3691f;--text-yellow-darker: #825419;--text-yellow-contrast: #9f661e;--text-yellow-contrast-darker: #7f5218;--text-background-gray: #f2f3f6;--text-background-gray-darker: #c2c2c5;--text-background-blue: #e1effe;--text-background-blue-darker: #b4bfcb;--text-background-purple: #edebfe;--text-background-purple-darker: #bebccb;--text-background-pink: #fee6fd;--text-background-pink-darker: #cbb8ca;--text-background-green: #def7ec;--text-background-green-darker: #b2c6bd;--text-background-red: #fde8e7;--text-background-red-darker: #cabab9;--text-background-orange: #feecdc;--text-background-orange-darker: #cbbdb0;--text-background-yellow: #fffaca;--text-background-yellow-darker: #ccc8a2;--text: var(--sec-light-60);--text-light: var(--sec-light-40);--text-lighter: var(--sec-light-20);--text-heading: var(--sec-light-100);--line: var(--sec-light-10);--border-light: var(--sec-light-10);--border: var(--sec-light-20);--border-dark: var(--sec-light-40);--border-primary: var(--primary);--border-primary-dark: var(--primary-darker);--border-error: var(--error);--border-radius-xs: 4px;--border-radius-sm: 6px;--border-radius-md: 8px;--border-radius-lg: 12px;--border-radius-xl: 16px;--disabled: var(--sec-light-02);--shadow: rgba(0, 16, 75, .15);--shadow-dark: rgba(0, 16, 75, .2);
3--box-shadow-xs: 0 1px 2px var(--shadow-dark);--box-shadow-sm: 0 2px 4px var(--shadow-dark);--box-shadow-md: 0 4px 12px var(--shadow);--box-shadow-lg: 0 8px 24px var(--shadow);--transition: all .2s ease-in-out;--focus-shadow-primary: 0 0 0 4px var(--primary-20);--focus-shadow-darker: 0 0 0 4px var(--sec-light-40);--focus-shadow-dark: 0 0 0 4px var(--sec-light-20);--focus-shadow-gray: 0 0 0 4px var(--sec-light-10);--focus-shadow-danger: 0 0 0 4px var(--danger-shadow);--focus-shadow-success: 0 0 0 4px var(--success-shadow);--focus-shadow-warning: 0 0 0 4px var(--warning-shadow);--focus-shadow-info: 0 0 0 4px var(--info-shadow);--focus-shadow-pink: 0 0 0 4px var(--pink-shadow);--focus-shadow-gold: 0 0 0 4px var(--satisfaction-shadow);--focus-shadow-expats: 0 0 0 4px var(--expats-shadow);--focus-shadow-text-primary: drop-shadow(0px 1px 3px rgba(0, 119, 255, .5));--focus-shadow-text-pink: drop-shadow(0px 1px 3px rgba(246, 92, 150, .5))}[data-theme=contrast][_ngcontent-%COMP%]   *[_ngcontent-%COMP%]{--primary: var(--primary-contrast);--primary-darker: var(--primary-contrast-darker);--success: var(--success-contrast);--success-darker: var(--success-contrast-darker);--danger: var(--danger-contrast);--danger-darker: var(--danger-contrast-darker);--pink: var(--pink-contrast);--pink-darker: var(--pink-contrast-darker);--satisfaction: var(--satisfaction-pale);--satisfaction-strong: var(--satisfaction-darkest);--yellow: var(--yellow-contrast)}.segment-control[_ngcontent-%COMP%]{--shadow-blur: 2px;--focus-shadow: var(--focus-shadow-dark);
3--focus-shadow-active: var(--box-shadow-xs), var(--focus-shadow-primary);--padding: 2px;--font-size: 14px;--line-height: 20px;--border-radius: var(--border-radius-sm);--icon-size: 15px;--active: var(--primary);--checked-bg: var(--white);--checked-text: var(--active, var(--primary));display:flex;background:var(--sec-light-05);padding:var(--padding);border-radius:var(--border-radius);font-weight:700}.segment-control.gold[_ngcontent-%COMP%]{--active: var(--satisfaction-strong)}.segment-control.expats[_ngcontent-%COMP%]{--active: var(--expats)}.segment-control.blue[_ngcontent-%COMP%]{--checked-bg: var(--primary);--checked-text: var(--white)}.segment-control.disabled[_ngcontent-%COMP%]{opacity:.4;pointer-events:none}.segment-control.equal-width[_ngcontent-%COMP%]{display:inline-grid;grid-template-columns:repeat(var(--segmented-columns),1fr);width:100%}.segment-control[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{flex-grow:1;margin:0;font-size:var(--font-size);line-height:var(--line-height);cursor:pointer}.segment-control[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]:has(input:disabled){opacity:.4;pointer-events:none}.segment-control[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{position:absolute;opacity:0}.segment-control[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]   input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]{align-items:center;display:flex;justify-content:center;padding:6px 12px;border-radius:var(--border-radius-xs);transition:color .3s ease,background .3s ease,box-shadow .3s ease;color:var(--text)}.segment-control[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]{color:var(--checked-text);background:var(--checked-bg);
3box-shadow:var(--box-shadow-xs)}.segment-control[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:not(:checked) + span[_ngcontent-%COMP%]:hover{color:var(--text-heading)}.segment-control[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus-visible + span[_ngcontent-%COMP%]{outline:3px solid var(--active)}.segment-control[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus-visible:checked + span[_ngcontent-%COMP%]{outline:3px solid var(--active)}.segment-control-icon[_ngcontent-%COMP%]{display:block;height:var(--icon-size);margin-right:8px;width:var(--icon-size)}.segment-control.sm[_ngcontent-%COMP%]{--font-size: 12px;--line-height: 18px;--border-radius: var(--border-radius-xs);--icon-size: 13px}.segment-control.sm[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]   input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]{border-radius:calc(var(--border-radius) - var(--padding));padding:3px 12px}.segment-control.lg[_ngcontent-%COMP%]{--shadow-blur: 3px;--padding: 3px;--font-size: 16px;--line-height: 24px;--icon-size: 16px}.segment-control.lg[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]   input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]{padding:9px 12px}.segment-control.lg.extra-row[_ngcontent-%COMP%]{--font-size: 14px;--line-height: 16px}.segment-control.lg.extra-row[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]   input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;flex-direction:column;height:100%;padding:5px 12px;font-weight:700}.segment-control.lg.extra-row[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]   input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]   small[_ngcontent-%COMP%]{display:block;font-size:12px;line-height:16px;font-weight:500;transition:color .3s ease}.segment-control.lg.extra-row[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]   small[_ngcontent-%COMP%]{color:var(--active, --primary)}.segment-control.lg.extra-row[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:not(:checked) + span[_ngcontent-%COMP%]   small[_ngcontent-%COMP%]{color:var(--text-light)}.segment-control.lg.extra-row[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:not(:checked) + span[_ngcontent-%COMP%]:hover   small[_ngcontent-%COMP%]{color:var(--text-heading)}.radio-button[_ngcontent-%COMP%]{margin:0;width:100%;--focus-shadow: var(--focus-shadow-dark);
3--focus-shadow-active: var(--box-shadow-xs), var(--focus-shadow-primary)}.radio-button.gold[_ngcontent-%COMP%]{--focus-shadow-active: var(--box-shadow-xs), var(--focus-shadow-gold)}.radio-button.expats[_ngcontent-%COMP%]{--focus-shadow-active: var(--box-shadow-xs), var(--focus-shadow-expats)}.radio-button[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]{background:#fff;border:2px solid transparent;margin:-2px;border-radius:var(--border-radius-sm);font-size:16px;line-height:24px;font-weight:400;transition:border-color .3s ease;color:var(--text-heading);box-shadow:var(--box-shadow-xs);padding:10px 41px 10px 16px}.radio-button[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:not(:empty){padding-left:16px}.radio-button[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before, .radio-button[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:after{left:auto;right:12px;top:11px}.radio-button[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]{border-color:var(--active, --primary)}.radio-button.left[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]{padding:10px 16px 10px 48px}.radio-button.left[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:before, .radio-button.left[_ngcontent-%COMP%] > input[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:after{right:auto;left:12px;top:11px}.form-select[_ngcontent-%COMP%]{position:relative}.form-select[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{--color: var(--text);--background: #fff;--border-color: var(--border);--line-height: 22px;--padding: 12px 16px;--font-size: 16px;--border-radius: var(--border-radius-sm);-webkit-appearance:none;outline:none;display:block;font-size:var(--font-size);line-height:var(--line-height);font-weight:500;border-radius:var(--border-radius);padding:var(--padding);border:1px solid var(--border-color);color:var(--color);background:var(--background);transition:border .3s ease,color .3s ease,background .3s ease;padding-right:34px;width:100%;cursor:pointer}.form-select[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]:focus{outline:none}.form-select[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]:disabled{cursor:not-allowed;pointer-events:none}.form-select[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]:hover{--border-color: var(--border-dark)}.form-select[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]:focus{--border-color: var(--primary)}.form-select[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]::placeholder{color:var(--text-light)}.form-select[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]:required:invalid{color:var(--text-light)}.form-select[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]:disabled{--background: var(--disabled);--color: var(--sec-light-40)}.form-select[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]   option[value=""][disabled][_ngcontent-%COMP%]{display:none}.form-select[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]::-ms-expand{display:none}.form-select[_ngcontent-%COMP%]:before{content:"";display:block;position:absolute;width:10px;height:6px;right:16px;top:50%;z-index:1;pointer-events:none;transform:translateY(-50%);transition:opacity .3s ease;background-image:url(\'data:image/svg+xml;utf8,<svg width="10" height="6" viewBox="0 0 10 6" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L5 5L9 1" stroke="%23999FB7" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>\')}.form-select.sm[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{--line-height: 22px;--padding: 6px 12px;--font-size: 14px;--border-radius: var(--border-radius-xs)}.form-select.sm[_ngcontent-%COMP%]:before{right:12px;transform:translateY(-50%) scale(.85)}.form-select.error[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{--border-color: var(--danger)}@media (max-width: 575px){.segment-control[_ngcontent-%COMP%]:not(.forced-desktop-theme){display:none!important}}.form-select.forced-desktop-theme[_ngcontent-%COMP%]{display:none}@media (min-width: 576px){.form-select[_ngcontent-%COMP%]{display:none}}[data-theme=contrast]   [_nghost-%COMP%]{--text: var(--sec-light-80)}']})}return jt})();var Le=g(79053),Ie=g(92508),xe=g(48476);const Te=(jt,nn)=>nn.label,Ne=(jt,nn,et,Zt,At,Yn)=>({disabled:jt,focused:nn,error:et,empty:Zt,sm:At,lg:Yn});function he(jt,nn){if(1&jt&&(_.j41(0,"label",2),_.EFF(1),_.k0s()),2&jt){const et=_.XpG();_.Y8G("for",et.selectId()),_.R7$(),_.JRh(et.label())}}function Me(jt,nn){if(1&jt&&(_.j41(0,"option",5),_.EFF(1),_.k0s()),2&jt){const et=_.XpG();_.Y8G("ngValue",null)("disabled",!et.cleanable()),_.R7$(),_.JRh(et.placeholder())}}function ct(jt,nn){if(1&jt&&(_.j41(0,"option",8),_.EFF(1),_.k0s()),2&jt){const et=nn.$implicit,Zt=_.XpG(3);_.Y8G("value",et.value)("selected",et.value===Zt.value()),_.BMQ("data-cy",et.dataCy),_.R7$(),_.SpI(" ",et.label," ")}}function yt(jt,nn){if(1&jt&&(_.j41(0,"optgroup",6),_.Z7z(1,ct,2,4,"option",8,Te),_.k0s()),2&jt){const et=_.XpG().$implicit;_.Y8G("label",et.label),_.BMQ("data-cy",et.dataCy),_.R7$(),_.Dyx(et.groupOptions)}}function Se(jt,nn){if(1&jt&&(_.j41(0,"option",7),_.EFF(1),_.k0s()),2&jt){const et=_.XpG().$implicit,Zt=_.XpG();_.Y8G("value",et.value)("selected",et.value===Zt.value())("disabled",et.disabled),_.BMQ("data-cy",et.dataCy),_.R7$(),_.SpI(" ",et.label," ")}}function ke(jt,nn){if(1&jt&&_.DNE(0,yt,3,2,"optgroup",6)(1,Se,2,5,"option",7),2&jt){const et=nn.$implicit;_.vxM(null!=et.groupOptions&&et.groupOptions.length?0:1)}}let Ze=(()=>{class jt{componentSize=q.H7o;options=_.hFB.required();value=(0,_.geq)(null);disabled=(0,_.geq)(!1);
3selectId=(0,_.hFB)(crypto.randomUUID());label=(0,_.hFB)();placeholder=(0,_.hFB)("Bitte w\xe4hlen");size=(0,_.hFB)();focused=(0,_.hFB)(!1);error=(0,_.hFB)(!1);tabIndex=(0,_.hFB)(0);dataCy=(0,_.hFB)();cleanable=(0,_.hFB)(!1);constructor(){(0,_.QZP)(()=>{const et=this.value();this.onChange(et)})}onChange=()=>{};onTouched=()=>{};writeValue(et){this.value.set(et)}registerOnChange(et){this.onChange=et}registerOnTouched(et){this.onTouched=et}setDisabledState(et){this.disabled.set(et)}static \u0275fac=function(Zt){return new(Zt||jt)};static \u0275cmp=_.VBU({type:jt,selectors:[["frontend-select"]],inputs:{options:[1,"options"],value:[1,"value"],disabled:[1,"disabled"],selectId:[1,"selectId"],label:[1,"label"],placeholder:[1,"placeholder"],size:[1,"size"],focused:[1,"focused"],error:[1,"error"],tabIndex:[1,"tabIndex"],dataCy:[1,"dataCy"],cleanable:[1,"cleanable"]},outputs:{value:"valueChange",disabled:"disabledChange"},standalone:!0,features:[_.Jv_([{provide:h.kq,useExisting:(0,_.Rfq)(()=>jt),multi:!0}]),_.aNF],decls:8,vars:15,consts:[[1,"form-element"],[1,"otto-form-element",3,"ngClass"],[1,"label",3,"for"],[1,"otto-field-wrapper","otto-select"],[1,"otto-field","data-hj-suppress","heap-ignore",3,"ngModelChange","blur","ngModel","disabled","id"],["selected","",3,"ngValue","disabled"],[3,"label"],[3,"value","selected","disabled"],[3,"value","selected"]],template:function(Zt,At){1&Zt&&(_.j41(0,"div",0)(1,"div",1),_.DNE(2,he,2,2,"label",2),_.j41(3,"div",3)(4,"select",4),_.mxI("ngModelChange",function(Wi){return _.DH7(At.value,Wi)||(At.value=Wi),Wi}),_.bIt("blur",function(){return At.onTouched()}),_.DNE(5,Me,2,3,"option",5),_.Z7z(6,ke,2,1,null,null,Te),_.k0s()()()()),2&Zt&&(_.R7$(),_.Y8G("ngClass",_.l4e(8,Ne,At.disabled(),At.focused(),At.error(),!At.value(),At.size()===At.componentSize.Sm,At.size()===At.componentSize.Lg)),_.R7$(),_.vxM(At.label()?2:-1),_.R7$(2),_.R50("ngModel",At.value),_.Y8G("disabled",At.disabled())("id",At.selectId()),_.BMQ("data-cy",At.dataCy())("tabindex",At.tabIndex()),_.R7$(),_.vxM(At.placeholder()?5:-1),_.R7$(),_.Dyx(At.options()))},dependencies:[a.YU,h.YN,h.xH,h.y7,h.wz,h.BC,h.vS],styles:['[_ngcontent-%COMP%]:root, [_nghost-%COMP%]{--business-primary: #2c6fd1;--business-secondary: #21bbfe;--first-primary: #352f64;--first-secondary: #415197;--economy-primary: #8063e1;--economy-secondary: #bd7be8;--premium-economy-primary: #3f58e3;--premium-economy-secondary: #7f94fc;--exclusive-flex-primary: #052d5e;--exclusive-flex-secondary: #07428b;--exclusive-garant-primary: #0c4a9a;--exclusive-garant-secondary: #005ea8;--expats-primary: #40b2c0;--expats-secondary: #51dbc0;--study-free-primary: #052d5e;--study-free-secondary: #07428b;--study-protect-primary: #0c4a9a;--study-protect-secondary: #005ea8;--freemium-primary: #667093;--freemium-secondary: #999fb7;--clinic-zweibett-primary: #3db88d;--clinic-zweibett-secondary: #b7f5ab;--clinic-einbett-primary: #207f7a;--clinic-einbett-secondary: #44b898;--dental-70-primary: #3abfd5;--dental-70-secondary: #a5e5dd;--dental-85-primary: #677eeb;--dental-85-secondary: #b5bef0;--primary: #0077ff;--primary-contrast: #0070f0;--primary-darker: #006be6;--primary-contrast-darker: #0065d8;--primary-light: #99c9ff;--primary-pale: #f2f8ff;--primary-110: #0066db;--primary-80: #3392ff;--primary-contrast-80: #338df3;--primary-60: #66adff;--primary-contrast-60: #66a9f6;--primary-40: #99c9ff;--primary-20: #cce4ff;--primary-10: #e6f1ff;--primary-05: #f2f8ff;--primary-02: #fafcff;--black: #000000;--white: #ffffff;--overlay-light: rgba(0, 16, 75, .4);--overlay-dark: rgba(0, 0, 0, .4);--sec-light-100: #00104b;--sec-light-90: #1a285d;--sec-light-80: #33406f;--sec-light-60: #667093;--sec-light-40: #999fb7;--sec-light-20: #cccfdb;--sec-light-10: #e6e7ed;--sec-light-05: #f2f3f6;--sec-light-02: #fafafb;--dark: #00104b;--dark-80: #33406f;--dark-60: #667093;--dark-40: #999fb7;--dark-20: #cccfdb;--dark-10: #e6e7ed;--dark-05: #f2f3f6;--dark-02: #fafafb;--sec-dark-00: #181a20;--sec-dark-80: #e5e6eb;--sec-dark-60: #aab0c0;--sec-dark-40: #717993;--sec-dark-20: #44495a;--sec-dark-10: #2e323d;--sec-dark-05: #23262f;--sec-dark-02: #1c1f26;--night: #181a20;--night-98: #1c1f26;--night-95: #23262f;--night-90: #2e323d;--night-80: #44495a;--night-60: #717993;--night-40: #aab0c0;--night-20: #e5e6eb;--black-pure: #000000;--white-pure: #ffffff;--overlay: rgba(0, 16, 75, .4);--sand: #ffedd3;--sand-80: #fff1dc;--sand-60: #fff4e5;--sand-40: #fff8ed;--sand-20: #fffbf6;--cyan: #20c2e0;--cyan-80: #4dcee6;--cyan-60: #79daec;--cyan-40: #a6e7f3;--cyan-20: #d2f3f9;--green: #0dbd83;--green-contrast: #09865d;--success: #0dbd83;--success-contrast: #09865d;--success-darker: #0caa76;--success-contrast-darker: #087954;--success-bright: #3dca9c;--success-light: #ecfaf5;--success-shadow: #cff2e6;--red: #ff5252;--red-contrast: #eb0000;--error: #ff5252;--error-contrast: #eb0000;--danger: #ff5252;--danger-contrast: #eb0000;--danger-darker: #e64a4a;--danger-contrast-darker: #d40000;--danger-bright: #ff7575;--danger-light: #fff1f1;
3--danger-shadow: #ffdcdc;--purple: #7263d0;--info: #7263d0;--info-darker: #6759bb;--info-bright: #8e82d9;--info-light: #f4f3fb;--info-shadow: #e3e0f6;--orange: #ffa600;--warning: #ffa600;--warning-darker: #e69500;--warning-bright: #ffb833;--warning-light: #fff8eb;--warning-shadow: #ffedcc;--pink: #f65c96;--pink-contrast: #e80d5f;--pink-darker: #dd5387;--pink-contrast-darker: #d10c56;--pink-bright: #f87dab;--pink-light: #fef2f7;--pink-shadow: #fddeea;--yellow: #fecf02;--yellow-contrast: #9f661e;--payback: #0046aa;--healthx: #151b36;--satisfaction-strong: #a38247;--satisfaction-shadow: #ede4d3;--expats-shadow: #b3ede5;--pastel-sky: #cce4ff;--pastel-rose: #ffdcdc;--pastel-mint: #cff2e6;--pastel-lemon: #fff5cc;--pastel-purple: #e2dffb;--pastel-sand: #ebe1d3;--primary-rgb: 0, 119, 255;--cyan-rgb: 32, 194, 224;--green-rgb: 13, 189, 131;--red-rgb: 255, 82, 82;--orange-rgb: 255, 166, 0;--dark-rgb: 0, 16, 75;--dark-10-rgb: 230, 231, 237;--gray-dark-rgb: 51, 64, 111;--gray-lighter-rgb: 204, 207, 219;--comprehensive: #0077ff;--comprehensive-dark: #006be6;--comprehensive-darker: #005fcc;--comprehensive-darkest: #004799;--comprehensive-light: #b3d6ff;--comprehensive-pale: #e6f1ff;--first: #404a8d;--first-dark: #3a437f;--first-darker: #333b71;--first-darkest: #262c55;--first-light: #c6c9dd;--first-pale: #ecedf4;--business: #009cfe;--business-dark: #008ce5;--business-darker: #007dcb;--business-darkest: #005e98;--business-light: #b3e1ff;--business-pale: #e6f5ff;--economy: #905aca;--economy-dark: #8251b6;--economy-darker: #7348a2;--economy-darkest: #563679;--economy-light: #deceef;--economy-pale: #f4effa;--premium-economy: #6e7fed;--premium-economy-dark: #6372d5;--premium-economy-darker: #5866be;--premium-economy-darkest: #424c8e;--premium-economy-light: #d4d9fa;--premium-economy-pale: #f1f2fd;--civil: #8b50ff;--civil-dark: #7d48e6;--civil-darker: #6f40cc;--civil-darkest: #533099;--civil-light: #dccbff;--civil-pale: #f3eeff;--exclusive: #063773;--exclusive-dark: #053268;--exclusive-darker: #052c5c;--exclusive-darkest: #042145;--exclusive-light: #b4c3d5;--exclusive-pale: #e6ebf1;--expats: #00c2a9;--expats-dark: #00af98;--expats-darker: #009b87;--expats-darkest: #007465;--expats-light: #b3ede5;--expats-pale: #e6f9f6;--dental: #00bcdc;--dental-dark: #00a9c6;--dental-darker: #0096b0;--dental-darkest: #007184;--dental-light: #b3ebf5;--dental-pale: #e6f8fc;--company: #e09c1f;--company-dark: #ca8c1c;--company-darker: #b37d19;--company-darkest: #865e13;--company-light: #f6e1bc;--company-pale: #fcf5e9;--dental-70: #5eccd7;--dental-70-dark: #55b8c2;--dental-70-darker: #4ba3ac;--dental-70-darkest: #387a81;--dental-70-light: #cff0f3;--dental-70-pale: #effafb;--dental-85: #677eeb;--dental-85-dark: #5d71d4;--dental-85-darker: #5265bc;--dental-85-darkest: #3e4c8d;--dental-85-light: #d1d8f9;--dental-85-pale: #f0f2fd;--clinic: #3db88d;--clinic-dark: #37a67f;--clinic-darker: #319371;--clinic-darkest: #256e55;--clinic-light: #c5eadd;--clinic-pale: #ecf8f4;--zweibett: #55c291;--zweibett-dark: #4daf83;--zweibett-darker: #449b74;--zweibett-darkest: #337457;--zweibett-light: #ccedde;--zweibett-pale: #eef9f4;--einbett: #319884;--einbett-dark: #2c8977;--einbett-darker: #277a6a;--einbett-darkest: #1d5b4f;--einbett-light: #c1e0da;--einbett-pale: #eaf5f3;--satisfaction: #c2a46d;--satisfaction-dark: #af9462;--satisfaction-darker: #9b8357;--satisfaction-darkest: #746241;--satisfaction-light: #ede4d3;--satisfaction-pale: #f9f6f0;--study-free: #052d5e;--study-free-dark: #052955;--study-free-darker: #04244b;--study-free-darkest: #031b38;--study-free-light: #b4c0cf;--study-free-pale: #e6eaef;--study-protect: #005ea8;--study-protect-dark: #005597;--study-protect-darker: #004b86;--study-protect-darkest: #003865;--study-protect-light: #b3cfe5;--study-protect-pale: #e6eff6;--option: #5f50ff;--option-dark: #5648e6;--option-darker: #4c40cc;--option-darkest: #393099;--option-light: #cfcbff;--option-pale: #efeeff;--text-gray: #33406f;--text-gray-darker: #293359;--text-blue: #1e429f;--text-blue-darker: #18357f;--text-purple: #5521b5;--text-purple-darker: #441a91;--text-pink: #a745a3;--text-pink-darker: #863782;--text-pink-contrast: #e80d5f;--text-pink-contrast-darker: #ba0a4c;--text-green: #04543f;--text-green-darker: #034332;--text-red: #9a1c1c;--text-red-darker: #7b1616;--text-orange: #8a2c0d;--text-orange-darker: #6e230a;--text-yellow: #a3691f;--text-yellow-darker: #825419;--text-yellow-contrast: #9f661e;--text-yellow-contrast-darker: #7f5218;--text-background-gray: #f2f3f6;--text-background-gray-darker: #c2c2c5;--text-background-blue: #e1effe;--text-background-blue-darker: #b4bfcb;--text-background-purple: #edebfe;--text-background-purple-darker: #bebccb;--text-background-pink: #fee6fd;--text-background-pink-darker: #cbb8ca;--text-background-green: #def7ec;--text-background-green-darker: #b2c6bd;--text-background-red: #fde8e7;--text-background-red-darker: #cabab9;--text-background-orange: #feecdc;--text-background-orange-darker: #cbbdb0;--text-background-yellow: #fffaca;--text-background-yellow-darker: #ccc8a2;--text: var(--sec-light-60);--text-light: var(--sec-light-40);--text-lighter: var(--sec-light-20);--text-heading: var(--sec-light-100);--line: var(--sec-light-10);--border-light: var(--sec-light-10);--border: var(--sec-light-20);--border-dark: var(--sec-light-40);--border-primary: var(--primary);--border-primary-dark: var(--primary-darker);--border-error: var(--error);--border-radius-xs: 4px;--border-radius-sm: 6px;--border-radius-md: 8px;--border-radius-lg: 12px;--border-radius-xl: 16px;--disabled: var(--sec-light-02);--shadow: rgba(0, 16, 75, .15);--shadow-dark: rgba(0, 16, 75, .2);
3--box-shadow-xs: 0 1px 2px var(--shadow-dark);--box-shadow-sm: 0 2px 4px var(--shadow-dark);--box-shadow-md: 0 4px 12px var(--shadow);--box-shadow-lg: 0 8px 24px var(--shadow);--transition: all .2s ease-in-out;--focus-shadow-primary: 0 0 0 4px var(--primary-20);--focus-shadow-darker: 0 0 0 4px var(--sec-light-40);--focus-shadow-dark: 0 0 0 4px var(--sec-light-20);--focus-shadow-gray: 0 0 0 4px var(--sec-light-10);--focus-shadow-danger: 0 0 0 4px var(--danger-shadow);--focus-shadow-success: 0 0 0 4px var(--success-shadow);--focus-shadow-warning: 0 0 0 4px var(--warning-shadow);--focus-shadow-info: 0 0 0 4px var(--info-shadow);--focus-shadow-pink: 0 0 0 4px var(--pink-shadow);--focus-shadow-gold: 0 0 0 4px var(--satisfaction-shadow);--focus-shadow-expats: 0 0 0 4px var(--expats-shadow);--focus-shadow-text-primary: drop-shadow(0px 1px 3px rgba(0, 119, 255, .5));--focus-shadow-text-pink: drop-shadow(0px 1px 3px rgba(246, 92, 150, .5))}[data-theme=contrast][_ngcontent-%COMP%]   *[_ngcontent-%COMP%]{--primary: var(--primary-contrast);--primary-darker: var(--primary-contrast-darker);--success: var(--success-contrast);--success-darker: var(--success-contrast-darker);--danger: var(--danger-contrast);--danger-darker: var(--danger-contrast-darker);--pink: var(--pink-contrast);--pink-darker: var(--pink-contrast-darker);--satisfaction: var(--satisfaction-pale);--satisfaction-strong: var(--satisfaction-darkest);--yellow: var(--yellow-contrast)}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%], .h1[_ngcontent-%COMP%], .h2[_ngcontent-%COMP%], .h3[_ngcontent-%COMP%], .h4[_ngcontent-%COMP%], .h5[_ngcontent-%COMP%], .h6[_ngcontent-%COMP%]{font-family:inherit;color:var(--text-heading);line-height:1.25}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], .h1[_ngcontent-%COMP%], .h2[_ngcontent-%COMP%], .h3[_ngcontent-%COMP%]{font-weight:900}h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%], .h4[_ngcontent-%COMP%], .h5[_ngcontent-%COMP%], .h6[_ngcontent-%COMP%]{font-weight:700}h1[_ngcontent-%COMP%], .h1[_ngcontent-%COMP%]{font-size:50px;margin:24px 0}@media (max-width: 991px){h1[_ngcontent-%COMP%], .h1[_ngcontent-%COMP%]{font-size:40px}}@media (max-width: 767px){h1[_ngcontent-%COMP%], .h1[_ngcontent-%COMP%]{font-size:32px}}@media (max-width: 575px){h1[_ngcontent-%COMP%], .h1[_ngcontent-%COMP%]{font-size:28px}}@media (max-width: 320px){h1[_ngcontent-%COMP%], .h1[_ngcontent-%COMP%]{font-size:24px}}h2[_ngcontent-%COMP%], .h2[_ngcontent-%COMP%]{font-size:40px;margin:20px 0}@media (max-width: 991px){h2[_ngcontent-%COMP%], .h2[_ngcontent-%COMP%]{font-size:32px}}@media (max-width: 767px){h2[_ngcontent-%COMP%], .h2[_ngcontent-%COMP%]{font-size:28px}}@media (max-width: 575px){h2[_ngcontent-%COMP%], .h2[_ngcontent-%COMP%]{font-size:26px}}@media (max-width: 320px){h2[_ngcontent-%COMP%], .h2[_ngcontent-%COMP%]{font-size:22px}}h3[_ngcontent-%COMP%], .h3[_ngcontent-%COMP%]{font-size:32px;margin:12px 0}@media (max-width: 991px){h3[_ngcontent-%COMP%], .h3[_ngcontent-%COMP%]{font-size:24px}}h4[_ngcontent-%COMP%], .h4[_ngcontent-%COMP%]{font-size:24px;margin:12px 0}@media (max-width: 991px){h4[_ngcontent-%COMP%], .h4[_ngcontent-%COMP%]{font-size:20px}}h5[_ngcontent-%COMP%], .h5[_ngcontent-%COMP%]{font-size:20px;margin:8px 0}@media (max-width: 991px){h5[_ngcontent-%COMP%], .h5[_ngcontent-%COMP%]{font-size:18px}}h6[_ngcontent-%COMP%], .h6[_ngcontent-%COMP%]{font-size:16px;margin:4px 0}.caption[_ngcontent-%COMP%]{font-size:12px;text-transform:uppercase;font-weight:900;display:block;letter-spacing:.5px;color:var(--text-light);margin:16px 0}.label[_ngcontent-%COMP%]{font-size:14px;line-height:18px;font-weight:700;display:block;color:var(--text);margin:0 0 2px}p[_ngcontent-%COMP%]{margin:0 0 20px}p.subline[_ngcontent-%COMP%]{font-size:24px}@media (max-width: 991px){p.subline[_ngcontent-%COMP%]{font-size:20px}}@media (max-width: 767px){p.subline[_ngcontent-%COMP%]{font-size:16px}}p.copy[_ngcontent-%COMP%]{font-size:20px}@media (max-width: 767px){p.copy[_ngcontent-%COMP%]{font-size:16px}}p[_ngcontent-%COMP%]:empty{display:none}p.quote[_ngcontent-%COMP%]{font-family:Merriweather,serif;line-height:1.8;font-size:20px}@media (max-width: 767px){p.quote[_ngcontent-%COMP%]{font-size:16px}}.otto-form-element[_ngcontent-%COMP%]{position:relative;--color: var(--dark);--color-accent: var(--text);--placeholder-color: var(--text-light);--border-color: var(--border);--background: var(--white);--font-size: 16px;--line-height: 22px;--padding: 12px 16px;--border-radius: var(--border-radius-sm);--padding-between: 8px;--color-icon: var(--sec-light-20)}.otto-form-element[_ngcontent-%COMP%]:hover{--border-color: var(--border-dark)}.otto-form-element[_ngcontent-%COMP%]:focus-within, .otto-form-element.focused[_ngcontent-%COMP%]{--border-color: var(--primary);--color-accent: var(--primary);--color-icon: var(--primary)}.otto-form-element.disabled[_ngcontent-%COMP%]{--background: var(--disabled);--color: var(--sec-light-40);--color-accent: var(--text-light);--placeholder-color: var(--text-lighter);--border-color: var(--border);pointer-events:none}.otto-form-element.disabled[_ngcontent-%COMP%]   .otto-loader[_ngcontent-%COMP%]{--color-spinner: var(--sec-light-20);--color-bg: var(--sec-light-05)}.otto-form-element.error[_ngcontent-%COMP%]{--border-color: var(--danger);--color-accent: var(--danger);--color-icon: var(--danger)}.otto-form-element.error[_ngcontent-%COMP%]   .otto-loader[_ngcontent-%COMP%]{--color-spinner: var(--danger)}.otto-form-element[_ngcontent-%COMP%]   .error-message[_ngcontent-%COMP%]{position:absolute;
3left:0;font-weight:700;font-size:12px;color:var(--danger)}.otto-form-element.empty[_ngcontent-%COMP%]   .otto-select[_ngcontent-%COMP%]   .otto-field[_ngcontent-%COMP%]{color:var(--placeholder-color)}.otto-form-element.text-centered[_ngcontent-%COMP%]   .otto-field[_ngcontent-%COMP%]{text-align:center}.otto-field-wrapper[_ngcontent-%COMP%]{position:relative;display:flex;font-size:var(--font-size);line-height:var(--line-height);font-weight:500;border-radius:var(--border-radius);border:1px solid var(--border-color);color:var(--color);background:var(--background);transition:border .3s ease,color .3s ease,background .3s ease}.otto-field-wrapper[_ngcontent-%COMP%]:focus-within{outline:3px solid var(--primary);outline-offset:3px}.otto-field[_ngcontent-%COMP%]{flex-grow:1;width:100%;border:none;background:none;border-radius:var(--border-radius);margin:0;color:inherit;outline:none;-webkit-appearance:none;padding:var(--padding)}.otto-field[_ngcontent-%COMP%]:focus{outline:none}.otto-field[_ngcontent-%COMP%]::placeholder{color:var(--placeholder-color)}.otto-field[type=number][_ngcontent-%COMP%]::-webkit-inner-spin-button, .otto-field[type=number][_ngcontent-%COMP%]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.otto-field[type=number][_ngcontent-%COMP%]{-moz-appearance:textfield}.sm[_ngcontent-%COMP%]   .otto-form-element[_ngcontent-%COMP%], .sm.otto-form-element[_ngcontent-%COMP%]{--line-height: 22px;--padding: 7px 12px 5px;--font-size: 14px;--border-radius: var(--border-radius-xs)}.lg[_ngcontent-%COMP%]   .otto-form-element[_ngcontent-%COMP%], .lg.otto-form-element[_ngcontent-%COMP%]{--padding: 25px 16px 7px 16px}.lg[_ngcontent-%COMP%]   .otto-form-element[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%], .lg.otto-form-element[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{line-height:var(--line-height);z-index:1;color:var(--color-accent);font-weight:400;position:absolute;left:16px;pointer-events:none;transition:.2s;top:7px;font-size:.8em}.lg[_ngcontent-%COMP%]   .otto-form-element.text-centered[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%], .lg.otto-form-element.text-centered[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{left:50%;transform:translate(-50%)}.lg[_ngcontent-%COMP%]   .otto-form-element[_ngcontent-%COMP%]   .otto-field[_ngcontent-%COMP%]::placeholder, .lg.otto-form-element[_ngcontent-%COMP%]   .otto-field[_ngcontent-%COMP%]::placeholder{color:var(--text-lighter)}.otto-field-wrapper.otto-input[_ngcontent-%COMP%]   .otto-field[_ngcontent-%COMP%]:not(:first-child){padding-left:var(--padding-between)}.otto-field-wrapper.otto-input[_ngcontent-%COMP%]   .otto-field[_ngcontent-%COMP%]:not(:last-child){padding-right:var(--padding-between)}.otto-field-wrapper[_ngcontent-%COMP%]   .otto-prefix[_ngcontent-%COMP%], .otto-field-wrapper[_ngcontent-%COMP%]   .otto-suffix[_ngcontent-%COMP%], .otto-field-wrapper[_ngcontent-%COMP%]   .otto-loader[_ngcontent-%COMP%]{color:var(--color-accent);padding:var(--padding)}.otto-field-wrapper[_ngcontent-%COMP%]   .otto-prefix[_ngcontent-%COMP%]{padding-right:0}.otto-field-wrapper[_ngcontent-%COMP%]   .otto-suffix[_ngcontent-%COMP%], .otto-field-wrapper[_ngcontent-%COMP%]   .otto-loader[_ngcontent-%COMP%]{padding-left:0}.otto-field-wrapper[_ngcontent-%COMP%]   .otto-label-prefix[_ngcontent-%COMP%]{display:none}.otto-field-wrapper[_ngcontent-%COMP%]   .otto-loader[_ngcontent-%COMP%]{display:flex;align-items:center}.otto-field-wrapper[_ngcontent-%COMP%]   .otto-loader[_ngcontent-%COMP%] > svg[_ngcontent-%COMP%]{width:var(--font-size)}.sm[_ngcontent-%COMP%]   .otto-form-element[_ngcontent-%COMP%]   .otto-loader[_ngcontent-%COMP%], .sm.otto-form-element[_ngcontent-%COMP%]   .otto-loader[_ngcontent-%COMP%]{--padding: 6px 12px}.sm[_ngcontent-%COMP%]   .otto-form-element[_ngcontent-%COMP%]   .otto-input-icon[_ngcontent-%COMP%], .sm.otto-form-element[_ngcontent-%COMP%]   .otto-input-icon[_ngcontent-%COMP%]{padding:6px 12px 6px 0}.lg[_ngcontent-%COMP%]   .otto-form-element[_ngcontent-%COMP%]   .otto-suffix[_ngcontent-%COMP%], .lg.otto-form-element[_ngcontent-%COMP%]   .otto-suffix[_ngcontent-%COMP%]{--padding: 17px 16px 6px 16px}.lg[_ngcontent-%COMP%]   .otto-form-element[_ngcontent-%COMP%]   .otto-loader[_ngcontent-%COMP%], .lg.otto-form-element[_ngcontent-%COMP%]   .otto-loader[_ngcontent-%COMP%]{--padding: 6px 16px}.lg[_ngcontent-%COMP%]   .otto-form-element[_ngcontent-%COMP%]:not(.empty)   .otto-prefix[_ngcontent-%COMP%], .lg[_ngcontent-%COMP%]   .otto-form-element[_ngcontent-%COMP%]:focus-within   .otto-prefix[_ngcontent-%COMP%], .lg[_ngcontent-%COMP%]   .otto-form-element.focused[_ngcontent-%COMP%]   .otto-prefix[_ngcontent-%COMP%], .lg.otto-form-element[_ngcontent-%COMP%]:not(.empty)   .otto-prefix[_ngcontent-%COMP%], .lg.otto-form-element[_ngcontent-%COMP%]:focus-within   .otto-prefix[_ngcontent-%COMP%], .lg.otto-form-element.focused[_ngcontent-%COMP%]   .otto-prefix[_ngcontent-%COMP%]{opacity:1}.lg[_ngcontent-%COMP%]   .otto-form-element[_ngcontent-%COMP%]   .label-prefix[_ngcontent-%COMP%], .lg.otto-form-element[_ngcontent-%COMP%]   .label-prefix[_ngcontent-%COMP%]{display:inline;margin-right:var(--padding-between)}.lg[_ngcontent-%COMP%]   .otto-form-element[_ngcontent-%COMP%]   .otto-input-icon[_ngcontent-%COMP%], .lg.otto-form-element[_ngcontent-%COMP%]   .otto-input-icon[_ngcontent-%COMP%]{padding:6px 16px 6px 0}.otto-input-icon[_ngcontent-%COMP%]{align-items:center;cursor:pointer;display:flex;padding:12px 16px 12px 0}.otto-input-icon[_ngcontent-%COMP%]   .crossed-icon-wrapper[_ngcontent-%COMP%], .otto-input-icon[_ngcontent-%COMP%]   .input-icon-wrapper[_ngcontent-%COMP%], .otto-input-icon[_ngcontent-%COMP%]   .tooltip-icon-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}.otto-input-icon[_ngcontent-%COMP%]   .crossed-icon-wrapper[_ngcontent-%COMP%]{width:16px;height:16px;background-color:var(--sec-light-20);border-radius:50%;color:var(--white);cursor:pointer;transition:var(--transition)}.otto-input-icon[_ngcontent-%COMP%]   .crossed-icon-wrapper[_ngcontent-%COMP%]:hover{background-color:var(--sec-light-40)}.otto-input-icon[_ngcontent-%COMP%]   .crossed-icon-wrapper[_ngcontent-%COMP%]   .crossed-icon[_ngcontent-%COMP%]{display:block;width:8px;height:8px}.otto-input-icon[_ngcontent-%COMP%]   .input-icon[_ngcontent-%COMP%]{display:block;width:16px;height:16px;transition:var(--transition);color:var(--color-icon)}.otto-input-icon[_ngcontent-%COMP%]   .tooltip-icon-wrapper[_ngcontent-%COMP%]{position:relative;width:20px;height:20px;
3box-shadow:var(--box-shadow-xs);background-color:var(--white);border-radius:50%;color:var(--sec-light-80);cursor:pointer}.otto-input-icon[_ngcontent-%COMP%]   .tooltip-icon-wrapper[_ngcontent-%COMP%]   .tooltip-icon[_ngcontent-%COMP%]{display:block;width:10px;height:10px}.otto-input-icon[_ngcontent-%COMP%]:not(:last-child):not(:only-of-type){padding-right:10px}.otto-field-wrapper.otto-select[_ngcontent-%COMP%]:before{content:"";display:block;position:absolute;width:10px;height:6px;right:16px;top:50%;z-index:1;pointer-events:none;transform:translateY(-50%);transition:opacity .3s ease;background-image:url(\'data:image/svg+xml;utf8,<svg width="10" height="6" viewBox="0 0 10 6" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L5 5L9 1" stroke="%23999FB7" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>\')}.otto-field-wrapper.otto-select[_ngcontent-%COMP%]   .otto-field[_ngcontent-%COMP%]{padding-right:34px}.otto-field-wrapper.otto-select[_ngcontent-%COMP%]   .otto-field[_ngcontent-%COMP%]::-ms-expand{display:none}@supports (-moz-appearance: none){.otto-field-wrapper.otto-select[_ngcontent-%COMP%]   .otto-field[_ngcontent-%COMP%]{margin-left:-4px}}.otto-field-wrapper.otto-select[_ngcontent-%COMP%]   .otto-field[_ngcontent-%COMP%]:required:invalid{color:var(--placeholder-color)}.sm[_ngcontent-%COMP%]   .otto-form-element[_ngcontent-%COMP%]   .otto-field-wrapper.otto-select[_ngcontent-%COMP%]:before, .sm.otto-form-element[_ngcontent-%COMP%]   .otto-field-wrapper.otto-select[_ngcontent-%COMP%]:before{right:12px;transform:translateY(-50%) scale(.85)}.lg[_ngcontent-%COMP%]   .otto-field-wrapper.otto-textarea[_ngcontent-%COMP%]   .otto-field[_ngcontent-%COMP%]{padding-top:0;margin-top:26px;resize:vertical}[data-theme=contrast]   [_nghost-%COMP%]{--placeholder-color: var(--sec-light-100);--text-light: var(--sec-light-60)}']})}return jt})();var Ve=g(70650);const Be="application/pdf",Pe="image/jpeg",He="image/jpg";let bt=(()=>{class jt{merge(et){return(0,Ve.A)(function*(){if(!et.length)throw new Error("No files to merge");if(1===et.length)return et[0];const{PDFDocument:Zt}=yield g.e(688).then(g.bind(g,54688)),At=yield Zt.create();for(const Wi of et){const ii=yield Wi.arrayBuffer();switch(Wi.type){case Be:{const lr=yield Zt.load(ii);(yield At.copyPages(lr,lr.getPageIndices())).forEach(Cs=>At.addPage(Cs));continue}case"image/png":case Pe:case He:break;default:throw new Error(`Unsupported document preview file type: ${Wi.type}`)}const Ur=Wi.type===Pe||Wi.type===He?yield At.embedJpg(ii):yield At.embedPng(ii);At.addPage([Ur.width,Ur.height]).drawImage(Ur,{x:0,y:0,width:Ur.width,height:Ur.height})}const Yn=yield At.save();return new Blob([Yn],{type:Be})})()}static \u0275fac=function(Zt){return new(Zt||jt)};static \u0275prov=_.jDH({token:jt,factory:jt.\u0275fac})}return jt})();var Yt=g(94485),sn=g(66990);let ft=(()=>{class jt{apiUrl=(0,_.WQX)(sn.rA);http=(0,_.WQX)(Yt.Qq);postDocument(et,Zt,At){const Yn={uploaded_file_ids:et.map(Wi=>Wi.uuid),...At&&{mapping_links:{customer_todo_id:At}}};return this.http.post(Zt,Yn)}getDocumentCategories(et){return this.http.get(et)}getDocumentTypes(et){return this.http.get(et)}getPostUserFilesUrl(et){return`${this.apiUrl}/customer/customer/profiles/${et}/files`}getPostCustomerDocumentsUrl(et){return`${this.apiUrl}/customer/customer/profiles/${et}/documents`}static \u0275fac=function(Zt){return new(Zt||jt)};static \u0275prov=_.jDH({token:jt,factory:jt.\u0275fac})}return jt})();var Tt=g(18096);let $e=(()=>{class jt{image;elementRef=(0,_.WQX)(_.aKT);ngOnChanges(){const et=new FileReader,Zt=this.elementRef;if(et.onloadend=function(){Zt.nativeElement.src=et.result},this.image)return et.readAsDataURL(this.image)}static \u0275fac=function(Zt){return new(Zt||jt)};static \u0275dir=_.FsC({type:jt,selectors:[["img","frontendImgPreview",""]],inputs:{image:"image"},standalone:!0,features:[_.OA$]})}return jt})();var rt=g(11857);function tt(jt,nn){1&jt&&(_.j41(0,"div",0),_.nrm(1,"frontend-image",2),_.k0s())}function nt(jt,nn){if(1&jt){const et=_.RV6();_.j41(0,"pdf-viewer",3),_.bIt("error",function(){_.eBV(et);const At=_.XpG();return _.Njj(At.showPreviewFallback())}),_.k0s()}if(2&jt){const et=_.XpG();_.Y8G("src",et.previewUrl())("page",1)("original-size",!1)("fit-to-page",!0)("show-all",!1)("render-text",!1)("show-borders",!1)}}let _t=(()=>{class jt{documentUploadPdfPreviewClass=!0;file=_.hFB.required();previewUrl=(0,_.EWP)(()=>URL.createObjectURL(this.file()));hasPreviewError=(0,_.EWP)(()=>this.failedPreviewUrl()===this.previewUrl());failedPreviewUrl=(0,_.vPA)(null);constructor(){(0,_.QZP)(et=>{const Zt=this.previewUrl();et(()=>URL.revokeObjectURL(Zt))})}showPreviewFallback(){this.failedPreviewUrl.set(this.previewUrl())}static \u0275fac=function(Zt){return new(Zt||jt)};static \u0275cmp=_.VBU({type:jt,selectors:[["frontend-document-upload-pdf-preview"]],hostVars:2,hostBindings:function(Zt,At){2&Zt&&_.AVh("document-upload-pdf-preview",At.documentUploadPdfPreviewClass)},inputs:{file:[1,"file"]},standalone:!0,features:[_.aNF],decls:2,vars:1,consts:[[1,"pdf-preview-fallback"],["zoom-scale","page-fit",1,"pdf-preview-document",3,"src","page","original-size","fit-to-page","show-all","render-text","show-borders"],["file","pdf.svg"],["zoom-scale","page-fit",1,"pdf-preview-document",3,"error","src","page","original-size","fit-to-page","show-all","render-text","show-borders"]],template:function(Zt,At){1&Zt&&_.DNE(0,tt,2,0,"div",0)(1,nt,1,7,"pdf-viewer",1),2&Zt&&_.vxM(At.hasPreviewError()?0:1)},dependencies:[rt.Lk,rt.c6,C.U,A.h],styles:[".document-upload-pdf-preview{display:block;width:100%;height:100%}.document-upload-pdf-preview .pdf-preview-document{display:block;overflow:hidden;width:100%;height:100%;pointer-events:none}.document-upload-pdf-preview .pdf-preview-document .ng2-pdf-viewer-container{overflow:hidden}.document-upload-pdf-preview .pdf-preview-fallback{display:flex;width:100%;height:100%;align-items:center;justify-content:center}\n"],encapsulation:2,changeDetection:0})}return jt})();function on(jt,nn){if(1&jt){const et=_.RV6();_.j41(0,"div",2)(1,"button",4),_.bIt("click",function(){_.eBV(et);const At=_.XpG();return _.Njj(At.uploadFile())}),_.EFF(2,"W\xe4hle Dateien"),_.k0s(),_.EFF(3," oder ziehe sie hierher "),_.k0s()}}
3function Hn(jt,nn){if(1&jt&&_.nrm(0,"frontend-document-upload-pdf-preview",13),2&jt){const et=_.XpG().$implicit;_.Y8G("file",et.some)}}function _n(jt,nn){if(1&jt&&_.nrm(0,"img",14),2&jt){const et=_.XpG().$implicit;_.Y8G("image",et.some)}}function hn(jt,nn){if(1&jt&&(_.j41(0,"div",15),_.EFF(1),_.k0s()),2&jt){const et=_.XpG().$implicit;_.R7$(),_.SpI(" ",et.file.name," ")}}function en(jt,nn){if(1&jt){const et=_.RV6();_.j41(0,"div",5)(1,"div",7),_.bIt("mouseenter",function(){const At=_.eBV(et).$index,Yn=_.XpG(2);return _.Njj(Yn.showTooltipFor=At)})("mouseleave",function(){_.eBV(et);const At=_.XpG(2);return _.Njj(At.showTooltipFor=-1)}),_.nrm(2,"frontend-tooltip",8),_.j41(3,"div",9)(4,"frontend-image",10),_.bIt("click",function(){const At=_.eBV(et).$index,Yn=_.XpG(2);return _.Njj(Yn.removeFile(At))}),_.k0s()(),_.j41(5,"button",11),_.bIt("click",function(){const At=_.eBV(et).$implicit,Yn=_.XpG(2);return _.Njj(Yn.previewFile(At._file))}),_.nrm(6,"frontend-image",12),_.k0s(),_.DNE(7,Hn,1,1,"frontend-document-upload-pdf-preview",13)(8,_n,1,1,"img",14),_.k0s(),_.DNE(9,hn,2,1,"div",15),_.k0s()}if(2&jt){const et=nn.$implicit,Zt=nn.$index,At=_.XpG(2);_.R7$(),_.BMQ("data-cy","file-selection-file-"+(Zt+1)),_.R7$(),_.Y8G("content",et.file.name)("show",At.showTooltipFor===Zt)("multiline",!0)("breakContent",!0)("position","top-right"),_.R7$(2),_.Y8G("stretchToContainer",!0),_.R7$(2),_.Y8G("stretchToContainer",!0),_.R7$(),_.vxM("application/pdf"===et.some.type?7:-1),_.R7$(),_.vxM("application/pdf"!==et.some.type?8:-1),_.R7$(),_.vxM(At.showFileNames()?9:-1)}}function Ot(jt,nn){if(1&jt){const et=_.RV6();_.j41(0,"div",16),_.bIt("click",function(){_.eBV(et);const At=_.XpG(2);return _.Njj(At.uploadFile())}),_.j41(1,"div",17),_.nrm(2,"frontend-image",18),_.k0s()()}2&jt&&(_.R7$(2),_.Y8G("stretchToContainer",!0))}function Gt(jt,nn){if(1&jt&&(_.j41(0,"div",3),_.Z7z(1,en,10,11,"div",5,_.fX1),_.DNE(3,Ot,3,1,"div",6),_.k0s()),2&jt){const et=_.XpG();_.R7$(),_.Dyx(et.queue()),_.R7$(2),_.vxM(et.enabled()?3:-1)}}let Wt=(()=>{class jt{queue=_.hFB.required();isOverDropZone=(0,_.hFB)(!1);showFileNames=(0,_.hFB)(!1);
3enabled=(0,_.hFB)(!0);onFilePreviewClick=(0,_.CGW)();onFileRemoveClick=(0,_.CGW)();onFileUploadClick=(0,_.CGW)();showTooltipFor=-1;uploadFile(){this.onFileUploadClick.emit()}removeFile(et){this.onFileRemoveClick.emit(et)}previewFile(et){this.onFilePreviewClick.emit(et)}hasFiles(){return this.queue().length>0}static \u0275fac=function(Zt){return new(Zt||jt)};static \u0275cmp=_.VBU({type:jt,selectors:[["frontend-document-upload-file-selection"]],inputs:{queue:[1,"queue"],isOverDropZone:[1,"isOverDropZone"],showFileNames:[1,"showFileNames"],enabled:[1,"enabled"]},outputs:{onFilePreviewClick:"onFilePreviewClick",onFileRemoveClick:"onFileRemoveClick",onFileUploadClick:"onFileUploadClick"},standalone:!0,features:[_.aNF],decls:4,vars:5,consts:[[1,"file-selection"],["data-cy","file-selection-drop-zone",1,"drop-zone"],["data-cy","file-selection-upload-label",1,"upload-label"],["data-cy","file-selection-files-preview",1,"files-preview"],["type","button",1,"custom-file",3,"click"],[1,"file-preview-item"],["data-cy","file-selection-add-file",1,"add-file","file"],[1,"file",3,"mouseenter","mouseleave"],[1,"file-tooltip",3,"content","show","multiline","breakContent","position"],[1,"remove-file"],["type","svg","file","button-x-circle.svg","data-cy","file-selection-remove-file",3,"click","stretchToContainer"],["type","button","title","Dokument anzeigen","aria-label","Dokument anzeigen","data-cy","file-selection-preview-file",1,"preview-file",3,"click"],["type","svg","file","eye.svg",1,"preview-file-icon",3,"stretchToContainer"],["data-cy","file-selection-pdf-preview",3,"file"],["frontendImgPreview","","data-cy","file-selection-img-preview",3,"image"],["data-cy","file-selection-name",1,"file-name"],["data-cy","file-selection-add-file",1,"add-file","file",3,"click"],[1,"add-file-icon"],["type","svg","file","file-preview-zoom-plus.svg",3,"stretchToContainer"]],template:function(Zt,At){1&Zt&&(_.j41(0,"div",0)(1,"div",1),_.DNE(2,on,4,0,"div",2)(3,Gt,4,1,"div",3),_.k0s()()),2&Zt&&(_.R7$(),_.AVh("file-over",At.isOverDropZone())("drop-zone-empty",!At.hasFiles()),_.R7$(),_.vxM(At.hasFiles()?3:2))},dependencies:[Tt.b,C.U,A.h,$e,_t],styles:["[_ngcontent-%COMP%]:root, [_nghost-%COMP%]{--business-primary: #2c6fd1;--business-secondary: #21bbfe;--first-primary: #352f64;--first-secondary: #415197;--economy-primary: #8063e1;--economy-secondary: #bd7be8;--premium-economy-primary: #3f58e3;--premium-economy-secondary: #7f94fc;--exclusive-flex-primary: #052d5e;--exclusive-flex-secondary: #07428b;--exclusive-garant-primary: #0c4a9a;--exclusive-garant-secondary: #005ea8;--expats-primary: #40b2c0;--expats-secondary: #51dbc0;--study-free-primary: #052d5e;--study-free-secondary: #07428b;--study-protect-primary: #0c4a9a;--study-protect-secondary: #005ea8;--freemium-primary: #667093;--freemium-secondary: #999fb7;--clinic-zweibett-primary: #3db88d;--clinic-zweibett-secondary: #b7f5ab;--clinic-einbett-primary: #207f7a;--clinic-einbett-secondary: #44b898;--dental-70-primary: #3abfd5;--dental-70-secondary: #a5e5dd;--dental-85-primary: #677eeb;--dental-85-secondary: #b5bef0;--primary: #0077ff;--primary-contrast: #0070f0;--primary-darker: #006be6;--primary-contrast-darker: #0065d8;--primary-light: #99c9ff;--primary-pale: #f2f8ff;--primary-110: #0066db;--primary-80: #3392ff;--primary-contrast-80: #338df3;--primary-60: #66adff;--primary-contrast-60: #66a9f6;--primary-40: #99c9ff;--primary-20: #cce4ff;--primary-10: #e6f1ff;--primary-05: #f2f8ff;--primary-02: #fafcff;--black: #000000;--white: #ffffff;--overlay-light: rgba(0, 16, 75, .4);--overlay-dark: rgba(0, 0, 0, .4);--sec-light-100: #00104b;--sec-light-90: #1a285d;--sec-light-80: #33406f;--sec-light-60: #667093;--sec-light-40: #999fb7;--sec-light-20: #cccfdb;--sec-light-10: #e6e7ed;--sec-light-05: #f2f3f6;--sec-light-02: #fafafb;--dark: #00104b;--dark-80: #33406f;--dark-60: #667093;--dark-40: #999fb7;--dark-20: #cccfdb;--dark-10: #e6e7ed;--dark-05: #f2f3f6;--dark-02: #fafafb;--sec-dark-00: #181a20;--sec-dark-80: #e5e6eb;--sec-dark-60: #aab0c0;--sec-dark-40: #717993;--sec-dark-20: #44495a;--sec-dark-10: #2e323d;--sec-dark-05: #23262f;--sec-dark-02: #1c1f26;--night: #181a20;--night-98: #1c1f26;--night-95: #23262f;--night-90: #2e323d;--night-80: #44495a;--night-60: #717993;--night-40: #aab0c0;--night-20: #e5e6eb;--black-pure: #000000;--white-pure: #ffffff;--overlay: rgba(0, 16, 75, .4);--sand: #ffedd3;--sand-80: #fff1dc;--sand-60: #fff4e5;--sand-40: #fff8ed;--sand-20: #fffbf6;--cyan: #20c2e0;--cyan-80: #4dcee6;--cyan-60: #79daec;--cyan-40: #a6e7f3;--cyan-20: #d2f3f9;--green: #0dbd83;--green-contrast: #09865d;--success: #0dbd83;--success-contrast: #09865d;--success-darker: #0caa76;--success-contrast-darker: #087954;--success-bright: #3dca9c;--success-light: #ecfaf5;--success-shadow: #cff2e6;--red: #ff5252;--red-contrast: #eb0000;--error: #ff5252;--error-contrast: #eb0000;--danger: #ff5252;--danger-contrast: #eb0000;--danger-darker: #e64a4a;--danger-contrast-darker: #d40000;--danger-bright: #ff7575;--danger-light: #fff1f1;
3--danger-shadow: #ffdcdc;--purple: #7263d0;--info: #7263d0;--info-darker: #6759bb;--info-bright: #8e82d9;--info-light: #f4f3fb;--info-shadow: #e3e0f6;--orange: #ffa600;--warning: #ffa600;--warning-darker: #e69500;--warning-bright: #ffb833;--warning-light: #fff8eb;--warning-shadow: #ffedcc;--pink: #f65c96;--pink-contrast: #e80d5f;--pink-darker: #dd5387;--pink-contrast-darker: #d10c56;--pink-bright: #f87dab;--pink-light: #fef2f7;--pink-shadow: #fddeea;--yellow: #fecf02;--yellow-contrast: #9f661e;--payback: #0046aa;--healthx: #151b36;--satisfaction-strong: #a38247;--satisfaction-shadow: #ede4d3;--expats-shadow: #b3ede5;--pastel-sky: #cce4ff;--pastel-rose: #ffdcdc;--pastel-mint: #cff2e6;--pastel-lemon: #fff5cc;--pastel-purple: #e2dffb;--pastel-sand: #ebe1d3;--primary-rgb: 0, 119, 255;--cyan-rgb: 32, 194, 224;--green-rgb: 13, 189, 131;--red-rgb: 255, 82, 82;--orange-rgb: 255, 166, 0;--dark-rgb: 0, 16, 75;--dark-10-rgb: 230, 231, 237;--gray-dark-rgb: 51, 64, 111;--gray-lighter-rgb: 204, 207, 219;--comprehensive: #0077ff;--comprehensive-dark: #006be6;--comprehensive-darker: #005fcc;--comprehensive-darkest: #004799;--comprehensive-light: #b3d6ff;--comprehensive-pale: #e6f1ff;--first: #404a8d;--first-dark: #3a437f;--first-darker: #333b71;--first-darkest: #262c55;--first-light: #c6c9dd;--first-pale: #ecedf4;--business: #009cfe;--business-dark: #008ce5;--business-darker: #007dcb;--business-darkest: #005e98;--business-light: #b3e1ff;--business-pale: #e6f5ff;--economy: #905aca;--economy-dark: #8251b6;--economy-darker: #7348a2;--economy-darkest: #563679;--economy-light: #deceef;--economy-pale: #f4effa;--premium-economy: #6e7fed;--premium-economy-dark: #6372d5;--premium-economy-darker: #5866be;--premium-economy-darkest: #424c8e;--premium-economy-light: #d4d9fa;--premium-economy-pale: #f1f2fd;--civil: #8b50ff;--civil-dark: #7d48e6;--civil-darker: #6f40cc;--civil-darkest: #533099;--civil-light: #dccbff;--civil-pale: #f3eeff;--exclusive: #063773;--exclusive-dark: #053268;--exclusive-darker: #052c5c;--exclusive-darkest: #042145;--exclusive-light: #b4c3d5;--exclusive-pale: #e6ebf1;--expats: #00c2a9;--expats-dark: #00af98;--expats-darker: #009b87;--expats-darkest: #007465;--expats-light: #b3ede5;--expats-pale: #e6f9f6;--dental: #00bcdc;--dental-dark: #00a9c6;--dental-darker: #0096b0;--dental-darkest: #007184;--dental-light: #b3ebf5;--dental-pale: #e6f8fc;--company: #e09c1f;--company-dark: #ca8c1c;--company-darker: #b37d19;--company-darkest: #865e13;--company-light: #f6e1bc;--company-pale: #fcf5e9;--dental-70: #5eccd7;--dental-70-dark: #55b8c2;--dental-70-darker: #4ba3ac;--dental-70-darkest: #387a81;--dental-70-light: #cff0f3;--dental-70-pale: #effafb;--dental-85: #677eeb;--dental-85-dark: #5d71d4;--dental-85-darker: #5265bc;--dental-85-darkest: #3e4c8d;--dental-85-light: #d1d8f9;--dental-85-pale: #f0f2fd;--clinic: #3db88d;--clinic-dark: #37a67f;--clinic-darker: #319371;--clinic-darkest: #256e55;--clinic-light: #c5eadd;--clinic-pale: #ecf8f4;--zweibett: #55c291;--zweibett-dark: #4daf83;--zweibett-darker: #449b74;--zweibett-darkest: #337457;--zweibett-light: #ccedde;--zweibett-pale: #eef9f4;--einbett: #319884;--einbett-dark: #2c8977;--einbett-darker: #277a6a;--einbett-darkest: #1d5b4f;--einbett-light: #c1e0da;--einbett-pale: #eaf5f3;--satisfaction: #c2a46d;--satisfaction-dark: #af9462;--satisfaction-darker: #9b8357;--satisfaction-darkest: #746241;--satisfaction-light: #ede4d3;--satisfaction-pale: #f9f6f0;--study-free: #052d5e;--study-free-dark: #052955;--study-free-darker: #04244b;--study-free-darkest: #031b38;--study-free-light: #b4c0cf;--study-free-pale: #e6eaef;--study-protect: #005ea8;--study-protect-dark: #005597;--study-protect-darker: #004b86;--study-protect-darkest: #003865;--study-protect-light: #b3cfe5;--study-protect-pale: #e6eff6;--option: #5f50ff;--option-dark: #5648e6;--option-darker: #4c40cc;--option-darkest: #393099;--option-light: #cfcbff;--option-pale: #efeeff;--text-gray: #33406f;--text-gray-darker: #293359;--text-blue: #1e429f;--text-blue-darker: #18357f;--text-purple: #5521b5;--text-purple-darker: #441a91;--text-pink: #a745a3;--text-pink-darker: #863782;--text-pink-contrast: #e80d5f;--text-pink-contrast-darker: #ba0a4c;--text-green: #04543f;--text-green-darker: #034332;--text-red: #9a1c1c;--text-red-darker: #7b1616;--text-orange: #8a2c0d;--text-orange-darker: #6e230a;--text-yellow: #a3691f;--text-yellow-darker: #825419;--text-yellow-contrast: #9f661e;--text-yellow-contrast-darker: #7f5218;--text-background-gray: #f2f3f6;--text-background-gray-darker: #c2c2c5;--text-background-blue: #e1effe;--text-background-blue-darker: #b4bfcb;--text-background-purple: #edebfe;--text-background-purple-darker: #bebccb;--text-background-pink: #fee6fd;--text-background-pink-darker: #cbb8ca;--text-background-green: #def7ec;--text-background-green-darker: #b2c6bd;--text-background-red: #fde8e7;--text-background-red-darker: #cabab9;--text-background-orange: #feecdc;--text-background-orange-darker: #cbbdb0;--text-background-yellow: #fffaca;--text-background-yellow-darker: #ccc8a2;--text: var(--sec-light-60);--text-light: var(--sec-light-40);--text-lighter: var(--sec-light-20);--text-heading: var(--sec-light-100);--line: var(--sec-light-10);--border-light: var(--sec-light-10);--border: var(--sec-light-20);--border-dark: var(--sec-light-40);--border-primary: var(--primary);--border-primary-dark: var(--primary-darker);--border-error: var(--error);--border-radius-xs: 4px;--border-radius-sm: 6px;--border-radius-md: 8px;--border-radius-lg: 12px;--border-radius-xl: 16px;--disabled: var(--sec-light-02);--shadow: rgba(0, 16, 75, .15);--shadow-dark: rgba(0, 16, 75, .2);
3--box-shadow-xs: 0 1px 2px var(--shadow-dark);--box-shadow-sm: 0 2px 4px var(--shadow-dark);--box-shadow-md: 0 4px 12px var(--shadow);--box-shadow-lg: 0 8px 24px var(--shadow);--transition: all .2s ease-in-out;--focus-shadow-primary: 0 0 0 4px var(--primary-20);--focus-shadow-darker: 0 0 0 4px var(--sec-light-40);--focus-shadow-dark: 0 0 0 4px var(--sec-light-20);--focus-shadow-gray: 0 0 0 4px var(--sec-light-10);--focus-shadow-danger: 0 0 0 4px var(--danger-shadow);--focus-shadow-success: 0 0 0 4px var(--success-shadow);--focus-shadow-warning: 0 0 0 4px var(--warning-shadow);--focus-shadow-info: 0 0 0 4px var(--info-shadow);--focus-shadow-pink: 0 0 0 4px var(--pink-shadow);--focus-shadow-gold: 0 0 0 4px var(--satisfaction-shadow);--focus-shadow-expats: 0 0 0 4px var(--expats-shadow);--focus-shadow-text-primary: drop-shadow(0px 1px 3px rgba(0, 119, 255, .5));--focus-shadow-text-pink: drop-shadow(0px 1px 3px rgba(246, 92, 150, .5))}[data-theme=contrast][_ngcontent-%COMP%]   *[_ngcontent-%COMP%]{--primary: var(--primary-contrast);--primary-darker: var(--primary-contrast-darker);--success: var(--success-contrast);--success-darker: var(--success-contrast-darker);--danger: var(--danger-contrast);--danger-darker: var(--danger-contrast-darker);--pink: var(--pink-contrast);--pink-darker: var(--pink-contrast-darker);--satisfaction: var(--satisfaction-pale);--satisfaction-strong: var(--satisfaction-darkest);--yellow: var(--yellow-contrast)}.drop-zone[_ngcontent-%COMP%]{min-height:96px;max-height:490px;padding:16px;border:1px dashed var(--border);border-radius:8px;color:var(--sec-light-60);overflow-y:auto}.drop-zone-empty[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.drop-zone.file-over[_ngcontent-%COMP%]{border-color:var(--primary)}.custom-file[_ngcontent-%COMP%]{display:inline-block;padding:0;border:0;background:none;color:var(--primary);cursor:pointer;font-weight:700}.custom-file[_ngcontent-%COMP%]:hover{color:var(--primary-darker)}.custom-file[_ngcontent-%COMP%]   .custom-file-input[_ngcontent-%COMP%]{position:absolute;visibility:hidden}.files-preview[_ngcontent-%COMP%]{display:grid;gap:20px;grid-template-columns:repeat(3,minmax(0,1fr))}.files-preview[_ngcontent-%COMP%]   .file[_ngcontent-%COMP%]{position:relative;display:flex;max-width:100%;height:150px;max-height:100%;flex-direction:row;align-items:center;justify-content:center;background-color:var(--sec-light-02);
3box-shadow:var(--box-shadow-sm)}@media (min-width: 576px){.files-preview[_ngcontent-%COMP%]   .file[_ngcontent-%COMP%]{height:190px}}.files-preview[_ngcontent-%COMP%]   .file.add-file[_ngcontent-%COMP%]{border:1px solid var(--border);background:var(--sec-light-02);border-radius:var(--border-radius-sm);box-shadow:none;cursor:pointer}.files-preview[_ngcontent-%COMP%]   .file[_ngcontent-%COMP%]   .add-file-icon[_ngcontent-%COMP%]{width:24px;height:24px;color:var(--sec-light-60)}.files-preview[_ngcontent-%COMP%]   .file[_ngcontent-%COMP%]   .remove-file[_ngcontent-%COMP%]{position:absolute;z-index:1;top:-8px;right:-12px;width:28px;height:28px;color:var(--sec-light-40);cursor:pointer;transition:all .1s ease-in-out}.files-preview[_ngcontent-%COMP%]   .file[_ngcontent-%COMP%]   .remove-file[_ngcontent-%COMP%]:hover{color:var(--sec-light-50)}.files-preview[_ngcontent-%COMP%]   .file[_ngcontent-%COMP%]   .preview-file[_ngcontent-%COMP%]{position:absolute;z-index:1;bottom:4px;left:4px;display:flex;width:32px;height:32px;align-items:center;justify-content:center;padding:0;border:2px solid var(--sec-light-10);background:var(--sec-light-02);border-radius:50%;
3box-shadow:var(--box-shadow-sm);color:var(--sec-light-60);cursor:pointer;transition:color .1s ease-in-out}.files-preview[_ngcontent-%COMP%]   .file[_ngcontent-%COMP%]   .preview-file[_ngcontent-%COMP%]:hover{color:var(--primary)}.files-preview[_ngcontent-%COMP%]   .file[_ngcontent-%COMP%]   .preview-file[_ngcontent-%COMP%]:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.files-preview[_ngcontent-%COMP%]   .file[_ngcontent-%COMP%]   .preview-file[_ngcontent-%COMP%]   .preview-file-icon[_ngcontent-%COMP%]{width:20px;height:13px}.files-preview[_ngcontent-%COMP%]   .file[_ngcontent-%COMP%]   .file-tooltip[_ngcontent-%COMP%]{position:absolute;bottom:20%;left:12%;pointer-events:none;--tooltip-width: 175px}.files-preview[_ngcontent-%COMP%]   .file[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:100%;max-height:100%}.files-preview[_ngcontent-%COMP%]   .file[_ngcontent-%COMP%]:hover{border-color:var(--primary)}.files-preview[_ngcontent-%COMP%]   .file-name[_ngcontent-%COMP%]{overflow:hidden;width:100%;height:20px;margin-top:6px;color:var(--text-heading);font-size:14px;line-height:20px;text-overflow:ellipsis;white-space:nowrap}"]})}return jt})(),Wn=(()=>{class jt{static \u0275fac=function(Zt){return new(Zt||jt)};static \u0275mod=_.$C({type:jt});static \u0275inj=_.G2t({providers:[B.g7,bt,ft],imports:[a.MD,h.X1,C.U,Ie.eB,h.X1,Ze,B.o,z.q,Le.rL,xe.x,Wt,P.xy,H.tm,Re]})}return jt})();var qn=g(82689),Fn=g(61177),Mi=g(77392),zi=g(58468),Yi=g(6663),ni=g(62997),wi=g(2
31252),Rt=g(56731),Xt=g(60494),Dt=g(80560),xn=g(53934),Oe=g(23583),Ye=g(81930),vt=g(89898),tn=g(63752),zn=g(50106),Qn=g(17796),si=function(jt){return jt.Admin="admin",jt.Customer="customer",jt}(si||{}),gr=g(35610),xt=g(47868),Sn=g(58344),qt=g(84284);function Cn(jt,nn){if(1&jt){const et=_.RV6();_.j41(0,"div",5)(1,"frontend-checkbox",8)(2,"div",9),_.EFF(3," Ich best\xe4tige, dass ich das Prim\xe4rarztprinzip befolge. "),_.j41(4,"frontend-tooltip",10)(5,"frontend-image",11),_.bIt("mouseenter",function(){_.eBV(et);const At=_.XpG();return _.Njj(At.showToolTip=!0)})("mouseleave",function(){_.eBV(et);const At=_.XpG();return _.Njj(At.showToolTip=!1)}),_.k0s()()()()()}2&jt&&(_.R7$(4),_.Y8G("position","left")("content","Hast du dich vor dem Besuch bei dem Facharzt von deinem Hausarzt, dem ottonova Concierge oder einem anderen Prim\xe4rarzt beraten lassen?")("multiline",!0))}function ai(jt,nn){if(1&jt&&_.nrm(0,"frontend-autocomplete",6),2&jt){const et=_.XpG();_.Y8G("options",et.documentTypeOptions)("useInternalFiltration",!0)}}function gi(jt,nn){1&jt&&(_.j41(0,"div",7)(1,"div",12)(2,"label",13),_.EFF(3,"Titel"),_.k0s(),_.j41(4,"span",14),_.EFF(5,"optional"),_.k0s()(),_.nrm(6,"frontend-input",15),_.k0s()),2&jt&&(_.R7$(6),_.Y8G("maxLength",80))}let Pt=(()=>{class jt{getDocumentCategoriesUrl;documentCategories=[];showPrimaryDoctorsPrinciple;form;userType;selectedDocumentLabelChange=new _.bkB;showToolTip=!1;documentCategoryOptions=[];documentTypeOptions=[];component$=new Mi.B;documentUploadService=(0,_.WQX)(ft);masterDataApiGatewayService=(0,_.WQX)(Fn.Ci);ngOnInit(){this.form.addControl("category",new h.MJ({value:null,disabled:!0},qn.k0.required)),this.form.addControl("type",new h.MJ(null)),this.form.addControl("description",new h.MJ(null)),this.form.addControl("affirmedPrimaryDoctorPrinciple",new h.MJ(!1,{nonNullable:!0})),this.form.valueChanges.pipe((0,zi.Q)(this.component$),(0,zn.c)(0)).subscribe(()=>{this.setValidation(),this.emitSelectedDocumentLabel()}),this.loadDocumentCategoryOptions(),this.loadDocumentTypeOptions()}ngOnDestroy(){this.component$.next(),this.component$.complete()}isPersonalDocument(){return this.form.controls.category.value===q.cNL.personalDocument}isOttonovaDocument(){return this.form.controls.category.value===q.cNL.ottonova}isSpecialistInvoice(){return this.form.controls.category.value===q.cNL.specialistInvoice}shouldShowDescription(){return this.isOttonovaDocument()}getSelectedDocumentLabel(){return this.isOttonovaDocument()?this.findOptionLabel(this.documentTypeOptions,this.form.controls.type.value):this.findOptionLabel(this.documentCategoryOptions,this.form.controls.category.value)}showAffirmedPrimaryDoctorPrinciple(){return this.isSpecialistInvoice()&&this.showPrimaryDoctorsPrinciple}loadDocumentCategoryOptions(){this.getDocumentCategories().pipe((0,Yi.T)(et=>et.map(({category:Zt,name:At})=>({label:At,value:Zt}))),(0,zi.Q)(this.component$)).subscribe(et=>{if(this.documentCategoryOptions=et,this.form.controls.category.enable(),this.isAdminUser()){const Zt=et.find(At=>At.value===q.cNL.ottonova);this.form.controls.category.setValue(Zt?.value??null)}this.emitSelectedDocumentLabel()})}getDocumentCategories(){return this.documentCategories?.length?(0,Qn.of)(this.documentCategories):this.documentUploadService.getDocumentCategories(this.getDocumentCategoriesUrl).pipe((0,Yi.T)(et=>this.isAdminUser()?et:et.filter(Zt=>Zt.category!==q.cNL.ottonova)))}loadDocumentTypeOptions(){!this.isAdminUser()||this.documentCategories?.length||this.masterDataApiGatewayService.fetchInsuranceDocumentTypes().pipe((0,Yi.T)(et=>this.sortAlphabetically(et)),(0,Yi.T)(et=>et.map(({Translation_DE:Zt,TypeID:At})=>({label:Zt,value:At}))),(0,zi.Q)(this.component$)).subscribe(et=>{this.documentTypeOptions=et,this.emitSelectedDocumentLabel()})}isAdminUser(){return this.userType===si.Admin}setValidation(){this.isAdminUser()&&this.isOttonovaDocument()?this.setControlValidation(this.form.controls.type,[qn.k0.required]):this.resetFormControl(this.form.controls.type),this.shouldShowDescription()?this.setControlValidation(this.form.controls.description,[qn.k0.maxLength(80)]):this.resetFormControl(this.form.controls.description),this.isSpecialistInvoice()||this.resetFormControl(this.form.controls.affirmedPrimaryDoctorPrinciple)}setControlValidation(et,Zt){et.setValidators(Zt),et.updateValueAndValidity({emitEvent:!1}),et.value&&et.markAsDirty()}resetFormControl(et){et.setValidators([]),et.reset(null,{emitEvent:!1})}sortAlphabetically(et){return et.slice().sort((Zt,At)=>Zt.Translation_DE.localeCompare(At.Translation_DE,"de",{sensitivity:"base"}))}findOptionLabel(et,Zt){return et.find(At=>At.value===Zt)?.label||Zt}emitSelectedDocumentLabel(){this.selectedDocumentLabelChange.emit(this.getSelectedDocumentLabel())}static \u0275fac=function(Zt){return new(Zt||jt)};static \u0275cmp=_.VBU({type:jt,selectors:[["frontend-document-upload-document-metadata"]],inputs:{getDocumentCategoriesUrl:"getDocumentCategoriesUrl",documentCategories:"documentCategories",showPrimaryDoctorsPrinciple:"showPrimaryDoctorsPrinciple",form:"form",userType:"userType"},outputs:{selectedDocumentLabelChange:"selectedDocumentLabelChange"},features:[_.Jv_([B.g7])],decls:10,vars:7,consts:[[1,"document-metadata",3,"formGroup"],[1,"metadata-form-column"],[1,"document-category-toggle"],[1,"document-category-toggle-label"],["id","document-category-toggle","formControlName","category",3,"options","equalWidth","forceDesktopTheme"],[1,"primary-principle"],["label","Dokumententyp","placeholder","Bitte w\xe4hlen","formControlName","type","dataCy","ottonova-document-type-dropdown",3,"options","useInternalFiltration"],[1,"document-title"],["formControlName","affirmedPrimaryDoctorPrinciple","data-cy","primary-doctor-principle-checkbox"],[1,"primary-principle-content"],["dataCy","primary-doctor-tooltip",3,"position","content","multiline"],["file","question-mark-circle-grey.svg","data-cy","primary-doctor-tooltip-icon",3,"mouseenter","mouseleave"],[1,"document-title-label"],["for","description"],[1,"document-title-optional-label"],["placeholder","Dokumententitel","innerInputId","de
3scription","formControlName","description","dataCy","description",3,"maxLength"]],template:function(Zt,At){1&Zt&&(_.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"span",3),_.EFF(4,"Art des Dokuments"),_.k0s(),_.nrm(5,"frontend-segmented-control",4),_.k0s()(),_.j41(6,"div",1),_.DNE(7,Cn,6,3,"div",5)(8,ai,1,2,"frontend-autocomplete",6)(9,gi,7,1,"div",7),_.k0s()()),2&Zt&&(_.Y8G("formGroup",At.form),_.R7$(5),_.Y8G("options",At.documentCategoryOptions)("equalWidth",!0)("forceDesktopTheme",!0),_.R7$(2),_.vxM(At.showAffirmedPrimaryDoctorPrinciple()?7:-1),_.R7$(),_.vxM(At.isOttonovaDocument()?8:-1),_.R7$(),_.vxM(At.shouldShowDescription()?9:-1))},dependencies:[h.BC,h.cb,h.j4,h.JD,gr.b,A.h,xt.P,Sn.s,qt.S,Re],styles:[".document-metadata[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-top:0;gap:16px}@media (min-width: 992px){.document-metadata[_ngcontent-%COMP%]{gap:16px}}.document-metadata[_ngcontent-%COMP%]   .col-6[_ngcontent-%COMP%]{padding:0}.document-metadata[_ngcontent-%COMP%]   .col-6[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]{width:252px;margin:0}.document-metadata[_ngcontent-%COMP%]   .primary-principle[_ngcontent-%COMP%]{display:flex}@media (min-width: 992px){.document-metadata[_ngcontent-%COMP%]   .primary-principle[_ngcontent-%COMP%]{margin-top:30px}}.document-metadata[_ngcontent-%COMP%]   .primary-principle-content[_ngcontent-%COMP%]{display:flex;align-items:center}.metadata-form-column[_ngcontent-%COMP%]{display:flex;flex:1;flex-direction:column;gap:16px}.document-category-toggle[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:4px}.document-category-toggle-label[_ngcontent-%COMP%], .document-title-label[_ngcontent-%COMP%]{color:var(--sec-light-60);font-size:14px;font-weight:700;line-height:20px}.document-title[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:4px}.document-title-label[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.document-title-optional-label[_ngcontent-%COMP%]{color:var(--sec-light-40);font-weight:400}"]})}return jt})();const Et=()=>[];function ot(jt,nn){1&jt&&_.EFF(0," ottonova Dokumente k\xf6nnen nur als PDF hochgeladen werden. ")}function pt(jt,nn){1&jt&&_.EFF(0," Der Upload ist fehlgeschlagen. Bitte versuche es erneut. ")}function rn(jt,nn){if(1&jt&&(_.j41(0,"frontend-alert-inline",7),_.DNE(1,ot,1,0)(2,pt,1,0),_.k0s()),2&jt){const et=_.XpG();_.Y8G("type",et.alertType.Danger),_.R7$(),_.vxM("pdf"===et.submitError?1:2)}}function Vn(jt,nn){if(1&jt&&(_.j41(0,"div",8),_.nrm(1,"frontend-select",14),_.k0s()),2&jt){const et=_.XpG();_.R7$(),_.Y8G("options",et.data.familyMemberOptions)}}function oi(jt,nn){if(1&jt){const et=_.RV6();_.j41(0,"frontend-document-upload-document-metadata",15),_.bIt("selectedDocumentLabelChange",function(At){_.eBV(et);const Yn=_.XpG();return _.Njj(Yn.setSelectedDocumentLabel(At))}),_.k0s()}if(2&jt){const et=_.XpG();_.Y8G("form",et.form)("userType",et.data.userType)("documentCategories",et.data.documentCategories)("getDocumentCategoriesUrl",null==et.data.urls?null:et.data.urls.getDocumentCategoriesUrl)("showPrimaryDoctorsPrinciple",et.data.showPrimaryDoctorsPrinciple)}}function hi(jt,nn){if(1&jt&&_.EFF(0),2&jt){const et=_.XpG(2);_.SpI(" ",et.data.successStepTitle," ")}}function Oi(jt,nn){1&jt&&_.EFF(0," Erfolgreich eingereicht ")}function Dr(jt,nn){if(1&jt&&_.EFF(0),2&jt){const et=_.XpG(2);_.SpI(" ",et.data.successStepText," ")}}function mr(jt,nn){1&jt&&_.EFF(0," Wir pr\xfcfen dein Dokument und k\xfcmmern uns um alles weitere. Wenn wir noch etwas ben\xf6tigen, kontaktieren wir dich. ")}function yr(jt,nn){if(1&jt&&(_.j41(0,"p",19),_.nrm(1,"frontend-image",20),_.EFF(2),_.k0s()),2&jt){const et=_.XpG(2);_.R7$(),_.Y8G("stretchToContainer",!0),_.R7$(),_.SpI(" ",et.data.documentUploadInfoMessage," ")}}function ss(jt,nn){if(1&jt&&(_.j41(0,"div",10),_.nrm(1,"frontend-image",16),_.j41(2,"h2",17),_.DNE(3,hi,1,1)(4,Oi,1,0),_.k0s(),_.j41(5,"p",18),_.DNE(6,Dr,1,1)(7,mr,1,0),_.k0s(),_.DNE(8,yr,3,2,"p",19),_.k0s()),2&jt){const et=_.XpG();_.R7$(),_.Y8G("stretchToContainer",!0),_.R7$(2),_.vxM(et.data.successStepTitle?3:4),_.R7$(3),_.vxM(et.data.successStepText?6:7),_.R7$(2),_.vxM(et.data.documentUploadInfoMessage?8:-1)}}function Di(jt,nn){if(1&jt&&(_.j41(0,"frontend-alert-inline",11),_.EFF(1," Es sieht so aus, als h\xe4ttest du bereits ein \xe4hnliches Dokument hochgeladen. Bitte pr\xfcfe das noch einmal. "),_.k0s()),2&jt){const et=_.XpG();_.Y8G("type",et.alertType.Warning)}}function ds(jt,nn){if(1&jt){const et=_.RV6();_.j41(0,"frontend-button",21),_.bIt("onClick",function(){_.eBV(et);const At=_.XpG();return _.Njj(At.confirmPreviewUpload())}),_.EFF(1," Hochladen "),_.k0s()}if(2&jt){const et=_.XpG();_.Y8G("size",et.buttonSize.Sm)("loadingState",et.isUploadingDocument?et.buttonLoadingState.Loading:et.buttonLoadingState.NotLoading)("disabled",et.isUploadingDocument||!et.isPreviewUploadAllowed())}}let cr=(()=>{class jt{alertType=q.vTj;data=(0,_.WQX)(B.e5);buttonSize=q.H7o;form;isUploadingDocument;dropzoneUploadComponent;MAX_FILE_SIZE=Ie.w3;postUserFilesUrl="";postCustomerDocumentsUrl="";hasMultipleFamilyMembers;showSuccessStep;buttonLoadingState=H.Gu;isDuplicateDetected;submitError=null;maximumFiles$;previewFile$=new Mi.B;selectedDocumentLabel="";isPreparingPreview=(0,_.vPA)(!1);isPreviewUploadAllowed=(0,_.vPA)(!1);isUploadPreview=(0,_.vPA)(!1);modalInstance=(0,_.WQX)(B.g7);documentPreviewMergeService=(0,_.WQX)(bt);documentUploadService=(0,_.WQX)(ft);dateService=(0,_.WQX)(Fn.kT);documentType$;component$=new Mi.B;duplicateFileToDocumentMap=new Map;ngOnInit(){this.form=new h.gE({}
3),this.isCustomSubmitMethodDefined()||(this.postUserFilesUrl=this.data.urls?.postUserFilesUrl||"",this.postCustomerDocumentsUrl=this.data.urls?.postCustomerDocumentsUrl||""),this.data.familyMemberOptions&&(this.hasMultipleFamilyMembers=this.data.familyMemberOptions.length>1),this.hasMultipleFamilyMembers&&(this.form.addControl("familyMember",new h.MJ(null,qn.k0.required)),this.isCustomSubmitMethodDefined()||this.form.controls.familyMember.valueChanges.pipe((0,zi.Q)(this.component$)).subscribe(et=>{this.postUserFilesUrl=this.documentUploadService.getPostUserFilesUrl(et),this.postCustomerDocumentsUrl=this.documentUploadService.getPostCustomerDocumentsUrl(et)})),this.documentType$=this.form.valueChanges.pipe((0,Yi.T)(et=>et.category)),this.maximumFiles$=this.documentType$.pipe((0,ni.Z)(Ie.Z9),(0,Yi.T)(et=>et===q.cNL.ottonova?1:this.data.maxFilesNumber||Ie.Z9),(0,wi.M)(et=>this.dropzoneUploadComponent.uploader.fileUploader.setOptions({maxFilesNumber:et})))}ngOnDestroy(){this.closePreview(),this.component$.next(),this.component$.complete()}hasFiles(){return this.dropzoneUploadComponent.uploader.hasFiles()}closeModal(et){this.closePreview(),this.modalInstance.close(et)}dismissModal(){if(this.closePreview(),this.isDuplicateDetected&&this.data.onDuplicateDetectedAndDismissed){const et=this.getDuplicatedDocumentId();et&&this.data.onDuplicateDetectedAndDismissed(et)}this.modalInstance.dismiss()}onFileUploadSuccess(et){this.documentUploadService.postDocument(et,this.postCustomerDocumentsUrl,this.data.todoId).pipe((0,zi.Q)(this.component$),(0,Rt.j)(()=>this.isUploadingDocument=!1),(0,Xt.W)(Zt=>(this.isUploadingDocument=!1,this.closeModal({uploadSuccessful:!1,error:Zt}),Dt.w))).subscribe(Zt=>{const At={customerDocument:Zt,documentsCount:et.length,uploadSuccessful:!0,uploadedDocumentProfileId:this.hasMultipleFamilyMembers?this.form.controls.familyMember.value:this.data.currentProfileId};this.showSuccessStep=!!this.data.showSuccessStep,this.showSuccessStep?"function"==typeof this.data.onDocumentSuccessfulUpload&&this.data.onDocumentSuccessfulUpload(At):this.closeModal(At)})}onFileRemove(et){const At=this.dropzoneUploadComponent.uploader.getQueue()[et]?.file?.name,Yn=!!At&&this.duplicateFileToDocumentMap.has(At);this.dropzoneUploadComponent.uploader.removeFromQueue(et),Yn&&this.data.onDuplicateRemoved&&this.data.onDuplicateRemoved(),this.updateDuplicateDetectedStatus()}onDocumentUploadFailed(et){if(this.isUploadingDocument=!1,et?.name===Ie.bS.DuplicateDetected)return et.file?.documentId&&et.file?.name&&this.duplicateFileToDocumentMap.set(et.file.name,et.file.documentId),void this.updateDuplicateDetectedStatus();const Zt=et?.name??et;"function"!=typeof this.data.onDocumentUploadFailed?this.closeModal({uploadSuccessful:!1,error:Zt}):this.data.onDocumentUploadFailed({uploadSuccessful:!1,error:Zt})}submit(){var et=this;return(0,Ve.A)(function*(){!et.data.showPreviewBeforeSubmit||et.showSuccessStep||et.isUploadingDocument||et.isPreparingPreview()?et.uploadDocument():yield et.openUploadPreview()})()}confirmPreviewUpload(){!this.isUploadPreview()||!this.isPreviewUploadAllowed()||this.uploadDocument()}closePreview(){this.isPreviewUploadAllowed.set(!1),this.isUploadPreview.set(!1),this.previewFile$.next(null)}openSelectedDocumentPreview(et){this.isPreviewUploadAllowed.set(!1),this.isUploadPreview.set(!1),this.previewFile$.next({file:{blob:et,name:et.name},options:{shouldShowInFront:!0}})}onPreviewPageStateChange(et){this.isUploadPreview()&&et.isLastPage&&this.isPreviewUploadAllowed.set(!0)}setSelectedDocumentLabel(et){this.selectedDocumentLabel=et}uploadDocument(){if(this.showSuccessStep)return"function"==typeof this.data.onShowSuccessStepClose&&this.data.onShowSuccessStepClose(),this.dismissModal();this.isUploadingDocument=!0,this.submitError=null;const et=this.dropzoneUploadComponent.uploader.getQueue();if(!this.isCustomSubmitMethodDefined()||!et.length)return this.dropzoneUploadComponent.uploader.uploadFiles(),void(this.isDuplicateDetected=!1);if(this.data.onCustomSubmitDocument){const Zt=this.generateDocumentMetadata();this.data.onCustomSubmitDocument(et,Zt).pipe((0,zi.Q)(this.component$),
3(0,Rt.j)(()=>{this.isUploadingDocument=!1,this.isDuplicateDetected=!1}),(0,Xt.W)(At=>(this.submitError=(At?.error?.error?.message??"").toLowerCase().includes("pdf")?"pdf":"generic",this.closePreview(),Dt.w)),(0,Yi.T)(()=>{this.data.showSuccessStep?this.showSuccessStep=!0:this.closeModal({uploadSuccessful:!0})})).subscribe()}}openUploadPreview(){var et=this;return(0,Ve.A)(function*(){if(!et.form.valid)return;const Zt=et.dropzoneUploadComponent.uploader.getQueue().map(At=>At._file);et.isPreviewUploadAllowed.set(!1),et.isPreparingPreview.set(!0),et.submitError=null;try{const At=yield et.documentPreviewMergeService.merge(Zt);et.isUploadPreview.set(!0),et.previewFile$.next({file:{blob:At,name:et.form.controls.description?.value||et.getUploadPreviewTitle(Zt[0]?.name),subtitle:et.getUploadPreviewLabel()},options:{shouldShowInFront:!0}})}catch{et.submitError="generic"}finally{et.isPreparingPreview.set(!1)}})()}getUploadPreviewTitle(et){const Zt=this.getUploadPreviewLabel();return Zt?`${Zt} ${this.dateService.format(this.dateService.today(),"MM/YYYY")}`:et}getUploadPreviewLabel(){return this.selectedDocumentLabel}isCustomSubmitMethodDefined(){return"function"==typeof this.data.onCustomSubmitDocument}updateDuplicateDetectedStatus(){const et=this.dropzoneUploadComponent.uploader.getQueue(),Zt=new Set(et.map(At=>At.file.name));Array.from(this.duplicateFileToDocumentMap.keys()).forEach(At=>{Zt.has(At)||this.duplicateFileToDocumentMap.delete(At)}),this.isDuplicateDetected=this.duplicateFileToDocumentMap.size>0}generateDocumentMetadata(){const et={},Zt=this.form.controls.category?.value,At=this.form.controls.description?.value;return Zt&&(this.isCustomSubmitMethodDefined()&&(et.type=Zt),Zt===q.cNL.ottonova&&(et.type=this.form.controls.type.value),Zt===q.cNL.specialistInvoice&&(et.affirmed_primary_doctor_principle=!!this.form.controls.affirmedPrimaryDoctorPrinciple.value)),At&&(et.description=At),et}getDuplicatedDocumentId(){return this.duplicateFileToDocumentMap.values().next().value}static \u0275fac=function(Zt){return new(Zt||jt)};static \u0275cmp=_.VBU({type:jt,selectors:[["frontend-document-upload-modal"]],viewQuery:function(Zt,At){if(1&Zt&&_.GBs(Ie.mJ,7),2&Zt){let Yn;_.mGM(Yn=_.lsd())&&(At.dropzoneUploadComponent=Yn.first)}},decls:18,vars:32,consts:[["dropzone",""],[1,"document-upload-modal",3,"onDismissClick","onSubmitClick","title","hideCrossIcon","dismissButtonText","submitButtonText","submitDisabled","submitLoadingState"],["modalBody",""],[3,"ngSubmit","formGroup"],["id","drop-files","data-cy","modal-file-dropzone",3,"onUploadSuccess","onUploadFailed","apiUrl","maxFilesNumber","maxFileSize","existingDocuments"],["data-cy","modal-document-upload-file-selection",3,"onFileUploadClick","onFileRemoveClick","onFilePreviewClick","queue","isOverDropZone","showFileNames","enabled"],[1,"document-upload-modal-merge-notice"],["dataCy","submit-error-alert",1,"submit-error-alert",3,"type"],[1,"family-member"],["data-cy","modal-document-upload-document-metadata",3,"form","userType","documentCategories","getDocumentCategoriesUrl","showPrimaryDoctorsPrinciple"],[1,"document-upload-modal-success"],["dataCy","duplicate-detected-alert",1,"duplicate-detected-alert",3,"type"],[3,"pageStateChange","filePreview$","transparentOverlay","closeOnOutsideClick","disableOuterPageScroll"],["primaryAction","","dataCy","document-upload-preview-submit-button",1,"primary-action","no-dismiss","document-upload-preview-submit",3,"size","loadingState","disabled"],["label","Familienmitglied","size","lg","formControlName","familyMember","selectId","familyMember",3,"options"],["data-cy","modal-document-upload-document-metadata",3,"selectedDocumentLabelChange","form","userType","documentCategories","getDocumentCategoriesUrl","showPrimaryDoctorsPrinciple"],["type","svg","file","success-mark-rounded.svg",1,"document-upload-modal-success-icon",3,"stretchToContainer"],["data-cy","document-upload-success-title",1,"document-upload-modal-success-title"],[1,"document-upload-modal-success-text"],[1,"document-upload-modal-success-info"],["type","svg","file","info-icon.svg",1,"document-upload-modal-success-info-icon",3,"stretchToContainer"],["primaryAction","","dataCy","document-upload-preview-submit-button",1,"primary-action","no-dismiss","document-upload-preview-submit",3,"onClick","size","loadingState","disabled"]],template:function(Zt,At){if(1&Zt){const Yn=_.RV6();_.j41(0,"frontend-default-modal",1),_.bIt("onDismissClick",function(){return _.eBV(Yn),_.Njj(At.dismissModal())})("onSubmitClick",function(){return _.eBV(Yn),_.Njj(At.submit())}),_.qex(1,2),_.j41(2,"div")(3,"form",3),_.bIt("ngSubmit",function(){return _.eBV(Yn),_.Njj(At.submit())}),_.j41(4,"frontend-file-dropzone",4,0),_.nI1(6,"async"),_.bIt("onUploadSuccess",function(ii){return _.eBV(Yn),_.Njj(At.onFileUploadSuccess(ii))})("onUploadFailed",function(ii){return _.eBV(Yn),_.Njj(At.onDocumentUploadFailed(ii))}),_.j41(7,"frontend-document-upload-file-selection",5),_.nI1(8,"async"),_.bIt("onFileUploadClick",function(){_.eBV(Yn);const ii=_.sdS(5);return _.Njj(ii.uploader.selectFiles())})("onFileRemoveClick",function(ii){return _.eBV(Yn),_.Njj(At.onFileRemove(ii))})("onFilePreviewClick",function(ii){return _.eBV(Yn),_.Njj(At.openSelectedDocumentPreview(ii))}),_.k0s()(),_.j41(9,"p",6),_.EFF(10," Alle Dateien werden zu einem Dokument zusammengef\xfcgt. "),_.k0s(),_.DNE(11,rn,3,2,"frontend-alert-inline",7)(12,Vn,2,1,"div",8)(13,oi,1,5,"frontend-document-upload-document-metadata",9),_.k0s()(),_.DNE(14,ss,9,4,"div",10)(15,Di,2,1,"frontend-alert-inline",11),_.bVm(),_.k0s(),_.j41(16,"frontend-file-preview",12),_.bIt("pageStateChange",function(ii){return _.eBV(Yn),_.Njj(At.onPreviewPageStateChange(ii))}),_.DNE(17,ds,2,3,"frontend-button",13),_.k0s()}if(2&Zt){const Yn=_.sdS(5);_.Y8G("title","Dokumente hochladen")("hideCrossIcon",At.data.hideCrossIcon)("dismissButtonText",At.showSuccessStep?null:"Abbrechen")("submitButtonText",At.showSuccessStep?"OK":At.data.showPreviewBeforeSubmit?"Weiter":"Einreichen")("submitDisabled",!At.showSuccessStep&&(!At.hasFiles()||!At.form.valid||At.isUploadingDocument||At.isPreparingPreview()))("submitLoadingState",At.isUploadingDocument||At.isPreparingPreview()?At.buttonLoadingState.Loading:At.buttonLoadingState.NotLoading),_.R7$(2),_.AVh("hidden",At.showSuccessStep),_.R7$(),_.Y8G("formGroup",At.form),_.R7$(),_.Y8G("apiUrl",At.postUserFilesUrl)("maxFilesNumber",_.bMT(6,27,At.maximumFiles$))("maxFileSize",At.data.maxFileSize||At.MAX_FILE_SIZE)("existingDocuments",At.data.existingDocuments||_.lJ4(31,Et)),_.R7$(3),_.Y8G("queue",Yn.uploader.getQueue())("isOverDropZone",Yn.hasBaseDropZoneOver)("showFileNames",At.data.showFileNames)("enabled",_.bMT(8,29,At.maximumFiles$)>Yn.uploader.getQueue().length),_.R7$(4),_.vxM(At.submitError?11:-1),_.R7$(),_.vxM(At.hasMultipleFamilyMembers?12:-1),_.R7$(),_.vxM(At.data.hideMetadata?-1:13),_.R7$(),_.vxM(At.showSuccessStep?14:-1),_.R7$(),_.vxM(At.isDupl
3icateDetected?15:-1),_.R7$(),_.Y8G("filePreview$",At.previewFile$)("transparentOverlay",!0)("closeOnOutsideClick",!0)("disableOuterPageScroll",!0),_.R7$(),_.vxM(At.isUploadPreview()?17:-1)}},dependencies:[h.qT,h.BC,h.cb,h.j4,h.JD,A.h,xn.m,Ze,Oe.o,Ye.Z,Wt,vt.M,tn.Q,Pt,a.Jj],styles:["[_ngcontent-%COMP%]:root, [_nghost-%COMP%]{--business-primary: #2c6fd1;--business-secondary: #21bbfe;--first-primary: #352f64;--first-secondary: #415197;--economy-primary: #8063e1;--economy-secondary: #bd7be8;--premium-economy-primary: #3f58e3;--premium-economy-secondary: #7f94fc;--exclusive-flex-primary: #052d5e;--exclusive-flex-secondary: #07428b;--exclusive-garant-primary: #0c4a9a;--exclusive-garant-secondary: #005ea8;--expats-primary: #40b2c0;--expats-secondary: #51dbc0;--study-free-primary: #052d5e;--study-free-secondary: #07428b;--study-protect-primary: #0c4a9a;--study-protect-secondary: #005ea8;--freemium-primary: #667093;--freemium-secondary: #999fb7;--clinic-zweibett-primary: #3db88d;--clinic-zweibett-secondary: #b7f5ab;--clinic-einbett-primary: #207f7a;--clinic-einbett-secondary: #44b898;--dental-70-primary: #3abfd5;--dental-70-secondary: #a5e5dd;--dental-85-primary: #677eeb;--dental-85-secondary: #b5bef0;--primary: #0077ff;--primary-contrast: #0070f0;--primary-darker: #006be6;--primary-contrast-darker: #0065d8;--primary-light: #99c9ff;--primary-pale: #f2f8ff;--primary-110: #0066db;--primary-80: #3392ff;--primary-contrast-80: #338df3;--primary-60: #66adff;--primary-contrast-60: #66a9f6;--primary-40: #99c9ff;--primary-20: #cce4ff;--primary-10: #e6f1ff;--primary-05: #f2f8ff;--primary-02: #fafcff;--black: #000000;--white: #ffffff;--overlay-light: rgba(0, 16, 75, .4);--overlay-dark: rgba(0, 0, 0, .4);--sec-light-100: #00104b;--sec-light-90: #1a285d;--sec-light-80: #33406f;--sec-light-60: #667093;--sec-light-40: #999fb7;--sec-light-20: #cccfdb;--sec-light-10: #e6e7ed;--sec-light-05: #f2f3f6;--sec-light-02: #fafafb;--dark: #00104b;--dark-80: #33406f;--dark-60: #667093;--dark-40: #999fb7;--dark-20: #cccfdb;--dark-10: #e6e7ed;--dark-05: #f2f3f6;--dark-02: #fafafb;--sec-dark-00: #181a20;--sec-dark-80: #e5e6eb;--sec-dark-60: #aab0c0;--sec-dark-40: #717993;--sec-dark-20: #44495a;--sec-dark-10: #2e323d;--sec-dark-05: #23262f;--sec-dark-02: #1c1f26;--night: #181a20;--night-98: #1c1f26;--night-95: #23262f;--night-90: #2e323d;--night-80: #44495a;--night-60: #717993;--night-40: #aab0c0;--night-20: #e5e6eb;--black-pure: #000000;--white-pure: #ffffff;--overlay: rgba(0, 16, 75, .4);--sand: #ffedd3;--sand-80: #fff1dc;--sand-60: #fff4e5;--sand-40: #fff8ed;--sand-20: #fffbf6;--cyan: #20c2e0;--cyan-80: #4dcee6;--cyan-60: #79daec;--cyan-40: #a6e7f3;--cyan-20: #d2f3f9;--green: #0dbd83;--green-contrast: #09865d;--success: #0dbd83;--success-contrast: #09865d;--success-darker: #0caa76;--success-contrast-darker: #087954;--success-bright: #3dca9c;--success-light: #ecfaf5;--success-shadow: #cff2e6;--red: #ff5252;--red-contrast: #eb0000;--error: #ff5252;--error-contrast: #eb0000;--danger: #ff5252;--danger-contrast: #eb0000;--danger-darker: #e64a4a;--danger-contrast-darker: #d40000;--danger-bright: #ff7575;--danger-light: #fff1f1;--danger-shadow: #ffdcdc;--purple: #7263d0;--info: #7263d0;--info-darker: #6759bb;--info-bright: #8e82d9;--info-light: #f4f3fb;--info-shadow: #e3e0f6;--orange: #ffa600;--warning: #ffa600;--warning-darker: #e69500;--warning-bright: #ffb833;--warning-light: #fff8eb;--warning-shadow: #ffedcc;--pink: #f65c96;--pink-contrast: #e80d5f;--pink-darker: #dd5387;--pink-contrast-darker: #d10c56;--pink-bright: #f87dab;--pink-light: #fef2f7;--pink-shadow: #fddeea;--yellow: #fecf02;--yellow-contrast: #9f661e;--payback: #0046aa;--healthx: #151b36;--satisfaction-strong: #a38247;--satisfaction-shadow: #ede4d3;--expats-shadow: #b3ede5;--pastel-sky: #cce4ff;--pastel-rose: #ffdcdc;--pastel-mint: #cff2e6;--pastel-lemon: #fff5cc;--pastel-purple: #e2dffb;--pastel-sand: #ebe1d3;--primary-rgb: 0, 119, 255;--cyan-rgb: 32, 194, 224;--green-rgb: 13, 189, 131;--red-rgb: 255, 82, 82;--orange-rgb: 255, 166, 0;--dark-rgb: 0, 16, 75;--dark-10-rgb: 230, 231, 237;--gray-dark-rgb: 51, 64, 111;--gray-lighter-rgb: 204, 207, 219;
3--comprehensive: #0077ff;--comprehensive-dark: #006be6;--comprehensive-darker: #005fcc;--comprehensive-darkest: #004799;--comprehensive-light: #b3d6ff;--comprehensive-pale: #e6f1ff;--first: #404a8d;--first-dark: #3a437f;--first-darker: #333b71;--first-darkest: #262c55;--first-light: #c6c9dd;--first-pale: #ecedf4;--business: #009cfe;--business-dark: #008ce5;--business-darker: #007dcb;--business-darkest: #005e98;--business-light: #b3e1ff;--business-pale: #e6f5ff;--economy: #905aca;--economy-dark: #8251b6;--economy-darker: #7348a2;--economy-darkest: #563679;--economy-light: #deceef;--economy-pale: #f4effa;--premium-economy: #6e7fed;--premium-economy-dark: #6372d5;--premium-economy-darker: #5866be;--premium-economy-darkest: #424c8e;--premium-economy-light: #d4d9fa;--premium-economy-pale: #f1f2fd;--civil: #8b50ff;--civil-dark: #7d48e6;--civil-darker: #6f40cc;--civil-darkest: #533099;--civil-light: #dccbff;--civil-pale: #f3eeff;--exclusive: #063773;--exclusive-dark: #053268;--exclusive-darker: #052c5c;--exclusive-darkest: #042145;--exclusive-light: #b4c3d5;--exclusive-pale: #e6ebf1;--expats: #00c2a9;--expats-dark: #00af98;--expats-darker: #009b87;--expats-darkest: #007465;--expats-light: #b3ede5;--expats-pale: #e6f9f6;--dental: #00bcdc;--dental-dark: #00a9c6;--dental-darker: #0096b0;--dental-darkest: #007184;--dental-light: #b3ebf5;--dental-pale: #e6f8fc;--company: #e09c1f;--company-dark: #ca8c1c;--company-darker: #b37d19;--company-darkest: #865e13;--company-light: #f6e1bc;--company-pale: #fcf5e9;--dental-70: #5eccd7;--dental-70-dark: #55b8c2;--dental-70-darker: #4ba3ac;--dental-70-darkest: #387a81;--dental-70-light: #cff0f3;--dental-70-pale: #effafb;--dental-85: #677eeb;--dental-85-dark: #5d71d4;--dental-85-darker: #5265bc;--dental-85-darkest: #3e4c8d;--dental-85-light: #d1d8f9;--dental-85-pale: #f0f2fd;--clinic: #3db88d;--clinic-dark: #37a67f;--clinic-darker: #319371;--clinic-darkest: #256e55;--clinic-light: #c5eadd;--clinic-pale: #ecf8f4;--zweibett: #55c291;--zweibett-dark: #4daf83;--zweibett-darker: #449b74;--zweibett-darkest: #337457;--zweibett-light: #ccedde;--zweibett-pale: #eef9f4;--einbett: #319884;--einbett-dark: #2c8977;--einbett-darker: #277a6a;--einbett-darkest: #1d5b4f;--einbett-light: #c1e0da;--einbett-pale: #eaf5f3;--satisfaction: #c2a46d;--satisfaction-dark: #af9462;--satisfaction-darker: #9b8357;--satisfaction-darkest: #746241;--satisfaction-light: #ede4d3;--satisfaction-pale: #f9f6f0;--study-free: #052d5e;--study-free-dark: #052955;--study-free-darker: #04244b;--study-free-darkest: #031b38;--study-free-light: #b4c0cf;--study-free-pale: #e6eaef;--study-protect: #005ea8;--study-protect-dark: #005597;--study-protect-darker: #004b86;--study-protect-darkest: #003865;--study-protect-light: #b3cfe5;--study-protect-pale: #e6eff6;--option: #5f50ff;--option-dark: #5648e6;--option-darker: #4c40cc;--option-darkest: #393099;--option-light: #cfcbff;--option-pale: #efeeff;--text-gray: #33406f;--text-gray-darker: #293359;--text-blue: #1e429f;--text-blue-darker: #18357f;--text-purple: #5521b5;--text-purple-darker: #441a91;--text-pink: #a745a3;--text-pink-darker: #863782;--text-pink-contrast: #e80d5f;--text-pink-contrast-darker: #ba0a4c;--text-green: #04543f;--text-green-darker: #034332;--text-red: #9a1c1c;--text-red-darker: #7b1616;--text-orange: #8a2c0d;--text-orange-darker: #6e230a;--text-yellow: #a3691f;--text-yellow-darker: #825419;--text-yellow-contrast: #9f661e;--text-yellow-contrast-darker: #7f5218;--text-background-gray: #f2f3f6;--text-background-gray-darker: #c2c2c5;--text-background-blue: #e1effe;--text-background-blue-darker: #b4bfcb;--text-background-purple: #edebfe;--text-background-purple-darker: #bebccb;--text-background-pink: #fee6fd;--text-background-pink-darker: #cbb8ca;--text-background-green: #def7ec;--text-background-green-darker: #b2c6bd;--text-background-red: #fde8e7;--text-background-red-darker: #cabab9;--text-background-orange: #feecdc;--text-background-orange-darker: #cbbdb0;--text-background-yellow: #fffaca;--text-background-yellow-darker: #ccc8a2;--text: var(--sec-light-60);--text-light: var(--sec-light-40);--text-lighter: var(--sec-light-20);--text-heading: var(--sec-light-100);--line: var(--sec-light-10);--border-light: var(--sec-light-10);--border: var(--sec-light-20);--border-dark: var(--sec-light-40);--border-primary: var(--primary);--border-primary-dark: var(--primary-darker);--border-error: var(--error);--border-radius-xs: 4px;--border-radius-sm: 6px;--border-radius-md: 8px;--border-radius-lg: 12px;--border-radius-xl: 16px;--disabled: var(--sec-light-02);--shadow: rgba(0, 16, 75, .15);--shadow-dark: rgba(0, 16, 75, .2);
3--box-shadow-xs: 0 1px 2px var(--shadow-dark);--box-shadow-sm: 0 2px 4px var(--shadow-dark);--box-shadow-md: 0 4px 12px var(--shadow);--box-shadow-lg: 0 8px 24px var(--shadow);--transition: all .2s ease-in-out;--focus-shadow-primary: 0 0 0 4px var(--primary-20);--focus-shadow-darker: 0 0 0 4px var(--sec-light-40);--focus-shadow-dark: 0 0 0 4px var(--sec-light-20);--focus-shadow-gray: 0 0 0 4px var(--sec-light-10);--focus-shadow-danger: 0 0 0 4px var(--danger-shadow);--focus-shadow-success: 0 0 0 4px var(--success-shadow);--focus-shadow-warning: 0 0 0 4px var(--warning-shadow);--focus-shadow-info: 0 0 0 4px var(--info-shadow);--focus-shadow-pink: 0 0 0 4px var(--pink-shadow);--focus-shadow-gold: 0 0 0 4px var(--satisfaction-shadow);--focus-shadow-expats: 0 0 0 4px var(--expats-shadow);--focus-shadow-text-primary: drop-shadow(0px 1px 3px rgba(0, 119, 255, .5));--focus-shadow-text-pink: drop-shadow(0px 1px 3px rgba(246, 92, 150, .5))}[data-theme=contrast][_ngcontent-%COMP%]   *[_ngcontent-%COMP%]{--primary: var(--primary-contrast);--primary-darker: var(--primary-contrast-darker);--success: var(--success-contrast);--success-darker: var(--success-contrast-darker);--danger: var(--danger-contrast);--danger-darker: var(--danger-contrast-darker);--pink: var(--pink-contrast);--pink-darker: var(--pink-contrast-darker);--satisfaction: var(--satisfaction-pale);--satisfaction-strong: var(--satisfaction-darkest);--yellow: var(--yellow-contrast)}.document-upload-modal[_ngcontent-%COMP%]{--modal-heading-font-size: 20px;--modal-heading-font-weight: 600;--modal-heading-line-height: 28px}.document-upload-modal-merge-notice[_ngcontent-%COMP%]{margin:8px 0 20px;color:var(--text-heading);font-size:16px;font-weight:500;line-height:24px}.family-member[_ngcontent-%COMP%]{margin:20px 0 24px;text-align:left}.document-upload-modal-success[_ngcontent-%COMP%]{padding:40px 0;text-align:center}.document-upload-modal-success-icon[_ngcontent-%COMP%]{display:inline-block;width:56px;height:56px;color:var(--success)}.document-upload-modal-success-icon-wrapper[_ngcontent-%COMP%]{display:inline-block;width:56px;height:56px;margin-bottom:12px}.document-upload-modal-success-title[_ngcontent-%COMP%]{margin-bottom:4px;font-size:21px;font-weight:700}.document-upload-modal-success-text[_ngcontent-%COMP%]{max-width:340px;margin:0 auto;color:var(--text);font-size:15px;line-height:22px}.document-upload-modal-success-info[_ngcontent-%COMP%]{display:flex;max-width:430px;padding:12px 16px;margin:12px auto;background:var(--text-background-purple);border-radius:var(--border-radius-sm);color:var(--text-purple);font-size:15px;line-height:22px;text-align:left}.document-upload-modal-success-info-icon[_ngcontent-%COMP%]{width:24px;min-width:24px;height:24px;margin-top:2px;margin-right:12px}.hidden[_ngcontent-%COMP%]{overflow:hidden;width:0;height:0;opacity:0;visibility:hidden}.duplicate-detected-alert[_ngcontent-%COMP%]{display:block;margin:16px 0}.submit-error-alert[_ngcontent-%COMP%]{display:block;margin-top:16px}.document-upload-preview-submit[_ngcontent-%COMP%]{margin-left:2px}"]})}return jt})()},1330:(st,Q,g)=>{"use strict";g.d(Q,{S:()=>H});var a=g(58527);const h=["*"];let H=(()=>{class z{isGroupItem=(0,a.hFB)(!1);isMenuItem=(0,a.hFB)(!1);elementRef=(0,a.WQX)(a.aKT);onKeyDown(C){this.isMenuItem()&&["Enter","Space"].includes(C.code)&&(C.preventDefault(),this.elementRef.nativeElement.click())}static \u0275fac=function(B){return new(B||z)};static \u0275cmp=a.VBU({type:z,selectors:[["frontend-dropdown-item"]],hostBindings:function(B,_){1&B&&a.bIt("keydown",function(A){return _.onKeyDown(A)})},inputs:{isGroupItem:[1,"isGroupItem"],isMenuItem:[1,"isMenuItem"]},standalone:!0,features:[a.aNF],ngContentSelectors:h,decls:2,vars:4,consts:[[1,"otto-dropdown-item"]],template:function(B,_){1&B&&(a.NAR(),a.j41(0,"div",0),a.SdG(1),a.k0s()),2&B&&(a.AVh("group-item",_.isGroupItem()),a.BMQ("role",_.isMenuItem()?"menuitem":null)("tabindex",_.isMenuItem()?0:null))},styles:[".otto-dropdown-item[_ngcontent-%COMP%]:not(.group-item){padding:6px 8px;border-radius:var(--border-radius-xs);color:var(--sec-light-100);cursor:pointer}.otto-dropdown-item[_ngcontent-%COMP%]:not(.group-item):hover{background-color:var(--sec-light-05)}.otto-dropdown-item[_ngcontent-%COMP%]:not(.group-item):active{background-color:var(--sec-light-10)}.otto-dropdown-item[_ngcontent-%COMP%]:not(.group-item):focus-visible{outline:3px solid var(--primary)}.otto-dropdown-item.group-item[_ngcontent-%COMP%]{font-size:12px;font-weight:650}"]})}return z})()},83145:(st,Q,g)=>{"use strict";g.d(Q,{P:()=>Ve});var a=g(58527),h=g(3410),H=g(61142),z=g(23329);let P=(()=>{class Be{document=(0,a.WQX)(H.qQ);dropdowns=new Set;clickSubscription=null;register(Pe){this.dropdowns.add(Pe),this.ensureClickSubscription()}unregister(Pe){this.dropdowns.delete(Pe),this.dropdowns.size||this.destroyClickSubscription()}hideOtherDropdowns(Pe){this.dropdowns.forEach(He=>He!==Pe&&He.hideDropdown())}testDropdownClick(Pe){return Pe.target instanceof HTMLElement&&!Pe.target.closest(".otto-dropdown")}ensureClickSubscription(){this.clickSubscription||(this.clickSubscription=(0,z.R)(this.document.documentElement,"click").subscribe(Pe=>{this.testDropdownClick(Pe)&&this.dropdowns.forEach(He=>He.hideDropdown())}))}destroyClickSubscription(){this.clickSubscription?.unsubscribe(),this.clickSubscription=null}static \u0275fac=function(He){return new(He||Be)};static \u0275prov=a.jDH({token:Be,factory:Be.\u0275fac,providedIn:"root"})}return Be})();
3var C=g(95800);class ne{attach(ge){return this._attachedHost=ge,ge.attach(this)}detach(){let ge=this._attachedHost;null!=ge&&(this._attachedHost=null,ge.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(ge){this._attachedHost=ge}}class se extends ne{constructor(ge,Pe,He,bt,Yt){super(),this.component=ge,this.viewContainerRef=Pe,this.injector=He,this.componentFactoryResolver=bt,this.projectableNodes=Yt}}class _e extends ne{constructor(ge,Pe,He,bt){super(),this.templateRef=ge,this.viewContainerRef=Pe,this.context=He,this.injector=bt}get origin(){return this.templateRef.elementRef}attach(ge,Pe=this.context){return this.context=Pe,super.attach(ge)}detach(){return this.context=void 0,super.detach()}}class le extends ne{constructor(ge){super(),this.element=ge instanceof a.aKT?ge.nativeElement:ge}}class Re{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(ge){return ge instanceof se?(this._attachedPortal=ge,this.attachComponentPortal(ge)):ge instanceof _e?(this._attachedPortal=ge,this.attachTemplatePortal(ge)):this.attachDomPortal&&ge instanceof le?(this._attachedPortal=ge,this.attachDomPortal(ge)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(ge){this._disposeFn=ge}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class Ie extends Re{constructor(ge,Pe,He,bt,Yt){super(),this.outletElement=ge,this._componentFactoryResolver=Pe,this._appRef=He,this._defaultInjector=bt,this.attachDomPortal=sn=>{const ft=sn.element,Tt=this._document.createComment("dom-portal");ft.parentNode.insertBefore(Tt,ft),this.outletElement.appendChild(ft),this._attachedPortal=sn,super.setDisposeFn(()=>{Tt.parentNode&&Tt.parentNode.replaceChild(ft,Tt)})},this._document=Yt}attachComponentPortal(ge){const He=(ge.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(ge.component);let bt;return ge.viewContainerRef?(bt=ge.viewContainerRef.createComponent(He,ge.viewContainerRef.length,ge.injector||ge.viewContainerRef.injector,ge.projectableNodes||void 0),this.setDisposeFn(()=>bt.destroy())):(bt=He.create(ge.injector||this._defaultInjector||a.zZn.NULL),this._appRef.attachView(bt.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(bt.hostView),bt.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(bt)),this._attachedPortal=ge,bt}attachTemplatePortal(ge){let Pe=ge.viewContainerRef,He=Pe.createEmbeddedView(ge.templateRef,ge.context,{injector:ge.injector});return He.rootNodes.forEach(bt=>this.outletElement.appendChild(bt)),He.detectChanges(),this.setDisposeFn(()=>{let bt=Pe.indexOf(He);-1!==bt&&Pe.remove(bt)}),this._attachedPortal=ge,He}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(ge){return ge.hostView.rootNodes[0]}}let Se=(()=>{class Be{enabled=(0,a.hFB)(!1,{alias:"frontendPortal"});elementRef=(0,a.WQX)(a.aKT);appRef=(0,a.WQX)(a.o8S);injector=(0,a.WQX)(a.zZn);document=(0,a.WQX)(H.qQ);destroyRef=(0,a.WQX)(a.abz);element=this.elementRef.nativeElement;anchorElement=this.element.parentElement;window=this.document.defaultView??globalThis;portal=null;outlet=null;constructor(){(0,a.QZP)(()=>{this.enabled()?this.attach():this.detach()}),this.destroyRef.onDestroy(()=>{this.detach()})}scrollHandler=()=>this.updatePosition();updatePosition(){const Pe=this.anchorElement.getBoundingClientRect();this.applyPosition(Pe)}detach(){this.window.removeEventListener("scroll",this.scrollHandler,!0),this.outlet?.hasAttached()&&this.outlet.detach()}attach(){this.portal??=new le(this.element),this.outlet??=new Ie(this.document.body,void 0,this.appRef,this.injector,this.document),this.outlet.hasAttached()||this.outlet.attach(this.portal),requestAnimationFrame(()=>this.updatePosition()),this.window.addEventListener("scroll",this.scrollHandler,!0),this.element.style.position="fixed"}applyPosition(Pe){const He=this.window.getComputedStyle(this.element),bt=Number.parseFloat(He.marginTop),Yt=this.element.offsetWidth,ft=Pe.right-Yt;this.element.style.top=`${Pe.bottom+bt}px`,this.element.style.left=`${ft}px`,this.element.style.width=`${Yt}px`}static \u0275fac=function(He){return new(He||Be)};static \u0275dir=a.FsC({type:Be,selectors:[["","frontendPortal",""]],inputs:{enabled:[1,"frontendPortal","enabled"]},standalone:!0})}return Be})();const ke=[[["","mainElement",""]],[["","list",""]]],Ze=["[mainElement]","[list]"];let Ve=(()=>{class Be{isOpened=(0,a.geq)(!1);maxHeight=(0,a.hFB)();maxWidth=(0,a.hFB)();ignoreKeyCodes=(0,a.hFB)([]);hideOnClick=(0,a.hFB)(!0);wideList=(0,a.hFB)(!1);wide=(0,a.hFB)(!1);direction=(0,a.hFB)(C.O.Bottom);alignRight=(0,a.hFB)(!1);width=(0,a.hFB)();portalEnabled=(0,a.hFB)(!1);hideScrollbar=(0,a.hFB)(!1);captionOffset=(0,a.hFB)(null);visibilityChange=(0,a.CGW)();isTopDirection=(0,a.EWP)(()=>this.direction()===C.O.Top);registryService=(0,a.WQX)(P);destroyRef=(0,a.WQX)(a.abz);constructor(){(0,a.QZP)(()=>{this.visibilityChange.emit(this.isOpened())}),this.destroyRef.onDestroy(()=>this.registryService.unregister(this))}ngOnInit(){this.registryService.register(this)}onClick(Pe){this.isOpened()&&(this.registryService.testDropdownClick(Pe)||this.hideOnClick())?this.hideDropdown():this.isOpened()||this.showDropdown()}onEsc(Pe){this.ignoreKeyCodes().includes(Pe.code)&&Pe.stopPropagation(),"Escape"===Pe.key&&this.hideDropdown()}onResize(){this.hideDropdown()}toggleDropdown(){this.isOpened()?this.hideDropdown():this.showDropdown()}hideDropdown(){this.isOpened.set(!1)}showDropdown(){this.isOpened.set(!0),this.registryService.hideOtherDropdowns(this)}static \u0275fac=function(He){return new(He||Be)};static \u0275cmp=a.VBU({type:Be,selectors:[["frontend-dropdown"]],hostBindings:function(He,bt){1&He&&a.bIt("click",function(sn){return bt.onClick(sn)})("keyup",function(sn){return bt.onEsc(sn)})("resize",function(){return bt.onResize()},!1,a.tSv)},inputs:{isOpened:[1,"isOpened"],maxHeight:[1,"maxHeight"],maxWidth:[1,"maxWidth"],ignoreKeyCodes:[1,"ignoreKeyCodes"],hideOnClick:[1,"hideOnClick"],wideList:[1,"wideList"],wide:[1,"wide"],direction:[1,"direction"],alignRight:[1,"alignRight"],width:[1,"width"],portalEnabled:[1,"portalEnabled"],hideScrollbar:[1,"hideScrollbar"],captionOffset:[1,"captionOffset"]},outputs:{isOpened:"isOpenedChange",visibilityChange:"visibilityChange"},standalone:!0,features:[a.aNF],ngContentSelectors:Ze,decls:7,vars:25,consts:[["frontendAccessible","",1,"otto-dropdown",3,"elementSelected"],[3,"keydown"],[1,"otto-dropdown-menu",3,"frontendPortal"]],template:function(He,bt){if(1&He){const Yt=a.RV6();a.NAR(ke),a.j41(0,"div",0),a.bIt("elementSelected",function(){return a.eBV(Yt),a.Njj(bt.toggleDropdown())}),a.j41(1,"div",1),a.bIt("keydown",function(ft){return a.eBV(Yt),a.Njj(bt.onEsc(ft))}),a.SdG(2),a.k0s(),a.SS7(3)(4),a.j41(5,"div",2),a.SdG(6,1),a.k0s()()}if(2&He){a.AVh("wide",bt.wide());const Yt=bt.maxWidth(),sn=bt.maxHeight();a.R7$(5),a.xc7("--max-width",Yt&&Yt+"px")("--max-height",sn&&sn+"px")("--caption-offset",bt.captionOffset())("width",bt.width()+"px"),a.AVh("shown",bt.isOpened())("wide",bt.wideList())("show-on-top",bt.isTopDirection())("align-right",bt.alignRight())("hide-scrollbar",bt.hideScrollbar())("max-width",!!Yt)("max-height",!!sn),a.Y8G("frontendPortal",bt.portalEnabled())}},dependencies:[h.k,Se],styles:[".otto-dropdown[_ngcontent-%COMP%]{--menu-offset: 8px;--dropdown-scrollbar-display: initial;--dropdown-overflow-y: auto;--dropdown-overflow-x: hidden;position:relative;width:-moz-fit-content;width:fit-content}.otto-dropdown.wide[_ngcontent-%COMP%]{width:100%}.otto-dropdown-menu[_ngcontent-%COMP%]{position:absolute;z-index:1000;left:0;overflow:hidden;margin:4px 0 0;background-color:var(--white);border-radius:var(--border-radius-sm);
3box-shadow:var(--box-shadow-sm);font-size:16px;font-weight:500;overscroll-behavior:contain;text-align:left;visibility:hidden}.otto-dropdown-menu[_ngcontent-%COMP%]:not(.wide){min-width:200px}.otto-dropdown-menu.shown[_ngcontent-%COMP%]{visibility:visible}.otto-dropdown-menu.wide[_ngcontent-%COMP%]{width:100%}.otto-dropdown-menu.show-on-top[_ngcontent-%COMP%]{bottom:calc(100% + var(--menu-offset))}.otto-dropdown-menu.align-right[_ngcontent-%COMP%]{right:0;left:auto}.otto-dropdown-menu.max-height[_ngcontent-%COMP%]{max-height:var(--max-height, unset);overflow-x:var(--dropdown-overflow-x, hidden);overflow-y:var(--dropdown-overflow-y, auto)}.otto-dropdown-menu.max-height[_ngcontent-%COMP%]:has(.cat-dropdown-submenu){--dropdown-overflow-y: visible;--dropdown-overflow-x: visible}.otto-dropdown-menu.max-height.hide-scrollbar[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.otto-dropdown-menu.max-width[_ngcontent-%COMP%]{max-width:var(--max-width, unset);overflow-x:auto}"]})}return Be})()},95800:(st,Q,g)=>{"use strict";g.d(Q,{O:()=>a});var a=function(h){return h.Top="top",h.Bottom="bottom",h}(a||{})},89898:(st,Q,g)=>{"use strict";g.d(Q,{M:()=>Yi});var a=g(94485),h=g(58527),H=g(74150),z=g(27555),P=g(51376),C=g(61177),B=g(86953),_=g(77392),q=g(60825),A=g(21252),X=g(84975),R=g(17796),ne=g(27639),se=g(6663),_e=g(58468),le=g(60494),Re=g(80560),Le=g(78374),Ie=g(40780);class xe{currentPage;totalPages;isLoaded;isLastPage;constructor(wi,Rt,Xt){this.currentPage=wi,this.totalPages=Rt,this.isLoaded=Xt,this.isLastPage=Xt&&wi===Rt}}var Te=g(61142),Ne=g(73466),he=g(11857),Me=g(54282),ct=g(81930),yt=g(83145),Se=g(95282),ke=g(23840),Ze=g(1330),Ve=g(42256);const Be=["printPdfIframe"],ge=["filePreviewDialog"],Pe=["pdfViewerElement"],He=[[["","primaryAction",""]]],bt=["[primaryAction]"],Yt=(ni,wi)=>wi.label,sn=(ni,wi,Rt,Xt,Dt,xn,Oe,Ye,vt,tn,zn)=>({numPages:ni,currentPage:wi,zoomLevel:Rt,prevPage:Xt,nextPage:Dt,zoomOut:xn,zoomReset:Oe,zoomIn:Ye,rotateRight:vt,print:tn,download:zn});function ft(ni,wi){if(1&ni&&(h.j41(0,"div",10),h.EFF(1),h.k0s()),2&ni){const Rt=h.XpG();h.R7$(),h.JRh(Rt.subtitle)}}function Tt(ni,wi){if(1&ni&&(h.j41(0,"div",11),h.nrm(1,"frontend-image",30),h.EFF(2),h.nI1(3,"translateStatus"),h.k0s()),2&ni){const Rt=h.XpG(),Xt=h.XpG();h.R7$(),h.Y8G("stretchToContainer",!0)("file",Xt.iconByStatus[Rt.status]),h.R7$(),h.SpI(" ",h.bMT(3,3,Rt.status)," ")}}function $e(ni,wi){1&ni&&(h.j41(0,"div",13),h.nrm(1,"frontend-image",31),h.EFF(2," Von mir bezahlt "),h.k0s()),2&ni&&(h.R7$(),h.Y8G("stretchToContainer",!0))}function rt(ni,wi){if(1&ni){const Rt=h.RV6();h.j41(0,"frontend-dropdown-item",32),h.bIt("click",function(){const Dt=h.eBV(Rt).$implicit,xn=h.XpG(2);return h.Njj(xn.callAction(Dt))}),h.j41(1,"div",18),h.nrm(2,"frontend-image",33),h.j41(3,"span"),h.EFF(4),h.k0s()()()}if(2&ni){const Rt=wi.$implicit;h.Y8G("isMenuItem",!0),h.R7$(),h.AVh("no-dismiss",!Rt.closeModalAfterCallback),h.R7$(),h.Y8G("file",Rt.icon)("stretchToContainer",!0),h.R7$(2),h.JRh(Rt.label)}}function tt(ni,wi){1&ni&&h.nrm(0,"span",24)}function nt(ni,wi){if(1&ni&&(h.j41(0,"div",25)(1,"frontend-alert-inline",34),h.EFF(2),h.k0s()()),2&ni){const Rt=h.XpG(),Xt=h.XpG();h.R7$(),h.Y8G("type",Xt.alertType.Warning),h.R7$(),h.SpI(" Diese Dateiformat kann nicht angezeigt werden, denn der Dateiformat ist nicht unterstu\u0308tzt: ",Rt.contentType,". Bitte laden Sie die datei herunter. ")}}function _t(ni,wi){if(1&ni){const Rt=h.RV6();h.j41(0,"pdf-viewer",35,1),h.mxI("pageChange",function(Dt){h.eBV(Rt);const xn=h.XpG(2);return h.DH7(xn.currentPage,Dt)||(xn.currentPage=Dt),h.Njj(Dt)}),h.bIt("after-load-complete",function(Dt){h.eBV(Rt);const xn=h.XpG(2);return h.Njj(xn.pdfLoadCompleteEvent(Dt))}),h.k0s()}if(2&ni){const Rt=h.XpG(),Xt=h.XpG();h.R50("page",Xt.currentPage),h.Y8G("src",Rt.dataUrl)("original-size",!1)("fit-to-page",!0)("show-all",!0)("render-text",!0)("render-text-mode",1)("zoom",Xt.zoomLevel/100)("rotation",Xt.rotation)}}function on(ni,wi){if(1&ni){const Rt=h.RV6();h.j41(0,"div",36)(1,"img",37),h.bIt("load",function(){h.eBV(Rt);const Dt=h.XpG(2);return h.Njj(Dt.imageLoadCompleteEvent())}),h.k0s()()}if(2&ni){const Rt=h.XpG(),Xt=h.XpG();h.xc7("--rotate",Xt.rotation+"deg")("--zoom",Xt.zoomLevel/100),h.R7$(),h.Y8G("src",Rt.dataUrlSecure,h.B4B)("alt",Rt.name)}}function Hn(ni,wi){if(1&ni&&h.nrm(0,"iframe",28,2),2&ni){const Rt=h.XpG();h.Y8G("src",Rt.dataUrlSecure,h.f$h)("hidden",!0)}}function _n(ni,wi){if(1&ni&&(h.j41(0,"div",39),h.EFF(1),h.k0s()),2&ni){const Rt=h.XpG(3);h.R7$(),h.Lme(" ",Rt.currentPage()," / ",Rt.numPages()," ")}}function hn(ni,wi){1&ni&&h.eu8(0)}function en(ni,wi){if(1&ni){const Rt=h.RV6();h.j41(0,"div",46)(1,"frontend-labr-info",47),h.bIt("onAskLabrQuestion",function(){h.eBV(Rt);const Dt=h.XpG(2);return h.Njj(Dt.onAskLabrQuestion&&Dt.onAskLabrQuestion())})("onLabrNotesClick",function(){h.eBV(Rt);const Dt=h.XpG(2);return h.Njj(Dt.onLabrNotesClick&&Dt.onLabrNotesClick())}),h.qex(2,48),h.DNE(3,hn,1,0,"ng-container",49),h.bVm(),h.k0s()()}if(2&ni){const Rt=h.XpG(2);h.R7$(),h.Y8G("labrDetails",Rt.labrDetails)("showConfetti",Rt.showLabrConfetti||!1),h.R7$(2),h.Y8G("ngTemplateOutlet",Rt.statementSettlementFeedbackTemplate||null)}}function Ot(ni,wi){if(1&ni){const Rt=h.RV6();h.j41(0,"div",38),h.DNE(1,_n,2,2,"div",39),h.j41(2,"div",40)(3,"frontend-icon-button",41),h.bIt("onClick",function(){h.eBV(Rt);const Dt=h.XpG(2);return h.Njj(Dt.zoomOut())}),h.k0s(),h.j41(4,"frontend-icon-button",42),h.bIt("onClick",function(){h.eBV(Rt);const Dt=h.XpG(2);return h.Njj(Dt.zoomReset())}),h.k0s(),h.j41(5,"frontend-icon-button",43),h.bIt("onClick",function(){h.eBV(Rt);const Dt=h.XpG(2);return h.Njj(Dt.zoomIn())}),h.k0s()(),h.j41(6,"frontend-icon-button",44),h.bIt("onClick",function(){h.eBV(Rt);const Dt=h.XpG(2);return h.Njj(Dt.rotateLeft())}),h.k0s(),h.j41(7,"frontend-icon-button",45),h.bIt("onClick",function(){h.eBV(Rt);const Dt=h.XpG(2);return h.Njj(Dt.rotateRight())}),h.k0s(),h.SdG(8),h.k0s(),h.DNE(9,en,4,3,"div",46)}if(2&ni){const Rt=h.XpG(),Xt=h.XpG();h.R7$(),h.vxM("application/pdf"===Rt.contentType?1:-1),h.R7$(2),h.Y8G("color",Xt.iconButtonColor.White)("isDisabled",Xt.zoomLevel<40),h.R7$(),h.Y8G("color",Xt.iconButtonColor.White),h.R7$(),h.Y8G("color",Xt.iconButtonColor.White)("isDisabled",Xt.zoomLevel>180),h.R7$(),h.Y8G("color",Xt.iconButtonColor.White),h.R7$(),h.Y8G("color",Xt.iconButtonColor.White),h.R7$(2),h.vxM(Rt.labrDetails?9:-1)}}function Gt(ni,wi){1&ni&&h.eu8(0)}function Wt(ni,wi){if(1&ni&&h.DNE(0,Gt,1,0,"ng-container",50),2&ni){const Rt=h.XpG(),Xt=h.XpG();h.Y8G("ngTemplateOutlet",Xt.commandsTemplate)("ngTemplateOutletContext",h.zJS(2,sn,[Xt.numPages(),Xt.currentPage(),Xt.zoomLevel,Xt.prevPage.bind(Xt),Xt.nextPage.bind(Xt),Xt.zoomOut.bind(Xt),Xt.zoomReset.bind(Xt),Xt.zoomIn.bind(Xt),Xt.rotateRight.bind(Xt),Xt.print.bind(Xt),Xt.download.bind(Xt,Rt)]))}}function Wn(ni,wi){if(1&ni){const Rt=h.RV6();h.nrm(0,"frontend-notification-queue",4),h.j41(1,"div",5)(2,"div",6)(3,"frontend-icon-button",7),h.bIt("onClick",function(){h.eBV(Rt);const Dt=h.XpG();return h.Njj(Dt.close())}),h.k0s(),h.j41(4,"div",8)(5,"h2",9),h.EFF(6),h.k0s(),h.DNE(7,ft,2,1,"div",10)(8,Tt,4,5,"div",11),h.k0s(),h.j41(9,"div",12),h.DNE(10,$e,3,1,"div",13),h.j41(11,"frontend-dropdown",14),h.nrm(12,"frontend-icon-button",15),h.qex(13,16),h.j41(14,"frontend-dropdown-item",17),h.bIt("click",function(){h.eBV(Rt);const Dt=h.XpG();return h.Njj(Dt.print())}),h.j41(15,"div",18),h.nrm(16,"frontend-image",19),h.j41(17,"span"),h.EFF(18,"Drucken"),h.k0s()()(),h.j41(19,"frontend-dropdown-item",20),h.bIt("click",function(){const Dt=h.eBV(Rt),xn=h.XpG();return h.Njj(xn.download(Dt))}),h.j41(20,"div",18),h.nrm(21,"frontend-image",21),h.j41(22,"span"),h.EFF(23,"Herunterladen"),h.k0s()()(),h.Z7z(24,rt,5,6,"frontend-dropdown-item",22,Yt),h.bVm(),h.k0s()()(),h.j41(26,"div",23),h.bIt("click",function(Dt){h.eBV(Rt);const xn=h.XpG();return h.Njj(xn.onFilePreviewClick(Dt))}),h.DNE(27,tt,1,0,"span",24)(28,nt,3,2,"div",25)(29,_t,2,9,"pdf-viewer",26)(30,on,2,6,"div",27)(31,Hn,2,2,"iframe",28),h.k0s(),h.j41(32,"div",29),h.DNE(33,Ot,10,9)(34,Wt,1,14,"
3ng-container"),h.k0s()()}if(2&ni){const Rt=wi,Xt=h.XpG();h.Y8G("extraTopSpacing",!1),h.R7$(),h.xc7("z-index",Xt.previewZIndex),h.AVh("overlay-container-transparent",Xt.transparentOverlay)("overlay-container-with-subtitle",Rt.subtitle),h.R7$(2),h.Y8G("color",Xt.iconButtonColor.White)("ariaLabel","Zur\xfcck"),h.R7$(),h.AVh("file-info-with-subtitle",Rt.subtitle),h.R7$(2),h.JRh(Rt.name),h.R7$(),h.vxM(Rt.subtitle?7:-1),h.R7$(),h.vxM(Rt.status?8:-1),h.R7$(2),h.vxM(Rt.markedAsPaid?10:-1),h.R7$(),h.Y8G("alignRight",!0)("width",214),h.R7$(),h.Y8G("color",Xt.iconButtonColor.White),h.R7$(2),h.Y8G("isMenuItem",!0),h.R7$(2),h.Y8G("stretchToContainer",!0),h.R7$(3),h.Y8G("isMenuItem",!0),h.R7$(2),h.Y8G("stretchToContainer",!0),h.R7$(3),h.Dyx(Xt.additionalActions),h.R7$(3),h.vxM(Xt.isLoaded()?-1:27),h.R7$(),h.vxM(Rt.contentType.includes("image")||Rt.contentType.includes("application/pdf")?Rt.contentType.includes("application/pdf")?29:30:28),h.R7$(3),h.vxM(Rt.dataUrlSecure?31:-1),h.R7$(2),h.vxM(Xt.commandsTemplate?34:33)}}let Yi=(()=>{class ni{printPdfIframe;filePreviewDialog;pdfViewerElement;filePreview$;transparentOverlay=!0;closeOnOutsideClick=!0;disableOuterPageScroll;commandsTemplate;pageStateChange=(0,h.CGW)();alertType=P.vTj;iconButtonColor=z.lr;file$;zoomLevel=100;rotation=0;currentPage=(0,h.geq)(1);numPages=(0,h.vPA)(1);isLoaded=(0,h.vPA)(!1);iconByStatus=P.Xgp;previewZIndex=1042;additionalActions=[];filePreviewService=(0,h.WQX)(Ie.E);bodyScrollLockService=(0,h.WQX)(C.a7);http=(0,h.WQX)(a.Qq);logService=(0,h.WQX)(C.Kc);sanitizer=(0,h.WQX)(H.up);dateService=(0,h.WQX)(C.kT);pointerEventStartedOnPDF=!1;component$=new _.B;objectUrl=null;isBodyScrollLocked=!1;constructor(){(0,h.QZP)(()=>{const Rt=new xe(this.currentPage(),this.numPages(),this.isLoaded());(0,h.O8t)(()=>this.pageStateChange.emit(Rt))})}ngOnInit(){const Rt=[this.filePreview$,this.filePreviewService.previewFile$].filter(Xt=>!!Xt);this.file$=(0,q.h)(...Rt).pipe((0,A.M)(Xt=>{this.reset(),Xt?.file?this.openDialog():this.closeDialog(),this.disableOuterPageScroll&&(Xt?.file?this.disableScrolling():this.enableScrolling()),this.previewZIndex=Xt?.options?.shouldShowInFront?1060:1042,Xt?.options?.additionalActions&&(this.additionalActions=Xt.options.additionalActions)}),(0,X.n)(Xt=>{const Dt=Xt?.file||null,xn=Dt?this.getFileBlob(Dt):(0,R.of)(null);return(0,ne.z)([(0,R.of)(Dt),xn])}),(0,se.T)(([Xt,Dt])=>{if(this.filePreviewService.setLoadingState(!1),!Xt||!Dt)return null;const xn=URL.createObjectURL(Dt);return this.objectUrl=xn,{...Xt,dataUrl:xn,dataUrlSecure:this.sanitizer.bypassSecurityTrustResourceUrl(xn),contentType:Dt.type}}),(0,_e.Q)(this.component$))}ngOnDestroy(){this.enableScrolling(),this.revokeObjectUrl(),this.component$.next(),this.component$.complete()}onKeyDown(Rt){const Xt=this.pdfViewerElement?.nativeElement?.querySelector(".ng2-pdf-viewer-container");!Xt||this.filePreviewService.isModalOpened()||["ArrowUp","ArrowDown"].includes(Rt.key)&&("ArrowUp"===Rt.key&&(Xt.scrollTop-=100),"ArrowDown"===Rt.key&&(Xt.scrollTop+=100),Rt.preventDefault())}onKeyUp(Rt){this.filePreviewService.isModalOpened()||!this.filePreviewDialog?.nativeElement?.open||("Escape"===Rt&&this.close(),"ArrowRight"===Rt&&this.rotateRight(),"ArrowLeft"===Rt&&this.rotateLeft())}storePointerEventOrigin(Rt){this.pointerEventStartedOnPDF=!!Rt.target?.closest("pdf-viewer .page")}onFilePreviewClick(Rt){this.closeOnOutsideClick&&!this.pointerEventStartedOnPDF&&!(Rt.target?.closest("pdf-viewer .page")||Rt.target?.closest(".bottom-commands-wrapper")||Rt.target?.closest(".file-header")||Rt.target?.closest(".
3no-dismiss"))&&this.close()}pdfLoadCompleteEvent(Rt){this.numPages.set(Rt.numPages),this.isLoaded.set(!0),this.filePreviewService.setLoadingState(!1),this.setupPdfAccessibility()}imageLoadCompleteEvent(){this.isLoaded.set(!0)}rotateLeft(){this.rotation-=90}rotateRight(){this.rotation+=90}print(){this.printPdfIframe.nativeElement.contentWindow.print()}callAction(Rt){Rt.handler(),Rt.closeModalAfterCallback&&this.close()}download(Rt){this.getFileBlob(Rt).pipe((0,le.W)(Xt=>(this.logService.error("FilePreviewComponent - Error while downloading file:",Xt),Re.w)),(0,_e.Q)(this.component$)).subscribe(Xt=>(0,B.saveAs)(new Blob([Xt],{type:Rt.contentType}),this.getFileName(Rt.name,Rt.contentType)))}close(){this.disableOuterPageScroll&&this.enableScrolling(),this.closeDialog(),this.filePreviewService.closePreview()}zoomIn(){this.zoomLevel=this.zoomLevel+20}zoomReset(){this.zoomLevel=100}zoomOut(){this.zoomLevel=this.zoomLevel-20}prevPage(){this.currentPage.update(Rt=>Math.max(1,Rt-1))}nextPage(){this.currentPage.update(Rt=>Math.min(this.numPages(),Rt+1))}setupPdfAccessibility(){const Rt=this.pdfViewerElement?.nativeElement?.querySelector(".ng2-pdf-viewer-container");Rt&&(Rt.setAttribute("tabindex","0"),Rt.classList.add("pdf-focusable"),this.removeTextLayerTabIndexes(Rt),new MutationObserver(()=>this.removeTextLayerTabIndexes(Rt)).observe(Rt,{childList:!0,subtree:!0}))}removeTextLayerTabIndexes(Rt){Rt.querySelectorAll(".textLayer[tabindex]").forEach(Dt=>{Dt.removeAttribute("tabindex")})}reset(){this.revokeObjectUrl(),this.zoomLevel=100,this.currentPage.set(1),this.numPages.set(1),this.isLoaded.set(!1),this.rotation=0}disableScrolling(){this.isBodyScrollLocked||(this.isBodyScrollLocked=!0,this.bodyScrollLockService.lock())}enableScrolling(){this.isBodyScrollLocked&&(this.isBodyScrollLocked=!1,this.bodyScrollLockService.unlock())}openDialog(){this.filePreviewDialog?.nativeElement&&!this.filePreviewDialog.nativeElement.open&&this.filePreviewDialog.nativeElement.showModal()}closeDialog(){this.filePreviewDialog?.nativeElement?.open&&this.filePreviewDialog.nativeElement.close()}getFileName(Rt,Xt){return`${this.dateService.today()}-${Rt}.${Xt?.split("/")[1]??"pdf"}`}getFileBlob(Rt){return this.isLocalFilePreview(Rt)?(0,R.of)(Rt.blob):(0,C.ae)(this.http,Rt.path).pipe((0,Le.s)(1),(0,le.W)(Xt=>(this.logService.error("FilePreviewComponent - Error while retrieving PDF data for file with error:",Xt),this.filePreviewService.setLoadingState(!1),this.close(),Re.w)))}isLocalFilePreview(Rt){return"blob"in Rt}revokeObjectUrl(){this.objectUrl&&(URL.revokeObjectURL(this.objectUrl),this.objectUrl=null)}static \u0275fac=function(Xt){return new(Xt||ni)};static \u0275cmp=h.VBU({type:ni,selectors:[["frontend-file-preview"]],viewQuery:function(Xt,Dt){if(1&Xt&&(h.GBs(Be,5),h.GBs(ge,5),h.GBs(Pe,5,h.aKT)),2&Xt){let xn;h.mGM(xn=h.lsd())&&(Dt.printPdfIframe=xn.first),h.mGM(xn=h.lsd())&&(Dt.filePreviewDialog=xn.first),h.mGM(xn=h.lsd())&&(Dt.pdfViewerElement=xn.first)}},hostBindings:function(Xt,Dt){1&Xt&&h.bIt("keydown",function(Oe){return Dt.onKeyDown(Oe)},!1,h.EBC)("keyup",function(Oe){return Dt.onKeyUp(Oe.key)},!1,h.EBC)("pointerdown",function(Oe){return Dt.storePointerEventOrigin(Oe)})("click",function(Oe){return Dt.onFilePreviewClick(Oe)})},inputs:{filePreview$:"filePreview$",transparentOverlay:"transparentOverlay",closeOnOutsideClick:"closeOnOutsideClick",disableOuterPageScroll:"disableOuterPageScroll",commandsTemplate:"commandsTemplate",currentPage:[1,"currentPage"]},outputs:{pageStateChange:"pageStateChange",currentPage:"currentPageChange"},ngContentSelectors:bt,decls:4,vars:3,consts:[["filePreviewDialog",""],["pdfViewerElement",""],["printPdfIframe",""],["aria-label","Dateivorschau","closedby","none",1,"file-preview-dialog"],[3,"extraTopSpacing"],["data-cy","customer-document-preview",1,"overlay-container"],[1,"file-header"],["icon","file-preview-previous.svg","data-cy","document-preview-close-icon-button",3,"onClick","color","ariaLabel"],[1,"file-info"],["data-cy","document-preview-file-name",1,"file-name"],["data-cy","document-preview-file-subtitle",1,"file-subtitle"],[1,"file-status"],["data-cy","document-preview-file-actions",1,"file-actions"],[1,"file-paid-status"],["role","menu",3,"alignRight","
3width"],["icon","file-preview-menu.svg","mainElement","","ariaLabel","Menu","data-cy","document-preview-menu-button",3,"color"],["list",""],["data-cy","document-preview-actions-print",3,"click","isMenuItem"],[1,"dropdown-item"],["type","svg","file","icon-print-outline.svg",1,"dropdown-item-icon",3,"stretchToContainer"],["data-cy","document-preview-actions-download",3,"click","isMenuItem"],["type","svg","file","icon-download.svg",1,"dropdown-item-icon",3,"stretchToContainer"],[3,"isMenuItem"],[1,"viewer-container",3,"click"],[1,"on-loader"],[1,"unsupported-file"],["zoom-scale","page-fit",1,"pdf-viewer",3,"page","src","original-size","fit-to-page","show-all","render-text","render-text-mode","zoom","rotation"],[1,"img-viewer",3,"--rotate","--zoom"],[3,"src","hidden"],[1,"bottom-commands-wrapper"],["type","svg",1,"file-status-icon",3,"stretchToContainer","file"],["type","svg","file","file-preview-paid.svg",1,"file-paid-status-icon",3,"stretchToContainer"],[3,"click","isMenuItem"],["type","svg",1,"dropdown-item-icon",3,"file","stretchToContainer"],[3,"type"],["zoom-scale","page-fit",1,"pdf-viewer",3,"pageChange","after-load-complete","page","src","original-size","fit-to-page","show-all","render-text","render-text-mode","zoom","rotation"],[1,"img-viewer"],[1,"img-preview",3,"load","src","alt"],[1,"bottom-commands"],["data-cy","document-preview-bottom-commands-pages",1,"pages"],[1,"zoom"],["icon","file-preview-zoom-minus.svg","ariaLabel","Verkleinern",3,"onClick","color","isDisabled"],["icon","file-preview-zoom-reset.svg","ariaLabel","Zur\xfccksetzen",3,"onClick","color"],["icon","file-preview-zoom-plus.svg","ariaLabel","Vergr\xf6\xdfern",3,"onClick","color","isDisabled"],["icon","file-preview-rotate-left.svg","ariaLabel","Nach links drehen",3,"onClick","color"],["icon","file-preview-rotate-left.svg","ariaLabel","Nach rechts drehen",1,"rotate-btn",3,"onClick","color"],[1,"labr-info"],[3,"onAskLabrQuestion","onLabrNotesClick","labrDetails","showConfetti"],["feedback",""],[4,"ngTemplateOutlet"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(Xt,Dt){if(1&Xt&&(h.NAR(He),h.j41(0,"dialog",3,0),h.DNE(2,Wn,35,26),h.nI1(3,"async"),h.k0s()),2&Xt){let xn;h.R7$(2),h.vxM((xn=h.bMT(3,1,Dt.file$))?2:-1,xn)}},dependencies:[Te.T3,Ne.h,he.c6,Me.x,ct.Z,yt.P,Se.p,ke.e,Ze.S,Te.Jj,Ve.V],styles:[':root,:host{--business-primary: #2c6fd1;--business-secondary: #21bbfe;--first-primary: #352f64;--first-secondary: #415197;--economy-primary: #8063e1;--economy-secondary: #bd7be8;--premium-economy-primary: #3f58e3;--premium-economy-secondary: #7f94fc;--exclusive-flex-primary: #052d5e;--exclusive-flex-secondary: #07428b;--exclusive-garant-primary: #0c4a9a;--exclusive-garant-secondary: #005ea8;--expats-primary: #40b2c0;--expats-secondary: #51dbc0;--study-free-primary: #052d5e;--study-free-secondary: #07428b;--study-protect-primary: #0c4a9a;--study-protect-secondary: #005ea8;--freemium-primary: #667093;--freemium-secondary: #999fb7;--clinic-zweibett-primary: #3db88d;--clinic-zweibett-secondary: #b7f5ab;--clinic-einbett-primary: #207f7a;--clinic-einbett-secondary: #44b898;--dental-70-primary: #3abfd5;--dental-70-secondary: #a5e5dd;--dental-85-primary: #677eeb;--dental-85-secondary: #b5bef0;--primary: #0077ff;--primary-contrast: #0070f0;--primary-darker: #006be6;--primary-contrast-darker: #0065d8;--primary-light: #99c9ff;--primary-pale: #f2f8ff;--primary-110: #0066db;--primary-80: #3392ff;--primary-contrast-80: #338df3;--primary-60: #66adff;--primary-contrast-60: #66a9f6;--primary-40: #99c9ff;--primary-20: #cce4ff;--primary-10: #e6f1ff;--primary-05: #f2f8ff;--primary-02: #fafcff;--black: #000000;--white: #ffffff;--overlay-light: rgba(0, 16, 75, .4);--overlay-dark: rgba(0, 0, 0, .4);--sec-light-100: #00104b;--sec-light-90: #1a285d;--sec-light-80: #33406f;--sec-light-60: #667093;--sec-light-40: #999fb7;--sec-light-20: #cccfdb;--sec-light-10: #e6e7ed;--sec-light-05: #f2f3f6;--sec-light-02: #fafafb;--dark: #00104b;--dark-80: #33406f;--dark-60: #667093;--dark-40: #999fb7;--dark-20: #cccfdb;--dark-10: #e6e7ed;--dark-05: #f2f3f6;--dark-02: #fafafb;--sec-dark-00: #181a20;--sec-dark-80: #e5e6eb;--sec-dark-60: #aab0c0;--sec-dark-40: #717993;--sec-dark-20: #44495a;--sec-dark-10: #2e323d;--sec-dark-05: #23262f;--sec-dark-02: #1c1f26;--night: #181a20;--night-98: #1c1f26;--night-95: #23262f;--night-90: #2e323d;--night-80: #44495a;--night-60: #717993;--night-40: #aab0c0;--night-20: #e5e6eb;--black-pure: #000000;--white-pure: #ffffff;--overlay: rgba(0, 16, 75, .4);--sand: #ffedd3;--sand-80: #fff1dc;--sand-60: #fff4e5;--sand-40: #fff8ed;--sand-20: #fffbf6;--cyan: #20c2e0;--cyan-80: #4dcee6;--cyan-60: #79daec;--cyan-40: #a6e7f3;--cyan-20: #d2f3f9;--green: #0dbd83;--green-contrast: #09865d;--success: #0dbd83;--success-contrast: #09865d;--success-darker: #0caa76;--success-contrast-darker: #087954;--success-bright: #3dca9c;--success-light: #ecfaf5;--success-shadow: #cff2e6;--red: #ff5252;--red-contrast: #eb0000;--error: #ff5252;--error-contrast: #eb0000;--danger: #ff5252;--danger-contrast: #eb0000;--danger-darker: #e64a4a;--danger-contrast-darker: #d40000;--danger-bright: #ff7575;--danger-light: #fff1f1;
3--danger-shadow: #ffdcdc;--purple: #7263d0;--info: #7263d0;--info-darker: #6759bb;--info-bright: #8e82d9;--info-light: #f4f3fb;--info-shadow: #e3e0f6;--orange: #ffa600;--warning: #ffa600;--warning-darker: #e69500;--warning-bright: #ffb833;--warning-light: #fff8eb;--warning-shadow: #ffedcc;--pink: #f65c96;--pink-contrast: #e80d5f;--pink-darker: #dd5387;--pink-contrast-darker: #d10c56;--pink-bright: #f87dab;--pink-light: #fef2f7;--pink-shadow: #fddeea;--yellow: #fecf02;--yellow-contrast: #9f661e;--payback: #0046aa;--healthx: #151b36;--satisfaction-strong: #a38247;--satisfaction-shadow: #ede4d3;--expats-shadow: #b3ede5;--pastel-sky: #cce4ff;--pastel-rose: #ffdcdc;--pastel-mint: #cff2e6;--pastel-lemon: #fff5cc;--pastel-purple: #e2dffb;--pastel-sand: #ebe1d3;--primary-rgb: 0, 119, 255;--cyan-rgb: 32, 194, 224;--green-rgb: 13, 189, 131;--red-rgb: 255, 82, 82;--orange-rgb: 255, 166, 0;--dark-rgb: 0, 16, 75;--dark-10-rgb: 230, 231, 237;--gray-dark-rgb: 51, 64, 111;--gray-lighter-rgb: 204, 207, 219;--comprehensive: #0077ff;--comprehensive-dark: #006be6;--comprehensive-darker: #005fcc;--comprehensive-darkest: #004799;--comprehensive-light: #b3d6ff;--comprehensive-pale: #e6f1ff;--first: #404a8d;--first-dark: #3a437f;--first-darker: #333b71;--first-darkest: #262c55;--first-light: #c6c9dd;--first-pale: #ecedf4;--business: #009cfe;--business-dark: #008ce5;--business-darker: #007dcb;--business-darkest: #005e98;--business-light: #b3e1ff;--business-pale: #e6f5ff;--economy: #905aca;--economy-dark: #8251b6;--economy-darker: #7348a2;--economy-darkest: #563679;--economy-light: #deceef;--economy-pale: #f4effa;--premium-economy: #6e7fed;--premium-economy-dark: #6372d5;--premium-economy-darker: #5866be;--premium-economy-darkest: #424c8e;--premium-economy-light: #d4d9fa;--premium-economy-pale: #f1f2fd;--civil: #8b50ff;--civil-dark: #7d48e6;--civil-darker: #6f40cc;--civil-darkest: #533099;--civil-light: #dccbff;--civil-pale: #f3eeff;--exclusive: #063773;--exclusive-dark: #053268;--exclusive-darker: #052c5c;--exclusive-darkest: #042145;--exclusive-light: #b4c3d5;--exclusive-pale: #e6ebf1;--expats: #00c2a9;--expats-dark: #00af98;--expats-darker: #009b87;--expats-darkest: #007465;--expats-light: #b3ede5;--expats-pale: #e6f9f6;--dental: #00bcdc;--dental-dark: #00a9c6;--dental-darker: #0096b0;--dental-darkest: #007184;--dental-light: #b3ebf5;--dental-pale: #e6f8fc;--company: #e09c1f;--company-dark: #ca8c1c;--company-darker: #b37d19;--company-darkest: #865e13;--company-light: #f6e1bc;--company-pale: #fcf5e9;--dental-70: #5eccd7;--dental-70-dark: #55b8c2;--dental-70-darker: #4ba3ac;--dental-70-darkest: #387a81;--dental-70-light: #cff0f3;--dental-70-pale: #effafb;--dental-85: #677eeb;--dental-85-dark: #5d71d4;--dental-85-darker: #5265bc;--dental-85-darkest: #3e4c8d;--dental-85-light: #d1d8f9;--dental-85-pale: #f0f2fd;--clinic: #3db88d;--clinic-dark: #37a67f;--clinic-darker: #319371;--clinic-darkest: #256e55;--clinic-light: #c5eadd;--clinic-pale: #ecf8f4;--zweibett: #55c291;--zweibett-dark: #4daf83;--zweibett-darker: #449b74;--zweibett-darkest: #337457;--zweibett-light: #ccedde;--zweibett-pale: #eef9f4;--einbett: #319884;--einbett-dark: #2c8977;--einbett-darker: #277a6a;--einbett-darkest: #1d5b4f;--einbett-light: #c1e0da;--einbett-pale: #eaf5f3;--satisfaction: #c2a46d;--satisfaction-dark: #af9462;--satisfaction-darker: #9b8357;--satisfaction-darkest: #746241;--satisfaction-light: #ede4d3;--satisfaction-pale: #f9f6f0;--study-free: #052d5e;--study-free-dark: #052955;--study-free-darker: #04244b;--study-free-darkest: #031b38;--study-free-light: #b4c0cf;--study-free-pale: #e6eaef;--study-protect: #005ea8;--study-protect-dark: #005597;--study-protect-darker: #004b86;--study-protect-darkest: #003865;--study-protect-light: #b3cfe5;--study-protect-pale: #e6eff6;--option: #5f50ff;--option-dark: #5648e6;--option-darker: #4c40cc;--option-darkest: #393099;--option-light: #cfcbff;--option-pale: #efeeff;--text-gray: #33406f;--text-gray-darker: #293359;--text-blue: #1e429f;--text-blue-darker: #18357f;--text-purple: #5521b5;--text-purple-darker: #441a91;--text-pink: #a745a3;--text-pink-darker: #863782;--text-pink-contrast: #e80d5f;--text-pink-contrast-darker: #ba0a4c;--text-green: #04543f;--text-green-darker: #034332;--text-red: #9a1c1c;--text-red-darker: #7b1616;--text-orange: #8a2c0d;--text-orange-darker: #6e230a;--text-yellow: #a3691f;--text-yellow-darker: #825419;--text-yellow-contrast: #9f661e;--text-yellow-contrast-darker: #7f5218;--text-background-gray: #f2f3f6;--text-background-gray-darker: #c2c2c5;--text-background-blue: #e1effe;--text-background-blue-darker: #b4bfcb;--text-background-purple: #edebfe;--text-background-purple-darker: #bebccb;--text-background-pink: #fee6fd;--text-background-pink-darker: #cbb8ca;--text-background-green: #def7ec;--text-background-green-darker: #b2c6bd;--text-background-red: #fde8e7;--text-background-red-darker: #cabab9;--text-background-orange: #feecdc;--text-background-orange-darker: #cbbdb0;--text-background-yellow: #fffaca;--text-background-yellow-darker: #ccc8a2;--text: var(--sec-light-60);--text-light: var(--sec-light-40);--text-lighter: var(--sec-light-20);--text-heading: var(--sec-light-100);--line: var(--sec-light-10);--border-light: var(--sec-light-10);--border: var(--sec-light-20);--border-dark: var(--sec-light-40);--border-primary: var(--primary);--border-primary-dark: var(--primary-darker);--border-error: var(--error);--border-radius-xs: 4px;--border-radius-sm: 6px;--border-radius-md: 8px;--border-radius-lg: 12px;--border-radius-xl: 16px;--disabled: var(--sec-light-02);--shadow: rgba(0, 16, 75, .15);--shadow-dark: rgba(0, 16, 75, .2);
3--box-shadow-xs: 0 1px 2px var(--shadow-dark);--box-shadow-sm: 0 2px 4px var(--shadow-dark);--box-shadow-md: 0 4px 12px var(--shadow);--box-shadow-lg: 0 8px 24px var(--shadow);--transition: all .2s ease-in-out;--focus-shadow-primary: 0 0 0 4px var(--primary-20);--focus-shadow-darker: 0 0 0 4px var(--sec-light-40);--focus-shadow-dark: 0 0 0 4px var(--sec-light-20);--focus-shadow-gray: 0 0 0 4px var(--sec-light-10);--focus-shadow-danger: 0 0 0 4px var(--danger-shadow);--focus-shadow-success: 0 0 0 4px var(--success-shadow);--focus-shadow-warning: 0 0 0 4px var(--warning-shadow);--focus-shadow-info: 0 0 0 4px var(--info-shadow);--focus-shadow-pink: 0 0 0 4px var(--pink-shadow);--focus-shadow-gold: 0 0 0 4px var(--satisfaction-shadow);--focus-shadow-expats: 0 0 0 4px var(--expats-shadow);--focus-shadow-text-primary: drop-shadow(0px 1px 3px rgba(0, 119, 255, .5));--focus-shadow-text-pink: drop-shadow(0px 1px 3px rgba(246, 92, 150, .5))}[data-theme=contrast] *{--primary: var(--primary-contrast);--primary-darker: var(--primary-contrast-darker);--success: var(--success-contrast);--success-darker: var(--success-contrast-darker);--danger: var(--danger-contrast);--danger-darker: var(--danger-contrast-darker);--pink: var(--pink-contrast);--pink-darker: var(--pink-contrast-darker);--satisfaction: var(--satisfaction-pale);--satisfaction-strong: var(--satisfaction-darkest);--yellow: var(--yellow-contrast)}.file-preview-dialog{all:unset;position:static;display:block;overflow:visible;width:auto;height:auto;padding:0;border:none;margin:0;background:none;color:inherit;font:inherit}.file-preview-dialog[open]{position:fixed;z-index:1051;inset:0;display:flex;align-items:center;justify-content:center}.file-preview-dialog::backdrop{background:transparent}.overlay-container{--header-height: 80px;position:fixed;z-index:1042;top:0;left:0;width:100%;height:100%;background-color:var(--black)}.overlay-container-transparent{background-color:#000000b3}.overlay-container-with-subtitle{--header-height: 96px}.overlay-container .file-header{position:fixed;z-index:1;top:0;right:0;left:0;display:flex;height:var(--header-height);align-items:center;justify-content:space-between;padding:12px 24px;background:linear-gradient(180deg,var(--black) 0,rgba(0,0,0,.738) 26%,rgba(0,0,0,.541) 42%,rgba(0,0,0,.382) 54%,rgba(0,0,0,.278) 63%,rgba(0,0,0,.194) 71%,rgba(0,0,0,.126) 79%,rgba(0,0,0,.075) 85%,rgba(0,0,0,.042) 89%,rgba(0,0,0,.021) 92%,rgba(0,0,0,.008) 95.2%,rgba(0,0,0,.002) 98.2%,transparent);color:var(--white)}.overlay-container .file-header .file-info{text-align:center}.overlay-container .file-header .file-name{margin-bottom:0;color:var(--white);font-size:18px;font-weight:800;line-height:25px}.overlay-container .file-header .file-info-with-subtitle{padding:4px 16px;border-radius:8px}.overlay-container .file-header .file-info-with-subtitle .file-name{font-size:20px;line-height:28px}.overlay-container .file-header .file-subtitle{color:var(--white);font-size:14px;font-weight:400;line-height:20px;opacity:.72}.overlay-container .file-header .file-status{font-size:14px;line-height:21px}.overlay-container .file-header .file-status-icon{display:inline-block;width:14px;height:14px;transform:translateY(2px)}.overlay-container .file-header .file-actions{position:relative}.overlay-container .file-header .file-paid-status{position:fixed;right:50%;bottom:90px;padding:8px 16px 6px;background:var(--success-light);border-radius:35px;color:var(--success);font-size:14px;font-weight:700;line-height:18px;transform:translate(50%);white-space:nowrap}@media (min-width: 768px){.overlay-container .file-header .file-paid-status{position:absolute;right:55px;bottom:auto;transform:translate(0)}}.overlay-container .file-header .file-paid-status-icon{display:inline-block;width:18px;height:18px;margin:-4px 0 0 -3px;vertical-align:middle}.overlay-container .file-header .otto-dropdown-menu{padding:8px}.overlay-container .file-header .dropdown-item{display:flex;align-items:center;font-weight:500;gap:8px;transition:all .23s ease-in-out}.overlay-container .file-header .dropdown-item:hover{background-color:var(--sec-light-05);color:var(--black)}.overlay-container .file-header .dropdown-item-icon{width:18px;height:18px}.overlay-container .viewer-container{display:grid;height:100%;place-items:center}.overlay-container .viewer-container .img-viewer{display:grid;overflow:auto;width:100%;height:100%;place-items:center}.overlay-container .viewer-container .img-viewer .img-preview{max-width:100%;transform:rotate(var(--rotate)) scale(var(--zoom));transform-origin:center}.overlay-container .viewer-container .pdf-viewer{width:90vw;height:calc(100% - 2 * var(--header-height))}.overlay-container .viewer-container .pdf-viewer .ng2-pdf-viewer-container.pdf-focusable:focus-visible{outline:3px solid var(--primary);outline-offset:-3px}.overlay-container .viewer-container .pdf-viewer .textLayer{pointer-events:auto;-webkit-user-select:text;user-select:text}.overlay-container .viewer-container .pdf-viewer .textLayer:focus,.overlay-container .viewer-container .pdf-viewer .textLayer:focus-visible{outline:none}.overlay-container .viewer-container .unsupported-file{display:flex;align-items:center;justify-content:center}.overlay-container .bottom-commands{display:inline-flex;align-items:center;padding:8px 14px 8px 16px;margin-bottom:24px;background:#000c;border-radius:8px;color:var(--white);font-size:18px;font-weight:800;line-height:25px;pointer-events:auto;white-space:nowrap}.overlay-container .bottom-commands-wrapper{position:fixed;z-index:1;bottom:0;left:0;width:100%;pointer-events:none;text-align:center}.overlay-container .bottom-commands .pages,.overlay-container .bottom-commands .zoom{position:relative}.overlay-container .bottom-commands .pages:after,.overlay-container .bottom-commands .zoom:after{position:absolute;top:0;right:0;display:block;width:1px;height:25px;background-color:var(--white);content:"";opacity:.5}.overlay-container .bottom-commands .pages{padding:2px 13px 0 0;margin-right:8px}.overlay-container .bottom-commands .zoom{display:flex;padding-right:8px;margin-right:8px}.overlay-container .bottom-commands .zoom:after{top:3px}.overlay-container .bottom-commands .zoom .btn:disabled{border-color:transparent;background:transparent;opacity:.3}.overlay-container .bottom-commands .zoom-reset{margin:0 8px}.overlay-container .bottom-commands .rotate-btn{scale:-1 1}.overlay-container .bottom-commands .primary-action{margin-left:8px}.overlay-container .labr-info{width:100%;pointer-events:auto;text-align:left}@media (min-width: 992px){.overlay-container .labr-info{position:absolute;right:36px;bottom:20px;width:auto}}@media print{.overlay-container{background-color:var(--white)}.overlay-container .pdf-viewer img{width:100%!important}.overlay-container .bottom-commands{padding:8px 16px}.overlay-container .bottom-commands .zoom,.overlay-container .bottom-commands .rotate-btn{display:none}.overlay-container .bottom-commands .pages{padding:0;margin:0}.overlay-container .bottom-commands .pages:after{content:none}}\n'],encapsulation:2})}return ni})()},40780:(st,Q,g)=>{"use strict";g.d(Q,{E:()=>H});var a=g(58527),h=g(77392);let H=(()=>{class z{isModalOpened;isModalOpenedWritable=(0,a.vPA)(!1);_onClose$=new h.B;_isLoading$=new h.B;_preview$=new h.B;constructor(){this.isModalOpened=this.isModalOpenedWritable.asReadonly()}showFile(C,B){this.setLoadingState(!0),this._preview$.next({file:C,options:B||{}})}get previewFile$(){return this._preview$.asObservable()}get onClose$(){return this._onClose$.asObservable()}get isLoading$(){return this._isLoading$.asObservable()}closePreview(){this._preview$.next(null),this._onClose$.next()}setLoadingState(C){this._isLoading$.next(C)}setModalOpenedState(C){this.isModalOpenedWritable.set(C)}static \u0275fac=function(B){return new(B||z)};static \u0275prov=a.jDH({token:z,factory:z.\u0275fac})}return z})()},89344:(st,Q,g)=>{"use strict";g.d(Q,{xy:()=>A,EL:()=>B.E});var a=g(61142),h=g(46140),H=g(27555),z=g(24153),P=g(22380),C=g(11857),B=g(40780),_=g(95282),q=g(58527);let A=(()=>{class X{static forRoot(){return{ngModule:X,providers:[B.E]}}static \u0275fac=function(se){return new(se||X)};static \u0275mod=q.$C({type:X});static \u0275inj=q.G2t({imports:[a.MD,z.U,C.Lk,h.tm,H.xB,_.p,P.JL]})}return X})()},95282:(st,Q,g)=>{"use strict";g.d(Q,{p:()=>Ne});var a=g(58527),h=g(46140),H=g(24153),z=g(69956),P=g(20629),C=g(21753),B=g.n(C),_=g(63752),q=g(73466);const A=["progressBar"],X=["confetti"],R=[[["","feedback",""]]],ne=["[feedback]"],se=()=>({marginTopPx:"8px"}),_e=(he,Me)=>({value:he,params:Me});function le(he,Me){if(1&he&&(a.j41(0,"p",26),a.EFF(1),a.k0s()),2&he){const ct=Me.$implicit;a.R7$(),a.SpI(" ",ct," ")}}function Re(he,Me){if(1&he&&(a.j41(0,"div",21)(1,"h5",22),a.EFF(2),a.k0s(),a.Z7z(3,le,2,1,"p",26,a.fX1),a.k0s()),2&he){const ct=Me.$implicit;a.R7$(2),a.JRh(ct.type),a.R7$(),a.Dyx(ct.annotations)}}function Le(he,Me){if(1&he){const ct=a.RV6();a.j41(0,"div",14)(1,"div",16),a.bIt("click",function(){a.eBV(ct);const Se=a.XpG();return a.Njj(Se.toggleDifferenceHint())}),a.EFF(2," Differenz "),a.j41(3,"span",17),a.EFF(4),a.nrm(5,"frontend-image",18),a.k0s()(),a.j41(6,"div",13),a.EFF(7),a.nI1(8,"fromCents"),a.nI1(9,"ngcCurrency"),a.k0s(),a.j41(10,"div",19)(11,"div",20),a.Z7z(12,Re,5,1,"div",21,a.fX1),a.j41(14,"h5",22),a.EFF(1
35,"Weitere Details"),a.k0s(),a.j41(16,"p",23),a.EFF(17," Detaillierte Informationen findest du auf der zweiten Seite der Leistungsabrechnung oder kontaktiere uns wenn du fragen hast. "),a.k0s(),a.j41(18,"frontend-button",24),a.bIt("onClick",function(){a.eBV(ct);const Se=a.XpG();return a.Njj(Se.handleAskLabrQuestion())}),a.EFF(19," Frage stellen "),a.nrm(20,"frontend-image",25),a.k0s()()()()}if(2&he){const ct=a.XpG();a.R7$(4),a.Lme(" ",ct.annotationsCount," ",ct.annotationsCount>1?"Anmerkungen":"Anmerkung"," "),a.R7$(),a.AVh("labr-info-table-annotations-icon-rotated",!ct.isDifferenceHintCollapsed),a.Y8G("stretchToContainer",!0),a.R7$(2),a.SpI(" ",a.bMT(9,11,a.bMT(8,9,ct.labrDetails.invoice_amount-ct.labrDetails.refund_amount))," "),a.R7$(3),a.Y8G("@expandCollapse",a.l_i(14,_e,ct.isDifferenceHintCollapsed?"collapsed":"expanded",a.lJ4(13,se))),a.R7$(2),a.Dyx(ct.annotations),a.R7$(6),a.Y8G("link",!0),a.R7$(2),a.Y8G("stretchToContainer",!0)}}function Ie(he,Me){if(1&he&&(a.j41(0,"div",11)(1,"div",12),a.EFF(2,"R\xfcckerstattung"),a.k0s(),a.j41(3,"div",13),a.EFF(4),a.nI1(5,"fromCents"),a.nI1(6,"ngcCurrency"),a.k0s()()),2&he){const ct=a.XpG();a.R7$(4),a.JRh(a.bMT(6,3,a.bMT(5,1,ct.labrDetails.refund_amount)))}}function xe(he,Me){if(1&he&&(a.j41(0,"div",11)(1,"div",12),a.EFF(2,"Offene Posten"),a.k0s(),a.j41(3,"div",13),a.EFF(4),a.nI1(5,"fromCents"),a.nI1(6,"ngcCurrency"),a.k0s()()),2&he){const ct=a.XpG();a.R7$(4),a.SpI("-",a.bMT(6,3,a.bMT(5,1,ct.labrDetails.settlement_amount)),"")}}let Ne=(()=>{class he{progressBar;confetti;labrDetails;showConfetti;onAskLabrQuestion=new a.bkB;onLabrNotesClick=new a.bkB;isTableCollapsed=!1;isDifferenceHintCollapsed=!0;progressWidthScale;confettiPositionX;progressBarAnimationDuration=1500;annotations;annotationsCount;timeoutIds=[];ngOnInit(){this.annotations=this.getLabrAnnotationsFromClaimDetails(this.labrDetails),this.annotationsCount=this.annotations.reduce((ct,yt)=>ct+yt.annotations.length,0),this.animateProgressBar()}ngOnDestroy(){this.timeoutIds.forEach(ct=>clearTimeout(ct))}toggleView(){this.isDifferenceHintCollapsed=!0,this.isTableCollapsed=!this.isTableCollapsed}toggleDifferenceHint(){this.isDifferenceHintCollapsed=!this.isDifferenceHintCollapsed,this.onLabrNotesClick.emit()}handleAskLabrQuestion(){this.onAskLabrQuestion.emit()}animateProgressBar(){const ct=setTimeout(()=>{const yt=this.labrDetails.invoice_amount>0?Math.min(1,this.labrDetails.disbursement_amount/this.labrDetails.invoice_amount):0;this.confettiPositionX=this.progressBar.nativeElement.offsetWidth*yt+"px",this.progressWidthScale=`scaleX(${yt})`,this.triggerConfetti()},1e3);this.timeoutIds.push(ct)}triggerConfetti(){if(this.showConfetti){const ct=setTimeout(()=>{B().confetti(this.confetti.nativeElement,{count:40})},this.progressBarAnimationDuration+300);this.timeoutIds.push(ct)}}getLabrAnnotationsFromClaimDetails(ct){const yt=[];return ct.receipts?.forEach(Se=>{Se.receipt_positions?.forEach((ke,Ze)=>{yt[Ze]={type:ke.type,annotations:[]},ke.annotations?.forEach(Ve=>{yt[Ze].annotations.includes(Ve)||yt[Ze].annotations.push(Ve)}),ke.claim_items?.forEach(Ve=>{Ve.annotations?.forEach(Be=>{yt[Ze].annotations.includes(Be)||yt[Ze].annotations.push(Be)})})})}),yt.filter(Se=>Se.annotations.length)}static \u0275fac=function(yt){return new(yt||he)};static \u0275cmp=a.VBU({type:he,selectors:[["frontend-labr-info"]],viewQuery:function(yt,Se){if(1&yt&&(a.GBs(A,5),a.GBs(X,5)),2&yt){let ke;a.mGM(ke=a.lsd())&&(Se.progressBar=ke.first),a.mGM(ke=a.lsd())&&(Se.confetti=ke.first)}},inputs:{labrDetails:"labrDetails",showConfetti:"showConfetti"},outputs:{onAskLabrQuestion:"onAskLabrQuestion",onLabrNotesClick:"onLabrNotesClick"},standalone:!0,features:[a.aNF],ngContentSelectors:ne,decls:32,vars:28,consts:[["progressBar",""],["confetti",""],[1,"labr-info-wrapper"],[1,"labr-info-header",3,"click"],[1,"labr-info-title"],[1,"labr-info-progress"],[1,"labr-info-progress-green"],[1,"labr-info-progress-confetti"],[1,"labr-info-toggle"],["type","svg","file","arrow-down-thin.svg",1,"labr-info-toggle-icon",3,"stretchToContainer"],[1,"labr-info-table"],[1,"labr-info-table-row"],[1,"labr-info-table-left"],[1,"labr-info-table-right"],[1,"labr-info-table-row","labr-info-table-row-expandlable"],[1,"labr-info-table-row","labr-info-table-row-summary"],[1,"labr-info-table-left","labr-info-table-left-expandable",3,"click"],[1,"labr-info-table-annotations"],["type","svg","file","arrow-down-sm.svg",1,"labr-info-table-annotations-icon",3,"stretchToContainer"],[1,"labr-info-table-hint"],[1,"labr-info-table-hint-inner"],[1,"labr-info-table-hint-block"],[1,"labr-info-table-hint-title"],[1,"labr-info-table-hint-more"],[1,"labr-info-link",3,"onClick","link"],["type","svg","file","arrow-down-sm.svg",1,"labr-info-link-arrow-icon",3,"stretchToContainer"],[1,"labr-info-table-hint-text"]],template:function(yt,Se){if(1&yt){const ke=a.RV6();a.NAR(R),a.j41(0,"div",2)(1,"div",3),a.bIt("click",function(){return a.eBV(ke),a.Njj(Se.toggleView())}),a.j41(2,"h3",4),a.EFF(3),a.nI1(4,"fromCents"),a.nI1(5,"ngcCurrency"),a.k0s(),a.j41(6,"div",5,0),a.nrm(8,"div",6)(9,"div",7,1),a.k0s(),a.j41(11,"div",8),a.nrm(12,"frontend-image",9),a.k0s()(),a.j41(13,"div",10)(14,"div",11)(15,"div",12),a.EFF(16,"Rechnungsbetrag"),a.k0s(),a.j41(17,"div",13),a.EFF(18),a.nI1(19,"fromCents"),a.nI1(20,"ngcCurrency"),a.k0s()(),a.DNE(21,Le,21,17,"div",14)(22,Ie,7,5,"div",11)(23,xe,7,5,"div",11),a.j41(24,"div",15)(25,"div",12),a.EFF(26,"Auszahlungsbetrag"),a.k0s(),a.j41(27,"div",13),a.EFF(28),a.nI1(29,"fromCents"),a.nI1(30,"ngcCurrency"),a.k0s()()(),a.SdG(31),a.k0s()}2&yt&&(a.AVh("labr-info-wrapper-collapsed",Se.isTableCollapsed),a.R7$(3),a.JRh(a.bMT(5,18,a.bMT(4,16,Se.labrDetails.disbur
3sement_amount))),a.R7$(5),a.xc7("transform",Se.progressWidthScale)("transition-duration",Se.progressBarAnimationDuration+"ms"),a.R7$(),a.xc7("left",Se.confettiPositionX),a.R7$(3),a.Y8G("stretchToContainer",!0),a.R7$(),a.Y8G("@expandCollapse",Se.isTableCollapsed?"collapsed":"expanded"),a.R7$(5),a.JRh(a.bMT(20,22,a.bMT(19,20,Se.labrDetails.invoice_amount))),a.R7$(3),a.vxM(Se.annotationsCount>0?21:-1),a.R7$(),a.vxM(Se.labrDetails.refund_amount!==Se.labrDetails.disbursement_amount?22:-1),a.R7$(),a.vxM(Se.labrDetails.settlement_amount?23:-1),a.R7$(5),a.JRh(a.bMT(30,26,a.bMT(29,24,Se.labrDetails.disbursement_amount))))},dependencies:[h.tm,_.Q,H.U,q.h,z.A9,z.oe],styles:[".labr-info-wrapper[_ngcontent-%COMP%]{max-height:calc(100vh - 80px);padding:12px 16px;margin-left:auto;background-color:var(--white);border-top-left-radius:var(--border-radius-md);border-top-right-radius:var(--border-radius-md);box-shadow:var(--box-shadow-md);font-weight:500;overflow-y:auto;transition:all .2s ease-in-out}@media (min-width: 992px){.labr-info-wrapper[_ngcontent-%COMP%]{width:350px;border-radius:var(--border-radius-md)}}@media (min-width: 992px){.labr-info-wrapper-collapsed[_ngcontent-%COMP%]{width:240px}}.labr-info-wrapper-collapsed[_ngcontent-%COMP%]   .labr-info-toggle[_ngcontent-%COMP%]{transform:rotate(180deg)}.labr-info-header[_ngcontent-%COMP%]{position:relative}.labr-info-title[_ngcontent-%COMP%]{margin-bottom:6px;cursor:pointer;font-size:24px;font-weight:900}.labr-info-progress[_ngcontent-%COMP%]{position:relative;overflow:hidden;height:6px;background-color:var(--sec-light-10);border-radius:var(--border-radius-sm)}.labr-info-progress-green[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:6px;background-color:var(--success-darker);transform:scaleX(0);transform-origin:left;transition:all 1.5s ease-in-out}.labr-info-progress-confetti[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:1px;height:6px}.labr-info-toggle[_ngcontent-%COMP%]{position:absolute;top:0;right:-4px;padding:4px;color:var(--sec-light-40);cursor:pointer;transition:all .2s ease-in-out}.labr-info-toggle[_ngcontent-%COMP%]:hover{color:var(--sec-light-60)}.labr-info-toggle-icon[_ngcontent-%COMP%]{display:block;width:24px;height:24px}.labr-info-table-row[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:4px 8px;margin:0 -8px}.labr-info-table-row[_ngcontent-%COMP%]:first-child{margin-top:16px}.labr-info-table-row-expandlable[_ngcontent-%COMP%]{position:relative;flex-wrap:wrap}.labr-info-table-row-summary[_ngcontent-%COMP%]{padding:6px 0 0;border-top:1px solid var(--border-light);margin:4px 0 0;font-weight:700}.labr-info-table-left-expandable[_ngcontent-%COMP%]{cursor:pointer}.labr-info-table-left-expandable[_ngcontent-%COMP%]:hover   .labr-info-table-annotations-icon[_ngcontent-%COMP%]{color:var(--sec-light-80)}.labr-info-table-annotations[_ngcontent-%COMP%]{position:absolute;top:4px;left:82px;padding:3px 10px 2px;background-color:var(--text-background-purple);border-radius:var(--border-radius-xl);color:var(--info);font-size:14px;font-weight:700;line-height:20px}.labr-info-table-annotations-icon[_ngcontent-%COMP%]{display:inline-block;width:12px;height:12px;margin-top:-3px;margin-left:2px;color:var(--info);transition:all .2s ease-in-out;vertical-align:middle}.labr-info-table-annotations-icon-rotated[_ngcontent-%COMP%]{transform:rotate(180deg)}.labr-info-table-hint[_ngcontent-%COMP%]{margin:2px -8px;color:var(--text);font-size:14px;line-height:18px}.labr-info-table-hint-inner[_ngcontent-%COMP%]{padding:8px;background-color:var(--text-background-purple);border-radius:var(--border-radius-md)}.labr-info-table-hint-text[_ngcontent-%COMP%]{margin-bottom:20px;font-size:16px;line-height:24px}.labr-info-table-hint-title[_ngcontent-%COMP%]{margin:0 0 4px;color:var(--black);font-size:16px;font-weight:700;line-height:24px}.labr-info-table-hint-title[_ngcontent-%COMP%]:first-letter{text-transform:uppercase}.labr-info-table-hint-more[_ngcontent-%COMP%]{margin-bottom:0;font-size:16px;line-height:24px}.labr-info-link[_ngcontent-%COMP%]{display:inline-block;margin-top:8px}.labr-info-link-arrow-icon[_ngcontent-%COMP%]{display:inline-block;width:10px;height:10px;transform:rotate(270deg);transition:var(--transition)}.labr-info-link[_ngcontent-%COMP%]:hover   .labr-info-link-arrow-icon[_ngcontent-%COMP%]{transform:rotate(270deg) translateY(2px)}"],data:{animation:[P.sY]}})}return he})()},54282:(st,Q,g)=>{"use strict";g.d(Q,{x:()=>C});var a=g(58527),h=g(24153),H=g(51376),z=g(67174),P=g(73466);let C=(()=>{class B{type;icon;color=z.lr.Default;height=22;width=22;size;isDisabled=!1;includeInScreenshots=!1;dataCy;ariaLabel;backgroundColor=z.lr.Default;roundedBorder=!1;onClick=new a.bkB;componentSize=H.H7o;
3ngOnInit(){if(this.type){const{icon:q,color:A}=z.K0[this.type];this.icon=q,this.color||(this.color=A)}!this.ariaLabel&&this.type&&(this.ariaLabel=z.X$[this.type])}onClickHandler(q){this.onClick.emit(q)}static \u0275fac=function(A){return new(A||B)};static \u0275cmp=a.VBU({type:B,selectors:[["frontend-icon-button"]],inputs:{type:"type",icon:"icon",color:"color",height:"height",width:"width",size:"size",isDisabled:"isDisabled",includeInScreenshots:"includeInScreenshots",dataCy:"dataCy",ariaLabel:"ariaLabel",backgroundColor:"backgroundColor",roundedBorder:"roundedBorder"},outputs:{onClick:"onClick"},standalone:!0,features:[a.aNF],decls:3,vars:20,consts:[["type","button",3,"click","ariaLabel","disabled"],["type","svg",1,"icon",3,"file","stretchToContainer"]],template:function(A,X){1&A&&(a.j41(0,"button",0),a.bIt("click",function(ne){return X.onClickHandler(ne)}),a.j41(1,"div"),a.nrm(2,"frontend-image",1),a.k0s()()),2&A&&(a.STu("btn icon icon-button ",X.color,"  background-color-",X.backgroundColor,""),a.AVh("sm",X.size===X.componentSize.Sm)("lg",X.size===X.componentSize.Lg)("rounded-border",X.roundedBorder),a.Y8G("ariaLabel",X.ariaLabel)("disabled",X.isDisabled),a.BMQ("data-cy",X.dataCy),a.R7$(),a.xc7("height",X.height+"px")("width",X.width+"px"),a.R7$(),a.Y8G("file",X.icon)("stretchToContainer",!0),a.BMQ("data-html2canvas-ignore",!X.includeInScreenshots))},dependencies:[h.U,P.h],styles:['[_ngcontent-%COMP%]:root, [_nghost-%COMP%]{--business-primary: #2c6fd1;--business-secondary: #21bbfe;--first-primary: #352f64;--first-secondary: #415197;--economy-primary: #8063e1;--economy-secondary: #bd7be8;--premium-economy-primary: #3f58e3;--premium-economy-secondary: #7f94fc;--exclusive-flex-primary: #052d5e;--exclusive-flex-secondary: #07428b;--exclusive-garant-primary: #0c4a9a;--exclusive-garant-secondary: #005ea8;--expats-primary: #40b2c0;--expats-secondary: #51dbc0;--study-free-primary: #052d5e;--study-free-secondary: #07428b;--study-protect-primary: #0c4a9a;--study-protect-secondary: #005ea8;--freemium-primary: #667093;--freemium-secondary: #999fb7;--clinic-zweibett-primary: #3db88d;--clinic-zweibett-secondary: #b7f5ab;--clinic-einbett-primary: #207f7a;--clinic-einbett-secondary: #44b898;--dental-70-primary: #3abfd5;--dental-70-secondary: #a5e5dd;--dental-85-primary: #677eeb;--dental-85-secondary: #b5bef0;--primary: #0077ff;--primary-contrast: #0070f0;--primary-darker: #006be6;--primary-contrast-darker: #0065d8;--primary-light: #99c9ff;--primary-pale: #f2f8ff;--primary-110: #0066db;--primary-80: #3392ff;--primary-contrast-80: #338df3;--primary-60: #66adff;--primary-contrast-60: #66a9f6;--primary-40: #99c9ff;--primary-20: #cce4ff;--primary-10: #e6f1ff;--primary-05: #f2f8ff;--primary-02: #fafcff;--black: #000000;--white: #ffffff;--overlay-light: rgba(0, 16, 75, .4);--overlay-dark: rgba(0, 0, 0, .4);--sec-light-100: #00104b;--sec-light-90: #1a285d;--sec-light-80: #33406f;--sec-light-60: #667093;--sec-light-40: #999fb7;--sec-light-20: #cccfdb;--sec-light-10: #e6e7ed;--sec-light-05: #f2f3f6;--sec-light-02: #fafafb;--dark: #00104b;--dark-80: #33406f;--dark-60: #667093;--dark-40: #999fb7;--dark-20: #cccfdb;--dark-10: #e6e7ed;--dark-05: #f2f3f6;--dark-02: #fafafb;--sec-dark-00: #181a20;--sec-dark-80: #e5e6eb;--sec-dark-60: #aab0c0;--sec-dark-40: #717993;--sec-dark-20: #44495a;--sec-dark-10: #2e323d;--sec-dark-05: #23262f;--sec-dark-02: #1c1f26;--night: #181a20;--night-98: #1c1f26;--night-95: #23262f;--night-90: #2e323d;--night-80: #44495a;--night-60: #717993;--night-40: #aab0c0;--night-20: #e5e6eb;--black-pure: #000000;--white-pure: #ffffff;--overlay: rgba(0, 16, 75, .4);--sand: #ffedd3;--sand-80: #fff1dc;--sand-60: #fff4e5;--sand-40: #fff8ed;--sand-20: #fffbf6;--cyan: #20c2e0;--cyan-80: #4dcee6;--cyan-60: #79daec;--cyan-40: #a6e7f3;--cyan-20: #d2f3f9;--green: #0dbd83;--green-contrast: #09865d;--success: #0dbd83;--success-contrast: #09865d;--success-darker: #0caa76;--success-contrast-darker: #087954;--success-bright: #3dca9c;--success-light: #ecfaf5;--success-shadow: #cff2e6;--red: #ff5252;--red-contrast: #eb0000;--error: #ff5252;--error-contrast: #eb0000;--danger: #ff5252;--danger-contrast: #eb0000;--danger-darker: #e64a4a;--danger-contrast-darker: #d40000;--danger-bright: #ff7575;--danger-light: #fff1f1;
3--danger-shadow: #ffdcdc;--purple: #7263d0;--info: #7263d0;--info-darker: #6759bb;--info-bright: #8e82d9;--info-light: #f4f3fb;--info-shadow: #e3e0f6;--orange: #ffa600;--warning: #ffa600;--warning-darker: #e69500;--warning-bright: #ffb833;--warning-light: #fff8eb;--warning-shadow: #ffedcc;--pink: #f65c96;--pink-contrast: #e80d5f;--pink-darker: #dd5387;--pink-contrast-darker: #d10c56;--pink-bright: #f87dab;--pink-light: #fef2f7;--pink-shadow: #fddeea;--yellow: #fecf02;--yellow-contrast: #9f661e;--payback: #0046aa;--healthx: #151b36;--satisfaction-strong: #a38247;--satisfaction-shadow: #ede4d3;--expats-shadow: #b3ede5;--pastel-sky: #cce4ff;--pastel-rose: #ffdcdc;--pastel-mint: #cff2e6;--pastel-lemon: #fff5cc;--pastel-purple: #e2dffb;--pastel-sand: #ebe1d3;--primary-rgb: 0, 119, 255;--cyan-rgb: 32, 194, 224;--green-rgb: 13, 189, 131;--red-rgb: 255, 82, 82;--orange-rgb: 255, 166, 0;--dark-rgb: 0, 16, 75;--dark-10-rgb: 230, 231, 237;--gray-dark-rgb: 51, 64, 111;--gray-lighter-rgb: 204, 207, 219;--comprehensive: #0077ff;--comprehensive-dark: #006be6;--comprehensive-darker: #005fcc;--comprehensive-darkest: #004799;--comprehensive-light: #b3d6ff;--comprehensive-pale: #e6f1ff;--first: #404a8d;--first-dark: #3a437f;--first-darker: #333b71;--first-darkest: #262c55;--first-light: #c6c9dd;--first-pale: #ecedf4;--business: #009cfe;--business-dark: #008ce5;--business-darker: #007dcb;--business-darkest: #005e98;--business-light: #b3e1ff;--business-pale: #e6f5ff;--economy: #905aca;--economy-dark: #8251b6;--economy-darker: #7348a2;--economy-darkest: #563679;--economy-light: #deceef;--economy-pale: #f4effa;--premium-economy: #6e7fed;--premium-economy-dark: #6372d5;--premium-economy-darker: #5866be;--premium-economy-darkest: #424c8e;--premium-economy-light: #d4d9fa;--premium-economy-pale: #f1f2fd;--civil: #8b50ff;--civil-dark: #7d48e6;--civil-darker: #6f40cc;--civil-darkest: #533099;--civil-light: #dccbff;--civil-pale: #f3eeff;--exclusive: #063773;--exclusive-dark: #053268;--exclusive-darker: #052c5c;--exclusive-darkest: #042145;--exclusive-light: #b4c3d5;--exclusive-pale: #e6ebf1;--expats: #00c2a9;--expats-dark: #00af98;--expats-darker: #009b87;--expats-darkest: #007465;--expats-light: #b3ede5;--expats-pale: #e6f9f6;--dental: #00bcdc;--dental-dark: #00a9c6;--dental-darker: #0096b0;--dental-darkest: #007184;--dental-light: #b3ebf5;--dental-pale: #e6f8fc;--company: #e09c1f;--company-dark: #ca8c1c;--company-darker: #b37d19;--company-darkest: #865e13;--company-light: #f6e1bc;--company-pale: #fcf5e9;--dental-70: #5eccd7;--dental-70-dark: #55b8c2;--dental-70-darker: #4ba3ac;--dental-70-darkest: #387a81;--dental-70-light: #cff0f3;--dental-70-pale: #effafb;--dental-85: #677eeb;--dental-85-dark: #5d71d4;--dental-85-darker: #5265bc;--dental-85-darkest: #3e4c8d;--dental-85-light: #d1d8f9;--dental-85-pale: #f0f2fd;--clinic: #3db88d;--clinic-dark: #37a67f;--clinic-darker: #319371;--clinic-darkest: #256e55;--clinic-light: #c5eadd;--clinic-pale: #ecf8f4;--zweibett: #55c291;--zweibett-dark: #4daf83;--zweibett-darker: #449b74;--zweibett-darkest: #337457;--zweibett-light: #ccedde;--zweibett-pale: #eef9f4;--einbett: #319884;--einbett-dark: #2c8977;--einbett-darker: #277a6a;--einbett-darkest: #1d5b4f;--einbett-light: #c1e0da;--einbett-pale: #eaf5f3;--satisfaction: #c2a46d;--satisfaction-dark: #af9462;--satisfaction-darker: #9b8357;--satisfaction-darkest: #746241;--satisfaction-light: #ede4d3;--satisfaction-pale: #f9f6f0;--study-free: #052d5e;--study-free-dark: #052955;--study-free-darker: #04244b;--study-free-darkest: #031b38;--study-free-light: #b4c0cf;--study-free-pale: #e6eaef;--study-protect: #005ea8;--study-protect-dark: #005597;--study-protect-darker: #004b86;--study-protect-darkest: #003865;--study-protect-light: #b3cfe5;--study-protect-pale: #e6eff6;--option: #5f50ff;--option-dark: #5648e6;--option-darker: #4c40cc;--option-darkest: #393099;--option-light: #cfcbff;--option-pale: #efeeff;--text-gray: #33406f;--text-gray-darker: #293359;--text-blue: #1e429f;--text-blue-darker: #18357f;--text-purple: #5521b5;--text-purple-darker: #441a91;--text-pink: #a745a3;--text-pink-darker: #863782;--text-pink-contrast: #e80d5f;--text-pink-contrast-darker: #ba0a4c;--text-green: #04543f;--text-green-darker: #034332;--text-red: #9a1c1c;--text-red-darker: #7b1616;--text-orange: #8a2c0d;--text-orange-darker: #6e230a;--text-yellow: #a3691f;--text-yellow-darker: #825419;--text-yellow-contrast: #9f661e;--text-yellow-contrast-darker: #7f5218;--text-background-gray: #f2f3f6;--text-background-gray-darker: #c2c2c5;--text-background-blue: #e1effe;--text-background-blue-darker: #b4bfcb;--text-background-purple: #edebfe;--text-background-purple-darker: #bebccb;--text-background-pink: #fee6fd;--text-background-pink-darker: #cbb8ca;--text-background-green: #def7ec;--text-background-green-darker: #b2c6bd;--text-background-red: #fde8e7;--text-background-red-darker: #cabab9;--text-background-orange: #feecdc;--text-background-orange-darker: #cbbdb0;--text-background-yellow: #fffaca;--text-background-yellow-darker: #ccc8a2;--text: var(--sec-light-60);--text-light: var(--sec-light-40);--text-lighter: var(--sec-light-20);--text-heading: var(--sec-light-100);--line: var(--sec-light-10);--border-light: var(--sec-light-10);--border: var(--sec-light-20);--border-dark: var(--sec-light-40);--border-primary: var(--primary);--border-primary-dark: var(--primary-darker);--border-error: var(--error);--border-radius-xs: 4px;--border-radius-sm: 6px;--border-radius-md: 8px;--border-radius-lg: 12px;--border-radius-xl: 16px;--disabled: var(--sec-light-02);--shadow: rgba(0, 16, 75, .15);--shadow-dark: rgba(0, 16, 75, .2);
3--box-shadow-xs: 0 1px 2px var(--shadow-dark);--box-shadow-sm: 0 2px 4px var(--shadow-dark);--box-shadow-md: 0 4px 12px var(--shadow);--box-shadow-lg: 0 8px 24px var(--shadow);--transition: all .2s ease-in-out;--focus-shadow-primary: 0 0 0 4px var(--primary-20);--focus-shadow-darker: 0 0 0 4px var(--sec-light-40);--focus-shadow-dark: 0 0 0 4px var(--sec-light-20);--focus-shadow-gray: 0 0 0 4px var(--sec-light-10);--focus-shadow-danger: 0 0 0 4px var(--danger-shadow);--focus-shadow-success: 0 0 0 4px var(--success-shadow);--focus-shadow-warning: 0 0 0 4px var(--warning-shadow);--focus-shadow-info: 0 0 0 4px var(--info-shadow);--focus-shadow-pink: 0 0 0 4px var(--pink-shadow);--focus-shadow-gold: 0 0 0 4px var(--satisfaction-shadow);--focus-shadow-expats: 0 0 0 4px var(--expats-shadow);--focus-shadow-text-primary: drop-shadow(0px 1px 3px rgba(0, 119, 255, .5));--focus-shadow-text-pink: drop-shadow(0px 1px 3px rgba(246, 92, 150, .5))}[data-theme=contrast][_ngcontent-%COMP%]   *[_ngcontent-%COMP%]{--primary: var(--primary-contrast);--primary-darker: var(--primary-contrast-darker);--success: var(--success-contrast);--success-darker: var(--success-contrast-darker);--danger: var(--danger-contrast);--danger-darker: var(--danger-contrast-darker);--pink: var(--pink-contrast);--pink-darker: var(--pink-contrast-darker);--satisfaction: var(--satisfaction-pale);--satisfaction-strong: var(--satisfaction-darkest);--yellow: var(--yellow-contrast)}.btn[_ngcontent-%COMP%]{--color: #fff;--background: var(--primary);--border-radius: var(--border-radius-sm);--focus-shadow: 0 0 0 4px rgba(0, 119, 255, .2);--active: var(--primary);display:inline-flex;justify-content:center;align-items:center;gap:4px;text-align:center;vertical-align:middle;touch-action:manipulation;position:relative;white-space:nowrap;border:none;padding:12px 24px;font-size:16px;line-height:24px;font-weight:700;border-radius:var(--border-radius);transition:color .2s ease-in-out,background .2s ease-in-out,opacity .2s ease-in-out,box-shadow .2s ease-in-out;
3box-shadow:var(--box-shadow-sm);transform:translateZ(0);background:var(--background);color:var(--color)}.btn.gold[_ngcontent-%COMP%]{--active: var(--satisfaction-strong)}.btn.green[_ngcontent-%COMP%], .btn.success[_ngcontent-%COMP%]{--active: var(--success)}.btn.expats[_ngcontent-%COMP%]{--active: var(--expats)}.btn.info[_ngcontent-%COMP%]{--active: var(--info)}.btn.warning[_ngcontent-%COMP%]{--active: var(--warning)}.btn.red[_ngcontent-%COMP%], .btn.danger[_ngcontent-%COMP%]{--active: var(--danger)}.btn.highlight[_ngcontent-%COMP%]{--active: var(--pink)}.btn[_ngcontent-%COMP%]:link, .btn[_ngcontent-%COMP%]:active, .btn[_ngcontent-%COMP%]:visited, .btn[_ngcontent-%COMP%]:focus{color:var(--color)}.btn[_ngcontent-%COMP%]:focus-visible{outline:3px solid var(--active);outline-offset:3px}.btn[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%], .btn[_ngcontent-%COMP%]   .svg[_ngcontent-%COMP%]{display:inline-block;width:1rem;height:1rem;vertical-align:top;position:relative;transform:translateZ(0)}.btn.comprehensive[_ngcontent-%COMP%]{--background: var(--comprehensive);--color: #fff}.btn.first[_ngcontent-%COMP%]{--background: var(--first);--color: #fff}.btn.business[_ngcontent-%COMP%]{--background: var(--business);--color: #fff}.btn.economy[_ngcontent-%COMP%]{--background: var(--economy);--color: #fff}.btn.premium-economy[_ngcontent-%COMP%]{--background: var(--premium-economy);--color: #fff}.btn.civil[_ngcontent-%COMP%]{--background: var(--civil);--color: #fff}.btn.exclusive[_ngcontent-%COMP%]{--background: var(--exclusive);--color: #fff}.btn.expats[_ngcontent-%COMP%]{--background: var(--expats);--color: #fff}.btn.dental[_ngcontent-%COMP%]{--background: var(--dental);--color: #fff}.btn.company[_ngcontent-%COMP%]{--background: var(--company);--color: #fff}.btn.dental-70[_ngcontent-%COMP%]{--background: var(--dental-70);--color: #fff}.btn.dental-85[_ngcontent-%COMP%]{--background: var(--dental-85);--color: #fff}.btn.clinic[_ngcontent-%COMP%]{--background: var(--clinic);--color: #fff}.btn.zweibett[_ngcontent-%COMP%]{--background: var(--zweibett);--color: #fff}.btn.einbett[_ngcontent-%COMP%]{--background: var(--einbett);--color: #fff}.btn.satisfaction[_ngcontent-%COMP%]{--background: var(--satisfaction);--color: #fff}.btn.study-free[_ngcontent-%COMP%]{--background: var(--study-free);--color: #fff}.btn.study-protect[_ngcontent-%COMP%]{--background: var(--study-protect);--color: #fff}.btn.option[_ngcontent-%COMP%]{--background: var(--option);--color: #fff}.btn.sm[_ngcontent-%COMP%]{--border-radius: var(--border-radius-xs);font-size:14px;padding:6px 16px}.btn.sm[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%], .btn.sm[_ngcontent-%COMP%]   .svg[_ngcontent-%COMP%]{width:.875rem;height:.875rem}.btn.lg[_ngcontent-%COMP%]{padding:16px 24px}.btn.xs[_ngcontent-%COMP%]{--border-radius: var(--border-radius-xs);font-size:14px;padding:4px 8px;line-height:19px}.btn.center[_ngcontent-%COMP%]{display:table;margin-left:auto;margin-right:auto}.btn.block[_ngcontent-%COMP%]{display:block;width:100%}.btn[_ngcontent-%COMP%]:hover:not(:disabled){--background: var(--primary-darker);color:var(--color)}.btn[_ngcontent-%COMP%]:active:not(:disabled){--background: var(--primary-darker);color:var(--color)}.btn.white[_ngcontent-%COMP%]{--background: #fff;--color: var(--primary)}.btn.white[_ngcontent-%COMP%]:hover:not(:disabled), .btn.white[_ngcontent-%COMP%]:active{--background: #fff;--color: var(--primary-darker)}.btn.white.outline[_ngcontent-%COMP%]{--color: #fff;--outline: #fff;--background: none}.btn.lightblue[_ngcontent-%COMP%]{--background: var(--primary-10);--color: var(--primary)}.btn.lightblue[_ngcontent-%COMP%]:hover:not(:disabled), .btn.lightblue[_ngcontent-%COMP%]:active{--background: var(--primary-20);--color: var(--primary-darker)}.btn.red[_ngcontent-%COMP%]{--background: var(--danger)}.btn.red[_ngcontent-%COMP%]:hover:not(:disabled), .btn.red[_ngcontent-%COMP%]:active{--background: var(--danger-darker)}.btn.green[_ngcontent-%COMP%]{--background: var(--success)}.btn.green[_ngcontent-%COMP%]:hover:not(:disabled), .btn.green[_ngcontent-%COMP%]:active{--background: var(--success-darker)}.btn.highlight[_ngcontent-%COMP%]{--background: var(--pink)}.btn.highlight[_ngcontent-%COMP%]:hover:not(:disabled), .btn.highlight[_ngcontent-%COMP%]:active{--background: var(--pink-darker)}.btn.gold[_ngcontent-%COMP%]{--background: var(--satisfaction-darker)}.btn.gold[_ngcontent-%COMP%]:hover:not(:disabled), .btn.gold[_ngcontent-%COMP%]:active{--background: var(--satisfaction-strong)}.btn.expats[_ngcontent-%COMP%]{--background: var(--expats)}.btn.expats[_ngcontent-%COMP%]:hover:not(:disabled), .btn.expats[_ngcontent-%COMP%]:active{--background: var(--expats-darker)}.btn.shine[_ngcontent-%COMP%]:not(.outline):not(.link):not(.white):not(:disabled){--shine-size: 250px;overflow:hidden}.btn.shine[_ngcontent-%COMP%]:not(.outline):not(.link):not(.white):not(:disabled):after{content:"";width:var(--shine-size);height:100%;position:absolute;top:0;transform:skew(-20deg);background-image:linear-gradient(to right,#fff0,#fff6,#fff0);animation:_ngcontent-%COMP%_btnShine 5s linear infinite}@keyframes _ngcontent-%COMP%_btnShine{0%,25%{left:calc(-1 * var(--shine-size))}45%,to{left:100%}}.btn.link[_ngcontent-%COMP%]{--background: none;--color: var(--primary);box-shadow:none}.btn.link[_ngcontent-%COMP%]:hover:not(:disabled), .btn.link[_ngcontent-%COMP%]:active:not(:disabled){--background: none;box-shadow:none}.btn.link[_ngcontent-%COMP%]:hover:not(:disabled):not(.loader), .btn.link[_ngcontent-%COMP%]:active:not(:disabled):not(.loader){color:var(--primary-darker)}.btn.link[_ngcontent-%COMP%]:focus-visible{filter:var(--focus-shadow-text-primary)}.btn.link.noPadding[_ngcontent-%COMP%]{padding:0}.btn.link[_ngcontent-%COMP%]:disabled{--color: var(--sec-light-20);--background: none;cursor:default;box-shadow:none}.btn.outline[_ngcontent-%COMP%]{--color: var(--background);--outline: var(--background);background:none;box-shadow:none}.btn.outline[_ngcontent-%COMP%]:before{content:"";top:0;left:0;width:100%;height:100%;position:absolute;z-index:0;border-radius:inherit;transition:opacity .3s ease,border .3s ease;opacity:.75;border:1px solid var(--outline)}.btn.outline[_ngcontent-%COMP%]:hover:not(:disabled), .btn.outline[_ngcontent-%COMP%]:active:not(:disabled){box-shadow:none}.btn.outline[_ngcontent-%COMP%]:hover:not(:disabled):before, .btn.outline[_ngcontent-%COMP%]:active:not(:disabled):before{opacity:1}.btn.outline.grey[_ngcontent-%COMP%]{--color: var(--sec-light-60);--outline: var(--sec-light-60)}
3.btn.outline.grey[_ngcontent-%COMP%]:hover{--outline: var(--border-dark)}.btn.outline.gold[_ngcontent-%COMP%]{--color: var(--satisfaction-darker);--outline: var(--satisfaction-darker)}.btn.outline.gold[_ngcontent-%COMP%]:hover{--outline: var(--satisfaction-strong)}.btn.outline.expats[_ngcontent-%COMP%]{--color: var(--expats);--outline: var(--expats)}.btn.outline.expats[_ngcontent-%COMP%]:hover{--outline: var(--expats-darker)}.btn.outline.dashed[_ngcontent-%COMP%]:before{border-style:dashed}.btn.outline[_ngcontent-%COMP%]:disabled{--outline: var(--sec-light-20);--color: var(--sec-light-20)}.btn.icon-right[_ngcontent-%COMP%]{justify-content:space-between}.btn.icon-right[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%], .btn.icon-right.svg[_ngcontent-%COMP%]{order:99}.btn.icon[_ngcontent-%COMP%]{--background: none;--color: var(--sec-light-60);--border-radius: var(--border-radius-sm);box-shadow:none;padding:5px;line-height:normal}.btn.icon[_ngcontent-%COMP%]:hover:not(:disabled), .btn.icon[_ngcontent-%COMP%]:active:not(:disabled){--background: var(--sec-light-05);box-shadow:none}.btn.icon[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:1.375rem;height:1.375rem;left:0;margin:0}.btn.icon.dark[_ngcontent-%COMP%]{--color: var(--sec-light-80)}.btn.icon.dark[_ngcontent-%COMP%]:hover:not(:disabled), .btn.icon.dark[_ngcontent-%COMP%]:active:not(:disabled){--background: var(--sec-light-05)}.btn.icon.light[_ngcontent-%COMP%]{--color: var(--sec-light-40)}.btn.icon.light[_ngcontent-%COMP%]:hover:not(:disabled), .btn.icon.light[_ngcontent-%COMP%]:active:not(:disabled){--background: var(--sec-light-05)}.btn.icon.primary[_ngcontent-%COMP%]{--color: var(--primary)}.btn.icon.primary[_ngcontent-%COMP%]:hover:not(:disabled), .btn.icon.primary[_ngcontent-%COMP%]:active:not(:disabled){--background: var(--primary-05)}.btn.icon.success[_ngcontent-%COMP%]{--color: var(--success)}.btn.icon.success[_ngcontent-%COMP%]:hover:not(:disabled), .btn.icon.success[_ngcontent-%COMP%]:active:not(:disabled){--background: var(--success-light)}.btn.icon.danger[_ngcontent-%COMP%]{--color: var(--danger)}.btn.icon.danger[_ngcontent-%COMP%]:hover:not(:disabled), .btn.icon.danger[_ngcontent-%COMP%]:active:not(:disabled){--background: var(--danger-light)}.btn.icon.info[_ngcontent-%COMP%]{--color: var(--info)}.btn.icon.info[_ngcontent-%COMP%]:hover:not(:disabled), .btn.icon.info[_ngcontent-%COMP%]:active:not(:disabled){--background: var(--info-light)}.btn.icon.warning[_ngcontent-%COMP%]{--color: var(--warning)}.btn.icon.warning[_ngcontent-%COMP%]:hover:not(:disabled), .btn.icon.warning[_ngcontent-%COMP%]:active:not(:disabled){--background: var(--warning-light)}.btn.icon.highlight[_ngcontent-%COMP%]{--color: var(--pink)}.btn.icon.highlight[_ngcontent-%COMP%]:hover:not(:disabled), .btn.icon.highlight[_ngcontent-%COMP%]:active:not(:disabled){--background: var(--pink-light)}.btn.icon.gold[_ngcontent-%COMP%]{--color: var(--satisfaction-darker)}.btn.icon.gold[_ngcontent-%COMP%]:hover:not(:disabled), .btn.icon.gold[_ngcontent-%COMP%]:active:not(:disabled){--background: var(--satisfaction-pale)}.btn.icon.expats[_ngcontent-%COMP%]{--color: var(--expats-darker)}.btn.icon.expats[_ngcontent-%COMP%]:hover:not(:disabled), .btn.icon.expats[_ngcontent-%COMP%]:active:not(:disabled){--background: var(--expats-pale)}.btn.icon[_ngcontent-%COMP%]:disabled{--color: var(--sec-light-20);--background: none;cursor:default}.btn.icon[_ngcontent-%COMP%]:disabled:hover:not(:disabled), .btn.icon[_ngcontent-%COMP%]:disabled:active:not(:disabled){--background: none;--color: var(--sec-light-20)}.btn.icon.white[_ngcontent-%COMP%]{--color: #fff}.btn.icon.white[_ngcontent-%COMP%]:hover:not(:disabled), .btn.icon.white[_ngcontent-%COMP%]:active:not(:disabled){--color: #fff;--background: var(--sec-dark-10) }.btn.rounded[_ngcontent-%COMP%]{--border-radius: 50px}.btn[_ngcontent-%COMP%]:disabled{--color: #fff;--background: var(--sec-light-20);cursor:default;box-shadow:none}.btn.loader[_ngcontent-%COMP%]{--color: transparent}.btn.loader[_ngcontent-%COMP%]:disabled{--color: transparent;--color-spinner: var(--sec-light-20);--color-bg: var(--sec-light-05)}.btn.loader[_ngcontent-%COMP%]   svg.otto-loader--simple[_ngcontent-%COMP%], .btn.loader[_ngcontent-%COMP%]   svg.otto-loader--validate[_ngcontent-%COMP%], .btn.loader[_ngcontent-%COMP%]   svg.otto-loader--logo[_ngcontent-%COMP%]{position:absolute;
3left:0;width:100%}.btn.wide-on-mobile[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.btn.wide-on-mobile[_ngcontent-%COMP%]{width:auto}}.btn.flat[_ngcontent-%COMP%]{box-shadow:none}.icon-button[_ngcontent-%COMP%]{--size: 30px;width:var(--size);height:var(--size);cursor:pointer;object-fit:contain}.icon-button[_ngcontent-%COMP%]:disabled{pointer-events:none}.icon-button.sm[_ngcontent-%COMP%]{--size: 24px}.icon-button.lg[_ngcontent-%COMP%]{--size: 36px}.icon-button.background-color-[_ngcontent-%COMP%]{--background: none}.icon-button.rounded-border[_ngcontent-%COMP%]{--border-radius: 50%}.icon-button.rounded-border.background-color-[_ngcontent-%COMP%]{border:2px solid var(--sec-light-20)}.icon-button.background-color-success[_ngcontent-%COMP%]{--background: var(--success)}.icon-button.background-color-success[_ngcontent-%COMP%]:hover:not(:disabled), .icon-button.background-color-success[_ngcontent-%COMP%]:active{--background: var(--success-darker)}.icon-button.background-color-success[_ngcontent-%COMP%]:focus-visible{box-shadow:var(--box-sha
3dow-sm),var(--focus-shadow-success)}']})}return B})()},27555:(st,Q,g)=>{"use strict";g.d(Q,{lr:()=>h.lr,xB:()=>a.x});var a=g(54282),h=g(67174)},67174:(st,Q,g)=>{"use strict";g.d(Q,{K0:()=>H,X$:()=>z,lr:()=>a});var a=function(P){return P.Default="",P.Dark="dark",P.Light="light",P.Primary="primary",P.Success="success",P.Danger="danger",P.Info="info",P.Warning="warning",P.Highlight="highlight",P.Gold="gold",P.Expats="expats",P.White="white",P}(a||{}),h=function(P){return P.Close="close",P.Delete="delete",P.Edit="edit",P.Retry="retry",P.ExternalLink="external-link",P.Copy="copy",P.Save="save",P.Cancel="cancel",P}(h||{});const H={[h.Close]:{icon:"icon-cross.svg",color:a.Light},[h.Edit]:{icon:"icon-edit-light.svg",color:a.Light},[h.Delete]:{icon:"icon-delete.svg",color:a.Danger},[h.Retry]:{icon:"icon-retry.svg",color:a.Dark},[h.ExternalLink]:{icon:"icon-external-link.svg",color:a.Default},[h.Copy]:{icon:"icon-copy.svg",color:a.Dark},[h.Save]:{icon:"icon-save-outlined.svg",color:a.Success},[h.Cancel]:{icon:"icon-cross.svg",color:a.Default}},z={[h.Close]:"Schlie\xdfen",[h.Edit]:"Bearbeiten",[h.Delete]:"Lo\u0308schen",[h.Retry]:"Erneut versuchen",[h.ExternalLink]:"Exter
3ner Link",[h.Copy]:"Kopieren",[h.Save]:"Speichern",[h.Cancel]:"Abbrechen"}},73466:(st,Q,g)=>{"use strict";g.d(Q,{h:()=>_});var a=g(58527),h=g(3571),H=g(61142);function z(q,A){if(1&q&&(a.qSk(),a.j41(0,"svg",3)(1,"title"),a.EFF(2),a.k0s(),a.nrm(3,"use"),a.k0s()),2&q){const X=a.XpG();a.AVh("stretchToContainer",X.stretchToContainer)("active",X.active),a.Y8G("ngClass",X.imageClasses),a.BMQ("tabindex",X.focusable?0:null)("viewBox",X.viewBox)("data-cy",X.dataCy),a.R7$(2),a.JRh(X.alt),a.R7$(),a.jRB("href","",X.imagePath,"/",X.file,"#svg-",X.name,"")}}function P(q,A){if(1&q&&a.nrm(0,"img",4),2&q){const X=a.XpG();a.xc7("width",X.width)("height",X.height),a.AVh("active",X.active)("stretchToContainer",X.stretchToContainer),a.FCK("src","",X.imagePath,"/",X.file,"",a.B4B),a.yjJ("srcset","",X.imagePath,"/",X.name,"@2x",X.extension," 2x"),a.Y8G("ngClass",X.imageClasses),a.BMQ("alt",X.alt)("title",X.title)("data-cy",X.dataCy)}}function C(q,A){if(1&q&&a.nrm(0,"img",5),2&q){const X=a.XpG();a.xc7("width",X.width)("height",X.height),a.AVh("active",X.active)("stretchToContainer",X.stretchToContainer),a.FS9("src",X.file,a.B4B),a.Y8G("ngClass",X.imageClasses),a.BMQ("alt",X.alt)("title",X.title)("data-cy",X.dataCy)}}function B(q,A){if(1&q&&a.nrm(0,"img",5),2&q){const X=a.XpG();a.xc7("width",X.width)("height",X.height),a.AVh("active",X.active)("stretchToContainer",X.stretchToContainer),a.FCK("src","",X.imagePath,"/",X.file,"",a.B4B),a.Y8G("ngClass",X.imageClasses),a.BMQ("alt",X.alt)("title",X.title)("data-cy",X.dataCy)}}let _=(()=>{class q{imagePath=(0,a.WQX)(h.v);file;alt="";title;width;height;stretchToContainer;type;dataCy;focusable=!1;viewBox;get name(){return this.file.substr(0,this.file.lastIndexOf("."))}get extension(){return this.file.substr(this.file.lastIndexOf("."))}get imageClasses(){return`image-${this.name} image-${this.name}-dims`}ngOnInit(){this.width&&!this.height&&(this.height="auto"),this.height&&!this.width&&(this.width="auto")}static \u0275fac=function(R){return new(R||q)};static \u0275cmp=a.VBU({type:q,selectors:[["frontend-image"]],inputs:{file:"file",alt:"alt",title:"title",width:"width",height:"height",stretchToContainer:"stretchToContainer",type:"type",dataCy:"dataCy",focusable:"focusable",viewBox:"viewBox"},decls:4,vars:1,consts:[[1,"svg",3,"ngClass","stretchToContainer","active"],[3,"ngClass","src","srcset","width","height","active","stretchToContainer"],[3,"ngClass","src","width","height","active","stretchToContainer"],[1,"svg",3,"ngClass"],[3,"ngClass","src","srcset"],[3,"ngClass","src"]],template:function(R,ne){if(1&R&&a.DNE(0,z,4,13,":svg:svg",0)(1,P,1,19,"img",1)(2,C,1,13,"img",2)(3,B,1,15,"img",2),2&R){let se;a.vxM("svg"===(se=ne.type)?0:"retina"===se?1:"remote"===se?2:3)}},dependencies:[H.YU],styles:[".svg[_ngcontent-%COMP%]{pointer-events:none}.stretchToContainer[_ngcontent-%COMP%]{display:block;width:100%;height:100%}"]})}return q})()},24153:(st,Q,g)=>{"use strict";g.d(Q,{U:()=>z});var a=g(3571),h=g(61142),H=g(58527);let z=(()=>{class P{static \u0275fac=function(_){return new(_||P)};static \u0275mod=H.$C({type:P});static \u0275inj=H.G2t({providers:[{provide:a.v,useValue:"assets/images"}],imports:[h.MD]})}return P})()},3571:(st,Q,g)=>{"use strict";g.d(Q,{v:()=>h});const h=new(g(58527).nKC)("ImagePath")},85618:(st,Q,g)=>{"use strict";g.d(Q,{VM:()=>P}),g(2590);var h=g(61142),H=g(24153),z=g(58527);let P=(()=>{class B{static \u0275fac=function(A){return new(A||B)};static \u0275mod=z.$C({type:B});static \u0275inj=z.G2t({imports:[H.U,h.MD]})}return B})();g(76670)},2590:(st,Q,g)=>{"use strict";g.d(Q,{g:()=>B});var a=g(76670),h=g(58527),H=g(73466);const z=["*"];function P(_,q){1&_&&(h.j41(0,"span",1),h.nrm(1,"frontend-image",2),h.k0s()),2&_&&(h.R7$(),h.Y8G("stretchToContainer",!0))}function C(_,q){1&_&&(h.j41(0,"span",1),h.nrm(1,"frontend-image",2),h.k0s()),2&_&&(h.R7$(),h.Y8G("stretchToContainer",!0))}let B=(()=>{class _{href;type=a.J.Default;isHighlight=!1;isButton=!1;onDark=!1;targetBlank;tabIndex;dataCy;wide=!1;linkType=a.J;static \u0275fac=function(X){return new(X||_)};static \u0275cmp=h.VBU({type:_,selectors:[["frontend-link"]],inputs:{href:"href",type:"type",isHighlight:"isHighlight",isButton:"isButton",onDark:"onDark",targetBlank:"targetBlank",tabIndex:"tabIndex",dataCy:"dataCy",wide:"wide"},ngContentSelectors:z,decls:4,vars:19,consts:[[1,"otto-link",3,"tabindex"],[1,"icon-arrow"],["type","svg","file","arrow-right-short.svg",3,"stretchToContainer"]],template:function(X,R){1&X&&(h.NAR(),h.j41(0,"a",0),h.DNE(1,P,2,1,"span",1),h.SdG(2),h.DNE(3,C,2,1,"span",1),h.k0s()),2&X&&
3(h.AVh("backwards",R.type===R.linkType.Backwards)("forwards",R.type===R.linkType.Forwards)("link-button",R.isButton)("highlight",R.isHighlight)("on-dark",R.onDark)("wide",R.wide),h.Y8G("tabindex",R.tabIndex),h.BMQ("href",R.href,h.B4B)("target",R.targetBlank?"_blank":null)("rel",R.targetBlank?"noopener noreferrer":null)("data-cy",R.dataCy),h.R7$(),h.vxM(R.isButton&&R.type===R.linkType.Backwards?1:-1),h.R7$(2),h.vxM(R.isButton&&R.type===R.linkType.Forwards?3:-1))},dependencies:[H.h],styles:[".otto-link[_ngcontent-%COMP%]{transition:var(--transition);width:-moz-fit-content;width:fit-content;--active: var(--primary)}.otto-link.highlight[_ngcontent-%COMP%]{--active: var(--pink)}.otto-link[_ngcontent-%COMP%]:link, .otto-link[_ngcontent-%COMP%]:active, .otto-link[_ngcontent-%COMP%]:visited, .otto-link[_ngcontent-%COMP%]:focus{color:var(--primary-110)}.otto-link[_ngcontent-%COMP%]:focus, .otto-link[_ngcontent-%COMP%]:hover, .otto-link[_ngcontent-%COMP%]:active{text-decoration:underline}.otto-link[_ngcontent-%COMP%]:focus-visible{outline:3px solid var(--active);outline-offset:3px}.otto-link.highlight[_ngcontent-%COMP%]{color:var(--pink)}.otto-link.highlight[_ngcontent-%COMP%]:hover{color:var(--pink-darker)}.otto-link.on-dark[_ngcontent-%COMP%]{color:var(--primary-60)}.otto-link.on-dark[_ngcontent-%COMP%]:hover{color:var(--primary-40)}.otto-link.on-dark.highlight[_ngcontent-%COMP%]{color:var(--pink)}.otto-link.on-dark.highlight[_ngcontent-%COMP%]:hover{color:var(--pink-bright)}.otto-link.link-button[_ngcontent-%COMP%]{display:inline-block;font-weight:700}.otto-link.link-button.backwards[_ngcontent-%COMP%], .otto-link.link-button.forwards[_ngcontent-%COMP%]{position:relative}.otto-link.link-button[_ngcontent-%COMP%]   .icon-arrow[_ngcontent-%COMP%]{display:inline-flex;height:100%;justify-items:center;position:absolute;transition:var(--transition);width:16px}.otto-link.link-button.backwards[_ngcontent-%COMP%]{padding-left:24px}.otto-link.link-button.backwards[_ngcontent-%COMP%]   .icon-arrow[_ngcontent-%COMP%]{left:2px;transform:scaleX(-1)}.otto-link.link-button.backwards[_ngcontent-%COMP%]:hover   .icon-arrow[_ngcontent-%COMP%]{transform:scaleX(-1) translate(2px)}.otto-link.link-button.forwards[_ngcontent-%COMP%]{padding-right:24px}.otto-link.link-button.forwards[_ngcontent-%COMP%]   .icon-arrow[_ngcontent-%COMP%]{right:2px}.otto-link.link-button.forwards[_ngcontent-%COMP%]:hover   .icon-arrow[_ngcontent-%COMP%]{transform:translate(2px)}.otto-link.wide[_ngcontent-%COMP%]{display:block;width:100%}"]})}return _})()},76670:(st,Q,g)=>{"use strict";g.d(Q,{J:()=>a});var a=function(h){return h.Default="default",h.Backwards="backwards",h.Forwards="forwards",h}(a||{})},8820:(st,Q,g)=>{"use strict";g.d(Q,{iZ:()=>C,M:()=>B.M}),g(41904);var h=g(61142),H=g(56106),z=g(24153),P=g(58527);let C=(()=>{class _{static \u0275fac=function(X){return new(X||_)};static \u0275mod=P.$C({type:_});static \u0275inj=P.G2t({imports:[h.MD,H.X1,z.U]})}return _})();var B=g(34489)},41904:(st,Q,g)=>{"use strict";g.d(Q,{V:()=>_});var a=g(51376),h=g(34489),H=g(58527),z=g(61142);function P(q,A){1&q&&(H.qSk(),H.qex(0),H.nrm(1,"circle",1)(2,"circle",2),H.bVm())}function C(q,A){1&q&&(H.qSk(),H.qex(0),H.j41(1,"mask",3),H.nrm(2,"path",4),H.k0s(),H.nrm(3,"circle",5)(4,"circle",6)(5,"path",7),H.bVm())}function B(q,A){1&q&&(H.qSk(),H.qex(0),H.nrm(1,"circle",1)(2,"circle",2)(3,"path",8),H.bVm())}let _=(()=>{class q{type=h.M.Simple;size;light;done;componentSize=a.H7o;loaderType=h.M;static \u0275fac=function(R){return new(R||q)};static \u0275cmp=H.VBU({type:q,selectors:[["frontend-loader"]],inputs:{type:"type",size:"size",light:"light",done:"done"},decls:4,vars:14,consts:[["viewBox","0 0 48 48",3,"ngClass"],["cx","24","cy","24","r","19",1,"spinner-bg"],["cx","24","cy","24","r","19",1,"spinner"],["id","logo-mask"],["fill","#fff","d","M37.5228 7.34098C37.4433 7.28425 37.3639 7.22184 37.2844 7.16511C39.5546 5.70713 40.8202 3.82933 41.5069 2.36C42.1426 1.00414 42.2958 0 42.2958 0C42.2958 0 40.6045 1.55443 37.4376 2.36C35.0937 2.96135 33.2662 2.81385 32.8746 2.83654H23.9925C23.8336 2.83654 23.6747 2.84222 23.5158 2.84222C11.2625 3.10318 1.4043 13.110
35 1.4043 25.4211C1.4043 37.8906 11.5179 48 23.9925 48C36.4671 48 46.5808 37.8906 46.5808 25.4211C46.5808 18.0801 43.0279 11.4313 37.5228 7.34098ZM24.1741 41.1072C15.5532 41.1072 8.5667 34.1406 8.5667 25.5459C8.5667 17.1724 15.2013 10.3477 23.5101 10.0017C23.7201 9.99598 23.9301 9.99031 24.1458 9.98463C24.1458 9.98463 24.1514 9.98463 24.1741 9.98463C24.1968 9.98463 24.2139 9.98463 24.2366 9.98463C32.8178 10.013 39.7816 16.9682 39.7816 25.5459C39.7816 34.1406 32.7951 41.1072 24.1741 41.1072Z"],["mask","url(#logo-mask)","cx","24.1","cy","25.5","r","23.5",1,"spinner-bg"],["mask","url(#logo-mask)","cx","24.1","cy","25.5","r","23.5",1,"spinner"],["fill","rgba(0,0,0,0.1)","d","M37.3031 7.16577C34.7718 8.79396 29.5731 10.1952 24.959 10.0023C24.9703 10.0023 25.4811 10.0364 25.5436 10.0421C25.606 10.0477 25.85 10.0704 25.9068 10.0761C25.9692 10.0818 26.2133 10.1101 26.27 10.1215C26.3495 10.1328 26.7013 10.1839 26.7978 10.2009C26.8489 10.2066 27.0929 10.252 27.1611 10.269C27.2008 10.2747 27.581 10.3541 27.6094 10.3597C27.6945 10.3768 27.8818 10.4222 27.8932 10.4278C28.6253 10.6037 29.3347 10.8306 30.0215 11.1086C32.7684 11.137 36.6958 10.5243 39.9138 9.3783C39.176 8.64646 38.3871 7.97136 37.5528 7.34731C37.462 7.28491 37.3825 7.22818 37.3031 7.16577Z",1,"shadow"],["d","M10.5 26L18.15 33.65L38.9557 12.2141C34.7169 7.4047 29.7317 5 24 5C13.5025 5 5 13.5025 5 24C5 34.4975 13.5025 43 24 43C34.4975 43 43 34.4975 43 24C43 19.5756 41.6763 15.6778 39.0289 12.3067",1,"check"]],template:function(R,ne){1&R&&(H.qSk(),H.j41(0,"svg",0),H.DNE(1,P,3,0,":svg:ng-container")(2,C,6,0,":svg:ng-container")(3,B,4,0,":svg:ng-container"),H.k0s()),2&R&&(H.AVh("otto-loader--simple",ne.type===ne.loaderType.Simple)("otto-loader--logo",ne.type===ne.loaderType.Logo)("otto-loader--validate",ne.type===ne.loaderType.Validate)("light",ne.light)("done",ne.type===ne.loaderType.Validate&&ne.done),H.Y8G("ngClass",ne.size),H.R7$(),H.vxM(ne.type===ne.loaderType.Simple?1:-1),H.R7$(),H.vxM(ne.type===ne.loaderType.Logo?2:-1),H.R7$(),H.vxM(ne.type===ne.loaderType.Validate?3:-1))},dependencies:[z.YU],styles:["[_ngcontent-%COMP%]:root, [_nghost-%COMP%]{--business-primary: #2c6fd1;--business-secondary: #21bbfe;--first-primary: #352f64;--first-secondary: #415197;--economy-primary: #8063e1;--economy-secondary: #bd7be8;--premium-economy-primary: #3f58e3;--premium-economy-secondary: #7f94fc;--exclusive-flex-primary: #052d5e;--exclusive-flex-secondary: #07428b;--exclusive-garant-primary: #0c4a9a;--exclusive-garant-secondary: #005ea8;--expats-primary: #40b2c0;--expats-secondary: #51dbc0;--study-free-primary: #052d5e;--study-free-secondary: #07428b;--study-protect-primary: #0c4a9a;--study-protect-secondary: #005ea8;--freemium-primary: #667093;--freemium-secondary: #999fb7;--clinic-zweibett-primary: #3db88d;--clinic-zweibett-secondary: #b7f5ab;--clinic-einbett-primary: #207f7a;--clinic-einbett-secondary: #44b898;--dental-70-primary: #3abfd5;--dental-70-secondary: #a5e5dd;--dental-85-primary: #677eeb;--dental-85-secondary: #b5bef0;--primary: #0077ff;--primary-contrast: #0070f0;--primary-darker: #006be6;--primary-contrast-darker: #0065d8;--primary-light: #99c9ff;--primary-pale: #f2f8ff;--primary-110: #0066db;--primary-80: #3392ff;--primary-contrast-80: #338df3;--primary-60: #66adff;--primary-contrast-60: #66a9f6;--primary-40: #99c9ff;--primary-20: #cce4ff;--primary-10: #e6f1ff;--primary-05: #f2f8ff;--primary-02: #fafcff;--black: #000000;--white: #ffffff;--overlay-light: rgba(0, 16, 75, .4);--overlay-dark: rgba(0, 0, 0, .4);--sec-light-100: #00104b;--sec-light-90: #1a285d;--sec-light-80: #33406f;--sec-light-60: #667093;--sec-light-40: #999fb7;--sec-light-20: #cccfdb;--sec-light-10: #e6e7ed;--sec-light-05: #f2f3f6;--sec-light-02: #fafafb;--dark: #00104b;--dark-80: #33406f;--dark-60: #667093;--dark-40: #999fb7;--dark-20: #cccfdb;--dark-10: #e6e7ed;--dark-05: #f2f3f6;--dark-02: #fafafb;--sec-dark-00: #181a20;--sec-dark-80: #e5e6eb;--sec-dark-60: #aab0c0;--sec-dark-40: #717993;--sec-dark-20: #44495a;--sec-dark-10: #2e323d;--sec-dark-05: #23262f;--sec-dark-02: #1c1f26;--night: #181a20;--night-98: #1c1f26;--night-95: #23262f;--night-90: #2e323d;--night-80: #44495a;--night-60: #717993;--night-40: #aab0c0;--night-20: #e5e6eb;--black-pure: #000000;--white-pure: #ffffff;--overlay: rgba(0, 16, 75, .4);--sand: #ffedd3;--sand-80: #fff1dc;--sand-60: #fff4e5;--sand-40: #fff8ed;--sand-20: #fffbf6;--cyan: #20c2e0;--cyan-80: #4dcee6;--cyan-60: #79daec;--cyan-40: #a6e7f3;--cyan-20: #d2f3f9;--green: #0dbd83;--green-contrast: #09865d;--success: #0dbd83;--success-contrast: #09865d;--success-darker: #0caa76;--success-contrast-darker: #087954;--success-bright: #3dca9c;--success-light: #ecfaf5;--success-shadow: #cff2e6;--red: #ff5252;--red-contrast: #eb0000;--error: #ff5252;--error-contrast: #eb0000;--danger: #ff5252;--danger-contrast: #eb0000;--danger-darker: #e64a4a;--danger-contrast-darker: #d40000;--danger-bright: #ff7575;--danger-light: #fff1f1;
3--danger-shadow: #ffdcdc;--purple: #7263d0;--info: #7263d0;--info-darker: #6759bb;--info-bright: #8e82d9;--info-light: #f4f3fb;--info-shadow: #e3e0f6;--orange: #ffa600;--warning: #ffa600;--warning-darker: #e69500;--warning-bright: #ffb833;--warning-light: #fff8eb;--warning-shadow: #ffedcc;--pink: #f65c96;--pink-contrast: #e80d5f;--pink-darker: #dd5387;--pink-contrast-darker: #d10c56;--pink-bright: #f87dab;--pink-light: #fef2f7;--pink-shadow: #fddeea;--yellow: #fecf02;--yellow-contrast: #9f661e;--payback: #0046aa;--healthx: #151b36;--satisfaction-strong: #a38247;--satisfaction-shadow: #ede4d3;--expats-shadow: #b3ede5;--pastel-sky: #cce4ff;--pastel-rose: #ffdcdc;--pastel-mint: #cff2e6;--pastel-lemon: #fff5cc;--pastel-purple: #e2dffb;--pastel-sand: #ebe1d3;--primary-rgb: 0, 119, 255;--cyan-rgb: 32, 194, 224;--green-rgb: 13, 189, 131;--red-rgb: 255, 82, 82;--orange-rgb: 255, 166, 0;--dark-rgb: 0, 16, 75;--dark-10-rgb: 230, 231, 237;--gray-dark-rgb: 51, 64, 111;--gray-lighter-rgb: 204, 207, 219;--comprehensive: #0077ff;--comprehensive-dark: #006be6;--comprehensive-darker: #005fcc;--comprehensive-darkest: #004799;--comprehensive-light: #b3d6ff;--comprehensive-pale: #e6f1ff;--first: #404a8d;--first-dark: #3a437f;--first-darker: #333b71;--first-darkest: #262c55;--first-light: #c6c9dd;--first-pale: #ecedf4;--business: #009cfe;--business-dark: #008ce5;--business-darker: #007dcb;--business-darkest: #005e98;--business-light: #b3e1ff;--business-pale: #e6f5ff;--economy: #905aca;--economy-dark: #8251b6;--economy-darker: #7348a2;--economy-darkest: #563679;--economy-light: #deceef;--economy-pale: #f4effa;--premium-economy: #6e7fed;--premium-economy-dark: #6372d5;--premium-economy-darker: #5866be;--premium-economy-darkest: #424c8e;--premium-economy-light: #d4d9fa;--premium-economy-pale: #f1f2fd;--civil: #8b50ff;--civil-dark: #7d48e6;--civil-darker: #6f40cc;--civil-darkest: #533099;--civil-light: #dccbff;--civil-pale: #f3eeff;--exclusive: #063773;--exclusive-dark: #053268;--exclusive-darker: #052c5c;--exclusive-darkest: #042145;--exclusive-light: #b4c3d5;--exclusive-pale: #e6ebf1;--expats: #00c2a9;--expats-dark: #00af98;--expats-darker: #009b87;--expats-darkest: #007465;--expats-light: #b3ede5;--expats-pale: #e6f9f6;--dental: #00bcdc;--dental-dark: #00a9c6;--dental-darker: #0096b0;--dental-darkest: #007184;--dental-light: #b3ebf5;--dental-pale: #e6f8fc;--company: #e09c1f;--company-dark: #ca8c1c;--company-darker: #b37d19;--company-darkest: #865e13;--company-light: #f6e1bc;--company-pale: #fcf5e9;--dental-70: #5eccd7;--dental-70-dark: #55b8c2;--dental-70-darker: #4ba3ac;--dental-70-darkest: #387a81;--dental-70-light: #cff0f3;--dental-70-pale: #effafb;--dental-85: #677eeb;--dental-85-dark: #5d71d4;--dental-85-darker: #5265bc;--dental-85-darkest: #3e4c8d;--dental-85-light: #d1d8f9;--dental-85-pale: #f0f2fd;--clinic: #3db88d;--clinic-dark: #37a67f;--clinic-darker: #319371;--clinic-darkest: #256e55;--clinic-light: #c5eadd;--clinic-pale: #ecf8f4;--zweibett: #55c291;--zweibett-dark: #4daf83;--zweibett-darker: #449b74;--zweibett-darkest: #337457;--zweibett-light: #ccedde;--zweibett-pale: #eef9f4;--einbett: #319884;--einbett-dark: #2c8977;--einbett-darker: #277a6a;--einbett-darkest: #1d5b4f;--einbett-light: #c1e0da;--einbett-pale: #eaf5f3;--satisfaction: #c2a46d;--satisfaction-dark: #af9462;--satisfaction-darker: #9b8357;--satisfaction-darkest: #746241;--satisfaction-light: #ede4d3;--satisfaction-pale: #f9f6f0;--study-free: #052d5e;--study-free-dark: #052955;--study-free-darker: #04244b;--study-free-darkest: #031b38;--study-free-light: #b4c0cf;--study-free-pale: #e6eaef;--study-protect: #005ea8;--study-protect-dark: #005597;--study-protect-darker: #004b86;--study-protect-darkest: #003865;--study-protect-light: #b3cfe5;--study-protect-pale: #e6eff6;--option: #5f50ff;--option-dark: #5648e6;--option-darker: #4c40cc;--option-darkest: #393099;--option-light: #cfcbff;--option-pale: #efeeff;--text-gray: #33406f;--text-gray-darker: #293359;--text-blue: #1e429f;--text-blue-darker: #18357f;--text-purple: #5521b5;--text-purple-darker: #441a91;--text-pink: #a745a3;--text-pink-darker: #863782;--text-pink-contrast: #e80d5f;--text-pink-contrast-darker: #ba0a4c;--text-green: #04543f;--text-green-darker: #034332;--text-red: #9a1c1c;--text-red-darker: #7b1616;--text-orange: #8a2c0d;--text-orange-darker: #6e230a;--text-yellow: #a3691f;--text-yellow-darker: #825419;--text-yellow-contrast: #9f661e;--text-yellow-contrast-darker: #7f5218;--text-background-gray: #f2f3f6;--text-background-gray-darker: #c2c2c5;--text-background-blue: #e1effe;--text-background-blue-darker: #b4bfcb;--text-background-purple: #edebfe;--text-background-purple-darker: #bebccb;--text-background-pink: #fee6fd;--text-background-pink-darker: #cbb8ca;--text-background-green: #def7ec;--text-background-green-darker: #b2c6bd;--text-background-red: #fde8e7;--text-background-red-darker: #cabab9;--text-background-orange: #feecdc;--text-background-orange-darker: #cbbdb0;--text-background-yellow: #fffaca;--text-background-yellow-darker: #ccc8a2;--text: var(--sec-light-60);--text-light: var(--sec-light-40);--text-lighter: var(--sec-light-20);--text-heading: var(--sec-light-100);--line: var(--sec-light-10);--border-light: var(--sec-light-10);--border: var(--sec-light-20);--border-dark: var(--sec-light-40);--border-primary: var(--primary);--border-primary-dark: var(--primary-darker);--border-error: var(--error);--border-radius-xs: 4px;--border-radius-sm: 6px;--border-radius-md: 8px;--border-radius-lg: 12px;--border-radius-xl: 16px;--disabled: var(--sec-light-02);--shadow: rgba(0, 16, 75, .15);--shadow-dark: rgba(0, 16, 75, .2);
3--box-shadow-xs: 0 1px 2px var(--shadow-dark);--box-shadow-sm: 0 2px 4px var(--shadow-dark);--box-shadow-md: 0 4px 12px var(--shadow);--box-shadow-lg: 0 8px 24px var(--shadow);--transition: all .2s ease-in-out;--focus-shadow-primary: 0 0 0 4px var(--primary-20);--focus-shadow-darker: 0 0 0 4px var(--sec-light-40);--focus-shadow-dark: 0 0 0 4px var(--sec-light-20);--focus-shadow-gray: 0 0 0 4px var(--sec-light-10);--focus-shadow-danger: 0 0 0 4px var(--danger-shadow);--focus-shadow-success: 0 0 0 4px var(--success-shadow);--focus-shadow-warning: 0 0 0 4px var(--warning-shadow);--focus-shadow-info: 0 0 0 4px var(--info-shadow);--focus-shadow-pink: 0 0 0 4px var(--pink-shadow);--focus-shadow-gold: 0 0 0 4px var(--satisfaction-shadow);--focus-shadow-expats: 0 0 0 4px var(--expats-shadow);--focus-shadow-text-primary: drop-shadow(0px 1px 3px rgba(0, 119, 255, .5));--focus-shadow-text-pink: drop-shadow(0px 1px 3px rgba(246, 92, 150, .5))}[data-theme=contrast][_ngcontent-%COMP%]   *[_ngcontent-%COMP%]{--primary: var(--primary-contrast);--primary-darker: var(--primary-contrast-darker);--success: var(--success-contrast);--success-darker: var(--success-contrast-darker);--danger: var(--danger-contrast);--danger-darker: var(--danger-contrast-darker);--pink: var(--pink-contrast);--pink-darker: var(--pink-contrast-darker);--satisfaction: var(--satisfaction-pale);--satisfaction-strong: var(--satisfaction-darkest);--yellow: var(--yellow-contrast)}.otto-loader--simple[_ngcontent-%COMP%], .otto-loader--validate[_ngcontent-%COMP%], .otto-loader--logo[_ngcontent-%COMP%]{position:relative;width:var(--w, 48px);height:auto}.otto-loader--simple[_ngcontent-%COMP%]   .spinner-bg[_ngcontent-%COMP%], .otto-loader--simple[_ngcontent-%COMP%]   .spinner[_ngcontent-%COMP%], .otto-loader--simple[_ngcontent-%COMP%]   .check[_ngcontent-%COMP%], .otto-loader--validate[_ngcontent-%COMP%]   .spinner-bg[_ngcontent-%COMP%], .otto-loader--validate[_ngcontent-%COMP%]   .spinner[_ngcontent-%COMP%], .otto-loader--validate[_ngcontent-%COMP%]   .check[_ngcontent-%COMP%], .otto-loader--logo[_ngcontent-%COMP%]   .spinner-bg[_ngcontent-%COMP%], .otto-loader--logo[_ngcontent-%COMP%]   .spinner[_ngcontent-%COMP%], .otto-loader--logo[_ngcontent-%COMP%]   .check[_ngcontent-%COMP%]{position:absolute;height:100%;width:100%;stroke:var(--color-bg, var(--sec-light-10));stroke-width:var(--stroke-width, 16px);fill:none}.otto-loader--simple[_ngcontent-%COMP%]   .spinner-bg[_ngcontent-%COMP%], .otto-loader--validate[_ngcontent-%COMP%]   .spinner-bg[_ngcontent-%COMP%], .otto-loader--logo[_ngcontent-%COMP%]   .spinner-bg[_ngcontent-%COMP%]{opacity:var(--opacity-bg, 1)}.otto-loader--simple[_ngcontent-%COMP%]   .spinner[_ngcontent-%COMP%], .otto-loader--validate[_ngcontent-%COMP%]   .spinner[_ngcontent-%COMP%], .otto-loader--logo[_ngcontent-%COMP%]   .spinner[_ngcontent-%COMP%]{stroke-dashoffset:var(--dashoffset, 147);stroke-dasharray:var(--dasharray, 37 110);animation:_ngcontent-%COMP%_otto-loader .6s linear infinite;stroke:var(--color-spinner, var(--primary));transition:stroke-dasharray .6s linear .4s;width:var(--w, 48px)}.otto-loader--simple.light[_ngcontent-%COMP%], .otto-loader--validate.light[_ngcontent-%COMP%], .otto-loader--logo.light[_ngcontent-%COMP%]{--color-spinner: #fff;--color-bg: #fff;--opacity-bg: .4}.otto-loader--simple.xs[_ngcontent-%COMP%], .otto-loader--validate.xs[_ngcontent-%COMP%], .otto-loader--logo.xs[_ngcontent-%COMP%]{--w: 16px}.otto-loader--simple.sm[_ngcontent-%COMP%], .otto-loader--validate.sm[_ngcontent-%COMP%], .otto-loader--logo.sm[_ngcontent-%COMP%]{--w: 18px}.otto-loader--simple.md[_ngcontent-%COMP%], .otto-loader--validate.md[_ngcontent-%COMP%], .otto-loader--logo.md[_ngcontent-%COMP%]{--w: 24px}.otto-loader--simple.lg[_ngcontent-%COMP%], .otto-loader--validate.lg[_ngcontent-%COMP%], .otto-loader--logo.lg[_ngcontent-%COMP%]{--w: 32px}.otto-loader--simple.xl[_ngcontent-%COMP%], .otto-loader--validate.xl[_ngcontent-%COMP%], .otto-loader--logo.xl[_ngcontent-%COMP%]{--w: 48px}.otto-loader--simple[_ngcontent-%COMP%], .otto-loader--validate[_ngcontent-%COMP%]{--dashoffset: 119;--dasharray: 30 89;--stroke-width: 7px}.otto-loader--validate[_ngcontent-%COMP%]   .spinner-bg[_ngcontent-%COMP%], .otto-loader--validate[_ngcontent-%COMP%]   .spinner[_ngcontent-%COMP%]{transition:stroke-dasharray .6s linear .4s,opacity .3s linear 0s}.otto-loader--validate[_ngcontent-%COMP%]   .spinner[_ngcontent-%COMP%]{opacity:var(--opacity, 1)}.otto-loader--validate[_ngcontent-%COMP%]   .check[_ngcontent-%COMP%]{stroke:var(--color-spinner, var(--primary));stroke-linecap:round;stroke-linejoin:round;stroke-dashoffset:41;stroke-dasharray:41 160 120 40;transition:stroke-dasharray .3s ease 0s,stroke-dashoffset .3s ease 0s}.otto-loader--validate.done[_ngcontent-%COMP%]{--dasharray: 0 119;--opacity-bg: 0;--opacity: 0}.otto-loader--validate.done[_ngcontent-%COMP%]   .spinner-bg[_ngcontent-%COMP%], .otto-loader--validate.done[_ngcontent-%COMP%]   .spinner[_ngcontent-%COMP%], .otto-loader--validate.done[_ngcontent-%COMP%]   .shadow[_ngcontent-%COMP%]{transition:stroke-dasharray .3s linear 0s,opacity .3s linear .3s}.otto-loader--validate.done[_ngcontent-%COMP%]   .check[_ngcontent-%COMP%]{stroke-dashoffset:160;stroke-dasharray:0 160 36 124;transition:stroke-dasharray .6s ease .3s,stroke-dashoffset .6s ease .3s}@keyframes _ngcontent-%COMP%_otto-loader{to{stroke-dashoffset:0}}"]})}return q})()},34489:(st,Q,g)=>{"use strict";g.d(Q,{M:()=>a});
3var a=function(h){return h.Simple="simple",h.Logo="logo",h.Validate="validate",h}(a||{})},23818:(st,Q,g)=>{"use strict";g.d(Q,{o:()=>Re.o,zf:()=>se,e5:()=>_,g7:()=>le,Bg:()=>B,rI:()=>_e});var a=g(58527),h=g(45768),H=g(19823),z=g(61177),P=g(20629),C=g(77392);let B=(()=>{class Le{result;modal=new a.bkB;show(xe,Te){return this.modal.emit({component:xe,options:{...Te,data:Te?.data??{},strictClosingPolicy:Te?.strictClosingPolicy??!1,stickToBottomOnMobile:Te?.stickToBottomOnMobile??!1,enableOuterPageScroll:Te?.enableOuterPageScroll??!1,resizable:Te?.resizable??!1}}),this.result=new C.B,this.result.asObservable()}dismiss(){this.modal.emit(null),this.result.complete()}close(xe){this.modal.emit(null),this.result.next(xe)}static \u0275fac=function(Te){return new(Te||Le)};static \u0275prov=a.jDH({token:Le,factory:Le.\u0275fac,providedIn:"root"})}return Le})();const _=new a.nKC("ModalData");var A=function(Le,Ie){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(Le,Ie)};const X=["modalBody"],R=["ottoModal"],ne=["dialog"];class se{modalBody=a.ebz.required("modalBody",{read:a.c1b});ottoModal=a.ebz.required("ottoModal");modalDialog=a.ebz.required("dialog");show=!1;animate=!1;animationEnded=new C.B;pendingModalConfiguration;modalSize;modalOverflow;stickToBottomOnMobile;strictClosingPolicy;enableOuterPageScroll;resizable;modalService=(0,a.WQX)(B);bodyScrollLockService=(0,a.WQX)(z.a7);injector=(0,a.WQX)(a.zZn);renderer=(0,a.WQX)(a.sFG);destroyRef=(0,a.WQX)(a.abz);ngOnInit(){this.modalService.modal.pipe((0,h.pQ)(this.destroyRef)).subscribe(this.onModalEvent.bind(this)),this.animationEnded.pipe((0,h.pQ)(this.destroyRef)).subscribe(this.showPendingModalIfExists.bind(this))}ngAfterViewInit(){this.setModalHeight()}onModalEvent(Ie){if(!Ie)return void this.closeModal();if(0!==this.modalBody().length)return void(this.pendingModalConfiguration=Ie);const{component:xe,options:Te}=Ie;this.modalSize=Te.size,this.strictClosingPolicy=Te.strictClosingPolicy,this.modalOverflow=Te.overflow,this.stickToBottomOnMobile=Te.stickToBottomOnMobile,this.enableOuterPageScroll=Te.enableOuterPageScroll,this.resizable=Te.resizable||!1,this.openModal(xe,Te.data,Te.environmentInjector)}onEsc(Ie){"Escape"!==Ie||this.strictClosingPolicy||this.closeModal()}onClick(Ie){this.isInsideModal(Ie)||this.strictClosingPolicy||this.closeModal()}onResize(){this.setModalHeight()}onExitAnimationDone(Ie){this.isExitEvent(Ie)&&(this.modalBody().clear(),this.show=!1,this.animationEnded.next())}ngOnDestroy(){this.animationEnded.complete()}openModal(Ie,xe,Te){const Ne=a.zZn.create({providers:[{provide:_,useValue:xe}],parent:this.injector});this.modalBody().createComponent(Ie,{injector:Ne,environmentInjector:Te}),this.show=!0,this.animate=!0,this.enableOuterPageScroll||this.bodyScrollLockService.lock(),this.modalDialog().nativeElement&&this.modalDialog().nativeElement.showModal()}showPendingModalIfExists(){if(this.pendingModalConfiguration){const Ie=this.pendingModalConfiguration;this.pendingModalConfiguration=null,this.onModalEvent(Ie)}}closeModal(){this.show&&(this.animate=!1,this.enableOuterPageScroll||this.bodyScrollLockService.unlock(),this.modalDialog().nativeElement&&this.modalDialog().nativeElement.close())}isInsideModal(Ie){return!Ie.contains(this.modalBody().element.nativeElement)}isExitEvent(Ie){return"out"===Ie.toState}setModalHeight(){if(!this.ottoModal())return;const Ie=.01*window.innerHeight;this.renderer.setProperty(this.ottoModal().nativeElement,"style",`--vh: ${Ie}px`)}static \u0275fac=function(xe){return new(xe||se)};static \u0275cmp=a.VBU({type:se,selectors:[["frontend-modal"]],viewQuery:function(xe,Te){1&xe&&(a.wEZ(Te.modalBody,X,5,a.c1b),a.wEZ(Te.ottoModal,R,5),a.wEZ(Te.modalDialog,ne,5)),2&xe&&a.NyB(3)},hostBindings:function(xe,Te){1&xe&&a.bIt("keyup",function(he){return Te.onEsc(he.key)},!1,a.EBC)("click",function(he){return Te.onClick(he.target)})("resize",function(){return Te.onResize()},!1,a.tSv)},standalone:!0,features:[a.aNF],decls:7,vars:26,consts:[["dialog",""],["ottoModal",""],["modalBody",""],[1,"otto-modal-backdrop"],["id","modal-wrapper","closedby","none",1,"otto-modal-wrapper","modal
3-dialog"],[1,"otto-modal"]],template:function(xe,Te){if(1&xe){const Ne=a.RV6();a.nrm(0,"div",3),a.j41(1,"dialog",4,0),a.bIt("@slideAndFade.done",function(Me){return a.eBV(Ne),a.Njj(Te.onExitAnimationDone(Me))}),a.j41(3,"div",5,1),a.eu8(5,null,2),a.k0s()()}2&xe&&(a.AVh("hidden",!Te.show),a.Y8G("@fade",Te.animate?"in":"out"),a.R7$(),a.AVh("hidden",!Te.show)("otto-modal-wrapper-stick-to-bottom",Te.stickToBottomOnMobile)("resizable",Te.resizable),a.Y8G("@slideAndFade",Te.animate?"in":"out"),a.R7$(2),a.AVh("otto-modal-size-360","360"===Te.modalSize)("otto-modal-size-480","480"===Te.modalSize)("otto-modal-size-sm","sm"===Te.modalSize)("otto-modal-size-lg","lg"===Te.modalSize)("otto-modal-size-xl","xl"===Te.modalSize)("otto-modal-x-auto","x-auto"===Te.modalOverflow)("otto-modal-y-auto","y-auto"===Te.modalOverflow)("otto-modal-overflow-visible","visible"===Te.modalOverflow))},styles:["[_ngcontent-%COMP%]:root, [_nghost-%COMP%]{--business-primary: #2c6fd1;--business-secondary: #21bbfe;--first-primary: #352f64;--first-secondary: #415197;--economy-primary: #8063e1;--economy-secondary: #bd7be8;--premium-economy-primary: #3f58e3;--premium-economy-secondary: #7f94fc;--exclusive-flex-primary: #052d5e;--exclusive-flex-secondary: #07428b;--exclusive-garant-primary: #0c4a9a;--exclusive-garant-secondary: #005ea8;--expats-primary: #40b2c0;--expats-secondary: #51dbc0;--study-free-primary: #052d5e;--study-free-secondary: #07428b;--study-protect-primary: #0c4a9a;--study-protect-secondary: #005ea8;--freemium-primary: #667093;--freemium-secondary: #999fb7;--clinic-zweibett-primary: #3db88d;--clinic-zweibett-secondary: #b7f5ab;--clinic-einbett-primary: #207f7a;--clinic-einbett-secondary: #44b898;--dental-70-primary: #3abfd5;--dental-70-secondary: #a5e5dd;--dental-85-primary: #677eeb;--dental-85-secondary: #b5bef0;--primary: #0077ff;--primary-contrast: #0070f0;--primary-darker: #006be6;--primary-contrast-darker: #0065d8;--primary-light: #99c9ff;--primary-pale: #f2f8ff;--primary-110: #0066db;--primary-80: #3392ff;--primary-contrast-80: #338df3;--primary-60: #66adff;--primary-contrast-60: #66a9f6;--primary-40: #99c9ff;--primary-20: #cce4ff;--primary-10: #e6f1ff;--primary-05: #f2f8ff;--primary-02: #fafcff;--black: #000000;--white: #ffffff;--overlay-light: rgba(0, 16, 75, .4);--overlay-dark: rgba(0, 0, 0, .4);--sec-light-100: #00104b;--sec-light-90: #1a285d;--sec-light-80: #33406f;--sec-light-60: #667093;--sec-light-40: #999fb7;--sec-light-20: #cccfdb;--sec-light-10: #e6e7ed;--sec-light-05: #f2f3f6;--sec-light-02: #fafafb;--dark: #00104b;--dark-80: #33406f;--dark-60: #667093;--dark-40: #999fb7;--dark-20: #cccfdb;--dark-10: #e6e7ed;--dark-05: #f2f3f6;--dark-02: #fafafb;--sec-dark-00: #181a20;--sec-dark-80: #e5e6eb;--sec-dark-60: #aab0c0;--sec-dark-40: #717993;--sec-dark-20: #44495a;--sec-dark-10: #2e323d;--sec-dark-05: #23262f;--sec-dark-02: #1c1f26;--night: #181a20;--night-98: #1c1f26;--night-95: #23262f;--night-90: #2e323d;--night-80: #44495a;--night-60: #717993;--night-40: #aab0c0;--night-20: #e5e6eb;--black-pure: #000000;--white-pure: #ffffff;--overlay: rgba(0, 16, 75, .4);--sand: #ffedd3;--sand-80: #fff1dc;--sand-60: #fff4e5;--sand-40: #fff8ed;--sand-20: #fffbf6;--cyan: #20c2e0;--cyan-80: #4dcee6;--cyan-60: #79daec;--cyan-40: #a6e7f3;--cyan-20: #d2f3f9;--green: #0dbd83;--green-contrast: #09865d;--success: #0dbd83;--success-contrast: #09865d;--success-darker: #0caa76;--success-contrast-darker: #087954;--success-bright: #3dca9c;--success-light: #ecfaf5;--success-shadow: #cff2e6;--red: #ff5252;--red-contrast: #eb0000;--error: #ff5252;--error-contrast: #eb0000;--danger: #ff5252;--danger-contrast: #eb0000;--danger-darker: #e64a4a;--danger-contrast-darker: #d40000;--danger-bright: #ff7575;--danger-light: #fff1f1;--danger-shadow: #ffdcdc;--purple: #7263d0;--info: #7263d0;--info-darker: #6759bb;--info-bright: #8e82d9;--info-light: #f4f3fb;--info-shadow: #e3e0f6;--orange: #ffa600;--warning: #ffa600;--warning-darker: #e69500;--warning-bright: #ffb833;--warning-light: #fff8eb;--warning-shadow: #ffedcc;--pink: #f65c96;--pink-contrast: #e80d5f;--pink-darker: #dd5387;--pink-contrast-darker: #d10c56;--pink-bright: #f87dab;--pink-light: #fef2f7;--pink-shadow: #fddeea;--yellow: #fecf02;--yellow-contrast: #9f661e;
3--payback: #0046aa;--healthx: #151b36;--satisfaction-strong: #a38247;--satisfaction-shadow: #ede4d3;--expats-shadow: #b3ede5;--pastel-sky: #cce4ff;--pastel-rose: #ffdcdc;--pastel-mint: #cff2e6;--pastel-lemon: #fff5cc;--pastel-purple: #e2dffb;--pastel-sand: #ebe1d3;--primary-rgb: 0, 119, 255;--cyan-rgb: 32, 194, 224;--green-rgb: 13, 189, 131;--red-rgb: 255, 82, 82;--orange-rgb: 255, 166, 0;--dark-rgb: 0, 16, 75;--dark-10-rgb: 230, 231, 237;--gray-dark-rgb: 51, 64, 111;--gray-lighter-rgb: 204, 207, 219;--comprehensive: #0077ff;--comprehensive-dark: #006be6;--comprehensive-darker: #005fcc;--comprehensive-darkest: #004799;--comprehensive-light: #b3d6ff;--comprehensive-pale: #e6f1ff;--first: #404a8d;--first-dark: #3a437f;--first-darker: #333b71;--first-darkest: #262c55;--first-light: #c6c9dd;--first-pale: #ecedf4;--business: #009cfe;--business-dark: #008ce5;--business-darker: #007dcb;--business-darkest: #005e98;--business-light: #b3e1ff;--business-pale: #e6f5ff;--economy: #905aca;--economy-dark: #8251b6;--economy-darker: #7348a2;--economy-darkest: #563679;--economy-light: #deceef;--economy-pale: #f4effa;--premium-economy: #6e7fed;--premium-economy-dark: #6372d5;--premium-economy-darker: #5866be;--premium-economy-darkest: #424c8e;--premium-economy-light: #d4d9fa;--premium-economy-pale: #f1f2fd;--civil: #8b50ff;--civil-dark: #7d48e6;--civil-darker: #6f40cc;--civil-darkest: #533099;--civil-light: #dccbff;--civil-pale: #f3eeff;--exclusive: #063773;--exclusive-dark: #053268;--exclusive-darker: #052c5c;--exclusive-darkest: #042145;--exclusive-light: #b4c3d5;--exclusive-pale: #e6ebf1;--expats: #00c2a9;--expats-dark: #00af98;--expats-darker: #009b87;--expats-darkest: #007465;--expats-light: #b3ede5;--expats-pale: #e6f9f6;--dental: #00bcdc;--dental-dark: #00a9c6;--dental-darker: #0096b0;--dental-darkest: #007184;--dental-light: #b3ebf5;--dental-pale: #e6f8fc;--company: #e09c1f;--company-dark: #ca8c1c;--company-darker: #b37d19;--company-darkest: #865e13;--company-light: #f6e1bc;--company-pale: #fcf5e9;--dental-70: #5eccd7;--dental-70-dark: #55b8c2;--dental-70-darker: #4ba3ac;--dental-70-darkest: #387a81;--dental-70-light: #cff0f3;--dental-70-pale: #effafb;--dental-85: #677eeb;--dental-85-dark: #5d71d4;--dental-85-darker: #5265bc;--dental-85-darkest: #3e4c8d;--dental-85-light: #d1d8f9;--dental-85-pale: #f0f2fd;--clinic: #3db88d;--clinic-dark: #37a67f;--clinic-darker: #319371;--clinic-darkest: #256e55;--clinic-light: #c5eadd;--clinic-pale: #ecf8f4;--zweibett: #55c291;--zweibett-dark: #4daf83;--zweibett-darker: #449b74;--zweibett-darkest: #337457;--zweibett-light: #ccedde;--zweibett-pale: #eef9f4;--einbett: #319884;--einbett-dark: #2c8977;--einbett-darker: #277a6a;--einbett-darkest: #1d5b4f;--einbett-light: #c1e0da;--einbett-pale: #eaf5f3;--satisfaction: #c2a46d;--satisfaction-dark: #af9462;--satisfaction-darker: #9b8357;--satisfaction-darkest: #746241;--satisfaction-light: #ede4d3;--satisfaction-pale: #f9f6f0;--study-free: #052d5e;--study-free-dark: #052955;--study-free-darker: #04244b;--study-free-darkest: #031b38;--study-free-light: #b4c0cf;--study-free-pale: #e6eaef;--study-protect: #005ea8;--study-protect-dark: #005597;--study-protect-darker: #004b86;--study-protect-darkest: #003865;--study-protect-light: #b3cfe5;--study-protect-pale: #e6eff6;--option: #5f50ff;--option-dark: #5648e6;--option-darker: #4c40cc;--option-darkest: #393099;--option-light: #cfcbff;--option-pale: #efeeff;--text-gray: #33406f;--text-gray-darker: #293359;--text-blue: #1e429f;--text-blue-darker: #18357f;--text-purple: #5521b5;--text-purple-darker: #441a91;--text-pink: #a745a3;--text-pink-darker: #863782;--text-pink-contrast: #e80d5f;--text-pink-contrast-darker: #ba0a4c;--text-green: #04543f;--text-green-darker: #034332;--text-red: #9a1c1c;--text-red-darker: #7b1616;--text-orange: #8a2c0d;--text-orange-darker: #6e230a;--text-yellow: #a3691f;--text-yellow-darker: #825419;--text-yellow-contrast: #9f661e;--text-yellow-contrast-darker: #7f5218;--text-background-gray: #f2f3f6;--text-background-gray-darker: #c2c2c5;--text-background-blue: #e1effe;--text-background-blue-darker: #b4bfcb;--text-background-purple: #edebfe;--text-background-purple-darker: #bebccb;--text-background-pink: #fee6fd;--text-background-pink-darker: #cbb8ca;--text-background-green: #def7ec;--text-background-green-darker: #b2c6bd;--text-background-red: #fde8e7;--text-background-red-darker: #cabab9;--text-background-orange: #feecdc;--text-background-orange-darker: #cbbdb0;--text-background-yellow: #fffaca;--text-background-yellow-darker: #ccc8a2;--text: var(--sec-light-60);--text-light: var(--sec-light-40);--text-lighter: var(--sec-light-20);--text-heading: var(--sec-light-100);--line: var(--sec-light-10);--border-light: var(--sec-light-10);--border: var(--sec-light-20);--border-dark: var(--sec-light-40);--border-primary: var(--primary);--border-primary-dark: var(--primary-darker);--border-error: var(--error);--border-radius-xs: 4px;--border-radius-sm: 6px;--border-radius-md: 8px;--border-radius-lg: 12px;--border-radius-xl: 16px;--disabled: var(--sec-light-02);--shadow: rgba(0, 16, 75, .15);--shadow-dark: rgba(0, 16, 75, .2);
3--box-shadow-xs: 0 1px 2px var(--shadow-dark);--box-shadow-sm: 0 2px 4px var(--shadow-dark);--box-shadow-md: 0 4px 12px var(--shadow);--box-shadow-lg: 0 8px 24px var(--shadow);--transition: all .2s ease-in-out;--focus-shadow-primary: 0 0 0 4px var(--primary-20);--focus-shadow-darker: 0 0 0 4px var(--sec-light-40);--focus-shadow-dark: 0 0 0 4px var(--sec-light-20);--focus-shadow-gray: 0 0 0 4px var(--sec-light-10);--focus-shadow-danger: 0 0 0 4px var(--danger-shadow);--focus-shadow-success: 0 0 0 4px var(--success-shadow);--focus-shadow-warning: 0 0 0 4px var(--warning-shadow);--focus-shadow-info: 0 0 0 4px var(--info-shadow);--focus-shadow-pink: 0 0 0 4px var(--pink-shadow);--focus-shadow-gold: 0 0 0 4px var(--satisfaction-shadow);--focus-shadow-expats: 0 0 0 4px var(--expats-shadow);--focus-shadow-text-primary: drop-shadow(0px 1px 3px rgba(0, 119, 255, .5));--focus-shadow-text-pink: drop-shadow(0px 1px 3px rgba(246, 92, 150, .5))}[data-theme=contrast][_ngcontent-%COMP%]   *[_ngcontent-%COMP%]{--primary: var(--primary-contrast);--primary-darker: var(--primary-contrast-darker);--success: var(--success-contrast);--success-darker: var(--success-contrast-darker);--danger: var(--danger-contrast);--danger-darker: var(--danger-contrast-darker);--pink: var(--pink-contrast);--pink-darker: var(--pink-contrast-darker);--satisfaction: var(--satisfaction-pale);--satisfaction-strong: var(--satisfaction-darkest);--yellow: var(--yellow-contrast)}.otto-modal-backdrop[_ngcontent-%COMP%]{position:fixed;z-index:1050;inset:0;background-color:var(--overlay-light)}.modal-dialog[_ngcontent-%COMP%]{all:unset;position:static;display:block;overflow:visible;width:auto;height:auto;padding:0;border:none;margin:0;background:none;color:inherit;font:inherit}.otto-modal[_ngcontent-%COMP%]{position:relative;overflow:auto;width:100%;max-width:600px;max-height:calc(100vh - 32px);max-height:calc(var(--vh, 1vh) * 100 - 32px);margin:0 16px;background-color:var(--white);border-radius:var(--border-radius-sm)}.otto-modal[_ngcontent-%COMP%]:has(.document-upload-modal){overflow:visible}.otto-modal-overflow-y-auto[_ngcontent-%COMP%]{overflow-y:auto}.otto-modal-overflow-x-auto[_ngcontent-%COMP%]{overflow-x:auto}.otto-modal-overflow-visible[_ngcontent-%COMP%]{overflow:visible}.otto-modal-size-sm[_ngcontent-%COMP%]{max-width:300px}.otto-modal-size-lg[_ngcontent-%COMP%]{max-width:800px}.otto-modal-size-xl[_ngcontent-%COMP%]{max-width:1140px}.otto-modal-size-360[_ngcontent-%COMP%]{max-width:360px}.otto-modal-size-480[_ngcontent-%COMP%]{max-width:480px}.otto-modal-wrapper[_ngcontent-%COMP%]{position:fixed;z-index:1051;inset:0;display:flex;align-items:center;justify-content:center}.otto-modal-wrapper-stick-to-bottom[_ngcontent-%COMP%]{align-items:flex-end}@media (min-width: 576px){.otto-modal-wrapper-stick-to-bottom[_ngcontent-%COMP%]{align-items:center}}.otto-modal-wrapper-stick-to-bottom[_ngcontent-%COMP%]   .otto-modal[_ngcontent-%COMP%]{width:100%;max-width:100%;margin:0;border-bottom-left-radius:0;border-bottom-right-radius:0}@media (min-width: 576px){.otto-modal-wrapper-stick-to-bottom[_ngcontent-%COMP%]   .otto-modal[_ngcontent-%COMP%]{width:600px;max-width:calc(100vw - 32px);border-radius:var(--border-radius-sm)}}.otto-modal-wrapper.resizable[_ngcontent-%COMP%]   .otto-modal[_ngcontent-%COMP%]{width:-moz-fit-content;width:fit-content;max-width:100vw;height:-moz-fit-content;height:fit-content;max-height:100vh;border:1px solid var(--border-light)}.hidden[_ngcontent-%COMP%]{opacity:0;pointer-events:none;visibility:hidden}"],data:{animation:[P.zW,P.Lf]}})}!function(Le,Ie,xe,Te){var Me,Ne=arguments.length,he=Ne<3?Ie:null===Te?Te=Object.getOwnPropertyDescriptor(Ie,xe):Te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)he=Reflect.decorate(Le,Ie,xe,Te);else for(var ct=Le.length-1;ct>=0;ct--)(Me=Le[ct])&&(he=(Ne<3?Me(he):Ne>3?Me(Ie,xe,he):Me(Ie,xe))||he);Ne>3&&he&&Object.defineProperty(Ie,xe,he)}([(0,H.S)(100),A("design:type",Function),A("design:paramtypes",[]),A("design:returntype",void 0)],se.prototype,"onResize",null);var _e=function(Le){return Le.Sm="sm",Le.Lg="lg",Le.Xl="xl",Le.Size360="360",Le.Size480="480",Le}(_e||{});let le=(()=>{class Le{modalService=(0,a.WQX)(B);dismiss(){this.modalService.dismiss()}close(xe){this.modalService.close(xe)}static \u0275fac=function(Te){return new(Te||Le)};static \u0275prov=a.jDH({token:Le,factory:Le.\u0275fac})}return Le})();var Re=g(23583)},23583:(st,Q,g)=>{"use strict";g.d(Q,{o:()=>Ie});var a=g(58527),h=g(46140),H=g(24153);g(51376);let P=(()=>{class xe{elementRef=(0,a.WQX)(a.aKT);renderer=(0,a.WQX)(a.sFG);isDragging=!1;startX=0;startY=0;offsetX=0;offsetY=0;constructor(){this.renderer.addClass(this.elementRef.nativeElement,"draggable")}onMouseDown(Ne){this.isDragging=!0,document.getElementById("modal-wrapper")?.getBoundingClientRect()&&
3(this.renderer.removeClass(this.elementRef.nativeElement,"draggable"),this.renderer.addClass(this.elementRef.nativeElement,"dragging"),this.startX=Ne.clientX-this.offsetX,this.startY=Ne.clientY-this.offsetY,document.getElementById("modal-wrapper")?.addEventListener("mousemove",this.onMouseMove),document.getElementById("modal-wrapper")?.addEventListener("mouseup",this.onMouseUp),Ne.preventDefault())}onMouseMove=Ne=>{if(!this.isDragging)return;this.offsetX=Ne.clientX-this.startX,this.offsetY=Ne.clientY-this.startY;const he=document.getElementById("modal-wrapper");he&&(he.style.transform=`translate(${this.offsetX}px, ${this.offsetY}px)`)};onMouseUp=()=>{this.isDragging=!1,this.renderer.removeClass(this.elementRef.nativeElement,"dragging"),this.renderer.addClass(this.elementRef.nativeElement,"draggable"),document.getElementById("modal-wrapper")?.removeEventListener("mousemove",this.onMouseMove),document.getElementById("modal-wrapper")?.removeEventListener("mouseup",this.onMouseUp)};static \u0275fac=function(he){return new(he||xe)};static \u0275dir=a.FsC({type:xe,selectors:[["","draggable",""]],hostBindings:function(he,Me){1&he&&a.bIt("mousedown",function(yt){return Me.onMouseDown(yt)})},standalone:!0})}return xe})();var C=g(63752),B=g(73466);const _=[[["","modalBody",""]],[["","modalFooter",""]]],q=["[modalBody]","[modalFooter]"];function A(xe,Te){if(1&xe&&(a.j41(0,"h3",9),a.EFF(1),a.k0s()),2&xe){const Ne=a.XpG(2);a.AVh("default-modal-heading-centered",Ne.titleCentered),a.R7$(),a.SpI(" ",Ne.title," ")}}function X(xe,Te){if(1&xe){const Ne=a.RV6();a.j41(0,"button",10),a.bIt("click",function(){a.eBV(Ne);const Me=a.XpG(2);return a.Njj(Me.onDismissClick.emit())}),a.nrm(1,"frontend-image",11),a.k0s()}}function R(xe,Te){if(1&xe&&(a.j41(0,"div",1),a.DNE(1,A,2,3,"h3",7)(2,X,2,0,"button",8),a.k0s()),2&xe){const Ne=a.XpG();a.BMQ("data-cy",Ne.headerDataCy),a.R7$(),a.vxM(Ne.title?1:-1),a.R7$(),a.vxM(Ne.hideCrossIcon?-1:2)}}function ne(xe,Te){if(1&xe&&(a.j41(0,"h3",13),a.EFF(1),a.k0s()),2&xe){const Ne=a.XpG(2);a.AVh("default-modal-heading-centered",Ne.titleCentered),a.R7$(),a.SpI(" ",Ne.title," ")}}function se(xe,Te){if(1&xe){const Ne=a.RV6();a.j41(0,"button",10),a.bIt("click",function(){a.eBV(Ne);const Me=a.XpG(2);return a.Njj(Me.onDismissClick.emit())}),a.nrm(1,"frontend-image",11),a.k0s()}}function _e(xe,Te){if(1&xe&&(a.j41(0,"div",2),a.DNE(1,ne,2,3,"h3",12)(2,se,2,0,"button",8),a.k0s()),2&xe){const Ne=a.XpG();a.BMQ("data-cy",Ne.headerDataCy),a.R7$(),a.vxM(Ne.title?1:-1),a.R7$(),a.vxM(Ne.hideCrossIcon?-1:2)}}function le(xe,Te){if(1&xe){const Ne=a.RV6();a.j41(0,"frontend-button",17),a.bIt("onClick",function(){a.eBV(Ne);const Me=a.XpG(2);return a.Njj(Me.handleCancelClick())}),a.EFF(1),a.k0s()}if(2&xe){const Ne=a.XpG(2);a.Y8G("outlined",!0)("color",Ne.buttonColor.Grey)("size",Ne.buttonSize)("dataCy",(null==Ne.dismissButtonSettings?null:Ne.dismissButtonSettings.dataCy)||"modal-cancel-button")("dataLabel",null==Ne.dismissButtonSettings?null:Ne.dismissButtonSettings.dataLabel)("tabIndex",null==Ne.dismissButtonSettings?null:Ne.dismissButtonSettings.tabIndex)("wideOnMobile",!0),a.R7$(),a.SpI(" ",Ne.dismissButtonText," ")}}function Re(xe,Te){if(1&xe){const Ne=a.RV6();a.j41(0,"frontend-button",18),a.bIt("onClick",function(){a.eBV(Ne);const Me=a.XpG(2);return a.Njj(Me.onSubmitClick.emit())}),a.EFF(1),a.k0s()}if(2&xe){const Ne=a.XpG(2);a.Y8G("disabled",Ne.submitDisabled)("loadingState",Ne.submitLoadingState)("dataCy",(null==Ne.submitButtonSettings?null:Ne.submitButtonSettings.dataCy)||"modal-confirm-button")("dataLabel",null==Ne.submitButtonSettings?null:Ne.submitButtonSettings.dataLabel)("tabIndex",null==Ne.submitButtonSettings?null:Ne.submitButtonSettings.tabIndex)("wideOnMobile",!0)("color",Ne.submitButtonColor)("size",Ne.buttonSize),a.R7$(),a.SpI(" ",Ne.submitButtonText," ")}}function Le(xe,Te){if(1&xe&&(a.j41(0,"div",14),a.DNE(1,le,2,8,"frontend-button",15)(2,Re,2,9,"frontend-button",16),a.k0s()),2&xe){const Ne=a.XpG();a.AVh("align-apart",Ne.footerAlignApart)("content-reversed",Ne.isFooterContentReversed),a.R7$(),a.vxM(Ne.dismissButtonText?1:-1),a.R7$(),a.vxM(Ne.submitButtonText?2:-1)}}let Ie=(()=>{class xe{title;titleCentered=!1;hideCrossIcon=!1;dataCy;headerDataCy;dismissButtonText;submitButtonText;
3dismissButtonSettings;submitButtonSettings;submitDisabled=!1;submitLoadingState=h.Gu.NotLoading;submitButtonColor;buttonSize;footerAlignApart=!1;draggable=!1;isFooterContentReversed=!1;onDismissClick=new a.bkB;onSubmitClick=new a.bkB;onExitClick=new a.bkB;buttonColor=h.mq;separateDismissAndExit=!1;handleCancelClick(){this.separateDismissAndExit?this.onExitClick.emit():this.onDismissClick.emit()}static \u0275fac=function(he){return new(he||xe)};static \u0275cmp=a.VBU({type:xe,selectors:[["frontend-default-modal"]],inputs:{title:"title",titleCentered:"titleCentered",hideCrossIcon:"hideCrossIcon",dataCy:"dataCy",headerDataCy:"headerDataCy",dismissButtonText:"dismissButtonText",submitButtonText:"submitButtonText",dismissButtonSettings:"dismissButtonSettings",submitButtonSettings:"submitButtonSettings",submitDisabled:"submitDisabled",submitLoadingState:"submitLoadingState",submitButtonColor:"submitButtonColor",buttonSize:"buttonSize",footerAlignApart:"footerAlignApart",draggable:"draggable",isFooterContentReversed:"isFooterContentReversed",separateDismissAndExit:"separateDismissAndExit"},outputs:{onDismissClick:"onDismissClick",onSubmitClick:"onSubmitClick",onExitClick:"onExitClick"},standalone:!0,features:[a.aNF],ngContentSelectors:q,decls:9,vars:3,consts:[["aria-labelledby","dialogTitle draggableDialogTitle"],["draggable","",1,"default-modal-header"],[1,"default-modal-header"],["data-cy","modal-content",1,"default-modal-content"],["data-cy","modal-body",1,"default-modal-body"],[1,"default-modal-footer"],[1,"default-modal-footer-buttons",3,"align-apart","content-reversed"],["id","draggableDialogTitle","data-cy","modal-header",1,"default-modal-heading",3,"default-modal-heading-centered"],["type","button","aria-label","Schlie\xdfen","data-cy","modal-close-icon-button",1,"close-modal-button"],["
3id","draggableDialogTitle","data-cy","modal-header",1,"default-modal-heading"],["type","button","aria-label","Schlie\xdfen","data-cy","modal-close-icon-button",1,"close-modal-button",3,"click"],["file","close-cross.svg"],["id","dialogTitle","data-cy","modal-header",1,"default-modal-heading",3,"default-modal-heading-centered"],["id","dialogTitle","data-cy","modal-header",1,"default-modal-heading"],[1,"default-modal-footer-buttons"],[1,"dismiss-button",3,"outlined","color","size","dataCy","dataLabel","tabIndex","wideOnMobile"],[1,"submit-button",3,"disabled","loadingState","dataCy","dataLabel","tabIndex","wideOnMobile","color","size"],[1,"dismiss-button",3,"onClick","outlined","color","size","dataCy","dataLabel","tabIndex","wideOnMobile"],[1,"submit-button",3,"onClick","disabled","loadingState","dataCy","dataLabel","tabIndex","wideOnMobile","color","size"]],template:function(he,Me){1&he&&(a.NAR(_),a.j41(0,"div",0),a.DNE(1,R,3,3,"div",1)(2,_e,3,3,"div",2),a.j41(3,"div",3)(4,"div",4),a.SdG(5),a.k0s(),a.j41(6,"div",5),a.SdG(7,1),a.DNE(8,Le,3,6,"div",6),a.k0s()()()),2&he&&(a.BMQ("data-cy",Me.dataCy),a.R7$(),a.vxM(Me.draggable?1:2),a.R7$(7),a.vxM(Me.submitButtonText||Me.dismissButtonText?8:-1))},dependencies:[h.tm,C.Q,H.U,B.h,P],styles:['[_ngcontent-%COMP%]:root, [_nghost-%COMP%]{--business-primary: #2c6fd1;--business-secondary: #21bbfe;--first-primary: #352f64;--first-secondary: #415197;--economy-primary: #8063e1;--economy-secondary: #bd7be8;--premium-economy-primary: #3f58e3;--premium-economy-secondary: #7f94fc;--exclusive-flex-primary: #052d5e;--exclusive-flex-secondary: #07428b;--exclusive-garant-primary: #0c4a9a;--exclusive-garant-secondary: #005ea8;--expats-primary: #40b2c0;--expats-secondary: #51dbc0;--study-free-primary: #052d5e;--study-free-secondary: #07428b;--study-protect-primary: #0c4a9a;--study-protect-secondary: #005ea8;--freemium-primary: #667093;--freemium-secondary: #999fb7;--clinic-zweibett-primary: #3db88d;--clinic-zweibett-secondary: #b7f5ab;--clinic-einbett-primary: #207f7a;--clinic-einbett-secondary: #44b898;--dental-70-primary: #3abfd5;--dental-70-secondary: #a5e5dd;--dental-85-primary: #677eeb;--dental-85-secondary: #b5bef0;--primary: #0077ff;--primary-contrast: #0070f0;--primary-darker: #006be6;--primary-contrast-darker: #0065d8;--primary-light: #99c9ff;--primary-pale: #f2f8ff;--primary-110: #0066db;--primary-80: #3392ff;--primary-contrast-80: #338df3;--primary-60: #66adff;--primary-contrast-60: #66a9f6;--primary-40: #99c9ff;--primary-20: #cce4ff;--primary-10: #e6f1ff;--primary-05: #f2f8ff;--primary-02: #fafcff;--black: #000000;--white: #ffffff;--overlay-light: rgba(0, 16, 75, .4);--overlay-dark: rgba(0, 0, 0, .4);--sec-light-100: #00104b;--sec-light-90: #1a285d;--sec-light-80: #33406f;--sec-light-60: #667093;--sec-light-40: #999fb7;--sec-light-20: #cccfdb;--sec-light-10: #e6e7ed;--sec-light-05: #f2f3f6;--sec-light-02: #fafafb;--dark: #00104b;--dark-80: #33406f;--dark-60: #667093;--dark-40: #999fb7;--dark-20: #cccfdb;--dark-10: #e6e7ed;--dark-05: #f2f3f6;--dark-02: #fafafb;--sec-dark-00: #181a20;--sec-dark-80: #e5e6eb;--sec-dark-60: #aab0c0;--sec-dark-40: #717993;--sec-dark-20: #44495a;--sec-dark-10: #2e323d;--sec-dark-05: #23262f;--sec-dark-02: #1c1f26;--night: #181a20;--night-98: #1c1f26;--night-95: #23262f;--night-90: #2e323d;--night-80: #44495a;--night-60: #717993;--night-40: #aab0c0;--night-20: #e5e6eb;--black-pure: #000000;--white-pure: #ffffff;--overlay: rgba(0, 16, 75, .4);--sand: #ffedd3;--sand-80: #fff1dc;--sand-60: #fff4e5;--sand-40: #fff8ed;--sand-20: #fffbf6;--cyan: #20c2e0;--cyan-80: #4dcee6;--cyan-60: #79daec;--cyan-40: #a6e7f3;--cyan-20: #d2f3f9;--green: #0dbd83;--green-contrast: #09865d;--success: #0dbd83;--success-contrast: #09865d;--success-darker: #0caa76;--success-contrast-darker: #087954;--success-bright: #3dca9c;--success-light: #ecfaf5;--success-shadow: #cff2e6;--red: #ff5252;--red-contrast: #eb0000;--error: #ff5252;--error-contrast: #eb0000;--danger: #ff5252;--danger-contrast: #eb0000;--danger-darker: #e64a4a;--danger-contrast-darker: #d40000;--danger-bright: #ff7575;--danger-light: #fff1f1;
3--danger-shadow: #ffdcdc;--purple: #7263d0;--info: #7263d0;--info-darker: #6759bb;--info-bright: #8e82d9;--info-light: #f4f3fb;--info-shadow: #e3e0f6;--orange: #ffa600;--warning: #ffa600;--warning-darker: #e69500;--warning-bright: #ffb833;--warning-light: #fff8eb;--warning-shadow: #ffedcc;--pink: #f65c96;--pink-contrast: #e80d5f;--pink-darker: #dd5387;--pink-contrast-darker: #d10c56;--pink-bright: #f87dab;--pink-light: #fef2f7;--pink-shadow: #fddeea;--yellow: #fecf02;--yellow-contrast: #9f661e;--payback: #0046aa;--healthx: #151b36;--satisfaction-strong: #a38247;--satisfaction-shadow: #ede4d3;--expats-shadow: #b3ede5;--pastel-sky: #cce4ff;--pastel-rose: #ffdcdc;--pastel-mint: #cff2e6;--pastel-lemon: #fff5cc;--pastel-purple: #e2dffb;--pastel-sand: #ebe1d3;--primary-rgb: 0, 119, 255;--cyan-rgb: 32, 194, 224;--green-rgb: 13, 189, 131;--red-rgb: 255, 82, 82;--orange-rgb: 255, 166, 0;--dark-rgb: 0, 16, 75;--dark-10-rgb: 230, 231, 237;--gray-dark-rgb: 51, 64, 111;--gray-lighter-rgb: 204, 207, 219;--comprehensive: #0077ff;--comprehensive-dark: #006be6;--comprehensive-darker: #005fcc;--comprehensive-darkest: #004799;--comprehensive-light: #b3d6ff;--comprehensive-pale: #e6f1ff;--first: #404a8d;--first-dark: #3a437f;--first-darker: #333b71;--first-darkest: #262c55;--first-light: #c6c9dd;--first-pale: #ecedf4;--business: #009cfe;--business-dark: #008ce5;--business-darker: #007dcb;--business-darkest: #005e98;--business-light: #b3e1ff;--business-pale: #e6f5ff;--economy: #905aca;--economy-dark: #8251b6;--economy-darker: #7348a2;--economy-darkest: #563679;--economy-light: #deceef;--economy-pale: #f4effa;--premium-economy: #6e7fed;--premium-economy-dark: #6372d5;--premium-economy-darker: #5866be;--premium-economy-darkest: #424c8e;--premium-economy-light: #d4d9fa;--premium-economy-pale: #f1f2fd;--civil: #8b50ff;--civil-dark: #7d48e6;--civil-darker: #6f40cc;--civil-darkest: #533099;--civil-light: #dccbff;--civil-pale: #f3eeff;--exclusive: #063773;--exclusive-dark: #053268;--exclusive-darker: #052c5c;--exclusive-darkest: #042145;--exclusive-light: #b4c3d5;--exclusive-pale: #e6ebf1;--expats: #00c2a9;--expats-dark: #00af98;--expats-darker: #009b87;--expats-darkest: #007465;--expats-light: #b3ede5;--expats-pale: #e6f9f6;--dental: #00bcdc;--dental-dark: #00a9c6;--dental-darker: #0096b0;--dental-darkest: #007184;--dental-light: #b3ebf5;--dental-pale: #e6f8fc;--company: #e09c1f;--company-dark: #ca8c1c;--company-darker: #b37d19;--company-darkest: #865e13;--company-light: #f6e1bc;--company-pale: #fcf5e9;--dental-70: #5eccd7;--dental-70-dark: #55b8c2;--dental-70-darker: #4ba3ac;--dental-70-darkest: #387a81;--dental-70-light: #cff0f3;--dental-70-pale: #effafb;--dental-85: #677eeb;--dental-85-dark: #5d71d4;--dental-85-darker: #5265bc;--dental-85-darkest: #3e4c8d;--dental-85-light: #d1d8f9;--dental-85-pale: #f0f2fd;--clinic: #3db88d;--clinic-dark: #37a67f;--clinic-darker: #319371;--clinic-darkest: #256e55;--clinic-light: #c5eadd;--clinic-pale: #ecf8f4;--zweibett: #55c291;--zweibett-dark: #4daf83;--zweibett-darker: #449b74;--zweibett-darkest: #337457;--zweibett-light: #ccedde;--zweibett-pale: #eef9f4;--einbett: #319884;--einbett-dark: #2c8977;--einbett-darker: #277a6a;--einbett-darkest: #1d5b4f;--einbett-light: #c1e0da;--einbett-pale: #eaf5f3;--satisfaction: #c2a46d;--satisfaction-dark: #af9462;--satisfaction-darker: #9b8357;--satisfaction-darkest: #746241;--satisfaction-light: #ede4d3;--satisfaction-pale: #f9f6f0;--study-free: #052d5e;--study-free-dark: #052955;--study-free-darker: #04244b;--study-free-darkest: #031b38;--study-free-light: #b4c0cf;--study-free-pale: #e6eaef;--study-protect: #005ea8;--study-protect-dark: #005597;--study-protect-darker: #004b86;--study-protect-darkest: #003865;--study-protect-light: #b3cfe5;--study-protect-pale: #e6eff6;--option: #5f50ff;--option-dark: #5648e6;--option-darker: #4c40cc;--option-darkest: #393099;--option-light: #cfcbff;--option-pale: #efeeff;--text-gray: #33406f;--text-gray-darker: #293359;--text-blue: #1e429f;--text-blue-darker: #18357f;--text-purple: #5521b5;--text-purple-darker: #441a91;--text-pink: #a745a3;--text-pink-darker: #863782;--text-pink-contrast: #e80d5f;--text-pink-contrast-darker: #ba0a4c;--text-green: #04543f;--text-green-darker: #034332;--text-red: #9a1c1c;--text-red-darker: #7b1616;--text-orange: #8a2c0d;--text-orange-darker: #6e230a;--text-yellow: #a3691f;--text-yellow-darker: #825419;--text-yellow-contrast: #9f661e;--text-yellow-contrast-darker: #7f5218;--text-background-gray: #f2f3f6;--text-background-gray-darker: #c2c2c5;--text-background-blue: #e1effe;--text-background-blue-darker: #b4bfcb;--text-background-purple: #edebfe;--text-background-purple-darker: #bebccb;--text-background-pink: #fee6fd;--text-background-pink-darker: #cbb8ca;--text-background-green: #def7ec;--text-background-green-darker: #b2c6bd;--text-background-red: #fde8e7;--text-background-red-darker: #cabab9;--text-background-orange: #feecdc;--text-background-orange-darker: #cbbdb0;--text-background-yellow: #fffaca;--text-background-yellow-darker: #ccc8a2;--text: var(--sec-light-60);--text-light: var(--sec-light-40);--text-lighter: var(--sec-light-20);--text-heading: var(--sec-light-100);--line: var(--sec-light-10);--border-light: var(--sec-light-10);--border: var(--sec-light-20);--border-dark: var(--sec-light-40);--border-primary: var(--primary);--border-primary-dark: var(--primary-darker);--border-error: var(--error);--border-radius-xs: 4px;--border-radius-sm: 6px;--border-radius-md: 8px;--border-radius-lg: 12px;--border-radius-xl: 16px;--disabled: var(--sec-light-02);--shadow: rgba(0, 16, 75, .15);--shadow-dark: rgba(0, 16, 75, .2);
3--box-shadow-xs: 0 1px 2px var(--shadow-dark);--box-shadow-sm: 0 2px 4px var(--shadow-dark);--box-shadow-md: 0 4px 12px var(--shadow);--box-shadow-lg: 0 8px 24px var(--shadow);--transition: all .2s ease-in-out;--focus-shadow-primary: 0 0 0 4px var(--primary-20);--focus-shadow-darker: 0 0 0 4px var(--sec-light-40);--focus-shadow-dark: 0 0 0 4px var(--sec-light-20);--focus-shadow-gray: 0 0 0 4px var(--sec-light-10);--focus-shadow-danger: 0 0 0 4px var(--danger-shadow);--focus-shadow-success: 0 0 0 4px var(--success-shadow);--focus-shadow-warning: 0 0 0 4px var(--warning-shadow);--focus-shadow-info: 0 0 0 4px var(--info-shadow);--focus-shadow-pink: 0 0 0 4px var(--pink-shadow);--focus-shadow-gold: 0 0 0 4px var(--satisfaction-shadow);--focus-shadow-expats: 0 0 0 4px var(--expats-shadow);--focus-shadow-text-primary: drop-shadow(0px 1px 3px rgba(0, 119, 255, .5));--focus-shadow-text-pink: drop-shadow(0px 1px 3px rgba(246, 92, 150, .5))}[data-theme=contrast][_ngcontent-%COMP%]   *[_ngcontent-%COMP%]{--primary: var(--primary-contrast);--primary-darker: var(--primary-contrast-darker);--success: var(--success-contrast);--success-darker: var(--success-contrast-darker);--danger: var(--danger-contrast);--danger-darker: var(--danger-contrast-darker);--pink: var(--pink-contrast);--pink-darker: var(--pink-contrast-darker);--satisfaction: var(--satisfaction-pale);--satisfaction-strong: var(--satisfaction-darkest);--yellow: var(--yellow-contrast)}.btn[_ngcontent-%COMP%]{--color: #fff;--background: var(--primary);--border-radius: var(--border-radius-sm);--focus-shadow: 0 0 0 4px rgba(0, 119, 255, .2);--active: var(--primary);display:inline-flex;justify-content:center;align-items:center;gap:4px;text-align:center;vertical-align:middle;touch-action:manipulation;position:relative;white-space:nowrap;border:none;padding:12px 24px;font-size:16px;line-height:24px;font-weight:700;border-radius:var(--border-radius);transition:color .2s ease-in-out,background .2s ease-in-out,opacity .2s ease-in-out,box-shadow .2s ease-in-out;
3box-shadow:var(--box-shadow-sm);transform:translateZ(0);background:var(--background);color:var(--color)}.btn.gold[_ngcontent-%COMP%]{--active: var(--satisfaction-strong)}.btn.green[_ngcontent-%COMP%], .btn.success[_ngcontent-%COMP%]{--active: var(--success)}.btn.expats[_ngcontent-%COMP%]{--active: var(--expats)}.btn.info[_ngcontent-%COMP%]{--active: var(--info)}.btn.warning[_ngcontent-%COMP%]{--active: var(--warning)}.btn.red[_ngcontent-%COMP%], .btn.danger[_ngcontent-%COMP%]{--active: var(--danger)}.btn.highlight[_ngcontent-%COMP%]{--active: var(--pink)}.btn[_ngcontent-%COMP%]:link, .btn[_ngcontent-%COMP%]:active, .btn[_ngcontent-%COMP%]:visited, .btn[_ngcontent-%COMP%]:focus{color:var(--color)}.btn[_ngcontent-%COMP%]:focus-visible{outline:3px solid var(--active);outline-offset:3px}.btn[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%], .btn[_ngcontent-%COMP%]   .svg[_ngcontent-%COMP%]{display:inline-block;width:1rem;height:1rem;vertical-align:top;position:relative;transform:translateZ(0)}.btn.comprehensive[_ngcontent-%COMP%]{--background: var(--comprehensive);--color: #fff}.btn.first[_ngcontent-%COMP%]{--background: var(--first);--color: #fff}.btn.business[_ngcontent-%COMP%]{--background: var(--business);--color: #fff}.btn.economy[_ngcontent-%COMP%]{--background: var(--economy);--color: #fff}.btn.premium-economy[_ngcontent-%COMP%]{--background: var(--premium-economy);--color: #fff}.btn.civil[_ngcontent-%COMP%]{--background: var(--civil);--color: #fff}.btn.exclusive[_ngcontent-%COMP%]{--background: var(--exclusive);--color: #fff}.btn.expats[_ngcontent-%COMP%]{--background: var(--expats);--color: #fff}.btn.dental[_ngcontent-%COMP%]{--background: var(--dental);--color: #fff}.btn.company[_ngcontent-%COMP%]{--background: var(--company);--color: #fff}.btn.dental-70[_ngcontent-%COMP%]{--background: var(--dental-70);--color: #fff}.btn.dental-85[_ngcontent-%COMP%]{--background: var(--dental-85);--color: #fff}.btn.clinic[_ngcontent-%COMP%]{--background: var(--clinic);--color: #fff}.btn.zweibett[_ngcontent-%COMP%]{--background: var(--zweibett);--color: #fff}.btn.einbett[_ngcontent-%COMP%]{--background: var(--einbett);--color: #fff}.btn.satisfaction[_ngcontent-%COMP%]{--background: var(--satisfaction);--color: #fff}.btn.study-free[_ngcontent-%COMP%]{--background: var(--study-free);--color: #fff}.btn.study-protect[_ngcontent-%COMP%]{--background: var(--study-protect);--color: #fff}.btn.option[_ngcontent-%COMP%]{--background: var(--option);--color: #fff}.btn.sm[_ngcontent-%COMP%]{--border-radius: var(--border-radius-xs);font-size:14px;padding:6px 16px}.btn.sm[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%], .btn.sm[_ngcontent-%COMP%]   .svg[_ngcontent-%COMP%]{width:.875rem;height:.875rem}.btn.lg[_ngcontent-%COMP%]{padding:16px 24px}.btn.xs[_ngcontent-%COMP%]{--border-radius: var(--border-radius-xs);font-size:14px;padding:4px 8px;line-height:19px}.btn.center[_ngcontent-%COMP%]{display:table;margin-left:auto;margin-right:auto}.btn.block[_ngcontent-%COMP%]{display:block;width:100%}.btn[_ngcontent-%COMP%]:hover:not(:disabled){--background: var(--primary-darker);color:var(--color)}.btn[_ngcontent-%COMP%]:active:not(:disabled){--background: var(--primary-darker);color:var(--color)}.btn.white[_ngcontent-%COMP%]{--background: #fff;--color: var(--primary)}.btn.white[_ngcontent-%COMP%]:hover:not(:disabled), .btn.white[_ngcontent-%COMP%]:active{--background: #fff;--color: var(--primary-darker)}.btn.white.outline[_ngcontent-%COMP%]{--color: #fff;--outline: #fff;--background: none}.btn.lightblue[_ngcontent-%COMP%]{--background: var(--primary-10);--color: var(--primary)}.btn.lightblue[_ngcontent-%COMP%]:hover:not(:disabled), .btn.lightblue[_ngcontent-%COMP%]:active{--background: var(--primary-20);--color: var(--primary-darker)}.btn.red[_ngcontent-%COMP%]{--background: var(--danger)}.btn.red[_ngcontent-%COMP%]:hover:not(:disabled), .btn.red[_ngcontent-%COMP%]:active{--background: var(--danger-darker)}.btn.green[_ngcontent-%COMP%]{--background: var(--success)}.btn.green[_ngcontent-%COMP%]:hover:not(:disabled), .btn.green[_ngcontent-%COMP%]:active{--background: var(--success-darker)}.btn.highlight[_ngcontent-%COMP%]{--background: var(--pink)}.btn.highlight[_ngcontent-%COMP%]:hover:not(:disabled), .btn.highlight[_ngcontent-%COMP%]:active{--background: var(--pink-darker)}.btn.gold[_ngcontent-%COMP%]{--background: var(--satisfaction-darker)}.btn.gold[_ngcontent-%COMP%]:hover:not(:disabled), .btn.gold[_ngcontent-%COMP%]:active{--background: var(--satisfaction-strong)}.btn.expats[_ngcontent-%COMP%]{--background: var(--expats)}.btn.expats[_ngcontent-%COMP%]:hover:not(:disabled), .btn.expats[_ngcontent-%COMP%]:active{--background: var(--expats-darker)}.btn.shine[_ngcontent-%COMP%]:not(.outline):not(.link):not(.white):not(:disabled){--shine-size: 250px;overflow:hidden}.btn.shine[_ngcontent-%COMP%]:not(.outline):not(.link):not(.white):not(:disabled):after{content:"";width:var(--shine-size);height:100%;position:absolute;top:0;transform:skew(-20deg);background-image:linear-gradient(to right,#fff0,#fff6,#fff0);animation:_ngcontent-%COMP%_btnShine 5s linear infinite}@keyframes _ngcontent-%COMP%_btnShine{0%,25%{left:calc(-1 * var(--shine-size))}45%,to{left:100%}}.btn.link[_ngcontent-%COMP%]{--background: none;--color: var(--primary);box-shadow:none}.btn.link[_ngcontent-%COMP%]:hover:not(:disabled), .btn.link[_ngcontent-%COMP%]:active:not(:disabled){--background: none;box-shadow:none}.btn.link[_ngcontent-%COMP%]:hover:not(:disabled):not(.loader), .btn.link[_ngcontent-%COMP%]:active:not(:disabled):not(.loader){color:var(--primary-darker)}.btn.link[_ngcontent-%COMP%]:focus-visible{filter:var(--focus-shadow-text-primary)}.btn.link.noPadding[_ngcontent-%COMP%]{padding:0}.btn.link[_ngcontent-%COMP%]:disabled{--color: var(--sec-light-20);--background: none;cursor:default;box-shadow:none}.btn.outline[_ngcontent-%COMP%]{--color: var(--background);--outline: var(--background);background:none;box-shadow:none}.btn.outline[_ngcontent-%COMP%]:before{content:"";top:0;left:0;width:100%;height:100%;position:absolute;z-index:0;border-radius:inherit;transition:opacity .3s ease,border .3s ease;opacity:.75;border:1px solid var(--outline)}.btn.outline[_ngcontent-%COMP%]:hover:not(:disabled), .btn.outline[_ngcontent-%COMP%]:active:not(:disabled){box-shadow:none}.btn.outline[_ngcontent-%COMP%]:hover:not(:disabled):before, .btn.outline[_ngcontent-%COMP%]:active:not(:disabled):before{opacity:1}.btn.outline.grey[_ngcontent-%COMP%]{--color: var(--sec-light-60);--outline: var(--sec-light-60)}
3.btn.outline.grey[_ngcontent-%COMP%]:hover{--outline: var(--border-dark)}.btn.outline.gold[_ngcontent-%COMP%]{--color: var(--satisfaction-darker);--outline: var(--satisfaction-darker)}.btn.outline.gold[_ngcontent-%COMP%]:hover{--outline: var(--satisfaction-strong)}.btn.outline.expats[_ngcontent-%COMP%]{--color: var(--expats);--outline: var(--expats)}.btn.outline.expats[_ngcontent-%COMP%]:hover{--outline: var(--expats-darker)}.btn.outline.dashed[_ngcontent-%COMP%]:before{border-style:dashed}.btn.outline[_ngcontent-%COMP%]:disabled{--outline: var(--sec-light-20);--color: var(--sec-light-20)}.btn.icon-right[_ngcontent-%COMP%]{justify-content:space-between}.btn.icon-right[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%], .btn.icon-right.svg[_ngcontent-%COMP%]{order:99}.btn.icon[_ngcontent-%COMP%]{--background: none;--color: var(--sec-light-60);--border-radius: var(--border-radius-sm);box-shadow:none;padding:5px;line-height:normal}.btn.icon[_ngcontent-%COMP%]:hover:not(:disabled), .btn.icon[_ngcontent-%COMP%]:active:not(:disabled){--background: var(--sec-light-05);box-shadow:none}.btn.icon[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:1.375rem;height:1.375rem;left:0;margin:0}.btn.icon.dark[_ngcontent-%COMP%]{--color: var(--sec-light-80)}.btn.icon.dark[_ngcontent-%COMP%]:hover:not(:disabled), .btn.icon.dark[_ngcontent-%COMP%]:active:not(:disabled){--background: var(--sec-light-05)}.btn.icon.light[_ngcontent-%COMP%]{--color: var(--sec-light-40)}.btn.icon.light[_ngcontent-%COMP%]:hover:not(:disabled), .btn.icon.light[_ngcontent-%COMP%]:active:not(:disabled){--background: var(--sec-light-05)}.btn.icon.primary[_ngcontent-%COMP%]{--color: var(--primary)}.btn.icon.primary[_ngcontent-%COMP%]:hover:not(:disabled), .btn.icon.primary[_ngcontent-%COMP%]:active:not(:disabled){--background: var(--primary-05)}.btn.icon.success[_ngcontent-%COMP%]{--color: var(--success)}.btn.icon.success[_ngcontent-%COMP%]:hover:not(:disabled), .btn.icon.success[_ngcontent-%COMP%]:active:not(:disabled){--background: var(--success-light)}.btn.icon.danger[_ngcontent-%COMP%]{--color: var(--danger)}.btn.icon.danger[_ngcontent-%COMP%]:hover:not(:disabled), .btn.icon.danger[_ngcontent-%COMP%]:active:not(:disabled){--background: var(--danger-light)}.btn.icon.info[_ngcontent-%COMP%]{--color: var(--info)}.btn.icon.info[_ngcontent-%COMP%]:hover:not(:disabled), .btn.icon.info[_ngcontent-%COMP%]:active:not(:disabled){--background: var(--info-light)}.btn.icon.warning[_ngcontent-%COMP%]{--color: var(--warning)}.btn.icon.warning[_ngcontent-%COMP%]:hover:not(:disabled), .btn.icon.warning[_ngcontent-%COMP%]:active:not(:disabled){--background: var(--warning-light)}.btn.icon.highlight[_ngcontent-%COMP%]{--color: var(--pink)}.btn.icon.highlight[_ngcontent-%COMP%]:hover:not(:disabled), .btn.icon.highlight[_ngcontent-%COMP%]:active:not(:disabled){--background: var(--pink-light)}.btn.icon.gold[_ngcontent-%COMP%]{--color: var(--satisfaction-darker)}.btn.icon.gold[_ngcontent-%COMP%]:hover:not(:disabled), .btn.icon.gold[_ngcontent-%COMP%]:active:not(:disabled){--background: var(--satisfaction-pale)}.btn.icon.expats[_ngcontent-%COMP%]{--color: var(--expats-darker)}.btn.icon.expats[_ngcontent-%COMP%]:hover:not(:disabled), .btn.icon.expats[_ngcontent-%COMP%]:active:not(:disabled){--background: var(--expats-pale)}.btn.icon[_ngcontent-%COMP%]:disabled{--color: var(--sec-light-20);--background: none;cursor:default}.btn.icon[_ngcontent-%COMP%]:disabled:hover:not(:disabled), .btn.icon[_ngcontent-%COMP%]:disabled:active:not(:disabled){--background: none;--color: var(--sec-light-20)}.btn.icon.white[_ngcontent-%COMP%]{--color: #fff}.btn.icon.white[_ngcontent-%COMP%]:hover:not(:disabled), .btn.icon.white[_ngcontent-%COMP%]:active:not(:disabled){--color: #fff;--background: var(--sec-dark-10) }.btn.rounded[_ngcontent-%COMP%]{--border-radius: 50px}.btn[_ngcontent-%COMP%]:disabled{--color: #fff;--background: var(--sec-light-20);cursor:default;box-shadow:none}.btn.loader[_ngcontent-%COMP%]{--color: transparent}.btn.loader[_ngcontent-%COMP%]:disabled{--color: transparent;--color-spinner: var(--sec-light-20);--color-bg: var(--sec-light-05)}.btn.loader[_ngcontent-%COMP%]   svg.otto-loader--simple[_ngcontent-%COMP%], .btn.loader[_ngcontent-%COMP%]   svg.otto-loader--validate[_ngcontent-%COMP%], .btn.loader[_ngcontent-%COMP%]   svg.otto-loader--logo[_ngcontent-%COMP%]{position:absolute;
3left:0;width:100%}.btn.wide-on-mobile[_ngcontent-%COMP%]{width:100%}@media (min-width: 768px){.btn.wide-on-mobile[_ngcontent-%COMP%]{width:auto}}.btn.flat[_ngcontent-%COMP%]{box-shadow:none}[_nghost-%COMP%]{display:block}.default-modal-header[_ngcontent-%COMP%]{position:relative;padding:20px 36px 12px 16px}.default-modal-header.draggable[_ngcontent-%COMP%]:hover{cursor:grab}.default-modal-header.dragging[_ngcontent-%COMP%]{cursor:grabbing}.default-modal-header[_ngcontent-%COMP%]   .default-modal-heading[_ngcontent-%COMP%]{margin:0 0 8px;color:var(--text-heading);font-size:var(--modal-heading-font-size, 20px);font-weight:var(--modal-heading-font-weight, 700);line-height:var(--modal-heading-line-height, 25px)}.default-modal-header[_ngcontent-%COMP%]   .default-modal-heading-centered[_ngcontent-%COMP%]{text-align:center}.default-modal-header[_ngcontent-%COMP%]   .close-modal-button[_ngcontent-%COMP%]{position:absolute;top:12px;right:12px;width:30px;height:30px;padding:8px;border:none;background-color:transparent;box-shadow:none;line-height:14px;opacity:.6;outline:none;transition:var(--transition)}.default-modal-header[_ngcontent-%COMP%]   .close-modal-button[_ngcontent-%COMP%]:hover{opacity:1}.default-modal-header[_ngcontent-%COMP%]   .close-modal-button[_ngcontent-%COMP%]:focus{box-shadow:var(--focus-shadow-gray);outline:none}.default-modal-content[_ngcontent-%COMP%]{display:flex;height:100%;flex-direction:column}.default-modal-body[_ngcontent-%COMP%]{flex-grow:1;padding:0 16px 24px;color:var(--text);font-size:16px;font-weight:400;line-height:24px}.default-modal-footer[_ngcontent-%COMP%]{position:sticky;bottom:0;width:100%;height:80px;padding:16px 20px;background:var(--sec-light-02);border-bottom-left-radius:12px;border-bottom-right-radius:12px}.default-modal-footer[_ngcontent-%COMP%]:empty{display:none}.default-modal-footer-buttons[_ngcontent-%COMP%]{display:flex;flex-direction:column-reverse}@media (min-width: 768px){.default-modal-footer-buttons[_ngcontent-%COMP%]{flex-direction:row;justify-content:flex-end}.default-modal-footer-buttons.align-apart[_ngcontent-%COMP%]{justify-content:space-between}.default-modal-footer-buttons.content-reversed[_ngcontent-%COMP%]{flex-direction:row-reverse}}.default-modal-footer-buttons[_ngcontent-%COMP%]   .dismiss-button[_ngcontent-%COMP%]{display:block;margin-top:12px}@media (min-width: 768px){.default-modal-footer-buttons[_ngcontent-%COMP%]   .dismiss-button[_ngcontent-%COMP%]:not(:last-child){margin:0 16px 0 0}}']})}return xe})()},5026:(st,Q,g)=>{"use strict";g.d(Q,{Y:()=>z});var a=g(58527);function h(P,C){1&P&&a.nrm(0,"div",0)}function H(P,C){if(1&P&&a.nrm(0,"img",1),2&P){const B=a.XpG();a.Y8G("src",B.imageData,a.B4B),a.BMQ("alt",B.altText)}}let z=(()=>{class P{imageData;altText;static \u0275fac=function(_){return new(_||P)};static \u0275cmp=a.VBU({type:P,selectors:[["frontend-thumbnail"]],inputs:{imageData:"imageData",altText:"altText"},decls:2,vars:1,consts:[[1,"placeholder"],[1,"thumbnail-image",3,"src"]],template:function(_,q){1&_&&a.DNE(0,h,1,0,"div",0)(1,H,1,2,"img",1),2&_&&a.vxM(q.imageData?1:0)},styles:["[_ngcontent-%COMP%]:root, [_nghost-%COMP%]{--business-primary: #2c6fd1;--business-secondary: #21bbfe;--first-primary: #352f64;--first-secondary: #415197;--economy-primary: #8063e1;--economy-secondary: #bd7be8;--premium-economy-primary: #3f58e3;--premium-economy-secondary: #7f94fc;--exclusive-flex-primary: #052d5e;--exclusive-flex-secondary: #07428b;--exclusive-garant-primary: #0c4a9a;--exclusive-garant-secondary: #005ea8;--expats-primary: #40b2c0;--expats-secondary: #51dbc0;--study-free-primary: #052d5e;--study-free-secondary: #07428b;--study-protect-primary: #0c4a9a;--study-protect-secondary: #005ea8;--freemium-primary: #667093;--freemium-secondary: #999fb7;--clinic-zweibett-primary: #3db88d;--clinic-zweibett-secondary: #b7f5ab;--clinic-einbett-primary: #207f7a;--clinic-einbett-secondary: #44b898;--dental-70-primary: #3abfd5;--dental-70-secondary: #a5e5dd;--dental-85-primary: #677eeb;--dental-85-secondary: #b5bef0;--primary: #0077ff;--primary-contrast: #0070f0;--primary-darker: #006be6;--primary-contrast-darker: #0065d8;--primary-light: #99c9ff;--primary-pale: #f2f8ff;--primary-110: #0066db;--primary-80: #3392ff;--primary-contrast-80: #338df3;--primary-60: #66adff;--primary-contrast-60: #66a9f6;--primary-40: #99c9ff;--primary-20: #cce4ff;--primary-10: #e6f1ff;--primary-05: #f2f8ff;--primary-02: #fafcff;--black: #000000;--white: #ffffff;--overlay-light: rgba(0, 16, 75, .4);--overlay-dark: rgba(0, 0, 0, .4);--sec-light-100: #00104b;--sec-light-90: #1a285d;--sec-light-80: #33406f;--sec-light-60: #667093;--sec-light-40: #999fb7;--sec-light-20: #cccfdb;--sec-light-10: #e6e7ed;--sec-light-05: #f2f3f6;--sec-light-02: #fafafb;--dark: #00104b;--dark-80: #33406f;--dark-60: #667093;--dark-40: #999fb7;--dark-20: #cccfdb;--dark-10: #e6e7ed;--dark-05: #f2f3f6;--dark-02: #fafafb;--sec-dark-00: #181a20;--sec-dark-80: #e5e6eb;--sec-dark-60: #aab0c0;--sec-dark-40: #717993;--sec-dark-20: #44495a;--sec-dark-10: #2e323d;--sec-dark-05: #23262f;--sec-dark-02: #1c1f26;--night: #181a20;--night-98: #1c1f26;--night-95: #23262f;--night-90: #2e323d;--night-80: #44495a;--night-60: #717993;--night-40: #aab0c0;--night-20: #e5e6eb;--black-pure: #000000;--white-pure: #ffffff;--overlay: rgba(0, 16, 75, .4);--sand: #ffedd3;--sand-80: #fff1dc;--sand-60: #fff4e5;--sand-40: #fff8ed;--sand-20: #fffbf6;--cyan: #20c2e0;--cyan-80: #4dcee6;--cyan-60: #79daec;--cyan-40: #a6e7f3;--cyan-20: #d2f3f9;--green: #0dbd83;--green-contrast: #09865d;--success: #0dbd83;--success-contrast: #09865d;--success-darker: #0caa76;--success-contrast-darker: #087954;--success-bright: #3dca9c;--success-light: #ecfaf5;--success-shadow: #cff2e6;--red: #ff5252;--red-contrast: #eb0000;--error: #ff5252;--error-contrast: #eb0000;--danger: #ff5252;--danger-contrast: #eb0000;--danger-darker: #e64a4a;--danger-contrast-darker: #d40000;--danger-bright: #ff7575;--danger-light: #fff1f1;
3--danger-shadow: #ffdcdc;--purple: #7263d0;--info: #7263d0;--info-darker: #6759bb;--info-bright: #8e82d9;--info-light: #f4f3fb;--info-shadow: #e3e0f6;--orange: #ffa600;--warning: #ffa600;--warning-darker: #e69500;--warning-bright: #ffb833;--warning-light: #fff8eb;--warning-shadow: #ffedcc;--pink: #f65c96;--pink-contrast: #e80d5f;--pink-darker: #dd5387;--pink-contrast-darker: #d10c56;--pink-bright: #f87dab;--pink-light: #fef2f7;--pink-shadow: #fddeea;--yellow: #fecf02;--yellow-contrast: #9f661e;--payback: #0046aa;--healthx: #151b36;--satisfaction-strong: #a38247;--satisfaction-shadow: #ede4d3;--expats-shadow: #b3ede5;--pastel-sky: #cce4ff;--pastel-rose: #ffdcdc;--pastel-mint: #cff2e6;--pastel-lemon: #fff5cc;--pastel-purple: #e2dffb;--pastel-sand: #ebe1d3;--primary-rgb: 0, 119, 255;--cyan-rgb: 32, 194, 224;--green-rgb: 13, 189, 131;--red-rgb: 255, 82, 82;--orange-rgb: 255, 166, 0;--dark-rgb: 0, 16, 75;--dark-10-rgb: 230, 231, 237;--gray-dark-rgb: 51, 64, 111;--gray-lighter-rgb: 204, 207, 219;--comprehensive: #0077ff;--comprehensive-dark: #006be6;--comprehensive-darker: #005fcc;--comprehensive-darkest: #004799;--comprehensive-light: #b3d6ff;--comprehensive-pale: #e6f1ff;--first: #404a8d;--first-dark: #3a437f;--first-darker: #333b71;--first-darkest: #262c55;--first-light: #c6c9dd;--first-pale: #ecedf4;--business: #009cfe;--business-dark: #008ce5;--business-darker: #007dcb;--business-darkest: #005e98;--business-light: #b3e1ff;--business-pale: #e6f5ff;--economy: #905aca;--economy-dark: #8251b6;--economy-darker: #7348a2;--economy-darkest: #563679;--economy-light: #deceef;--economy-pale: #f4effa;--premium-economy: #6e7fed;--premium-economy-dark: #6372d5;--premium-economy-darker: #5866be;--premium-economy-darkest: #424c8e;--premium-economy-light: #d4d9fa;--premium-economy-pale: #f1f2fd;--civil: #8b50ff;--civil-dark: #7d48e6;--civil-darker: #6f40cc;--civil-darkest: #533099;--civil-light: #dccbff;--civil-pale: #f3eeff;--exclusive: #063773;--exclusive-dark: #053268;--exclusive-darker: #052c5c;--exclusive-darkest: #042145;--exclusive-light: #b4c3d5;--exclusive-pale: #e6ebf1;--expats: #00c2a9;--expats-dark: #00af98;--expats-darker: #009b87;--expats-darkest: #007465;--expats-light: #b3ede5;--expats-pale: #e6f9f6;--dental: #00bcdc;--dental-dark: #00a9c6;--dental-darker: #0096b0;--dental-darkest: #007184;--dental-light: #b3ebf5;--dental-pale: #e6f8fc;--company: #e09c1f;--company-dark: #ca8c1c;--company-darker: #b37d19;--company-darkest: #865e13;--company-light: #f6e1bc;--company-pale: #fcf5e9;--dental-70: #5eccd7;--dental-70-dark: #55b8c2;--dental-70-darker: #4ba3ac;--dental-70-darkest: #387a81;--dental-70-light: #cff0f3;--dental-70-pale: #effafb;--dental-85: #677eeb;--dental-85-dark: #5d71d4;--dental-85-darker: #5265bc;--dental-85-darkest: #3e4c8d;--dental-85-light: #d1d8f9;--dental-85-pale: #f0f2fd;--clinic: #3db88d;--clinic-dark: #37a67f;--clinic-darker: #319371;--clinic-darkest: #256e55;--clinic-light: #c5eadd;--clinic-pale: #ecf8f4;--zweibett: #55c291;--zweibett-dark: #4daf83;--zweibett-darker: #449b74;--zweibett-darkest: #337457;--zweibett-light: #ccedde;--zweibett-pale: #eef9f4;--einbett: #319884;--einbett-dark: #2c8977;--einbett-darker: #277a6a;--einbett-darkest: #1d5b4f;--einbett-light: #c1e0da;--einbett-pale: #eaf5f3;--satisfaction: #c2a46d;--satisfaction-dark: #af9462;--satisfaction-darker: #9b8357;--satisfaction-darkest: #746241;--satisfaction-light: #ede4d3;--satisfaction-pale: #f9f6f0;--study-free: #052d5e;--study-free-dark: #052955;--study-free-darker: #04244b;--study-free-darkest: #031b38;--study-free-light: #b4c0cf;--study-free-pale: #e6eaef;--study-protect: #005ea8;--study-protect-dark: #005597;--study-protect-darker: #004b86;--study-protect-darkest: #003865;--study-protect-light: #b3cfe5;--study-protect-pale: #e6eff6;--option: #5f50ff;--option-dark: #5648e6;--option-darker: #4c40cc;--option-darkest: #393099;--option-light: #cfcbff;--option-pale: #efeeff;--text-gray: #33406f;--text-gray-darker: #293359;--text-blue: #1e429f;--text-blue-darker: #18357f;--text-purple: #5521b5;--text-purple-darker: #441a91;--text-pink: #a745a3;--text-pink-darker: #863782;--text-pink-contrast: #e80d5f;--text-pink-contrast-darker: #ba0a4c;--text-green: #04543f;--text-green-darker: #034332;--text-red: #9a1c1c;--text-red-darker: #7b1616;--text-orange: #8a2c0d;--text-orange-darker: #6e230a;--text-yellow: #a3691f;--text-yellow-darker: #825419;--text-yellow-contrast: #9f661e;--text-yellow-contrast-darker: #7f5218;--text-background-gray: #f2f3f6;--text-background-gray-darker: #c2c2c5;--text-background-blue: #e1effe;--text-background-blue-darker: #b4bfcb;--text-background-purple: #edebfe;--text-background-purple-darker: #bebccb;--text-background-pink: #fee6fd;--text-background-pink-darker: #cbb8ca;--text-background-green: #def7ec;--text-background-green-darker: #b2c6bd;--text-background-red: #fde8e7;--text-background-red-darker: #cabab9;--text-background-orange: #feecdc;--text-background-orange-darker: #cbbdb0;--text-background-yellow: #fffaca;--text-background-yellow-darker: #ccc8a2;--text: var(--sec-light-60);--text-light: var(--sec-light-40);--text-lighter: var(--sec-light-20);--text-heading: var(--sec-light-100);--line: var(--sec-light-10);--border-light: var(--sec-light-10);--border: var(--sec-light-20);--border-dark: var(--sec-light-40);--border-primary: var(--primary);--border-primary-dark: var(--primary-darker);--border-error: var(--error);--border-radius-xs: 4px;--border-radius-sm: 6px;--border-radius-md: 8px;--border-radius-lg: 12px;--border-radius-xl: 16px;--disabled: var(--sec-light-02);--shadow: rgba(0, 16, 75, .15);--shadow-dark: rgba(0, 16, 75, .2);
3--box-shadow-xs: 0 1px 2px var(--shadow-dark);--box-shadow-sm: 0 2px 4px var(--shadow-dark);--box-shadow-md: 0 4px 12px var(--shadow);--box-shadow-lg: 0 8px 24px var(--shadow);--transition: all .2s ease-in-out;--focus-shadow-primary: 0 0 0 4px var(--primary-20);--focus-shadow-darker: 0 0 0 4px var(--sec-light-40);--focus-shadow-dark: 0 0 0 4px var(--sec-light-20);--focus-shadow-gray: 0 0 0 4px var(--sec-light-10);--focus-shadow-danger: 0 0 0 4px var(--danger-shadow);--focus-shadow-success: 0 0 0 4px var(--success-shadow);--focus-shadow-warning: 0 0 0 4px var(--warning-shadow);--focus-shadow-info: 0 0 0 4px var(--info-shadow);--focus-shadow-pink: 0 0 0 4px var(--pink-shadow);--focus-shadow-gold: 0 0 0 4px var(--satisfaction-shadow);--focus-shadow-expats: 0 0 0 4px var(--expats-shadow);--focus-shadow-text-primary: drop-shadow(0px 1px 3px rgba(0, 119, 255, .5));--focus-shadow-text-pink: drop-shadow(0px 1px 3px rgba(246, 92, 150, .5))}[data-theme=contrast][_ngcontent-%COMP%]   *[_ngcontent-%COMP%]{--primary: var(--primary-contrast);--primary-darker: var(--primary-contrast-darker);--success: var(--success-contrast);--success-darker: var(--success-contrast-darker);--danger: var(--danger-contrast);--danger-darker: var(--danger-contrast-darker);--pink: var(--pink-contrast);--pink-darker: var(--pink-contrast-darker);--satisfaction: var(--satisfaction-pale);--satisfaction-strong: var(--satisfaction-darkest);--yellow: var(--yellow-contrast)}[_nghost-%COMP%]{display:flex;width:100%;height:100%;align-items:center;justify-content:center}[_nghost-%COMP%]   .thumbnail-image[_ngcontent-%COMP%]{max-width:100%;max-height:100%;
3box-shadow:var(--box-shadow-xs)}[_nghost-%COMP%]   .placeholder[_ngcontent-%COMP%]{width:100%;height:100%;margin:0 auto;background-color:var(--sec-light-10);box-shadow:var(--box-shadow-xs)}"]})}return P})()},18096:(st,Q,g)=>{"use strict";g.d(Q,{b:()=>a.b});var a=g(35610)},35610:(st,Q,g)=>{"use strict";g.d(Q,{b:()=>le});var a=g(61142),h=g(58527),H=g(45768),z=g(74150),P=g(69956),C=g(23329),B=g(60825),_=g(6663),q=g(64785),A=g(21252);const X=["content"],R=["*"];function ne(Re,Le){if(1&Re&&(h.EFF(0),h.nI1(1,"truncate")),2&Re){const Ie=h.XpG(2);h.SpI(" ",h.brH(1,1,Le,Ie.trim(),!0)," ")}}function se(Re,Le){if(1&Re&&h.eu8(0,2),2&Re){let Ie;const xe=h.XpG(2);h.Y8G("ngTemplateOutlet",null!==(Ie=xe.contentProjection)&&void 0!==Ie?Ie:null)}}function _e(Re,Le){if(1&Re&&(h.j41(0,"span",1),h.DNE(1,ne,2,5)(2,se,1,1,"ng-container",2),h.k0s()),2&Re){let Ie;const xe=h.XpG();h.Aen(xe.insideModal()?xe.fixedStyle:null),h.AVh("text-break-word",xe.breakContent())("multiline",xe.multiline())("top",!xe.insideModal()&&"top"===xe.position())("top-right",!xe.insideModal()&&"top-right"===xe.position())("top-left",!xe.insideModal()&&"top-left"===xe.position())("left",!xe.insideModal()&&"left"===xe.position())("text-left","left"===xe.align())("text-right","right"===xe.align())("inside-modal",xe.insideModal()),h.BMQ("data-cy",xe.dataCy()),h.R7$(),h.vxM((Ie=xe.content())?1:2,Ie)}}let le=(()=>{class Re{content=(0,h.hFB)();multiline=(0,h.hFB)(!0);show=(0,h.hFB)(null);position=(0,h.hFB)("top");breakContent=(0,h.hFB)(!1);align=(0,h.hFB)();trim=(0,h.hFB)();dataCy=(0,h.hFB)();insideModal=(0,h.hFB)(!1);showTooltip=(0,h.vPA)(!1);fixedStyle="";contentProjection;ref=(0,h.WQX)(h.aKT);sanitizer=(0,h.WQX)(z.up);constructor(){const Ie=(0,C.R)(this.ref.nativeElement,"mouseenter"),xe=(0,C.R)(this.ref.nativeElement,"mouseleave");(0,B.h)(Ie,xe).pipe((0,_.T)(Te=>{if(this.insideModal()&&"mouseenter"===Te?.type){const he=this.ref.nativeElement.getBoundingClientRect(),Me=this.ref.nativeElement.closest(".otto-modal"),ct=Me?Me.getBoundingClientRect():{top:0,left:0,right:window.innerWidth,bottom:window.innerHeight},yt=275,ke=8;let Be,ge,Ze=he.left;Ze+yt>ct.right&&(Ze=ct.right-yt),Ze<ct.left&&(Ze=ct.left),he.top-ct.top>=120+ke?(Be=he.top-ke,ge="translateY(-100%)"):(Be=he.bottom+ke,ge="translateY(0)"),this.fixedStyle=this.sanitizer.bypassSecurityTrustStyle(`top: ${Be}px; left: ${Ze}px; transform: ${ge};`)}return!(!this.content()&&!this.contentProjection||!(this.show()??"mouseenter"===Te?.type))}),(0,q.F)(),(0,A.M)(Te=>this.showTooltip.set(Te)),(0,H.pQ)()).subscribe(),(0,h.QZP)(()=>{const Te=this.show();null!==Te&&(0,h.O8t)(()=>this.showTooltip.set(Te))})}static \u0275fac=function(xe){return new(xe||Re)};static \u0275cmp=h.VBU({type:Re,selectors:[["frontend-tooltip"]],contentQueries:function(xe,Te,Ne){if(1&xe&&h.wni(Ne,X,5,h.C4Q),2&xe){let he;h.mGM(he=h.lsd())&&(Te.contentProjection=he.first)}},inputs:{content:[1,"content"],multiline:[1,"multiline"],show:[1,"show"],position:[1,"position"],breakContent:[1,"breakContent"],align:[1,"align"],trim:[1,"trim"],dataCy:[1,"dataCy"],insideModal:[1,"insideModal"]},standalone:!0,features:[h.aNF],ngContentSelectors:R,decls:2,vars:1,consts:[[1,"frontend-tooltip",3,"text-break-word","multiline","top","top-right","top-left","left","text-left","text-right","inside-modal","style"],[1,"frontend-tooltip"],[3,"ngTemplateOutlet"]],template:function(xe,Te){1&xe&&(h.NAR(),h.DNE(0,_e,3,22,"span",0),h.SdG(1)),2&xe&&h.vxM(Te.showTooltip()?0:-1)},dependencies:[a.T3,P.HO],styles:['[_ngcontent-%COMP%]:root, [_nghost-%COMP%]{--business-primary: #2c6fd1;--business-secondary: #21bbfe;--first-primary: #352f64;--first-secondary: #415197;--economy-primary: #8063e1;--economy-secondary: #bd7be8;--premium-economy-primary: #3f58e3;--premium-economy-secondary: #7f94fc;--exclusive-flex-primary: #052d5e;--exclusive-flex-secondary: #07428b;--exclusive-garant-primary: #0c4a9a;--exclusive-garant-secondary: #005ea8;--expats-primary: #40b2c0;--expats-secondary: #51dbc0;--study-free-primary: #052d5e;--study-free-secondary: #07428b;--study-protect-primary: #0c4a9a;--study-protect-secondary: #005ea8;--freemium-primary: #667093;--freemium-secondary: #999fb7;--clinic-zweibett-primary: #3db88d;--clinic-zweibett-secondary: #b7f5ab;--clinic-einbett-primary: #207f7a;--clinic-einbett-secondary: #44b898;--dental-70-primary: #3abfd5;--dental-70-secondary: #a5e5dd;--dental-85-primary: #677eeb;--dental-85-secondary: #b5bef0;--primary: #0077ff;--primary-contrast: #0070f0;--primary-darker: #006be6;--primary-contrast-darker: #0065d8;--primary-light: #99c9ff;--primary-pale: #f2f8ff;--primary-110: #0066db;--primary-80: #3392ff;--primary-contrast-80: #338df3;--primary-60: #66adff;--primary-contrast-60: #66a9f6;--primary-40: #99c9ff;--primary-20: #cce4ff;--primary-10: #e6f1ff;--primary-05: #f2f8ff;--primary-02: #fafcff;--black: #000000;--white: #ffffff;--overlay-light: rgba(0, 16, 75, .4);--overlay-dark: rgba(0, 0, 0, .4);--sec-light-100: #00104b;--sec-light-90: #1a285d;--sec-light-80: #33406f;--sec-light-60: #667093;--sec-light-40: #999fb7;--sec-light-20: #cccfdb;--sec-light-10: #e6e7ed;--sec-light-05: #f2f3f6;--sec-light-02: #fafafb;--dark: #00104b;--dark-80: #33406f;--dark-60: #667093;--dark-40: #999fb7;--dark-20: #cccfdb;--dark-10: #e6e7ed;--dark-05: #f2f3f6;--dark-02: #fafafb;--sec-dark-00: #181a20;--sec-dark-80: #e5e6eb;--sec-dark-60: #aab0c0;--sec-dark-40: #717993;--sec-dark-20: #44495a;--sec-dark-10: #2e323d;--sec-dark-05: #23262f;--sec-dark-02: #1c1f26;--night: #181a20;--night-98: #1c1f26;--night-95: #23262f;--night-90: #2e323d;--night-80: #44495a;--night-60: #717993;--night-40: #aab0c0;--night-20: #e5e6eb;--black-pure: #000000;--white-pure: #ffffff;--overlay: rgba(0, 16, 75, .4);--sand: #ffedd3;--sand-80: #fff1dc;--sand-60: #fff4e5;--sand-40: #fff8ed;--sand-20: #fffbf6;--cyan: #20c2e0;--cyan-80: #4dcee6;--cyan-60: #79daec;--cyan-40: #a6e7f3;--cyan-20: #d2f3f9;--green: #0dbd83;--green-contrast: #09865d;--success: #0dbd83;--success-contrast: #09865d;--success-darker: #0caa76;--success-contrast-darker: #087954;--success-bright: #3dca9c;--success-light: #ecfaf5;--success-shadow: #cff2e6;--red: #ff5252;--red-contrast: #eb0000;--error: #ff5252;--error-contrast: #eb0000;--danger: #ff5252;--danger-contrast: #eb0000;--danger-darker: #e64a4a;--danger-contrast-darker: #d40000;--danger-bright: #ff7575;--danger-light: #fff1f1;
3--danger-shadow: #ffdcdc;--purple: #7263d0;--info: #7263d0;--info-darker: #6759bb;--info-bright: #8e82d9;--info-light: #f4f3fb;--info-shadow: #e3e0f6;--orange: #ffa600;--warning: #ffa600;--warning-darker: #e69500;--warning-bright: #ffb833;--warning-light: #fff8eb;--warning-shadow: #ffedcc;--pink: #f65c96;--pink-contrast: #e80d5f;--pink-darker: #dd5387;--pink-contrast-darker: #d10c56;--pink-bright: #f87dab;--pink-light: #fef2f7;--pink-shadow: #fddeea;--yellow: #fecf02;--yellow-contrast: #9f661e;--payback: #0046aa;--healthx: #151b36;--satisfaction-strong: #a38247;--satisfaction-shadow: #ede4d3;--expats-shadow: #b3ede5;--pastel-sky: #cce4ff;--pastel-rose: #ffdcdc;--pastel-mint: #cff2e6;--pastel-lemon: #fff5cc;--pastel-purple: #e2dffb;--pastel-sand: #ebe1d3;--primary-rgb: 0, 119, 255;--cyan-rgb: 32, 194, 224;--green-rgb: 13, 189, 131;--red-rgb: 255, 82, 82;--orange-rgb: 255, 166, 0;--dark-rgb: 0, 16, 75;--dark-10-rgb: 230, 231, 237;--gray-dark-rgb: 51, 64, 111;--gray-lighter-rgb: 204, 207, 219;--comprehensive: #0077ff;--comprehensive-dark: #006be6;--comprehensive-darker: #005fcc;--comprehensive-darkest: #004799;--comprehensive-light: #b3d6ff;--comprehensive-pale: #e6f1ff;--first: #404a8d;--first-dark: #3a437f;--first-darker: #333b71;--first-darkest: #262c55;--first-light: #c6c9dd;--first-pale: #ecedf4;--business: #009cfe;--business-dark: #008ce5;--business-darker: #007dcb;--business-darkest: #005e98;--business-light: #b3e1ff;--business-pale: #e6f5ff;--economy: #905aca;--economy-dark: #8251b6;--economy-darker: #7348a2;--economy-darkest: #563679;--economy-light: #deceef;--economy-pale: #f4effa;--premium-economy: #6e7fed;--premium-economy-dark: #6372d5;--premium-economy-darker: #5866be;--premium-economy-darkest: #424c8e;--premium-economy-light: #d4d9fa;--premium-economy-pale: #f1f2fd;--civil: #8b50ff;--civil-dark: #7d48e6;--civil-darker: #6f40cc;--civil-darkest: #533099;--civil-light: #dccbff;--civil-pale: #f3eeff;--exclusive: #063773;--exclusive-dark: #053268;--exclusive-darker: #052c5c;--exclusive-darkest: #042145;--exclusive-light: #b4c3d5;--exclusive-pale: #e6ebf1;--expats: #00c2a9;--expats-dark: #00af98;--expats-darker: #009b87;--expats-darkest: #007465;--expats-light: #b3ede5;--expats-pale: #e6f9f6;--dental: #00bcdc;--dental-dark: #00a9c6;--dental-darker: #0096b0;--dental-darkest: #007184;--dental-light: #b3ebf5;--dental-pale: #e6f8fc;--company: #e09c1f;--company-dark: #ca8c1c;--company-darker: #b37d19;--company-darkest: #865e13;--company-light: #f6e1bc;--company-pale: #fcf5e9;--dental-70: #5eccd7;--dental-70-dark: #55b8c2;--dental-70-darker: #4ba3ac;--dental-70-darkest: #387a81;--dental-70-light: #cff0f3;--dental-70-pale: #effafb;--dental-85: #677eeb;--dental-85-dark: #5d71d4;--dental-85-darker: #5265bc;--dental-85-darkest: #3e4c8d;--dental-85-light: #d1d8f9;--dental-85-pale: #f0f2fd;--clinic: #3db88d;--clinic-dark: #37a67f;--clinic-darker: #319371;--clinic-darkest: #256e55;--clinic-light: #c5eadd;--clinic-pale: #ecf8f4;--zweibett: #55c291;--zweibett-dark: #4daf83;--zweibett-darker: #449b74;--zweibett-darkest: #337457;--zweibett-light: #ccedde;--zweibett-pale: #eef9f4;--einbett: #319884;--einbett-dark: #2c8977;--einbett-darker: #277a6a;--einbett-darkest: #1d5b4f;--einbett-light: #c1e0da;--einbett-pale: #eaf5f3;--satisfaction: #c2a46d;--satisfaction-dark: #af9462;--satisfaction-darker: #9b8357;--satisfaction-darkest: #746241;--satisfaction-light: #ede4d3;--satisfaction-pale: #f9f6f0;--study-free: #052d5e;--study-free-dark: #052955;--study-free-darker: #04244b;--study-free-darkest: #031b38;--study-free-light: #b4c0cf;--study-free-pale: #e6eaef;--study-protect: #005ea8;--study-protect-dark: #005597;--study-protect-darker: #004b86;--study-protect-darkest: #003865;--study-protect-light: #b3cfe5;--study-protect-pale: #e6eff6;--option: #5f50ff;--option-dark: #5648e6;--option-darker: #4c40cc;--option-darkest: #393099;--option-light: #cfcbff;--option-pale: #efeeff;--text-gray: #33406f;--text-gray-darker: #293359;--text-blue: #1e429f;--text-blue-darker: #18357f;--text-purple: #5521b5;--text-purple-darker: #441a91;--text-pink: #a745a3;--text-pink-darker: #863782;--text-pink-contrast: #e80d5f;--text-pink-contrast-darker: #ba0a4c;--text-green: #04543f;--text-green-darker: #034332;--text-red: #9a1c1c;--text-red-darker: #7b1616;--text-orange: #8a2c0d;--text-orange-darker: #6e230a;--text-yellow: #a3691f;--text-yellow-darker: #825419;--text-yellow-contrast: #9f661e;--text-yellow-contrast-darker: #7f5218;--text-background-gray: #f2f3f6;--text-background-gray-darker: #c2c2c5;--text-background-blue: #e1effe;--text-background-blue-darker: #b4bfcb;--text-background-purple: #edebfe;--text-background-purple-darker: #bebccb;--text-background-pink: #fee6fd;--text-background-pink-darker: #cbb8ca;--text-background-green: #def7ec;--text-background-green-darker: #b2c6bd;--text-background-red: #fde8e7;--text-background-red-darker: #cabab9;--text-background-orange: #feecdc;--text-background-orange-darker: #cbbdb0;--text-background-yellow: #fffaca;--text-background-yellow-darker: #ccc8a2;--text: var(--sec-light-60);--text-light: var(--sec-light-40);--text-lighter: var(--sec-light-20);--text-heading: var(--sec-light-100);--line: var(--sec-light-10);--border-light: var(--sec-light-10);--border: var(--sec-light-20);--border-dark: var(--sec-light-40);--border-primary: var(--primary);--border-primary-dark: var(--primary-darker);--border-error: var(--error);--border-radius-xs: 4px;--border-radius-sm: 6px;--border-radius-md: 8px;--border-radius-lg: 12px;--border-radius-xl: 16px;--disabled: var(--sec-light-02);--shadow: rgba(0, 16, 75, .15);--shadow-dark: rgba(0, 16, 75, .2);
3--box-shadow-xs: 0 1px 2px var(--shadow-dark);--box-shadow-sm: 0 2px 4px var(--shadow-dark);--box-shadow-md: 0 4px 12px var(--shadow);--box-shadow-lg: 0 8px 24px var(--shadow);--transition: all .2s ease-in-out;--focus-shadow-primary: 0 0 0 4px var(--primary-20);--focus-shadow-darker: 0 0 0 4px var(--sec-light-40);--focus-shadow-dark: 0 0 0 4px var(--sec-light-20);--focus-shadow-gray: 0 0 0 4px var(--sec-light-10);--focus-shadow-danger: 0 0 0 4px var(--danger-shadow);--focus-shadow-success: 0 0 0 4px var(--success-shadow);--focus-shadow-warning: 0 0 0 4px var(--warning-shadow);--focus-shadow-info: 0 0 0 4px var(--info-shadow);--focus-shadow-pink: 0 0 0 4px var(--pink-shadow);--focus-shadow-gold: 0 0 0 4px var(--satisfaction-shadow);--focus-shadow-expats: 0 0 0 4px var(--expats-shadow);--focus-shadow-text-primary: drop-shadow(0px 1px 3px rgba(0, 119, 255, .5));--focus-shadow-text-pink: drop-shadow(0px 1px 3px rgba(246, 92, 150, .5))}[data-theme=contrast][_ngcontent-%COMP%]   *[_ngcontent-%COMP%]{--primary: var(--primary-contrast);--primary-darker: var(--primary-contrast-darker);--success: var(--success-contrast);--success-darker: var(--success-contrast-darker);--danger: var(--danger-contrast);--danger-darker: var(--danger-contrast-darker);--pink: var(--pink-contrast);--pink-darker: var(--pink-contrast-darker);--satisfaction: var(--satisfaction-pale);--satisfaction-strong: var(--satisfaction-darkest);--yellow: var(--yellow-contrast)}[_nghost-%COMP%]{position:relative;display:inline-block;cursor:pointer}.frontend-tooltip[_ngcontent-%COMP%]{--tooltip-offset: calc(-100% - 10px) ;position:absolute;z-index:1018;top:0;left:50%;padding:4px 8px;background-color:var(--sec-light-100);border-radius:5px;color:var(--white)!important;font-size:14px;line-height:20px;text-align:center;white-space:nowrap}.frontend-tooltip.text-left[_ngcontent-%COMP%]{text-align:left}.frontend-tooltip.text-right[_ngcontent-%COMP%]{text-align:right}.frontend-tooltip.top[_ngcontent-%COMP%]{transform:translate(-50%) translateY(var(--tooltip-offset))}.frontend-tooltip.top-right[_ngcontent-%COMP%]{transform:translate(-10%) translateY(var(--tooltip-offset))}.frontend-tooltip.top-left[_ngcontent-%COMP%]{transform:translate(-90%) translateY(var(--tooltip-offset))}.frontend-tooltip.left[_ngcontent-%COMP%]{top:50%;left:0;transform:translate(var(--tooltip-offset)) translateY(-50%)}.frontend-tooltip.left[_ngcontent-%COMP%]:after{top:calc(50% - 6px);left:100%;transform:translate(-1px) rotate(-90deg)}.frontend-tooltip.left.multiline[_ngcontent-%COMP%]{top:0;transform:translate(var(--tooltip-offset)) translateY(0)}.frontend-tooltip.left.multiline[_ngcontent-%COMP%]:after{top:8px;left:calc(100% - 1px);transform:translate(0) rotate(-90deg)}.frontend-tooltip.inside-modal[_ngcontent-%COMP%]{position:fixed;width:var(--tooltip-width, 275px);text-align:left;white-space:normal}.frontend-tooltip.inside-modal[_ngcontent-%COMP%]:after{display:none}.frontend-tooltip.text-break-word[_ngcontent-%COMP%]{max-width:100%;box-sizing:border-box;hyphens:auto;overflow-wrap:break-word;word-break:break-word}.frontend-tooltip.multiline[_ngcontent-%COMP%]{width:var(--tooltip-width, 275px);max-width:unset;white-space:normal}.frontend-tooltip[_ngcontent-%COMP%]:after{position:absolute;top:100%;width:0;height:0;border:6px solid transparent;border-top-color:var(--sec-light-100);content:" ";pointer-events:none;transform:translate(-50%,-1px)}.frontend-tooltip.top[_ngcontent-%COMP%]:after{left:50%}.frontend-tooltip.top-right[_ngcontent-%COMP%]:after{left:10%}.frontend-tooltip.top-left[_ngcontent-%COMP%]:after{left:90%}']})}return Re})()},19823:(st,Q,g)=>{"use strict";g.d(Q,{S:()=>z});class a{debounceIds={};throttleIds={}}const h=Symbol("__core_decorators__");function z(C=500){return(B,_,q)=>{const A=q.value;return q.value=function(...X){const R=function H(C){return void 0===C[h]&&Object.defineProperty(C,h,{value:new a}),C[h]}(this).debounceIds;clearTimeout(R[_]),R[_]=setTimeout(()=>{delete R[_],A.apply(this,X)},this.debounceDelay||C)},q}}},3410:(st,Q,g)=>{"use strict";g.d(Q,{k:()=>h});var a=g(58527);let h=(()=>{class H{value=(0,a.hFB)(null);allowMoveHorizontal=(0,a.hFB)(!1);allowMoveVertical=(0,a.hFB)(!1);elementSelected=(0,a.CGW)();previousElementSelected=(0,a.CGW)();nextElementSelected=(0,a.CGW)();handleKeyDown(P){const C=P.target;
3"Enter"===P.code||"Space"===P.code?(this.elementSelected.emit(C),P.preventDefault()):this.allowMoveHorizontal()&&"ArrowRight"===P.code||this.allowMoveVertical()&&"ArrowDown"===P.code?(this.nextElementSelected.emit(C),P.preventDefault()):(this.allowMoveHorizontal()&&"ArrowLeft"===P.code||this.allowMoveVertical()&&"ArrowUp"===P.code)&&(this.previousElementSelected.emit(C),P.preventDefault())}static \u0275fac=function(C){return new(C||H)};static \u0275dir=a.FsC({type:H,selectors:[["","frontendAccessible",""]],hostBindings:function(C,B){1&C&&a.bIt("keydown",function(q){return B.handleKeyDown(q)})},inputs:{value:[1,"value"],allowMoveHorizontal:[1,"allowMoveHorizontal"],allowMoveVertical:[1,"allowMoveVertical"]},outputs:{elementSelected:"elementSelected",previousElementSelected:"previousElementSelected",nextElementSelected:"nextElementSelected"},standalone:!0})}return H})()},58344:(st,Q,g)=>{"use strict";g.d(Q,{s:()=>Ze});var a=g(58527),h=g(56106),H=g(19823),z=g(51376),P=g(77392),C=g(47943),B=g(58468),q=g(61142),A=g(73466),X=g(84284),R=g(54282),se=function(Ve,Be){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(Ve,Be)};const _e=["searchInput"],le=["optionsList"],Re=(Ve,Be)=>Be.label,Le=(Ve,Be)=>({active:Ve,loading:Be}),Ie=(Ve,Be)=>({"aria-autocomplete":"both","aria-invalid":Ve,"aria-error-message":Be}),xe=Ve=>({sm:Ve}),Te=(Ve,Be)=>({opened:Ve,sm:Be});function Ne(Ve,Be){1&Ve&&(a.j41(0,"div",8),a.EFF(1," Keine Option gefunden "),a.k0s())}function he(Ve,Be){1&Ve&&(a.j41(0,"div",8),a.EFF(1," Fang an zu tippen um Stra\xdfenvorschl\xe4ge zu erhalten "),a.k0s())}function Me(Ve,Be){1&Ve&&(a.j41(0,"div",8),a.EFF(1," Laden... "),a.k0s())}function ct(Ve,Be){1&Ve&&(a.j41(0,"div",8),a.EFF(1," Bitte w\xe4hlen "),a.k0s())}function yt(Ve,Be){if(1&Ve){const ge=a.RV6();a.j41(0,"div",12),a.bIt("mousedown",function(){a.eBV(ge);const He=a.XpG();return a.Njj(He.selectGivenOption({label:He.form.controls.searchInput.value,value:He.form.controls.searchInput.value}))})("mouseover",function(){a.eBV(ge);const He=a.XpG();return a.Njj(He.activeIndex=0)}),a.EFF(1),a.k0s()}if(2&Ve){const ge=a.XpG();a.R7$(),a.SpI(" ",ge.form.controls.searchInput.value," ")}}function Se(Ve,Be){if(1&Ve){const ge=a.RV6();a.j41(0,"div",13),a.bIt("mouseover",function(){const He=a.eBV(ge).$index,bt=a.XpG();return a.Njj(bt.activeIndex=He+1)})("mousedown",function(He){const bt=a.eBV(ge).$implicit,Yt=a.XpG();return a.Njj(Yt.selectGivenOption(bt,He))}),a.j41(1,"span",14),a.EFF(2),a.k0s()()}if(2&Ve){const ge=Be.$implicit,Pe=Be.$index,He=a.XpG();a.AVh("active",!ge.options&&He.activeIndex===Pe+1)("group-item",null==ge.options?null:ge.options.length)("selected",He.isSelected(ge)),a.R7$(2),a.JRh(ge.label)}}function ke(Ve,Be){if(1&Ve){const ge=a.RV6();a.j41(0,"div",11)(1,"frontend-icon-button",15),a.bIt("onClick",function(){a.eBV(ge);const He=a.XpG();return a.Njj(He.onSearchCancel())}),a.k0s()()}}class Ze{tabIndex=0;placeholder="Bitte w\xe4hlen";label="";options=[];selected;loading=!1;loadingTheme="default";allowInvalid=!1;maxLength=100;useInternalFiltration=!1;size;disabled=!1;cancelable=!1;dataCy;error;innerInputId;onSelect=new a.bkB;onCancel=new a.bkB;onSearchInputKeyUp=new a.bkB;onFocus=new a.bkB;onBlur=new a.bkB;opened=!1;active=!1;skipBlurEvent=!1;skipFocusEvent=!1;activeIndex=1;componentSize=z.H7o;form;resetSearchString$;initialOptions=[];isAutocompletedValue=!1;delay=200;component$=new P.B;searchInput;optionsList;changeDetector=(0,a.WQX)(a.gRc);formBuilder=(0,a.WQX)(h.ze);ngOnInit(){this.initialOptions=[...this.options],this.form=this.formBuilder.group({searchInput:this.formBuilder.control({value:this.selected?.label||"",disabled:this.disabled})}),this.form.controls.searchInput.valueChanges.pipe((0,C.B)(this.delay)).subscribe(Be=>{(!Be||!this.isAutocompletedValue)&&(this.onInput(),this.changeDetector.markForCheck()),this.isAutocompletedValue=!1}),this.resetSearchString$?.pipe((0,B.Q)(this.component$)).subscribe(()=>{this.selectOption(null)})}ngOnChanges(Be){"selected"in Be&&!Be.selected.isFirstChange()&&(this.isAutocompletedValue=!0,this.form?.controls.searchInput.setValue(Be.selected.currentValue?.label||null,{emitEvent:!1})),"options"in Be&&(Be.options.currentValue||(this.options=[]),this.options=this.prepareOptions(Be.options.currentValue),this.selected&&this.selected.value&&!this.options.find(ge=>ge.label===this.selected?.label&&ge.value===this.selected.value)&&(this.allowInvalid||(this.selected={},this.form?.controls.searchInput.value||this.form?.controls.searchInput.setValue(null,{emitEvent:!1}))),this.initialOptions=[...this.options]),"disabled"in Be&&!Be.disabled.isFirstChange()&&this.setDisabledState(Be.disabled.currentValue)}ngOnDestroy(){this.component$.next(),this.component$.complete()}focus(){this.skipFocusEvent?this.skipFocusEvent=!1:this.opened||(this.opened=!0,this.active=!0,this.activeIndex=this.getActiveIndex(),this.scrollList(this.activeIndex),this.onFocus.emit())}onTab(){this.allowInvalid?this.selectActiveOption():this.cancelChoiceSelection()}onEnter(){this.skipBlurEvent=!0,this.selectActiveOption()}onEsc(){this.cancelChoiceSelection()}onArrowUp(){this.activeIndex>(this.allowInvalid?0:1)&&(this.activeIndex--,this.scrollList(this.activeIndex))}onArrowDown(){this.activeIndex<(this.options||[]).length&&(this.activeIndex++,this.scrollList(this.activeIndex))}onInput(){this.activeIndex=this.allowInvalid?0:1,this.useInternalFiltration&&(this.options=this.form.controls.searchInput.value?this.initialOptions.filter(
3Be=>Be.options?.length||Be.label.toUpperCase().includes(this.form.controls.searchInput.value.toUpperCase())):[...this.initialOptions]),this.onSearchInputKeyUp.emit(this.form.controls.searchInput.value)}blur(){if(!this.skipBlurEvent){if(this.allowInvalid)return this.selectActiveOption(),void this.onBlur.emit();this.onBlur.emit(),this.cancelChoiceSelection()}}showNoOptionFound(){const Be=this.options||[];return"default"===this.loadingTheme?!this.allowInvalid&&0===Be.length:"list"===this.loadingTheme&&!this.allowInvalid&&0===Be.length&&this.form.controls.searchInput.value?.length>0&&!this.loading}onSearchCancel(){this.form.controls.searchInput.setValue(null,{emitEvent:!1}),this.options=[...this.initialOptions],this.onCancel.emit(),this.close()}showInvalidOption(){const Be=this.form.controls.searchInput;return!(!this.allowInvalid||!Be.value||(this.options||[]).find(He=>He.value===Be.value||He.label===Be.value))}showInvalidOptionPlaceholder(){return"default"===this.loadingTheme&&this.allowInvalid&&""===this.form.controls.searchInput.value&&0===(this.options||[]).length}isSelected(Be){return!!this.selected&&this.selected.value===Be.value&&this.selected.label===Be.label}selectGivenOption(Be,ge){Be?.options?.length?ge?.preventDefault():(this.skipBlurEvent=!0,this.selectOption(Be))}selectActiveOption(){const Be=this.getActiveOption();this.selectOption(Be)}handleIconClick(Be){Be.preventDefault(),this.opened?(this.skipFocusEvent=!0,this.searchInput.elementRef.nativeElement.blur()):(this.searchInput.elementRef.nativeElement.focus(),this.focus())}writeValue(Be){!function _(Ve){return Ve?.hasOwnProperty("label")&&Ve?.hasOwnProperty("value")}(Be)?null===Be&&this.selectOption(null):this.selected=Be}onChange=()=>{};onTouched=()=>{};registerOnChange(Be){this.onChange=Be}registerOnTouched(Be){this.onTouched=Be}setDisabledState(Be){this.disabled=Be,Be?this.form.disable({emitEvent:!1}):this.form.enable({emitEvent:!1})}selectOption(Be){if(!Be)return this.form.controls.searchInput.setValue(null,{emitEvent:!1}),this.selected=null,this.onSelect.emit(null),this.onChange(null),this.close(),void this.changeDetector.markForCheck();this.form.controls.searchInput.setValue(Be.label,{emitEvent:!1}),this.options.indexOf(Be)<0&&(Be.isInvalid=!0),this.selected=Be,this.options=[...this.initialOptions],this.onSelect.emit(this.selected),this.onChange(this.selected.value),this.close()}getActiveOption(){if(!this.form.controls.searchInput.value&&this.activeIndex-1<0)return null;const ge=(this.options||[])[this.activeIndex-1];return this.allowInvalid&&this.form.controls.searchInput.value&&void 0===ge?{label:this.form.controls.searchInput.value,value:this.form.controls.searchInput.value}:ge||null}cancelChoiceSelection(){this.form.controls.searchInput.setValue(this.selected?.label?this.selected.label:null,{emitEvent:!1}),this.options=[...this.initialOptions],this.onCancel.emit(),this.close()}close(){this.opened&&(this.opened=!1,this.active=!1,this.searchInput.elementRef.nativeElement.blur(),this.skipBlurEvent=!1)}scrollList(Be){this.activeIndex-1>this.options.length?this.activeIndex=this.options.length-1:this.activeIndex-1<0&&(this.activeIndex=0);const ge=this.options[Be]?.label;if(!ge)return;const Pe=this.getElement(ge);Pe&&(this.optionsList.nativeElement.scrollTop=Pe.offsetTop-100,this.changeDetector.markForCheck())}getElement(Be){return this.findNodes().find(ge=>ge.textContent?.trim()===Be.trim())||null}findNodes(){return[].filter.call(this.optionsList.nativeElement.childNodes,ge=>ge.tagName).filter(ge=>"div"===ge.tagName.toLowerCase()&&ge.className.includes("autocomplete-option"))}getActiveIndex(){if(!this.selected)return 0;const ge=this.selected||{},Pe=(this.options||[]).findIndex(He=>He.value===ge.value);return-1===Pe?0:Pe+1}prepareOptions(Be){return Be?.flatMap(ge=>[ge,...ge.options||[]])||[]}static \u0275fac=function(ge){return new(ge||Ze)};static \u0275cmp=a.VBU({type:Ze,selectors:[["frontend-autocomplete"]],viewQuery:function(ge,Pe){if(1&ge&&(a.GBs(_e,5),a.GBs(le,5)),2&ge){let He;a.mGM(He=a.lsd())&&(Pe.searchInput=He.first),a.mGM(He=a.lsd())&&(Pe.optionsList=He.first)}},inputs:{tabIndex:"tabIndex",placeholder:"placeholder",label:"label",options:"options",selected:"selected",loading:"loading",loadingTheme:"loadingTheme",allowInvalid:"allowInvalid",maxLength:"maxLength",useInternalFiltration:"useInternalFiltration",size:"size",disabled:"disabled",cancelable:"cancelable",dataCy:"dataCy",error:"error",innerInputId:"innerInputId",resetSearchString$:"resetSearchString$"},outputs:{onSelect:"onSelect",onCancel:"onCancel",onSearchInputKeyUp:"onSearchInputKeyUp",onFocus:"onFocus",onBlur:"onBlur"},features:[a.Jv_([{provide:h.kq,useExisting:(0,a.Rfq)(()=>Ze),multi:!0}]),a.OA$],decls:16,vars:34,consts:[["searchInput",""],["optionsList",""],[1,"autocomplete",3,"formGroup"],[1,"autocomplete-input-wrapper",3,"ngClass"],["autocomplete","off","formControlName","searchInput",1,"autocomplete-input",3,"onFocus","onBlur","onTab","onEnter","onEsc","onArrowUp","onArrowDown","onIconClick","innerInputId","dataCy","placeholder","label","size","tabIndex","maxlength","flatCornersConfig","ariaAttributes","withIcon","error","showError"],["type","svg","file","arrow-down-sm.svg","custom-input-icon","",1,"icon-arrow",3,"stretchToContainer"],[1,"loading-block",3,"ngClass"],[1,"autocomplete-options-list",3,"ngClass"],[1,"autocomplete-option","no-option"],[1,"autocomplete-option","selected","active","data-hj-suppress","hea
3p-ignore"],[1,"autocomplete-option",3,"active","group-item","selected"],[1,"cancel-icon"],[1,"autocomplete-option","selected","active","data-hj-suppress","heap-ignore",3,"mousedown","mouseover"],[1,"autocomplete-option",3,"mouseover","mousedown"],[1,"autocomplete-option-label"],["icon","icon-delete-rounded.svg",3,"onClick"]],template:function(ge,Pe){if(1&ge){const He=a.RV6();a.j41(0,"div",2)(1,"div",3)(2,"frontend-input",4,0),a.bIt("onFocus",function(){return a.eBV(He),a.Njj(Pe.focus())})("onBlur",function(){return a.eBV(He),a.Njj(Pe.blur())})("onTab",function(){return a.eBV(He),a.Njj(Pe.onTab())})("onEnter",function(){return a.eBV(He),a.Njj(Pe.onEnter())})("onEsc",function(){return a.eBV(He),a.Njj(Pe.onEsc())})("onArrowUp",function(){return a.eBV(He),a.Njj(Pe.onArrowUp())})("onArrowDown",function(){return a.eBV(He),a.Njj(Pe.onArrowDown())})("onIconClick",function(Yt){return a.eBV(He),a.Njj(Pe.handleIconClick(Yt))}),a.nrm(4,"frontend-image",5),a.k0s(),a.nrm(5,"div",6),a.k0s(),a.j41(6,"div",7,1),a.DNE(8,Ne,2,0,"div",8)(9,he,2,0,"div",8)(10,Me,2,0,"div",8)(11,ct,2,0,"div",8)(12,yt,2,1,"div",9),a.Z7z(13,Se,3,7,"div",10,Re),a.k0s()(),a.DNE(15,ke,2,0,"div",11)}2&ge&&(a.Y8G("formGroup",Pe.form),a.R7$(),a.Y8G("ngClass",a.l_i(23,Le,Pe.active,Pe.loading&&"default"===Pe.loadingTheme&&!Pe.disabled)),a.R7$(),a.Y8G("innerInputId",Pe.innerInputId)("dataCy",Pe.dataCy)("placeholder",Pe.placeholder)("label",Pe.label)("size",Pe.size)("tabIndex",Pe.tabIndex)("maxlength",Pe.maxLength)("flatCornersConfig",Pe.opened?"false false true true":null)("ariaAttributes",a.l_i(26,Ie,!!Pe.error,Pe.error))("withIcon",!0)("error",Pe.error)("showError",!0),a.R7$(2),a.Y8G("stretchToContainer",!0),a.R7$(),a.Y8G("ngClass",a.eq3(29,xe,Pe.size===Pe.componentSize.Sm)),a.R7$(),a.Y8G("ngClass",a.l_i(31,Te,Pe.opened,Pe.size===Pe.componentSize.Sm)),a.R7$(2),a.vxM(Pe.showNoOptionFound()?8:-1),a.R7$(),a.vxM(Pe.loading||"list"!==Pe.loadingTheme||Pe.form.controls.searchInput.value||0!==Pe.options.length?-1:9),a.R7$(),a.vxM(Pe.loading&&"list"===Pe.loadingTheme&&Pe.form.controls.searchInput.value?10:-1),a.R7$(),a.vxM(Pe.showInvalidOptionPlaceholder()?11:-1),a.R7$(),a.vxM(Pe.showInvalidOption()?12:-1),a.R7$(),a.Dyx(Pe.options),a.R7$(2),a.vxM(Pe.cancelable?15:-1))},dependencies:[q.YU,h.BC,h.cb,h.tU,A.h,X.S,h.j4,h.JD,R.x],styles:['.form-field[_ngcontent-%COMP%]{--color: var(--text);--background: #fff;--border-color: var(--border);--line-height: 22px;--padding: 12px 16px;--font-size: 16px;--border-radius: var(--border-radius-sm);-webkit-appearance:none;outline:none;display:block;font-size:var(--font-size);line-height:var(--line-height);font-weight:500;border-radius:var(--border-radius);padding:var(--padding);border:1px solid var(--border-color);color:var(--color);background:var(--background);transition:border .3s ease,color .3s ease,background .3s ease;width:100%}.form-field[_ngcontent-%COMP%]:focus{outline:none}.form-field[_ngcontent-%COMP%]:disabled{cursor:not-allowed;pointer-events:none}.form-field[_ngcontent-%COMP%]:hover{--border-color: var(--border-dark)}.form-field[_ngcontent-%COMP%]:focus{--border-color: var(--primary)}.form-field[_ngcontent-%COMP%]::placeholder{color:var(--text-light)}.form-field[_ngcontent-%COMP%]:disabled{--background: var(--disabled);--color: var(--sec-light-40)}.form-field[_ngcontent-%COMP%]:disabled::placeholder{color:var(--text-lighter)}.form-field.error[_ngcontent-%COMP%]{--border-color: var(--danger)}.form-field.sm[_ngcontent-%COMP%]{--line-height: 22px;--padding: 6px 12px;--font-size: 14px;--border-radius: var(--border-radius-xs)}.form-field[type=number][_ngcontent-%COMP%]::-webkit-inner-spin-button, .form-field[type=number][_ngcontent-%COMP%]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.form-field[type=number][_ngcontent-%COMP%]{-moz-appearance:textfield}.form-prefix[_ngcontent-%COMP%], .form-suffix[_ngcontent-%COMP%]{--line-height: 22px;--padding: 12px 16px;--font-size: 16px;--padding-between: 8px;--background: #fff;--border-radius: var(--border-radius-sm);--color: var(--text);--border-color: var(--border);display:grid}.form-prefix[_ngcontent-%COMP%] > span[_ngcontent-%COMP%], .form-suffix[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;font-weight:500;border:1px solid var(--border-color);border-radius:var(--border-radius);background:var(--background);padding:var(--padding);color:var(--color);font-size:var(--font-size);line-height:var(--line-height);transition:border .3s ease,color .3s ease,background .3s ease}.form-prefix[_ngcontent-%COMP%]   .form-field.sm[_ngcontent-%COMP%] + span[_ngcontent-%COMP%], .form-suffix[_ngcontent-%COMP%]   .form-field.sm[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]{--line-height: 22px;--padding: 6px 12px;--font-size: 14px;--border-radius: var(--border-radius-xs)}.form-prefix[_ngcontent-%COMP%]   .form-field[_ngcontent-%COMP%]:hover + span[_ngcontent-%COMP%], .form-suffix[_ngcontent-%COMP%]   .form-field[_ngcontent-%COMP%]:hover + span[_ngcontent-%COMP%]{--border-color: var(--border-dark)}.form-prefix[_ngcontent-%COMP%]   .form-field[_ngcontent-%COMP%]:focus + span[_ngcontent-%COMP%], .form-suffix[_ngcontent-%COMP%]   .form-field[_ngcontent-%COMP%]:focus + span[_ngcontent-%COMP%]{--border-color: var(--primary)}.form-prefix[_ngcontent-%COMP%]   .form-field[_ngcontent-%COMP%]:disabled + span[_ngcontent-%COMP%], .form-suffix[_ngcontent-%COMP%]   .form-field[_ngcontent-%COMP%]:disabled + span[_ngcontent-%COMP%]{--background: var(--disabled);--color: var(--sec-light-40)}.form-prefix[_ngcontent-%COMP%]   .form-field.error[_ngcontent-%COMP%] + span[_ngcontent-%COMP%], .form-suffix[_ngcontent-%COMP%]   .form-field.error[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]{--border-color: var(--danger)}.form-prefix[_ngcontent-%COMP%]{grid-template-columns:auto 1fr}.form-prefix[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{order:1;padding-right:0;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0}.form-prefix[_ngcontent-%COMP%]   .form-field[_ngcontent-%COMP%]{order:2;border-left:none;border-top-left-radius:0;border-bottom-left-radius:0;padding-left:var(--padding-between)}.form-suffix[_ngcontent-%COMP%]{grid-template-columns:1fr auto}.form-suffix[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{padding-left:0;border-left:none;border-top-left-radius:0;border-bottom-left-radius:0}.form-suffix[_ngcontent-%COMP%]   .form-field[_ngcontent-%COMP%]{border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;padding-right:var(--padding-between)}@keyframes _ngcontent-%COMP%_rotate{to{transform:rotate(360deg)}}[_nghost-%COMP%]{display:flex;align-items:center}[_nghost-%COMP%]   .autocomplete[_ngcontent-%COMP%]{position:relative;flex-grow:1}[_nghost-%COMP%]   .autocomplete[_ngcontent-%COMP%]   .autocomplete-input-wrapper[_ngcontent-%COMP%]{position:relative;cursor:pointer}[_nghost-%COMP%]   .autocomplete[_ngcontent-%COMP%]   .autocomplete-input-wrapper.active[_ngcontent-%COMP%]   .autocomplete-input[_ngcontent-%COMP%]{border-color:var(--primary);border-bottom-left-radius:0;border-bottom-right-radius:0}[_nghost-%COMP%]   .autocomplete[_ngcontent-%COMP%]   .autocomplete-input-wrapper[_ngcontent-%COMP%]   .loading-block[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%]   .autocomplete[_ngcontent-%COMP%]   .autocomplete-input-wrapper.loading[_ngcontent-%COMP%]:after{display:none}[_nghost-%COMP%]   .autocomplete[_ngcontent-%COMP%]   .autocomplete-input-wrapper.loading[_ngcontent-%COMP%]   .autocomplete-input[_ngcontent-%COMP%]{pointer-events:none}[_nghost-%COMP%]   .autocomplete[_ngcontent-%COMP%]   .autocomplete-input-wrapper.loading[_ngcontent-%COMP%]   .loading-block[_ngcontent-%COMP%]{position:absolute;z-index:1;top:0;left:0;display:block;width:100%;height:100%;border:1px solid var(--border-primary);background-color:#fff;border-radius:var(--border-radius-sm)}[_nghost-%COMP%]   .autocomplete[_ngcontent-%COMP%]   .autocomplete-input-wrapper.loading[_ngcontent-%COMP%]   .loading-block[_ngcontent-%COMP%]:before{position:absolute;z-index:1;
3top:calc(50% - 10px);left:15px;display:block;width:20px;height:20px;animation:_ngcontent-%COMP%_rotate .5s linear infinite;background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iMjIiIHZpZXdCb3g9IjAgMCAyMiAyMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTIwIDExQzIwIDYuMDI5NDQgMTUuOTcwNiAyIDExIDJDNi4wMjk0NCAyIDIgNi4wMjk0NCAyIDExQzIgMTUuOTcwNiA2LjAyOTQ0IDIwIDExIDIwIiBzdHJva2U9IiMwMDc3RkYiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=);background-position:center;background-repeat:no-repeat;background-size:contain;content:"";pointer-events:none}[_nghost-%COMP%]   .autocomplete[_ngcontent-%COMP%]   .autocomplete-input-wrapper.loading[_ngcontent-%COMP%]   .loading-block.sm[_ngcontent-%COMP%]:before{top:calc(50% - 9px);left:11px;width:18px;height:18px}[_nghost-%COMP%]   .autocomplete[_ngcontent-%COMP%]   .autocomplete-input-wrapper[_ngcontent-%COMP%]   .icon-arrow[_ngcontent-%COMP%]{display:block;width:12px;height:12px;color:var(--sec-light-40);transition:var(--transition)}[_nghost-%COMP%]   .autocomplete[_ngcontent-%COMP%]   .autocomplete-input-wrapper[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%]   .icon-arrow[_ngcontent-%COMP%]{transform:rotate(180deg)}[_nghost-%COMP%]   .autocomplete[_ngcontent-%COMP%]   .autocomplete-options-list[_ngcontent-%COMP%]{position:absolute;z-index:130;top:100%;left:0;width:100%;max-height:0;padding:0;border:1px solid var(--primary);border-top:0;margin-top:-1px;margin-bottom:0;background-color:var(--white);border-bottom-left-radius:6px;border-bottom-right-radius:6px;list-style:none;overflow-x:hidden;overflow-y:auto;text-align:left;transition:max-height .3s ease;visibility:hidden}[_nghost-%COMP%]   .autocomplete[_ngcontent-%COMP%]   .autocomplete-options-list.opened[_ngcontent-%COMP%]{max-height:var(--autocomplete-options-max-height, 200px);visibility:visible}[_nghost-%COMP%]   .autocomplete[_ngcontent-%COMP%]   .autocomplete-options-list.sm[_ngcontent-%COMP%]   .autocomplete-option[_ngcontent-%COMP%]{padding:6px 12px;font-size:14px;line-height:22px}[_nghost-%COMP%]   .autocomplete[_ngcontent-%COMP%]   .autocomplete-options-list.sm[_ngcontent-%COMP%]   .autocomplete-option.selected[_ngcontent-%COMP%]:after{right:12px}[_nghost-%COMP%]   .autocomplete[_ngcontent-%COMP%]   .autocomplete-options-list[_ngcontent-%COMP%]   .autocomplete-option[_ngcontent-%COMP%]{position:relative;padding:12px 34px 12px 16px;font-size:16px;font-weight:500;line-height:24px;word-wrap:break-word}[_nghost-%COMP%]   .autocomplete[_ngcontent-%COMP%]   .autocomplete-options-list[_ngcontent-%COMP%]   .autocomplete-option[_ngcontent-%COMP%]   .autocomplete-option-label[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;word-break:break-all;word-wrap:break-word}[_nghost-%COMP%]   .autocomplete[_ngcontent-%COMP%]   .autocomplete-options-list[_ngcontent-%COMP%]   .autocomplete-option.group-item[_ngcontent-%COMP%]{color:var(--sec-light-40);font-size:14px}[_nghost-%COMP%]   .autocomplete[_ngcontent-%COMP%]   .autocomplete-options-list[_ngcontent-%COMP%]   .autocomplete-option[_ngcontent-%COMP%]:not(.group-item){cursor:pointer}[_nghost-%COMP%]   .autocomplete[_ngcontent-%COMP%]   .autocomplete-options-list[_ngcontent-%COMP%]   .autocomplete-option.active[_ngcontent-%COMP%]{background-color:var(--sec-light-02)}[_nghost-%COMP%]   .autocomplete[_ngcontent-%COMP%]   .autocomplete-options-list[_ngcontent-%COMP%]   .autocomplete-option.selected[_ngcontent-%COMP%]:after{position:absolute;z-index:1;top:50%;right:16px;display:block;width:12px;height:12px;background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxMiAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEgNi41TDQgMTBMMTEgMiIgc3Ryb2tlPSIjMDA3N0ZGIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4K);background-repeat:no-repeat;background-size:contain;content:"";pointer-events:none;transform:translateY(-50%)}[_nghost-%COMP%]   .autocomplete[_ngcontent-%COMP%]   .autocomplete-options-list[_ngcontent-%COMP%]   .autocomplete-option.no-option[_ngcontent-%COMP%]{color:var(--sec-light-40);cursor:default}[_nghost-%COMP%]   .autocomplete[_ngcontent-%COMP%]   .cancel-icon[_ngcontent-%COMP%]{color:var(--sec-light-20)}'],changeDetection:0})}!function(Ve,Be,ge,Pe){var Yt,He=arguments.length,bt=He<3?Be:null===Pe?Pe=Object.getOwnPropertyDescriptor(Be,ge):Pe;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)bt=Reflect.decorate(Ve,Be,ge,Pe);else for(var sn=Ve.length-1;sn>=0;sn--)(Yt=Ve[sn])&&(bt=(He<3?Yt(bt):He>3?Yt(Be,ge,bt):Yt(Be,ge))||bt);He>3&&bt&&Object.defineProperty(Be,ge,bt)}([(0,H.S)(0),se("design:type",Function),se("design:paramtypes",[Number]),se("design:returntype",void 0)],Ze.prototype,"scrollList",null)},79053:(st,Q,g)=>{"use strict";g.d(Q,{rL:()=>_}),g(58344);var h=g(61142),H=g(56106),z=g(27555),P=g(24153),C=g(48476),B=g(58527);let _=(()=>{class q{static \u0275fac=function(R){return new(R||q)};static \u0275mod=B.$C({type:q});static \u0275inj=B.G2t({imports:[h.MD,H.YN,P.U,C.x,H.X1,z.xB]})}return q})()},76822:(st,Q,g)=>{"use strict";g.d(Q,{F:()=>h});var a=g(58527);let h=(()=>{class H{autofocus=!0;elementRef=(0,a.WQX)(a.aKT);changeDetectorRef=(0,a.WQX)(a.gRc);ngAfterViewInit(){setTimeout(()=>{if(!this.autofocus)return;const P=this.elementRef.nativeElement;P.focus();try{P.selectionStart=P.selectionEnd=P.value.length}catch{}this.changeDetectorRef.detectChanges()},0)}static \u0275fac=function(C){return new(C||H)};static \u0275dir=a.FsC({type:H,selectors:[["","autofocus",""]],inputs:{autofocus:"autofocus"}})}return H})()},74431:(st,Q,g)=>{"use strict";g.d(Q,{k:()=>h});var a=g(58527);let h=(()=>{class H{static \u0275fac=function(C){return new(C||H)};static \u0275mod=a.$C({type:H});static \u0275inj=a.G2t({})}return H})()},53934:(st,Q,g)=>{"use strict";g.d(Q,{m:()=>C});var a=g(58527),h=g(48419),H=g(26015);let z=(()=>{class B{uploader;fileOver=new a.bkB;onFileDrop=new a.bkB;element=(0,a.WQX)(a.aKT);getOptions(){return this.uploader.options}getFilters(){return{}}onDrop(q){const A=this._getTransfer(q);if(!A)return;const X=this.getOptions(),R=this.getFilters();this._preventAndStop(q),this.uploader.addToQueue(A.files,X,R),this.fileOver.emit(!1),this.onFileDrop.emit(A.files)}onDragOver(q){const A=this._getTransfer(q);this._haveFiles(A.types)&&(A.dropEffect="copy",this._preventAndStop(q),this.fileOver.emit(!0))}onDragLeave(q){this.element&&q.currentTarget===this.element[0]||(this._preventAndStop(q),this.fileOver.emit(!1))}_getTransfer(q){return q.dataTransfer?q.dataTransfer:q.originalEvent.dataTransfer}_preventAndStop(q){q.preventDefault(),q.stopPropagation()}_haveFiles(q){return!!q&&(q.indexOf?-1!==q.indexOf("Files"):!!q.contains&&q.contains("Files"))}static \u0275fac=function(A){return new(A||B)};static \u0275dir=a.FsC({type:B,selectors:[["","frontendNg2FileDrop",""]],hostBindings:function(A,X){1&A&&a.bIt("drop",function(ne){return X.onDrop(ne)})("dragover",function(ne){return X.onDragOver(ne)})("dragleave",function(ne){return X.onDragLeave(ne)})},inputs:{uploader:"uploader"},outputs:{fileOver:"fileOver",onFileDrop:"onFileDrop"}})}return B})();const P=["*"];let C=(()=>{class B{apiUrl;id="default-id";maxFilesNumber=h.Z9;maxFileSize=h.w3;existingDocuments=(0,a.hFB)([]);onUploadSuccess=new a.bkB;onUploadFailed=new a.bkB;onFilesSelected=new a.bkB;hasBaseDropZoneOver=!1;fileUpload;fileOverBase(q){this.hasBaseDropZoneOver=q}get uploader(){return this.fileUpload}broadcastUploadSuccess(q){this.onUploadSuccess.emit(q)}broadcastUploadFailed(q){this.onUploadFailed.emit(q)}brodcastFileSelected(q){this.onFilesSelected.emit(q)}static \u0275fac=function(A){return new(A||B)};static \u0275cmp=a.VBU({type:B,selectors:[["frontend-file-dropzone"]],viewQuery:function(A,X){if
3(1&A&&a.GBs(H.P,7),2&A){let R;a.mGM(R=a.lsd())&&(X.fileUpload=R.first)}},inputs:{apiUrl:"apiUrl",id:"id",maxFilesNumber:"maxFilesNumber",maxFileSize:"maxFileSize",existingDocuments:[1,"existingDocuments"]},outputs:{onUploadSuccess:"onUploadSuccess",onUploadFailed:"onUploadFailed",onFilesSelected:"onFilesSelected"},ngContentSelectors:P,decls:5,vars:9,consts:[["frontendNg2FileDrop","",1,"dropzone",3,"fileOver","uploader"],[3,"onUploadSuccess","onUploadFailed","onFilesSelected","id","uploadOnSelect","apiUrl","maxFileSize","maxFilesNumber","existingDocuments"],[1,"file-counter"]],template:function(A,X){if(1&A&&(a.NAR(),a.j41(0,"div",0),a.bIt("fileOver",function(ne){return X.fileOverBase(ne)}),a.SdG(1),a.j41(2,"frontend-file-upload",1),a.bIt("onUploadSuccess",function(ne){return X.broadcastUploadSuccess(ne)})("onUploadFailed",function(ne){return X.broadcastUploadFailed(ne)})("onFilesSelected",function(ne){return X.brodcastFileSelected(ne)}),a.k0s(),a.j41(3,"span",2),a.EFF(4),a.k0s()()),2&A){let R;a.Y8G("uploader",X.uploader.fileUploader),a.R7$(2),a.Y8G("id",X.id)("uploadOnSelect",!1)("apiUrl",X.apiUrl)("maxFileSize",X.maxFileSize)("maxFilesNumber",X.maxFilesNumber)("existingDocuments",X.existingDocuments()),a.R7$(2),a.Lme("",null!==(R=X.uploader.fileUploader.queue.length)&&void 0!==R?R:0," / ",X.maxFilesNumber,"")}},dependencies:[z,H.P],styles:[".dropzone[_ngcontent-%COMP%]{position:relative;overflow-y:auto}.file-counter[_ngcontent-%COMP%]{position:relative;right:0;bottom:0;margin:8px;font-size:12px}.icon-wrapper[_ngcontent-%COMP%]{width:20px;height:20px}"]})}return B})()},26015:(st,Q,g)=>{"use strict";g.d(Q,{b:()=>R,P:()=>ne});var a=g(70650),h=g(58527),H=g(61177),z=g(86421),P=g(77392),C=g(75438);class B extends C.R{documentId;constructor(_e,le){super(_e),this.documentId=le}}var _=g(48419),q=g(59976);let A=(()=>{class se{uploader;onFileSelected=new h.bkB;element=(0,h.WQX)(h.aKT);getOptions(){return this.uploader.options}getFilters(){return{}}onChange(){const le=this.element.nativeElement.files,Re=this.getOptions(),Le=this.getFilters();this.uploader.addToQueue(le,Re,Le),this.onFileSelected.emit(le),this.element.nativeElement.value=""}static \u0275fac=function(Re){return new(Re||se)};static \u0275dir=h.FsC({type:se,selectors:[["","frontendNg2FileSelect",""]],hostBindings:function(Re,Le){1&Re&&h.bIt("change",function(){return Le.onChange()})},inputs:{uploader:"uploader"},outputs:{onFileSelected:"onFileSelected"}})}return se})();const X=["addFileInput"];var R=function(se){return se.FileSize="fileSize",se.FileType="fileType",se.MimeType="mimeType",se.QueueLimit="queueLimit",se.DuplicateDetected="duplicateDetected",se}(R||{});let ne=(()=>{class se{apiUrl;uploadMethod="post";id="default-id";hidden=!0;uploadOnSelect=!0;allowedMimeTypes=["image/png","image/jpg","image/jpeg","application/pdf"];multiple=!0;maxFilesNumber=_.Z9;maxFileSize=_.w3;existingDocuments=(0,h.hFB)([]);onUploadSuccess=new h.bkB;onUploadFailed=new h.bkB;onFilesSelected=new h.bkB;addFileInput;fileUploader;allFilesAdded$=new P.B;allFilesUploaded$=new P.B;uploadError$=new P.B;fileReadError$=new P.B;fileUploadService=(0,h.WQX)(q.QX);logService=(0,h.WQX)(H.Kc);checksumToDocumentMap=(0,h.EWP)(()=>{const le=new Map;return this.existingDocuments().forEach(Re=>{Re.file_checksums?.forEach(Le=>le.set(Le,Re.uuid))}),le});constructor(){this.fileUploader=new _.l0({isHTML5:!0})}ngOnInit(){var le=this;this.fileUploader.setOptions({allowedMimeType:this.allowedMimeTypes,maxFilesNumber:this.maxFilesNumber,maxFileSize:this.maxFileSize||_.w3}),this.initAllFilesAdded(),this.initAllFilesUploaded(),this.initErrorHandling(),this.fileUploader.onAfterAddingFile=Re=>{if(!this.existingDocuments()?.length)return;const Le=new FileReader;Le.onloadend=(0,a.A)(function*(){const Ie={binary:Le.result,type:Re._file.type,name:Re._file.name,checksum:yield le.fileUploadService.calculateChecksum(Le.result)};if(Ie.checksum){const xe=le.checksumToDocumentMap().get(Ie.checksum);xe&&le.onUploadFailed.emit({name:R.DuplicateDetected,file:new B(Re.file,xe)})}}),Le.readAsArrayBuffer(Re._file)},this.fileUploader.onAfterAddingAll=()=>{this.onFilesSelected.emit(this.fileUploader.queue),this.uploadOnSelect&&this.uploadFiles()},this.fileUploader.onWhenAddingFileFailed=(Re,{name:Le})=>{this.onUploadFailed.emit({name:Le,file:Re})}}ngAfterViewInit(){this.multiple&&this.maxFilesNumber>1&&(this.addFileInput.nativeElement.multiple=!0)}ngOnChanges(le){"maxFilesNumber"in le&&(this.multiple&&this.maxFilesNumber>1?this.addFileInput.nativeElement.multiple=!0:(this.addFileInput.nativeElement.removeAttribute("multiple"),this.fileUploader.queue.splice(1,this.fileUploader.queue.length)))}ngOnDestroy(){this.allFilesAdded$.complete(),this.allFilesUploaded$.complete(),this.uploadError$.complete(),this.fileReadError$.complete()}selectFiles(){this.addFileInput.nativeElement.click()}getQueue(){return this.fileUploader.queue}hasFiles(){return this.fileUploader.queue.length>0}uploadFiles(){this.fileUploadService.readFiles(this.fileUploader.queue,this.allFilesAdded$,this.fileReadError$)}removeFromQueue(le){this.fileUploader.queue[le]&&this.fileUploader.queue[le].remove()}initAllFilesAdded(){this.allFilesAdded$.subscribe(le=>{this.fileUploadService.uploadFiles(this.apiUrl,le,this.allFilesUploaded$,this.uploadError$,this.uploadMethod)})}initAllFilesUploaded(){this.allFilesUploaded$.subscribe(le=>{this.fileUploader.clearQueue(),this.onUploadSuccess.emit(le)})}initErrorHandling(){this.uploadError$.subscribe(le=>{const Le=400===(0,z.A)(le,"error.error.status")?"Die ausgew\xe4hlte Datei ist nicht valide.":(0,z.A)(le,"error.error.message");this.logService.error("File upload error:",le),this.fileUploader.clearQueue(),this.onUploadFailed.emit(Le)}),this.fileReadError$.subscribe(le=>{this.logService.error("File read error:",le),this.onUploadFailed.emit({name:le.name,file:le.file})})}static \u0275fac=function(Re){return new(Re||se)};static \u0275cmp=h.VBU({type:se,selectors:[["frontend-file-upload"]],viewQuery:function(Re,Le){if(1&Re&&h.GBs(X,7),2&Re){let Ie;h.mGM(Ie=h.lsd())&&(Le.addFileInput=Ie.first)}},inputs:{apiUrl:"apiUrl",uploadMethod:"uploadMethod",id:"id",hidden:"hidden",uploadOnSelect:"uploadOnSelect",allowedMimeTypes:"allowedMimeTypes",multiple:"multiple",maxFilesNumber:"maxFilesNumber",maxFileSize:"maxFileSize",existingDocuments:[1,"existingDocuments"]},outputs:{onUploadSuccess:"onUploadSuccess",onUploadFailed:"onUploadFailed",onFilesSelected:"onFilesSelected"},features:[h.OA$],decls:2,vars:5,consts:[["addFileInput",""],["type","file","frontendNg2FileSelect","",1,"data-hj-suppress","hea
3p-ignore",3,"uploader","accept","disabled"]],template:function(Re,Le){1&Re&&h.nrm(0,"input",1,0),2&Re&&(h.Y8G("uploader",Le.fileUploader)("accept",Le.allowedMimeTypes.toString())("disabled",Le.fileUploader.queue.length>=Le.maxFilesNumber),h.BMQ("id","btn-upload-"+Le.id)("hidden",Le.hidden))},dependencies:[A],encapsulation:2})}return se})()},92508:(st,Q,g)=>{"use strict";g.d(Q,{mJ:()=>_.m,bS:()=>q.b,eB:()=>B,Z9:()=>A.Z9,w3:()=>A.w3});var a=g(61142),h=g(24153),H=g(58527);let z=(()=>{class X{static \u0275fac=function(se){return new(se||X)};static \u0275mod=H.$C({type:X});static \u0275inj=H.G2t({imports:[a.MD]})}return X})();var P=g(94314),C=g(59976);let B=(()=>{class X{static \u0275fac=function(se){return new(se||X)};static \u0275mod=H.$C({type:X});static \u0275inj=H.G2t({providers:[C.QX,P.V],imports:[z,a.MD,h.U]})}return X})();var _=g(53934),q=g(26015),A=g(48419)},75438:(st,Q,g)=>{"use strict";g.d(Q,{R:()=>h});class h{lastModifiedDate;size;type;name;rawFile;constructor(z){this.rawFile=z;const C=function a(H){return!(!H||!(H.nodeName||H.prop&&H.attr&&H.find))}(z)?z.value:z;this["_createFrom"+("string"==typeof C?"FakePath":"Object")](C)}_createFromFakePath(z){this.lastModifiedDate=void 0,this.size=void 0,this.type="like/"+z.slice(z.lastIndexOf(".")+1).toLowerCase(),this.name=z.slice(z.lastIndexOf("/")+z.lastIndexOf("\\")+2)}_createFromObject(z){this.size=z.size,this.type=z.type,this.name=z.name}}},48419:(st,Q,g)=>{"use strict";g.d(Q,{l0:()=>_,Z9:()=>P,w3:()=>C});var a=g(58527),h=g(75438);class H{file;_file;alias;url="/";method;headers=[];withCredentials=!0;formData=[];isReady=!1;isUploading=!1;isUploaded=!1;isSuccess=!1;isCancel=!1;isError=!1;progress=0;index=void 0;_xhr;_form;uploader;some;options;constructor(A,X,R){this.uploader=A,this.some=X,this.options=R,this.file=new h.R(X),this._file=X,A.options&&(this.method=A.options.method||"POST",this.alias=A.options.itemAlias||"file"),this.url=A.options.url}upload(){try{this.uploader.uploadItem(this)}catch{this.uploader._onCompleteItem(this,"",0,{}),this.uploader._onErrorItem(this,"",0,{})}}cancel(){this.uploader.cancelItem(this)}remove(){this.uploader.removeFromQueue(this)}onBeforeUpload(){}onBuildForm(A){return{form:A}}onProgress(A){return{progress:A}}onSuccess(A,X,R){return{response:A,status:X,headers:R}}onError(A,X,R){return{response:A,status:X,headers:R}}onCancel(A,X,R){return{response:A,status:X,headers:R}}onComplete(A,X,R){return{response:A,status:X,headers:R}}_onBeforeUpload(){this.isReady=!0,this.isUploading=!0,this.isUploaded=!1,this.isSuccess=!1,this.isCancel=!1,this.isError=!1,this.progress=0,this.onBeforeUpload()}_onBuildForm(A){this.onBuildForm(A)}_onProgress(A){this.progress=A,this.onProgress(A)}_onSuccess(A,X,R){this.isReady=!1,this.isUploading=!1,this.isUploaded=!0,this.isSuccess=!0,this.isCancel=!1,this.isError=!1,this.progress=100,this.index=void 0,this.onSuccess(A,X,R)}_onError(A,X,R){this.isReady=!1,this.isUploading=!1,this.isUploaded=!0,this.isSuccess=!1,this.isCancel=!1,this.isError=!0,this.progress=0,this.index=void 0,this.onError(A,X,R)}_onCancel(A,X,R){this.isReady=!1,this.isUploading=!1,this.isUploaded=!1,this.isSuccess=!1,this.isCancel=!0,this.isError=!1,this.progress=0,this.index=void 0,this.onCancel(A,X,R)}_onComplete(A,X,R){this.onComplete(A,X,R),this.uploader.options.removeAfterUpload&&this.remove()}_prepareToUploading(){this.index=this.index||++this.uploader._nextIndex,this.isReady=!0}}let z=(()=>class q{static mime_doc=["application/msword","application/msword","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/vnd.ms-word.document.macroEnabled.12","application/vnd.ms-word.template.macroEnabled.12"];static mime_xsl=["application/vnd.ms-excel","application/vnd.ms-excel","application/vnd.ms-excel","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/vnd.ms-excel.sheet.macroEnabled.12","application/vnd.ms-excel.template.macroEnabled.12","application/vnd.ms-excel.addin.macroEnabled.12","application/vnd.ms-excel.sheet.binary.macroEnabled.12"];static mime_ppt=["application/vnd.ms-powerpoint","application/vnd.ms-powerpoint","application/vnd.ms-powerpoint","application/vnd.ms-powerpoint","application/vnd.openxmlformats-officedocument.presentationml.presentation","application/vnd.openxmlformats-officedocument.presentationml.template","application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/vnd.ms-powerpoint.addin.macroEnabled.12","application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"];static mime_psd=["image/photoshop","image/x-photoshop","image/psd","application/photoshop","application/psd","zz-application/zz-winassoc-psd"];static mime_compress=["application/x-gtar","application/x-gcompress","application/compress","application/x-tar","application/x-rar-compressed","application/octet-stream","application/x-zip-compressed","application/zip-compressed","application/x-7z-compressed","application/gzip","application/x-bzip2"];static getMimeClass(X){let R="application";return-1!==this.mime_psd.indexOf(X.type)||X.type.match("image.*")?R="image":X.type.match("video.*")?R="video":X.type.match("audio.*")?R="audio":"application/pdf"===X.type?R="pdf":-1!==this.mime_compress.indexOf(X.type)?R="compress":-1!==this.mime_doc.indexOf(X.type)?R="doc":-1!==this.mime_xsl.indexOf(X.type)?R="xls":-1!==this.mime_ppt.indexOf(X.type)&&(R="ppt"),"application"===R&&(R=this.fileTypeDetection(X.name)),R}static fileTypeDetection(X){const R={jpg:"image",jpeg:"image",tif:"image",psd:"image",bmp:"image",png:"image",nef:"image",tiff:"image",cr2:"image",dwg:"image",cdr:"image",ai:"image",indd:"image",pin:"image",cdp:"image",skp:"image",stp:"image","3dm"
3:"image",mp3:"audio",wav:"audio",wma:"audio",mod:"audio",m4a:"audio",compress:"compress",zip:"compress",rar:"compress","7z":"compress",lz:"compress",z01:"compress",bz2:"compress",gz:"compress",pdf:"pdf",xls:"xls",xlsx:"xls",ods:"xls",mp4:"video",avi:"video",wmv:"video",mpg:"video",mts:"video",flv:"video","3gp":"video",vob:"video",m4v:"video",mpeg:"video",m2ts:"video",mov:"video",doc:"doc",docx:"doc",eps:"doc",txt:"doc",odt:"doc",rtf:"doc",ppt:"ppt",pptx:"ppt",pps:"ppt",ppsx:"ppt",odp:"ppt"},ne=X.split(".");if(ne.length<2)return"application";const se=ne[ne.length-1].toLowerCase();return void 0===R[se]?"application":R[se]}})();const P=20,C=26214399;class _{authToken;isUploading=!1;queue=[];progress=0;_nextIndex=0;autoUpload;authTokenHeader;response;options={autoUpload:!1,isHTML5:!0,filters:[],removeAfterUpload:!1,disableMultipart:!1,formatDataFunction:A=>A._file,formatDataFunctionIsAsync:!1};_failFilterIndex;constructor(A){this.setOptions(A),this.response=new a.bkB}setOptions(A){this.options=Object.assign(this.options,A),this.authToken=this.options.authToken,this.authTokenHeader=this.options.authTokenHeader||"Authorization",this.autoUpload=this.options.autoUpload,this.options.filters.unshift({name:"queueLimit",fn:this._queueLimitFilter}),this.options.maxFileSize&&this.options.filters.unshift({name:"fileSize",fn:this._fileSizeFilter}),this.options.allowedFileType&&this.options.filters.unshift({name:"fileType",fn:this._fileTypeFilter}),this.options.allowedMimeType&&this.options.filters.unshift({name:"mimeType",fn:this._mimeTypeFilter});for(let X=0;X<this.queue.length;X++)this.queue[X].url=this.options.url}addToQueue(A,X,R){const ne=[];for(const Re of A)ne.push(Re);const se=this._getFilters(R),_e=this.queue.length,le=[];ne.map(Re=>{X||(X=this.options);const Le=new h.R(Re),Ie=X.maxFilesNumber??P;if(this._isValidFile(Le,se,X)&&this.queue.length<Ie){const xe=new H(this,Re,X);le.push(xe),this.queue.push(xe),this._onAfterAddingFile(xe)}else this._onWhenAddingFileFailed(Le,se[this._failFilterIndex],X)}),this.queue.length!==_e&&(this._onAfterAddingAll(le),this.progress=this._getTotalProgress()),this._render(),this.options.autoUpload&&this.uploadAll()}removeFromQueue(A){const X=this.getIndexOfItem(A),R=this.queue[X];R.isUploading&&R.cancel(),this.queue.splice(X,1),this.progress=this._getTotalProgress()}clearQueue(){for(;this.queue.length;)this.queue[0].remove();this.progress=0}uploadItem(A){const X=this.getIndexOfItem(A),R=this.queue[X],ne=this.options.isHTML5?"_xhrTransport":"_iframeTransport";R._prepareToUploading(),!this.isUploading&&(this.isUploading=!0,this[ne](R))}cancelItem(A){const X=this.getIndexOfItem(A),R=this.queue[X];R&&R.isUploading&&(this.options.isHTML5?R._xhr:R._form).abort()}uploadAll(){const A=this.getNotUploadedItems().filter(X=>!X.isUploading);A.length&&(A.map(X=>X._prepareToUploading()),A[0].upload())}cancelAll(){this.getNotUploadedItems().map(X=>X.cancel())}isFile(A){return function B(q){return File&&q instanceof File}(A)}isFileLikeObject(A){return A instanceof h.R}getIndexOfItem(A){return"number"==typeof A?A:this.queue.indexOf(A)}getNotUploadedItems(){return this.queue.filter(A=>!A.isUploaded)}getReadyItems(){return this.queue.filter(A=>A.isReady&&!A.isUploading).sort((A,X)=>A.index-X.index)}destroy(){}onAfterAddingAll(A){return{fileItems:A}}onBuildItemForm(A,X){return{fileItem:A,form:X}}onAfterAddingFile(A){return{fileItem:A}}onWhenAddingFileFailed(A,X,R){return{item:A,filter:X,options:R}}onBeforeUploadItem(A){return{fileItem:A}}onProgressItem(A,X){return{fileItem:A,progress:X}}onProgressAll(A){return{progress:A}}onSuccessItem(A,X,R,ne){return{item:A,response:X,status:R,headers:ne}}onErrorItem(A,X,R,ne){return{item:A,response:X,status:R,headers:ne}}onCancelItem(A,X,R,ne){return{item:A,response:X,status:R,headers:ne}}onCompleteItem(A,X,R,ne){return{item:A,response:X,status:R,headers:ne}}onCompleteAll(){}_mimeTypeFilter(A){return!(this.options.allowedMimeType&&-1===this.options.allowedMimeType.indexOf(A.type))}_fileSizeFilter(A){return!(this.options.maxFileSize&&A.size>this.options.maxFileSize)}_fileTypeFilter(A){return!(this.options.allowedFileType&&-1===this.options.allowedFileType.indexOf(z.getMimeClass(A)))}_onErrorItem(A,X,R,ne){A._onError(X,R,ne),this.onErrorItem(A,X,R,ne)}_onCompleteItem(A,X,R,ne){A._onComplete(X,R,ne),this.onCompleteItem(A,X,R,ne);const se=this.getReadyItems()[0];this.isUploading=!1,se?se.upload():(this.onCompleteAll(),this.progress=this._getTotalProgress(),this._render())}_headersGetter(A){return X=>X?A[X.toLowerCase()]||void 0:A}_xhrTransport(A){const X=this,R=A._xhr=new XMLHttpRequest;let ne;if(this._onBeforeUploadItem(A),"number"!=typeof A._file.size)throw new TypeError("The file specified is no longer valid");if(this.options.disableMultipart)ne=this.options.formatDataFunction(A);else{ne=new FormData,this._onBuildItemForm(A,ne);const se=()=>ne.append(A.alias,A._file,A.file.name);this.options.parametersBeforeFiles||se(),void 0!==this.options.additionalParameter&&Object.keys(this.options.additionalParameter).forEach(_e=>{let le=this.options.additionalParameter[_e];"string"==typeof le&&le.indexOf("{{file_name}}")>=0&&(le=le.replace("{{file_name}}",A.file.name)),ne.append(_e,le)}),this.options.parametersBeforeFiles&&se()}if(R.upload.onprogress=se=>{const _e=Math.round(se.lengthComputable?100*se.loaded/se.total:0);this._onProgressItem(A,_e)},R.onload=()=>{const se=this._parseHeaders(R.getAllResponseHeaders()),_e=this._transformResponse(R.response,se);this["_on"+(this._isSuccessCode(R.status)?"Success":"Error")+"Item"](A,_e,R.status,se),this._onCompleteItem(A,_e,R.status,se)},R.onerror=()=>{const se=this._parseHeaders(R.getAllResponseHeaders()),_e=this._transformResponse(R.response,se);this._onErrorItem(A,_e,R.status,se),this._onCompleteItem(A,_e,R.status,se)},R.onabort=()=>{const se=this._parseHeaders(R.getAllResponseHeaders()),_e=this._transformResponse(R.response,se);this._onCancelItem(A,_e,R.status,se),this._onCompleteItem(A,_e,R.status,se)},R.open(A.method,A.url,!0),R.withCredentials=A.withCredentials,this.options.headers)for(const se of this.options.headers)R.setRequestHeader(se.name,se.value);if(A.headers.length)for(const se of A.headers)R.setRequestHeader(se.name,se.value);this.authToken&&R.setRequestHeader(this.authTokenHeader,this.authToken),R.onreadystatechange=function(){R.readyState===XMLHttpRequest.DONE&&X.response.emit(R.responseText)},this.options.formatDataFunctionIsAsync?ne.then(se=>R.send(JSON.stringify(se))):R.send(ne),this._render()}_getTotalProgress(A=0){if(this.options.removeAfterUpload)return A;const X=this.getNotUploadedItems().length,ne=100/this.queue.length;return Math.round((X?this.queue.length-X:this.queue.length)*ne+A*ne/100)}_getFilters(A){if(!A)return this.options.filters;if(Array.isArray(A))return A;if("string"==typeof A){const X=A.match(/[^\s,]+/g);return this.options.filters.filter(R=>-1!==X.indexOf(R.name))}return this.options.filters}_render(){}_queueLimitFilter(){return void 0===this.options.queueLimit||this.queue.length<this.options.queueLimit}_isValidFile(A,X,R){return this._failFilterIndex=-1,!X.length||X.every(ne=>(this._failFilterIndex++,ne.fn.call(this,A,R)))}_isSuccessCode(A){return A>=200&&A<300||304===A}_transformResponse(A,X){return A}_parseHeaders(A){const X={};let R,ne,se;return A&&A.split("\n").map(_e=>{se=_e.indexOf(":"),R=_e.slice(0,se).trim().toLowerCase(),ne=_e.slice(se+1).trim(),R&&(X[R]=X[R]?X[R]+", "+ne:ne)}),X}_onWhenAddingFileFailed(A,X,R){this.onWhenAddingFileFailed(A,X,R)}
3_onAfterAddingFile(A){this.onAfterAddingFile(A)}_onAfterAddingAll(A){this.onAfterAddingAll(A)}_onBeforeUploadItem(A){A._onBeforeUpload(),this.onBeforeUploadItem(A)}_onBuildItemForm(A,X){A._onBuildForm(X),this.onBuildItemForm(A,X)}_onProgressItem(A,X){const R=this._getTotalProgress(X);this.progress=R,A._onProgress(X),this.onProgressItem(A,X),this.onProgressAll(R),this._render()}_onSuccessItem(A,X,R,ne){A._onSuccess(X,R,ne),this.onSuccessItem(A,X,R,ne)}_onCancelItem(A,X,R,ne){A._onCancel(X,R,ne),this.onCancelItem(A,X,R,ne)}}},94314:(st,Q,g)=>{"use strict";g.d(Q,{V:()=>H});var a=g(70650),h=g(58527);let H=(()=>{class z{calculateSHA1(C){return(0,a.A)(function*(){const B=yield crypto.subtle.digest("SHA-1",C);return Array.from(new Uint8Array(B)).map(q=>q.toString(16).padStart(2,"0")).join("")})()}static \u0275fac=function(B){return new(B||z)};static \u0275prov=h.jDH({token:z,factory:z.\u0275fac})}return z})()},59976:(st,Q,g)=>{"use strict";g.d(Q,{QX:()=>le});var a=g(70650),h=g(94485),H=g(58527),z=g(61177),P=g(66554),C=g(19688),B=g(92411);const q=(Te,Ne)=>(Te.push(Ne),Te);var X=g(60494),R=g(80560),ne=g(80489),se=g(18718),_e=g(94314);let le=(()=>{class Te{http=(0,H.WQX)(h.Qq);checksumService=(0,H.WQX)(_e.V);logger=(0,H.WQX)(z.Kc);readFiles(he,Me,ct){return function Re(Te,Ne,he,Me){const ct=Te.map(yt=>function Le(Te,Ne){const he=new FileReader,Me=new se.c(ct=>{he.onloadend=(0,a.A)(function*(){const yt={binary:he.result,type:Te._file.type,name:Te._file.name,checksum:yield Ie(he.result,Ne)};ct.next(yt),ct.complete()}),he.onerror=yt=>ct.error(yt)});return he.readAsArrayBuffer(Te._file),Me}(yt,Me));return(0,ne.p)(ct).pipe((0,X.W)(yt=>(he.next(yt),R.w))).subscribe(yt=>Ne.next(yt))}(he,Me,ct,this.getChecksumContext())}calculateChecksum(he){var Me=this;return(0,a.A)(function*(){return Ie(he,Me.getChecksumContext())})()}uploadFiles(he,Me,ct,yt,Se="post"){const ke=Me.map(Ze=>{const Ve=new h.Lr({"X-ON-ORIGINAL-FILENAME":encodeURI(Ze.name),"Content-Type":Ze.type});switch(Se){case"post":return this.http.post(he,Ze.binary,{headers:Ve});case"put":return this.http.put(he,Ze.binary,{headers:Ve})}});(0,P.x)(...ke).pipe(function A(){return(0,B.N)((Te,Ne)=>{(function _(Te,Ne){return(0,B.N)((0,C.S)(Te,Ne,arguments.length>=2,!1,!0))})(q,[])(Te).subscribe(Ne)})}(),(0,X.W)(Ze=>(yt.next(Ze),R.w))).subscribe(Ze=>ct.next(Ze))}getChecksumContext(){return{checksumService:this.checksumService,logService:this.logger}}static \u0275fac=function(Me){return new(Me||Te)};static \u0275prov=H.jDH({token:Te,factory:Te.\u0275fac})}return Te})();function Ie(Te,Ne){return xe.apply(this,arguments)}function xe(){return(xe=(0,a.A)(function*(Te,Ne){if(Ne?.checksumService&&Te instanceof ArrayBuffer)try{return yield Ne.checksumService.calculateSHA1(Te)}catch(he){return void Ne.logService?.error("Failed to calculate checksum:",he)}})).apply(this,arguments)}},48476:(st,Q,g)=>{"use strict";g.d(Q,{x:()=>B});var a=g(61142),h=g(56106),H=g(24153),z=g(74431),P=g(58527);let C=(()=>{class q{static \u0275fac=function(R){return new(R||q)};static \u0275mod=P.$C({type:q});static \u0275inj=P.G2t({})}return q})(),B=(()=>{class q{static \u0275fac=function(R){return new(R||q)};static \u0275mod=P.$C({type:q});static \u0275inj=P.G2t({imports:[a.MD,h.X1,C,H.U,z.k]})}return q})();g(84284)},84284:(st,Q,g)=>{"use strict";g.d(Q,{S:()=>Se});var a=g(58527),h=g(56106),H=g(51376),z=g(77392),P=g(58468),C=g(61142),B=g(49182);let q=(()=>{class ke{textMaskConfig={mask:[],guide:!0,placeholderChar:"_",pipe:void 0,keepCharPositions:!1};textMaskInputElement;inputElement;composing=!1;renderer=(0,a.WQX)(a.sFG);elementRef=(0,a.WQX)(a.aKT);compositionMode=(0,a.WQX)(h.mP,{optional:!0});constructor(){null==this.compositionMode&&(this.compositionMode=!function _(){const ke=(0,C.QT)()?(0,C.QT)().getUserAgent():"";return/android (\d+)/.test(ke.toLowerCase())}())}ngOnChanges(){this.setupMask(!0),void 0!==this.textMaskInputElement&&this.textMaskInputElement.update(this.inputElement.value)}writeValue(Ve){this.setupMask(),this.renderer.setProperty(this.inputElement,"value",Ve??""),void 0!==this.textMaskInputElement&&"number"!==this.inputElement.type&&this.textMaskInputElement.update(Ve)}onChange=()=>{};onTouched=()=>{};registerOnChange(Ve){this.onChange=Ve}registerOnTouched(Ve){this.onTouched=Ve}setDisabledState(Ve){this.renderer.setProperty(this.elementRef.nativeElement,"disabled",Ve)}compositionStart(){this.composing=!0}compositionEnd(Ve){this.composing=!1,this.compositionMode&&this.handleInput(Ve)}setupMask(Ve=!1){this.inputElement||(this.inputElement="INPUT"===this.elementRef.nativeElement.tagName.toUpperCase()?this.elementRef.nativeElement:this.elementRef.nativeElement.getElementsByTagName("INPUT")[0]),this.inputElement&&Ve&&(this.textMaskInputElement=(0,B.createTextMaskInputElement)(Object.assign({inputElement:this.inputElement},this.textMaskConfig)))}handleInput(Ve){(!this.compositionMode||this.compositionMode&&!this.composing)&&(this.setupMask(),void 0!==this.textMaskInputElement&&("number"!==this.inputElement.type&&this.textMaskInputElement.update(Ve),this.onChange(Ve=this.inputElement.value)))}static \u0275fac=function(Be){return new(Be||ke)};static \u0275dir=a.FsC({type:ke,selectors:[["","textMask",""]],hostBindings:function(Be,ge){1&Be&&a.bIt("blur",function(){return ge.onTouched()})("compositionstart",function(){return ge.compositionStart()})("compositionend",function(He){return ge.compositionEnd(He.target.value)})("input",function(He){return ge.handleInput(He.target.value)})},inputs:{textMaskConfig:[0,"textMask","textMaskConfig"]},exportAs:["textMask"],features:[a.Jv_([{provide:h.kq,useExisting:(0,a.Rfq)(()=>ke),multi:!0}]),a.OA$]})}return ke})();var A=g(73466),X=g(35610),R=g(76822),ne=g(3410);const se=["elementRef"],_e=[[["","custom-input-icon",""]],[["","input-tooltip",""]]],le=["[custom-input-icon]","[input-tooltip]"];function Re(ke,Ze){if(1&ke&&(a.j41(0,"label",3),a.EFF(1),a.k0s()),2&ke){const Ve=a.XpG();a.Y8G("for",Ve.innerInputId),a.R7$(),a.SpI(" ",Ve.label," ")}}function Le(ke,Ze){if(1&ke&&(a.j41(0,"span",5),a.EFF(1),a.k0s()),2&ke){const Ve=a.XpG();a.R7$(),a.SpI(" ",Ve.prefix," ")}}function Ie(ke,Ze){if(1&ke){const Ve=a.RV6();a.j41(0,"span",7)(1,"span",9),a.bIt("click",function(){a.eBV(Ve);const ge=a.XpG();return a.Njj(ge.handleClearClick())}),a.nrm(2,"frontend-image",10),a.k0s()()}if(2&ke){const Ve=a.XpG();a.R7$(),a.BMQ("data-cy",Ve.dataCyClearButton),a.R7$(),a.Y8G("stretchToContainer",!0)}}function xe(ke,Ze){if(1&ke){const Ve=a.RV6();a.j41(0,"frontend-image",14),a.bIt("elementSelected",function(ge){a.eBV(Ve);const Pe=a.XpG(2);return a.Njj(Pe.handleIconClick(ge))}),a.k0s()}if(2&ke){const Ve=a.XpG(2);a.Y8G("file",Ve.iconName)("stretchToContainer",!0)("focusable",!0)}}function Te(ke,Ze){1&ke&&a.SdG(0)}function Ne(ke,Ze){if(1&ke){const Ve=a.RV6();a.j41(0,"span",11),a.bIt("mousedown",function(ge){a.eBV(Ve);const Pe=a.XpG();return a.Njj(Pe.handleIconClick(ge))}),a.j41(1,"span",12),a.DNE(2,xe,1,3,"frontend-image",13)(3,Te,1,0),a.k0s()()}if(2&ke){const Ve=a.XpG();a.R7$(2),a.vxM(Ve.iconName?2:3)}}function he(ke,Ze){1&ke&&a.SdG(0,1)}function Me(ke,Ze){if(1&ke){const Ve=a.RV6();a.j41(0,"span",7)(1,"span",15),a.bIt("mouseenter",function(){a.eBV(Ve);const ge=a.XpG();return a.Njj(ge.showTooltip=!0)})("mouseleave",function(){a.eBV(Ve);const ge=a.XpG();return a.Njj(ge.showTooltip=!1)}),a.j41(2,"frontend-tooltip",16),a.DNE(3,he,1,0,"ng-template",null,1,a.C5r),a.k0s(),a.nrm(5,"frontend-image",17),a.k0s()()}if(2&ke){const Ve=a.XpG();a.R7$(2),a.Y8G("show",Ve.showTooltip)("multiline",!0)("position",Ve.tooltipPosition),a.R7$(3),a.Y8G("stretchToContainer",!0)}}function ct(ke,Ze){if(1&ke&&(a.j41(0,"span",8),a.EFF(1),a.k0s()),2&ke){const Ve=a.XpG();a.R7$(),a.SpI(" ",Ve.suffix," ")}}const yt=["border-top-left-radius","border-top-right-radius","border-bottom-right-radius","border-bottom-left-radius"];let Se=(()=>{class ke{type="text";inputmode;size;label;innerInputId=crypto.randomUUID();placeholder="";prefix;suffix;pattern;withCenteredText=!1;autoselect=!1;autofocus=!1;autocomplete="on";tabIndex=0;minLength=0;maxLength;disabled=null;focused=!1;cleanable;error=!1;readonly=!1;textMaskConfig={mask:!1};flatCornersConfig;withIcon;iconName;withTooltip;tooltipPosition="top";dataCy;dataCyClearButton;showError;ariaAttributes;min=null;max=null;onFocus=new a.bkB;onBlur=new a.bkB;onTab=new a.bkB;onEnter=new a.bkB;onEsc=new a.bkB;onArrowUp=new a.bkB;onArrowDown=new a.bkB;onIconClick=new a.bkB;onInputClick=new a.bkB;onKeyDown=new a.bkB;onClear=new a.bkB;onPaste=(0,a.CGW)();elementRef;set value(Ve){this._value=Ve,this.onChange(Ve),this.onTouched()}get value(){return this._value}form;component$=new z.B;frontendComponentSize=H.H7o;borderRadiusStyles={};showTooltip;formBuilder=(0,a.WQX)(h.ze);_value;ngOnInit(){this.form=this.formBuilder.group({value:[this.value]}),this.form.controls.value.valueChanges.pipe((0,P.Q)(this.component$)).subscribe(Ve=>{this.value="number"===this.type?Number(Ve):Ve})}ngOnChanges(Ve){Ve.flatCornersConfig&&Ve.flatCornersConfig.previousValue!==Ve.flatCornersConfig.currentValue&&(Ve.flatCornersConfig.currentValue?this.adjustBorderRadius():this.borderRadiusStyles={})}writeValue(Ve){this.form.controls.value.setValue(Ve,{emitEvent:!1})}registerOnChange(Ve){this.onChange=Ve}registerOnTouched(Ve){this.onTouched=Ve}setDisabledState(Ve){this.disabled=Ve,Ve?this.form.disable():this.form.enable()}ngOnDestroy(){this.component$.next(),this.component$.complete()}focus(){this.elementRef.nativeElement.focus()}handleFocus(){this.autoselect&&this.elementRef.nativeElement.select(),this.onFocus.emit()}handleBlur(){this.showError=!0,this.onBlur.emit()}handleTab(){this.onTab.emit()}handleEnter(){this.onEnter.emit()}handleEsc(){this.onEsc.emit()}handleArrowUp(){this.onArrowUp.emit()}handleArrowDown(){this.onArrowDown.emit()}handleKeyDown(Ve){this.onKeyDown.emit(Ve)}handleIconClick(Ve){this.onIconClick.emit(Ve),setTimeout(()=>
3this.elementRef.nativeElement.focus(),0)}handleInputClick(Ve){this.onInputClick.emit(Ve)}handleClearClick(){this.form.controls.value.setValue(null),this.onClear.emit()}onChange=()=>{};onTouched=()=>{};adjustBorderRadius(){const Ve=this.flatCornersConfig.split(" ").map(Be=>"true"===Be);this.borderRadiusStyles=yt.reduce((Be,ge,Pe)=>Ve[Pe]?Object.assign(Be,{[ge]:0}):Be,{})}static \u0275fac=function(Be){return new(Be||ke)};static \u0275cmp=a.VBU({type:ke,selectors:[["frontend-input"]],viewQuery:function(Be,ge){if(1&Be&&a.GBs(se,5),2&Be){let Pe;a.mGM(Pe=a.lsd())&&(ge.elementRef=Pe.first)}},inputs:{type:"type",inputmode:"inputmode",size:"size",label:"label",innerInputId:"innerInputId",placeholder:"placeholder",prefix:"prefix",suffix:"suffix",pattern:"pattern",withCenteredText:"withCenteredText",autoselect:"autoselect",autofocus:"autofocus",autocomplete:"autocomplete",tabIndex:"tabIndex",minLength:"minLength",maxLength:"maxLength",disabled:"disabled",focused:"focused",cleanable:"cleanable",error:"error",readonly:"readonly",textMaskConfig:"textMaskConfig",flatCornersConfig:"flatCornersConfig",withIcon:"withIcon",iconName:"iconName",withTooltip:"withTooltip",tooltipPosition:"tooltipPosition",dataCy:"dataCy",dataCyClearButton:"dataCyClearButton",showError:"showError",ariaAttributes:"ariaAttributes",min:"min",max:"max",value:"value"},outputs:{onFocus:"onFocus",onBlur:"onBlur",onTab:"onTab",onEnter:"onEnter",onEsc:"onEsc",onArrowUp:"onArrowUp",onArrowDown:"onArrowDown",onIconClick:"onIconClick",onInputClick:"onInputClick",onKeyDown:"onKeyDown",onClear:"onClear",onPaste:"onPaste"},features:[a.Jv_([{provide:h.kq,useExisting:(0,a.Rfq)(()=>ke),multi:!0}]),a.OA$],ngContentSelectors:le,decls:10,vars:43,consts:[["elementRef",""],["content",""],[1,"otto-form-element",3,"formGroup"],[1,"label",3,"for"],[1,"otto-field-wrapper","otto-input",3,"ngStyle"],[1,"otto-prefix"],["formControlName","value",1,"otto-field","data-hj-suppress","heap-ignore",3,"focus","focusout","paste","keydown.tab","keydown.enter","keydown.esc","keyup.arrowup","keyup.arrowdown","keydown","click","id","type","placeholder","autocomplete","tabindex","minlength","maxlength","autofocus","textMask","readOnly"],[1,"otto-input-icon"],[1,"otto-suffix","word-break-normal"],[1,"crossed-icon-wrapper",3,"click"],["type","svg","file","crossed.svg",1,"crossed-icon",3,"stretchToContainer"],[1,"otto-input-icon",3,"mousedown"],[1,"input-icon-wrapper"],["type","svg","role","button","frontendAccessible","",1,"input-icon",3,"file","stretchToContainer","focusable"],["type","svg","role","button","frontendAccessible","",1,"input-icon",3,"elementSelected","file","stretchToContainer","focusable"],[1,"otto-tooltip-icon-wrapper",3,"mouseenter","mouseleave"],[3,"show","multiline","position"],["type","svg","file","question-mark.svg",1,"otto-tooltip-icon",3,"stretchToContainer"]],template:function(Be,ge){if(1&Be){const Pe=a.RV6();a.NAR(_e),a.j41(0,"div",2),a.DNE(1,Re,2,2,"label",3),a.j41(2,"div",4),a.DNE(3,Le,2,1,"span",5),a.j41(4,"input",6,0),a.bIt("focus",function(){return a.eBV(Pe),a.Njj(ge.handleFocus())})("focusout",function(){return a.eBV(Pe),a.Njj(ge.handleBlur())})("paste",function(bt){return a.eBV(Pe),a.Njj(ge.onPaste.emit(bt))})("keydown.tab",function(){return a.eBV(Pe),a.Njj(ge.handleTab())})("keydown.enter",function(){return a.eBV(Pe),a.Njj(ge.handleEnter())})("keydown.esc",function(){return a.eBV(Pe),a.Njj(ge.handleEsc())})("keyup.arrowup",function(){return a.eBV(Pe),a.Njj(ge.handleArrowUp())})("keyup.arrowdown",function(){return a.eBV(Pe),a.Njj(ge.handleArrowDown())})("keydown",function(bt){return a.eBV(Pe),a.Njj(ge.handleKeyDown(bt))})("click",function(bt){return a.eBV(Pe),a.Njj(ge.handleInputClick(bt))}),a.k0s(),a.DNE(6,Ie,3,2,"span",7)(7,Ne,4,1,"span",7)(8,Me,6,4,"span",7)(9,ct,2,1,"span",8),a.k0s()()}2&Be&&(a.AVh("error",ge.showError&&ge.error)("empty",null==ge.form.controls.value.value||0===ge.form.controls.value.value.length)("disabled",ge.disabled)("focused",ge.focused)("sm",ge.size===ge.frontendComponentSize.Sm)("lg",ge.size===ge.frontendComponentSize.Lg)("text-centered",ge.withCenteredText),a.Y8G("formGroup",ge.form),a.R7$(),a.vxM(ge.label?1:-1),a.R7$(),a.Y8G("ngStyle",ge.borderRadiusStyles),a.R7$(),a.vxM(ge.prefix?3:-1),a.R7$(),a.Y8G("id",ge.innerInputId)("type",ge.type)("placeholder",ge.placeholder)("autocomplete",ge.autocomplete)("tabindex",ge.tabIndex)("minlength",ge.minLength)("maxlength",ge.maxLength)("autofocus",ge.autofocus)("textMask",ge.textMaskConfig)("readOnly",ge.readonly),a.BMQ("inputmode",ge.inputmode)("disabled",ge.disabled||null)("pattern",ge.pattern)("data-cy",ge.dataCy)("aria-invalid",null==ge.ariaAttributes?null:ge.ariaAttributes["aria-invalid"])("aria-errorMessage",null==ge.ariaAttributes?null:ge.ariaAttributes["aria-error-message"])("aria-label",null==ge.ariaAttributes?null:ge.ariaAttributes["aria-label"])("aria-labelledby",null==ge.ariaAttributes?null:ge.ariaAttributes["aria-labelledby"])("aria-autocomplete",null==ge.ariaAttributes?null:ge.ariaAttributes["aria-autocomplete"])("min","number"===ge.type?ge.min:null)("max","number"===ge.type?ge.max:null),a.R7$(2),a.vxM(ge.cleanable&&ge.form.controls.value.value?6:-1),a.R7$(),a.vxM(ge.withIcon?7:-1),a.R7$(),a.vxM(ge.withTooltip?8:-1),a.R7$(),a.vxM(ge.suffix?9:-1))},dependencies:[C.B3,h.me,h.BC,h.cb,h.xh,h.tU,h.j4,h.JD,q,A.h,X.b,R.F,ne.k],styles:['.otto-form-element[_ngcontent-%COMP%]{position:relative;--color: var(--dark);--color-accent: var(--text);--placeholder-color: var(--text-light);--border-color: var(--border);--background: var(--white);--font-size: 16px;--line-height: 22px;--padding: 12px 16px;--border-radius: var(--border-radius-sm);--padding-between: 8px;--color-icon: var(--sec-light-20)}.otto-form-element[_ngcontent-%COMP%]:hover{--border-color: var(--border-dark)}.otto-form-element[_ngcontent-%COMP%]:focus-within, .otto-form-element.focused[_ngcontent-%COMP%]{--border-color: var(--primary);--color-accent: var(--primary);--color-icon: var(--primary)}.otto-form-element.disabled[_ngcontent-%COMP%]{--background: var(--disabled);--color: var(--sec-light-40);--color-accent: var(--text-light);--placeholder-color: var(--text-lighter);--border-color: var(--border);pointer-events:none}.otto-form-element.disabled[_ngcontent-%COMP%]   .otto-loader[_ngcontent-%COMP%]{--color-spinner: var(--sec-light-20);--color-bg: var(--sec-light-05)}.otto-form-element.error[_ngcontent-%COMP%]{--border-color: var(--danger);--color-accent: var(--danger);--color-icon: var(--danger)}.otto-form-element.error[_ngcontent-%COMP%]   .otto-loader[_ngcontent-%COMP%]{--color-spinner: var(--danger)}.otto-form-element[_ngcontent-%COMP%]   .error-message[_ngcontent-%COMP%]{position:absolute;
3left:0;font-weight:700;font-size:12px;color:var(--danger)}.otto-form-element.empty[_ngcontent-%COMP%]   .otto-select[_ngcontent-%COMP%]   .otto-field[_ngcontent-%COMP%]{color:var(--placeholder-color)}.otto-form-element.text-centered[_ngcontent-%COMP%]   .otto-field[_ngcontent-%COMP%]{text-align:center}.otto-field-wrapper[_ngcontent-%COMP%]{position:relative;display:flex;font-size:var(--font-size);line-height:var(--line-height);font-weight:500;border-radius:var(--border-radius);border:1px solid var(--border-color);color:var(--color);background:var(--background);transition:border .3s ease,color .3s ease,background .3s ease}.otto-field-wrapper[_ngcontent-%COMP%]:focus-within{outline:3px solid var(--primary);outline-offset:3px}.otto-field[_ngcontent-%COMP%]{flex-grow:1;width:100%;border:none;background:none;border-radius:var(--border-radius);margin:0;color:inherit;outline:none;-webkit-appearance:none;padding:var(--padding)}.otto-field[_ngcontent-%COMP%]:focus{outline:none}.otto-field[_ngcontent-%COMP%]::placeholder{color:var(--placeholder-color)}.otto-field[type=number][_ngcontent-%COMP%]::-webkit-inner-spin-button, .otto-field[type=number][_ngcontent-%COMP%]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.otto-field[type=number][_ngcontent-%COMP%]{-moz-appearance:textfield}.sm[_ngcontent-%COMP%]   .otto-form-element[_ngcontent-%COMP%], .sm.otto-form-element[_ngcontent-%COMP%]{--line-height: 22px;--padding: 7px 12px 5px;--font-size: 14px;--border-radius: var(--border-radius-xs)}.lg[_ngcontent-%COMP%]   .otto-form-element[_ngcontent-%COMP%], .lg.otto-form-element[_ngcontent-%COMP%]{--padding: 25px 16px 7px 16px}.lg[_ngcontent-%COMP%]   .otto-form-element[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%], .lg.otto-form-element[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{line-height:var(--line-height);z-index:1;color:var(--color-accent);font-weight:400;position:absolute;left:16px;pointer-events:none;transition:.2s;top:7px;font-size:.8em}.lg[_ngcontent-%COMP%]   .otto-form-element.text-centered[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%], .lg.otto-form-element.text-centered[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{left:50%;transform:translate(-50%)}.lg[_ngcontent-%COMP%]   .otto-form-element[_ngcontent-%COMP%]   .otto-field[_ngcontent-%COMP%]::placeholder, .lg.otto-form-element[_ngcontent-%COMP%]   .otto-field[_ngcontent-%COMP%]::placeholder{color:var(--text-lighter)}.otto-field-wrapper.otto-input[_ngcontent-%COMP%]   .otto-field[_ngcontent-%COMP%]:not(:first-child){padding-left:var(--padding-between)}.otto-field-wrapper.otto-input[_ngcontent-%COMP%]   .otto-field[_ngcontent-%COMP%]:not(:last-child){padding-right:var(--padding-between)}.otto-field-wrapper[_ngcontent-%COMP%]   .otto-prefix[_ngcontent-%COMP%], .otto-field-wrapper[_ngcontent-%COMP%]   .otto-suffix[_ngcontent-%COMP%], .otto-field-wrapper[_ngcontent-%COMP%]   .otto-loader[_ngcontent-%COMP%]{color:var(--color-accent);padding:var(--padding)}.otto-field-wrapper[_ngcontent-%COMP%]   .otto-prefix[_ngcontent-%COMP%]{padding-right:0}.otto-field-wrapper[_ngcontent-%COMP%]   .otto-suffix[_ngcontent-%COMP%], .otto-field-wrapper[_ngcontent-%COMP%]   .otto-loader[_ngcontent-%COMP%]{padding-left:0}.otto-field-wrapper[_ngcontent-%COMP%]   .otto-label-prefix[_ngcontent-%COMP%]{display:none}.otto-field-wrapper[_ngcontent-%COMP%]   .otto-loader[_ngcontent-%COMP%]{display:flex;align-items:center}.otto-field-wrapper[_ngcontent-%COMP%]   .otto-loader[_ngcontent-%COMP%] > svg[_ngcontent-%COMP%]{width:var(--font-size)}.sm[_ngcontent-%COMP%]   .otto-form-element[_ngcontent-%COMP%]   .otto-loader[_ngcontent-%COMP%], .sm.otto-form-element[_ngcontent-%COMP%]   .otto-loader[_ngcontent-%COMP%]{--padding: 6px 12px}.sm[_ngcontent-%COMP%]   .otto-form-element[_ngcontent-%COMP%]   .otto-input-icon[_ngcontent-%COMP%], .sm.otto-form-element[_ngcontent-%COMP%]   .otto-input-icon[_ngcontent-%COMP%]{padding:6px 12px 6px 0}.lg[_ngcontent-%COMP%]   .otto-form-element[_ngcontent-%COMP%]   .otto-suffix[_ngcontent-%COMP%], .lg.otto-form-element[_ngcontent-%COMP%]   .otto-suffix[_ngcontent-%COMP%]{--padding: 17px 16px 6px 16px}.lg[_ngcontent-%COMP%]   .otto-form-element[_ngcontent-%COMP%]   .otto-loader[_ngcontent-%COMP%], .lg.otto-form-element[_ngcontent-%COMP%]   .otto-loader[_ngcontent-%COMP%]{--padding: 6px 16px}.lg[_ngcontent-%COMP%]   .otto-form-element[_ngcontent-%COMP%]:not(.empty)   .otto-prefix[_ngcontent-%COMP%], .lg[_ngcontent-%COMP%]   .otto-form-element[_ngcontent-%COMP%]:focus-within   .otto-prefix[_ngcontent-%COMP%], .lg[_ngcontent-%COMP%]   .otto-form-element.focused[_ngcontent-%COMP%]   .otto-prefix[_ngcontent-%COMP%], .lg.otto-form-element[_ngcontent-%COMP%]:not(.empty)   .otto-prefix[_ngcontent-%COMP%], .lg.otto-form-element[_ngcontent-%COMP%]:focus-within   .otto-prefix[_ngcontent-%COMP%], .lg.otto-form-element.focused[_ngcontent-%COMP%]   .otto-prefix[_ngcontent-%COMP%]{opacity:1}.lg[_ngcontent-%COMP%]   .otto-form-element[_ngcontent-%COMP%]   .label-prefix[_ngcontent-%COMP%], .lg.otto-form-element[_ngcontent-%COMP%]   .label-prefix[_ngcontent-%COMP%]{display:inline;margin-right:var(--padding-between)}.lg[_ngcontent-%COMP%]   .otto-form-element[_ngcontent-%COMP%]   .otto-input-icon[_ngcontent-%COMP%], .lg.otto-form-element[_ngcontent-%COMP%]   .otto-input-icon[_ngcontent-%COMP%]{padding:6px 16px 6px 0}.otto-input-icon[_ngcontent-%COMP%]{align-items:center;cursor:pointer;display:flex;padding:12px 16px 12px 0}.otto-input-icon[_ngcontent-%COMP%]   .crossed-icon-wrapper[_ngcontent-%COMP%], .otto-input-icon[_ngcontent-%COMP%]   .input-icon-wrapper[_ngcontent-%COMP%], .otto-input-icon[_ngcontent-%COMP%]   .tooltip-icon-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}.otto-input-icon[_ngcontent-%COMP%]   .crossed-icon-wrapper[_ngcontent-%COMP%]{width:16px;height:16px;background-color:var(--sec-light-20);border-radius:50%;color:var(--white);cursor:pointer;transition:var(--transition)}.otto-input-icon[_ngcontent-%COMP%]   .crossed-icon-wrapper[_ngcontent-%COMP%]:hover{background-color:var(--sec-light-40)}.otto-input-icon[_ngcontent-%COMP%]   .crossed-icon-wrapper[_ngcontent-%COMP%]   .crossed-icon[_ngcontent-%COMP%]{display:block;width:8px;height:8px}.otto-input-icon[_ngcontent-%COMP%]   .input-icon[_ngcontent-%COMP%]{display:block;width:16px;height:16px;transition:var(--transition);color:var(--color-icon)}.otto-input-icon[_ngcontent-%COMP%]   .tooltip-icon-wrapper[_ngcontent-%COMP%]{position:relative;width:20px;height:20px;
3box-shadow:var(--box-shadow-xs);background-color:var(--white);border-radius:50%;color:var(--sec-light-80);cursor:pointer}.otto-input-icon[_ngcontent-%COMP%]   .tooltip-icon-wrapper[_ngcontent-%COMP%]   .tooltip-icon[_ngcontent-%COMP%]{display:block;width:10px;height:10px}.otto-input-icon[_ngcontent-%COMP%]:not(:last-child):not(:only-of-type){padding-right:10px}.otto-field-wrapper.otto-select[_ngcontent-%COMP%]:before{content:"";display:block;position:absolute;width:10px;height:6px;right:16px;top:50%;z-index:1;pointer-events:none;transform:translateY(-50%);transition:opacity .3s ease;background-image:url(\'data:image/svg+xml;utf8,<svg width="10" height="6" viewBox="0 0 10 6" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L5 5L9 1" stroke="%23999FB7" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>\')}.otto-field-wrapper.otto-select[_ngcontent-%COMP%]   .otto-field[_ngcontent-%COMP%]{padding-right:34px}.otto-field-wrapper.otto-select[_ngcontent-%COMP%]   .otto-field[_ngcontent-%COMP%]::-ms-expand{display:none}@supports (-moz-appearance: none){.otto-field-wrapper.otto-select[_ngcontent-%COMP%]   .otto-field[_ngcontent-%COMP%]{margin-left:-4px}}.otto-field-wrapper.otto-select[_ngcontent-%COMP%]   .otto-field[_ngcontent-%COMP%]:required:invalid{color:var(--placeholder-color)}.sm[_ngcontent-%COMP%]   .otto-form-element[_ngcontent-%COMP%]   .otto-field-wrapper.otto-select[_ngcontent-%COMP%]:before, .sm.otto-form-element[_ngcontent-%COMP%]   .otto-field-wrapper.otto-select[_ngcontent-%COMP%]:before{right:12px;transform:translateY(-50%) scale(.85)}.lg[_ngcontent-%COMP%]   .otto-field-wrapper.otto-textarea[_ngcontent-%COMP%]   .otto-field[_ngcontent-%COMP%]{padding-top:0;margin-top:26px;resize:vertical}.otto-tooltip-icon[_ngcontent-%COMP%]{display:block;height:10px;width:10px}.otto-tooltip-icon-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;position:relative;width:20px;height:20px;
3box-shadow:var(--box-shadow-xs);background-color:var(--white);border-radius:50%;color:var(--sec-light-80);cursor:pointer}.otto-form-element[_ngcontent-%COMP%]   .word-break-normal[_ngcontent-%COMP%]{word-break:normal}[data-theme=contrast]   [_nghost-%COMP%]{--text-light: var(--sec-light-60)}']})}return ke})()},97752:(st,Q,g)=>{"use strict";g.d(Q,{i:()=>C});var a=g(61142),h=g(56106),H=g(9349),z=g(48476),P=g(58527);let C=(()=>{class B{static \u0275fac=function(A){return new(A||B)};static \u0275mod=P.$C({type:B});static \u0275inj=P.G2t({imports:[a.MD,h.X1,z.x,H.w]})}return B})()},82689:(st,Q,g)=>{"use strict";g.d(Q,{ih:()=>H,k0:()=>hn});var a=g(61142),h=g(58527);let H=(()=>{class en{static \u0275fac=function(Wt){return new(Wt||en)};static \u0275mod=h.$C({type:en});static \u0275inj=h.G2t({imports:[a.MD]})}return en})();var z=g(56106),P=g(51376),C=g(61177),B=g(23649),_=g(86421);const A=function q(en){return null==en};var X=g(88225),R=g(48541),ne=g(87670);const le=function _e(en){return"string"==typeof en||!(0,R.A)(en)&&
3(0,ne.A)(en)&&"[object String]"==(0,X.A)(en)};function Re(en){if(null==en)throw new TypeError("Expected a string but received a ".concat(en));if("String"!==en.constructor.name)throw new TypeError("Expected a string but received a ".concat(en.constructor.name))}function Le(en){return"[object RegExp]"===Object.prototype.toString.call(en)}function Ie(en,Ot){for(var Gt=0;Gt<Ot.length;Gt++){var Wt=Ot[Gt];if(en===Wt||Le(Wt)&&Wt.test(en))return!0}return!1}function xe(en){return(xe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(Ot){return typeof Ot}:function(Ot){return Ot&&"function"==typeof Symbol&&Ot.constructor===Symbol&&Ot!==Symbol.prototype?"symbol":typeof Ot})(en)}function Te(en,Ot){var Gt,Wt;Re(en),"object"===xe(Ot)?(Gt=Ot.min||0,Wt=Ot.max):(Gt=arguments[1],Wt=arguments[2]);var Wn=encodeURI(en).split(/%..|./).length-1;return Wn>=Gt&&(typeof Wt>"u"||Wn<=Wt)}function Ne(en){return(Ne="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(Ot){return typeof Ot}:function(Ot){return Ot&&"function"==typeof Symbol&&Ot.constructor===Symbol&&Ot!==Symbol.prototype?"symbol":typeof Ot})(en)}function he(){var en=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},Ot=arguments.length>1?arguments[1]:void 0;for(var Gt in("object"!==Ne(en)||null===en)&&(en={}),Ot)typeof en[Gt]>"u"&&(en[Gt]=Ot[Gt]);return en}var Me={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_numeric_tld:!1,allow_wildcard:!1,ignore_max_length:!1};function yt(en){return(yt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(Ot){return typeof Ot}:function(Ot){return Ot&&"function"==typeof Symbol&&Ot.constructor===Symbol&&Ot!==Symbol.prototype?"symbol":typeof Ot})(en)}var Se="(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",ke="(".concat(Se,"[.]){3}").concat(Se),Ze=new RegExp("^".concat(ke,"$")),Ve="(?:[0-9a-fA-F]{1,4})",Be=new RegExp("^("+"(?:".concat(Ve,":){7}(?:").concat(Ve,"|:)|")+"(?:".concat(Ve,":){6}(?:").concat(ke,"|:").concat(Ve,"|:)|")+"(?:".concat(Ve,":){5}(?::").concat(ke,"|(:").concat(Ve,"){1,2}|:)|")+"(?:".concat(Ve,":){4}(?:(:").concat(Ve,"){0,1}:").concat(ke,"|(:").concat(Ve,"){1,3}|:)|")+"(?:".concat(Ve,":){3}(?:(:").concat(Ve,"){0,2}:").concat(ke,"|(:").concat(Ve,"){1,4}|:)|")+"(?:".concat(Ve,":){2}(?:(:").concat(Ve,"){0,3}:").concat(ke,"|(:").concat(Ve,"){1,5}|:)|")+"(?:".concat(Ve,":){1}(?:(:").concat(Ve,"){0,4}:").concat(ke,"|(:").concat(Ve,"){1,6}|:)|")+"(?::((?::".concat(Ve,"){0,5}:").concat(ke,"|(?::").concat(Ve,"){1,7}|:))")+")(%[0-9a-zA-Z.]{1,})?$");function ge(en){var Ot=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Re(en);var Gt=("object"===yt(Ot)?Ot.version:arguments[1])||"";return Gt?"4"===Gt.toString()?Ze.test(en):"6"===Gt.toString()&&Be.test(en):ge(en,{version:4})||ge(en,{version:6})}var Pe={allow_display_name:!1,allow_underscores:!1,require_display_name:!1,allow_utf8_local_part:!0,require_tld:!0,blackl
3isted_chars:"",ignore_max_length:!1,host_blacklist:[],host_whitelist:[]},He=/^([^\x00-\x1F\x7F-\x9F\cX]+)</i,bt=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,Yt=/^[a-z\d]+$/,sn=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,ft=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A1-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,Tt=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i;const _t=/^(?=.*[a-z]).+$/,on=/^(?=.*[A-Z]).+$/,Hn=/^(?=.*[0-9]).+$/,_n=new Set(["AD","AT","BE","BG","HR","CY","CZ","FO","GL","DK","EE","FI","FR","DE","GI","GR","HU","IS","IE","IT","LV","LI","LT","LU","MT","MC","NL","NO","PL","PT","RO","SM","SK","SI","ES","SE","CH","GB","VA"]);class hn extends z.k0{static dateService=new C.kT;static composeChain(Ot){return function(Gt){return Ot.map(Wt=>Wt(Gt)).find(Wt=>!!Wt)||null}}static number(Ot){return isNaN(Number(Ot.value))?{number:!0}:null}static int(Ot){return hn.pattern("^[0-9]*$")(Ot)?{int:!0}:null}static bool(Ot){return"boolean"!=typeof Ot.value?{bool:!0}:null}static iban(Ot){return(0,B.isValid)(Ot.value||"")?null:{iban:!0}}static ibanSepaAllowed(Ot){const Wt=(Ot.value||"").substring(0,2).toUpperCase();return _n.has(Wt)?null:{ibanSepaAllowed:!0}}static taxId(Ot){const Gt=(Ot.value||"").replace(/[^0-9]/,"");if(11!==Gt.length||"0"===Gt[0])return{taxId:!0};const Wt=Gt.slice(0,-1),Wn=[];for(let Yi=0,ni=Wt.length;Yi<ni;Yi++)-1===Wn.indexOf(Wt[Yi])&&Wn.push(Wt[Yi]);if(9!==Wn.length&&8!==Wn.length)return{taxId:!0};const qn=+Gt[Gt.length-1];let Fn=10,Mi=0;for(let Yi=0;Yi<10;Yi++)Mi=(+Wt[Yi]+Fn)%10,0===Mi&&(Mi=10),Fn=2*Mi%11;let zi=11-Fn;return 10===zi&&(zi=0),qn!==zi?{taxId:!0}:null}static date(Ot){const Gt=Ot.get("day")?.value,Wt=Ot.get("month")?.value,Wn=Ot.get("year")?.value,qn=new Date(Wn,Wt-1,Gt);return isNaN(qn.getTime())||parseInt(Gt,10)!==qn.getDate()||parseInt(Wt,10)!==qn.getMonth()+1||parseInt(Wn,10)!==qn.getFullYear()?{date:!0}:null}static completeDate(Ot){const Gt=Ot.get("day")?.value,Wt=Ot.get("month")?.value,Wn=Ot.get("year")?.value;return Gt&&Wt&&Wn&&2===hn.dateService.leadingZero(Number(Gt)).length&&2===hn.dateService.leadingZero(Number(Wt)).length&&4===Wn?.length?null:{incompleteDate:!0}}static datetime(Ot){const Gt=Ot.get("date")?.value,Wt=Ot.get("time")?.value,Wn=new Date(Gt);return Gt&&Wt&&!isNaN(Wn.getTime())?null:{datetime:!0}}static dayMonth(Ot){const Gt=Number(Ot.get("day")?.value),Wt=Number(Ot.get("month")?.value);if(!Gt||!Wt)return null;const qn=new Date(2e3,Wt-1,Gt);return isNaN(qn.getTime())||Gt!==qn.getDate()||Wt!==qn.getMonth()+1?{dayMonth:!0}:null}static isBefore(Ot){return function(Gt){let Wt=Gt.value;return Wt&&"object"==typeof Wt&&"day"in Wt&&"month"in Wt&&"year"in Wt&&(Wt=hn.dateService.serverFormat(Wt.year,Wt.month,Wt.day)),!Wt||hn.dateService.isSame(Wt,Ot)||hn.dateService.isBefore(Wt,Ot)?null:{isBefore:!0}}}static isAfter(Ot){return function(Gt){let Wt=Gt.value;return Wt&&"object"==typeof Wt&&"day"in Wt&&"month"in Wt&&"year"in Wt&&(Wt=hn.dateService.serverFormat(Wt.year,Wt.month,Wt.day)),!Wt||hn.dateService.isSame(Wt,Ot)||hn.dateService.isAfter(Wt,Ot)?null:{isAfter:!0}}}static isSameOrAfter(Ot,Gt){return function(Wt){let Wn=Wt.value;return Wn&&"object"==typeof Wn&&"day"in Wn&&"month"in Wn&&"year"in Wn&&(Wn=hn.dateService.serverFormat(Wn.year,Wn.month,Wn.day)),!Wn||Ot.some(qn=>hn.dateService.isSame(Wn,qn))||hn.dateService.isSame(Wn,Gt)||hn.dateService.isAfter(Wn,Gt)?null:{isSameOrAfter:!0}}}static age(Ot,Gt=0,Wt){return function(Wn){const qn=Wn.value;if(!qn)return null;if(Gt){const Fn=hn.dateService.getDateWithOffset(-Gt-1,"year",Wt);if(hn.dateService.isAfter(Fn,qn)||hn.dateService.isSame(Fn,qn))return{maxAge:!0}}return hn.dateService.isBefore(hn.dateService.getDateWithOffset(-Ot,"year",Wt),qn)?{minAge:!0}:null}}static range(Ot,Gt,Wt=[]){return function(Wn){const qn=Wn.value;return null==qn||0===qn.length||isNaN(qn)||qn>=Ot&&qn<=Gt||Wt.includes(qn)?null:{range:!0}}}static minimumRange(Ot){return function(Gt){const Wt=Gt.value;return null==Wt||0===Wt.length||isNaN(Wt)||Wt>=Ot?null:{minimumRange:!0}}}static passwordsEqual(Ot){const Gt=Ot.get("password")?.value,Wt=Ot.get("repassword")?.value;return Gt===Wt?null:{passwordsEqual:!0}}static sum(Ot,Gt){return Wt=>Gt.reduce((qn,Fn)=>qn+ +Wt.get(Fn)?.value,0)>Ot?{sum:!0}:null}static containsNumber(Ot){return hn.pattern(Hn)(Ot)?{containsNumber:!0}:null}static doesNotContainNumber(Ot){return hn.pattern(Hn)(Ot)?null:{doesNotContainNumber:!0}}static containsUppercase(Ot){return hn.pattern(on)(Ot)?{containsUppercase:!0}:null}static containsLowercase(Ot){return hn.pattern(_t)(Ot)?{containsLowercase:!0}:null}static minLengthTrim(Ot){return function(Gt){if(void 0===Gt?.value||null===Gt.value||0===Gt.value.length)return null;const Wt=Gt.value?Gt.value.trim().length:0;return Wt<Ot?{minlength:{requiredLength:Ot,actualLength:Wt}}:null}}static civilServantOccupation(Ot,Gt,Wt){return function(Wn){return null===Wn.value||0===Wn.value.length?null:Wn.value===P.TXS.CivilServant?hn.dateService.isBefore(hn.dateService.getDateWithOffset(-Ot,"year"),Wt)?{civilServantMinAge:!0}:null:Wn.value===P.TXS.CivilServantCandidate&&hn.dateService.isAfter(hn.dateService.getDateWithOffset(-Gt,"year"),Wt)?{civilServantCandidateMaxAge:!0}:null}}static emptyOrFilled(Ot){const Gt=Object.values(Ot.controls),Wt=Gt.every(qn=>!qn.value),Wn=Gt.every(qn=>qn.value&&qn.valid);return Wt&&Gt.forEach(qn=>qn.setErrors(null)),Wt||Wn?null:{emptyOrFilled:!0}}static isEmail(Ot){const Gt=(0,_.A)(Ot,"value");return A(Gt)||!le(Gt)||function tt(en,Ot){if(Re(en),(Ot=he(Ot,Pe)).require_display_name||Ot.allow_display_name){var Gt=en.match(He);
3if(Gt){var Wt=Gt[1];if(en=en.replace(Wt,"").replace(/(^<|>$)/g,""),Wt.endsWith(" ")&&(Wt=Wt.slice(0,-1)),!function rt(en){var Ot=en.replace(/^"(.+)"$/,"$1");if(!Ot.trim())return!1;if(/[\.";<>]/.test(Ot)){if(Ot===en)return!1;if(Ot.split('"').length!==Ot.split('\\"').length)return!1}return!0}(Wt))return!1}else if(Ot.require_display_name)return!1}if(!Ot.ignore_max_length&&en.length>254)return!1;var Wn=en.split("@"),qn=Wn.pop(),Fn=qn.toLowerCase();if(Ot.host_blacklist.length>0&&Ie(Fn,Ot.host_blacklist)||Ot.host_whitelist.length>0&&!Ie(Fn,Ot.host_whitelist))return!1;var Mi=Wn.join("@");if(Ot.domain_specific_validation&&("gmail.com"===Fn||"googlemail.com"===Fn)){var zi=(Mi=Mi.toLowerCase()).split("+")[0];if(!Te(zi.replace(/\./g,""),{min:6,max:30}))return!1;for(var Yi=zi.split("."),ni=0;ni<Yi.length;ni++)if(!Yt.test(Yi[ni]))return!1}if(!(!1!==Ot.ignore_max_length||Te(Mi,{max:64})&&Te(qn,{max:254})))return!1;if(!function ct(en,Ot){Re(en),(Ot=he(Ot,Me)).allow_trailing_dot&&"."===en[en.length-1]&&(en=en.substring(0,en.length-1)),!0===Ot.allow_wildcard&&0===en.indexOf("*.")&&(en=en.substring(2));var Gt=en.split("."),Wt=Gt[Gt.length-1];return!(Ot.require_tld&&(Gt.length<2||!Ot.allow_numeric_tld&&!/^([a-z\u00A1-\u00A8\u00AA-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}|xn[a-z0-9-]{2,})$/i.test(Wt)||/\s/.test(Wt))||!Ot.allow_numeric_tld&&/^\d+$/.test(Wt))&&Gt.every(function(Wn){return!(Wn.length>63&&!Ot.ignore_max_length||!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(Wn)||/[\uff01-\uff5e]/.test(Wn)||/^-|-$/.test(Wn)||!Ot.allow_underscores&&/_/.test(Wn))})}(qn,{require_tld:Ot.require_tld,ignore_max_length:Ot.ignore_max_length,allow_underscores:Ot.allow_underscores})){if(!Ot.allow_ip_domain)return!1;if(!ge(qn)){if(!qn.startsWith("[")||!qn.endsWith("]"))return!1;var wi=qn.slice(1,-1);if(0===wi.length||!ge(wi))return!1}}if(Ot.blacklisted_chars&&-1!==Mi.search(new RegExp("[".concat(Ot.blacklisted_chars,"]+"),"g")))return!1;if('"'===Mi[0]&&'"'===Mi[Mi.length-1])return Mi=Mi.slice(1,Mi.length-1),Ot.allow_utf8_local_part?Tt.test(Mi):sn.test(Mi);for(var Rt=Ot.allow_utf8_local_part?ft:bt,Xt=Mi.split("."),Dt=0;Dt<Xt.length;Dt++)if(!Rt.test(Xt[Dt]))return!1;return!0}(Gt,{require_tld:!0})?null:{isNotEmail:!0}}static enum(Ot){return Gt=>{const Wt=(0,_.A)(Gt,"value"),Wn=Object.values(Ot);return A(Wt)||!le(Wt)||Wn.indexOf(Wt)>=0?null:{invalidEnumValue:!0}}}}},35044:(st,Q,g)=>{"use strict";g.d(Q,{A:()=>_});var a=g(58527),h=g(84975),H=g(17796),z=g(50106),P=g(21252);const C=["*"];function B(q,A){if(1&q&&(a.j41(0,"div",0),a.SdG(1),a.k0s()),2&q){const X=a.XpG();a.BMQ("data-cy",X.dataCy)}}let _=(()=>{class q{formGroup;inputName;inputError;formError;forceShow;dataCy;debounceTime=2e3;formSubscription;isWaitingCompleted=!0;changeDetector=(0,a.WQX)(a.gRc);ngOnInit(){this.checkInputs()}ngOnChanges(){this.checkInputs()}ngOnDestroy(){this.formSubscription&&this.formSubscription.unsubscribe()}get show(){return void 0!==this.forceShow?this.forceShow:!!this.formGroup&&(this.hasInputErrors(this.resolveErrors(this.inputError))||this.hasFormErrors(this.resolveErrors(this.formError)))&&this.isWaitingCompleted&&this.dirty}resolveInputs(X=[]){return(Array.isArray(X)?X:[X]).map(ne=>this.formGroup.controls[ne])}resolveErrors(X=[]){return Array.isArray(X)?X:[X]}hasFormErrors(X){return this.formGroup.dirty&&X.some(R=>this.formGroup.hasError(R))}hasInputErrors(X){return this.resolveInputs(this.inputName).some(ne=>(ne?.dirty||null!==ne?.value)&&X.some(se=>ne.hasError(se)))}checkInputs(){if(void 0===this.forceShow){if(!this.formGroup)return console.error("ValidationMessageComponent: [formGroup] is a mandatory input.");this.formSubscription&&this.formSubscription.unsubscribe(),this.formSubscription=this.formGroup.valueChanges.pipe((0,h.n)(()=>this.debounceTime>0?(this.isWaitingCompleted=!1,this.changeDetector.markForCheck(),(0,H.of)(!0).pipe((0,z.c)(this.debounceTime))):(0,H.of)(!0)),(0,P.M)(()=>{this.isWaitingCompleted=!0,this.changeDetector.markForCheck()})).subscribe()}}get dirty(){return!this.resolveInputs(this.inputName||Object.keys(this.formGroup.controls)).some(R=>!R.dirty&&(!R.value||R.value&&0===R.value.length))}static \u0275fac=function(R){return new(R||q)};static \u0275cmp=a.VBU({type:q,selectors:[["frontend-validation-message"]],inputs:{formGroup:"formGroup",inputName:"inputName",inputError:"inputError",formError:"formError",forceShow:"forceShow",dataCy:"dataCy",debounceTime:"debounceTime"},features:[a.OA$],ngContentSelectors:C,decls:1,vars:1,consts:[[1,"validation-message-text"]],template:function(R,ne){1&R&&(a.NAR(),a.DNE(0,B,2,1,"div",0)),2&R&&a.vxM(ne.show?0:-1)},styles:["[_ngcontent-%COMP%]:root, [_nghost-%COMP%]{--business-primary: #2c6fd1;--business-secondary: #21bbfe;--first-primary: #352f64;--first-secondary: #415197;--economy-primary: #8063e1;--economy-secondary: #bd7be8;--premium-economy-primary: #3f58e3;--premium-economy-secondary: #7f94fc;--exclusive-flex-primary: #052d5e;--exclusive-flex-secondary: #07428b;--exclusive-garant-primary: #0c4a9a;--exclusive-garant-secondary: #005ea8;--expats-primary: #40b2c0;--expats-secondary: #51dbc0;--study-free-primary: #052d5e;--study-free-secondary: #07428b;--study-protect-primary: #0c4a9a;--study-protect-secondary: #005ea8;--freemium-primary: #667093;--freemium-secondary: #999fb7;--clinic-zweibett-primary: #3db88d;--clinic-zweibett-secondary: #b7f5ab;--clinic-einbett-primary: #207f7a;--clinic-einbett-secondary: #44b898;--dental-70-primary: #3abfd5;--dental-70-secondary: #a5e5dd;--dental-85-primary: #677eeb;--dental-85-secondary: #b5bef0;--primary: #0077ff;--primary-contrast: #0070f0;--primary-darker: #006be6;--primary-contrast-darker: #0065d8;--primary-light: #99c9ff;--primary-pale: #f2f8ff;--primary-110: #0066db;--primary-80: #3392ff;--primary-contrast-80: #338df3;--primary-60: #66adff;--primary-contrast-60: #66a9f6;--primary-40: #99c9ff;--primary-20: #cce4ff;--primary-10: #e6f1ff;--primary-05: #f2f8ff;--primary-02: #fafcff;--black: #000000;--white: #ffffff;--overlay-light: rgba(0, 16, 75, .4);--overlay-dark: rgba(0, 0, 0, .4);--sec-light-100: #00104b;--sec-light-90: #1a285d;--sec-light-80: #33406f;--sec-light-60: #667093;--sec-light-40: #999fb7;--sec-light-20: #cccfdb;--sec-light-10: #e6e7ed;--sec-light-05: #f2f3f6;--sec-light-02: #fafafb;--dark: #00104b;--dark-80: #33406f;--dark-60: #667093;--dark-40: #999fb7;--dark-20: #cccfdb;--dark-10: #e6e7ed;--dark-05: #f2f3f6;--dark-02: #fafafb;--sec-dark-00: #181a20;--sec-dark-80: #e5e6eb;--sec-dark-60: #aab0c0;--sec-dark-40: #717993;--sec-dark-20: #44495a;--sec-dark-10: #2e323d;--sec-dark-05: #23262f;--sec-dark-02: #1c1f26;--night: #181a20;--night-98: #1c1f26;--night-95: #23262f;--night-90: #2e323d;--night-80: #44495a;--night-60: #717993;--night-40: #aab0c0;--night-20: #e5e6eb;--black-pure: #000000;--white-pure: #ffffff;--overlay: rgba(0, 16, 75, .4);--sand: #ffedd3;--sand-80: #fff1dc;--sand-60: #fff4e5;--sand-40: #fff8ed;--sand-20: #fffbf6;--cyan: #20c2e0;--cyan-80: #4dcee6;--cyan-60: #79daec;--cyan-40: #a6e7f3;--cyan-20: #d2f3f9;--green: #0dbd83;--green-contrast: #09865d;--success: #0dbd83;--success-contrast: #09865d;--success-darker: #0caa76;--success-contrast-darker: #087954;--success-bright: #3dca9c;--success-light: #ecfaf5;--success-shadow: #cff2e6;--red: #ff5252;--red-contrast: #eb0000;--error: #ff5252;--error-contrast: #eb0000;--danger: #ff5252;--danger-contrast: #eb0000;--danger-darker: #e64a4a;--danger-contrast-darker: #d40000;--danger-bright: #ff7575;--danger-light: #fff1f1;
3--danger-shadow: #ffdcdc;--purple: #7263d0;--info: #7263d0;--info-darker: #6759bb;--info-bright: #8e82d9;--info-light: #f4f3fb;--info-shadow: #e3e0f6;--orange: #ffa600;--warning: #ffa600;--warning-darker: #e69500;--warning-bright: #ffb833;--warning-light: #fff8eb;--warning-shadow: #ffedcc;--pink: #f65c96;--pink-contrast: #e80d5f;--pink-darker: #dd5387;--pink-contrast-darker: #d10c56;--pink-bright: #f87dab;--pink-light: #fef2f7;--pink-shadow: #fddeea;--yellow: #fecf02;--yellow-contrast: #9f661e;--payback: #0046aa;--healthx: #151b36;--satisfaction-strong: #a38247;--satisfaction-shadow: #ede4d3;--expats-shadow: #b3ede5;--pastel-sky: #cce4ff;--pastel-rose: #ffdcdc;--pastel-mint: #cff2e6;--pastel-lemon: #fff5cc;--pastel-purple: #e2dffb;--pastel-sand: #ebe1d3;--primary-rgb: 0, 119, 255;--cyan-rgb: 32, 194, 224;--green-rgb: 13, 189, 131;--red-rgb: 255, 82, 82;--orange-rgb: 255, 166, 0;--dark-rgb: 0, 16, 75;--dark-10-rgb: 230, 231, 237;--gray-dark-rgb: 51, 64, 111;--gray-lighter-rgb: 204, 207, 219;--comprehensive: #0077ff;--comprehensive-dark: #006be6;--comprehensive-darker: #005fcc;--comprehensive-darkest: #004799;--comprehensive-light: #b3d6ff;--comprehensive-pale: #e6f1ff;--first: #404a8d;--first-dark: #3a437f;--first-darker: #333b71;--first-darkest: #262c55;--first-light: #c6c9dd;--first-pale: #ecedf4;--business: #009cfe;--business-dark: #008ce5;--business-darker: #007dcb;--business-darkest: #005e98;--business-light: #b3e1ff;--business-pale: #e6f5ff;--economy: #905aca;--economy-dark: #8251b6;--economy-darker: #7348a2;--economy-darkest: #563679;--economy-light: #deceef;--economy-pale: #f4effa;--premium-economy: #6e7fed;--premium-economy-dark: #6372d5;--premium-economy-darker: #5866be;--premium-economy-darkest: #424c8e;--premium-economy-light: #d4d9fa;--premium-economy-pale: #f1f2fd;--civil: #8b50ff;--civil-dark: #7d48e6;--civil-darker: #6f40cc;--civil-darkest: #533099;--civil-light: #dccbff;--civil-pale: #f3eeff;--exclusive: #063773;--exclusive-dark: #053268;--exclusive-darker: #052c5c;--exclusive-darkest: #042145;--exclusive-light: #b4c3d5;--exclusive-pale: #e6ebf1;--expats: #00c2a9;--expats-dark: #00af98;--expats-darker: #009b87;--expats-darkest: #007465;--expats-light: #b3ede5;--expats-pale: #e6f9f6;--dental: #00bcdc;--dental-dark: #00a9c6;--dental-darker: #0096b0;--dental-darkest: #007184;--dental-light: #b3ebf5;--dental-pale: #e6f8fc;--company: #e09c1f;--company-dark: #ca8c1c;--company-darker: #b37d19;--company-darkest: #865e13;--company-light: #f6e1bc;--company-pale: #fcf5e9;--dental-70: #5eccd7;--dental-70-dark: #55b8c2;--dental-70-darker: #4ba3ac;--dental-70-darkest: #387a81;--dental-70-light: #cff0f3;--dental-70-pale: #effafb;--dental-85: #677eeb;--dental-85-dark: #5d71d4;--dental-85-darker: #5265bc;--dental-85-darkest: #3e4c8d;--dental-85-light: #d1d8f9;--dental-85-pale: #f0f2fd;--clinic: #3db88d;--clinic-dark: #37a67f;--clinic-darker: #319371;--clinic-darkest: #256e55;--clinic-light: #c5eadd;--clinic-pale: #ecf8f4;--zweibett: #55c291;--zweibett-dark: #4daf83;--zweibett-darker: #449b74;--zweibett-darkest: #337457;--zweibett-light: #ccedde;--zweibett-pale: #eef9f4;--einbett: #319884;--einbett-dark: #2c8977;--einbett-darker: #277a6a;--einbett-darkest: #1d5b4f;--einbett-light: #c1e0da;--einbett-pale: #eaf5f3;--satisfaction: #c2a46d;--satisfaction-dark: #af9462;--satisfaction-darker: #9b8357;--satisfaction-darkest: #746241;--satisfaction-light: #ede4d3;--satisfaction-pale: #f9f6f0;--study-free: #052d5e;--study-free-dark: #052955;--study-free-darker: #04244b;--study-free-darkest: #031b38;--study-free-light: #b4c0cf;--study-free-pale: #e6eaef;--study-protect: #005ea8;--study-protect-dark: #005597;--study-protect-darker: #004b86;--study-protect-darkest: #003865;--study-protect-light: #b3cfe5;--study-protect-pale: #e6eff6;--option: #5f50ff;--option-dark: #5648e6;--option-darker: #4c40cc;--option-darkest: #393099;--option-light: #cfcbff;--option-pale: #efeeff;--text-gray: #33406f;--text-gray-darker: #293359;--text-blue: #1e429f;--text-blue-darker: #18357f;--text-purple: #5521b5;--text-purple-darker: #441a91;--text-pink: #a745a3;--text-pink-darker: #863782;--text-pink-contrast: #e80d5f;--text-pink-contrast-darker: #ba0a4c;--text-green: #04543f;--text-green-darker: #034332;--text-red: #9a1c1c;--text-red-darker: #7b1616;--text-orange: #8a2c0d;--text-orange-darker: #6e230a;--text-yellow: #a3691f;--text-yellow-darker: #825419;--text-yellow-contrast: #9f661e;--text-yellow-contrast-darker: #7f5218;--text-background-gray: #f2f3f6;--text-background-gray-darker: #c2c2c5;--text-background-blue: #e1effe;--text-background-blue-darker: #b4bfcb;--text-background-purple: #edebfe;--text-background-purple-darker: #bebccb;--text-background-pink: #fee6fd;--text-background-pink-darker: #cbb8ca;--text-background-green: #def7ec;--text-background-green-darker: #b2c6bd;--text-background-red: #fde8e7;--text-background-red-darker: #cabab9;--text-background-orange: #feecdc;--text-background-orange-darker: #cbbdb0;--text-background-yellow: #fffaca;--text-background-yellow-darker: #ccc8a2;--text: var(--sec-light-60);--text-light: var(--sec-light-40);--text-lighter: var(--sec-light-20);--text-heading: var(--sec-light-100);--line: var(--sec-light-10);--border-light: var(--sec-light-10);--border: var(--sec-light-20);--border-dark: var(--sec-light-40);--border-primary: var(--primary);--border-primary-dark: var(--primary-darker);--border-error: var(--error);--border-radius-xs: 4px;--border-radius-sm: 6px;--border-radius-md: 8px;--border-radius-lg: 12px;--border-radius-xl: 16px;--disabled: var(--sec-light-02);--shadow: rgba(0, 16, 75, .15);--shadow-dark: rgba(0, 16, 75, .2);
3--box-shadow-xs: 0 1px 2px var(--shadow-dark);--box-shadow-sm: 0 2px 4px var(--shadow-dark);--box-shadow-md: 0 4px 12px var(--shadow);--box-shadow-lg: 0 8px 24px var(--shadow);--transition: all .2s ease-in-out;--focus-shadow-primary: 0 0 0 4px var(--primary-20);--focus-shadow-darker: 0 0 0 4px var(--sec-light-40);--focus-shadow-dark: 0 0 0 4px var(--sec-light-20);--focus-shadow-gray: 0 0 0 4px var(--sec-light-10);--focus-shadow-danger: 0 0 0 4px var(--danger-shadow);--focus-shadow-success: 0 0 0 4px var(--success-shadow);--focus-shadow-warning: 0 0 0 4px var(--warning-shadow);--focus-shadow-info: 0 0 0 4px var(--info-shadow);--focus-shadow-pink: 0 0 0 4px var(--pink-shadow);--focus-shadow-gold: 0 0 0 4px var(--satisfaction-shadow);--focus-shadow-expats: 0 0 0 4px var(--expats-shadow);--focus-shadow-text-primary: drop-shadow(0px 1px 3px rgba(0, 119, 255, .5));--focus-shadow-text-pink: drop-shadow(0px 1px 3px rgba(246, 92, 150, .5))}[data-theme=contrast][_ngcontent-%COMP%]   *[_ngcontent-%COMP%]{--primary: var(--primary-contrast);--primary-darker: var(--primary-contrast-darker);--success: var(--success-contrast);--success-darker: var(--success-contrast-darker);--danger: var(--danger-contrast);--danger-darker: var(--danger-contrast-darker);--pink: var(--pink-contrast);--pink-darker: var(--pink-contrast-darker);--satisfaction: var(--satisfaction-pale);--satisfaction-strong: var(--satisfaction-darkest);--yellow: var(--yellow-contrast)}.validation-message-text[_ngcontent-%COMP%]{margin-top:5px;color:var(--danger);font-size:12px;font-weight:700;line-height:16px}"],changeDetection:0})}return q})()},69956:(st,Q,g)=>{"use strict";g.d(Q,{a:()=>Ie,oe:()=>z,Ax:()=>C,A9:()=>h,D9:()=>Le,UP:()=>he.U,Kg:()=>Re.K,FC:()=>Me,VF:()=>ct.V,HO:()=>yt});var a=g(58527);let h=(()=>{class Se{transform(Ze,Ve=!0){if(!Ze)return 0===Ze||Ve?0:void 0;const Be=Number(Ze)/100;return Math.round(100*Be)/100}static \u0275fac=function(Ve){return new(Ve||Se)};static \u0275pipe=a.EJ8({name:"fromCents",type:Se,pure:!0,standalone:!0})}return Se})();var H=g(61142);let z=(()=>{class Se extends H.oe{transform(Ze,Ve="EUR",Be="symbol",ge,Pe){return Number.isFinite(Ze)?super.transform(Ze,Ve,Be,ge,Pe??"de-DE")?.trim():""}static \u0275fac=(()=>{let Ze;return function(Be){return(Ze||(Ze=a.xGo(Se)))(Be||Se)}})();static \u0275pipe=a.EJ8({name:"ngcCurrency",type:Se,pure:!0,standalone:!0})}return Se})();var P=g(61177);let C=(()=>{class Se{dateService=(0,a.WQX)(P.kT);transform(Ze,Ve=P.yn){return this.dateService.format(Ze,Ve)}static \u0275fac=function(Ve){return new(Ve||Se)};static \u0275pipe=a.EJ8({name:"datetime",type:Se,pure:!0,standalone:!0})}return Se})();g(51376);var Re=g(6622);let Le=(()=>{class Se{transform(Ze){return((Ze||"").trim().match(/(\w{1,4})/g)||[Ze]).join(" ")||"-"}static \u0275fac=function(Ve){return new(Ve||Se)};static \u0275pipe=a.EJ8({name:"ibanDisplay",type:Se,pure:!0,standalone:!0})}return Se})(),Ie=(()=>{class Se{dateService=(0,a.WQX)(P.kT);transform(Ze,Ve=P.yn){return this.dateService.formatInBerlinTimezone(Ze,Ve)}static \u0275fac=function(Ve){return new(Ve||Se)};static \u0275pipe=a.EJ8({name:"berlinDatetime",type:Se,pure:!0,standalone:!0})}return Se})();var he=g(46628);let Me=(()=>{class Se{transform(Ze=[],Ve){return[...Ze].sort(Ve)}static \u0275fac=function(Ve){return new(Ve||Se)};static \u0275pipe=a.EJ8({name:"ngcSort",type:Se,pure:!0,standalone:!0})}return Se})();var ct=g(42256);let yt=(()=>{class Se{transform(Ze,Ve,Be){return Ze?Ve?`${Ze.slice(0,Ve)}${Be&&Ze.length>Ve?"...":""}`:Ze:""}static \u0275fac=function(Ve){return new(Ve||Se)};static \u0275pipe=a.EJ8({name:"truncate",type:Se,pure:!0,standalone:!0})}return Se})()},46628:(st,Q,g)=>{"use strict";g.d(Q,{U:()=>P});var a=g(58527),h=g(61177);const H="Heute",z="Gestern";let P=(()=>{class C{dateService=(0,a.WQX)(h.kT);transform(_,q={}){let A=this.dateService.format(_,"D. MMM");if(A===h.kT.INVALID_DATE)return"";
3const X=this.dateService.today(),{showFullYear:R,showTodayWithTime:ne,showTodayAsASingleWord:se,showYesterdayAsASingleWord:_e}=q;if(R&&(A+=` ${this.dateService.format(_,"YYYY")}`),this.dateService.isSame(_,X,"day"))return ne?`${H}, ${this.dateService.format(_,"HH:mm")}`:se?H:`${H}, ${A}`;const le=this.dateService.subtract(X,1,"day");if(this.dateService.isSame(_,le,"day"))return _e?z:`${z}, ${A}`;if(this.dateService.isAfter(_,X)&&this.dateService.isBefore(_,this.dateService.add(X,1,"month")))return`${this.dateService.format(_,"dddd")}, ${A}`;if(R)return A;const Le=this.dateService.isSame(_,X,"year"),Ie=`${A} ${this.dateService.format(_,"YYYY")}`;return Le?A:Ie}static \u0275fac=function(q){return new(q||C)};static \u0275pipe=a.EJ8({name:"longDateFormat",type:C,pure:!0,standalone:!0})}return C})()},6622:(st,Q,g)=>{"use strict";g.d(Q,{K:()=>H});var a=g(58527),h=g(61177);let H=(()=>{class z{dateService=(0,a.WQX)(h.kT);transform(C){const B=[];let _="";return(C||[]).forEach(q=>{const A=this.dateService.format(q.created,"DD.MM.YYYY");A!==_?(_=A,B.push({date:q.created,documents:[q]})):B[B.length-1].documents.push(q)}),B}static \u0275fac=function(B){return new(B||z)};static \u0275pipe=a.EJ8({name:"mapDocumentsToDates",type:z,pure:!0,standalone:!0})}return z})()},42256:(st,Q,g)=>{"use strict";g.d(Q,{V:()=>z});var a=g(51376),h=g(58527);const H={[a.WtB.Submitted]:"Eingereicht",[a.WtB.InReview]:"In Bearbeitung",[a.WtB.Incomplete]:"Fehlende Informationen",[a.WtB.Done]:"Erledigt"};let z=(()=>{class P{transform(B){return"string"!=typeof B?"":H[B]||B}static \u0275fac=function(_){return new(_||P)};static \u0275pipe=h.EJ8({name:"translateStatus",type:P,pure:!0,standalone:!0})}return P})()},22380:(st,Q,g)=>{"use strict";g.d(Q,{uE:()=>Le,ZE:()=>$e,e:()=>ne.e,N8:()=>_e,JL:()=>rt,z8:()=>a.z});var a=g(50346),h=g(58527),H=g(94236),z=g(85687),P=g(92134),C=g(84932),B=g(6663);const _=5e3,A={autoHideNotification$:(0,H.EH)((tt=(0,h.WQX)(H.En))=>tt.pipe((0,H.gp)(a.z),(0,z.p)(({notification:nt})=>"never"!==nt.hideAfter),(0,P.o)(({notification:nt})=>(0,C.O)(nt.hideAfter??_)),(0,B.T)(({notification:nt})=>(0,a.w)({id:nt.id}))),{functional:!0})};var X=g(61837),ne=g(23840),se=g(34184);let _e=(()=>{class tt{frontendNotificationTemplate=h.hFB.required();templateRef=(0,h.WQX)(h.C4Q);registry=(0,h.WQX)(se.N);ngOnInit(){this.registry.register(this.frontendNotificationTemplate(),this.templateRef)}ngOnDestroy(){this.registry.unregister(this.frontendNotificationTemplate())}static \u0275fac=function(on){return new(on||tt)};static \u0275dir=h.FsC({type:tt,selectors:[["ng-template","frontendNotificationTemplate",""]],inputs:{frontendNotificationTemplate:[1,"frontendNotificationTemplate"]},standalone:!0})}return tt})();var le=g(51376),Re=g(77392);let Le=(()=>{class tt{stream=new Re.B;success(_t="Operation erfolgreich abgeschlossen",on){this.stream.next({type:le.vTj.Success,message:_t,hideAfter:on?.hideAfter??_})}error(_t="Es ist ein Fehler aufgetreten",on){this.stream.next({type:le.vTj.Danger,message:_t,hideAfter:on?.hideAfter??_})}warning(_t,on){this.stream.next({type:le.vTj.Warning,message:_t,hideAfter:on?.hideAfter??_})}info(_t,on){this.stream.next({type:le.vTj.Info,message:_t,hideAfter:on?.hideAfter??_})}static \u0275fac=function(on){return new(on||tt)};static \u0275prov=h.jDH({token:tt,factory:tt.\u0275fac,providedIn:"root"})}return tt})();var Ie=g(61142),xe=g(45768),Te=g(52713),Ne=g(21252);const he=(tt,nt)=>({type:"success",message:tt,notification:nt}),Me=(tt,nt)=>({type:"info",message:tt,notification:nt}),ct=(tt,nt)=>({type:"danger",message:tt,notification:nt}),yt=(tt,nt)=>({type:"warning",message:tt,notification:nt});function Se(tt,nt){1&tt&&h.eu8(0)}function ke(tt,nt){if(1&tt&&h.DNE(0,Se,1,0,"ng-container",2),2&tt){const _t=nt.message,on=nt.notification;h.XpG();const Hn=h.sdS(5);h.Y8G("ngTemplateOutlet",Hn)("ngTemplateOutletContext",h.l_i(2,he,_t,on))}}function Ze(tt,nt){1&tt&&h.eu8(0)}function Ve(tt,nt){if(1&tt&&h.DNE(0,Ze,1,0,"ng-container",2),2&tt){const _t=nt.message,on=nt.notification;h.XpG();const Hn=h.sdS(5);h.Y8G("ngTemplateOutlet",Hn)("ngTemplateOutletContext",h.l_i(2,Me,_t,on))}}function Be(tt,nt){1&tt&&h.eu8(0)}function ge(tt,nt){if(1&tt&&h.DNE(0,Be,1,0,"ng-container",2),2&tt){const _t=nt.message,on=nt.notification;h.XpG();const Hn=h.sdS(5);h.Y8G("ngTemplateOutlet",Hn)("ngTemplateOutletContext",h.l_i(2,ct,_t,on))}}function Pe(tt,nt){1&tt&&h.eu8(0)}function He(tt,nt){if(1&tt&&h.DNE(0,Pe,1,0,"ng-container",2),2&tt){const _t=nt.message,on=nt.notification;h.XpG();const Hn=h.sdS(5);h.Y8G("ngTemplateOutlet",Hn)("ngTemplateOutletContext",h.l_i(2,yt,_t,on))}}function bt(tt,nt){if(1&tt){const _t=h.RV6();h.j41(0,"div",3),h.nrm(1,"div",4),h.j41(2,"button",5),h.bIt("click",function(){const Hn=h.eBV(_t).notification,_n=h.XpG();return h.Njj(_n.close(Hn))}),h.k0s()()}if(2&tt){const on=nt.message;h.HbH(nt.type),h.R7$(),h.Y8G("innerHTML",on,h.npT)}}const Yt="operation-success",sn="operation-info",ft="operation-failure",Tt="operation-warning";let $e=(()=>
3{class tt{OPERATION_SUCCESS_ID=Yt;OPERATION_INFO_ID=sn;OPERATION_FAILURE_ID=ft;OPERATION_WARNING_ID=Tt;store=(0,h.WQX)(Te.il);alertService=(0,h.WQX)(Le);destroyRef=(0,h.WQX)(h.abz);constructor(){this.alertService.stream.pipe((0,B.T)(({message:_t,hideAfter:on,type:Hn})=>({id:crypto.randomUUID(),templateId:this.getTemplateId(Hn),context:{message:_t},hideAfter:on})),(0,Ne.M)(_t=>this.store.dispatch((0,a.z)({notification:_t}))),(0,xe.pQ)(this.destroyRef)).subscribe()}close(_t){this.store.dispatch((0,a.w)({id:_t.id}))}getTemplateId(_t){switch(_t){case le.vTj.Success:return Yt;case le.vTj.Info:return sn;case le.vTj.Danger:return ft;default:return Tt}}static \u0275fac=function(on){return new(on||tt)};static \u0275cmp=h.VBU({type:tt,selectors:[["frontend-alerts"]],standalone:!0,features:[h.aNF],decls:6,vars:4,consts:[["alertRef",""],[3,"frontendNotificationTemplate"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["data-cy","alert",1,"alert"],[3,"innerHTML"],[1,"alert-close",3,"click"]],template:function(on,Hn){1&on&&h.DNE(0,ke,1,5,"ng-template",1)(1,Ve,1,5,"ng-template",1)(2,ge,1,5,"ng-template",1)(3,He,1,5,"ng-template",1)(4,bt,3,3,"ng-template",null,0,h.C5r),2&on&&(h.Y8G("frontendNotificationTemplate",Hn.OPERATION_SUCCESS_ID),h.R7$(),h.Y8G("frontendNotificationTemplate",Hn.OPERATION_INFO_ID),h.R7$(),h.Y8G("frontendNotificationTemplate",Hn.OPERATION_FAILURE_ID),h.R7$(),h.Y8G("frontendNotificationTemplate",Hn.OPERATION_WARNING_ID))},dependencies:[Ie.T3,_e],styles:['[_ngcontent-%COMP%]:root, [_nghost-%COMP%]{--business-primary: #2c6fd1;--business-secondary: #21bbfe;--first-primary: #352f64;--first-secondary: #415197;--economy-primary: #8063e1;--economy-secondary: #bd7be8;--premium-economy-primary: #3f58e3;--premium-economy-secondary: #7f94fc;--exclusive-flex-primary: #052d5e;--exclusive-flex-secondary: #07428b;--exclusive-garant-primary: #0c4a9a;--exclusive-garant-secondary: #005ea8;--expats-primary: #40b2c0;--expats-secondary: #51dbc0;--study-free-primary: #052d5e;--study-free-secondary: #07428b;--study-protect-primary: #0c4a9a;--study-protect-secondary: #005ea8;--freemium-primary: #667093;--freemium-secondary: #999fb7;--clinic-zweibett-primary: #3db88d;--clinic-zweibett-secondary: #b7f5ab;--clinic-einbett-primary: #207f7a;--clinic-einbett-secondary: #44b898;--dental-70-primary: #3abfd5;--dental-70-secondary: #a5e5dd;--dental-85-primary: #677eeb;--dental-85-secondary: #b5bef0;--primary: #0077ff;--primary-contrast: #0070f0;--primary-darker: #006be6;--primary-contrast-darker: #0065d8;--primary-light: #99c9ff;--primary-pale: #f2f8ff;--primary-110: #0066db;--primary-80: #3392ff;--primary-contrast-80: #338df3;--primary-60: #66adff;--primary-contrast-60: #66a9f6;--primary-40: #99c9ff;--primary-20: #cce4ff;--primary-10: #e6f1ff;--primary-05: #f2f8ff;--primary-02: #fafcff;--black: #000000;--white: #ffffff;--overlay-light: rgba(0, 16, 75, .4);--overlay-dark: rgba(0, 0, 0, .4);--sec-light-100: #00104b;--sec-light-90: #1a285d;--sec-light-80: #33406f;--sec-light-60: #667093;--sec-light-40: #999fb7;--sec-light-20: #cccfdb;--sec-light-10: #e6e7ed;--sec-light-05: #f2f3f6;--sec-light-02: #fafafb;--dark: #00104b;--dark-80: #33406f;--dark-60: #667093;--dark-40: #999fb7;--dark-20: #cccfdb;--dark-10: #e6e7ed;--dark-05: #f2f3f6;--dark-02: #fafafb;--sec-dark-00: #181a20;--sec-dark-80: #e5e6eb;--sec-dark-60: #aab0c0;--sec-dark-40: #717993;--sec-dark-20: #44495a;--sec-dark-10: #2e323d;--sec-dark-05: #23262f;--sec-dark-02: #1c1f26;--night: #181a20;--night-98: #1c1f26;--night-95: #23262f;--night-90: #2e323d;--night-80: #44495a;--night-60: #717993;--night-40: #aab0c0;--night-20: #e5e6eb;--black-pure: #000000;--white-pure: #ffffff;--overlay: rgba(0, 16, 75, .4);--sand: #ffedd3;--sand-80: #fff1dc;--sand-60: #fff4e5;--sand-40: #fff8ed;--sand-20: #fffbf6;--cyan: #20c2e0;--cyan-80: #4dcee6;--cyan-60: #79daec;--cyan-40: #a6e7f3;--cyan-20: #d2f3f9;--green: #0dbd83;--green-contrast: #09865d;--success: #0dbd83;--success-contrast: #09865d;--success-darker: #0caa76;--success-contrast-darker: #087954;--success-bright: #3dca9c;--success-light: #ecfaf5;--success-shadow: #cff2e6;--red: #ff5252;--red-contrast: #eb0000;--error: #ff5252;--error-contrast: #eb0000;--danger: #ff5252;--danger-contrast: #eb0000;--danger-darker: #e64a4a;--danger-contrast-darker: #d40000;--danger-bright: #ff7575;--danger-light: #fff1f1;
3--danger-shadow: #ffdcdc;--purple: #7263d0;--info: #7263d0;--info-darker: #6759bb;--info-bright: #8e82d9;--info-light: #f4f3fb;--info-shadow: #e3e0f6;--orange: #ffa600;--warning: #ffa600;--warning-darker: #e69500;--warning-bright: #ffb833;--warning-light: #fff8eb;--warning-shadow: #ffedcc;--pink: #f65c96;--pink-contrast: #e80d5f;--pink-darker: #dd5387;--pink-contrast-darker: #d10c56;--pink-bright: #f87dab;--pink-light: #fef2f7;--pink-shadow: #fddeea;--yellow: #fecf02;--yellow-contrast: #9f661e;--payback: #0046aa;--healthx: #151b36;--satisfaction-strong: #a38247;--satisfaction-shadow: #ede4d3;--expats-shadow: #b3ede5;--pastel-sky: #cce4ff;--pastel-rose: #ffdcdc;--pastel-mint: #cff2e6;--pastel-lemon: #fff5cc;--pastel-purple: #e2dffb;--pastel-sand: #ebe1d3;--primary-rgb: 0, 119, 255;--cyan-rgb: 32, 194, 224;--green-rgb: 13, 189, 131;--red-rgb: 255, 82, 82;--orange-rgb: 255, 166, 0;--dark-rgb: 0, 16, 75;--dark-10-rgb: 230, 231, 237;--gray-dark-rgb: 51, 64, 111;--gray-lighter-rgb: 204, 207, 219;--comprehensive: #0077ff;--comprehensive-dark: #006be6;--comprehensive-darker: #005fcc;--comprehensive-darkest: #004799;--comprehensive-light: #b3d6ff;--comprehensive-pale: #e6f1ff;--first: #404a8d;--first-dark: #3a437f;--first-darker: #333b71;--first-darkest: #262c55;--first-light: #c6c9dd;--first-pale: #ecedf4;--business: #009cfe;--business-dark: #008ce5;--business-darker: #007dcb;--business-darkest: #005e98;--business-light: #b3e1ff;--business-pale: #e6f5ff;--economy: #905aca;--economy-dark: #8251b6;--economy-darker: #7348a2;--economy-darkest: #563679;--economy-light: #deceef;--economy-pale: #f4effa;--premium-economy: #6e7fed;--premium-economy-dark: #6372d5;--premium-economy-darker: #5866be;--premium-economy-darkest: #424c8e;--premium-economy-light: #d4d9fa;--premium-economy-pale: #f1f2fd;--civil: #8b50ff;--civil-dark: #7d48e6;--civil-darker: #6f40cc;--civil-darkest: #533099;--civil-light: #dccbff;--civil-pale: #f3eeff;--exclusive: #063773;--exclusive-dark: #053268;--exclusive-darker: #052c5c;--exclusive-darkest: #042145;--exclusive-light: #b4c3d5;--exclusive-pale: #e6ebf1;--expats: #00c2a9;--expats-dark: #00af98;--expats-darker: #009b87;--expats-darkest: #007465;--expats-light: #b3ede5;--expats-pale: #e6f9f6;--dental: #00bcdc;--dental-dark: #00a9c6;--dental-darker: #0096b0;--dental-darkest: #007184;--dental-light: #b3ebf5;--dental-pale: #e6f8fc;--company: #e09c1f;--company-dark: #ca8c1c;--company-darker: #b37d19;--company-darkest: #865e13;--company-light: #f6e1bc;--company-pale: #fcf5e9;--dental-70: #5eccd7;--dental-70-dark: #55b8c2;--dental-70-darker: #4ba3ac;--dental-70-darkest: #387a81;--dental-70-light: #cff0f3;--dental-70-pale: #effafb;--dental-85: #677eeb;--dental-85-dark: #5d71d4;--dental-85-darker: #5265bc;--dental-85-darkest: #3e4c8d;--dental-85-light: #d1d8f9;--dental-85-pale: #f0f2fd;--clinic: #3db88d;--clinic-dark: #37a67f;--clinic-darker: #319371;--clinic-darkest: #256e55;--clinic-light: #c5eadd;--clinic-pale: #ecf8f4;--zweibett: #55c291;--zweibett-dark: #4daf83;--zweibett-darker: #449b74;--zweibett-darkest: #337457;--zweibett-light: #ccedde;--zweibett-pale: #eef9f4;--einbett: #319884;--einbett-dark: #2c8977;--einbett-darker: #277a6a;--einbett-darkest: #1d5b4f;--einbett-light: #c1e0da;--einbett-pale: #eaf5f3;--satisfaction: #c2a46d;--satisfaction-dark: #af9462;--satisfaction-darker: #9b8357;--satisfaction-darkest: #746241;--satisfaction-light: #ede4d3;--satisfaction-pale: #f9f6f0;--study-free: #052d5e;--study-free-dark: #052955;--study-free-darker: #04244b;--study-free-darkest: #031b38;--study-free-light: #b4c0cf;--study-free-pale: #e6eaef;--study-protect: #005ea8;--study-protect-dark: #005597;--study-protect-darker: #004b86;--study-protect-darkest: #003865;--study-protect-light: #b3cfe5;--study-protect-pale: #e6eff6;--option: #5f50ff;--option-dark: #5648e6;--option-darker: #4c40cc;--option-darkest: #393099;--option-light: #cfcbff;--option-pale: #efeeff;--text-gray: #33406f;--text-gray-darker: #293359;--text-blue: #1e429f;--text-blue-darker: #18357f;--text-purple: #5521b5;--text-purple-darker: #441a91;--text-pink: #a745a3;--text-pink-darker: #863782;--text-pink-contrast: #e80d5f;--text-pink-contrast-darker: #ba0a4c;--text-green: #04543f;--text-green-darker: #034332;--text-red: #9a1c1c;--text-red-darker: #7b1616;--text-orange: #8a2c0d;--text-orange-darker: #6e230a;--text-yellow: #a3691f;--text-yellow-darker: #825419;--text-yellow-contrast: #9f661e;--text-yellow-contrast-darker: #7f5218;--text-background-gray: #f2f3f6;--text-background-gray-darker: #c2c2c5;--text-background-blue: #e1effe;--text-background-blue-darker: #b4bfcb;--text-background-purple: #edebfe;--text-background-purple-darker: #bebccb;--text-background-pink: #fee6fd;--text-background-pink-darker: #cbb8ca;--text-background-green: #def7ec;--text-background-green-darker: #b2c6bd;--text-background-red: #fde8e7;--text-background-red-darker: #cabab9;--text-background-orange: #feecdc;--text-background-orange-darker: #cbbdb0;--text-background-yellow: #fffaca;--text-background-yellow-darker: #ccc8a2;--text: var(--sec-light-60);--text-light: var(--sec-light-40);--text-lighter: var(--sec-light-20);--text-heading: var(--sec-light-100);--line: var(--sec-light-10);--border-light: var(--sec-light-10);--border: var(--sec-light-20);--border-dark: var(--sec-light-40);--border-primary: var(--primary);--border-primary-dark: var(--primary-darker);--border-error: var(--error);--border-radius-xs: 4px;--border-radius-sm: 6px;--border-radius-md: 8px;--border-radius-lg: 12px;--border-radius-xl: 16px;--disabled: var(--sec-light-02);--shadow: rgba(0, 16, 75, .15);--shadow-dark: rgba(0, 16, 75, .2);
3--box-shadow-xs: 0 1px 2px var(--shadow-dark);--box-shadow-sm: 0 2px 4px var(--shadow-dark);--box-shadow-md: 0 4px 12px var(--shadow);--box-shadow-lg: 0 8px 24px var(--shadow);--transition: all .2s ease-in-out;--focus-shadow-primary: 0 0 0 4px var(--primary-20);--focus-shadow-darker: 0 0 0 4px var(--sec-light-40);--focus-shadow-dark: 0 0 0 4px var(--sec-light-20);--focus-shadow-gray: 0 0 0 4px var(--sec-light-10);--focus-shadow-danger: 0 0 0 4px var(--danger-shadow);--focus-shadow-success: 0 0 0 4px var(--success-shadow);--focus-shadow-warning: 0 0 0 4px var(--warning-shadow);--focus-shadow-info: 0 0 0 4px var(--info-shadow);--focus-shadow-pink: 0 0 0 4px var(--pink-shadow);--focus-shadow-gold: 0 0 0 4px var(--satisfaction-shadow);--focus-shadow-expats: 0 0 0 4px var(--expats-shadow);--focus-shadow-text-primary: drop-shadow(0px 1px 3px rgba(0, 119, 255, .5));--focus-shadow-text-pink: drop-shadow(0px 1px 3px rgba(246, 92, 150, .5))}[data-theme=contrast][_ngcontent-%COMP%]   *[_ngcontent-%COMP%]{--primary: var(--primary-contrast);--primary-darker: var(--primary-contrast-darker);--success: var(--success-contrast);--success-darker: var(--success-contrast-darker);--danger: var(--danger-contrast);--danger-darker: var(--danger-contrast-darker);--pink: var(--pink-contrast);--pink-darker: var(--pink-contrast-darker);--satisfaction: var(--satisfaction-pale);--satisfaction-strong: var(--satisfaction-darkest);--yellow: var(--yellow-contrast)}.alert[_ngcontent-%COMP%]{position:relative;padding:12px 42px 12px 16px;font-size:16px;font-weight:500;line-height:22px;text-align:left;border-radius:var(--border-radius-sm);color:var(--text-blue);background:var(--text-background-blue)}@media (min-width: 768px){.alert[_ngcontent-%COMP%]{display:inline-block}}.alert.secondary[_ngcontent-%COMP%]{color:var(--text-gray);background:var(--text-background-gray)}.alert.secondary[_ngcontent-%COMP%]   .alert-close[_ngcontent-%COMP%]:focus-visible{box-shadow:var(--focus-shadow-gray)}.alert.success[_ngcontent-%COMP%]{color:var(--text-green);background:var(--text-background-green)}.alert.success[_ngcontent-%COMP%]   .alert-close[_ngcontent-%COMP%]:focus-visible{box-shadow:var(--focus-shadow-success)}.alert.danger[_ngcontent-%COMP%]{color:var(--text-red);background:var(--text-background-red)}.alert.danger[_ngcontent-%COMP%]   .alert-close[_ngcontent-%COMP%]:focus-visible{box-shadow:var(--focus-shadow-danger)}.alert.warning[_ngcontent-%COMP%]{color:var(--text-yellow);background:var(--text-background-yellow)}.alert.warning[_ngcontent-%COMP%]   .alert-close[_ngcontent-%COMP%]:focus-visible{box-shadow:var(--focus-shadow-warning)}.alert.info[_ngcontent-%COMP%]{color:var(--text-purple);background:var(--text-background-purple)}.alert.info[_ngcontent-%COMP%]   .alert-close[_ngcontent-%COMP%]:focus-visible{box-shadow:var(--focus-shadow-info)}.alert.dark[_ngcontent-%COMP%]{color:var(--white);background:var(--dark)}.alert.dark[_ngcontent-%COMP%]   .alert-close[_ngcontent-%COMP%]:focus-visible{box-shadow:var(--focus-shadow-dark)}.alert.block[_ngcontent-%COMP%]{padding:12px 12px 12px 16px;border:1px solid rgba(30,66,159,.1);border-radius:var(--border-radius-lg);display:flex;align-items:center;gap:12px}.alert.block[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%], .alert.block[_ngcontent-%COMP%]   .svg[_ngcontent-%COMP%]{flex-shrink:0}.alert.block[_ngcontent-%COMP%]   .otto-alert-block-content[_ngcontent-%COMP%]{flex-grow:1}.alert.block[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .alert.block[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]:hover{--color: currentColor;--outline: currentColor}.alert.block.secondary[_ngcontent-%COMP%]{border-color:#33406f1a}.alert.block.success[_ngcontent-%COMP%]{border-color:#04543f1a}.alert.block.danger[_ngcontent-%COMP%]{border-color:#9a1c1c1a}.alert.block.warning[_ngcontent-%COMP%]{border-color:#a3691f1a}.alert.block.info[_ngcontent-%COMP%]{border-color:#5521b51a}.alert.block.dark[_ngcontent-%COMP%]{border:none}.alert-close[_ngcontent-%COMP%]{position:absolute;right:10px;top:13px;display:inline-block;margin-left:16px;width:20px;height:20px;border:none;outline:none;background-color:transparent;color:inherit}.alert-close[_ngcontent-%COMP%]:before, .alert-close[_ngcontent-%COMP%]:after{content:"";display:block;position:absolute;
3left:2px;top:9px;width:16px;height:2px;border-radius:1px;background-color:currentColor}.alert-close[_ngcontent-%COMP%]:before{transform:rotate(-45deg)}.alert-close[_ngcontent-%COMP%]:after{transform:rotate(45deg)}.alert-close[_ngcontent-%COMP%]:focus-visible{border-radius:var(--border-radius-xs);box-shadow:var(--focus-shadow-primary)}.alert-close[_ngcontent-%COMP%]{cursor:pointer}']})}return tt})(),rt=(()=>{class tt{static \u0275fac=function(on){return new(on||tt)};static \u0275mod=h.$C({type:tt});static \u0275inj=h.G2t({imports:[Te.md.forFeature(X.h),H.Vm.forFeature(A)]})}return tt})()},23840:(st,Q,g)=>{"use strict";g.d(Q,{e:()=>R});var a=g(40262),h=g(58527),H=g(52713),z=g(34184);const P=["container"];let C=(()=>{class ne{notification=h.hFB.required();container=h.ebz.required("container",{read:h.c1b});registry=(0,h.WQX)(z.N);ngOnInit(){const _e=this.notification(),le=this.registry.get(_e.templateId);le&&this.container().createEmbeddedView(le,{..._e.context,notification:_e})}static \u0275fac=function(le){return new(le||ne)};static \u0275cmp=h.VBU({type:ne,selectors:[["frontend-notification-template"]],viewQuery:function(le,Re){1&le&&h.wEZ(Re.container,P,5,h.c1b),2&le&&h.NyB()},inputs:{notification:[1,"notification"]},standalone:!0,features:[h.aNF],decls:2,vars:0,consts:[["container",""]],template:function(le,Re){1&le&&h.nrm(0,"div",null,0)},encapsulation:2})}return ne})();var B=g(50346),_=g(61837);const q=(ne,se)=>se.id,A=ne=>["notifications-queue",ne];function X(ne,se){if(1&ne){const _e=h.RV6();h.j41(0,"frontend-notification-template",1),h.bIt("click",function(){const Re=h.eBV(_e).$implicit,Le=h.XpG();return h.Njj(Le.removeNotification(Re))}),h.k0s()}2&ne&&h.Y8G("notification",se.$implicit)("@fadeInOut",void 0)}let R=(()=>{class ne{store=(0,h.WQX)(H.il);positionClass=(0,h.hFB)("top");extraTopSpacing=(0,h.hFB)(!1);extraRightSpacing=(0,h.hFB)(!1);notifications=this.store.selectSignal(_.h.selectNotificationsState);removeNotification(_e){this.store.dispatch((0,B.w)({id:_e.id}))}static \u0275fac=function(le){return new(le||ne)};static \u0275cmp=h.VBU({type:ne,selectors:[["frontend-notification-queue"]],inputs:{positionClass:[1,"positionClass"],extraTopSpacing:[1,"extraTopSpacing"],extraRightSpacing:[1,"extraRightSpacing"]},standalone:!0,features:[h.aNF],decls:3,vars:8,consts:[[1,"notification",3,"notification"],[1,"notification",3,"click","notification"]],template:function(le,Re){1&le&&(h.j41(0,"div"),h.Z7z(1,X,1,2,"frontend-notification-template",0,q),h.k0s()),2&le&&(h.HbH(h.eq3(6,A,Re.positionClass())),h.AVh("extra-top-spacing",Re.extraTopSpacing())("extra-right-spacing",Re.extraRightSpacing()),h.R7$(),h.Dyx(Re.notifications()))},dependencies:[C],styles:[".notifications-queue[_ngcontent-%COMP%]{position:fixed;z-index:1050;right:20px;bottom:20px;width:calc(100% - 40px);text-align:right}@media (min-width: 768px){.notifications-queue[_ngcontent-%COMP%]{max-width:480px}}.notifications-queue.top[_ngcontent-%COMP%]{top:20px;bottom:auto}.notifications-queue.extra-top-spacing[_ngcontent-%COMP%]{top:80px}@media (min-width: 768px){.notifications-queue.extra-top-spacing[_ngcontent-%COMP%]{top:84px}}.notifications-queue.extra-right-spacing[_ngcontent-%COMP%]{right:140px}.notifications-queue[_ngcontent-%COMP%]   .notification[_ngcontent-%COMP%]{display:block;margin-bottom:8px}.notifications-queue[_ngcontent-%COMP%]   .notification[_ngcontent-%COMP%]:last-child{margin-bottom:0}"],data:{animation:[(0,a.hZ)("fadeInOut",[(0,a.kY)(":enter",[(0,a.iF)({opacity:0}),(0,a.i0)(300,(0,a.iF)({opacity:1}))]),(0,a.kY)(":leave",[(0,a.i0)(300,(0,a.iF)({opacity:0}))])])]}})}return ne})()},34184:(st,Q,g)=>{"use strict";g.d(Q,{N:()=>h});var a=g(58527);let h=(()=>{class H{templates=new Map;register(P,C){this.templates.set(P,C)}unregister(P){this.templates.delete(P)}get(P){return this.templates.get(P)}static \u0275fac=function(C){return new(C||H)};static \u0275prov=a.jDH({token:H,factory:H.\u0275fac,providedIn:"root"})}return H})()},50346:(st,Q,g)=>{"use strict";g.d(Q,{w:()=>H,z:()=>h});var a=g(52713);const h=(0,a.VP)("[Notifications] Add Notification",(0,a.xk)()),H=(0,a.VP)("[Notifications] Remove Notification",(0,a.xk)())},61837:(st,Q,g)=>{"use strict";g.d(Q,{h:()=>H});var a=g(52713),h=g(50346);const H=(0,a.VG)({name:"notifications",reducer:(0,a.vy)([],(0,a.on)(h.z,(z,{notification:P})=>[P,...z]),(0,a.on)(h.w,(z,{id:P})=>z.filter(C=>C.id!==P)))})},66990:(st,Q,g)=>{"use strict";g.d(Q,{CI:()=>zi,CP:()=>sn,CY:()=>q,IN:()=>P,Jc:()=>B,Nd:()=>Ze,SQ:()=>C,Xp:()=>Yt,Zu:()=>H,bd:()=>h,bx:()=>se,dw:()=>_t,f4:()=>ke,hl:()=>He,iy:()=>z,jf:()=>Be,oO:()=>Pe,p8:()=>ct,rA:()=>_e,uH:()=>ge,uR:()=>ne,v0:()=>bt});var a=g(58527);const h=new a.nKC("AUDIT_LOG"),H=new a.nKC("redirectApp"),z=new a.nKC("applicationDomain",{factory:()=>{}}),P=new a.nKC("tokenTitles"),C={access:"ngc-access_token",refresh:"ngc-refresh_token"},B=new a.nKC("authAppUri"),q=(new a.nKC("satisfactionSurveyServiceUri"),new a.nKC("websiteUri")),ne=(new a.nKC("signupAppUri"),new a.nKC("webAppUrl"),new a.nKC("adminAppUrl"),new a.nKC("healthXServiceUrl")),se=new a.nKC("freemiumServiceUrl"),_e=new a.nKC("phpBackendServicesUrl"),ct=(new a.nKC("signupServiceUrl"),new a.nKC("tariffServiceUrl"),new a.nKC("ottoprintServiceUrl"),new a.nKC("partnerApiUrl"),new a.nKC("innovasApiUri"),new a.nKC("insidersUri"),new a.nKC("appointmentBookingApiUri"),new a.nKC("leadApiUri"),new a.nKC("leadServiceApiKey"),new a.nKC("isProduction")),ke=(new a.nKC("gtmEvent"),new a.nKC("mobileAp
3pPackageNames"),new a.nKC("googleMapsApiKey")),Ze=new a.nKC("firebaseConfig"),Be=(new a.nKC("inventoryDataServiceUri"),new a.nKC("Window")),ge=new a.nKC("appEnvironment"),Pe=new a.nKC("appUrl"),He=new a.nKC("appVersion"),bt=new a.nKC("appTag"),Yt=new a.nKC("versionUrl"),sn=new a.nKC("releaseNotesUrl"),_t=(new a.nKC("appFeatures"),new a.nKC("marketingApiUrl"),new a.nKC("referralApiUrl"),new a.nKC("salesforceApiUrl"),new a.nKC("gdprApiUrl"),new a.nKC("limeSurveyUri"),new a.nKC("documentUploadInfoMessage")),zi=(new a.nKC("doctorAppointmentUrl"),new a.nKC("agentServiceUrl"),new a.nKC("DOCUMENT_EDITOR_URL"),new a.nKC("FRIENDLY_CAPTCHA_ENABLED"),new a.nKC("FRIENDLY_CAPTCHA_SITE_KEY"),new a.nKC("FRIENDLY_CAPTCHA_URL"),new a.nKC("DOCUMENT_EDITOR_LETTER_TEMPLATES_PATH"),new a.nKC("LETTER_SERVICE_URI"),new a.nKC("ABLYFT_PROJECT_ID"),new a.nKC("IS_ABTEST_ENABLED"),new a.nKC("consultationProtocolServiceUri"),new a.nKC("maintenanceWindow"),new a.nKC("masterDataApiGatewayUrl"));new a.nKC("useThirdPartyCookieContext")},51376:(st,Q,g)=>{"use strict";g.d(Q,{vTj:()=>Ya,eKl:()=>Oi,e_9:()=>ds,H7o:()=>cr,TGQ:()=>Yn,rvg:()=>He,Pb_:()=>Di,Q9W:()=>Ul,WtB:()=>Qa,Yu9:()=>pt,Xgp:()=>Tc,TMK:()=>gi,tNm:()=>W,lot:()=>_e,TXS:()=>ge,mi2:()=>yr,L6M:()=>mr,F6E:()=>sn,D0_:()=>el,A4E:()=>Ss,NKN:()=>Ua,_gw:()=>Fc._,cNL:()=>Ac});const _e="_uid";var ge=function(k){return k.Employed="employed",k.CivilServant="civil-servant",k.CivilServantCandidate="civil-servant-applicant",k.SelfEmployed="self-employed",k.Student="student",k.Trainee="trainee",k.Spouse="spouse",k.Child="child",k.CivilServantStudentChild="civil-servant-student-child",k.CivilServantCandidateChild="civil-servant-applicant-child",k}(ge||{}),He=function(k){return k.VideoConsultation="video_consultation",k.HealthXParticipation="health_x_participation",k.PaymentDataExtraction="payment_data_extraction",k.ThryveDataProvider="thryve_data_provider",k.TrackAppAnalytics="track_app_analytics",k.ProcessingPersonalData="processing_personal_data",k.ContactMeLater="contact_me_later",k.OnlineDoctorAppointment="online_doctor_appointment",k.OnlineDoctorAppointment3rdParty="online_doctor_appointment_3rd_party",k}(He||{}),sn=function(k){return k[k.Lower=10]="Lower",k[k.Higher=25]="Higher",k[k.Half=50]="Half",k[k.None=0]="None",k[k.StudentProtect=500]="StudentProtect",k}(sn||{}),ft=function(k){return k[k.None=0]="None",k[k.Lower=500]="Lower",k[k.Higher=1250]="Higher",k[k.Half=1e3]="Half",k}(ft||{}),Tt=function(k){return k[k["basic-0"]=0]="basic-0",k[k["basic-300"]=300]="basic-300",k[k["basic-600"]=600]="basic-600",k[k["basic-900"]=900]="basic-900",k[k["basic-1200"]=1200]="basic-1200",k}(Tt||{}),rt=function(k){return k.CivilServant="civil-servant",k.Comprehensive="comprehensive",k.ComprehensiveBroker="comprehensive-broker",k.Dental="dental",k.DentalBroker="dental-broker",k.Clinic="clinic",k.CivilServantBroker="civil-servant-broker",k.Company="company",k.OptionTariffBroker="option-tariff-broker",k}(rt||{}),gi=function(k){return k.German="de",k.English="en",k}(gi||{});const pt=[/\w/,/\w/,/\w/,/\w/," ",/\w/,/\w/,/\w/,/\w/," ",/\w/,/\w/,/\w/,/\w/," ",/\w/,/\w/,/\w/,/\w/," ",/\w/,/\w/,/\w/,/\w/," ",/\w/,/\w/,/\w/,/\w/," ",/\w/,/\w/,/\w/,/\w/," ",/\w/,/\w/,/\w/,/\w/];var Oi=function(k){return k.Enabled="enabled",k.Disabled="disabled",k.NotSupported="not_supported",k}(Oi||{}),mr=function(k){return k.SignupComplete="signup_complete",k.CanUploadDocuments="can_upload_documents",k.PcpOptinRequired="pcp_optin_required",k.ContractClosed="contract_closed",k.TodoRequired="todo_required",k.VideoConsultationAvailable="video_consultation_available",k.HealthX="health_x",k.ReferFriend="refer_friend",k.SepaDebit="sepa_debit",k}(mr||{}),yr=function(k){return k.CivilServant="civil-servant",k.Comprehensive="comprehensive",k.Dental="dental",k.Clinic="clinic",k.CompulsoryNursingCareStandalone="compulsory-nursing-care-standalone",k.Company="company",k.Option="option",k}(yr||{});Object.freeze({[yr.CivilServant]:"Beihilfe",[yr.Comprehensive]:"Vollversicherung",[yr.Dental]:"Zahnzusatz",[yr.Company]:"Betriebliche Versicherung",[yr.Clinic]:"Krankenhauszusatz",[yr.CompulsoryNursingCareStandalone]:"Pflegeversicherung",[yr.Option]:"Optionstarif"});var Di=function(k){return k.Student="student",k.CivilServantApplicant="civil_servant_applicant",k.Expat="expat",k}(Di||{}),ds=function(k){return k.Employer="employer_certificate",k.PrivateInsurance="private_insurance_certificate",k.HealthInsurance="health_insurance_certificate",k.HealthInsuranceExpats="health_insurance_certificate_expats",k.Aid="aid_certificate",k.TravelCertificate="travel_certificate",k}(ds||{}),cr=function(k){return k.Xs="xs",k.Sm="sm",k.Md="md",k.Lg="lg",k.Xl="xl",k}(cr||{}),nn=function(k){return k.First="first",k.Business="business",k.PremiumEconomy="premium-economy",k.Economy="economy",k.Basic24="basic2021",k.Comfort24="comfort2021",k.Premium24="premium2021",k.Standard2022="standard2022",k.Classic2022="classic2022",k.Premium2022="premium2022",k.ApplicantClassic2022="applicant-classic2022",k.ApplicantPremium2022="applicant-premium2022",k.ExclusiveGarant24="exclusive-guarantor",k.ExclusiveGarant24Gen2="applicant-2023",k.ExclusiveFlex24="exclusive-flex",k.ExclusiveFlex24Gen2="applicant-plus-2023",k}(nn||{}),et=function(k){return k.CrewCareXall300="xall-300",k.CrewCareXall600="xall-600",k.CrewCareXall900="xall-900",k.CrewCareXall1200="xall-1200",k.CrewCareXall1500="xall-1500",k}(et||{}),Zt=function(k){return k.First10="first-10",k.First25="first-25",k.Business10="business-10",k.Business25="business-25",k.Expat10="expat-10",k.FirstClass100_10="first2019single-10",k.FirstClass100_25="first2019single-25",k.FirstClass100Z_10="first2019twin-10",k.FirstClass100Z_25="first2019twin-25",k.FirstClassProPlus="firstproplus2024-0",k.BusinessClass100_10="business2019twin-10",k.BusinessClass100_25="business2019twin-25",k.BusinessClassPro="businesspro2024-0",k.PremiumEconomy100_10="economy-10",k.PremiumEconomy100_50="economy-
350",k.Emergency="emergency",k.Basic0="basic-0",k.Basic300="basic-300",k.Basic600="basic-600",k.Basic900="basic-900",k.Basic1200="basic-1200",k.StudentFree="student-free",k.StudentProtect="student-protect",k.StudentFree24="student-free24",k.StudentProtect24="student-protect24",k.StudentSmart="student-smart",k.StudentSecureBasic2024="student-secure-basic2024",k.StudentSecurePremium2024="student-secure-premium2024",k}(Zt||{}),Yn=function(k){return k.First="first",k.Business="business",k.BusinessPro="businesspro2024",k.Expat="expat",k.FirstClass100="first2019single",k.FirstClass100Z="first2019twin",k.FirstClassProPlus="firstproplus2024",k.BusinessClass100="business2019twin",k.PremiumEconomy="economy",k.StudentFree="student-free",k.StudentProtect="student-protect",k.StudentFree24="student-free24",k.StudentProtect24="student-protect24",k.StudentSmart="student-smart",k.StudentSecureBasic2024="student-secure-basic2024",k.StudentSecurePremium2024="student-secure-premium2024",k}(Yn||{}),ii=function(k){return k.Einbett="einbett",k.Zweibett="zweibett",k.Flex="twen",k}(ii||{}),Ur=function(k){return k.Einbett="tuc-einbett",k.Zweibett="tuc-zweibett",k.Flex="tuc-twen",k}(Ur||{}),sr=function(k){return k.Dental="dental",k.Economy="tud-economy",k.Business="tud-business",k.First="tud-first",k.EconomyV2="tud-economy-v2",k.BusinessV2="tud-business-v2",k.FirstV2="tud-first-v2",k.EconomyBonusV2="tud-economy-bonus-v2",k.EconomyCareV2="tud-economy-care-v2",k.EconomyPremiumV2="tud-economy-premium-v2",k.BusinessBonusV2="tud-business-bonus-v2",k.BusinessCareV2="tud-business-care-v2",k.BusinessPremiumV2="tud-business-premium-v2",k.FirstCareV2="tud-first-care-v2",k}(sr||{}),lr=function(k){return k.Premium="premium",k.Economy="economy",k.Business="business",k.First="first",k.BusinessLife="business-life",k.EconomyCare="economy-care",k.EconomyBonus="economy-bonus",k.EconomyPremium="economy-premium",k.BusinessCare="business-care",k.BusinessBonus="business-bonus",k.BusinessPremium="business-premium",k.FirstCare="first-care",k.EconomyV2="economy-v2",k.BusinessV2="business-v2",k.FirstV2="first-v2",k.EconomyBonusV2="economy-bonus-v2",k.EconomyCareV2="economy-care-v2",k.EconomyPremiumV2="economy-premium-v2",k.BusinessBonusV2="business-bonus-v2",k.BusinessCareV2="business-care-v2",k.BusinessPremiumV2="business-premium-v2",k.FirstCareV2="first-care-v2",k}(lr||{}),Ee=function(k){return k.ComprehensiveBusiness="business",k.ComprehensiveBusinessPro="businesspro2024",k.ComprehensiveFirst="first",k.ComprehensiveFirstProPlus="firstproplus2024",k.ComprehensivePremiumEconomy="economy",k.ComprehensiveStudentFree="student-free",k.
3ComprehensiveStudentFree24="student-free24",k.ComprehensiveStudentProtect="student-protect",k.ComprehensiveStudentProtect24="student-protect24",k.ComprehensiveStudentSmart="student-smart",k.ComprehensiveExpat="expat",k.ClinicOneBed="einbett",k.ClinicTwoBed="zweibett",k.CivilServantBasic24="basis24",k.CivilServantComfort24="comfort24",k.CivilServantPremium24="premium24",k.CivilServantApplicantExclusiveFlex24="exclusive-flex",k.CivilServantApplicantExclusiveGarant24="exclusive-guarantor",k.CivilServantApplicantExclusiveGarant24Gen2="applicant-2023",k.CivilServantApplicantExclusiveFlex24Gen2="applicant-plus-2023",k.DentalEconomy="dental-economy",k.DentalBusiness="dental-business",k.DentalFirst="dental-first",k}(Ee||{});const Xe={exklusiveGarant24:["Mehrbett Zimmer im Krankenhaus","-Chefarztbehandlung","Bis zu 100% f\xfcr Zahnersatz"],exklusiveFlex24:["2-Bett Zimmer im Krankenhaus","Chefarztbehandlung","Bis zu 100% f\xfcr Zahnersatz"],basic24:["Mehrbett Zimmer im Krankenhaus","-Chefarztbehandlung","Direkte Facharztbehandlung","Professionelle Zahnreinigung"],comfort24:["2-Bett Zimmer im Krankenhaus","Chefarztbehandlung","Direkte Facharztbehandlung","Professionelle Zahnreinigung"],premium24:["1-Bett Zimmer im Krankenhaus","Chefarztbehandlung","Direkte Facharztbehandlung","Professionelle Zahnreinigung"],exklusiveGarant24Gen2:["Mehrbett Zimmer im Krankenhaus","-Chefarztbehandlung","Bis zu 100% f\xfcr Zahnersatz"],exklusiveFlex24Gen2:["2-Bett Zimmer im Krankenhaus","Chefarztbehandlung","Bis zu 100% f\xfcr Zahnersatz"]};var qe=function(k){return k.ExclusiveGarant24Gen2="cshi-applicant-2023",k.ExclusiveFlex24Gen2="cshi-applicant-plus-2023",k.First="cshi-first",k.Business="cshi-business",k.Economy="cshi-economy",k.PremiumEconomy="cshi-premium-economy",k.ExclusiveFlex24="cshi-exclusive-flex",k.ExclusiveGarant24="cshi-exclusive-guarantor",k.Basic24="cshi-basic2021",k.Comfort24="cshi-comfort2021",k.Premium24="cshi-premium2021",k.Standard2022="cshi-standard2022",k.Classic2022="cshi-classic2022",k.Premium2022="cshi-premium2022",k.ApplicantClassic2022="cshi-applicant-classic2022",k.ApplicantPremium2022="cshi-applicant-premium2022",k}(qe||{});const kt={signupType:rt.CivilServant,isBundle:!0,disclaimer:"*Beitrag inkl. Pflegepflichtversicherung",allServicesRelativeUrl:"/v/private-krankenversicherung/beamte-leistungen"},Qt={...kt,allServicesRelativeUrl:"/v/private-krankenversicherung/beamtenanwaerter-leistungen"},En={first:{coloredBackgroundIconFile:"cs-first-colored-bg.png",whiteBackgroundIconFile:"cs-first-white-bg.png",color:"first"},business:{coloredBackgroundIconFile:"cs-business-colored-bg.png",whiteBackgroundIconFile:"cs-business-white-bg.png",color:"business"},economy:{coloredBackgroundIconFile:"cs-economy-colored-bg.png",whiteBackgroundIconFile:"cs-economy-white-bg.png",color:"economy"},premiumEconomy:{coloredBackgroundIconFile:"cs-premium-economy-colored-bg.png",whiteBackgroundIconFile:"cs-premium-economy-white-bg.png",color:"premium-economy"},exclusiveGarant:{coloredBackgroundIconFile:"cs-exclusive-garant-colored-bg.png",whiteBackgroundIconFile:"cs-exclusive-garant-white-bg.png",color:"exclusive"},exclusiveFlex:{coloredBackgroundIconFile:"cs-exclusive-flex-colored-bg.png",whiteBackgroundIconFile:"cs-exclusive-flex-white-bg.png",color:"exclusive-flex"},basic24:{coloredBackgroundIconFile:"cs-premium-economy-colored-bg.png",whiteBackgroundIconFile:"cs-premium-economy-white-bg.png",color:"premium-economy"},comfort24:{coloredBackgroundIconFile:"cs-business-colored-bg.png",whiteBackgroundIconFile:"cs-business-white-bg.png",color:"business"},premium24:{coloredBackgroundIconFile:"cs-first-colored-bg.png",whiteBackgroundIconFile:"cs-first-white-bg.png",color:"first"},standard2022:{coloredBackgroundIconFile:"cs-premium-economy-colored-bg.png",whiteBackgroundIconFile:"cs-premium-economy-white-bg.png",color:"premium-economy"},classic2022:{coloredBackgroundIconFile:"cs-business-colored-bg.png",whiteBackgroundIconFile:"cs-business-white-bg.png",color:"business"},premium2022:{coloredBackgroundIconFile:"cs-first-colored-bg.png",whiteBackgroundIconFile:"cs-first-white-bg.png",color:"first"}
3,applicantClassic2022:{coloredBackgroundIconFile:"cs-business-colored-bg.png",whiteBackgroundIconFile:"cs-business-white-bg.png",color:"business"},applicantPremium2022:{coloredBackgroundIconFile:"cs-first-colored-bg.png",whiteBackgroundIconFile:"cs-first-white-bg.png",color:"first"},exclusiveGarant24Gen2:{coloredBackgroundIconFile:"cs-exclusive-garant-colored-bg.png",whiteBackgroundIconFile:"cs-exclusive-garant-white-bg.png",color:"exclusive"},exclusiveFlex24Gen2:{coloredBackgroundIconFile:"cs-exclusive-flex-colored-bg.png",whiteBackgroundIconFile:"cs-exclusive-flex-white-bg.png",color:"exclusive-flex"}},Bn={...kt,id:qe.First,groupName:nn.First,shortId:nn.First,displayName:"First Class",style:En.first},Ci={...kt,id:qe.Business,groupName:nn.Business,shortId:nn.Business,displayName:"Business Class",style:En.business},ei={...kt,id:qe.Economy,groupName:nn.Economy,shortId:nn.Economy,displayName:"Economy Class",style:En.economy},qi={...kt,id:qe.PremiumEconomy,groupName:nn.PremiumEconomy,shortId:nn.PremiumEconomy,displayName:"Premium Economy Class",style:En.premiumEconomy},br={...Qt,id:qe.ExclusiveFlex24,shortId:nn.ExclusiveFlex24,groupName:nn.ExclusiveFlex24,tariffSelectorGroupName:Ee.CivilServantApplicantExclusiveFlex24,displayName:"ExklusivFlex24",displayDescription:"Top-Leistung",style:En.exclusiveFlex,services:Xe.exklusiveFlex24,technicalName:"Vollversicherung"},pr={...Qt,id:qe.ExclusiveFlex24Gen2,shortId:nn.ExclusiveFlex24Gen2,groupName:nn.ExclusiveFlex24Gen2,tariffSelectorGroupName:Ee.CivilServantApplicantExclusiveFlex24Gen2,displayName:"ExklusivFlex24 (Gen2)",displayDescription:"Top-Leistung",style:En.exclusiveFlex24Gen2,services:Xe.exklusiveFlex24Gen2,technicalName:"Vollversicherung"},os={...Qt,id:qe.ExclusiveGarant24,shortId:nn.ExclusiveGarant24,groupName:nn.ExclusiveGarant24,tariffSelectorGroupName:Ee.CivilServantApplicantExclusiveGarant24,displayName:"ExklusivGarant24",displayDescription:"Gute Preis Leistung",style:En.exclusiveGarant,services:Xe.exklusiveGarant24,technicalName:"Vollversicherung"},jr={...Qt,id:qe.ExclusiveGarant24Gen2,shortId:nn.ExclusiveGarant24Gen2,groupName:nn.ExclusiveGarant24Gen2,tariffSelectorGroupName:Ee.CivilServantApplicantExclusiveGarant24Gen2,displayDescription:"Gute Preis Leistung",displayName:"ExklusivGarant24 (Gen2)",style:En.exclusiveGarant24Gen2,services:Xe.exklusiveGarant24Gen2,technicalName:"Vollversicherung"},Gi={oneBed:["1-Bett Zimmer im Krankenhaus","Chefarztbehandlung","Freie Krankenhausauswahl","Begleitperson bei Kindern","Vermittlung von Home Assistance Leistungen, z.B. Haushaltshilfe"],twoBed:["2-Bett Zimmer im Krankenhaus","Chefarztbehandlung","Freie Krankenhausauswahl","Begleitperson bei Kindern"],flex:["2-Bett Zimmer im Krankenhaus","Chefarztbehandlung","Freie Krankenhausauswahl","Begleitperson bei Kindern"]};var vr=function(k){return k.OneBed="tuc-einbett",k.TwoBed="tuc-zweibett",k.Flex="tuc-twen",k}(vr||{});const ki={signupType:rt.Clinic,allServicesRelativeUrl:"/v/krankenhauszusatzversicherung/leistungen"},Rs={oneBed:{color:"clinic-one-bed"},twoBed:{color:"clinic-two-bed"},flex:{color:"clinic-two-bed"}},Ki={...ki,id:vr.OneBed,shortId:ii.Einbett,groupName:Ur.Einbett,tariffSelectorGroupName:Ee.ClinicOneBed,technicalName:"",healthFactoryName:"Klinik1",displayName:"Klinik Einbett",displayDescription:"Zusatzversicherung",style:Rs.oneBed,services:Gi.oneBed};var ka=function(k){return k.CrewCareXall300="tuchi-xall-300",k.CrewCareXall600="tuchi-xall-600",k.CrewCareXall900="tuchi-xall-900",k.CrewCareXall1200="tuchi-xall-1200",k.CrewCareXall1500="tuchi-xall-1500",k}(ka||{});const ba={signupType:rt.Company,allServicesRelativeUrl:"/bkv#leistungenTab"},va={crewCareXall:{coloredBackgroundIconFile:"clinic_cross.png",whiteBackgroundIconFile:"topup-clinic-1bed.png",color:"clinic-one-bed"}},Hr={first:["1-Bett Zimmer","Freie Arztwahl inkl. Chefarzt","Bis zu 90% Zahnersatz"],business:["2-Bett Zimmer","Freie Arztwahl inkl. Chefarzt","Bis zu 80% Zahnersatz"],expat:["English speaking Concierge Service","1-bed room in hospital","Dental treatment 100%","Dental implants up to 90%"],first2019Single:["Freie Arztwahl inkl. Chefarzt","90 - 100% f\xfcr Zahnersatz"],first2019Twin:["Freie Arztwahl inkl. Chefarzt","90 - 100% f\xfcr Zahnersatz"],firstProPlus:["Beitragsr\xfcckerstattung","9 Monate beitragsfrei in Elternzeit","1-Bett Zimmer inkl. Chefarzt","90 - 100% f\xfcr Zahnersatz"],business2019Twin:["2-Bett Zimmer inkl. Chefarzt","80 - 90% f\xfcr Zahnersatz"],businessPro:["Beitragsr\xfcckerstattung","2-Bett Zimmer inkl. Chefarzt","80 - 90% f\xfcr Zahnersatz"],premiumEconomy:["2-Bett Zimmer inkl. Chefarzt","60 - 80% f\xfcr Zahnersatz"],studentFree:["**2-Bett-Zimmer** im Krankenhaus","**550 \u20ac** alle 36 Monate f\xfcr Sehhilfen","**125 \u20ac** im Jahr f\xfcr eine professionelle Zahnreinigung","**Nach dem Studium:** Wechseloption ohne erneute Gesundheitspr\xfcfung"],studentProtect:["**2-Bett-Zimmer** im Krankenhaus","**550 \u20ac** alle 36 Monate f\xfcr Sehhilfen","**125 \u20ac** im Jahr f\xfcr eine professionelle Zahnreinigung","**Nach dem Studium:** Wechseloption ohne erneute Gesundheitspr\xfcfung"],studentFree24:["**2-Bett-Zimmer** im Krankenhaus","**550 \u20ac** alle 36 Monate f\xfcr Sehhilfen","**125 \u20ac** im Jahr f\xfcr eine professionelle Zahnreinigung","**Nach dem Studium:** Wechseloption ohne erneute Gesundheitspr\xfcfung"],studentProtect24:["**2-Bett-Zimmer** im Krankenhaus","**550 \u20ac** alle 36 Monate f\xfcr Sehhilfen","**125 \u20ac** im Jahr f\xfcr eine professionelle Zahnreinigung","**Nach dem Studium:** Wechseloption ohne erneute Gesundheitspr\xfcfung"],studentSmart:["**2-Bett-Zimmer** im Krankenhaus","**100 \u20ac** alle 60 Monate f\xfcr Sehhilfen","**80 \u20ac** im Jahr f\xfcr eine professionelle Zahnreinigung","**Nach dem Studium:** Wechseloption ohne erneute Gesundheitspr\xfcfung"]};var Ra=g(3477),Qr=g.n(Ra);const Fo=(k,ae)=>{const Ce=(window?.["otto-config"]?.app?.features||[]).map(an=>an.split("=")).reduce((an,kn)=>({...an,[kn[0]]:kn[1]}),{});if(!Object.keys(Ce).length)return!0;const lt=Ce[k];return!lt||(ae||(ae=Qr()().toISOString()),Qr()(ae).isAfter(lt))};var gn=function(k){return k.ComprehensiveFirst10="chi-first-10",k.ComprehensiveFirst25="chi-first-25",k.ComprehensiveBusiness10="chi-business-10",k.ComprehensiveBusiness25="chi-business-25",k.ComprehensiveExpat10="chi-expat-10",k.ComprehensiveFirst2019Single10="chi-first2019single-10",k.ComprehensiveFirst2019Single25="chi-first2019single-25",k.ComprehensiveFirst2019Twin10="chi-first2019twin-10",k.ComprehensiveFirst2019Twin25="chi-first2019twin-25",k.ComprehensiveFirstProPlus="chi-firstproplus2024-0",k.ComprehensiveBusiness2019Twin10="chi-business2019twin-10",k.ComprehensiveBusiness2019Twin25="chi-business2019twin-25",k.ComprehensiveBusinessPro="chi-businesspro2024-0",k.ComprehensivePremiumEconomy10="chi-economy-10",k.ComprehensivePremiumEconomy50="chi-economy-50",k.ComprehensiveEmergency="chi-emergency",k.ComprehensiveBasic0Amount="chi-basic-0",k.ComprehensiveBasic300Amount="chi-basic-300",k.ComprehensiveBasic600Amount="chi-basic-600",k.ComprehensiveBasic900Amount="chi-basic-900",k.ComprehensiveBasic1200Amount="chi-basic-1200",k.ComprehensiveStudentFree="chi-student-free",k.
3ComprehensiveStudentProtect="chi-student-protect",k.ComprehensiveStudentFree24="chi-student-free24",k.ComprehensiveStudentProtect24="chi-student-protect24",k.ComprehensiveStudentSmart="chi-student-smart",k.StudentSecureBasic2024="chi-student-secure-basic2024",k.StudentSecurePremium2024="chi-student-secure-premium2024",k}(gn||{});const dr={signupType:rt.Comprehensive,allServicesRelativeUrl:"/v/private-krankenversicherung/tarifleistungen"},io={...dr,allServicesRelativeUrl:"/v/private-krankenversicherung/studenten-leistungen"},fi={first:{color:"first"},business:{color:"business"},expat:{color:"expat"},economy:{color:"premium-economy"},studentFree:{color:"student-free"},studentProtect:{color:"student-protect"}},Or={...dr,id:gn.ComprehensiveFirst10,shortId:Zt.First10,groupName:Yn.First,displayName:"First Class",style:fi.first,services:Hr.first,excess:sn.Lower,excessUnit:"%",maxExcess:ft.Lower,isDisabled:!0},_a={...Or,id:gn.ComprehensiveFirst25,shortId:Zt.First25,excess:sn.Higher,maxExcess:ft.Higher},Bo={...dr,id:gn.ComprehensiveBusiness10,shortId:Zt.Business10,groupName:Yn.Business,displayName:"Business Class",style:fi.business,services:Hr.business,excess:sn.Lower,excessUnit:"%",maxExcess:ft.Lower,displayDescription:"Gute Preis-Leistung",isDisabled:!0},mc={...Bo,id:gn.ComprehensiveBusiness25,shortId:Zt.Business25,excess:sn.Higher,maxExcess:ft.Higher},Ai={...dr,id:gn.ComprehensiveExpat10,shortId:Zt.Expat10,groupName:Yn.Expat,tariffSelectorGroupName:Ee.ComprehensiveExpat,displayName:"Expat",technicalName:"Full insurance",healthFactoryName:"ExpFC1",style:fi.expat,services:Hr.expat,displayDescription:"Excellent coverage for Expats",excess:sn.Lower,excessUnit:"%",maxExcess:ft.Lower,internationalVersion:!0,disclaimer:"*50% is paid by your employer.<br/> Contribution incl. compulsory long-term care insurance",allServicesRelativeUrl:"/en/v/private-health-insurance/expats#coverage"},Ys={...dr,id:gn.ComprehensiveFirst2019Single10,shortId:Zt.FirstClass100_10,groupName:Yn.FirstClass100,tariffSelectorGroupName:Ee.ComprehensiveFirst,displayName:"First Class",technicalName:"FC100",healthFactoryName:"VFC10E",style:fi.first,services:Hr.first2019Single,displayDescription:"Sehr gute Leistung",disclaimer:"*50% zahlt dein Arbeitgeber <br />Beitrag inkl. Pflegepflichtversicherung",excess:sn.Lower,excessUnit:"%",maxExcess:ft.Lower},oc={...Ys,id:gn.ComprehensiveFirst2019Single25,shortId:Zt.FirstClass100_25,healthFactoryName:"VFC25E",excess:sn.Higher,displayDescription:"Sehr gute Leistung",disclaimer:"*50% zahlt dein Arbeitgeber <br />Beitrag inkl. Pflegepflichtversicherung",excessUnit:"%",maxExcess:ft.Higher},fo={...dr,id:gn.ComprehensiveFirst2019Twin10,shortId:Zt.FirstClass100Z_10,groupName:Yn.FirstClass100Z,tariffSelectorGroupName:Ee.ComprehensiveFirst,displayName:"First Class Zweibett",technicalName:"FC100-Z",healthFactoryName:"VFC10Z",style:fi.first,services:Hr.first2019Twin,displayDescription:"Sehr gute Leistung",disclaimer:"*50% zahlt dein Arbeitgeber <br />Beitrag inkl. Pflegepflichtversicherung",excess:sn.Lower,excessUnit:"%",maxExcess:ft.Lower},Xa={...fo,id:gn.ComprehensiveFirst2019Twin25,shortId:Zt.FirstClass100Z_25,healthFactoryName:"VFC25Z",excess:sn.Higher,excessUnit:"%",displayDescription:"Sehr gute Leistung",disclaimer:"*50% zahlt dein Arbeitgeber <br />Beitrag inkl. Pflegepflichtversicherung",maxExcess:ft.Higher},xs={...dr,id:gn.ComprehensiveFirstProPlus,shortId:Zt.FirstClassProPlus,groupName:Yn.FirstClassProPlus,tariffSelectorGroupName:Ee.ComprehensiveFirstProPlus,displayName:"First Class Pro+",technicalName:"VFCpro",healthFactoryName:"VFCpro",style:fi.first,services:Hr.firstProPlus,displayDescription:"Top Leistung,<br/> ohne Selbstbehalt",disclaimer:"*50% zahlt dein Arbeitgeber <br />Beitrag inkl. Pflegepflichtversicherung",excess:sn.None,excessUnit:"\u20ac",maxExcess:ft.None,isDisabled:!Fo("NormieTariffs"),badge:"Pro+"},qs={...dr,id:gn.ComprehensiveBusiness2019Twin10,shortId:Zt.BusinessClass100_10,groupName:Yn.BusinessClass100,tariffSelectorGroupName:Ee.ComprehensiveBusiness,displayName:"Business Class",technicalName:"BC100",healthFactoryName:"VBC10Z",style:fi.business,services:Hr.business2019Twin,displayDescription:"Gute Preis-Leistung",disclaimer:"*50% zahlt dein Arbeitgeber <br />Beitrag inkl. Pflegepflichtversicherung",excess:sn.Lower,maxExcess:ft.Lower,excessUnit:"%"},Qs={...qs,id:gn.ComprehensiveBusiness2019Twin25,shortId:Zt.BusinessClass100_25,healthFactoryName:"VBC25Z",excess:sn.Higher,displayDescription:"Gute Preis-Leistung",disclaimer:"*50% zahlt dein Arbeitgeber <br />Beitrag inkl. Pflegepflichtversicherung",maxExcess:ft.Higher,excessUnit:"%"},es={...dr,id:gn.ComprehensiveBusinessPro,shortId:Zt.BusinessClassPro,groupName:Yn.BusinessPro,tariffSelectorGroupName:Ee.ComprehensiveBusinessPro,displayName:"Business Class Pro",technicalName:"VBCpro",healthFactoryName:"VBCpro",style:fi.business,services:Hr.businessPro,displayDescription:"Gute Preis-Leistung,<br/> ohne Selbstbehalt",disclaimer:"*50% zahlt dein Arbeitgeber <br />Beitrag inkl. Pflegepflichtversicherung",excess:sn.None,excessUnit:"\u20ac",maxExcess:sn.None,isDisabled:!Fo("NormieTariffs"),badge:"Pro"},wo={...dr,id:gn.ComprehensivePremiumEconomy10,shortId:Zt.PremiumEconomy100_10,groupName:Yn.PremiumEconomy,tariffSelectorGroupName:Ee.ComprehensivePremiumEconomy,displayName:"Premium Economy Class",technicalName:"PC100",healthFactoryName:"VPC10Z",style:fi.economy,services:Hr.premiumEconomy,displayDescription:"G\xfcnstigster Tarif",disclaimer:"*50% zahlt dein Arbeitgeber <br />Beitrag inkl. Pflegepflichtversicherung",excess:sn.Lower,maxExcess:ft.Lower,excessUnit:"%"},Ko={...wo,id:gn.ComprehensivePremiumEconomy50,shortId:Zt.PremiumEconomy100_50,healthFactoryName:"VPC50Z",displayDescription:"G\xfcnstigster Tarif",disclaimer:"*50% zahlt dein Arbeitgeber <br />Beitrag inkl. Pflegepflichtversicherung",excess:sn.Half,maxExcess:ft.Half,excessUnit:"%"},hs={...dr,id:gn.ComprehensiveEmergency,shortId:Zt.Emergency,maxExcess:ft.None,dis
3playName:"Notlagentarif",style:fi.first,services:Hr.first,isDisabled:!0,excessUnit:"%"},Ms={...dr,id:gn.ComprehensiveBasic0Amount,shortId:Zt.Basic0,maxExcess:Tt["basic-0"],displayName:"Basistarif BTN 0 SB",style:fi.first,services:Hr.first,isDisabled:!0,excessUnit:"%"},Lo={...dr,id:gn.ComprehensiveBasic300Amount,shortId:Zt.Basic300,maxExcess:Tt["basic-300"],displayName:"Basistarif BTN 300 SB",style:fi.first,services:Hr.first,isDisabled:!0},po={...dr,id:gn.ComprehensiveBasic600Amount,shortId:Zt.Basic600,maxExcess:Tt["basic-600"],displayName:"Basistarif BTN 600 SB",style:fi.first,services:Hr.first,isDisabled:!0},Hs={...dr,id:gn.ComprehensiveBasic900Amount,shortId:Zt.Basic900,maxExcess:Tt["basic-900"],displayName:"Basistarif BTN 900 SB",style:fi.first,services:Hr.first,isDisabled:!0},Da={...dr,id:gn.ComprehensiveBasic1200Amount,shortId:Zt.Basic1200,maxExcess:Tt["basic-120"],displayName:"Basistarif BTN 1.200 SB",style:fi.first,services:Hr.first,isDisabled:!0},Ml={...io,id:gn.ComprehensiveStudentFree,shortId:Zt.StudentFree,groupName:Yn.StudentFree,tariffSelectorGroupName:Ee.ComprehensiveStudentFree,displayName:"Study Free",technicalName:"V22STUD0",healthFactoryName:"V22STUD0",displayDescription:"Bestm\xf6glicher Schutz",disclaimer:"*Beitrag inkl. Pflegepflichtversicherung",style:fi.studentFree,services:Hr.studentFree,excess:sn.None,excessUnit:"\u20ac",hideEmployeeAssistance:!0},Zs={...io,id:gn.ComprehensiveStudentProtect,shortId:Zt.StudentProtect,groupName:Yn.StudentProtect,tariffSelectorGroupName:Ee.ComprehensiveStudentProtect,displayName:"Study Protect",technicalName:"V22STUD500",healthFactoryName:"V22STUD500",displayDescription:"Sehr guter Schutz mit Selbstbehalt",disclaimer:"*Beitrag inkl. Pflegepflichtversicherung",style:fi.studentProtect,services:Hr.studentProtect,excess:sn.StudentProtect,excessUnit:"\u20ac",excessNote:"Gilt nicht f\xfcr station\xe4re Leistungen, Vorsorgeuntersuchungen & professionelle Zahnreinigung",hideEmployeeAssistance:!0},fs={...io,id:gn.ComprehensiveStudentFree24,shortId:Zt.StudentFree24,groupName:Yn.StudentFree24,tariffSelectorGroupName:Ee.ComprehensiveStudentFree24,displayName:"StudiKomfort24 0 SB",disclaimer:"*Beitrag inkl. Pflegepflichtversicherung",technicalName:"V22STUD0",healthFactoryName:"V22STUD0",style:fi.first,services:Hr.studentFree24,excess:sn.None,excessUnit:"\u20ac",hideEmployeeAssistance:!0},Pr={...io,id:gn.ComprehensiveStudentProtect24,shortId:Zt.StudentProtect24,groupName:Yn.StudentProtect24,tariffSelectorGroupName:Ee.ComprehensiveStudentProtect24,displayName:"StudiKomfort24 500 SB",disclaimer:"*Beitrag inkl. Pflegepflichtversicherung",technicalName:"V22STUD500",healthFactoryName:"V22STUD500",style:fi.business,services:Hr.studentProtect24,excess:sn.StudentProtect,excessUnit:"\u20ac",excessNote:"Gilt nicht f\xfcr station\xe4re Leistungen, Vorsorgeuntersuchungen & professionelle Zahnreinigung",hideEmployeeAssistance:!0},go=(Fo("StudentSmartTariff"),{economy:["Keine Wartezeit","Monatlich k\xfcndbar (nach Mindestdauer)","**bis zu 100&nbsp;%** Zahnbehandlung","-Kieferorthop\xe4die f\xfcr Kinder","-Kieferorthop\xe4die f\xfcr Erwachsene","-Zus\xe4tzliche An\xe4sthesie-Leistungen"],business:["Keine Wartezeit","Monatlich k\xfcndbar (nach Mindestdauer","**bis zu 100&nbsp;%** Zahnbehandlung","**85 %-100&nbsp;%** Kieferorthop\xe4die f\xfcr Kinder","-Kieferorthop\xe4die f\xfcr Erwachsene","-Zus\xe4tzliche An\xe4sthesie-Leistungen"],first:["Keine Wartezeit","Monatlich k\xfcndbar (nach Mindestdauer","**bis zu 100&nbsp;%** Zahnbehandlung","**bis zu 100&nbsp;%** Kieferorthop\xe4die f\xfcr Kinder","**bis zu 100&nbsp;%** Kieferorthop\xe4die f\xfcr Erwachsene","Zus\xe4tzliche An\xe4sthesie-Leistungen"]});var Ri=function(k){return k.Premium="tud-premium",k.First="tud-first",k.Business="tud-business",k.Economy="tud-economy",k.EconomyCare="tud-economy-care",k.EconomyBonus="tud-economy-bonus",k.EconomyPremium="tud-economy-premium",k.BusinessLife="tud-business-life",k.BusinessCare="tud-business-care",k.BusinessBonus="tud-business-bonus",k.BusinessPremium="tud-business-premium",k.FirstCare="tud-first-care",k.EconomyV2="tud-economy-v2",k.BusinessV2="tud-business-v2",k.FirstV2="tud-first-v2",k.EconomyBonusV2="tud-economy-bonus-v2",k.EconomyCareV2="tud-economy-care-v2",k.EconomyPremiumV2="tud-economy-premium-v2",k.BusinessBonusV2="tud-business-bonus-v2",k.BusinessCareV2="tud-business-care-v2",k.BusinessPremiumV2="tud-business-premium-v2",k.FirstCareV2="tud-first-care-v2",k}(Ri||{});const ts={signupType:rt.Dental,allServicesRelativeUrl:"/v/zahnzusatzversicherung/leistungen"},Bs={first:{color:"first"},business:{color:"business"},economy:{color:"economy"}},Qc={...ts,id:Ri.Premium,shortId:lr.Premium,displayName:"Premium Class",displayDescription:"ottonova Zahn Premium",technicalName:"Zahn Premium",style:Bs.first,isDisabled:!0},xa={...ts,id:Ri.First,shortId:lr.First,groupName:sr.First,tariffSelectorGroupName:Ee.De
3ntalFirst,displayName:"First Class",displayDescription:"ottonova Zahn 100",technicalName:"Z100 First",style:Bs.first},Uc={...ts,id:Ri.Business,shortId:lr.Business,groupName:sr.Business,tariffSelectorGroupName:Ee.DentalBusiness,displayName:"Business Class",displayDescription:"ottonova Zahn 85",technicalName:"Z85 Business",style:Bs.business},gl={...ts,id:Ri.Economy,shortId:lr.Economy,groupName:sr.Economy,tariffSelectorGroupName:Ee.DentalEconomy,displayName:"Economy Class",displayDescription:"ottonova Zahn 70",technicalName:"Z70 Economy",style:Bs.economy},nd={...ts,id:Ri.EconomyCare,shortId:lr.EconomyCare,displayName:"Economy Class",displayDescription:"ottonova Zahn 70+",technicalName:"Zahn 70 + Care EC",style:Bs.economy,isDisabled:!0},xc={...ts,id:Ri.EconomyBonus,shortId:lr.EconomyBonus,displayName:"Economy Class",displayDescription:"ottonova Zahn 75",technicalName:"Zahn 70 + Zahn Bonus 5",style:Bs.economy,isDisabled:!0},Zc={...ts,id:Ri.EconomyPremium,shortId:lr.EconomyPremium,displayName:"Economy Class Plus",displayDescription:"ottonova Zahn 75+",technicalName:"Zahn 70 + Zahn Bonus 5 + Care EC",style:Bs.economy,isDisabled:!0};var Ya=function(k){return k.Primary="primary",k.Secondary="secondary",k.Success="success",k.Danger="danger",k.Warning="warning",k.Info="info",k.Dark="dark",k}(Ya||{}),Ua=function(k){return k.CurrentVisa="current_visa",k.AdditionalInformation="additional_information",k.IncompleteClaimableDocument="incomplete_claimable_document",k.EnrollmentProof="enrollment_proof",k.CategoryStudentExpiryDate="category_student_expiry_date",k.CategoryCivilServantApplicantExpiryDate="category_civil_servant_applicant_expiry_date",k.Upsell="upsell",k}(Ua||{}),Ss=function(k){return k.New="new",k.CustomerActionRequired="customer_action_required",k.AgentActionRequired="agent_action_required",k.Completed="completed",k}(Ss||{}),el=function(k){return k.UploadDocument="upload_document",k.ProvideTextInformation="provide_text_information",k}(el||{}),Fc=g(48108),Ul=function(k){return k.STATEMENT="STATEMENT",k.UNKNOWN="UNKNOWN",k}(Ul||{});const Ac={specialistInvoice:"specialist-invoice",otherInvoice:"other-invoice",quoteForServices:"quote-for-services",medicalCertificate:"medical-certificate",personalDocument:"personal-document",ottonova:"ottonova",healthX:"health-x",fromCustomer:"from_customer"};var Qa=function(k){return k.Submitted="Submitted",k.InReview="InReview",k.Incomplete="Incomplete",k.Done="Done",k}(Qa||{});const Tc={[Qa.Submitted]:"uploaded-icon.svg",[Qa.InReview]:"wip-icon.svg",[Qa.Incomplete]:"incomplete-document-status-icon.svg",[Qa.Done]:"done-icon.svg"};var W=function(k){return k.CustomerSupport="Customer Support",k.ClaimsManagement="Claims Management",k}(W||{})},48108:(st,Q,g)=>{"use strict";g.d(Q,{_:()=>a});var a=function(h){return h.Gold="gold",h.Expats="expats",h.Blue="blue",h}(a||{})},61177:(st,Q,g)=>{"use strict";function a(){return window["otto-config"]}g.d(Q,{a7:()=>KN,kT:()=>Ie,sj:()=>NN,Kc:()=>ON,Rl:()=>VN,Ci:()=>GN,nu:()=>Re,DZ:()=>Te,n$:()=>KP,By:()=>RN,yn:()=>Le,Dk:()=>BN,ae:()=>LN,nD:()=>PN,Qq:()=>a,Dv:()=>TN,Jk:()=>jN});var h=g(66990),z=g(51376),P=g(3477),C=g.n(P),B=g(83034),_=g(73993),q=g.n(_),A=g(55836),X=g.n(A),R=g(97093),ne=g.n(R),se=g(68710),_e=g.n(se),le=g(58527);const Re="YYYY-MM-DD",Le="DD.MM.YYYY";let Ie=(()=>{class n{static INVALID_DATE="Invalid date";constructor(){C().locale(B),C().extend(_e()),C().extend(ne()),C().extend(X()),C().extend(q())}formattedDateObjectFromString(c){let u="",y="",F="";if(this.isValid(c)){const I=C()(c,Re);u=I.year().toString(),y=this.leadingZero(I.month()+1),F=this.leadingZero(I.date())}return{year:u,month:y,day:F}}serverFormat(c,u,y){const F=`${c}-${this.leadingZero(Number(u))}-${this.leadingZero(Number(y))}`;return this.isValid(F)?C()(F).format(Re):""}generateDatesForOffsetFrom(c,u,y=!1){const F=new Array;for(let J=y?0:1;J<=u;J++)F.push(C()(c).add(J,"month").format(Re));return F}getDateWithOffset(c=0,u="year",y){return this.getDateWithOffsetFrom(y?C()(y):C()(),c,u)}getClosestBusinessDateWithOffset(c=0,u="year",y){let F=(y?C()(y):C()()).add(c,u);switch(F.day()){case 6:F=F.add(2,"days");break;case 0:F=F.add(1,"days")}return F.format(Re)}getDateWithOffsetFrom(c,u=0,y="year"){return C()(c).add(u,y).format(Re)}today(){return this.getDateWithOffset(0,"day")}todayAsObject(){const[c,u,y]=this.today().split("-").map(Number);return{year:c,month:u,day:y}}getYearsDiff(c,u){if(this.isValid(c)){let y=C()();return u&&(y=C()(u)),y.diff(C()(c),"year")}return 0}isInsideQuarter(c,u){return C()(c).quarter()===u}getDaysDiff(c,u){const y=C()(c).startOf("day");return(u?C()(u).startOf("day"):C()().startOf("day")).diff(y,"day")}getWeeksDiff(c){return C()().diff(C()(c),"week")}add(c,u,y,F){return C()(c).add(u,y).format(F)}subtract(c,u,y,F){return C()(c).subtract(u,y).format(F)}getCurrentIsoTime(){return C()().format()}formatDateToIso(c,u){const y=u.split(":");return C()(c).set("h",Number(y[0])).set("m",Number(y[1])).format()}isBefore(c,u,y="day"){return this.extractDate(c).isBefore(this.extractDate(u),y)}isSame(c,u,y="day"){return this.extractDate(c).isSame(this.extractDate(u),y)}isAfter(c,u,y="day"){return this.extractDate(c).isAfter(this.extractDate(u),y)}isBetween(c,u,y){return(this.extractDate(c).isAfter(this.extractDate(u))||this.extractDate(c).isSame(this.extractDate(u)))&&(this.extractDate(c).isBefore(this.extractDate(y))||this.extractDate(c).isSame(this.extractDate(y)))}format(c,u="DD.MM.YYYY"){return c?this.isValid(c)?this.extractDate(c).format(u):n.INVALID_DATE:""}getAllMonthNames(){return["Januar","Februar","M\xe4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]}getDateWithFirstDayOfMonth(c){return C()(c).startOf("month").format(Re)}getDateWithFirstDayOfYear(c,u=Re){return C()(c).startOf("year").format(u)}getFirstDayOfNextMonth(){return C()().add(1,"month").startOf("month").format(Re)}getFirstDayOfCurrentMonth(){return C()().startOf("month").format(Re)}getFirstDayOfPreviousMonth(){return C()().subtract(1,"month").startOf("month").format(Re)}getDateWithLastDayOfMonth(c,u=Re){return C()(c).endOf("month").format(u)}getDateWithLastDayOfYear(c,u=Re){return C()(c).endOf("year").format(u)}getLastDayOfMonth(c,u){const y=this.serverFormat(c,u,1);return C()(y).endOf("month").date()}getCurrentDateInBerlin(){const c=C()().tz("Europe/Berlin");return{year:c.year(),month:c.month()+1,day:c.date()}}getDateFromUIFormat(c){return C()(c,Le)}formatInBerlinTimezone(c,u="DD.MM.YYYY"){const y=C().utc(c),F=this.isDaylightSavingTime(y.toDate())?2:1;return y.add(F,"hour").format(u)}getMondayOfTheWeek(c){return C()(this.extractDate(c)).startOf("week").format()}getFirstDayOfTheMonth(c){return C()(this.extractDate(c)).date(1).format()}getDayOfTheMonth(c){return C()(this.extractDate(c)).date()}getMonth(c,u){return C()(this.extractDate(c).month(u)).format()}getYear(c,u){return C()(this.extractDate(c).year(u)).format()}getDateYear(c){return C()(c).year()}getMonthName(c){return C()(this.extractDate(c)).format("MMMM")}getJavascriptDate(c){return C()(this.extractDate(c)).toDate()}leadingZero(c){return c<10?`0${c}`:`${c}`}getNumberOfDaysInMonthForDate(c){return C()(c).daysInMonth()}isDaylightSavingTime(c){return c.getTimezoneOffset()<this.stdTimezoneOffset(c)}extractDate(c){return"object"==typeof c?C()(`${c.year}-${c.month}-${c.day}`):C()(c)}isValid(c){if(c){if("object"==typeof c){const u=c.day.toString().padStart(2,"0"),y=c.month.toString().padStart(2,"0");return C()(new Date(`${c.year}-${y}-${u}`)).isValid()}return C()(new Date(c)).isValid()}return!1}stdTimezoneOffset(c){const u=new Date(c.getFullYear(),0,1),y=new Date(c.getFullYear(),6,1);return Math.max(u.getTimezoneOffset(),y.getTimezoneOffset())}static \u0275fac=function(u){return new(u||n)};static \u0275prov=le.jDH({token:n,factory:n.\u0275fac})}return n})();var Te=function(n){return n.Fatal="fatal",n.Error="error",n.Warning="warning",n.Log="log",n.Info="info",n.Debug="debug",n}(Te||{});const Ne="10.71.0",he=globalThis;function Me(){return ct(he),he}function ct(n){const s=n.__SENTRY__=n.__SENTRY__||{};return s.version=s.version||Ne,s[Ne]=s[Ne]||{}}function yt(n,s,c=he){const u=c.__SENTRY__=c.__SENTRY__||{},y=u[Ne]=u[Ne]||{};return y[n]||(y[n]=s())}const Se=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,ke=["debug","info","warn","error","log","assert","trace"],Ve={};function Be(n){if(!("console"in he))return n();const s=he.console,c={},u=Object.keys(Ve);u.forEach(y=>{const F=Ve[y];c[y]=s[y],s[y]=F});try{return n()}finally{u.forEach(y=>{s[y]=c[y]})}}function He(){return Tt().enabled}function ft(n,...s){Se&&He()&&Be(()=>{he.console[n](`Sentry Logger [${n}]:`,...s)})}
3function Tt(){return Se?yt("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const $e={enable:function ge(){Tt().enabled=!0},disable:function Pe(){Tt().enabled=!1},isEnabled:He,log:function bt(...n){ft("log",...n)},warn:function Yt(...n){ft("warn",...n)},error:function sn(...n){ft("error",...n)}},rt=Object.prototype.toString;function tt(n){switch(rt.call(n)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return zi(n,Error)}}function nt(n,s){return rt.call(n)===`[object ${s}]`}function _t(n){return nt(n,"ErrorEvent")}function on(n){return nt(n,"DOMError")}function _n(n){return nt(n,"String")}function hn(n){return"object"==typeof n&&null!==n&&"__sentry_template_string__"in n&&"__sentry_template_values__"in n}function en(n){return null===n||hn(n)||"object"!=typeof n&&"function"!=typeof n}function Ot(n){return nt(n,"Object")}function Gt(n){return"object"==typeof n&&null!==n}function Wt(n){return typeof Event<"u"&&zi(n,Event)}function Fn(n){return!(!n?.then||"function"!=typeof n.then)}function zi(n,s){try{return n instanceof s}catch{return!1}}function ni(n){return typeof Request<"u"&&zi(n,Request)}function wi(n,s,c){if(!(s in n))return;const u=n[s];if("function"!=typeof u)return;const y=c(u);"function"==typeof y&&Xt(y,u);try{n[s]=y}catch{Se&&$e.log(`Failed to replace method "${s}" in object`,n)}}function Rt(n,s,c){try{Object.defineProperty(n,s,{value:c,writable:!0,configurable:!0})}catch{Se&&$e.log(`Failed to add non-enumerable property "${String(s)}" to object`,n)}}function Xt(n,s){try{n.prototype=s.prototype=s.prototype||{},Rt(n,"__sentry_original__",s)}catch{}}function xn(n){return n.__sentry_original__}function Oe(n){if(tt(n))return{message:n.message,name:n.name,stack:n.stack,...Ye(n)};if(Wt(n)){const{type:s,target:c,currentTarget:u,detail:y}=n;return{type:s,target:c,currentTarget:u,...y?{detail:y}:{},...Ye(n)}}return n}function Ye(n){return Gt(n)?Object.fromEntries(Object.entries(n)):{}}let gr,ai;function xt(n){if(void 0!==gr)return gr?gr(n):n();const s=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__");return s in he&&"function"==typeof he[s]?(gr=he[s],gr(n)):(gr=null,n())}function Sn(){return xt(()=>Math.random())}function qt(){return xt(()=>Date.now())}function Pt(n=function Cn(){return he.crypto||he.msCrypto}()){try{if(n?.randomUUID)return xt(()=>n.randomUUID()).replace(/-/g,"")}catch{}return ai||(ai="10000000100040008000100000000000"),ai.replace(/[018]/g,s=>(s^(15&function gi(){return 16*Sn()}())>>s/4).toString(16))}function Et(n){return n.exception?.values?.[0]}function ot(n){const{message:s,event_id:c}=n;if(s)return s;const u=Et(n);return u?u.type&&u.value?`${u.type}: ${u.value}`:u.type||u.value||c||"<unknown>":c||"<unknown>"}function pt(n,s,c){const u=n.exception=n.exception||{},y=u.values=u.values||[],F=y[0]=y[0]||{};F.value||(F.value=s||""),F.type||(F.type=c||"Error")}function rn(n,s){const c=Et(n);if(!c)return;const y=c.mechanism;if(c.mechanism={type:"generic",handled:!0,...y,...s},s&&"data"in s){const F={...y?.data,...s.data};c.mechanism.data=F}}function Dr(n){if(function mr(n){try{return n.__sentry_captured__}catch{}}(n))return!0;try{Rt(n,"__sentry_captured__",!0)}catch{}return!1}const yr=1e3;function ss(){return qt()/yr}let ds;function cr(){return(ds??(ds=function Di(){const{performance:n}=he;if(!n?.now||!n.timeOrigin)return ss;const s=n.timeOrigin;return()=>(s+xt(()=>n.now()))/yr}()))()}let jt=null;function et(){return null===jt&&(jt=function nn(){const{performance:n}=he;if(!n?.now)return;const s=3e5,c=xt(()=>n.now()),u=qt(),y=n.timeOrigin;if("number"==typeof y&&Math.abs(y+c-u)<s)return y;const F=n.timing?.navigationStart;return"number"==typeof F&&Math.abs(F+c-u)<s?F:u-c}()),jt}function At(n,s={}){if(s.user&&(!n.ipAddress&&s.user.ip_address&&(n.ipAddress=s.user.ip_address),!n.did&&!s.did&&(n.did=s.user.id||s.user.email||s.user.username)),n.timestamp=s.timestamp||cr(),s.abnormal_mechanism&&(n.abnormal_mechanism=s.abnormal_mechanism),s.ignoreDuration&&(n.ignoreDuration=s.ignoreDuration),s.sid&&(n.sid=32===s.sid.length?s.sid:Pt()),void 0!==s.init&&(n.init=s.init),!n.did&&s.did&&(n.did=`${s.did}`),"number"==typeof s.started&&(n.started=s.started),n.ignoreDuration)n.duration=void 0;else if("number"==typeof s.duration)n.duration=s.duration;else{const c=n.timestamp-n.started;n.duration=c>=0?c:0}s.release&&(n.release=s.release),s.environment&&(n.environment=s.environment),!n.ipAddress&&s.ipAddress&&(n.ipAddress=s.ipAddress),!n.userAgent&&s.userAgent&&(n.userAgent=s.userAgent),"number"==typeof s.errors&&(n.errors=s.errors),s.status&&(n.status=s.status)}function ii(n,s,c=2){if(!s||"object"!=typeof s||c<=0)return s;if(n&&0===Object.keys(s).length)return n;const u={...n};for(const y in s)Object.prototype.hasOwnProperty.call(s,y)&&(u[y]=ii(u[y],s[y],c-1));return u}function Ur(){return Pt()}function sr(){return Pt().substring(16)}function lr(n){try{const s=he.WeakRef;if("function"==typeof s)return new s(n)}catch{}return n}function us(n){if(n){if("object"==typeof n&&"deref"in n&&"function"==typeof n.deref)try{return n.deref()}catch{return}return n}}const Cs="_sentrySpan";function ho(n,s){s?Rt(n,Cs,lr(s)):delete n[Cs]}function _o(n){return us(n[Cs])}const ko=Symbol.for("sentry.skipNormalization"),We=Symbol.for("sentry.overrideNormalizationDepth"),Xe=50,qe="?",kt=/\(error: (.*)\)/,Qt=/captureMessage|captureException/;function En(...n){const s=n.sort((c,u)=>c[0]-u[0]).map(c=>c[1]);return(c,u=0,y=0)=>{const F=[],I=c.split("\n");for(let J=u;J<I.length;J++){let ie=I[J];ie.length>1024&&(ie=ie.slice(0,1024));const pe=kt.test(ie)?ie.replace(kt,"$1"):ie;if(!pe.includes("Error: ")){for(const Ge of s){const Ae=Ge(pe);if(Ae){F.push(Ae);break}}if(F.length>=Xe+y)break}}return function Ci(n){if(!n.length)return[];const s=Array.from(n);return/sentryWrapped/.test(ei(s).function||"")&&s.pop(),s.reverse(),Qt.test(ei(s).function||"")&&(s.pop(),Qt.test(ei(s).function||"")&&s.pop()),s.slice(0,Xe).map(c=>({...c,filename:c.filename||ei(s).filename,function:c.function||qe}))}(F.slice(y))}}function Bn(n){return Array.isArray(n)?En(...n):n}function ei(n){return n[n.length-1]||{}}const qi="<anonymous>";function br(n){try{return n&&"function"==typeof n&&n.name||qi}catch{return qi}}function pr(n){const s=n.exception;if(s){const c=[];
3try{return s.values.forEach(u=>{u.stacktrace.frames&&c.push(...u.stacktrace.frames)}),c}catch{return}}}let jr;function Pi(n,s=100,c=1/0){try{return Es("",n,s,c)}catch(u){return{ERROR:`**non-serializable** (${u})`}}}function xr(n,s=3,c=102400){const u=Pi(n,s);return function Kt(n){return function Bt(n){return~-encodeURI(n).split(/%..|./).length}(JSON.stringify(n))}(u)>c?xr(n,s-1,c):u}function Es(n,s,c=1/0,u=1/0,y=function Jn(){const n=new WeakSet;return[function s(u){return!!n.has(u)||(n.add(u),!1)},function c(u){n.delete(u)}]}()){const[F,I]=y;if(null==s||["boolean","string"].includes(typeof s)||"number"==typeof s&&Number.isFinite(s))return s;const J=it(0,s);if(!J.startsWith("[object "))return J;if(function Ee(n){return!!n[ko]}(s))return s;const ie=function ue(n){const s=n[We];return"number"==typeof s?s:void 0}(s),pe=void 0!==ie?ie:c;if(0===pe)return J.replace("object ","");if(F(s))return"[Circular ~]";const Ge=s;if(Ge&&"function"==typeof Ge.toJSON)try{return Es("",Ge.toJSON(),pe-1,u,y)}catch{}const Ae=Array.isArray(s)?[]:{};let mt=0;const ut=Oe(s);for(const Lt in ut)if(Object.prototype.hasOwnProperty.call(ut,Lt)){if(mt>=u){Ae[Lt]="[MaxProperties ~]";break}Ae[Lt]=Es(Lt,ut[Lt],pe-1,u,y),mt++}return I(s),Ae}function it(n,s){try{if(jr){const u=jr(s);if(u)return u}return typeof global<"u"&&s===global?"[Global]":"number"!=typeof s||Number.isFinite(s)?"function"==typeof s?`[Function: ${br(s)}]`:"symbol"==typeof s?`[${String(s)}]`:"bigint"==typeof s?`[BigInt: ${String(s)}]`:`[object ${function Nt(n){const s=Object.getPrototypeOf(n);return s?.constructor?s.constructor.name:"null prototype"}(s)}]`:`[${s}]`}catch(c){return`**non-serializable** (${c})`}}function vr(n,s=0){return"string"!=typeof n||0===s||n.length<=s?n:`${n.slice(0,s)}...`}function Rs(n,s){if(!Array.isArray(n))return"";const c=[];for(let u=0;u<n.length;u++){const y=n[u];en(y)?c.push(String(y)):y instanceof Error?c.push(y.message?`${y.name}: ${y.message}`:y.name):c.push(it(0,y))}return c.join(s)}function Ki(n,s,c=!1){return!!_n(n)&&(function qn(n){return nt(n,"RegExp")}(s)?s.test(n):_n(s)?c?n===s:n.includes(s):"function"==typeof s&&s(n))}function kr(n,s=[],c=!1){for(const u of s)if(Ki(n,u,c))return!0;return!1}class la{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:Ur(),sampleRand:Sn()}}clone(){const s=new la;return s._breadcrumbs=[...this._breadcrumbs],s._tags={...this._tags},s._attributes={...this._attributes},s._extra={...this._extra},s._contexts={...this._contexts},this._contexts.flags&&(s._contexts.flags={values:[...this._contexts.flags.values]}),s._user=this._user,s._level=this._level,s._session=this._session,s._transactionName=this._transactionName,s._fingerprint=this._fingerprint,s._eventProcessors=[...this._eventProcessors],s._attachments=[...this._attachments],s._sdkProcessingMetadata={...this._sdkProcessingMetadata},s._propagationContext={...this._propagationContext},s._client=this._client,s._lastEventId=this._lastEventId,s._conversationId=this._conversationId,ho(s,_o(this)),s}setClient(s){this._client=s}setLastEventId(s){this._lastEventId=s}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(s){this._scopeListeners.push(s)}addEventProcessor(s){return this._eventProcessors.push(s),this}setUser(s){return this._user=s||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&At(this._session,{user:s}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(s){return this._conversationId=s||void 0,this._notifyScopeListeners(),this}setTags(s){return this._tags={...this._tags,...s},this._notifyScopeListeners(),this}setTag(s,c){return this.setTags({[s]:c})}setAttributes(s){return this._attributes={...this._attributes,...s},this._notifyScopeListeners(),this}setAttribute(s,c){return this.setAttributes({[s]:c})}removeAttribute(s){return s in this._attributes&&(delete this._attributes[s],this._notifyScopeListeners()),this}setExtras(s){return this._extra={...this._extra,...s},this._notifyScopeListeners(),this}setExtra(s,c){return this._extra={...this._extra,[s]:c},this._notifyScopeListeners(),this}setFingerprint(s){return this._fingerprint=s,this._notifyScopeListeners(),this}setLevel(s){return this._level=s,this._notifyScopeListeners(),this}setTransactionName(s){return this._transactionName=s,this._notifyScopeListeners(),this}setContext(s,c){return null===c?delete this._contexts[s]:this._contexts[s]=c,this._notifyScopeListeners(),this}setSession(s){return s?this._session=s:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(s){if(!s)return this;const c="function"==typeof s?s(this):s,u=c instanceof la?c.getScopeData():Ot(c)?s:void 0,{tags:y,attributes:F,extra:I,user:J,contexts:ie,level:pe,fingerprint:Ge=[],propagationContext:Ae,conversationId:mt}=u||{};return this._tags={...this._tags,...y},this._attributes={...this._attributes,...F},this._extra={...this._extra,...I},this._contexts={...this._contexts,...ie},J&&Object.keys(J).length&&(this._user=J),pe&&(this._level=pe),Ge.length&&(this._fingerprint=Ge),Ae&&(this._propagationContext=Ae),mt&&(this._conversationId=mt),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,this._conversationId=void 0,ho(this,void 0),this._attachments=[],this.setPropagationContext({traceId:Ur(),sampleRand:Sn()}),this._notifyScopeListeners(),this}addBreadcrumb(s,c){const u="number"==typeof c?c:100;if(u<=0)return this;const y={timestamp:ss(),...s,message:s.message?vr(s.message,2048):s.message};return this._breadcrumbs.push(y),this._breadcrumbs.length>u&&(this._breadcrumbs=this._breadcrumbs.slice(-u),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(s){return this._attachments.push(s),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:_o(this),conversationId:this._conversationId}}setSDKProcessingMetadata(s){return this._sdkProcessingMetadata=ii(this._sdkProcessingMetadata,s,2),this}setPropagationContext(s){return this._propagationContext=s,this}getPropagationContext(){return this._propagationContext}captureException(s,c){const u=c?.event_id||Pt();if(!this._client)return Se&&$e.warn("No client configured on scope - will not capture exception!"),u;const y=new Error("Sentry syntheticException");return this._client.captureException(s,{originalException:s,syntheticException:y,...c,event_id:u},this),u}captureMessage(s,c,u){const y=u?.event_id||Pt();if(!this._client)return Se&&$e.warn("No client configured on scope - will not capture message!"),y;const F=u?.syntheticException??new Error(s);return this._client.captureMessage(s,c,{originalException:s,syntheticException:F,...u,event_id:y},this),y}captureEvent(s,c){const u=s.event_id||c?.event_id||Pt();return this._client?(this._client.captureEvent(s,{...c,event_id:u},this),u):(Se&&$e.warn("No client configured on scope - will not capture event!"),u)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEac
3h(s=>{s(this)}),this._notifyingListeners=!1)}}const ba=n=>n instanceof Promise&&!n[va],va=Symbol("chained PromiseLike");class Ka{constructor(s,c){let u,y;u=s||new la,y=c||new la,this._stack=[{scope:u}],this._isolationScope=y}withScope(s){const c=this._pushScope();let u;try{u=s(c)}catch(y){throw this._popScope(),y}return Fn(u)?((n,s,c)=>{const u=n.then(y=>(s(),y),y=>{throw c(),y});return ba(u)&&ba(n)?u:((n,s)=>{if(!s)return n;let c=!1;for(const u in n){if(u in s)continue;c=!0;const y=n[u];"function"==typeof y?Object.defineProperty(s,u,{value:(...F)=>y.apply(n,F),enumerable:!0,configurable:!0,writable:!0}):s[u]=y}return c&&Object.assign(s,{[va]:!0}),s})(n,u)})(u,()=>this._popScope(),()=>this._popScope()):(this._popScope(),u)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const s=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:s}),s}_popScope(){return!(this._stack.length<=1||!this._stack.pop())}}function Sa(){const s=ct(Me());return s.stack=s.stack||new Ka(function Lc(){return yt("defaultCurrentScope",()=>new la)}(),function ka(){return yt("defaultIsolationScope",()=>new la)}())}function No(n){return Sa().withScope(n)}function gc(n,s){const c=Sa();return c.withScope(()=>(c.getStackTop().scope=n,s(n)))}function Hr(n){return Sa().withScope(()=>n(Sa().getIsolationScope()))}function Fo(n){const s=ct(n);return s.acs?s.acs:function Ra(){return{withIsolationScope:Hr,withScope:No,withSetScope:gc,withSetIsolationScope:(n,s)=>Hr(s),getCurrentScope:()=>Sa().getScope(),getIsolationScope:()=>Sa().getIsolationScope()}}()}let gn;function fi(){return Fo(Me()).getCurrentScope()}function Or(){return Fo(Me()).getIsolationScope()}function _a(){return yt("globalScope",()=>new la)}function Bo(...n){const c=Fo(Me());if(2===n.length){const[u,y]=n;return u?c.withSetScope(u,y):c.withScope(y)}return c.withScope(n[0])}function Ai(){return fi().getClient()}function Ys(n){const s=function dr(){return gn?.()}();if(s)return{trace_id:s.traceId,span_id:s.spanId};const c=n.getPropagationContext(),{traceId:u,parentSpanId:y,propagationSpanId:F}=c,I={trace_id:u,span_id:F||sr()};return y&&(I.parent_span_id=y),I}const oc="production";function Qs(n){return new wo(s=>{s(n)})}function es(n){return new wo((s,c)=>{c(n)})}class wo{constructor(s){this._state=0,this._handlers=[],this._runExecutor(s)}then(s,c){return new wo((u,y)=>{this._handlers.push([!1,F=>{if(s)try{u(s(F))}catch(I){y(I)}else u(F)},F=>{if(c)try{u(c(F))}catch(I){y(I)}else y(F)}]),this._executeHandlers()})}catch(s){return this.then(c=>c,s)}finally(s){return new wo((c,u)=>{let y,F;return this.then(I=>{F=!1,y=I,s&&s()},I=>{F=!0,y=I,s&&s()}).then(()=>{F?u(y):c(y)})})}_executeHandlers(){if(0===this._state)return;const s=this._handlers.slice();this._handlers=[],s.forEach(c=>{c[0]||(1===this._state&&c[1](this._value),2===this._state&&c[2](this._value),c[0]=!0)})}_runExecutor(s){const c=(F,I)=>{if(0===this._state){if(Fn(I))return void I.then(u,y);this._state=F,this._value=I,this._executeHandlers()}},u=F=>{c(1,F)},y=F=>{c(2,F)};try{s(u,y)}catch(F){y(F)}}}function Ko(n,s,c,u=0){try{const y=hs(s,c,n,u);return Fn(y)?y:Qs(y)}catch(y){return es(y)}}function hs(n,s,c,u){const y=c[u];if(!n||!y)return n;const F=y({...n},s);return Se&&null===F&&$e.log(`Event processor "${y.id||"?"}" dropped event`),Fn(F)?F.then(I=>hs(I,s,c,u+1)):hs(F,s,c,u+1)}let Ms,Lo,po,Hs;const Zs="sentry.source",fs="sentry.sample_rate",Pr="sentry.previous_trace_sample_rate",ms="sentry.op",Wr="sentry.origin",Ba="sentry.status.message",ro="sentry.idle_span_finish_reason",Uo="sentry.measurement_unit",da="sentry.measurement_value",fe="sentry.custom_span_name",ye="sentry.profile_id",ee="sentry.exclusive_time",Rr="sentry.link.type",yc="sentry-",ks=8192;function As(n){const s=function mo(n){if(n&&(_n(n)||Array.isArray(n)))return Array.isArray(n)?n.reduce((s,c)=>{const u=Xo(c);return Object.entries(u).forEach(([y,F])=>{s[y]=F}),s},{}):Xo(n)}(n);if(!s)return;const c=Object.entries(s).reduce((u,[y,F])=>(y.startsWith(yc)&&(u[y.slice(yc.length)]=F),u),{});return Object.keys(c).length>0?c:void 0}function Xo(n){return n.split(",").map(s=>{const c=s.indexOf("=");return-1===c?[]:[s.slice(0,c),s.slice(c+1)].map(F=>{try{return decodeURIComponent(F.trim())}catch{return}})}).reduce((s,[c,u])=>(c&&u&&(s[c]=u),s),{})}const wr=/^o(\d+)\./,Ws=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function Do(n,s=!1){const{host:c,path:u,pass:y,port:F,projectId:I,protocol:J,publicKey:ie}=n;return`${J}://${ie}${s&&y?`:${y}`:""}@${c}${F?`:${F}`:""}/${u&&`${u}/`}${I}`}function jc(n){return{protocol:n.protocol,publicKey:n.publicKey||"",pass:n.pass||"",host:n.host,port:n.port||"",path:n.path||"",projectId:n.projectId}}function Ua(n){const s=n.getOptions(),{host:c}=n.getDsn()||{};let u;return s.orgId?u=String(s.orgId):c&&(u=function Ya(n){return n.match(wr)?.[1]}(c)),u}function ml(n){const s="string"==typeof n?function xo(n){const s=Ws.exec(n);if(!s)return void Be(()=>{console.error(`Invalid Sentry Dsn: ${n}`)});const[c,u,y="",F="",I="",J=""]=s.slice(1);let ie="",pe=J;const Ge=pe.split("/");if(Ge.length>1&&(ie=Ge.slice(0,-1).join("/"),pe=Ge.pop()),pe){const Ae=pe.match(/^\d+/);Ae&&(pe=Ae[0])}return jc({host:F,pass:y,path:ie,projectId:pe,port:I,protocol:c,publicKey:u})}(n):jc(n);
3if(s&&function Jc(n){if(!Se)return!0;const{port:s,projectId:c,protocol:u}=n;return!(["protocol","publicKey","host","projectId"].find(I=>!n[I]&&($e.error(`Invalid Sentry Dsn: ${I} missing`),!0))||(c.match(/^\d+$/)?function So(n){return"http"===n||"https"===n}(u)?s&&isNaN(parseInt(s,10))&&($e.error(`Invalid Sentry Dsn: Invalid port ${s}`),1):($e.error(`Invalid Sentry Dsn: Invalid protocol ${u}`),1):($e.error(`Invalid Sentry Dsn: Invalid projectId ${c}`),1)))}(s))return s}function Ss(n){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;const s=n||Ai()?.getOptions();return!(!s||null==s.tracesSampleRate&&!s.tracesSampler)}function vc(n,s){const{value:c,unit:u}=function el(n){return"object"==typeof n&&null!=n&&!Array.isArray(n)&&Object.keys(n).includes("value")}(n)?n:{value:n,unit:void 0},y=function tl(n){if(Array.isArray(n))return{value:n,type:"array"};const s="string"==typeof n?"string":"boolean"==typeof n?"boolean":"number"!=typeof n||Number.isNaN(n)?null:Number.isInteger(n)?"integer":"double";return s?{value:n,type:s}:void 0}(c),F=u&&"string"==typeof u?{unit:u}:{};if(y)return{...y,...F};if(!s||"skip-undefined"===s&&void 0===c)return;let I="";try{I=JSON.stringify(c)??""}catch{}return{value:I,type:"string",...F}}function Ts(n,s=!1){const c={};for(const[u,y]of Object.entries(n??{})){const F=vc(y,s);F&&(c[u]=F)}return c}const rd=0,Aa=1,Co=2;function jo(n,s){n.setAttribute("http.response.status_code",s);const c=function Vc(n){if(n<400&&n>=100)return{code:Aa};if(n>=400&&n<500)switch(n){case 401:return{code:Co,message:"unauthenticated"};case 403:return{code:Co,message:"permission_denied"};case 404:return{code:Co,message:"not_found"};case 409:return{code:Co,message:"already_exists"};case 413:return{code:Co,message:"failed_precondition"};case 429:return{code:Co,message:"resource_exhausted"};case 499:return{code:Co,message:"cancelled"};default:return{code:Co,message:"invalid_argument"}}if(n>=500&&n<600)switch(n){case 501:return{code:Co,message:"unimplemented"};case 503:return{code:Co,message:"unavailable"};case 504:return{code:Co,message:"deadline_exceeded"};default:return{code:Co,message:"internal_error"}}return{code:Co,message:"internal_error"}}(s);"unknown_error"!==c.message&&n.setStatus(c)}const ci="_sentryScope",cs="_sentryIsolationScope",zc=Symbol.for("sentry.otelSourceInference"),nl=Symbol.for("sentry.otelSourceExplicitlySet"),Yo=Symbol.for("sentry.tracerProviderSpan");function ta(n,s,c){n&&(Rt(n,cs,lr(c)),Rt(n,ci,s))}function bo(n){return{scope:n[ci],isolationScope:us(n[cs])}}function Fa(n){return!0===n[zc]}function Vo(n){if("boolean"==typeof n)return Number(n);const s="string"==typeof n?parseFloat(n):n;return"number"!=typeof s||isNaN(s)||s<0||s>1?void 0:s}const yl=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function Qa(n=Ur(),s=sr(),c){let u="";return void 0!==c&&(u=c?"-1":"-0"),`${n}-${s}${u}`}function Tc(n=Ur(),s=sr(),c){return`00-${n}-${s}-${c?"01":"00"}`}const W=1;let k=!1;function ae(n){const{spanId:s,traceId:c}=n.spanContext(),{data:u,op:y,parent_span_id:F,status:I,origin:J,links:ie}=xi(n);return{parent_span_id:F,span_id:s,trace_id:c,data:u,op:y,status:I,origin:J,links:ie}}function Ce(n){const{spanId:s,traceId:c,isRemote:u}=n.spanContext(),y=u?s:xi(n).parent_span_id,F=bo(n).scope;return{parent_span_id:y,span_id:u?F?.getPropagationContext().propagationSpanId||sr():s,trace_id:c}}function kn(n){if(n&&n.length>0)return n.map(({context:{spanId:s,traceId:c,traceFlags:u,...y},attributes:F})=>({span_id:s,trace_id:c,sampled:u===W,attributes:F,...y}))}function vi(n){if(n?.length)return n.map(({context:{spanId:s,traceId:c,traceFlags:u},attributes:y})=>({span_id:s,trace_id:c,sampled:u===W,attributes:y}))}function _r(n){return"number"==typeof n?ns(n):Array.isArray(n)?n[0]+n[1]/1e9:n instanceof Date?ns(n.getTime()):cr()}function ns(n){return n>9999999999?n/1e3:n}function xi(n){if(Ei(n))return n.getSpanJSON();const{spanId:s,traceId:c}=n.spanContext();if(wn(n)){const{attributes:u,startTime:y,name:F,endTime:I,status:J,links:ie}=n;return{span_id:s,trace_id:c,data:u,description:F,parent_span_id:ys(n),start_timestamp:_r(y),timestamp:_r(I)||void 0,status:Gs(J),op:u[ms],origin:u[Wr],links:kn(ie)}}return{span_id:s,trace_id:c,start_timestamp:0,data:{}}}function Sr(n){if(Ei(n))return n.getStreamedSpanJSON();const{spanId:s,traceId:c}=n.spanContext();if(wn(n)){const{attributes:u,startTime:y,name:F,endTime:I,status:J,links:ie}=n;return{name:F,span_id:s,trace_id:c,parent_span_id:ys(n),start_timestamp:_r(y),end_timestamp:_r(I),is_segment:n===na(n),status:Vr(J),attributes:Eo(u,J),links:vi(ie)}}return{span_id:s,trace_id:c,start_timestamp:0,name:"",end_timestamp:0,status:"ok",is_segment:n===na(n)}}function ys(n){return"parentSpanId"in n?n.parentSpanId:"parentSpanContext"in n?n.parentSpanContext?.spanId:void 0}function wn(n){return!!(n.attributes&&n.startTime&&n.name&&n.endTime&&n.status)}function Ei(n){return"function"==typeof n.getSpanJSON}function Ui(n){const{traceFlags:s}=n.spanContext();return s===W}
3function Gs(n){if(n&&n.code!==rd)return n.code===Aa?"ok":n.message||"internal_error"}function Vr(n){return n&&n.code!==Aa&&n.code!==rd&&"cancelled"!==n.message?"error":"ok"}function Eo(n,s){const c="error"===Vr(s)?s?.message:void 0;return{...c&&{[Ba]:c},...n}}const ao="_sentryChildSpans",Zr="_sentryRootSpan";function Ds(n,s){const c=n[Zr]||n;Rt(s,Zr,c),Ui(n)&&(!n.isRecording()&&!c.isRecording()||(n[ao]?n[ao].add(s):Rt(n,ao,new Set([s]))))}function Ti(n){const s=new Set;return function c(u){if(!s.has(u)&&Ui(u)){s.add(u);const y=u[ao]?Array.from(u[ao]):[];for(const F of y)c(F)}}(n),Array.from(s)}const Cr=na;function na(n){return n[Zr]||n}function Ls(){const s=Fo(Me());return s.getActiveSpan?s.getActiveSpan():_o(fi())}function is(){k||(Be(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),k=!0)}const sd=Symbol.for("sentry.nonRecordingSpan");class ia{constructor(s={}){this._traceId=s.traceId||Ur(),this._spanId=s.spanId||sr(),this.dropReason=s.dropReason,Rt(this,sd,!0)}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:0}}end(s){}setAttribute(s,c){return this}setAttributes(s){return this}setStatus(s){return this}updateName(s){return this}isRecording(){return!1}addEvent(s,c,u){return this}addLink(s){return this}addLinks(s){return this}recordException(s,c){}}function ac(n){return!!n&&!0===n[sd]}const jl="_frozenDsc";function Oc(n,s){Rt(n,jl,s)}function il(n,s){const c=s.getOptions(),{publicKey:u}=s.getDsn()||{},y={environment:c.environment||oc,release:c.release,public_key:u,trace_id:n,org_id:Ua(s)};return s.emit("createDsc",y),y}function Ta(n,s){const c=s.getPropagationContext();return c.dsc||il(c.traceId,n)}function _i(n){const s=Ai();if(!s)return{};const c=Cr(n),u=xi(c),y=u.data,F=c.spanContext().traceState,I=F?.get("sentry.sample_rate")??y[fs]??y[Pr];function J(Pn){return("number"==typeof I||"string"==typeof I)&&(Pn.sample_rate=`${I}`),Pn}const ie=c[jl];if(ie)return J(ie);const pe=ac(c),Ge=pe&&"ignored"===c.dropReason;if(pe&&(!Ss(s.getOptions())||Ge)){const Pn=bo(c).scope;if(Pn){const Nn={...Ta(s,Pn)};return Ge&&(Nn.sampled="false"),J(Nn)}}const Ae=F?.get("sentry.dsc"),mt=Ae&&As(Ae);if(mt)return J(mt);const ut=il(n.spanContext().traceId,s),vn=u.description;return"url"!==(y[Zs]??y["sentry.segment.name.source"])&&vn&&(ut.transaction=vn),Ss()&&(ut.sampled=String(Ui(c)),ut.sample_rand=F?.get("sentry.sample_rand")??bo(c).scope?.getPropagationContext().sampleRand.toString()),J(ut),s.emit("createDsc",ut,c),ut}function cc(n,s){const{extra:c,tags:u,attributes:y,user:F,contexts:I,level:J,sdkProcessingMetadata:ie,breadcrumbs:pe,fingerprint:Ge,eventProcessors:Ae,attachments:mt,propagationContext:ut,transactionName:Lt,span:vn}=s;$c(n,"extra",c),$c(n,"tags",u),$c(n,"attributes",y),$c(n,"user",F),$c(n,"contexts",I),n.sdkProcessingMetadata=ii(n.sdkProcessingMetadata,ie,2),J&&(n.level=J),Lt&&(n.transactionName=Lt),vn&&(n.span=vn),pe.length&&(n.breadcrumbs=[...n.breadcrumbs,...pe]),Ge.length&&(n.fingerprint=[...n.fingerprint,...Ge]),Ae.length&&(n.eventProcessors=[...n.eventProcessors,...Ae]),mt.length&&(n.attachments=[...n.attachments,...mt]),n.propagationContext={...n.propagationContext,...ut}}function $c(n,s,c){n[s]=ii(n[s],c,1)}function bl(n,s){const c=_a().getScopeData();return n&&cc(c,n.getScopeData()),s&&cc(c,s.getScopeData()),c}function Hc(n,s,c,u,y,F){const{normalizeDepth:I=3,normalizeMaxBreadth:J=1e3}=n,ie={...s,event_id:s.event_id||c.event_id||Pt(),timestamp:s.timestamp||ss()},pe=c.integrations||n.integrations.map(Nn=>Nn.name);(function rl(n,s){const{environment:c,release:u,dist:y,maxValueLength:F}=s;n.environment=n.environment||c||oc,!n.release&&u&&(n.release=u),!n.dist&&y&&(n.dist=y);const I=n.request;I?.url&&F&&(I.url=vr(I.url,F)),F&&n.exception?.values?.forEach(J=>{J.value&&(J.value=vr(J.value,F))})})(ie,n),function kd(n,s){s.length>0&&(n.sdk=n.sdk||{},n.sdk.integrations=[...n.sdk.integrations||[],...s])}(ie,pe),y&&y.emit("applyFrameMetadata",s),void 0===s.type&&function za(n,s){const c=function Da(n){const s=he._sentryDebugIds,c=he._debugIds;if(!s&&!c)return{};const u=s?Object.keys(s):[],y=c?Object.keys(c):[];if(Hs&&u.length===Lo&&y.length===po)return Hs;Lo=u.length,po=y.length,Hs={},Ms||(Ms={});const F=(I,J)=>{for(const ie of I){const pe=J[ie],Ge=Ms?.[ie];if(Ge&&Hs&&pe)Hs[Ge[0]]=pe,Ms&&(Ms[ie]=[Ge[0],pe]);else if(pe){const Ae=n(ie);for(let mt=Ae.length-1;mt>=0;mt--){const Lt=Ae[mt]?.filename;if(Lt&&Hs&&Ms){Hs[Lt]=pe,Ms[ie]=[Lt,pe];break}}}}};return s&&F(u,s),c&&F(y,c),Hs}(s);n.exception?.values?.forEach(u=>{u.stacktrace?.frames?.forEach(y=>{y.filename&&(y.debug_id=c[y.filename])})})}(ie,n.stackParser);const Ge=function Hd(n,s){if(!s)return n;const c=n?n.clone():new la;return c.update(s),c}(u,c.captureContext);c.mechanism&&rn(ie,c.mechanism);const Ae=y?y.getEventProcessors():[],mt=bl(F,Ge),ut=[...c.attachments||[],...mt.attachments];ut.length&&(c.attachments=ut),function wc(n,s){const{fingerprint:c,span:u,breadcrumbs:y,sdkProcessingMetadata:F}=s;(function vo(n,s){const{extra:c,tags:u,user:y,contexts:F,level:I,transactionName:J}=s;Object.keys(c).length&&(n.extra={...c,...n.extra}),Object.keys(u).length&&(n.tags={...u,...n.tags}),Object.keys(y).length&&(n.user={...y,...n.user}),Object.keys(F).length&&(n.contexts={...F,...n.contexts}),I&&(n.level=I),J&&"transaction"!==n.type&&(n.transaction=J)})(n,s),u&&function ua(n,s){n.contexts={trace:Ce(s),...n.contexts},n.sdkProcessingMetadata={dynamicSamplingContext:_i(s),...n.sdkProcessingMetadata};const u=xi(Cr(s)).description;u&&!n.transaction&&"transaction"===n.type&&(n.transaction=u)}(n,u),function zl(n,s){n.fingerprint=n.fingerprint?Array.isArray(n.fingerprint)?n.fingerprint:[n.fingerprint]:[],s&&(n.fingerprint=n.fingerprint.concat(s)),n.fingerprint.length||delete n.fingerprint}(n,c),function Vl(n,s){const c=[...n.breadcrumbs||[],...s];n.breadcrumbs=c.length?c:void 0}(n,y),function Ir(n,s){n.sdkProcessingMetadata={...n.sdkProcessingMetadata,...s}}(n,F)}(ie,mt);const Lt=[...Ae,...mt.eventProcessors];return(c.data&&!0===c.data.__sentry__?Qs(ie):Ko(Lt,ie,c)).then(Nn=>(Nn&&function Wc(n){const s={};if(n.exception?.values?.forEach(u=>{u.stacktrace?.frames?.forEach(y=>{y.debug_id&&(y.abs_path?s[y.abs_path]=y.debug_id:y.filename&&(s[y.filename]=y.debug_id),delete y.debug_id)})}),0===Object.keys(s).length)return;n.debug_meta=n.debug_meta||{},n.debug_meta.images=n.debug_meta.images||[];const c=n.debug_meta.images;
3Object.entries(s).forEach(([u,y])=>{c.push({type:"sourcemap",code_file:u,debug_id:y})})}(Nn),"number"==typeof I&&I>0?function od(n,s,c){if(!n)return null;const u={...n,...n.breadcrumbs&&{breadcrumbs:n.breadcrumbs.map(y=>({...y,...y.data&&{data:Pi(y.data,s,c)}}))},...n.user&&{user:Pi(n.user,s,c)},...n.contexts&&{contexts:Pi(n.contexts,s,c)},...n.extra&&{extra:Pi(n.extra,s,c)}};return n.contexts?.trace&&u.contexts&&(u.contexts.trace=n.contexts.trace,n.contexts.trace.data&&(u.contexts.trace.data=Pi(n.contexts.trace.data,s,c))),n.spans&&(u.spans=n.spans.map(y=>({...y,...y.data&&{data:Pi(y.data,s,c)}}))),n.contexts?.flags&&u.contexts&&(u.contexts.flags=Pi(n.contexts.flags,3,c)),u}(Nn,I,J):Nn))}const Hl=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function Sd(n,s){return fi().captureException(n,function $l(n){if(n)return function Wd(n){return n instanceof la||"function"==typeof n}(n)||function bu(n){return Object.keys(n).some(s=>Hl.includes(s))}(n)?{captureContext:n}:n}(s))}function Bu(n,s){return fi().captureEvent(n,s)}function Lu(n,s){Or().setContext(n,s)}function N(n){Or().setExtras(n)}function j(n){Or().setTags(n)}function ht(n){Or().setUser(n)}function Al(n){const s=Or(),{user:c}=bl(s,fi()),{userAgent:u}=he.navigator||{},y=function Zt(n){const s=cr(),c={sid:Pt(),init:!0,timestamp:s,started:s,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function Wi(n){return{sid:`${n.sid}`,init:n.init,started:new Date(1e3*n.started).toISOString(),timestamp:new Date(1e3*n.timestamp).toISOString(),status:n.status,errors:n.errors,did:"number"==typeof n.did||"string"==typeof n.did?`${n.did}`:void 0,duration:n.duration,abnormal_mechanism:n.abnormal_mechanism,attrs:{release:n.release,environment:n.environment,ip_address:n.ipAddress,user_agent:n.userAgent}}}(c)};return n&&At(c,n),c}({user:c,...u&&{userAgent:u},...n}),F=s.getSession();return"ok"===F?.status&&At(F,{status:"exited"}),Us(),s.setSession(y),y}function Us(){const n=Or(),c=fi().getSession()||n.getSession();c&&function Yn(n,s){let c={};s?c={status:s}:"ok"===n.status&&(c={status:"exited"}),At(n,c)}(c),Ao(),n.setSession()}function Ao(){const n=Or(),s=Ai(),c=n.getSession();c&&s&&s.captureSession(c)}function vl(n=!1){n?Us():Ao()}const Ja=100;function al(n,s){const c=Ai(),u=Or();if(!c)return;const{beforeBreadcrumb:y=null,maxBreadcrumbs:F=Ja}=c.getOptions();if(F<=0)return;const J={timestamp:ss(),...n},ie=y?Be(()=>y(J,s)):J;null!==ie&&(c.emit&&c.emit("beforeAddBreadcrumb",ie,s),u.addBreadcrumb(ie,F))}function lc(n){switch(n){case Te.Fatal:return"fatal";case Te.Error:return"error";case Te.Warning:return"warning";case Te.Log:return"log";case Te.Info:return"info";case Te.Debug:return"debug";default:return"error"}}class Dd{scope;constructor(s){this.scope=s}setLevel(s){this.scope.setLevel(lc(s))}setFingerprint(s){this.scope.setFingerprint(s)}setExtras(s){Object.entries(s).forEach(([c,u])=>{this.scope.setExtra(c,u)})}setExtra(s,c){this.scope.setExtra(s,c)}setTags(s){Object.entries(s).forEach(([c,u])=>{this.scope.setTag(c,String(u))})}setTag(s,c){this.scope.setTag(s,String(c))}setUser(s){this.scope.setUser(s)}setContext(s,c){this.scope.setContext(s,c)}captureMessage(s,c){this.scope.captureMessage(s,lc(c))}captureException(s){this.scope.captureException(s)}}let xd=(()=>{class n{captureMessage(c,u){return function sl(n,s){const c="string"==typeof s?s:void 0,u="string"!=typeof s?{captureContext:s}:void 0;return fi().captureMessage(n,c,u)}(c,lc(u))}captureException(c,u){if(u){const y={},F=u;return F.extras&&(y.extra=F.extras),F.tags&&(y.tags=Object.entries(F.tags).reduce((I,[J,ie])=>(I[J]=String(ie),I),{})),F.user&&(y.user=F.user),Sd(c,y)}return Sd(c)}withScope(c){Bo(u=>{c(new Dd(u))})}addBreadcrumb(c){al({message:c.message,level:c.level?lc(c.level):void 0,category:c.category,data:c.data,timestamp:c.timestamp})}setExtras(c){N(c)}setExtra(c,u){!function Z(n,s){Or().setExtra(n,s)}(c,u)}setTags(c){j(Object.entries(c).reduce((y,[F,I])=>(y[F]=String(I),y),{}))}setTag(c,u){!function te(n,s){Or().setTag(n,s)}(c,String(u))}setUser(c){ht(c)}setContext(c,u){Lu(c,u)}clearScope(){ht(null),j({}),N({})}static \u0275fac=function(u){return new(u||n)};static \u0275prov=le.jDH({token:n,factory:n.\u0275fac})}return n})();var hr=g(65377);function Uu(n){return`${n.protocol?`${n.protocol}:`:""}//${n.host}${n.port?`:${n.port}`:""}${n.path?`/${n.path}`:""}/api/`}const Lr=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Wl=he;function $a(){try{return Wl.document.location.href}catch{return""}}function cd(n,s=5){if(!Wl.HTMLElement)return null;
3let c=n;for(let u=0;u<s;u++){if(!c)return null;if(c instanceof HTMLElement){if(c.dataset.sentryComponent)return c.dataset.sentryComponent;if(c.dataset.sentryElement)return c.dataset.sentryElement}c=c.parentNode}return null}const nr=he;let or=0;function ld(){return or>0}function Gl(n,s={}){if(!function c(y){return"function"==typeof y}(n))return n;try{if(Object.prototype.hasOwnProperty.call(n,"__sentry_wrapped__")){const F=n.__sentry_wrapped__;return"function"==typeof F?F:n}if(xn(n))return n}catch{return n}const u=function(...y){he._sentryWrappedDepth=(he._sentryWrappedDepth||0)+1;try{const F=y.map(I=>Gl(I,s));return n.apply(this,F)}catch(F){throw function Zo(){or++,setTimeout(()=>{or--})}(),Bo(I=>{I.addEventProcessor(J=>(s.mechanism&&(pt(J,void 0,void 0),rn(J,s.mechanism)),J.extra={...J.extra,arguments:y},J)),Sd(F)}),F}finally{he._sentryWrappedDepth=(he._sentryWrappedDepth||0)-1}};try{for(const y in n)Object.prototype.hasOwnProperty.call(n,y)&&(u[y]=n[y])}catch{}Xt(u,n),Rt(n,"__sentry_wrapped__",u);try{Object.getOwnPropertyDescriptor(u,"name").configurable&&Object.defineProperty(u,"name",{get:()=>n.name})}catch{}return u}function sa(){const n=$a(),{referrer:s}=nr.document||{},{userAgent:c}=nr.navigator||{};return{url:n,headers:{...s&&{Referer:s},...c&&{"User-Agent":c}}}}function vu(n={}){const s=nr.document,c=s?.head||s?.body;if(!c)return void(Lr&&$e.error("[showReportDialog] Global document not defined"));const u=fi(),F=Ai()?.getDsn();if(!F)return void(Lr&&$e.error("[showReportDialog] DSN not configured"));const I={...n,user:{...u.getUser(),...n.user},eventId:n.eventId||Or().lastEventId()},J=nr.document.createElement("script");J.async=!0,J.crossOrigin="anonymous",J.src=function rs(n,s){const c=ml(n);if(!c)return"";const u=`${Uu(c)}embed/error-page/`;let y=`dsn=${Do(c)}`;for(const F in s)if("dsn"!==F&&"onClose"!==F)if("user"===F){const I=s.user;if(!I)continue;I.name&&(y+=`&name=${encodeURIComponent(I.name)}`),I.email&&(y+=`&email=${encodeURIComponent(I.email)}`)}else y+=`&${encodeURIComponent(F)}=${encodeURIComponent(s[F])}`;return`${u}?${y}`}(F,I);const{onLoad:ie,onClose:pe}=I;if(ie&&(J.onload=ie),pe){const Ge=Ae=>{if("__sentry_reportdialog_closed__"===Ae.data)try{pe()}finally{nr.removeEventListener("message",Ge)}};nr.addEventListener("message",Ge)}c.appendChild(J)}const Tl={},_u={};function _l(n,s){return Tl[n]=Tl[n]||[],Tl[n].push(s),()=>{const c=Tl[n];if(c){const u=c.indexOf(s);-1!==u&&c.splice(u,1)}}}function Kl(n,s){if(!_u[n]){_u[n]=!0;try{s()}catch(c){Se&&$e.error(`Error while instrumenting ${n}`,c)}}}function uc(n,s){const c=n&&Tl[n];if(c)for(const u of c)try{u(s)}catch(y){Se&&$e.error(`Error while triggering instrumentation handler.\nType: ${n}\nName: ${br(u)}\nError:`,y)}}const Fu=new Set([]),yn=new Set;function ar(){"console"in he&&ke.forEach(function(n){yn.has(n)||!(n in he.console)||(yn.add(n),wi(he.console,n,function(s){return Ve[n]=s,function(...c){const u=c[0],y=Ve[n],F=Fu.size&&"string"==typeof u&&kr(u,Fu);F||uc("console",{args:c,level:n}),(!F||Se&&$e.isEnabled())&&y?.apply(he.console,c)}}))})}var zr=g(70650);const Xl=he;function Ol(n){return n&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(n.toString())}function Qd(n,s){const c="fetch",u=_l(c,n);return Kl(c,()=>Jo(void 0,s)),u}function Jo(n,s=!1){s&&!function ah(){if("string"==typeof EdgeRuntime)return!0;if(!function Yd(){if(!("fetch"in Xl))return!1;try{return new Headers,new Request("data:,"),new Response,!0}catch{return!1}}())return!1;if(Ol(Xl.fetch))return!0;let n=!1;const s=Xl.document;if(s&&"function"==typeof s.createElement)try{const c=s.createElement("iframe");c.hidden=!0,s.head.appendChild(c),c.contentWindow?.fetch&&(n=Ol(c.contentWindow.fetch)),s.head.removeChild(c)}catch(c){Se&&$e.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",c)}return n}()||wi(he,"fetch",function(c){return function(...u){const y=new Error,{method:F,url:I}=function Jd(n){if(0===n.length)return{method:"GET",url:""};if(2===n.length){const[c,u]=n;return{url:Zd(c),method:tc(u,"method")?String(u.method).toUpperCase():ni(c)&&tc(c,"method")?String(c.method).toUpperCase():"GET"}}const s=n[0];return{url:Zd(s),method:tc(s,"method")?String(s.method).toUpperCase():"GET"}}(u),J={args:u,fetchData:{method:F,url:I},startTimestamp:1e3*cr(),virtualError:y,headers:ch(u)};return n||uc("fetch",{...J}),c.apply(he,u).then(function(){var ie=(0,zr.A)(function*(pe){return n?n(pe):uc("fetch",{...J,endTimestamp:1e3*cr(),response:pe}),pe});return function(pe){return ie.apply(this,arguments)}}(),ie=>{uc("fetch",{...J,endTimestamp:1e3*cr(),error:ie}),tt(ie)&&void 0===ie.stack&&(ie.stack=y.stack,Rt(ie,"framesToPop",1));const Ge=Ai()?.getOptions().enhanceFetchErrorMessages??"always";if(!1!==Ge&&tt(ie)&&"TypeError"===ie.name&&("Failed to fetch"===ie.message||"Load failed"===ie.message||"NetworkError when attempting to fetch resource."===ie.message))try{const ut=new URL(J.fetchData.url).host;"always"===Ge?ie.message=`${ie.message} (${ut})`:Rt(ie,"__sentry_fetch_url_host__",ut)}catch{}throw ie})}})}function ud(){return(ud=(0,zr.A)(function*(n,s){if(n?.body){const c=n.body,u=c.getReader(),y=setTimeout(()=>{c.cancel().then(null,()=>{})},9e4);let F=!0;for(;F;){let I;try{I=setTimeout(()=>{c.cancel().then(null,()=>{})},5e3);const{done:J}=yield u.read();clearTimeout(I),J&&(s(),F=!1)}catch{F=!1}finally{clearTimeout(I)}}clearTimeout(y),u.releaseLock(),c.cancel().then(null,()=>{})}})).apply(this,arguments)}function Nc(n){let s;try{s=n.clone()}catch{return}!function wl(n,s){ud.apply(this,arguments)}(s,()=>{uc("fetch-body-resolved",{endTimestamp:1e3*cr(),response:n})})}function tc(n,s){return Gt(n)&&!!n[s]}function Zd(n){return"string"==typeof n?n:n?tc(n,"url")?n.url:n.toString?n.toString():"":""}function ch(n){const[s,c]=n;try{if("object"==typeof c&&null!==c&&"headers"in c&&c.headers)return new Headers(c.headers);if(ni(s))return new Headers(s.headers)}catch{}}const eu=[];function Ad(n){const s=n.defaultIntegrations||[],c=n.integrations;let u;if(s.forEach(y=>{y.isDefaultInstance=!0}),Array.isArray(c))u=[...s,...c];else if("function"==typeof c){const y=c(s);u=Array.isArray(y)?y:[y]}else u=s;return function wu(n){const s={};
3return n.forEach(c=>{const{name:u}=c,y=s[u];y&&!y.isDefaultInstance&&c.isDefaultInstance||(s[u]=c)}),Object.values(s)}(u)}function Yl(n,s){for(const c of s)c?.afterAllSetup&&c.afterAllSetup(n)}function Td(n,s,c){if(c[s.name])Se&&$e.log(`Integration skipped because it was already installed: ${s.name}`);else{if(c[s.name]=s,!eu.includes(s.name)&&"function"==typeof s.setupOnce&&(s.setupOnce(),eu.push(s.name)),s.setup&&"function"==typeof s.setup&&s.setup(n),"function"==typeof s.preprocessEvent){const u=s.preprocessEvent.bind(s);n.on("preprocessEvent",(y,F)=>u(y,F,n))}if("function"==typeof s.processEvent){const u=s.processEvent.bind(s),y=Object.assign((F,I)=>u(F,I,n),{id:s.name});n.addEventProcessor(y)}["processSpan","processSegmentSpan"].forEach(u=>{const y=s[u];"function"==typeof y&&n.on(u,F=>y.call(s,F,n))}),Se&&$e.log(`Integration installed: ${s.name}`)}}function hd(n){const s=Ai();s?s.addIntegration(n):Se&&$e.warn(`Cannot add integration "${n.name}" because no SDK Client is available.`)}function Od(n){return"warn"===n?"warning":["fatal","error","warning","log","info","debug"].includes(n)?n:"log"}function Cu(n){if(void 0!==n)return n>=400&&n<500?"warning":n>=500?"error":void 0}const iu="thismessage:/";function Cc(n){return"isRelative"in n}function Ea(n,s){const c=n.indexOf("://")<=0&&0!==n.indexOf("//"),u=s??(c?iu:void 0);try{if("canParse"in URL&&!URL.canParse(n,u))return;const y=new URL(n,u);return c?{isRelative:c,pathname:y.pathname,search:y.search,hash:y.hash}:y}catch{}}function $o(n){if(Cc(n))return n.pathname;const s=new URL(n);return s.search="",s.hash="",["80","443"].includes(s.port)&&(s.port=""),s.password&&(s.password="%filtered%"),s.username&&(s.username="%filtered%"),s.toString()}function Il(n){if(!n)return{};const s=n.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!s)return{};const c=s[6]||"",u=s[8]||"";return{host:s[4],path:s[5],protocol:s[2],search:c,hash:u,relative:s[5]+c+u}}function nc(n){return n.split(/[?#]/,1)[0]}function Ec(n,s=!0){if(n.startsWith("data:")){const c=n.match(/^data:([^;,]+)/),u=c?c[1]:"text/plain",y=n.includes(";base64,"),F=n.indexOf(",");let I="";if(s&&-1!==F){const J=n.slice(F+1);I=J.length>10?`${J.slice(0,10)}... [truncated]`:J}return`data:${u}${y?",base64":""}${I?`,${I}`:""}`}return n}const Qi=he,Y=1e3;let T,S,V;function ce(n){_l("dom",n),Kl("dom",je)}function je(){if(!Qi.document)return;const n=uc.bind(null,"dom"),s=zt(n,!0);Qi.document.addEventListener("click",s,!1),Qi.document.addEventListener("keypress",s,!1),["EventTarget","Node"].forEach(c=>{const y=Qi[c]?.prototype;y?.hasOwnProperty?.("addEventListener")&&(wi(y,"addEventListener",function(F){return function(I,J,ie){if("click"===I||"keypress"==I)try{const pe=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},Ge=pe[I]=pe[I]||{refCount:0};if(!Ge.handler){const Ae=zt(n);Ge.handler=Ae,F.call(this,I,Ae,ie)}Ge.refCount++}catch{}return F.call(this,I,J,ie)}}),wi(y,"removeEventListener",function(F){return function(I,J,ie){if("click"===I||"keypress"==I)try{const pe=this.__sentry_instrumentation_handlers__||{},Ge=pe[I];Ge&&(Ge.refCount--,Ge.refCount<=0&&(F.call(this,I,Ge.handler,ie),Ge.handler=void 0,delete pe[I]),0===Object.keys(pe).length&&delete this.__sentry_instrumentation_handlers__)}catch{}return F.call(this,I,J,ie)}}))})}function zt(n,s=!1){return c=>{if(!c||c._sentryCaptured)return;const u=function Vt(n){try{return n.target}catch{return null}}(c);if(function Ct(n,s){return!("keypress"!==n||s?.tagName&&("INPUT"===s.tagName||"TEXTAREA"===s.tagName||s.isContentEditable))}(c.type,u))return;Rt(c,"_sentryCaptured",!0),u&&!u._sentryId&&Rt(u,"_sentryId",Pt());const y="keypress"===c.type?"input":c.type;(function dt(n){if(n.type!==S)return!1;try{if(!n.target||n.target._sentryId!==V)return!1}catch{}return!0})(c)||(n({event:c,name:y,global:s}),S=c.type,V=u?u._sentryId:void 0),clearTimeout(T),T=Qi.setTimeout(()=>{V=void 0,S=void 0},Y)}}const jn="__sentry_xhr_v3__";function Mn(n){_l("xhr",n),Kl("xhr",Si)}function Si(){if(!Qi.XMLHttpRequest)return;const n=XMLHttpRequest.prototype;n.open=new Proxy(n.open,{apply(s,c,u){const y=new Error,F=1e3*cr(),I=_n(u[0])?u[0].toUpperCase():void 0,J=function ji(n){if(_n(n))return n;try{return n.toString()}catch{}}(u[1]);if(!I||!J)return s.apply(c,u);c[jn]={method:I,url:J,request_headers:{}}
3,"POST"===I&&J.match(/sentry_key/)&&(c.__sentry_own_request__=!0);const ie=()=>{const pe=c[jn];if(pe&&4===c.readyState){try{pe.status_code=c.status}catch{}uc("xhr",{endTimestamp:1e3*cr(),startTimestamp:F,xhr:c,virtualError:y}),c.removeEventListener("readystatechange",ie)}};return"onreadystatechange"in c&&"function"==typeof c.onreadystatechange?c.onreadystatechange=new Proxy(c.onreadystatechange,{apply:(pe,Ge,Ae)=>(ie(),pe.apply(Ge,Ae))}):c.addEventListener("readystatechange",ie),c.setRequestHeader=new Proxy(c.setRequestHeader,{apply(pe,Ge,Ae){const[mt,ut]=Ae,Lt=Ge[jn];return Lt&&_n(mt)&&_n(ut)&&(Lt.request_headers[mt.toLowerCase()]=ut),pe.apply(Ge,Ae)}}),s.apply(c,u)}}),n.send=new Proxy(n.send,{apply(s,c,u){const y=c[jn];return y?(void 0!==u[0]&&(y.body=u[0]),uc("xhr",{startTimestamp:1e3*cr(),xhr:c}),s.apply(c,u)):s.apply(c,u)}})}let ti;function ri(n){const s="history";_l(s,n),Kl(s,ls)}function ls(){function n(s){return function(...c){const u=c.length>2?c[2]:void 0;if(u){const y=ti,F=function ps(n){try{return new URL(n,Qi.location.origin).toString()}catch{return n}}(String(u));if(ti=F,y===F)return s.apply(this,c);uc("history",{from:y,to:F})}return s.apply(this,c)}}Qi.addEventListener("popstate",()=>{const s=Qi.location.href,c=ti;ti=s,c!==s&&uc("history",{from:c,to:s})}),function Kc(){return"history"in Xl&&!!Xl.history}()&&(wi(Qi.history,"pushState",n),wi(Qi.history,"replaceState",n))}const Xs=80,js={};try{typeof Node<"u"&&(js.parentNode=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode").get),typeof Element<"u"&&(js.tagName=Object.getOwnPropertyDescriptor(Element.prototype,"tagName").get,js.id=Object.getOwnPropertyDescriptor(Element.prototype,"id").get,js.className=Object.getOwnPropertyDescriptor(Element.prototype,"className").get,js.getAttribute=Element.prototype.getAttribute),typeof HTMLElement<"u"&&(js.dataset=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset").get)}catch{}function yi(n,s,c){const u=js[s];if(u)try{return u.call(n,c)}catch{}const y=n[s];return"function"==typeof y?y.call(n,c):y}function fr(n,s={}){if(!n)return"<unknown>";try{let c=n;const u=5,y=[];let F=0,I=0;const J=" > ",ie=J.length;let pe;const Ge=Array.isArray(s)?s:s.keyAttrs,Ae=!Array.isArray(s)&&s.maxStringLength||Xs;for(;c&&F++<u&&(pe=Gr(c,Ge),!("html"===pe||F>1&&I+y.length*ie+pe.length>=Ae));)y.push(pe),I+=pe.length,c=yi(c,"parentNode");return y.reverse().join(J)}catch{return"<unknown>"}}function Gr(n,s){const c=[],u=yi(n,"tagName");if(!u)return"";if(typeof HTMLElement<"u"&&n instanceof HTMLElement){const F=yi(n,"dataset");if(F){if(F.sentryComponent)return F.sentryComponent;if(F.sentryElement)return F.sentryElement}}c.push(u.toLowerCase());const y=s?.length?s.filter(F=>yi(n,"getAttribute",F)).map(F=>[F,yi(n,"getAttribute",F)]):null;if(y?.length)y.forEach(F=>{c.push(`[${F[0]}="${F[1]}"]`)});else{const F=yi(n,"id");F&&c.push(`#${F}`);const I=yi(n,"className");if(I&&_n(I)){const J=I.split(/\s+/);for(const ie of J)c.push(`.${ie}`)}}for(const F of["aria-label","type","name","title","alt"]){const I=yi(n,"getAttribute",F);I&&c.push(`[${F}="${I}"]`)}return c.join("")}const de=(n={})=>{const s={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...n};return{name:"Breadcrumbs",setup(c){s.console&&function Kd(n){const s="console",c=_l(s,n);Kl(s,ar)}(function Ut(n){return function(c){if(Ai()!==n)return;const u={category:"console",data:{arguments:c.args,logger:"console"},level:Od(c.level),message:Rs(c.args," ")};if("assert"===c.level){if(!1!==c.args[0])return;u.message=`Assertion failed: ${Rs(c.args.slice(1)," ")||"console.assert"}`,u.data.arguments=c.args.slice(1)}al(u,{input:c.args,level:c.level})}}(c)),s.dom&&ce(function at(n,s){return function(u){if(Ai()!==n)return;let y,F,I="object"==typeof s?s.serializeAttribute:void 0,J="object"==typeof s&&"number"==typeof s.maxStringLength?s.maxStringLength:void 0;J&&J>1024&&(Lr&&$e.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${J} was configured. Sentry will use 1024 instead.`),J=1024),"string"==typeof I&&(I=[I]);try{const pe=u.event,Ge=function Un(n){return!!n&&!!n.target}(pe)?pe.target:pe;y=fr(Ge,{keyAttrs:I,maxStringLength:J}),F=cd(Ge)}catch{y="<unknown>"}if(0===y.length)return;const ie={category:`ui.${u.name}`,message:y};F&&(ie.data={"ui.component_name":F}),al(ie,{event:u.event,name:u.name,global:u.global})}}(c,s.dom)),s.xhr&&Mn(function bn(n){return function(c){if(Ai()!==n)return;const{startTimestamp:u,endTimestamp:y}=c,F=c.xhr[jn];if(!u||!y||!F)return;const{method:I,url:J,status_code:ie,body:pe}=F,Ae={xhr:c.xhr,input:pe,startTimestamp:u,endTimestamp:y},mt={category:"xhr",data:{method:I,url:J,status_code:ie},type:"http",level:Cu(ie)};n.emit("beforeOutgoingRequestBreadcrumb",mt,Ae),al(mt,Ae)}}(c)),s.fetch&&Qd(function Dn(n){return function(c){if(Ai()!==n)return;const{startTimestamp:u,endTimestamp:y}=c;
3if(y&&(!c.fetchData.url.match(/sentry_key/)||"POST"!==c.fetchData.method))if(c.error){const F={data:c.error,input:c.args,startTimestamp:u,endTimestamp:y},I={category:"fetch",data:c.fetchData,level:"error",type:"http"};n.emit("beforeOutgoingRequestBreadcrumb",I,F),al(I,F)}else{const F=c.response,I={...c.fetchData,status_code:F?.status},J={input:c.args,response:F,startTimestamp:u,endTimestamp:y},ie={category:"fetch",data:I,type:"http",level:Cu(I.status_code)};n.emit("beforeOutgoingRequestBreadcrumb",ie,J),al(ie,J)}}}(c)),s.history&&ri(function ln(n){return function(c){if(Ai()!==n)return;let u=c.from,y=c.to;const F=Il(nr.location.href);let I=u?Il(u):void 0;const J=Il(y);I?.path||(I=F),F.protocol===J.protocol&&F.host===J.host&&(y=J.relative),F.protocol===I.protocol&&F.host===I.host&&(u=I.relative),al({category:"navigation",data:{from:u,to:y}})}}(c)),s.sentry&&c.on("beforeSendEvent",function De(n){return function(c){Ai()===n&&al({category:"sentry."+("transaction"===c.type?"transaction":"event"),event_id:c.event_id,level:c.level,message:ot(c)},{event:c})}}(c))}}};let Rn=null;function Fi(n){const s="error";_l(s,n),Kl(s,Kr)}function Kr(){Rn=he.onerror,he.onerror=function(n,s,c,u,y){return uc("error",{column:u,error:y,line:c,msg:n,url:s}),!!Rn&&Rn.apply(this,arguments)},he.onerror.__SENTRY_INSTRUMENTED__=!0}let Ho=null;function To(n){const s="unhandledrejection";_l(s,n),Kl(s,Xr)}function Xr(){Ho=he.onunhandledrejection,he.onunhandledrejection=function(n){return uc("unhandledrejection",n),!Ho||Ho.apply(this,arguments)},he.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}function Uh(n,s){const c=Ql(n,s),u={type:M0(s),value:Eg(s)};return c.length&&(u.stacktrace={frames:c}),void 0===u.type&&""===u.value&&(u.value="Unrecoverable error caught"),u}function Pd(n,s){return{exception:{values:[Uh(n,s)]}}}function Ql(n,s){const c=s.stacktrace||s.stack||"",u=function x0(n){return n&&ha.test(n.message)?1:0}(s),y=function Cg(n){return"number"==typeof n.framesToPop?n.framesToPop:0}(s);try{return n(c,u,y)}catch{}return[]}const ha=/Minified React error #\d+;/i;function jh(n){return typeof WebAssembly<"u"&&typeof WebAssembly.Exception<"u"&&n instanceof WebAssembly.Exception}function M0(n){const s=n?.name;return!s&&jh(n)?n.message&&Array.isArray(n.message)&&2==n.message.length?n.message[0]:"WebAssembly.Exception":s}function Eg(n){const s=n?.message;return jh(n)?Array.isArray(n.message)&&2==n.message.length?n.message[1]:"wasm exception":s?function Xc(n){return function Cl(n){return tt(n)&&"__sentry_fetch_url_host__"in n&&"string"==typeof n.__sentry_fetch_url_host__}(n)?`${n.message} (${n.__sentry_fetch_url_host__})`:n.message}(s.error&&"string"==typeof s.error.message?s.error:n):"No error message"}function Vh(n,s,c,u,y){let F;if(_t(s)&&s.error)return Pd(n,s.error);if(on(s)||function Hn(n){return nt(n,"DOMException")}(s)){const I=s;if("stack"in s){F=Pd(n,s);const J=F.exception?.values?.[0];if(u&&c&&J&&!J.stacktrace){const ie=Ql(n,c);ie.length&&(J.stacktrace={frames:ie},rn(F,{synthetic:!0}))}}else{const J=I.name||(on(I)?"DOMError":"DOMException"),ie=I.message?`${J}: ${I.message}`:J;F=ru(n,ie,c,u),pt(F,ie)}return"code"in I&&(F.tags={...F.tags,"DOMException.code":`${I.code}`}),F}return tt(s)?Pd(n,s):Ot(s)||Wt(s)?(F=function wg(n,s,c,u){const F=Ai()?.getOptions().normalizeDepth,I=function Sg(n){return Object.values(n).find(tt)}(s),J={__serialized__:xr(s,F)};if(I)return{exception:{values:[Uh(n,I)]},extra:J};const ie={exception:{values:[{type:Wt(s)?s.constructor.name:u?"UnhandledRejection":"Error",value:dh(s,{isUnhandledRejection:u})}]},extra:J};if(c){const pe=Ql(n,c);pe.length&&(ie.exception.values[0].stacktrace={frames:pe})}return ie}(n,s,c,y),rn(F,{synthetic:!0}),F):(F=ru(n,s,c,u),pt(F,`${s}`,void 0),rn(F,{synthetic:!0}),F)}function ru(n,s,c,u){const y={};if(u&&c){const F=Ql(n,c);F.length&&(y.exception={values:[{value:s,stacktrace:{frames:F}}]}),rn(y,{synthetic:!0})}if(hn(s)){const{__sentry_template_string__:F,__sentry_template_values__:I}=s;return y.logentry={message:F,params:I},y}return y.message=s,y}function dh(n,{isUnhandledRejection:s}){const c=function vt(n){const s=Object.keys(Oe(n));return s.sort(),s[0]?s.join(", "):"[object has no keys]"}(n),u=s?"promise rejection":"exception";return _t(n)?`Event \`ErrorEvent\` captured as ${u} with message \`${n.message}\``:Wt(n)?`Event \`${function kg(n){try{const s=Object.getPrototypeOf(n);return s?s.constructor.name:void 0}catch{}}(n)}\` (type=${n.type}) captured as ${u}`:`Object captured as ${u} with keys: ${c}`}const $f=(n={})=>{const s={onerror:!0,onunhandledrejection:!0,...n};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(c){s.onerror&&(function O0(n){Fi(s=>{const{stackParser:c,attachStacktrace:u}=$h();if(Ai()!==n||ld())return;const{msg:y,url:F,line:I,column:J,error:ie}=s,pe=function xg(n,s,c,u){const y=n.exception=n.exception||{},F=y.values=y.values||[],I=F[0]=F[0]||{},J=I.stacktrace=I.stacktrace||{},ie=J.frames=J.frames||[];
3return 0===ie.length&&ie.push({colno:u,lineno:c,filename:Rc(s)??$a(),function:qe,in_app:!0}),n}(Vh(c,ie||y,void 0,u,!1),F,I,J);pe.level="error",Bu(pe,{originalException:ie,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})})}(c),Hf("onerror")),s.onunhandledrejection&&(function zh(n){To(s=>{const{stackParser:c,attachStacktrace:u}=$h();if(Ai()!==n||ld())return;const y=function Dg(n){if(en(n))return n;try{if("reason"in n)return n.reason;if("detail"in n&&"reason"in n.detail)return n.detail.reason}catch{}return n}(s),F=en(y)?function P0(n){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(n)}`}]}}}(y):Vh(c,y,void 0,u,!0);F.level="error",Bu(F,{originalException:y,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})})}(c),Hf("onunhandledrejection"))}}};function Hf(n){Lr&&$e.log(`Global Handler attached: ${n}`)}function $h(){return Ai()?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}function Rc(n){if(_n(n)&&0!==n.length)return n.startsWith("data:")?`<${Ec(n,!1)}>`:n}function Wf(n,s,c,u,y,F){if(!y.exception?.values||!F||!tt(F.originalException))return;const I=y.exception.values.length>0?y.exception.values[y.exception.values.length-1]:void 0;I&&(y.exception.values=Gf(n,s,u,F.originalException,c,y.exception.values,I,0))}function Gf(n,s,c,u,y,F,I,J){if(F.length>=c+1)return F;let ie=[...F];if(tt(u[y])){Hh(I,J,u);const pe=n(s,u[y]),Ge=ie.length;I0(pe,y,Ge,J),ie=Gf(n,s,c,u[y],y,[pe,...ie],pe,Ge)}return Mg(u)&&u.errors.forEach((pe,Ge)=>{if(tt(pe)){Hh(I,J,u);const Ae=n(s,pe),mt=ie.length;I0(Ae,`errors[${Ge}]`,mt,J),ie=Gf(n,s,c,pe,y,[Ae,...ie],Ae,mt)}}),ie}function Mg(n){return Array.isArray(n.errors)}function Hh(n,s,c){n.mechanism={handled:!0,type:"auto.core.linked_errors",...Mg(c)&&{is_exception_group:!0},...n.mechanism,exception_id:s}}function I0(n,s,c,u){n.mechanism={handled:!0,...n.mechanism,type:"chained",source:s,exception_id:c,parent_id:u}}const Kf=(n={})=>{const s=n.limit||5,c=n.key||"cause";return{name:"LinkedErrors",preprocessEvent(u,y,F){Wf(Uh,F.getOptions().stackParser,c,s,u,y)}}};function su(n,s){const c=n.attributes??(n.attributes={});Object.entries(s).forEach(([u,y])=>{null!=y&&!(u in c)&&(c[u]=y)})}const n_="http.url",f2="sentry.segment.name",By="sentry.transaction",Bd="url.full",mp="url.path",x2="url.template",V_=()=>({name:"HttpContext",preprocessEvent(n){if(!nr.navigator&&!nr.location&&!nr.document)return;const s=sa(),c={...s.headers,...n.request?.headers};n.request={...s,...n.request,headers:c}},processSegmentSpan(n){const s=n.attributes?.[ms];if(!nr.navigator&&!nr.location&&!nr.document)return;const c=sa();su(n,{[Bd]:"http.client"!==s?c.url:void 0,"http.request.header.user_agent":c.headers["User-Agent"],"http.request.header.referer":c.headers.Referer})}}),z_=()=>({name:"CultureContext",preprocessEvent(n){const s=$_();s&&(n.contexts={...n.contexts,culture:{...s,...n.contexts?.culture}})},processSegmentSpan(n){const s=$_();s&&su(n,{"culture.locale":s.locale,"culture.timezone":s.timezone,"culture.calendar":s.calendar})}});function $_(){try{const n=nr.Intl;if(!n)return;const s=n.DateTimeFormat().resolvedOptions();return{locale:s.locale,timezone:s.timeZone,calendar:s.calendar}}catch{return}}function Qu(n,s,c){Qi.document&&Qi.addEventListener(n,s,c)}function _m(n,s,c){Qi.document&&Qi.removeEventListener(n,s,c)}const Wy=n=>{let s=!1;return()=>{s||(n(),s=!0)}},Gy=n=>{const s=Qi.requestIdleCallback||Qi.setTimeout;"hidden"===Qi.document?.visibilityState?n():(Qu("visibilitychange",n=Wy(n),{once:!0,capture:!0}),Qu("pagehide",n,{once:!0,capture:!0}),s(()=>{n(),_m("visibilitychange",n,{capture:!0}),_m("pagehide",n,{capture:!0})}))},H_=(n={})=>{const s=n.lifecycle??"route";return{name:"BrowserSession",setupOnce(){if(typeof nr.document>"u")return void(Lr&&$e.warn("Using the `browserSessionIntegration` in non-browser environments is not supported."));Al({ignoreDuration:!0});let c=!1;Gy(()=>{c||(vl(),c=!0)});const u=Or();let y=u.getUser();u.addScopeListener(F=>{const I=F.getUser();(y?.id!==I?.id||y?.ip_address!==I?.ip_address)&&(y=I,c&&vl())}),"route"===s&&ri(({from:F,to:I})=>{F!==I&&(Al({ignoreDuration:!0}),vl(),c=!0)})}}};function W_(n){const s=[];n.message&&s.push(n.message);try{const c=n.exception.values[n.exception.values.length-1];
3c?.value&&(s.push(c.value),c.type&&s.push(`${c.type}: ${c.value}`))}catch{}return s}const $2=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,/can't redefine non-configurable property "solana"/,/vv\(\)\.getRestrictions is not a function/,/Can't find variable: _AutofillCallbackHandler/,/Object Not Found Matching Id:\d+, MethodName:simulateEvent/,/^Java exception was raised during method invocation$/],G_=(n={})=>{let s;return{name:"EventFilters",setup(c){const u=c.getOptions();s=Mu(n,u)},processEvent(c,u,y){if(!s){const F=y.getOptions();s=Mu(n,F)}return function Xy(n,s){if(n.type){if("transaction"===n.type&&function K_(n,s){if(!s?.length)return!1;const c=n.transaction;return!!c&&kr(c,s)}(n,s.ignoreTransactions))return Se&&$e.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${ot(n)}`),!0}else{if(function W2(n,s){return!!s?.length&&W_(n).some(c=>kr(c,s))}(n,s.ignoreErrors))return Se&&$e.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${ot(n)}`),!0;if(function Yy(n){return!!n.exception?.values?.length&&!n.message&&!n.exception.values.some(s=>s.stacktrace||s.type&&"Error"!==s.type||s.value)}(n))return Se&&$e.warn(`Event dropped due to not having an error message, error type or stacktrace.\nEvent: ${ot(n)}`),!0;if(function G2(n,s){if(!s?.length)return!1;const c=Zu(n);return!!c&&kr(c,s)}(n,s.denyUrls))return Se&&$e.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${ot(n)}.\nUrl: ${Zu(n)}`),!0;if(!function X_(n,s){if(!s?.length)return!0;const c=Zu(n);return!c||kr(c,s)}(n,s.allowUrls))return Se&&$e.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${ot(n)}.\nUrl: ${Zu(n)}`),!0}return!1}(c,s)?null:c}}},Ky=(n={})=>({...G_(n),name:"InboundFilters"});function Mu(n={},s={}){return{allowUrls:[...n.allowUrls||[],...s.allowUrls||[]],denyUrls:[...n.denyUrls||[],...s.denyUrls||[]],ignoreErrors:[...n.ignoreErrors||[],...s.ignoreErrors||[],...n.disableErrorDefaults?[]:$2],ignoreTransactions:[...n.ignoreTransactions||[],...s.ignoreTransactions||[]]}}function Zu(n){try{const c=[...n.exception?.values??[]].reverse().find(u=>void 0===u.mechanism?.parent_id&&u.stacktrace?.frames?.length)?.stacktrace?.frames;return c?function Y_(n=[]){for(let s=n.length-1;s>=0;s--){const c=n[s];if(c&&"<anonymous>"!==c.filename&&"[native code]"!==c.filename)return c.filename||null}return null}(c):null}catch{return Se&&$e.error(`Cannot extract url for event ${ot(n)}`),null}}const qy=new WeakMap,Fm=()=>({name:"FunctionToString",setupOnce(){const n=Function.prototype.toString;try{Function.prototype.toString=function(...s){const c=xn(this);let u;try{qy.has(Ai())&&void 0!==c&&(u=c)}catch{}return n.apply(u??this,s)}}catch{}},setup(n){qy.set(n,!0)}}),yh=()=>({name:"ConversationId",setup(n){n.on("spanStart",s=>{const c=fi().getScopeData(),u=Or().getScopeData(),y=c.conversationId||u.conversationId;if(y){const{op:F,data:I,description:J}=xi(s);if(!F?.startsWith("gen_ai.")&&!I["ai.operationId"]&&!J?.startsWith("ai."))return;s.setAttribute("gen_ai.conversation.id",y)}})}}),bh=()=>{let n;return{name:"Dedupe",processEvent(s){if(s.type)return s;try{if(function mf(n,s){return!(!s||!function yf(n,s){const c=n.message,u=s.message;return!(!c&&!u||c&&!u||!c&&u||c!==u||!Zy(n,s)||!Qy(n,s))}(n,s)&&!function bf(n,s){const c=wm(s),u=wm(n);return!!(c&&u&&c.type===u.type&&c.value===u.value&&Zy(n,s)&&Qy(n,s))}(n,s))}(s,n))return Se&&$e.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return n=s}}};function Qy(n,s){let c=pr(n),u=pr(s);if(!c&&!u)return!0;if(c&&!u||!c&&u||u.length!==c.length)return!1;for(let y=0;y<u.length;y++){const F=u[y],I=c[y];if(F.filename!==I.filename||F.lineno!==I.lineno||F.colno!==I.colno||F.function!==I.function)return!1}return!0}function Zy(n,s){let c=n.fingerprint,u=s.fingerprint;if(!c&&!u)return!0;if(c&&!u||!c&&u)return!1;try{return c.join("")===u.join("")}catch{return!1}}function wm(n){return n.exception?.values?.[0]}function Jy(n){return!!n&&"function"==typeof n&&"_streamed"in n&&!!n._streamed}function Au(n,s=[]){return[n,s]}function eb(n,s){const[c,u]=n;return[c,[...u,s]]}function vf(n,s){const c=n[1];for(const u of c)if(s(u,u[0].type))return!0;return!1}function Cm(n){const s=ct(he);return s.encodePolyfill?s.encodePolyfill(n):(new TextEncoder).encode(n)}function tb(n){const[s,c]=n;let u=JSON.stringify(s);function y(F){"string"==typeof u?u="string"==typeof F?u+F:[Cm(u),F]:u.push("string"==typeof F?Cm(F):F)}for(const F of c){const[I,J]=F;if(y(`\n${JSON.stringify(I)}\n`),"string"==typeof J||J instanceof Uint8Array)y(J);else{let ie;try{ie=JSON.stringify(J)}catch{ie=JSON.stringify(Pi(J))}y(ie)}}return"string"==typeof u?u:function vh(n){const s=n.reduce((y,F)=>y+F.length,0),c=new Uint8Array(s);let u=0;for(const y of n)c.set(y,u),u+=y.length;return c}(u)}function Y2(n){return[{type:"span"},n]}function nb(n){const s="string"==typeof n.data?Cm(n.data):n.data;return[{type:"attachment",length:s.length,filename:n.filename,content_type:n.contentType,attachment_type:n.attachmentType},s]}const q2={sessions:"session",event:"error",client_report:"internal",user_report:"default",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",raw_security:"security",log:"log_item",trace_metric:"metric"};function J_(n){return function _T(n){return n in q2}(n)?q2[n]:n}function ib(n){if(!n?.sdk)return;const{name:s,version:c}=n.sdk;return{name:s,version:c}}function rb(n,s,c,u){const y=n.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:n.event_id,sent_at:new Date(qt()).toISOString(),...s&&{sdk:s},...!!c&&u&&{dsn:Do(u)},...y&&{trace:y}}}function eF(n){$e.log(`Ignoring span ${n.op} - ${n.description} because it matches \`ignoreSpans\`.`)}function Pa(n,s){if(!s?.length)return!1;for(const c of s){if(Z2(c)){if(n.description&&Ki(n.description,c))return Se&&eF(n),!0;continue}const u=!!c.attributes&&Object.keys(c.attributes).length>0;if(!c.name&&!c.op&&!u)continue;const y=!c.name||n.description&&Ki(n.description,c.name),F=!c.op||n.op&&Ki(n.op,c.op),I=!c.attributes||Object.entries(c.attributes).every(([J,ie])=>tF(n.attributes?.[J],ie));if(y&&F&&I)return Se&&eF(n),!0}return!1}function tF(n,s){return"string"==typeof n&&("string"==typeof s||s instanceof RegExp)?
3Ki(n,s):Array.isArray(n)&&Array.isArray(s)?n.length===s.length&&n.every((c,u)=>c===s[u]):n===s}function Q2(n,s){const c=s.parent_span_id,u=s.span_id;if(c)for(const y of n)y.parent_span_id===u&&(y.parent_span_id=c)}function Z2(n){return"string"==typeof n||n instanceof RegExp}function eh(){return typeof window<"u"&&(!function tS(){return!function _f(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}()&&"[object process]"===Object.prototype.toString.call(typeof process<"u"?process:0)}()||function wT(){return"renderer"===he.process?.type}())}function sb(n,s){const c=s?"auto":"never";return[{type:"log",item_count:n.length,content_type:"application/vnd.sentry.items.log+json"},{version:2,...eh()&&{ingest_settings:{infer_ip:c,infer_user_agent:c}},items:n}]}function cb(n,s){const c=s??function Ud(n){return ed().get(n)}(n)??[];if(0===c.length)return;const u=n.getOptions(),y=function ob(n,s,c,u,y){const F={};return s?.sdk&&(F.sdk={name:s.sdk.name,version:s.sdk.version}),c&&u&&(F.dsn=Do(u)),Au(F,[sb(n,y)])}(c,u._metadata,u.tunnel,n.getDsn(),n.getDataCollectionOptions().userInfo);ed().set(n,[]),n.emit("flushLogs"),n.sendEnvelope(y)}function ed(){return yt("clientToLogBufferMap",()=>new WeakMap)}function sF(n,s){const c=s?"auto":"never";return[{type:"trace_metric",item_count:n.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{version:2,...eh()&&{ingest_settings:{infer_ip:c,infer_user_agent:c}},items:n}]}function db(n,s){const c=s??function oF(n){return ub().get(n)}(n)??[];if(0===c.length)return;const u=n.getOptions(),y=function nS(n,s,c,u,y){const F={};return s?.sdk&&(F.sdk={name:s.sdk.name,version:s.sdk.version}),c&&u&&(F.dsn=Do(u)),Au(F,[sF(n,y)])}(c,u._metadata,u.tunnel,n.getDsn(),n.getDataCollectionOptions().userInfo);ub().set(n,[]),n.emit("flushMetrics"),n.sendEnvelope(y)}function ub(){return yt("clientToMetricBufferMap",()=>new WeakMap)}function Vd(n){return"stream"===n.getOptions().traceLifecycle}function aF(n){return function $i(n){return{...n,attributes:Ts(n.attributes),links:n.links?.map(s=>({...s,attributes:Ts(s.attributes)}))}}({trace_id:n.trace_id,span_id:n.span_id,parent_span_id:n.parent_span_id,name:n.description||"",start_timestamp:n.start_timestamp,end_timestamp:n.timestamp||n.start_timestamp,status:n.status&&"ok"!==n.status&&"cancelled"!==n.status?"error":"ok",is_segment:!1,attributes:{...n.data},links:n.links})}function cF(n){return"object"==typeof n&&"function"==typeof n.unref&&n.unref(),n}const Dm=Symbol.for("SentryBufferFullError");function xm(n=100){const s=new Set;function u(I){s.delete(I)}return{get $(){return Array.from(s)},add:function y(I){if(!function c(){return s.size<n}())return es(Dm);const J=I();return s.add(J),J.then(()=>u(J),()=>u(J)),J},drain:function F(I){if(!s.size)return Qs(!0);const J=Promise.allSettled(Array.from(s)).then(()=>!0);if(!I)return J;const ie=[J,new Promise(pe=>cF(setTimeout(()=>pe(!1),I)))];return Promise.race(ie)}}}const lF=6e4;function dF(n,s,c=qt()){return function oS(n,s){return n[s]||n.all||0}(n,s)>c}function uF(n,{statusCode:s,headers:c},u=qt()){const y={...n},F=c?.["x-sentry-rate-limits"],I=c?.["retry-after"];if(F)for(const J of F.trim().split(",")){const[ie,pe,,,Ge]=J.split(":",5),Ae=parseInt(ie,10),mt=1e3*(isNaN(Ae)?60:Ae);if(pe)for(const ut of pe.split(";"))"metric_bucket"===ut?(!Ge||Ge.split(";").includes("custom"))&&(y[ut]=u+mt):y[ut]=u+mt;else y.all=u+mt}else I?y.all=u+function sS(n,s=qt()){const c=parseInt(`${n}`,10);if(!isNaN(c))return 1e3*c;const u=Date.parse(`${n}`);return isNaN(u)?lF:u-s}(I,u):429===s&&(y.all=u+6e4);return y}const hF=64;const hb=["forwarded","-ip","remote-","via","-user"],mF={userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:["incomingRequest","outgoingRequest","incomingResponse","outgoingResponse"],urlQueryParams:!0,graphQL:{document:!0,variables:!0},genAI:{inputs:!0,outputs:!0},databaseQueryData:!0,stackFrameVariables:!0,frameContextLines:5};const fb="Not capturing exception because it's already been captured.",bF="Discarded session because of missing or non-string release",vF=Symbol.for("SentryInternalError"),pb=Symbol.for("SentryDoNotSendEventError");function kp(n){return{message:n,[vF]:!0}}function _F(n){return{message:n,[pb]:!0}}function hS(n){return Gt(n)&&vF in n}function FF(n){return Gt(n)&&pb in n}function gb(n,s,c,u,y){let I,F=0,J=!1;n.on(c,()=>{F=0,clearTimeout(I),J=!1}),n.on(s,ie=>{if(F+=u(ie),F>
3=8e5)y(n);else if(!J){const pe=n.getOptions()._flushInterval??5e3;pe>0&&(J=!0,I=cF(setTimeout(()=>{y(n)},pe)))}}),n.on("flush",()=>{y(n)})}class Mm{constructor(s){if(this._options=s,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=xm(s.transportOptions?.bufferSize??hF),this._dataCollection=function yF(n){const s=null!=n.dataCollection?mF:function gF(n){return!0===n?{userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:["incomingRequest","outgoingRequest","incomingResponse","outgoingResponse"],urlQueryParams:!0,graphQL:{document:!0,variables:!0},genAI:{inputs:!0,outputs:!0},databaseQueryData:!0,stackFrameVariables:!0,frameContextLines:7}:{userInfo:!1,cookies:{deny:hb},httpHeaders:{request:{deny:hb},response:{deny:hb}},httpBodies:[],urlQueryParams:{deny:hb},graphQL:{document:!0,variables:!0},genAI:{inputs:!1,outputs:!1},databaseQueryData:!1,stackFrameVariables:!0,frameContextLines:7}}(n.sendDefaultPii),c=n.dataCollection??{};return{userInfo:c.userInfo??s.userInfo,cookies:c.cookies??s.cookies,httpHeaders:{request:c.httpHeaders?.request??s.httpHeaders.request,response:c.httpHeaders?.response??s.httpHeaders.response},httpBodies:c.httpBodies??s.httpBodies,urlQueryParams:c.urlQueryParams??c.queryParams??s.urlQueryParams,graphQL:{document:c.graphQL?.document??s.graphQL.document,variables:c.graphQL?.variables??s.graphQL.variables},genAI:{inputs:c.genAI?.inputs??s.genAI.inputs,outputs:c.genAI?.outputs??s.genAI.outputs},databaseQueryData:c.databaseQueryData??s.databaseQueryData,stackFrameVariables:c.stackFrameVariables??s.stackFrameVariables,frameContextLines:c.frameContextLines??s.frameContextLines}}(s),s.dsn?this._dsn=ml(s.dsn):Se&&$e.warn("No DSN provided, client will not send events."),this._dsn){const u=function ec(n,s,c){return s||`${function Gc(n){return`${Uu(n)}${n.projectId}/envelope/`}(n)}?${function ju(n,s){const c={sentry_version:"7"};return n.publicKey&&(c.sentry_key=n.publicKey),s&&(c.sentry_client=`${s.name}/${s.version}`),new URLSearchParams(c).toString()}(n,c)}`}(this._dsn,s.tunnel,s._metadata?s._metadata.sdk:void 0);this._transport=s.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...s.transportOptions,url:u})}this._options.enableLogs=this._options.enableLogs??this._options._experiments?.enableLogs??!0,this._options.enableLogs&&gb(this,"afterCaptureLog","flushLogs",bb,cb),(this._options.enableMetrics??this._options._experiments?.enableMetrics??1)&&gb(this,"afterCaptureMetric","flushMetrics",Am,db)}captureException(s,c,u){const y=Pt();if(Dr(s))return Se&&$e.log(fb),y;const F={event_id:y,...c};return this._process(()=>this.eventFromException(s,F).then(I=>this._captureEvent(I,F,u)).then(I=>I),"error"),F.event_id}captureMessage(s,c,u,y){const F={event_id:Pt(),...u},I=hn(s)?s:String(s),J=en(s),ie=J?this.eventFromMessage(I,c,F):this.eventFromException(s,F);return this._process(()=>ie.then(pe=>this._captureEvent(pe,F,y)),J?"unknown":"error"),F.event_id}captureEvent(s,c,u){const y=Pt();if(c?.originalException&&Dr(c.originalException))return Se&&$e.log(fb),y;const F={event_id:y,...c},I=s.sdkProcessingMetadata||{},J=I.capturedSpanScope,ie=I.capturedSpanIsolationScope,pe=wF(s.type);return this._process(()=>this._captureEvent(s,F,J||u,ie),pe),F.event_id}captureSession(s){this.sendSession(s),At(s,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getDataCollectionOptions(){return this._dataCollection}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(s){var c=this;return(0,zr.A)(function*(){const u=c._transport;if(c.emit("flush"),!u)return!0;const y=yield c._isClientDoneProcessing(s),F=yield u.flush(s);return y&&F})()}close(s){var c=this;return(0,zr.A)(function*(){const u=yield c.flush(s);return c.getOptions().enabled=!1,c.emit("close"),u})()}getEventProcessors(){return this._eventProcessors}addEventProcessor(s){this._eventProcessors.push(s)}init(){(this._isEnabled()||this._options.integrations.some(({name:s})=>s.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(s){return this._integrations[s]}getIntegrationNames(){return Object.keys(this._integrations)}addIntegration(s){const c=this._integrations[s.name];!c&&s.beforeSetup&&s.beforeSetup(this),Td(this,s,this._integrations),c||Yl(this,[s])}sendEvent(s,c={}
3){this.emit("beforeSendEvent",s,c);const u=function Sm(n,s){if("transaction"!==n.type||!n.spans?.length||!n.sdkProcessingMetadata?.hasGenAiSpans||!1===s.getOptions().streamGenAiSpans||Vd(s))return;const c=[],u=[];for(const F of n.spans)F.op?.startsWith("gen_ai.")?c.push(aF(F)):u.push(F);if(0===c.length)return;n.spans=u;const y=s.getDataCollectionOptions().userInfo?"auto":"never";return[{type:"span",item_count:c.length,content_type:"application/vnd.sentry.items.span.v2+json"},{version:2,...eh()&&{ingest_settings:{infer_ip:y,infer_user_agent:y}},items:c}]}(s,this);let y=function iF(n,s,c,u){const y=ib(c),F=n.type&&"replay_event"!==n.type?n.type:"event";!function nF(n,s){if(!s)return n;const c=n.sdk||{};n.sdk={...c,name:c.name||s.name,version:c.version||s.version,integrations:[...n.sdk?.integrations||[],...s.integrations||[]],packages:[...n.sdk?.packages||[],...s.packages||[]],settings:n.sdk?.settings||s.settings?{...n.sdk?.settings,...s.settings}:void 0}}(n,c?.sdk);const I=rb(n,y,u,s);return delete n.sdkProcessingMetadata,Au(I,[[{type:F},n]])}(s,this._dsn,this._options._metadata,this._options.tunnel);for(const F of c.attachments||[])y=eb(y,nb(F));u&&(y=eb(y,u)),this.sendEnvelope(y).then(F=>
3this.emit("afterSendEvent",s,F))}sendSession(s){const{release:c,environment:u=oc}=this._options;if("aggregates"in s){const F=s.attrs||{};if(!F.release&&!c)return void(Se&&$e.warn(bF));F.release=F.release||c,F.environment=F.environment||u,s.attrs=F}else{if(!s.release&&!c)return void(Se&&$e.warn(bF));s.release=s.release||c,s.environment=s.environment||u}this.emit("beforeSendSession",s);const y=function J2(n,s,c,u){const y=ib(c);return Au({sent_at:new Date(qt()).toISOString(),...y&&{sdk:y},...!!u&&s&&{dsn:Do(s)}},["aggregates"in n?[{type:"sessions"},n]:[{type:"session"},n.toJSON()]])}(s,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(y)}recordDroppedEvent(s,c,u=1){if(this._options.sendClientReports){const y=`${s}:${c}`;Se&&$e.log(`Recording outcome: "${y}"${u>1?` (${u} times)`:""}`),this._outcomes[y]=(this._outcomes[y]||0)+u}}on(s,c){const u=this._hooks[s]=this._hooks[s]||new Set,y=(...F)=>c(...F);return u.add(y),()=>{u.delete(y)}}emit(s,...c){const u=this._hooks[s];u&&u.forEach(y=>y(...c))}sendEnvelope(s){var c=this;return(0,zr.A)(function*(){if(c.emit("beforeEnvelope",s),c._isEnabled()&&c._transport)try{return yield c._transport.send(s)}catch(u){return Se&&$e.error("Error while sending envelope:",u),{}}return Se&&$e.error("Transport disabled"),{}})()}registerCleanup(s){}dispose(){}_setupIntegrations(){const{integrations:s}=this._options;this._integrations=function tu(n,s){const c={};return s.forEach(u=>{u?.beforeSetup&&u.beforeSetup(n)}),s.forEach(u=>{u&&Td(n,u,c)}),c}(this,s),Yl(this,s)}_updateSessionFromEvent(s,c){let u="fatal"===c.level,y=!1;const F=c.exception?.values;if(F){y=!0,u=!1;for(const ie of F)if(!1===ie.mechanism?.handled){u=!0;break}}const I="ok"===s.status;(I&&0===s.errors||I&&u)&&(At(s,{...u&&{status:"crashed"},errors:s.errors||Number(y||u)}),this.captureSession(s))}_isClientDoneProcessing(s){var c=this;return(0,zr.A)(function*(){let u=0;for(;!s||u<s;){if(yield new Promise(y=>setTimeout(y,1)),!c._numProcessing)return!0;u++}return!1})()}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(s,c,u,y){const F=this.getOptions(),I=this.getIntegrationNames();return!c.integrations&&I.length&&(c.integrations=I),this.emit("preprocessEvent",s,c),s.type||y.setLastEventId(s.event_id||c.event_id),Hc(F,s,c,u,this,y).then(J=>{if(null===J)return J;this.emit("postprocessEvent",J,c),J.contexts={trace:{...J.contexts?.trace,...Ys(u)},...J.contexts};const ie=Ta(this,u);return J.sdkProcessingMetadata={dynamicSamplingContext:ie,...J.sdkProcessingMetadata},J})}_captureEvent(s,c={},u=fi(),y=Or()){return Se&&yb(s)&&$e.log(`Captured error event \`${W_(s)[0]||"<unknown>"}\``),this._processEvent(s,c,u,y).then(F=>F.event_id,F=>{Se&&(FF(F)?$e.log(F.message):hS(F)?$e.warn(F.message):$e.warn(F))})}_processEvent(s,c,u,y){const F=this.getOptions(),{sampleRate:I}=F,J=Sp(s),ie=yb(s),Ge=`before send for type \`${s.type||"error"}\``,Ae=typeof I>"u"?void 0:Vo(I),mt=wF(s.type);return this._prepareEvent(s,c,u,y).then(ut=>{if(null===ut)throw this.recordDroppedEvent("event_processor",mt),_F("An event processor returned `null`, will not send event.");if(!0===c.data?.__sentry__)return ut;const vn=function mb(n,s,c,u){const{beforeSend:y,beforeSendTransaction:F,ignoreSpans:I}=s,J=!Jy(s.beforeSendSpan)&&s.beforeSendSpan;let ie=c;if(yb(ie)&&y)return y(ie,u);if(Sp(ie)){if(J||I){const pe=function lS(n){const{trace_id:s,parent_span_id:c,span_id:u,status:y,origin:F,data:I,op:J}=n.contexts?.trace??{};return{data:I??{},description:n.transaction,op:J,parent_span_id:c,span_id:u??"",start_timestamp:n.start_timestamp??0,status:y,timestamp:n.timestamp,trace_id:s??"",origin:F,profile_id:I?.[ye],exclusive_time:I?.[ee],measurements:n.measurements,is_segment:!0}}(ie);if(I?.length&&Pa({description:pe.description,op:pe.op,attributes:pe.data},I))return null;if(J){const Ge=J(pe);Ge?ie=ii(c,function dS(n){return{type:"transaction",timestamp:n.timestamp,start_timestamp:n.start_timestamp,transaction:n.description,contexts:{trace:{trace_id:n.trace_id,span_id:n.span_id,parent_span_id:n.parent_span_id,op:n.op,status:n.status,origin:n.origin,data:{...n.data,...n.profile_id&&{[ye]:n.profile_id},...n.exclusive_time&&{[ee]:n.exclusive_time}}}},measurements:n.measurements}}(Ge)):is()}if(ie.spans){const Ge=[],Ae=ie.spans;for(const ut of Ae)if(I?.length&&Pa({description:ut.description,op:ut.op,attributes:ut.data},I))Q2(Ae,ut);else if(J){const Lt=J(ut);Lt?Ge.push(Lt):(is(),Ge.push(ut))}else Ge.push(ut);const mt=ie.spans.length-Ge.length;mt&&n.recordDroppedEvent("before_send","span",mt),ie.spans=Ge}}if(F)return ie.spans&&(ie.sdkProcessingMetadata={...c.sdkProcessingMetadata,spanCountBeforeProcessing:ie.spans.length}),F(ie,u)}return ie}(this,F,ut,c);return function fS(n,s){const c=`${s} must return \`null\` or a valid event.`;if(Fn(n))return n.then(u=>{if(!Ot(u)&&null!==u)throw kp(c);return u},u=>{throw kp(`${s} rejected with ${u}`)});if(!Ot(n)&&null!==n)throw kp(c);return n}(vn,Ge)}).then(ut=>{if(null===ut)throw this.recordDroppedEvent("before_send",mt),J&&this.recordDroppedEvent("before_send","span",1+(s.spans||[]).length),_F(`${Ge} returned \`null\`, will not send event.`);const Lt=u.getSession()||y.getSession();if(ie&&Lt&&this._updateSessionFromEvent(Lt,ut),ie&&"number"==typeof Ae&&Sn()>Ae)throw this.recordDroppedEvent("sample_rate","error"),_F(`Discarding event because it's not included in the random sample (sampling rate = ${I})`);if(J){const bi=(ut.sdkProcessingMetadata?.spanCountBeforeProcessing||0)-(ut.spans?ut.spans.length:0);bi>0&&this.recordDroppedEvent("before_send","span",bi)}const vn=ut.transaction_info;if(J&&vn&&ut.transaction!==s.transaction){const Pn="custom";ut.transaction_info={...vn,source:Pn}}return this.sendEvent(ut,c),ut}).then(null,ut=>{throw FF(ut)||hS(ut)?ut:(this.captureException(ut,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:ut}),kp(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${ut}`))})}_process(s,c){this._numProcessing++,this._promiseBuffer.add(s).then(u=>(this._numProcessing--,u),u=>(this._numProcessing--,u===Dm&&this.recordDroppedEvent("queue_overflow",c),u))}_clearOutcomes(){const s=this._outcomes;return this._outcomes={},Object.entries(s).map(([c,u])=>{const[y,F]=c.split(":");return{reason:y,category:F,quantity:u}})}_flushOutcomes(){Se&&$e.log("Flushing outcomes...");const s=this._clearOutcomes();if(0===s.length)return void(Se&&$e.log("No outcomes to send"));if(!this._dsn)return void(Se&&$e.log("No dsn provided, will not send outcomes"));Se&&$e.log("Sending outcomes:",s);const c=function cS(n,s,c){return Au(s?{dsn:s}:{},[[{type:"client_report"},{timestamp:c||ss(),discarded_events:n}]])}(s,this._options.tunnel&&Do(this._dsn));this.sendEnvelope(c)}}function wF(n){return"replay_event"===n?"replay":n||"error"}function yb(n){return void 0===n.type}function Sp(n){return"transaction"===n.type}function Am(n){let s=0;return n.name&&(s+=2*n.name.length),s+=8,s+vb(n.attributes)}function bb(n){let s=0;return n.message&&(s+=2*n.message.length),s+vb(n.attributes)}function vb(n){if(!n)return 0;let s=0;
3return Object.values(n).forEach(c=>{Array.isArray(c)?s+=c.length*CF(c[0]):en(c)?s+=CF(c):s+=100}),s}function CF(n){return"string"==typeof n?2*n.length:"number"==typeof n?8:"boolean"==typeof n?4:0}function EF(n,s,c=[s],u="npm"){const y=(n._metadata=n._metadata||{}).sdk=n._metadata.sdk||{};y.name||(y.name=`sentry.javascript.${s}`,y.packages=c.map(F=>({name:`${u}:@sentry/${F}`,version:Ne})),y.version=Ne)}function Tm(n){"aggregates"in n?void 0===n.attrs?.ip_address&&(n.attrs={...n.attrs,ip_address:"{{auto}}"}):void 0===n.ipAddress&&(n.ipAddress="{{auto}}")}class Om extends Mm{constructor(s){const c=function _b(n){return{release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:nr.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...n}}(s);EF(c,"browser",["browser"],nr.SENTRY_SDK_SOURCE||"npm"),super(c);const{userInfo:y}=this.getDataCollectionOptions();c._metadata?.sdk&&(c._metadata.sdk.settings={infer_ip:y?"auto":"never",...c._metadata.sdk.settings});const{sendClientReports:F}=this._options;nr.document&&nr.document.addEventListener("visibilitychange",()=>{"hidden"===nr.document.visibilityState&&(F&&this._flushOutcomes(),queueMicrotask(()=>{this.flush()}))}),y&&this.on("beforeSendSession",Tm)}eventFromException(s,c){return function lh(n,s,c,u){const F=Vh(n,s,c?.syntheticException||void 0,u);return rn(F),F.level="error",c?.event_id&&(F.event_id=c.event_id),Qs(F)}(this._options.stackParser,s,c,this._options.attachStacktrace)}eventFromMessage(s,c="info",u){return function $u(n,s,c="info",u,y){const I=ru(n,s,u?.syntheticException||void 0,y);return I.level=c,u?.event_id&&(I.event_id=u.event_id),Qs(I)}(this._options.stackParser,s,c,u,this._options.attachStacktrace)}_prepareEvent(s,c,u,y){return s.platform=s.platform||"javascript",super._prepareEvent(s,c,u,y)}}const kF="EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChannel,ChannelMergerNode,CryptoOperation,EventSource,FileReader,HTMLUnknownElement,IDBDatabase,IDBRequest,IDBTransaction,KeyOperation,MediaController,MessagePort,ModalWindow,Notification,SVGElementInstance,Screen,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebSocket,WebSocketWorker,Worker,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload".split(","),SF=(n={})=>{const s={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...n};return{name:"BrowserApiErrors",setupOnce(){s.setTimeout&&wi(nr,"setTimeout",Fb),s.setInterval&&wi(nr,"setInterval",Fb),s.requestAnimationFrame&&wi(nr,"requestAnimationFrame",DF),s.XMLHttpRequest&&"XMLHttpRequest"in nr&&wi(XMLHttpRequest.prototype,"send",_h);const c=s.eventTarget;c&&(Array.isArray(c)?c:kF).forEach(y=>function gS(n,s){const u=nr[n]?.prototype;u?.hasOwnProperty?.("addEventListener")&&(wi(u,"addEventListener",function(y){return function(F,I,J){try{(function mS(n){return"function"==typeof n.handleEvent})(I)&&(I.handleEvent=Gl(I.handleEvent,{mechanism:{data:{handler:br(I),target:n},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return s.unregisterOriginalCallbacks&&function Ff(n,s,c){n&&"object"==typeof n&&"removeEventListener"in n&&"function"==typeof n.removeEventListener&&n.removeEventListener(s,c)}(this,F,I),y.apply(this,[F,Gl(I,{mechanism:{data:{handler:br(I),target:n},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),J])}}),wi(u,"removeEventListener",function(y){return function(F,I,J){try{if(Object.prototype.hasOwnProperty.call(I,"__sentry_wrapped__")){const ie=I.__sentry_wrapped__;ie&&y.call(this,F,ie,J)}}catch{}return y.call(this,F,I,J)}}))}(y,s))}}};function Fb(n){return function(...s){return s[0]=Gl(s[0],{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${br(n)}`}}),n.apply(this,s)}}function DF(n){return function(s){return n.apply(this,[Gl(s,{mechanism:{data:{handler:br(n)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function _h(n){return function(...s){const c=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(y=>{y in c&&"function"==typeof c[y]&&wi(c,y,function(F){const I={mechanism:{data:{handler:br(F)},handled:!1,type:`auto.browser.browserapierrors.xhr.${y}`}},J=xn(F);return J&&(I.mechanism.data.handler=br(J)),Gl(F,I)})}),n.apply(this,s)}}function Dp(n,s,c,u){const y={filename:n,function:"<anonymous>"===s?qe:s,in_app:!0};return void 0!==c&&(y.lineno=c),void 0!==u&&(y.colno=u),y}const wf=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,bS=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,vS=/\((\S*)(?::(\d+))(?::(\d+))\)/,_S=/at (.+?) ?\(data:(.+?),/,FS=[30,n=>{const s=n.match(_S);
3if(s)return{filename:`<data:${s[2]}>`,function:s[1]};const c=wf.exec(n);if(c){const[,y,F,I]=c;return Dp(y,qe,+F,+I)}const u=bS.exec(n);if(u){if(0===u[2]?.indexOf("eval")){const J=vS.exec(u[2]);J&&(u[2]=J[1],u[3]=J[2],u[4]=J[3])}const[F,I]=Eb(u[1]||qe,u[2]);return Dp(I,F,u[3]?+u[3]:void 0,u[4]?+u[4]:void 0)}}],Pm=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Im=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,AF=[50,n=>{const s=Pm.exec(n);if(s){if(s[3]&&s[3].indexOf(" > eval")>-1){const F=Im.exec(s[3]);F&&(s[1]=s[1]||"eval",s[3]=F[1],s[4]=F[2],s[5]="")}let u=s[3],y=s[1]||qe;return[y,u]=Eb(y,u),Dp(u,y,s[4]?+s[4]:void 0,s[5]?+s[5]:void 0)}}],CS=En(FS,AF),Eb=(n,s)=>{const c=-1!==n.indexOf("safari-extension"),u=-1!==n.indexOf("safari-web-extension");return c||u?[-1!==n.indexOf("@")?n.split("@")[0]:qe,c?`safari-extension:${s}`:`safari-web-extension:${s}`]:[n,s]},bd=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Mp={};function kb(n){const s=Mp[n];if(s)return s;let c=Qi[n];if(Ol(c))return Mp[n]=c.bind(Qi);const u=Qi.document;if(u&&"function"==typeof u.createElement)try{const y=u.createElement("iframe");y.hidden=!0,u.head.appendChild(y);const F=y.contentWindow;F?.[n]&&(c=F[n]),u.head.removeChild(y)}catch(y){bd&&$e.warn(`Could not create sandbox iframe for ${n} check, bailing to window.${n}: `,y)}return c&&(Mp[n]=c.bind(Qi))}function Bm(...n){return kb("setTimeout")(...n)}const NT=40;function RT(n,s=kb("fetch")){let c=0,u=0;function F(){return F=(0,zr.A)(function*(I){const J=I.body.length;c+=J,u++;const ie={body:I.body,method:"POST",referrerPolicy:"strict-origin",headers:n.headers,keepalive:c<=6e4&&u<15,...n.fetchOptions};try{const pe=yield s(n.url,ie);return{statusCode:pe.status,headers:{"x-sentry-rate-limits":pe.headers.get("X-Sentry-Rate-Limits"),"retry-after":pe.headers.get("Retry-After")}}}catch(pe){throw function OF(n){Mp[n]=void 0}("fetch"),pe}finally{c-=J,u--}}),F.apply(this,arguments)}return function aS(n,s,c=xm(n.bufferSize||hF)){let u={};return{send:function F(I){const J=[];if(vf(I,(Ae,mt)=>{const ut=J_(mt);dF(u,ut)?n.recordDroppedEvent("ratelimit_backoff",ut):J.push(Ae)}),0===J.length)return Promise.resolve({});const ie=Au(I[0],J),pe=Ae=>{!function Ju(n,s){return vf(n,(c,u)=>s.includes(u))}(ie,["client_report"])?vf(ie,(mt,ut)=>{n.recordDroppedEvent(Ae,J_(ut))}):Se&&$e.warn(`Dropping client report. Will not send outcomes (reason: ${Ae}).`)};return c.add(()=>s({body:tb(ie)}).then(Ae=>413===Ae.statusCode?(Se&&$e.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."),pe("send_error"),Ae):(Se&&void 0!==Ae.statusCode&&(Ae.statusCode<200||Ae.statusCode>=300)&&$e.warn(`Sentry responded with status code ${Ae.statusCode} to sent event.`),u=uF(u,Ae),Ae),Ae=>{throw pe("network_error"),Se&&$e.error("Encountered error running transport request:",Ae),Ae})).then(Ae=>Ae,Ae=>{if(Ae===Dm)return Se&&$e.error("Skipped sending event because buffer is full."),pe("queue_overflow"),Promise.resolve({});throw Ae})},flush:I=>c.drain(I)}}(n,function y(I){return F.apply(this,arguments)},xm(n.bufferSize||NT))}const PF=/^HTML(\w*)Element$/;function Lm(n){if(typeof window<"u"&&n===window)return"[Window]";if(typeof document<"u"&&n===document)return"[Document]";if(function BT(n){if(typeof Element>"u")return!1;try{return n instanceof Element}catch{return!1}}(n)){const s=function ES(n){const s=Object.getPrototypeOf(n);return s?.constructor?s.constructor.name:"null prototype"}(n);if(PF.test(s))return`[HTMLElement: ${fr(n)}]`}}function SS(n={}){const s=!n.skipBrowserExtensionCheck&&function kS(){return!!function IF(){if(typeof nr.window>"u")return!1;const n=nr;if(n.nw||!(n.chrome||n.browser)?.runtime?.id)return!1;const c=$a();return!(nr===nr.top&&/^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(c))}()&&(Lr&&Be(()=>{console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}),!0)}();let c=null==n.defaultIntegrations?function Ap(){return[Ky(),Fm(),yh(),SF(),de(),$f(),Kf(),bh(),V_(),z_(),H_()]}():n.defaultIntegrations;const u={...n,enabled:!s&&n.enabled,stackParser:Bn(n.stackParser||CS),integrations:Ad({integrations:n.integrations,defaultIntegrations:c}),transport:n.transport||RT};return function as(n){jr=n}(Lm),function q_(n,s){!0===s.debug&&(Se?$e.enable():Be(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),fi().update(s.initialScope);const u=new n(s);return function Q_(n){fi().setClient(n)}
3(u),u.init(),u}(Om,u)}function NF(n,s,c,u=Ls()){const y=u&&Cr(u);y&&(Se&&$e.log(`[Measurement] Setting measurement on root span: ${n} = ${s} ${c}`),y.addEvent(n,{[da]:s,[Uo]:c}))}function Sb(n){if(!n||0===n.length)return;const s={};return n.forEach(c=>{const u=c.attributes||{},y=u[Uo],F=u[da];"string"==typeof y&&"number"==typeof F&&(s[c.name]={value:F,unit:y})}),s}function RF(){return ct(Me()).segmentSpanCaptureStrategy}class Um{constructor(s={}){this._traceId=s.traceId||Ur(),this._spanId=s.spanId||sr(),this._startTime=s.startTimestamp||cr(),this._links=s.links,this._attributes={},this.setAttributes({[Wr]:"manual",[ms]:s.op,...s.attributes}),this._name=s.name,s.parentSpanId&&(this._parentSpanId=s.parentSpanId),"sampled"in s&&(this._sampled=s.sampled),s.endTimestamp&&(this._endTime=s.endTimestamp),this._events=[],this._isStandaloneSpan=s.isStandalone,this._endTime&&this._onSpanEnded()}addLink(s){return this._frozen||(this._links?this._links.push(s):this._links=[s]),this}addLinks(s){return this._frozen||(this._links?this._links.push(...s):this._links=s),this}recordException(s,c){}spanContext(){const{_spanId:s,_traceId:c,_sampled:u}=this;return{spanId:s,traceId:c,traceFlags:u?W:0}}setAttribute(s,c){return this._frozen||(void 0===c?delete this._attributes[s]:this._attributes[s]=c,s===Zs&&void 0!==c&&Fa(this)&&function Mc(n){Rt(n,nl,!0)}(this)),this}setAttributes(s){return Object.keys(s).forEach(c=>this.setAttribute(c,s[c])),this}updateStartTime(s){this._frozen||(this._startTime=_r(s))}setStatus(s){return this._frozen||(this._status=s),this}updateName(s){return this._frozen||(this._name=s,Fa(this)||this.setAttribute(Zs,"custom")),this}end(s){this._endTime||(this._endTime=_r(s),function jT(n){if(!Se)return;const{description:s="< unknown name >",op:c="< unknown op >"}=xi(n),{spanId:u}=n.spanContext(),F=Cr(n)===n;$e.log(`[Tracing] Finishing "${c}" ${F?"root ":""}span "${s}" with ID ${u}`)}(this),this._onSpanEnded()),this._frozen=function wa(n){return!0===n[Yo]}(this)}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[ms],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:Gs(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[Wr],profile_id:this._attributes[ye],exclusive_time:this._attributes[ee],measurements:Sb(this._events),is_segment:this._isStandaloneSpan&&Cr(this)===this||void 0,segment_id:this._isStandaloneSpan?Cr(this).spanContext().spanId:void 0,links:kn(this._links)}}getStreamedSpanJSON(){return{name:this._name??"",span_id:this._spanId,trace_id:this._traceId,parent_span_id:this._parentSpanId,start_timestamp:this._startTime,end_timestamp:this._endTime??this._startTime,is_segment:this._isStandaloneSpan||this===Cr(this),status:Vr(this._status),attributes:Eo(this._attributes,this._status),links:vi(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(s,c,u){if(this._frozen)return this;Se&&$e.log("[Tracing] Adding an event to span:",s);const y=Db(c)?c:u||cr(),F=Db(c)?{}:c||{},I={name:s,time:_r(y),attributes:F};return this._events.push(I),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){const s=Ai();s&&(s.emit("spanEnd",this),this._isStandaloneSpan||s.emit("afterSpanEnd",this));const c=Cr(this),u=this._isStandaloneSpan||this===c;if(this._isStandaloneSpan)return void(this._sampled?function BF(n){const s=Ai();if(!s)return;const c=n[1];c&&0!==c.length?s.sendEnvelope(n):s.recordDroppedEvent("before_send","span")}(function rF(n,s){const u=_i(n[0]),y=s?.getDsn(),F=s?.getOptions().tunnel,I={sent_at:new Date(qt()).toISOString(),...function c(ut){return!!ut.trace_id&&!!ut.public_key}(u)&&{trace:u},...!!F&&y&&{dsn:Do(y)}},{beforeSendSpan:J,ignoreSpans:ie}=s?.getOptions()||{},pe=ie?.length?n.filter(ut=>{const Lt=xi(ut);return!Pa({description:Lt.description,op:Lt.op,attributes:Lt.data},ie)}):n,Ge=n.length-pe.length;Ge&&s?.recordDroppedEvent("before_send","span",Ge);const Ae=J?ut=>{const Lt=xi(ut);return(Jy(J)?Lt:J(Lt))||(is(),Lt)}:xi,mt=[];for(const ut of pe){const Lt=Ae(ut);Lt&&mt.push(Y2(Lt))}return Au(I,mt)}([this],s)):(Se&&$e.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),s&&s.recordDroppedEvent("sample_rate","span")));if(!u){const I=RF();if(I){const J=bo(this).scope||fi();I.onChildSpanEnded(this,c,ie=>this._convertSpanToTransaction(ie),J)}return}if(s&&Vd(s))return void s.emit("afterSegmentSpanEnd",this);const y=bo(this).scope||fi(),F=RF();if(F)F.onSegmentSpanEnded(I=>this._convertSpanToTransaction(I),y);else{const I=this._convertSpanToTransaction();I&&y.captureEvent(I)}}_convertSpanToTransaction(s={}){if(!xb(xi(this)))return;this._name||(Se&&$e.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");const{scope:c,isolationScope:u}=bo(this),y=c?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(!0!==this._sampled)return;s.onSpanCaptured?.(this);const F=[];for(const Ae of Ti(this)){if(Ae===this||(n=Ae)instanceof Um&&n.isStandaloneSpan()||s.isSpanAlreadyCaptured?.(Ae))continue;const mt=xi(Ae);xb(mt)&&(s.onSpanCaptured?.(Ae),F.push(mt))}var n;const I=this._attributes[Zs];delete this._attributes[fe];let J=!1;F.forEach(Ae=>{delete Ae.data[fe],Ae.op?.startsWith("gen_ai.")&&(J=!0)});const ie={contexts:{trace:ae(this)},spans:F.length>1e3?F.sort((Ae,mt)=>Ae.start_timestamp-mt.start_timestamp).slice(0,1e3):F,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:c,capturedSpanIsolationScope:u,dynamicSamplingContext:_i(this),hasGenAiSpans:J},request:y,...I&&{transaction_info:{source:I}}},pe=Sb(this._events);return pe&&Object.keys(pe).length&&(Se&&$e.log("[Measurements] Adding measurements to transaction event",JSON.stringify(pe,void 0,2)),ie.measurements=pe),ie}}function Db(n){return n&&"number"==typeof n||n instanceof Date||Array.isArray(n)}function xb(n){return!!(n.start_timestamp&&n.timestamp&&n.span_id&&n.trace_id)}const Tp="__SENTRY_SUPPRESS_TRACING__";function du(n){const s=Fh();return s.startInactiveSpan?s.startInactiveSpan(n):function LF(n){const s=function Tb(n){const c={isStandalone:(n.experimental||{}).standalone,...n};if(n.startTime){const u={...c};return u.startTimestamp=_r(n.startTime),delete u.startTime,u}return c}(n),{forceTransaction:c,parentSpan:u}=n;return(n.scope?F=>Bo(n.scope,F):void 0!==u?F=>Ef(u,F):F=>F())(()=>
3{const F=fi(),I=function Ob(n,s){if(s)return s;if(null===s)return;const c=_o(n);if(!c)return;const u=Ai();return(u?u.getOptions():{}).parentSpanIsAlwaysRootSpan?Cr(c):c}(F,u),J=Ai();return n.onlyIfParent&&!I?function Mb(n,s){s?.recordDroppedEvent("no_parent_span","span");const c=new ia({traceId:n.getPropagationContext().traceId});return ta(c,n,Or()),c}(F,J):function Ab({parentSpan:n,spanArguments:s,forceTransaction:c,scope:u}){const y=Or();if(!Ss()){const J={...y.getPropagationContext(),...u.getPropagationContext()},ie=n?n.spanContext().traceId:J.traceId,pe=new ia({traceId:ie});return n&&!c&&Ds(n,pe),ta(pe,u,y),pe}const F=Ai();if(function jF(n,s){const c=n?.getOptions().ignoreSpans;return!!(n&&Vd(n)&&c?.length)&&Pa({description:s.name||"",op:s.attributes?.[ms]||s.op,attributes:s.attributes},c)}(F,s)){jm(u)||F?.recordDroppedEvent("ignored","span");const J=new ia({dropReason:"ignored",traceId:n?.spanContext().traceId??u.getPropagationContext().traceId});return n&&!c&&Ds(n,J),ta(J,u,y),J}let I;if(n&&!c)I=function OS(n,s,c,u){const{spanId:y,traceId:F}=n.spanContext(),I=jm(s),J=!I&&Ui(n),ie=J?new Um({...c,parentSpanId:y,traceId:F,sampled:J}):new ia({traceId:F});Ds(n,ie),ta(ie,s,u);const pe=Ai();return pe&&(Vd(pe)&&ac(ie)&&(ac(n)&&n.dropReason?(ie.dropReason=n.dropReason,pe.recordDroppedEvent(n.dropReason,"span")):I||(ie.dropReason="sample_rate",pe.recordDroppedEvent("sample_rate","span"))),pe.emit("spanStart",ie),c.endTimestamp&&(pe.emit("spanEnd",ie),pe.emit("afterSpanEnd",ie))),ie}(n,u,s,y),Ds(n,I);else if(n){const J=_i(n),{traceId:ie,spanId:pe}=n.spanContext(),Ge=Ui(n);I=UF({traceId:ie,parentSpanId:pe,...s},u,y,Ge),Oc(I,J)}else{const{traceId:J,dsc:ie,parentSpanId:pe,sampled:Ge}={...y.getPropagationContext(),...u.getPropagationContext()};I=UF({traceId:J,parentSpanId:pe,...s},u,y,Ge),ie&&Oc(I,ie)}return function DS(n){if(!Se)return;const{description:s="< unknown name >",op:c="< unknown op >",parent_span_id:u}=xi(n),{spanId:y}=n.spanContext(),F=Ui(n),I=Cr(n),J=I===n,ie=`[Tracing] Starting ${F?"sampled":"unsampled"} ${J?"root ":""}span`,pe=[`op: ${c}`,`name: ${s}`,`ID: ${y}`];if(u&&pe.push(`parent ID: ${u}`),!J){const{op:Ge,description:Ae}=xi(I);pe.push(`root ID: ${I.spanContext().spanId}`),Ge&&pe.push(`root op: ${Ge}`),Ae&&pe.push(`root description: ${Ae}`)}$e.log(`${ie}\n  ${pe.join("\n  ")}`)}(I),I}({parentSpan:I,spanArguments:s,forceTransaction:c,scope:F})})}(n)}function Ef(n,s){const c=Fh();return c.withActiveSpan?c.withActiveSpan(n,s):Bo(u=>(ho(u,n||void 0),s(u)))}function jm(n=fi()){const s=Fh();return s.isTracingSuppressed?s.isTracingSuppressed(n):!0===n.getScopeData().sdkProcessingMetadata[Tp]}function Fh(){return Fo(Me())}function UF(n,s,c,u){const y=Ai(),F=y?.getOptions()||{},{name:I=""}=n,J={spanAttributes:{...n.attributes},spanName:I,parentSampled:u};y?.emit("beforeSampling",J,{decision:!1});const ie=J.parentSampled??u,pe=J.spanAttributes,Ge=s.getPropagationContext(),Ae=jm(s),[mt,ut,Lt]=Ae?[!1
3]:function MS(n,s,c){if(!Ss(n))return[!1];let u,y;"function"==typeof n.tracesSampler?(y=n.tracesSampler({...s,inheritOrSampleWith:J=>"number"==typeof s.parentSampleRate?s.parentSampleRate:"boolean"==typeof s.parentSampled?Number(s.parentSampled):J}),u=!0):void 0!==s.parentSampled?y=s.parentSampled:typeof n.tracesSampleRate<"u"&&(y=n.tracesSampleRate,u=!0);const F=Vo(y);if(void 0===F)return Se&&$e.warn(`[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(y)} of type ${JSON.stringify(typeof y)}.`),[!1];if(!F)return Se&&$e.log("[Tracing] Discarding transaction because "+("function"==typeof n.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0")),[!1,F,u];const I=c<F;return I||Se&&$e.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(y)})`),[I,F,u]}(F,{name:I,parentSampled:ie,attributes:pe,normalizedRequest:c.getScopeData().sdkProcessingMetadata.normalizedRequest,parentSampleRate:Vo(Ge.dsc?.sample_rate)},Ge.sampleRand),vn=new Um({...n,attributes:{[Zs]:"custom",[fs]:void 0!==ut&&Lt?ut:void 0,...pe},sampled:mt});return!mt&&y&&!Ae&&(Se&&$e.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),y.recordDroppedEvent("sample_rate",Vd(y)?"span":"transaction")),ta(vn,s,c),y&&y.emit("spanStart",vn),vn}function Vm(n){return ac(n)&&"ignored"===n.dropReason}const zm={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3};function Ib(n,s={}){const c=new Map;let y,u=!1,F="externalFinish",I=!s.disableAutoFinish;const J=[],{idleTimeout:ie=zm.idleTimeout,finalTimeout:pe=zm.finalTimeout,childSpanTimeout:Ge=zm.childSpanTimeout,beforeSpanEnd:Ae,trimIdleSpanEndTimestamp:mt=!0}=s,ut=Ai(),Lt=fi();if(!ut||!Ss()){const $n=new ia({traceId:Lt.getPropagationContext().traceId});return ta($n,Lt,Or()),$n}const vn=Ls(),Pn=function Nb(n){const s=du(n);return ho(fi(),s),Se&&$e.log("[Tracing] Started span is an idle span"),s}(n);function Nn(){y&&(clearTimeout(y),y=void 0)}function bi($n){Nn(),y=setTimeout(()=>{!u&&0===c.size&&I&&(F="idleTimeout",Pn.end($n))},ie)}function ir($n){y=setTimeout(()=>{!u&&I&&(F="heartbeatFailed",Pn.end($n))},Ge)}function Ji($n){u=!0,c.clear(),J.forEach(rr=>rr()),ho(Lt,vn);const Vi=xi(Pn),{start_timestamp:$r}=Vi;if(!$r)return;Vi.data[ro]||Pn.setAttribute(ro,F);const Xi=Vi.status;(!Xi||"unknown"===Xi)&&Pn.setStatus({code:Aa}),$e.log(`[Tracing] Idle span "${Vi.op}" finished`);const Ii=Ti(Pn).filter(rr=>rr!==Pn);let Hi=0;Ii.forEach(rr=>{rr.isRecording()&&(rr.setStatus({code:Co,message:"cancelled"}),rr.end($n),Se&&$e.log("[Tracing] Cancelling span since span ended early",JSON.stringify(rr,void 0,2)));const $s=xi(rr),{timestamp:uo=0,start_timestamp:Fr=0}=$s,Ni=Fr<=$n,er=uo-Fr<=(pe+ie)/1e3;if(Se){const Fs=JSON.stringify(rr,void 0,2);Ni?er||$e.log("[Tracing] Discarding span since it finished after idle span final timeout",Fs):$e.log("[Tracing] Discarding span since it happened after idle span was finished",Fs)}(!er||!Ni)&&(function Va(n,s){n[ao]&&n[ao].delete(s)}(Pn,rr),Hi++)}),Hi>0&&Pn.setAttribute("sentry.idle_span_discarded_spans",Hi)}return Pn.end=new Proxy(Pn.end,{apply($n,Vi,$r){if(Ae&&Ae(Pn),ac(Vi))return;const[mi,...Xi]=$r,Hi=_r(mi||cr()),rr=Ti(Pn).filter(er=>er!==Pn),$s=xi(Pn);if(!rr.length||!mt)return Ji(Hi),Reflect.apply($n,Vi,[Hi,...Xi]);const uo=ut.getOptions().ignoreSpans,Fr=rr?.reduce((er,Fs)=>{const Go=xi(Fs);return!Go.timestamp||uo&&Pa({description:Go.description,op:Go.op,attributes:Go.data},uo)?er:er?Math.max(er,Go.timestamp):Go.timestamp},void 0),Ni=$s.start_timestamp,Er=Math.min(Ni?Ni+pe/1e3:1/0,Math.max(Ni||-1/0,Math.min(Hi,Fr||1/0)));return Ji(Er),Reflect.apply($n,Vi,[Er,...Xi])}}),J.push(ut.on("spanStart",$n=>{u||$n===Pn||xi($n).timestamp||$n instanceof Um&&$n.isStandaloneSpan()||Ti(Pn).includes($n)&&function Li($n){Nn(),c.set($n,!0),ir(cr()+Ge/1e3)}($n.spanContext().spanId)})),J.push(ut.on("spanEnd",$n=>{u||function Nr($n){c.has($n)&&c.delete($n),0===c.size&&bi(cr()+ie/1e3)}($n.spanContext().spanId)})),J.push(ut.on("idleSpanEnableAutoFinish",$n=>{$n===Pn&&(I=!0,bi(),c.size&&ir())})),s.disableAutoFinish||bi(),setTimeout(()=>{u||(Pn.setStatus({code:Co,message:"deadline_exceeded"}),F="finalTimeout",Pn.end())},pe),Pn}let Rb=!1;const kf=(n,s,c,u)=>{let y,F;return I=>{s.value>=0&&(I||u)&&(F=s.value-(y??0),(F||void 0===y)&&(y=s.value,s.delta=F,s.rating=((n,s)=>n>s[1]?"poor":n>s[0]?"needs-improvement":"good")(s.value,c),n(s)))}},Sf=(n=!0)=>{const s=Qi.performance?.getEntriesByType?.("navigation")[0];if(!n||s&&s.responseStart>0&&s.responseStart<performance.now())return s},Op=()=>Sf()?.activationStart??0;let wh=-1;const $F=new Set,Pp=n=>
3{if(function Lb(n){return"pagehide"===n.type||"hidden"===Qi.document?.visibilityState}(n)&&wh>-1){if("visibilitychange"===n.type||"pagehide"===n.type)for(const s of $F)s();isFinite(wh)||(wh="visibilitychange"===n.type?n.timeStamp:0,_m("prerenderingchange",Pp,!0))}},Ip=()=>{if(Qi.document&&wh<0){const n=Op();wh=(Qi.document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").filter(c=>"hidden"===c.name&&c.startTime>n)[0]?.startTime)??("hidden"!==Qi.document?.visibilityState||Qi.document?.prerendering?1/0:0),Qu("visibilitychange",Pp,!0),Qu("pagehide",Pp,!0),Qu("prerenderingchange",Pp,!0)}return{get firstHiddenTime(){return wh},onHidden(n){$F.add(n)}}},Ch=(n,s=-1)=>{const c=Sf();let u="navigate";return c&&(Qi.document?.prerendering||Op()>0?u="prerender":Qi.document?.wasDiscarded?u="restore":c.type&&(u=c.type.replace(/_/g,"-"))),{name:n,value:s,rating:"good",delta:0,entries:[],id:`v5-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`,navigationType:u}},Np=new WeakMap;function Hm(n,s){try{return Np.get(n)||Np.set(n,new s),Np.get(n)}catch{return new s}}class WF{constructor(){this._sessionValue=0,this._sessionEntries=[]}_processEntry(s){if(s.hadRecentInput)return;const c=this._sessionEntries[0],u=this._sessionEntries[this._sessionEntries.length-1];this._sessionValue&&c&&u&&s.startTime-u.startTime<1e3&&s.startTime-c.startTime<5e3?(this._sessionValue+=s.value,this._sessionEntries.push(s)):(this._sessionValue=s.value,this._sessionEntries=[s]),this._onAfterProcessingUnexpectedShift?.(s)}}const Eh=(n,s,c={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(n)){const u=new PerformanceObserver(y=>{Promise.resolve().then(()=>{s(y.getEntries())})});return u.observe({type:n,buffered:!0,...c}),u}}catch{}},Rp=n=>{Qi.document?.prerendering?addEventListener("prerenderingchange",()=>n(),!0):n()},GF=[1800,3e3],XF=[.1,.25],YF=(n,s={})=>{((n,s={})=>{Rp(()=>{const c=Ip(),u=Ch("FCP");let y;const I=Eh("paint",J=>{for(const ie of J)"first-contentful-paint"===ie.name&&(I.disconnect(),ie.startTime<c.firstHiddenTime&&(u.value=Math.max(ie.startTime-Op(),0),u.entries.push(ie),y(!0)))});I&&(y=kf(n,u,GF,s.reportAllChanges))})})(Wy(()=>{const c=Ch("CLS",0);let u;const y=Ip(),F=Hm(s,WF),I=ie=>{for(const pe of ie)F._processEntry(pe);F._sessionValue>c.value&&(c.value=F._sessionValue,c.entries=F._sessionEntries,u())},J=Eh("layout-shift",I);J&&(u=kf(n,c,XF,s.reportAllChanges),y.onHidden(()=>{I(J.takeRecords()),u(!0)}),Qi?.setTimeout?.(u))}))};let Ub=0,Wm=1/0,Gm=0;const qF=n=>{n.forEach(s=>{s.interactionId&&(Wm=Math.min(Wm,s.interactionId),Gm=Math.max(Gm,s.interactionId),Ub=Gm?(Gm-Wm)/7+1:0)})};let Km;const Xm=()=>Km?Ub:performance.interactionCount||0;let ZF=0;class BS{constructor(){this._longestInteractionList=[],this._longestInteractionMap=new Map}_resetInteractions(){ZF=Xm(),this._longestInteractionList.length=0,this._longestInteractionMap.clear()}_estimateP98LongestInteraction(){const s=Math.min(this._longestInteractionList.length-1,Math.floor((Xm()-ZF)/50));return this._longestInteractionList[s]}_processEntry(s){if(this._onBeforeProcessingEntry?.(s),!s.interactionId&&"first-input"!==s.entryType)return;const c=this._longestInteractionList.at(-1);let u=this._longestInteractionMap.get(s.interactionId);if(u||this._longestInteractionList.length<10||s.duration>c._latency){if(u?s.duration>u._latency?(u.entries=[s],u._latency=s.duration):s.duration===u._latency&&s.startTime===u.entries[0].startTime&&u.entries.push(s):(u={id:s.interactionId,entries:[s],_latency:s.duration},this._longestInteractionMap.set(u.id,u),this._longestInteractionList.push(u)),this._longestInteractionList.sort((y,F)=>F._latency-y._latency),this._longestInteractionList.length>10){const y=this._longestInteractionList.splice(10);for(const F of y)this._longestInteractionMap.delete(F.id)}this._onAfterProcessingINPCandidate?.(u)}}}const LS=[200,500],jS=(n,s={})=>{if(!globalThis.PerformanceEventTiming||!("interactionId"in PerformanceEventTiming.prototype))return;const c=Ip();Rp(()=>{"interactionCount"in performance||Km||(Km=Eh("event",qF,{type:"event",buffered:!0,durationThreshold:0}));const u=Ch("INP");let y;const F=Hm(s,BS),I=ie=>{Gy(()=>{for(const Ge of ie)F._processEntry(Ge);const pe=F._estimateP98LongestInteraction();pe&&pe._latency!==u.value&&(u.value=pe._latency,u.entries=pe.entries,y())})},J=Eh("event",I,{durationThreshold:s.durationThreshold??40});y=kf(n,u,LS,s.reportAllChanges),J&&(J.observe({type:"first-input",buffered:!0}),c.onHidden(()=>{I(J.takeRecords()),y(!0)}))})};class VS{_processEntry(s){this._onBeforeProcessingEntry?.(s)}}const zS=[2500,4e3],JF=(n,s={})=>{Rp(()=>{const c=Ip(),u=Ch("LCP");let y;const F=Hm(s,VS),I=ie=>{s.reportAllChanges||(ie=ie.slice(-1));for(const pe of ie)F._processEntry(pe),pe.startTime<c.firstHiddenTime&&(u.value=Math.max(pe.startTime-Op(),0),u.entries=[pe],y())},J=Eh("largest-contentful-paint",I);if(J){y=kf(n,u,zS,s.reportAllChanges);const ie=Wy(()=>{I(J.takeRecords()),J.disconnect(),y(!0)}),pe=Ge=>{Ge.isTrusted&&(Gy(ie),_m(Ge.type,pe,{capture:!0}))};for(const Ge of["keydown","click","visibilitychange"])Qu(Ge,pe,{capture:!0})}})},ew=[800,1800],Ym=n=>{Qi.document?.prerendering?Rp(()=>Ym(n)):"complete"!==Qi.document?.readyState?addEventListener("load",()=>Ym(n),!0):setTimeout(n)},tw=(n,s={})=>{const c=Ch("TTFB"),u=kf(n,c,ew,s.reportAllChanges);Ym(()=>{const y=Sf();y&&(c.value=Math.max(y.responseStart-Op(),0),c.entries=[y],u(!0))})},Df={},Bp={};let Vb,zb,$b,Hb;function Lp(n,s=!1){return jp("cls",n,nw,Vb,s)}function qm(n,s=!1){return jp("lcp",n,Wb,zb,s)}function Up(n){return jp("inp",n,rw,Hb)}function uu(n,s){return Gb(n,s),Bp[n]||(function sw(n){const s={};"event"===n&&(s.durationThreshold=0),Eh(n,c=>{kh(n,{entries:c})},s)}(n),Bp[n]=!0),Qm(n,s)}function kh(n,s){const c=Df[n];if(c?.length)for(const u of c)try{u(s)}catch(y){bd&&$e.error(`Error while triggering instrumentation handler.\nType: ${n}\nName: ${br(u)}\nError:`,y)}}function nw(){return YF(n=>{kh("cls",{metric:n}),Vb=n},{reportAllChanges:!0})}function Wb(){return JF(n=>{kh("lcp",{metric:n}),zb=n},{reportAllChanges:!0})}function iw(){return tw(n=>{kh("ttfb",{metric:n}),$b=n})}function rw(){return jS(n=>{kh("inp",{metric:n}),Hb=n})}function jp(n,s,c,u,y=!1){let F;return Gb(n,s),Bp[n]||(F=c(),Bp[n]=!0),u&&s({metric:u}),Qm(n,s,y?F:void 0)}function Gb(n,s){Df[n]=Df[n]||[],Df[n].push(s)}function Qm(n,s,c){return()=>{c&&c();const u=Df[n];if(!u)return;const y=u.indexOf(s);-1!==y&&u.splice(y,1)}}const Kb=n=>{const s=c=>{("pagehide"===c.type||"hidden"===Qi.document?.visibilityState)&&n(c)};Qu("visibilitychange",s,{capture:!0,once:!0}),Qu("pagehide",s,{capture:!0,once:!0})};function Zm(n){return"number"==typeof n&&isFinite(n)}function hu(n,s,c,{...u}){const y=xi(n).start_timestamp;return y&&y>s&&"function"==typeof n.updateStartTime&&n.updateStartTime(s),Ef(n,()=>{const F=du({startTime:s,...u});return F&&F.end(c),F})}function Jm(n){const s=Ai();if(!s)return;const{name:c,transaction:u,attributes:y,startTime:F}=n,{release:I,environment:J}=s.getOptions(),{userInfo:ie}=s.getDataCollectionOptions(),Ge=s.getIntegrationByName("Replay")?.getReplayId(),Ae=fi(),mt=Ae.getUser(),ut=void 0!==mt?mt.email||mt.id||mt.ip_address:void 0;let Lt;try{Lt=Ae.getScopeData().contexts.profile.profile_id}catch{}return du({name:c,attributes:{release:I,environment:J,user:ut||void 0,profile_id:Lt||void 0,replay_id:Ge||void 0,transaction:u,"user_agent.original":Qi.navigator?.userAgent,"client.address":ie?"{{auto}}":void 0,...y},startTime:F,experimental:{standalone:!0}})}function Sh(){return Qi.addEventListener&&Qi.performance}function aa(n){return n/1e3}function xf(n){try{return PerformanceObserver.supportedEntryTypes.includes(n)}catch{return!1}}function Vp(n,s){let c,u=!1;function y(J){!u&&c&&s(J,c.spanContext().spanId,c),u=!0}Kb(()=>{y("pagehide")});const F=n.on("beforeStartNavigationSpan",(J,ie)=>{ie?.isRedirect||(y("navigation"),F(),I())}),I=n.on("afterStartPageLoadSpan",J=>{c=J,I()})}const WS=6e4;function Dh(n){return null!=n&&n>0&&n<=WS}function vd(n){return n&&((et()||performance.timeOrigin)+n)/1e3}function qb(n){const s={};if(null!=n.nextHopProtocol){const{name:c,version:u}=function Xb(n){let s="unknown",c="unknown",u="";for(const y of n){if("/"===y){[s,c]=n.split("/");break}if(!isNaN(Number(y))){s="h"===u?"http":u,c=n.split(u)[1];break}u+=y}return u===n&&(s=u),{name:s,version:c}}(n.nextHopProtocol);s["network.protocol.version"]=u,s["network.protocol.name"]=c}return et()||Sh()?.timeOrigin?function KS(n){return Object.fromEntries(Object.entries(n).filter(([,s])=>null!=s))}({...s,"http.request.redirect_start":vd(n.redirectStart),"http.request.redirect_end":vd(n.redirectEnd),"http.request.worker_start":vd(n.workerStart),"http.request.fetch_start":vd(n.fetchStart),"http.request.domain_lookup_start":vd(n.domainLookupStart),"http.request.domain_lookup_end":vd(n.domainLookupEnd),"http.request.connect_start":vd(n.connectStart),"http.request.secure_connection_start":vd(n.secureConnectionStart),"http.request.connection_end":vd(n.connectEnd),"http.request.request_start":vd(n.requestStart),"http.request.response_start":vd(n.responseStart),"http.request.response_end":vd(n.responseEnd),"http.request.time_to_first_byte":null!=n.responseStart?n.responseStart/1e3:void 0}):s}let qc,Qb,zp=0,Sl={};function YS({recordClsStandaloneSpans:n,recordLcpStandaloneSpans:s,client:c}){const u=Sh();if(u&&et()){u.mark&&Qi.performance.mark("sentry-tracing-init");const y=s?function GS(n){let c,s=0;if(!xf("largest-contentful-paint"))return;const u=qm(({metric:y})=>{const F=y.entries[y.entries.length-1];!F||!Dh(y.value)||(s=y.value,c=F)},!0);Vp(n,(y,F)=>{(function aw(n,s,c,u){if(!Dh(n))return;bd&&$e.log(`Sending LCP span (${n})`);const y=aa((et()||0)+(s?.startTime||0)),F=fi().getScopeData().transactionName,I=s?fr(s.element):"Largest contentful paint",J={[Wr]:"auto.http.browser.lcp",[ms]:"ui.webvital.lcp",[ee]:0,"sentry.pageload.span_id":c,"sentry.report_event":u};s&&(s.element&&(J["lcp.element"]=fr(s.element)),s.id&&(J["lcp.id"]=s.id),s.url&&(J["lcp.url"]=s.url),null!=s.loadTime&&(J["lcp.loadTime"]=s.loadTime),null!=s.renderTime&&(J["lcp.renderTime"]=s.renderTime),null!=s.size&&(J["lcp.size"]=s.size));const ie=Jm({name:I,transaction:F,attributes:J,startTime:y});ie&&(ie.addEvent("lcp",{[Uo]:"millisecond",[da]:n}),ie.end(y))}
3)(s,c,F,y),u()})}(c):!1===s?function hw(){return qm(({metric:n})=>{const s=n.entries[n.entries.length-1];!s||!Dh(n.value)||(Sl.lcp={value:n.value,unit:"millisecond"},qc=s)},!0)}():void 0,F=n?function Yb(n){let c,s=0;if(!xf("layout-shift"))return;const u=Lp(({metric:y})=>{const F=y.entries[y.entries.length-1];F&&(s=y.value,c=F)},!0);Vp(n,(y,F)=>{(function HS(n,s,c,u){bd&&$e.log(`Sending CLS span (${n})`);const y=s?aa((et()||0)+s.startTime):cr(),F=fi().getScopeData().transactionName,I=s?fr(s.sources[0]?.node):"Layout shift",J={[Wr]:"auto.http.browser.cls",[ms]:"ui.webvital.cls",[ee]:0,"sentry.pageload.span_id":c,"sentry.report_event":u};s?.sources&&s.sources.forEach((pe,Ge)=>{J[`cls.source.${Ge+1}`]=fr(pe.node)});const ie=Jm({name:I,transaction:F,attributes:J,startTime:y});ie&&(ie.addEvent("cls",{[Uo]:"",[da]:n}),ie.end(y))})(s,c,F,y),u()})}(c):!1===n?function uw(){return Lp(({metric:n})=>{const s=n.entries[n.entries.length-1];s&&(Sl.cls={value:n.value,unit:""},Qb=s)},!0)}():void 0,I=function qS(){return function $S(n){return jp("ttfb",n,iw,$b)}(({metric:n})=>{n.entries[n.entries.length-1]&&(Sl.ttfb={value:n.value,unit:"millisecond"})})}(),J=function QS(){return uu("paint",({entries:n})=>{const s=Ip();for(const c of n){const u=c.startTime<s.firstHiddenTime;"first-paint"===c.name&&u&&(Sl.fp={value:c.startTime,unit:"millisecond"}),"first-contentful-paint"===c.name&&u&&(Sl.fcp={value:c.startTime,unit:"millisecond"})}})}();return()=>{I(),J(),y?.(),F?.()}}return()=>{}}function gw(){qc=void 0,Qb=void 0,Sl={}}function Hp(n,s,c,u,y=c){const F=function vw(n){return"secureConnection"===n?"connectEnd":"fetch"===n?"domainLookupStart":`${n}End`}(c),I=s[F],J=s[`${c}Start`];!J||!I||hu(n,u+aa(J),u+aa(I),{op:`browser.${y}`,name:s.name,attributes:{[Wr]:"auto.ui.browser.metrics",..."redirect"===c&&null!=s.redirectCount?{"http.redirect_count":s.redirectCount}:{}}})}const Zb=new WeakMap,Jb=new WeakMap,JS=["text/event-stream","application/x-ndjson","application/stream+json"],e0=[],Gp=new Map,Mf=new Map;const Kp={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"},XT=({metric:n})=>{if(null==n.value)return;const s=aa(n.value);if(s>60)return;const c=n.entries.find(Lt=>Lt.duration===n.value&&Kp[Lt.name]);if(!c)return;const{interactionId:u}=c,y=Kp[c.name],F=aa(et()+c.startTime),I=Ls(),J=I?Cr(I):void 0,ie=null!=u?Gp.get(u):void 0,pe=ie?.span||J,Ge=pe?xi(pe).description:fi().getScopeData().transactionName,ut=Jm({name:ie?.elementName||fr(c.target),transaction:Ge,attributes:{[Wr]:"auto.http.browser.inp",[ms]:`ui.interaction.${y}`,[ee]:c.duration},startTime:F});ut&&(ut.addEvent("inp",{[Uo]:"millisecond",[da]:n.value}),ut.end(F+s))};function e1(n){const{name:s,op:c,origin:u,metricName:y,value:F,attributes:I,parentSpan:J,reportEvent:ie,startTime:pe,endTime:Ge}=n,Ae=fi().getScopeData().transactionName,mt={[Wr]:u,[ms]:c,[ee]:0,[`browser.web_vital.${y}.value`]:F,[By]:Ae,[f2]:Ae,"user_agent.original":Qi.navigator?.userAgent,...I};J&&"pageload"===Sr(J).attributes?.[ms]&&(mt["sentry.pageload.span_id"]=J.spanContext().spanId),ie&&(mt[`browser.web_vital.${y}.report_event`]=ie);const ut=du({name:s,attributes:mt,startTime:pe,parentSpan:J});ut&&ut.end(Ge??pe)}const t0="WebVitals",r0="sentry_previous_trace";function n1(n){return 1===n.traceFlags}function r1(n={}){const s=n.client||Ai();if(!function Mo(){const n=Ai();return!1!==n?.getOptions().enabled&&!!n?.getTransport()}()||!s)return{};const u=Fo(Me());if(u.getTraceData)return u.getTraceData(n);const y=n.scope||fi(),F=n.span||Ls(),I=ac(F)&&!Ss(s.getOptions());if(!F&&function io(){return void 0!==gn}())return{};const J=F&&!I?function lt(n){const{traceId:s,spanId:c}=n.spanContext();return Qa(s,c,Ui(n))}(F):function s1(n){const{traceId:s,sampled:c,propagationSpanId:u}=n.getPropagationContext();return Qa(s,u,c)}(y),pe=function Br(n){if(n)return function yo(n){if(0!==Object.keys(n).length)return Object.entries(n).reduce((s,[c,u],y)=>{const F=`${encodeURIComponent(c)}=${encodeURIComponent(u)}`,I=0===y?F:`${s},${F}`;return I.length>ks?(Se&&$e.warn(`Not adding key: ${c} with val: ${u} to baggage header due to exceeding baggage size limits.`),s):I},"")}(Object.entries(n).reduce((c,[u,y])=>(y&&(c[`${yc}${u}`]=y),c),{}))}(F?_i(F):Ta(s,y));if(!yl.test(J))return $e.warn("Invalid sentry-trace data. Cannot generate trace data"),{};const Ae={"sentry-trace":J,baggage:pe};return n.propagateTraceparent&&(Ae.traceparent=F&&!I?function an(n){const{traceId:s,spanId:c}=n.spanContext();return Tc(s,c,Ui(n))}
3(F):function QT(n){const{traceId:s,sampled:c,propagationSpanId:u}=n.getPropagationContext();return Tc(s,u,c)}(y)),Ae}function Yp(n){return"string"==typeof n&&n.split(",").some(s=>s.trim().startsWith(yc))}function Tw(n,s,c,u){const y={url:Ec(n),type:"fetch","http.method":c,[Wr]:u,[ms]:"http.client"};return s&&(Cc(s)||(y[n_]=Ec(s.href),y[Bd]=Ec(s.href),y["server.address"]=s.host),s.search&&(y["http.query"]=s.search),s.hash&&(y["http.fragment"]=s.hash)),y}const uD=Symbol.for("sentry__originalRequestBody");function o1(n){return new URLSearchParams(n).toString()}function Ow(n,s=$e){try{if("string"==typeof n)return[n];if(n instanceof URLSearchParams)return[n.toString()];if(n instanceof FormData)return[o1(n)];if(!n)return[void 0]}catch(c){return bd&&s.error(c,"Failed to serialize body",n),[void 0,"BODY_PARSE_ERROR"]}return bd&&s.log("Skipping network body because of body type",n),[void 0,"UNPARSEABLE_BODY_TYPE"]}function a1(n=[]){if(n.length>=2&&n[1]&&"object"==typeof n[1]&&"body"in n[1])return n[1].body;if(n.length>=1&&n[0]instanceof Request){const c=n[0][uD];return void 0!==c?c:void 0}}function c1(n){let s;try{s=n.getAllResponseHeaders()}catch(c){return bd&&$e.error(c,"Failed to get xhr response headers",n),{}}return s?s.split("\r\n").reduce((c,u)=>{const[y,F]=u.split(": ");return F&&(c[y.toLowerCase()]=F),c},{}):{}}function l1(n){try{return new URL(n,nr.location.origin).href}catch{return}}function Iw(n){try{return new Headers(n)}catch{return}}const fD={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function Nw(n,s){const{traceFetch:c,traceXHR:u,shouldCreateSpanForRequest:y,enableHTTPTimings:F,tracePropagationTargets:I,onRequestSpanStart:J,onRequestSpanEnd:ie}={...fD,...s},pe="function"==typeof y?y:ut=>!0,Ge=ut=>function JT(n,s){const c=$a();if(c){let u,y;try{u=new URL(n,c),y=new URL(c).origin}catch{return!1}const F=u.origin===y;return s?kr(u.toString(),s)||F&&kr(u.pathname,s):F}{const u=!!n.match(/^\/(?!\/)/);return s?kr(n,s):u}}(ut,I),Ae={},mt=n.getOptions().propagateTraceparent;c&&Qd(ut=>{const Lt=function aD(n,s,c,u,y){if(!n.fetchData)return;const{method:F,url:I}=n.fetchData,J=Ss()&&s(I);if(n.endTimestamp){const vn=n.fetchData.__span;if(!vn)return;const Pn=u[vn];return void(Pn&&(J&&(function xw(n,s){if(s.response){jo(n,s.response.status);const c=s.response?.headers?.get("content-length");if(c){const u=parseInt(c);u>0&&n.setAttribute("http.response_content_length",u)}}else s.error&&n.setStatus({code:Co,message:"internal_error"});n.end()}(Pn,n),function cD(n,s,c){("object"==typeof c&&null!==c?c.onRequestSpanEnd:void 0)?.(n,{headers:s.response?.headers,error:s.error})}(Pn,n,y)),delete u[vn]))}const{spanOrigin:ie="auto.http.browser",propagateTraceparent:pe=!1}="object"==typeof y?y:{spanOrigin:y},Ge=Ai(),Ae=!!Ls(),mt=Ae||!!Ge&&Vd(Ge),ut=J&&mt?du(function Aw(n,s,c){if(n.startsWith("data:"))return{name:`${s} ${Ec(n)}`,attributes:Tw(n,void 0,s,c)};const u=Ea(n);return{name:`${s} ${u?$o(u):n}`,attributes:Tw(n,u,s,c)}}(I,F,ie)):new ia,Lt=Vm(ut)&&Ae?void 0:ut;if(J&&!mt&&Ge?.recordDroppedEvent("no_parent_span","span"),n.fetchData.__span=ut.spanContext().spanId,u[ut.spanContext().spanId]=ut,c(n.fetchData.url)){const Pn={...n.args[1]||{}},Nn=function lD(n,s,c,u){const y=r1({span:c,propagateTraceparent:u}),F=y["sentry-trace"],I=y.baggage,J=y.traceparent;if(!F)return;const ie=s.headers||(ni(n)?n.headers:void 0);if(ie){if(function dD(n){return typeof Headers<"u"&&zi(n,Headers)}(ie)){const pe=new Headers(ie);if(pe.get("sentry-trace")||pe.set("sentry-trace",F),u&&J&&!pe.get("traceparent")&&pe.set("traceparent",J),I){const Ge=pe.get("baggage");Ge?Yp(Ge)||pe.set("baggage",`${Ge},${I}`):pe.set("baggage",I)}return pe}if(function Mw(n){return!!Array.isArray(n)&&n.every(s=>Array.isArray(s)&&2===s.length&&"string"==typeof s[0])}(ie)){const pe=[...ie];pe.find(Ae=>"sentry-trace"===Ae[0])||pe.push(["sentry-trace",F]),u&&J&&!pe.find(Ae=>"traceparent"===Ae[0])&&pe.push(["traceparent",J]);const Ge=ie.find(Ae=>"baggage"===Ae[0]&&"string"==typeof Ae[1]&&Yp(Ae[1]));return I&&!Ge&&pe.push(["baggage",I]),pe}{const pe="sentry-trace"in ie?ie["sentry-trace"]:void 0,Ge="traceparent"in ie?ie.traceparent:void 0,Ae="baggage"in ie?ie.baggage:void 0,mt=Ae?Array.isArray(Ae)?[...Ae]:[Ae]:[],ut=Ae&&(Array.isArray(Ae)?Ae.find(vn=>Yp(vn)):Yp(Ae));I&&!ut&&mt.push(I);const Lt=Object.assign({},ie,{"sentry-trace":pe??F,...mt.length>0&&{baggage:mt.join(",")}});return u&&J&&!Ge&&(Lt.traceparent=J),Lt}}return{"sentry-trace":F,...I&&{baggage:I},...J&&{traceparent:J}}}(n.args[0],Pn,Ss()&&mt?Lt:void 0,pe);
3Nn&&(n.args[1]=Pn,Pn.headers=Nn)}return Ge&&Ge.emit("beforeOutgoingRequestSpan",ut,{input:n.args,response:n.response,startTimestamp:n.startTimestamp,endTimestamp:n.endTimestamp}),ut}(ut,pe,Ge,Ae,{propagateTraceparent:mt,onRequestSpanEnd:ie});if(Lt){const vn=l1(ut.fetchData.url),Pn=vn?Il(vn).host:void 0,Nn=vn?Ec(vn):void 0;Lt.setAttributes({[n_]:Nn,[Bd]:Nn,"server.address":Pn}),F&&pD(Lt,n),J?.(Lt,{headers:ut.headers})}}),u&&Mn(ut=>{const Lt=function eO(n,s,c,u,y,F){const I=n.xhr,J=I?.[jn];if(!I||I.__sentry_own_request__||!J)return;const{url:ie,method:pe}=J,Ge=Ss()&&s(ie);if(n.endTimestamp){const Li=I.__sentry_xhr_span_id__;if(!Li)return;const Nr=u[Li];return void(Nr&&(Ge&&void 0!==J.status_code&&(jo(Nr,J.status_code),Nr.end(),F?.(Nr,{headers:Iw(c1(I)),error:n.error})),delete u[Li]))}const Ae=l1(ie),mt=Il(Ae||ie),ut=Ae?Ec(Ae):void 0,Lt=Ec(nc(ie)),vn=Ai(),Pn=!!Ls(),Nn=Pn||!!vn&&Vd(vn),bi=Ge&&Nn?du({name:`${pe} ${Lt}`,attributes:{url:Ec(ie),type:"xhr","http.method":pe,"http.url":ut,[Bd]:ut,"server.address":mt?.host,[Wr]:"auto.http.browser",[ms]:"http.client",...mt?.search&&{"http.query":mt?.search},...mt?.hash&&{"http.fragment":mt?.hash}}}):new ia,ir=Vm(bi)&&Pn?void 0:bi;return Ge&&!Nn&&vn?.recordDroppedEvent("no_parent_span","span"),I.__sentry_xhr_span_id__=bi.spanContext().spanId,u[I.__sentry_xhr_span_id__]=bi,c(ie)&&function tO(n,s,c){const{"sentry-trace":u,baggage:y,traceparent:F}=r1({span:s,propagateTraceparent:c});u&&function nO(n,s,c,u){const y=n.__sentry_xhr_v3__?.request_headers;if(!y?.["sentry-trace"]&&n.setRequestHeader)try{if(n.setRequestHeader("sentry-trace",s),u&&!y?.traceparent&&n.setRequestHeader("traceparent",u),c){const F=y?.baggage;(!F||!function Pw(n){return n.split(",").some(s=>s.trim().startsWith("sentry-"))}(F))&&n.setRequestHeader("baggage",c)}}catch{}}(n,u,y,F)}(I,Ss()&&Nn?ir:void 0,y),vn&&vn.emit("beforeOutgoingRequestSpan",bi,n),bi}(ut,pe,Ge,Ae,mt,ie);Lt&&(F&&pD(Lt,n),J?.(Lt,{headers:Iw(ut.xhr.__sentry_xhr_v3__?.request_headers)}))})}const ZT=300;function pD(n,s){const{url:c}=xi(n).data;if(!c||"string"!=typeof c)return;let u=()=>{setTimeout(y)};if(Vd(s)){const F=n.end.bind(n);n.end=I=>{const J=I??cr();let ie=!1;const pe=()=>{ie||(ie=!0,setTimeout(y),F(J),clearTimeout(Ge))};u=pe;const Ge=setTimeout(pe,ZT)}}const y=uu("resource",({entries:F})=>{F.forEach(I=>{(function hD(n){return"resource"===n.entryType&&"initiatorType"in n&&"string"==typeof n.nextHopProtocol&&("fetch"===n.initiatorType||"xmlhttprequest"===n.initiatorType)})(I)&&I.name.endsWith(c)&&(n.setAttributes(qb(I)),u())})})}const rO=/Googlebot|Google-InspectionTool|Storebot-Google|Bingbot|Slurp|DuckDuckBot|Baiduspider|YandexBot|Facebot|facebookexternalhit|LinkedInBot|Twitterbot|Applebot/i,gD={...zm,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,ignoreResourceSpans:[],ignorePerformanceApiSpans:[],detectRedirects:!0,linkPreviousTrace:"in-memory",consistentTraceSampling:!1,enableReportPageLoaded:!1,_experiments:{},...fD},sO=(n={})=>{"enableElementTiming"in n&&Be(()=>{console.warn("[Sentry] `enableElementTiming` is deprecated and no longer has any effect. Use the standalone `elementTimingIntegration` instead.")});const s={name:void 0,source:void 0},c=nr.document,{enableInp:u,enableLongTask:y,enableLongAnimationFrame:F,_experiments:{enableInteractions:I,enableStandaloneClsSpans:J,enableStandaloneLcpSpans:ie},beforeStartSpan:pe,idleTimeout:Ge,finalTimeout:Ae,childSpanTimeout:mt,markBackgroundSpan:ut,traceFetch:Lt,traceXHR:vn,trackFetchStreamPerformance:Pn,shouldCreateSpanForRequest:Nn,enableHTTPTimings:bi,ignoreResourceSpans:ir,ignorePerformanceApiSpans:Li,instrumentPageLoad:Nr,instrumentNavigation:Ji,detectRedirects:$n,linkPreviousTrace:Vi,consistentTraceSampling:$r,enableReportPageLoaded:mi,onRequestSpanStart:Xi,onRequestSpanEnd:Ii}={...gD,...n},Hi=function Rw(){const n=nr.navigator;return!!n?.userAgent&&rO.test(n.userAgent)}();let rr,$s;function uo(Fr,Ni,Er=!0,er){const Fs="pageload"===Ni.op,Go=Ni.name,ya=pe?pe(Ni):Ni,Ga=Ea(er||$a()),Ll={...Ga?.pathname&&{[mp]:Ga.pathname},...Ga&&!Cc(Ga)&&{[Bd]:Ga.href},...ya.attributes};if(Go!==ya.name&&(Ll[Zs]="custom"),ya.attributes=Ll,!Er){const Ru=ss();return void du({...ya,startTime:Ru}).end(Ru)}s.name=ya.name,s.source=Ll[Zs];const Cd=Ib(ya,{idleTimeout:Ge,finalTimeout:Ae,childSpanTimeout:mt,disableAutoFinish:Fs,beforeSpanEnd:Ru=>{(function fw(n,s){const c=Sh(),u=et();if(!c?.getEntries||!u)return;const{spanStreamingEnabled:y,ignorePerformanceApiSpans:F,ignoreResourceSpans:I}=s,J=aa(u),ie=c.getEntries(),{op:pe,start_timestamp:Ge}=xi(n);
3ie.slice(zp).forEach(Ae=>{const mt=aa(Ae.startTime),ut=aa(Math.max(0,Ae.duration));if(!("navigation"===pe&&Ge&&J+mt<Ge))switch(Ae.entryType){case"navigation":!function bw(n,s,c){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(u=>{Hp(n,s,u,c)}),Hp(n,s,"secureConnection",c,"TLS/SSL"),Hp(n,s,"fetch",c,"cache"),Hp(n,s,"domainLookup",c,"DNS"),function _w(n,s,c){const u=c+aa(s.requestStart),y=c+aa(s.responseEnd),F=c+aa(s.responseStart);s.responseEnd&&(hu(n,u,y,{op:"browser.request",name:s.name,attributes:{[Wr]:"auto.ui.browser.metrics"}}),hu(n,F,y,{op:"browser.response",name:s.name,attributes:{[Wr]:"auto.ui.browser.metrics"}}))}(n,s,c)}(n,Ae,J);break;case"mark":case"paint":case"measure":!function $p(n,s,c,u,y,F){if(function mw(n){if("measure"===n?.entryType)try{return"Components \u269b"===n.detail.devtools.track}catch{return}}(s)||["mark","measure"].includes(s.entryType)&&kr(s.name,F))return;const I=Sf(!1),J=aa(I?I.requestStart:0),ie=y+Math.max(c,J),pe=y+c,Ge=pe+u,Ae={[Wr]:"auto.resource.browser.metrics"};ie!==pe&&(Ae["sentry.browser.measure_happened_before_request"]=!0,Ae["sentry.browser.measure_start_time"]=ie),function yw(n,s){try{const c=s.detail;if(!c)return;if("object"==typeof c){for(const[u,y]of Object.entries(c))if(y&&en(y))n[`sentry.browser.measure.detail.${u}`]=y;else if(void 0!==y)try{n[`sentry.browser.measure.detail.${u}`]=JSON.stringify(y)}catch{}return}if(en(c))return void(n["sentry.browser.measure.detail"]=c);try{n["sentry.browser.measure.detail"]=JSON.stringify(c)}catch{}}catch{}}(Ae,s),ie<=Ge&&hu(n,ie,Ge,{name:s.name,op:s.entryType,attributes:Ae})}(n,Ae,mt,ut,J,F);break;case"resource":!function Fw(n,s,c,u,y,F,I){if("xmlhttprequest"===s.initiatorType||"fetch"===s.initiatorType)return;const J=s.initiatorType?`resource.${s.initiatorType}`:"resource.other";if(I?.includes(J))return;const ie={[Wr]:"auto.resource.browser.metrics"},pe=Il(c);pe.protocol&&(ie["url.scheme"]=pe.protocol.split(":").pop()),pe.host&&(ie["server.address"]=pe.host),ie["url.same_origin"]=c.includes(Qi.location.origin),ie[Bd]=c,function KT(n,s,c){c.forEach(([u,y])=>{const F=n[u];null!=F&&("number"==typeof F&&F<2147483647||"string"==typeof F)&&(s[y]=F)})}(s,ie,[["responseStatus","http.response.status_code"],["transferSize","http.response_transfer_size"],["encodedBodySize","http.response_content_length"],["decodedBodySize","http.decoded_response_content_length"],["renderBlockingStatus","resource.render_blocking_status"],["deliveryType","http.response_delivery_type"]]);const Ge={...ie,...qb(s)},Ae=F+u;hu(n,Ae,Ae+y,{name:c.replace(Qi.location.origin,""),op:J,attributes:Ge})}(n,Ae,Ae.name,mt,ut,J,I)}}),zp=Math.max(ie.length-1,0),function ZS(n,s){const c=Qi.navigator;if(!c)return;const u=c.connection;u&&(u.effectiveType&&n.setAttribute(s?"network.connection.effective_type":"effectiveConnectionType",u.effectiveType),u.type&&n.setAttribute(s?"network.connection.type":"connectionType",u.type),Zm(u.rtt)&&(s?n.setAttribute("network.connection.rtt",u.rtt):"pageload"===xi(n).op&&NF("connection.rtt",u.rtt,"millisecond"))),Zm(c.deviceMemory)&&(s?n.setAttribute("device.memory.estimated_capacity",c.deviceMemory):n.setAttribute("deviceMemory",`${c.deviceMemory} GB`)),Zm(c.hardwareConcurrency)&&(s?n.setAttribute("device.processor_count",c.hardwareConcurrency):n.setAttribute("hardwareConcurrency",String(c.hardwareConcurrency)))}(n,y)})(Ru,{ignoreResourceSpans:ir,ignorePerformanceApiSpans:Li,spanStreamingEnabled:Vd(Fr)}),jw(Fr,void 0);const bg=fi(),Bh=bg.getPropagationContext();bg.setPropagationContext({...Bh,traceId:Cd.spanContext().traceId,sampled:Ui(Cd),dsc:_i(Ru)}),Fs&&($s=void 0)},trimIdleSpanEndTimestamp:!mi});function Rh(){c&&["interactive","complete"].includes(c.readyState)&&(Fr.emit("idleSpanEnableAutoFinish",Cd),c.removeEventListener("readystatechange",Rh))}Fs&&mi&&($s=Cd),jw(Fr,Cd),Fs&&!mi&&c&&(c.addEventListener("readystatechange",Rh),Rh())}return{name:"BrowserTracing",setup(Fr){if(Hi)Lr&&$e.log("[Tracing] Skipping browserTracingIntegration setup for bot user agent.");else{if(function NS(){function n(){const s=Ls(),c=s&&Cr(s);if(c){const u="internal_error";Se&&$e.log(`[Tracing] Root span: ${u} -> Global error occurred`),c.setStatus({code:Co,message:u})}}Rb||(Rb=!0,Fi(n),To(n))}(),F&&he.PerformanceObserver&&PerformanceObserver.supportedEntryTypes?.includes("long-animation-frame")?function lw(){new PerformanceObserver(s=>{const c=Ls();if(c)for(const u of s.getEntries()){if(!u.scripts[0])continue;const y=aa(et()+u.startTime),{start_timestamp:F,op:I}=xi(c);if("navigation"===I&&F&&y<F)continue;const J=aa(u.duration),ie={[Wr]:"auto.ui.browser.metrics"},pe=u.scripts[0],{invoker:Ge,invokerType:Ae,sourceURL:mt,sourceFunctionName:ut,sourceCharPosition:Lt}=pe;ie["browser.script.invoker"]=Ge,ie["browser.script.invoker_type"]=Ae,mt&&(ie["code.filepath"]=mt),ut&&(ie["code.function"]=ut),-1!==Lt&&(ie["browser.script.source_char_position"]=Lt),hu(c,y,y+J,{name:"Main UI thread blocked",op:"ui.long-animation-frame",attributes:ie})}}).observe({type:"long-animation-frame",buffered:!0})}():y&&function cw(){uu("longtask",({entries:n})=>{const s=Ls();if(!s)return;const{op:c,start_timestamp:u}=xi(s);for(const y of n){const F=aa(et()+y.startTime),I=aa(y.duration);"navigation"===c&&u&&F<u||hu(s,F,F+I,{name:"Main UI thread blocked",op:"ui.long-task",attributes:{[Wr]:"auto.ui.browser.metrics"}})}})}(),I&&function dw(){uu("event",({entries:n})=>{const s=Ls();if(s)for(const c of n)if("click"===c.name){const u=aa(et()+c.startTime),y=aa(c.duration),F={name:fr(c.target),op:`ui.interaction.${c.name}`,startTime:u,attributes:{[Wr]:"auto.ui.browser.metrics"}},I=cd(c.target);I&&(F.attributes["ui.component_name"]=I),hu(s,u,u+y,F)}})}(),$n&&c){const Er=()=>{rr=cr()};addEventListener("click",Er,{capture:!0}),addEventListener("keydown",Er,{capture:!0,passive:!0})}Fr.on("startNavigationSpan",(Er,er)=>{if(Ai()!==Fr)return;if(er?.isRedirect)return Lr&&$e.warn("[Tracing] Detected redirect, navigation span will not be the root span, but a child span."),void uo(Fr,{op:"navigation.redirect",...Er},!1,er.url);rr=void 0,Ni(),Or().setPropagationContext({traceId:Ur(),sampleRand:Math.random(),propagationSpanId:Ss()?void 0:sr()});const Fs=fi();Fs.setPropagationContext({traceId:Ur(),sampleRand:Math.random(),propagationSpanId:Ss()?void 0:sr()}),Fs.setSDKProcessingMetadata({normalizedRequest:void 0}),uo(Fr,{op:"navigation",...Er,parentSpan:null,forceTransaction:!0},!0,er?.url)}),Fr.on("startPageLoadSpan",(Er,er={})=>
3{if(Ai()!==Fr)return;Ni();const ya=function Ac(n,s){const c=function Ul(n){if(!n)return;const s=n.match(yl);if(!s)return;let c;return"1"===s[3]?c=!0:"0"===s[3]&&(c=!1),{traceId:s[1],parentSampled:c,parentSpanId:s[2]}}(n),u=As(s);if(!c?.traceId)return{traceId:Ur(),sampleRand:Sn()};const y=function Za(n,s){const c=Vo(s?.sample_rand);if(void 0!==c)return c;const u=Vo(s?.sample_rate);return u&&void 0!==n?.parentSampled?n.parentSampled?Sn()*u:u+Sn()*(1-u):Sn()}(c,u);u&&(u.sample_rand=y.toString());const{traceId:F,parentSpanId:I,parentSampled:J}=c;return{traceId:F,parentSpanId:I,sampled:J,dsc:u||{},sampleRand:y}}(er.sentryTrace||Of("sentry-trace")||qp("sentry-trace"),er.baggage||Of("baggage")||qp("baggage")),Ga=fi();Ga.setPropagationContext(ya),Ss()||(Ga.getPropagationContext().propagationSpanId=sr()),Ga.setSDKProcessingMetadata({normalizedRequest:sa()}),uo(Fr,{op:"pageload",...Er})}),Fr.on("endPageloadSpan",()=>{mi&&$s&&($s.setAttribute(ro,"reportPageLoaded"),$s.end())})}function Ni(){const Er=Qp(Fr);Er&&!xi(Er).timestamp&&(Lr&&$e.log(`[Tracing] Finishing current active span with op: ${xi(Er).op}`),Er.setAttribute(ro,"cancelled"),Er.end())}},afterAllSetup(Fr){if(Hi)return;Fr.addIntegration&&!Fr.getIntegrationByName?.(t0)&&Fr.addIntegration(((n={})=>{const s=new Set(n.ignore??[]);return{name:t0,setup(c){const u=Vd(c),{enableStandaloneClsSpans:y,enableStandaloneLcpSpans:F}=n._experiments??{},I=u||s.has("cls")?void 0:y||!1,J=u||s.has("lcp")?void 0:F||!1,ie=YS({recordClsStandaloneSpans:I,recordLcpStandaloneSpans:J,client:c}),pe=new WeakSet;c.on("afterStartPageLoadSpan",Ge=>{pe.add(Ge)}),c.on("spanEnd",Ge=>{pe.delete(Ge)&&(ie(),function pw(n,s){const c=et();if(!Sh()?.getEntries||!c)return void gw();const{spanStreamingEnabled:u,recordClsOnPageloadSpan:y,recordLcpOnPageloadSpan:F}=s,I=aa(c);if("pageload"===xi(n).op){if(function ww(n){const s=Sf(!1);if(!s)return;const{responseStart:c,requestStart:u}=s;u<=c&&(n["ttfb.requestTime"]={value:c-u,unit:"millisecond"})}(Sl),u){const J=(ie,pe,Ge)=>{const Ae=Ge??`browser.web_vital.${ie}.value`;n.setAttribute(Ae,pe),bd&&$e.log("Setting web vital attribute",{[Ae]:pe},"on pageload span")};["ttfb","fp","fcp"].forEach(ie=>{Sl[ie]&&J(ie,Sl[ie].value)}),Sl["ttfb.requestTime"]&&J("ttfb.requestTime",Sl["ttfb.requestTime"].value,"browser.web_vital.ttfb.request_time")}else y||delete Sl.cls,F||delete Sl.lcp,Object.entries(Sl).forEach(([J,ie])=>{NF(J,ie.value,ie.unit,n)}),function GT(n,s){qc&&s.recordLcpOnPageloadSpan&&(qc.element&&n.setAttribute("lcp.element",fr(qc.element)),qc.id&&n.setAttribute("lcp.id",qc.id),qc.url&&n.setAttribute("lcp.url",qc.url.trim().slice(0,200)),null!=qc.loadTime&&n.setAttribute("lcp.loadTime",qc.loadTime),null!=qc.renderTime&&n.setAttribute("lcp.renderTime",qc.renderTime),n.setAttribute("lcp.size",qc.size)),Qb?.sources&&s.recordClsOnPageloadSpan&&Qb.sources.forEach((c,u)=>n.setAttribute(`cls.source.${u+1}`,fr(c.node)))}(n,s);n.setAttribute(u?"browser.performance.time_origin":"performance.timeOrigin",I),n.setAttribute(u?"browser.performance.navigation.activation_start":"performance.activationStart",Op())}gw()}(Ge,{recordClsOnPageloadSpan:!1===I,recordLcpOnPageloadSpan:!1===J,spanStreamingEnabled:u}))}),u?(s.has("lcp")||function t1(n){let c,s=0;if(!xf("largest-contentful-paint"))return;const u=qm(({metric:y})=>{const F=y.entries[y.entries.length-1];!F||!Dh(y.value)||(s=y.value,c=F)},!0);Vp(n,(y,F,I)=>{(function tD(n,s,c,u){if(!Dh(n))return;bd&&$e.log(`Sending LCP span (${n})`);const y=et()||0,F=aa(y),I=aa(y+(s?.startTime||0)),J=s?fr(s.element):"Largest contentful paint",ie={};s?.element&&(ie["browser.web_vital.lcp.element"]=fr(s.element)),s?.id&&(ie["browser.web_vital.lcp.id"]=s.id),s?.url&&(ie["browser.web_vital.lcp.url"]=s.url),null!=s?.loadTime&&(ie["browser.web_vital.lcp.load_time"]=s.loadTime),null!=s?.renderTime&&(ie["browser.web_vital.lcp.render_time"]=s.renderTime),null!=s?.size&&(ie["browser.web_vital.lcp.size"]=s.size),e1({name:J,op:"ui.webvital.lcp",origin:"auto.http.browser.lcp",metricName:"lcp",value:n,attributes:ie,parentSpan:c,reportEvent:u,startTime:F,endTime:I})})(s,c,I,y),u()})}(c),s.has("cls")||function Ew(n){let c,s=0;if(!xf("layout-shift"))return;const u=Lp(({metric:y})=>{const F=y.entries[y.entries.length-1];F&&(s=y.value,c=F)},!0);Vp(n,(y,F,I)=>{(function nD(n,s,c,u){bd&&$e.log(`Sending CLS span (${n})`);const y=s?aa((et()||0)+s.startTime):cr(),F=s?fr(s.sources[0]?.node):"Layout shift",I={};
3s?.sources&&s.sources.forEach((J,ie)=>{I[`browser.web_vital.cls.source.${ie+1}`]=fr(J.node)}),e1({name:F,op:"ui.webvital.cls",origin:"auto.http.browser.cls",metricName:"cls",value:n,attributes:I,parentSpan:c,reportEvent:u,startTime:y})})(s,c,I,y),u()})}(c),s.has("inp")||function iD(){Sh()&&et()&&Up(({metric:c})=>{if(null==c.value||aa(c.value)>60)return;const y=c.entries.find(F=>F.duration===c.value&&Kp[F.name]);y&&function rD(n,s){bd&&$e.log(`Sending INP span (${n})`);const c=aa(et()+s.startTime),u=aa(n),y=Kp[s.name],F=function YT(n){return null!=n?Gp.get(n):void 0}(s.interactionId),I=Ls(),J=I?Cr(I):void 0,ie=F?.span||J,pe=ie?Sr(ie).name:fi().getScopeData().transactionName;e1({name:F?.elementName||fr(s.target),op:`ui.interaction.${y}`,origin:"auto.http.browser.inp",metricName:"inp",value:n,attributes:{[ee]:s.duration,[By]:pe,[f2]:pe},startTime:c,endTime:c+u,parentSpan:ie})}(c.value,y)})}()):s.has("inp")||function Af(){if(Sh()&&et()){const s=function eD(){return Up(XT)}();return()=>{s()}}return()=>{}}()},afterAllSetup(){s.has("inp")||function Xp(){const n=Object.keys(Kp);function s(y){const F=y.target;if(!F)return;const I=fr(F),J=Math.round(y.timeStamp);if(Mf.set(J,I),Mf.size>50){const ie=Mf.keys().next().value;void 0!==ie&&Mf.delete(ie)}}eh()&&n.forEach(y=>{Qi.addEventListener(y,s,{capture:!0,passive:!0})});const u=({entries:y})=>{const F=Ls(),I=F&&Cr(F);y.forEach(J=>{if(!function ow(n){return"duration"in n}(J))return;const ie=J.interactionId;if(null==ie||Gp.has(ie))return;const pe=J.target?fr(J.target):function c(y){const F=Math.round(y.startTime);let I=Mf.get(F);if(!I)for(let J=-5;J<=5;J++){const ie=Mf.get(F+J);if(ie){I=ie;break}}return I||"<unknown>"}(J);if(e0.length>10){const Ge=e0.shift();Gp.delete(Ge)}e0.push(ie),Gp.set(ie,{span:I,elementName:pe})})};uu("event",u),uu("first-input",u)}()}}})({ignore:u?[]:["inp"],_experiments:{enableStandaloneClsSpans:J,enableStandaloneLcpSpans:ie}}));let Ni=$a();if("off"!==Vi&&function Sw(n,{linkPreviousTrace:s,consistentTraceSampling:c}){const u="session-storage"===s;let y=u?function Tf(){try{const n=nr.sessionStorage?.getItem(r0);return JSON.parse(n)}catch{return}}():void 0;n.on("spanStart",I=>{if(Cr(I)!==I)return;const J=fi().getPropagationContext();y=function oD(n,s,c){const u=xi(s),F={spanContext:s.spanContext(),startTimestamp:u.start_timestamp,sampleRate:function y(){try{const J=Number(u.data?.[fs]??c.dsc?.sample_rate);return Number.isNaN(J)?0:J}catch{return 0}}(),sampleRand:c.sampleRand};if(!n)return F;const I=n.spanContext;return I.traceId===u.trace_id?n:(Date.now()/1e3-n.startTimestamp<=3600&&(Lr&&$e.log(`Adding previous_trace \`${JSON.stringify(I)}\` link to span \`${JSON.stringify({op:u.op,...s.spanContext()})}\``),s.addLink({context:I,attributes:{[Rr]:"previous_trace"}}),s.setAttribute("sentry.previous_trace",`${I.traceId}-${I.spanId}-${n1(I)?1:0}`)),F)}(y,I,J),u&&function Dw(n){try{nr.sessionStorage.setItem(r0,JSON.stringify(n))}catch(s){Lr&&$e.warn("Could not store previous trace in sessionStorage",s)}}(y)});let F=!0;c&&n.on("beforeSampling",I=>{if(!y)return;const J=fi(),ie=J.getPropagationContext();F&&ie.parentSpanId?F=!1:(J.setPropagationContext({...ie,dsc:{...ie.dsc,sample_rate:String(y.sampleRate),sampled:String(n1(y.spanContext))},sampleRand:y.sampleRand}),I.parentSampled=n1(y.spanContext),I.parentSampleRate=y.sampleRate,I.spanAttributes={...I.spanAttributes,[Pr]:y.sampleRate})})}(Fr,{linkPreviousTrace:Vi,consistentTraceSampling:$r}),nr.location){if(Nr){const Er=et();!function Bw(n,s,c){n.emit("startPageLoadSpan",s,c),fi().setTransactionName(s.name);const u=Qp(n);u&&n.emit("afterStartPageLoadSpan",u)}(Fr,{name:nr.location.pathname,startTime:Er?Er/1e3:void 0,attributes:{[Zs]:"url",[Wr]:"auto.pageload.browser"}})}Ji&&ri(({to:Er,from:er})=>{if(void 0===er&&-1!==Ni?.indexOf(Er))return void(Ni=void 0);Ni=void 0;const Fs=Ea(Er),Go=Qp(Fr),ya=Go&&$n&&function yD(n,s){const c=xi(n),u=ss();return!(u-c.start_timestamp>Vw||s&&u-s<=Vw)}(Go,rr);Lw(Fr,{name:Fs?.pathname||nr.location.pathname,attributes:{[Zs]:"url",[Wr]:"auto.navigation.browser"}},{url:Er,isRedirect:ya})})}ut&&function sD(){nr.document?nr.document.addEventListener("visibilitychange",()=>{const n=Ls();if(!n)return;const s=Cr(n);if(nr.document.hidden&&s){const c="cancelled",{op:u,status:y}=xi(s);Lr&&$e.log(`[Tracing] Transaction: ${c} -> since tab moved to the background, op: ${u}`),y||s.setStatus({code:Co,message:c}),s.setAttribute("sentry.cancellation_reason","document.hidden"),s.end()}}):Lr&&$e.warn("[Tracing] Could not set up background tab detection due to lack of global document")}(),I&&function mD(n,s,c,u,y){let I;nr.document&&addEventListener("click",()=>{const ie="ui.action.click",pe=Qp(n);if(pe){const Ge=xi(pe).op;
3if(["navigation","pageload"].includes(Ge))return void(Lr&&$e.warn(`[Tracing] Did not create ${ie} span because a pageload or navigation span is in progress.`))}I&&(I.setAttribute(ro,"interactionInterrupted"),I.end(),I=void 0),y.name?I=Ib({name:y.name,op:ie,attributes:{[Zs]:y.source||"url"}},{idleTimeout:s,finalTimeout:c,childSpanTimeout:u}):Lr&&$e.warn(`[Tracing] Did not create ${ie} transaction because _latestRouteName is missing.`)},{capture:!0})}(Fr,Ge,Ae,mt,s),Nw(Fr,{traceFetch:Lt,traceXHR:vn,tracePropagationTargets:Fr.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:Nn,enableHTTPTimings:bi,onRequestSpanStart:Xi,onRequestSpanEnd:Ii}),Pn&&Fr.addIntegration({name:"FetchStreamPerformance",setup(){(function Fl(n){const s="fetch-body-resolved";_l(s,n),Kl(s,()=>Jo(Nc))})(n=>{if(n.response){const s=Zb.get(n.response);if(s&&n.endTimestamp){s.end(n.endTimestamp);const c=Jb.get(n.response);c&&clearTimeout(c)}}}),Qd(n=>{if(n.endTimestamp&&n.response){const s=n.response.headers?.get("content-type")||"";if(n.response.headers?.get("content-length")||!JS.some(ie=>s.startsWith(ie)))return;const c=n.fetchData?.url||"",u=n.fetchData?.method||"GET",y=Ea(c),I=du({name:`${u} ${c.startsWith("data:")?Ec(c):y?$o(y):c}`,startTime:n.endTimestamp,attributes:{url:Ec(c),"http.method":u,type:"fetch",[ms]:"http.client.stream",[Wr]:"auto.http.browser.stream"}});Zb.set(n.response,I);const J=setTimeout(()=>{I.isRecording()&&I.end()},9e4);Jb.set(n.response,J)}})}})}}};function Lw(n,s,c){const{url:u,isRedirect:y}=c||{};
3n.emit("beforeStartNavigationSpan",s,{isRedirect:y,url:u}),n.emit("startNavigationSpan",s,{isRedirect:y,url:u});const F=fi();return F.setTransactionName(s.name),u&&!y&&F.setSDKProcessingMetadata({normalizedRequest:{...sa(),url:u}}),Qp(n)}function Of(n){return nr.document?.querySelector(`meta[name=${n}]`)?.getAttribute("content")||void 0}function qp(n){return nr.performance?.getEntriesByType?.("navigation")[0]?.serverTiming?.find(u=>u.name===n)?.description}const Uw="_sentry_idleSpan";function Qp(n){return n[Uw]}function jw(n,s){Rt(n,Uw,s)}const Vw=1.5;function zw(n){try{return new URL(n,Qi.location.origin).toString()}catch{return n}}var d1=g(94485),bD=g(59343),u1=g(85687),h1=g(21252);const $w=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;const wD=typeof Zone<"u"&&Zone.root?.run;function Ou(n){return wD?Zone.root.run(n):n()}function Hw(n){if(n instanceof Error)return!0;if(null===n||"object"!=typeof n)return!1;const s=n;return _n(s.name)&&_n(s.message)&&(void 0===s.stack||_n(s.stack))}let p1,kD=(()=>{class n{constructor(c){this._options={logErrors:!0,...c}}ngOnDestroy(){this._removeAfterSendEventListener&&this._removeAfterSendEventListener()}handleError(c){const u=this._extractError(c)||"Handled unknown error",y=Ou(()=>Sd(u,{mechanism:{type:"auto.function.angular.error_handler",handled:!1}}));if(this._options.logErrors&&Be(()=>console.error(u)),this._options.showDialog){const F=Ai();F&&!this._removeAfterSendEventListener?this._removeAfterSendEventListener=F.on("afterSendEvent",I=>{!I.type&&I.event_id&&Ou(()=>{vu({...this._options.dialogOptions,eventId:I.event_id})})}):F||Ou(()=>{vu({...this._options.dialogOptions,eventId:y})})}}_extractError(c){if(this._options.extractor){const u=this._defaultExtractor.bind(this);return this._options.extractor(c,u)}return this._defaultExtractor(c)}_defaultExtractor(c){const u=function CD(n){return n?.ngOriginalError?n.ngOriginalError:n}(c);return u instanceof d1.yz?function ED(n){return Hw(n.error)?n.error:typeof ErrorEvent<"u"&&n.error instanceof ErrorEvent&&n.error.message?n.error.message:"string"==typeof n.error?`Server returned code ${n.status} with body "${n.error}"`:n.message}(u):"string"==typeof u||Hw(u)?u:null}}return n.\u0275fac=function(c){return new(c||n)(le.KVO("errorHandlerOptions"))},n.\u0275prov=le.jDH({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Ww(n){return new kD(n)}let MD=(()=>{class n{constructor(c){this._router=c,this.navStart$=this._router.events.pipe((0,u1.p)(u=>u instanceof hr.Z),(0,h1.M)(u=>{if(!p1)return void($w&&$e.error("Angular integration has tracing enabled, but Tracing integration is not configured"));this._routingSpan&&(this._routingSpan.end(),this._routingSpan=null);const y=Ai(),F=nc(u.url);return y?(this._isPageloadOngoing()?this._pageloadOngoing=!1:Ou(()=>{Lw(y,{name:F,attributes:{[Wr]:"auto.navigation.angular",[Zs]:"url"}},{url:zw(u.url)})}),void(this._routingSpan=Ou(()=>du({name:`${u.url}`,op:"ui.angular.routing",attributes:{[Wr]:"auto.ui.angular",[Zs]:"url",url:F,...u.navigationTrigger&&{navigationTrigger:u.navigationTrigger}}}))||null)):void 0})),this.resEnd$=this._router.events.pipe((0,u1.p)(u=>u instanceof hr.gx),(0,h1.M)(u=>{const y=function Kw(n){const s=[];let c=n?.firstChild;for(;c;){const y=c?.routeConfig&&c.routeConfig.path;if(null==y)break;s.push(y),c=c.firstChild}const u=s.filter(y=>y).join("/");return u?`/${u}/`:"/"}(u.state.root);y&&fi().setTransactionName(y);const F=Ls(),I=F&&Cr(F);!function Gw(n,s,c){if(!c)return;const{data:u,op:y}=xi(c);if(!u||"url"===u[Zs]){c.updateName(n);const F=zw(s);c.setAttributes({[Wr]:`auto.${y}.angular`,[Zs]:"route",[Bd]:F,[mp]:Ea(F)?.pathname,[x2]:n})}}(y,u.urlAfterRedirects,I)})),this.navEnd$=this._router.events.pipe((0,u1.p)(u=>u instanceof hr.wF||u instanceof hr.j5||u instanceof hr.L6),(0,h1.M)(()=>{this._routingSpan&&(Ou(()=>{this._routingSpan.end()}),this._routingSpan=null)})),this._routingSpan=null,this._pageloadOngoing=!0,this._subscription=new bD.yU,this._subscription.add(this.navStart$.subscribe()),this._subscription.add(this.resEnd$.subscribe()),this._subscription.add(this.navEnd$.subscribe())}ngOnDestroy(){this._subscription.unsubscribe()}_isPageloadOngoing(){if(!this._pageloadOngoing)return!1;const c=Ls();if(!c)return this._pageloadOngoing=!1,!1;const u=Cr(c);return this._pageloadOngoing="pageload"===xi(u).op,this._pageloadOngoing}}return n.\u0275fac=function(c){return new(c||n)(le.KVO(hr.Ix))},n.\u0275prov=le.jDH({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function y1(n){return"/"===n[n.length-1]?n.slice(0,-1):n}const Oo=he,qw="sentryReplaySession",Qw="replay_event",b1="Unable to send Replay",s0=5e3,o0=3,v1=15e4,a0=5e3,_1=2e7;var LD=Object.defineProperty,c0=(n,s,c)=>((n,s,c)=>s in n?LD(n,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):n[s]=c)(n,"symbol"!=typeof s?s+"":s,c),kc=(n=>(n[n.Document=0]="Document",n[n.DocumentType=1]="DocumentType",n[n.Element=2]="Element",n[n.Text=3]="Text",n[n.CDATA=4]="CDATA",n[n.Comment=5]="Comment",n))(kc||{});function Zp(n){return n?.host?.shadowRoot===n}function Pf(n){return"[object ShadowRoot]"===Object.prototype.toString.call(n)}function E1(n){try{const s=n.rules||n.cssRules;return s?function C1(n){return n.includes(" background-clip: text;")&&!n.includes(" -webkit-background-clip: text;")&&(n=n.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),n}(Array.from(s,jD).join("")):null}catch{return null}}function jD(n){let s;if(function k1(n){return"styleSheet"in n}(n))try{s=E1(n.styleSheet)||function Jw(n){const{cssText:s}=n;if(s.split('"').length<3)return s;const c=["@import",`url(${JSON.stringify(n.href)})`];return""===n.layerName?c.push("layer"):n.layerName&&c.push(`layer(${n.layerName})`),n.supportsText&&c.push(`supports(${n.supportsText})`),n.media.length&&c.push(n.media.mediaText),c.join(" ")+";"}(n)}catch{}else if(function zD(n){return"selectorText"in n}(n)){let c=n.cssText;const u=n.selectorText.includes(":"),y="string"==typeof n.style.all&&n.style.all;if(y&&(c=function Jp(n){let s="";for(let c=0;c<n.style.length;c++){const u=n.style,y=u[c],F=u.getPropertyPriority(y);s+=`${y}:${u.getPropertyValue(y)}${F?" !important":""};`}return`${n.selectorText} { ${s} }`}(n)),u&&(c=function VD(n){return n.replace(/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm,"$1\\$2")}(c)),u||y)return c}return s||n.cssText}class $D{constructor(){c0(this,"idNodeMap",new Map),c0(this,"nodeMetaMap",new WeakMap)}getId(s){return s?this.getMeta(s)?.id??-1:-1}getNode(s){return this.idNodeMap.get(s)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(s){return this.nodeMetaMap.get(s)||null}removeNodeFromMap(s){const c=this.getId(s);
3this.idNodeMap.delete(c),s.childNodes&&s.childNodes.forEach(u=>this.removeNodeFromMap(u))}has(s){return this.idNodeMap.has(s)}hasNode(s){return this.nodeMetaMap.has(s)}add(s,c){this.idNodeMap.set(c.id,s),this.nodeMetaMap.set(s,c)}replace(s,c){const u=this.getNode(s);if(u){const y=this.nodeMetaMap.get(u);y&&this.nodeMetaMap.set(c,y)}this.idNodeMap.set(s,c)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function l0({maskInputOptions:n,tagName:s,type:c}){return"OPTION"===s&&(s="SELECT"),!!(n[s.toLowerCase()]||c&&n[c]||"password"===c||"INPUT"===s&&!c&&n.text)}function eg({isMasked:n,element:s,value:c,maskInputFn:u}){let y=c||"";return n?(u&&(y=u(y,s)),"*".repeat(y.length)):y}function xh(n){return n.toLowerCase()}function eC(n){return n.toUpperCase()}const tC="__rrweb_original__";function If(n){const s=n.type;return n.hasAttribute("data-rr-is-password")?"password":s?xh(s):null}function Mh(n,s,c){return"INPUT"!==s||"radio"!==c&&"checkbox"!==c?n.value:n.getAttribute("value")||""}function S1(n,s){let c;try{c=new URL(n,s??window.location.href)}catch{return null}return c.pathname.match(/\.([0-9a-z]+)(?:$)/i)?.[1]??null}const nC={};function D1(n){const s=nC[n];if(s)return s;const c=window.document;let u=window[n];if(c&&"function"==typeof c.createElement)try{const y=c.createElement("iframe");y.hidden=!0,c.head.appendChild(y);const F=y.contentWindow;F&&F[n]&&(u=F[n]),c.head.removeChild(y)}catch{}return nC[n]=u.bind(window)}function pu(...n){return D1("setTimeout")(...n)}function Ah(...n){return D1("clearTimeout")(...n)}function iC(n){try{return n.contentDocument}catch{}}let rC=1;const WD=new RegExp("[^a-z0-9-_:]"),th=-2;function sC(){return rC++}let tg,KD;const hO=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,XD=/^(?:[a-z+]+:)?\/\//i,YD=/^www\..*/i,fO=/^(data:)([^,]*),(.*)/i;function ng(n,s){return(n||"").replace(hO,(c,u,y,F,I,J)=>{const ie=y||I||J,pe=u||F||"";if(!ie)return c;if(XD.test(ie)||YD.test(ie))return`url(${pe}${ie}${pe})`;if(fO.test(ie))return`url(${pe}${ie}${pe})`;if("/"===ie[0])return`url(${pe}${function oC(n){let s="";return s=n.indexOf("//")>-1?n.split("/").slice(0,3).join("/"):n.split("/")[0],s=s.split("?")[0],s}(s)+ie}${pe})`;const Ge=s.split("/"),Ae=ie.split("/");Ge.pop();for(const mt of Ae)"."!==mt&&(".."===mt?Ge.pop():Ge.push(mt));return`url(${pe}${Ge.join("/")}${pe})`})}const aC=/^[^ \t\n\r\u000c]+/,qD=/^[, \t\n\r\u000c]+/,ZD=new WeakMap;function ig(n,s){return s&&""!==s.trim()?x1(n,s):s}function gO(n){return!("svg"!==n.tagName&&!n.ownerSVGElement)}function x1(n,s){let c=ZD.get(n);if(c||(c=n.createElement("a"),ZD.set(n,c)),s){if(s.startsWith("blob:")||s.startsWith("data:"))return s}else s="";return c.setAttribute("href",s),c.href}function JD(n,s,c,u,y,F,I){if(!u)return u;if("src"===c||"href"===c&&("use"!==s||"#"!==u[0]))return ig(n,u);if("xlink:href"===c&&"#"!==u[0])return ig(n,u);if("background"===c&&("table"===s||"td"===s||"th"===s))return ig(n,u);if("srcset"===c)return function QD(n,s){if(""===s.trim())return s;let c=0;function u(F){let I;const J=F.exec(s.substring(c));return J?(I=J[0],c+=I.length,I):""}const y=[];for(;u(qD),!(c>=s.length);){let F=u(aC);if(","===F.slice(-1))F=ig(n,F.substring(0,F.length-1)),y.push(F);else{let I="";F=ig(n,F);let J=!1;for(;;){const ie=s.charAt(c);if(""===ie){y.push((F+I).trim());break}if(J)")"===ie&&(J=!1);else{if(","===ie){c+=1,y.push((F+I).trim());break}"("===ie&&(J=!0)}I+=ie,c+=1}}}return y.join(", ")}(n,u);if("style"===c){let J=ng(u,x1(n));return I&&I.size>0&&(J=function pO(n,s){if(!n||0===s.size)return n;try{const c=n.split(";"),u=[];for(let y of c){if(y=y.trim(),!y)continue;const F=y.indexOf(":");if(-1===F){u.push(y);continue}const I=y.slice(0,F).trim();s.has(I)||u.push(y)}return u.join("; ")+(u.length>0&&n.endsWith(";")?";":"")}catch(c){return console.warn("Error filtering CSS properties:",c),n}}(J,I)),J}return"object"===s&&"data"===c?ig(n,u):"function"==typeof F?F(c,u,y):u}function M1(n,s,c){return("video"===n||"audio"===n)&&"autoplay"===s}function Th(n,s,c=1/0,u=0){return!n||n.nodeType!==n.ELEMENT_NODE||u>c?-1:s(n)?u:Th(n.parentNode,s,c,u+1)}function Oh(n,s){return c=>{const u=c;if(null===u)return!1;try{if(n)if("string"==typeof n){if(u.matches(`.${n}`))return!0}else if(function ex(n,s){for(let c=n.classList.length;c--;)if(s.test(n.classList[c]))return!0;return!1}(u,n))return!0;return!(!s||!u.matches(s))}catch{return!1}}}function _d(n,s,c,u,y,F){try{const I=n.nodeType===n.ELEMENT_NODE?n:n.parentElement;if(null===I)return!1;if("INPUT"===I.tagName){const pe=I.getAttribute("autocomplete");if(["current-password","new-password","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc"].includes(pe))return!0}let J=-1,ie=-1;if(F){if(ie=Th(I,Oh(u,y)),ie<0)return!0;J=Th(I,Oh(s,c),ie>=0?ie:1/0)}else{if(J=Th(I,Oh(s,c)),J<0)return!1;ie=Th(I,Oh(u,y),J>=0?J:1/0)}return J>=0?!(ie>=0)||J<=ie:!(ie>=0||!F)}catch{}return!!F}function Po(n){return null==n?"":n.toLowerCase()}function rg(n,s){const{doc:c,mirror:u,blockClass:y,blockSelector:F,unblockSelector:I,maskAllText:J,maskTextClass:ie,unmaskTextClass:pe,maskTextSelector:Ge,unmaskTextSelector:Ae,skipChild:mt=!1,inlineStylesheet:ut=!0,maskInputOptions:Lt={},maskAttributeFn:vn,maskTextFn:Pn,maskInputFn:Nn,slimDOMOptions:bi,dataURLOptions:ir={},inlineImages:Li=!1,recordCanvas:Nr=!1,onSerialize:Ji,onIframeLoad:$n,iframeLoadTimeout:Vi=5e3,onBlockedImageLoad:$r,onStylesheetLoad:mi,stylesheetLoadTimeout:Xi=5e3,keepIframeSrcFn:Ii=()=>!1,newlyAddedElement:Hi=!1,ignoreCSSAttributes:rr}=s;let{preserveWhiteSpace:$s=!0}=s;const uo=function T1(n,s){const{doc:c,mirror:u,blockClass:y,blockSelector:F,unblockSelector:I,maskAllText:J,maskAttributeFn:ie,maskTextClass:pe,unmaskTextClass:Ge,maskTextSelector:Ae,unmaskTextSelector:mt,inlineStylesheet:ut,maskInputOptions:Lt={},maskTextFn:vn,maskInputFn:Pn,dataURLOptions:Nn={}
3,inlineImages:bi,recordCanvas:ir,keepIframeSrcFn:Li,newlyAddedElement:Nr=!1,ignoreCSSAttributes:Ji}=s,$n=function tx(n,s){if(!s.hasNode(n))return;const c=s.getId(n);return 1===c?void 0:c}(c,u);switch(n.nodeType){case n.DOCUMENT_NODE:return"CSS1Compat"!==n.compatMode?{type:kc.Document,childNodes:[],compatMode:n.compatMode}:{type:kc.Document,childNodes:[]};case n.DOCUMENT_TYPE_NODE:return{type:kc.DocumentType,name:n.name,publicId:n.publicId,systemId:n.systemId,rootId:$n};case n.ELEMENT_NODE:return function P1(n,s){const{doc:c,blockClass:u,blockSelector:y,unblockSelector:F,inlineStylesheet:I,maskInputOptions:J={},maskAttributeFn:ie,maskInputFn:pe,dataURLOptions:Ge={},inlineImages:Ae,recordCanvas:mt,keepIframeSrcFn:ut,newlyAddedElement:Lt=!1,rootId:vn,maskTextClass:Pn,unmaskTextClass:Nn,maskTextSelector:bi,unmaskTextSelector:ir,ignoreCSSAttributes:Li}=s,Nr=function d0(n,s,c,u){try{if(u&&n.matches(u))return!1;if("string"==typeof s){if(n.classList.contains(s))return!0}else for(let y=n.classList.length;y--;)if(s.test(n.classList[y]))return!0;if(c)return n.matches(c)}catch{}return!1}(n,u,y,F),Ji=function GD(n){if(n instanceof HTMLFormElement)return"form";const s=xh(n.tagName);return WD.test(s)?"div":s}(n);let $n={};const Vi=n.attributes.length;for(let mi=0;mi<Vi;mi++){const Xi=n.attributes[mi];Xi.name&&!M1(Ji,Xi.name)&&($n[Xi.name]=JD(c,Ji,xh(Xi.name),Xi.value,
3n,ie,Li))}if("link"===Ji&&I){const mi=Array.from(c.styleSheets).find(Ii=>Ii.href===n.href);let Xi=null;mi&&(Xi=E1(mi)),Xi&&($n.rel=null,$n.href=null,$n.crossorigin=null,$n._cssText=ng(Xi,mi.href))}if("style"===Ji&&n.sheet&&!(n.innerText||n.textContent||"").trim().length){const mi=E1(n.sheet);mi&&($n._cssText=ng(mi,x1(c)))}if("input"===Ji||"textarea"===Ji||"select"===Ji||"option"===Ji){const mi=n,Xi=If(mi),Ii=Mh(mi,eC(Ji),Xi),Hi=mi.checked;if("submit"!==Xi&&"button"!==Xi&&Ii){const rr=_d(mi,Pn,bi,Nn,ir,l0({type:Xi,tagName:eC(Ji),maskInputOptions:J}));$n.value=eg({isMasked:rr,element:mi,value:Ii,maskInputFn:pe})}Hi&&($n.checked=Hi)}if("option"===Ji&&(n.selected&&!J.select?$n.selected=!0:delete $n.selected),"canvas"===Ji&&mt)if("2d"===n.__context)(function HD(n){const s=n.getContext("2d");if(!s)return!0;for(let u=0;u<n.width;u+=50)for(let y=0;y<n.height;y+=50){const F=s.getImageData;if(new Uint32Array((tC in F?F[tC]:F).call(s,u,y,Math.min(50,n.width-u),Math.min(50,n.height-y)).data.buffer).some(ie=>0!==ie))return!1}return!0})(n)||($n.rr_dataURL=n.toDataURL(Ge.type,Ge.quality));else if(!("__context"in n)){const mi=n.toDataURL(Ge.type,Ge.quality),Xi=c.createElement("canvas");Xi.width=n.width,Xi.height=n.height,mi!==Xi.toDataURL(Ge.type,Ge.quality)&&($n.rr_dataURL=mi)}if("img"===Ji&&Ae){tg||(tg=c.createElement("canvas"),KD=tg.getContext("2d"));const mi=n,Xi=mi.currentSrc||mi.getAttribute("src")||"<unknown-src>",Ii=mi.crossOrigin,Hi=()=>{mi.removeEventListener("load",Hi);try{tg.width=mi.naturalWidth,tg.height=mi.naturalHeight,KD.drawImage(mi,0,0),$n.rr_dataURL=tg.toDataURL(Ge.type,Ge.quality)}catch(rr){if("anonymous"!==mi.crossOrigin)return mi.crossOrigin="anonymous",void(mi.complete&&0!==mi.naturalWidth?Hi():mi.addEventListener("load",Hi));console.warn(`Cannot inline img src=${Xi}! Error: ${rr}`)}"anonymous"===mi.crossOrigin&&(Ii?$n.crossOrigin=Ii:mi.removeAttribute("crossorigin"))};mi.complete&&0!==mi.naturalWidth?Hi():mi.addEventListener("load",Hi)}if(("audio"===Ji||"video"===Ji)&&($n.rr_mediaState=n.paused?"paused":"played",$n.rr_mediaCurrentTime=n.currentTime),Lt||(n.scrollLeft&&($n.rr_scrollLeft=n.scrollLeft),n.scrollTop&&($n.rr_scrollTop=n.scrollTop)),Nr){const{width:mi,height:Xi}=n.getBoundingClientRect();$n={class:$n.class,rr_width:`${mi}px`,rr_height:`${Xi}px`}}let $r;"iframe"===Ji&&!ut($n.src)&&(!Nr&&!iC(n)&&($n.rr_src=$n.src),delete $n.src);try{customElements.get(Ji)&&($r=!0)}catch{}return{type:kc.Element,tagName:Ji,attributes:$n,childNodes:[],isSVG:gO(n)||void 0,needBlock:Nr,rootId:vn,isCustom:$r}}(n,{doc:c,blockClass:y,blockSelector:F,unblockSelector:I,inlineStylesheet:ut,maskAttributeFn:ie,maskInputOptions:Lt,maskInputFn:Pn,dataURLOptions:Nn,inlineImages:bi,recordCanvas:ir,keepIframeSrcFn:Li,newlyAddedElement:Nr,rootId:$n,maskTextClass:pe,unmaskTextClass:Ge,maskTextSelector:Ae,unmaskTextSelector:mt,ignoreCSSAttributes:Ji});case n.TEXT_NODE:return function O1(n,s){const{maskAllText:c,maskTextClass:u,unmaskTextClass:y,maskTextSelector:F,unmaskTextSelector:I,maskTextFn:J,maskInputOptions:ie,maskInputFn:pe,rootId:Ge}=s,Ae=n.parentNode&&n.parentNode.tagName;let mt=n.textContent;const ut="STYLE"===Ae||void 0,Lt="SCRIPT"===Ae||void 0,vn="TEXTAREA"===Ae||void 0;if(ut&&mt){try{n.nextSibling||n.previousSibling||n.parentNode.sheet?.cssRules&&(mt=E1(n.parentNode.sheet))}catch(Nn){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${Nn}`,n)}mt=ng(mt,x1(s.doc))}Lt&&(mt="SCRIPT_PLACEHOLDER");const Pn=_d(n,u,F,y,I,c);return!ut&&!Lt&&!vn&&mt&&Pn&&(mt=J?J(mt,n.parentElement):mt.replace(/[\S]/g,"*")),vn&&mt&&(ie.textarea||Pn)&&(mt=pe?pe(mt,n.parentNode):mt.replace(/[\S]/g,"*")),"OPTION"===Ae&&mt&&(mt=eg({isMasked:_d(n,u,F,y,I,l0({type:null,tagName:Ae,maskInputOptions:ie})),element:n,value:mt,maskInputFn:pe})),{type:kc.Text,textContent:mt||"",isStyle:ut,rootId:Ge}}(n,{doc:c,maskAllText:J,maskTextClass:pe,unmaskTextClass:Ge,maskTextSelector:Ae,unmaskTextSelector:mt,maskTextFn:vn,maskInputOptions:Lt,maskInputFn:Pn,rootId:$n});case n.CDATA_SECTION_NODE:return{type:kc.CDATA,textContent:"",rootId:$n};case n.COMMENT_NODE:return{type:kc.Comment,textContent:n.textContent||"",rootId:$n};default:return!1}}(n,{doc:c,mirror:u,blockClass:y,blockSelector:F,maskAllText:J,unblockSelector:I,maskTextClass:ie,unmaskTextClass:pe,maskTextSelector:Ge,unmaskTextSelector:Ae,inlineStylesheet:ut,maskInputOptions:Lt,maskAttributeFn:vn,maskTextFn:Pn,maskInputFn:Nn,dataURLOptions:ir,inlineImages:Li,recordCanvas:Nr,keepIframeSrcFn:Ii,newlyAddedElement:Hi,ignoreCSSAttributes:rr});if(!uo)return console.warn(n,"not serialized"),null;let Fr;
3Fr=u.hasNode(n)?u.getId(n):function mO(n,s){if(s.comment&&n.type===kc.Comment)return!0;if(n.type===kc.Element){if(s.script&&("script"===n.tagName||"link"===n.tagName&&("preload"===n.attributes.rel||"modulepreload"===n.attributes.rel)||"link"===n.tagName&&"prefetch"===n.attributes.rel&&"string"==typeof n.attributes.href&&"js"===S1(n.attributes.href)))return!0;if(s.headFavicon&&("link"===n.tagName&&"shortcut icon"===n.attributes.rel||"meta"===n.tagName&&(Po(n.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===Po(n.attributes.name)||"icon"===Po(n.attributes.rel)||"apple-touch-icon"===Po(n.attributes.rel)||"shortcut icon"===Po(n.attributes.rel))))return!0;if("meta"===n.tagName){if(s.headMetaDescKeywords&&Po(n.attributes.name).match(/^description|keywords$/))return!0;if(s.headMetaSocial&&(Po(n.attributes.property).match(/^(og|twitter|fb):/)||Po(n.attributes.name).match(/^(og|twitter):/)||"pinterest"===Po(n.attributes.name)))return!0;if(s.headMetaRobots&&("robots"===Po(n.attributes.name)||"googlebot"===Po(n.attributes.name)||"bingbot"===Po(n.attributes.name)))return!0;if(s.headMetaHttpEquiv&&void 0!==n.attributes["http-equiv"])return!0;if(s.headMetaAuthorship&&("author"===Po(n.attributes.name)||"generator"===Po(n.attributes.name)||"framework"===Po(n.attributes.name)||"publisher"===Po(n.attributes.name)||"progid"===Po(n.attributes.name)||Po(n.attributes.property).match(/^article:/)||Po(n.attributes.property).match(/^product:/)))return!0;if(s.headMetaVerification&&("google-site-verification"===Po(n.attributes.name)||"yandex-verification"===Po(n.attributes.name)||"csrf-token"===Po(n.attributes.name)||"p:domain_verify"===Po(n.attributes.name)||"verify-v1"===Po(n.attributes.name)||"verification"===Po(n.attributes.name)||"shopify-checkout-api-token"===Po(n.attributes.name)))return!0}}return!1}(uo,bi)||!$s&&uo.type===kc.Text&&!uo.isStyle&&!uo.textContent.trim().length?th:sC();const Ni=Object.assign(uo,{id:Fr});if(u.add(n,Ni),Fr===th)return null;Ji&&Ji(n);let Er=!mt;if(Ni.type===kc.Element){Er=Er&&!Ni.needBlock;const er=n.shadowRoot;er&&Pf(er)&&(Ni.isShadowHost=!0)}if((Ni.type===kc.Document||Ni.type===kc.Element)&&Er){bi.headWhitespace&&Ni.type===kc.Element&&"head"===Ni.tagName&&($s=!1);const er={doc:c,mirror:u,blockClass:y,blockSelector:F,maskAllText:J,unblockSelector:I,maskTextClass:ie,unmaskTextClass:pe,maskTextSelector:Ge,unmaskTextSelector:Ae,skipChild:mt,inlineStylesheet:ut,maskInputOptions:Lt,maskAttributeFn:vn,maskTextFn:Pn,maskInputFn:Nn,slimDOMOptions:bi,dataURLOptions:ir,inlineImages:Li,recordCanvas:Nr,preserveWhiteSpace:$s,onSerialize:Ji,onIframeLoad:$n,iframeLoadTimeout:Vi,onBlockedImageLoad:$r,onStylesheetLoad:mi,stylesheetLoadTimeout:Xi,keepIframeSrcFn:Ii,ignoreCSSAttributes:rr},Fs=n.childNodes?Array.from(n.childNodes):[];for(const Go of Fs){const ya=rg(Go,er);ya&&Ni.childNodes.push(ya)}if(function w1(n){return n.nodeType===n.ELEMENT_NODE}(n)&&n.shadowRoot)for(const Go of Array.from(n.shadowRoot.childNodes)){const ya=rg(Go,er);ya&&(Pf(n.shadowRoot)&&(ya.isShadow=!0),Ni.childNodes.push(ya))}}if(n.parentNode&&Zp(n.parentNode)&&Pf(n.parentNode)&&(Ni.isShadow=!0),Ni.type===kc.Element&&"iframe"===Ni.tagName&&!Ni.needBlock&&function cC(n,s,c){const u=function uO(n){try{return n.contentWindow}catch{}}(n);if(!u)return;let F,y=!1;try{F=u.document.readyState}catch{return}if("complete"!==F){const J=pu(()=>{y||(s(),y=!0)},c);return void n.addEventListener("load",()=>{Ah(J),y=!0,s()})}const I="about:blank";if(u.location.href!==I||n.src===I||""===n.src)return pu(s,0),n.addEventListener("load",s);n.addEventListener("load",s)}(n,()=>{const er=iC(n);if(er&&$n){const Fs=rg(er,{doc:er,mirror:u,blockClass:y,blockSelector:F,unblockSelector:I,maskAllText:J,maskTextClass:ie,unmaskTextClass:pe,maskTextSelector:Ge,unmaskTextSelector:Ae,skipChild:!1,inlineStylesheet:ut,maskInputOptions:Lt,maskAttributeFn:vn,maskTextFn:Pn,maskInputFn:Nn,slimDOMOptions:bi,dataURLOptions:ir,inlineImages:Li,recordCanvas:Nr,preserveWhiteSpace:$s,onSerialize:Ji,onIframeLoad:$n,iframeLoadTimeout:Vi,onStylesheetLoad:mi,stylesheetLoadTimeout:Xi,keepIframeSrcFn:Ii,ignoreCSSAttributes:rr});Fs&&$n(n,Fs)}},Vi),Ni.type===kc.Element&&"img"===Ni.tagName&&!n.complete&&Ni.needBlock){const er=n,Fs=()=>
3{if(er.isConnected&&!er.complete&&$r)try{const Go=er.getBoundingClientRect();Go.width>0&&Go.height>0&&$r(er,Ni,Go)}catch{}er.removeEventListener("load",Fs)};er.isConnected&&er.addEventListener("load",Fs)}return Ni.type===kc.Element&&"link"===Ni.tagName&&"string"==typeof Ni.attributes.rel&&("stylesheet"===Ni.attributes.rel||"preload"===Ni.attributes.rel&&"string"==typeof Ni.attributes.href&&"css"===S1(Ni.attributes.href))&&function A1(n,s,c){let y,u=!1;try{y=n.sheet}catch{y=null}if(y)return;const F=pu(()=>{u||(s(),u=!0)},c);n.addEventListener("load",()=>{Ah(F),u=!0,s()})}(n,()=>{if(mi){const er=rg(n,{doc:c,mirror:u,blockClass:y,blockSelector:F,unblockSelector:I,maskAllText:J,maskTextClass:ie,unmaskTextClass:pe,maskTextSelector:Ge,unmaskTextSelector:Ae,skipChild:!1,inlineStylesheet:ut,maskInputOptions:Lt,maskAttributeFn:vn,maskTextFn:Pn,maskInputFn:Nn,slimDOMOptions:bi,dataURLOptions:ir,inlineImages:Li,recordCanvas:Nr,preserveWhiteSpace:$s,onSerialize:Ji,onIframeLoad:$n,iframeLoadTimeout:Vi,onStylesheetLoad:mi,stylesheetLoadTimeout:Xi,keepIframeSrcFn:Ii,ignoreCSSAttributes:rr});er&&mi(n,er)}},Xi),Ni.type===kc.Element&&delete Ni.needBlock,Ni}function pl(n,s,c=document){const u={capture:!0,passive:!0};return c.addEventListener(n,s,u),()=>c.removeEventListener(n,s,u)}const Nf="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.";let lC={map:{},getId:()=>(console.error(Nf),-1),getNode:()=>(console.error(Nf),null),removeNodeFromMap(){console.error(Nf)},has:()=>(console.error(Nf),!1),reset(){console.error(Nf)}};function sg(n,s,c={}){let u=null,y=0;return function(...F){const I=Date.now();!y&&!1===c.leading&&(y=I);const J=s-(I-y),ie=this;J<=0||J>s?(u&&(function _O(...n){p0("clearTimeout")(...n)}(u),u=null),y=I,n.apply(ie,F)):!u&&!1!==c.trailing&&(u=g0(()=>{y=!1===c.leading?0:Date.now(),u=null,n.apply(ie,F)},J))}}function dC(n,s,c,u,y=window){const F=y.Object.getOwnPropertyDescriptor(n,s);return y.Object.defineProperty(n,s,u?c:{set(I){g0(()=>{c.set.call(this,I)},0),F&&F.set&&F.set.call(this,I)}}),()=>dC(n,s,F||{},!0)}function u0(n,s,c){try{if(!(s in n))return()=>{};const u=n[s],y=c(u);return"function"==typeof y&&(y.prototype=y.prototype||{},Object.defineProperties(y,{__rrweb_original__:{enumerable:!1,value:u}})),n[s]=y,()=>{n[s]=u}}catch{return()=>{}}}typeof window<"u"&&window.Proxy&&window.Reflect&&(lC=new Proxy(lC,{get:(n,s,c)=>("map"===s&&console.error(Nf),Reflect.get(n,s,c))}));let og=Date.now;function I1(n){const s=n.document;return{left:s.scrollingElement?s.scrollingElement.scrollLeft:void 0!==n.pageXOffset?n.pageXOffset:s?.documentElement.scrollLeft||s?.body?.parentElement?.scrollLeft||s?.body?.scrollLeft||0,top:s.scrollingElement?s.scrollingElement.scrollTop:void 0!==n.pageYOffset?n.pageYOffset:s?.documentElement.scrollTop||s?.body?.parentElement?.scrollTop||s?.body?.scrollTop||0}}function uC(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function hC(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function N1(n){if(!n)return null;try{return n.nodeType===n.ELEMENT_NODE?n:n.parentElement}catch{return null}}function Dl(n,s,c,u,y){if(!n)return!1;const F=N1(n);if(!F)return!1;const I=Oh(s,c);if(!y){const pe=u&&F.matches(u);return I(F)&&!pe}const J=Th(F,I);let ie=-1;return!(J<0)&&(u&&(ie=Th(F,Oh(null,u))),J>-1&&ie<0||J<ie)}function h0(n,s){return s.getId(n)===th}function f0(n,s){if(Zp(n))return!1;const c=s.getId(n);return!s.has(c)||(!n.parentNode||n.parentNode.nodeType!==n.DOCUMENT_NODE)&&(!n.parentNode||f0(n.parentNode,s))}function R1(n){return!!n.changedTouches}function ix(n,s){return!("IFRAME"!==n.nodeName||!s.getMeta(n))}function rx(n,s){return!("LINK"!==n.nodeName||n.nodeType!==n.ELEMENT_NODE||!n.getAttribute||"stylesheet"!==n.getAttribute("rel")||!s.getMeta(n))}function fC(n){return!!n?.shadowRoot}/[1-9][0-9]{12}/.test(Date.now().toString())||(og=()=>(new Date).getTime());class sx{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(s){return this.styleIDMap.get(s)??-1}has(s){return this.styleIDMap.has(s)}add(s,c){if(this.has(s))return this.getId(s);let u;return u=void 0===c?this.id++:c,this.styleIDMap.set(s,u),this.idStyleMap.set(u,s),u}getStyle(s){return this.idStyleMap.get(s)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}function ox(n){let s=null;return n.getRootNode?.()?.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&n.getRootNode().host&&(s=n.getRootNode().host),s}function cg(n){const s=n.ownerDocument;return!!s&&(s.contains(n)||function ag(n){const s=n.ownerDocument;if(!s)return!1;const c=function Sc(n){let c,s=n;for(;c=ox(s);)s=c;return s}(n);return s.contains(c)}(n))}const lg={};function p0(n){const s=lg[n];if(s)return s;const c=window.document;let u=window[n];if(c&&"function"==typeof c.createElement)try{const y=c.createElement("iframe");y.hidden=!0,c.head.appendChild(y);const F=y.contentWindow;F&&F[n]&&(u=F[n]),c.head.removeChild(y)}catch{}return lg[n]=u.bind(window)}function g0(...n){return p0("setTimeout")(...n)}var _s=(n=>(n[n.DomContentLoaded=0]="DomContentLoaded",n[n.Load=1]="Load",n[n.FullSnapshot=2]="FullSnapshot",n[n.IncrementalSnapshot=3]="IncrementalSnapshot",n[n.Meta=4]="Meta",n[n.Custom=5]="Custom",n[n.Plugin=6]="Plugin",n))(_
3s||{}),Ar=(n=>(n[n.Mutation=0]="Mutation",n[n.MouseMove=1]="MouseMove",n[n.MouseInteraction=2]="MouseInteraction",n[n.Scroll=3]="Scroll",n[n.ViewportResize=4]="ViewportResize",n[n.Input=5]="Input",n[n.TouchMove=6]="TouchMove",n[n.MediaInteraction=7]="MediaInteraction",n[n.StyleSheetRule=8]="StyleSheetRule",n[n.CanvasMutation=9]="CanvasMutation",n[n.Font=10]="Font",n[n.Log=11]="Log",n[n.Drag=12]="Drag",n[n.StyleDeclaration=13]="StyleDeclaration",n[n.Selection=14]="Selection",n[n.AdoptedStyleSheet=15]="AdoptedStyleSheet",n[n.CustomElement=16]="CustomElement",n))(Ar||{}),xl=(n=>(n[n.MouseUp=0]="MouseUp",n[n.MouseDown=1]="MouseDown",n[n.Click=2]="Click",n[n.ContextMenu=3]="ContextMenu",n[n.DblClick=4]="DblClick",n[n.Focus=5]="Focus",n[n.Blur=6]="Blur",n[n.TouchStart=7]="TouchStart",n[n.TouchMove_Departed=8]="TouchMove_Departed",n[n.TouchEnd=9]="TouchEnd",n[n.TouchCancel=10]="TouchCancel",n))(xl||{}),gu=(n=>(n[n.Mouse=0]="Mouse",n[n.Pen=1]="Pen",n[n.Touch=2]="Touch",n))(gu||{}),Ph=(n=>(n[n.Play=0]="Play",n[n.Pause=1]="Pause",n[n.Seeked=2]="Seeked",n[n.VolumeChange=3]="VolumeChange",n[n.RateChange=4]="RateChange",n))(Ph||{});let Rf;const no=n=>Rf?(...c)=>{try{return n(...c)}catch(u){if(Rf&&!0===Rf(u))return()=>{};throw u}}:n;for(var cx=typeof Uint8Array>"u"?[]:new Uint8Array(256),dg=0;dg<64;dg++)cx["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(dg)]=dg;class ug{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}addWindow(){}addShadowRoot(){}resetShadowRoots(){}}function Ih(n){try{return n.contentDocument}catch{}}function nh(n){try{return n.contentWindow}catch{}}class gC{constructor(s){this.doc=s,this.unattachedDoc=null}parse(s){return this.parseWithConstructableStylesheet(s)||this.parseWithDetachedElement(s)}parseWithConstructableStylesheet(s){if(typeof CSSStyleSheet>"u"||"function"!=typeof CSSStyleSheet.prototype.replaceSync)return null;try{const c=new CSSStyleSheet;c.replaceSync(`x { ${s} }`);const u=c.cssRules[0];return u&&u.type===CSSRule.STYLE_RULE?u.style:null}catch{return null}}parseWithDetachedElement(s){const c=this.getUnattachedDoc().createElement("span");return c.setAttribute("style",s),c.style}getUnattachedDoc(){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch{this.unattachedDoc=this.doc}return this.unattachedDoc}}function L1(n){return"__ln"in n}class FO{constructor(){this.length=0,this.head=null,this.tail=null}get(s){if(s>=this.length)throw new Error("Position outside of list range");let c=this.head;for(let u=0;u<s;u++)c=c?.next||null;return c}addNode(s){const c={value:s,previous:null,next:null};if(s.__ln=c,s.previousSibling&&L1(s.previousSibling)){const u=s.previousSibling.__ln.next;c.next=u,c.previous=s.previousSibling.__ln,s.previousSibling.__ln.next=c,u&&(u.previous=c)}else if(s.nextSibling&&L1(s.nextSibling)&&s.nextSibling.__ln.previous){const u=s.nextSibling.__ln.previous;c.previous=u,c.next=s.nextSibling.__ln,s.nextSibling.__ln.previous=c,u&&(u.next=c)}else this.head&&(this.head.previous=c),c.next=this.head,this.head=c;null===c.next&&(this.tail=c),this.length++}removeNode(s){const c=s.__ln;this.head&&(c.previous?(c.previous.next=c.next,c.next?c.next.previous=c.previous:this.tail=c.previous):(this.head=c.next,this.head?this.head.previous=null:this.tail=null),s.__ln&&delete s.__ln,this.length--)}}const lx=(n,s)=>`${n}@${s}`;class wO{constructor(){this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=s=>{s.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;const s=[],c=new Set,u=new FO,y=ie=>{let pe=ie,Ge=th;for(;Ge===th;)pe=pe&&pe.nextSibling,Ge=pe&&this.mirror.getId(pe);return Ge},F=ie=>{if(!ie.parentNode||!cg(ie))return;const pe=Zp(ie.parentNode)?this.mirror.getId(ox(ie)):this.mirror.getId(ie.parentNode),Ge=y(ie);if(-1===pe||-1===Ge)return u.addNode(ie);const Ae=rg(ie,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskAllText:this.maskAllText,unblockSelector:this.unblockSelector,maskTextClass:this.maskTextClass,unmaskTextClass:this.unmaskTextClass,maskTextSelector:this.maskTextSelector,unmaskTextSelector:this.unmaskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inl
3ineStylesheet,maskInputOptions:this.maskInputOptions,maskAttributeFn:this.maskAttributeFn,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:mt=>{ix(mt,this.mirror)&&!Dl(mt,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&this.iframeManager.addIframe(mt),rx(mt,this.mirror)&&this.stylesheetManager.trackLinkElement(mt),fC(ie)&&this.shadowDomManager.addShadowRoot(ie.shadowRoot,this.doc)},onIframeLoad:(mt,ut)=>{if(Dl(mt,this.blockClass,this.blockSelector,this.unblockSelector,!1))return;this.iframeManager.attachIframe(mt,ut);const Lt=nh(mt);Lt&&this.canvasManager.addWindow(Lt),this.shadowDomManager.observeAttachShadow(mt)},onStylesheetLoad:(mt,ut)=>{this.stylesheetManager.attachLinkElement(mt,ut)},onBlockedImageLoad:(mt,ut,{width:Lt,height:vn})=>{this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:ut.id,attributes:{style:{width:`${Lt}px`,height:`${vn}px`}}}]})},ignoreCSSAttributes:this.ignoreCSSAttributes});Ae&&(s.push({parentId:pe,nextId:Ge,node:Ae}),c.add(Ae.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(const ie of this.movedSet)mC(this.removes,ie,this.mirror)&&!this.movedSet.has(ie.parentNode)||F(ie);for(const ie of this.addedSet)!j1(this.droppedSet,ie)&&!mC(this.removes,ie,this.mirror)||j1(this.movedSet,ie)?F(ie):this.droppedSet.add(ie);let I=null;for(;u.length;){let ie=null;if(I){const pe=this.mirror.getId(I.value.parentNode),Ge=y(I.value);-1!==pe&&-1!==Ge&&(ie=I)}if(!ie){let pe=u.tail;for(;pe;){const Ge=pe;if(pe=pe.previous,Ge){const Ae=this.mirror.getId(Ge.value.parentNode);if(-1===y(Ge.value))continue;if(-1!==Ae){ie=Ge;break}{const ut=Ge.value;if(ut.parentNode&&ut.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&-1!==this.mirror.getId(ut.parentNode.host)){ie=Ge;break}}}}}if(!ie){for(;u.head;)u.removeNode(u.head.value);break}I=ie.previous,u.removeNode(ie.value),F(ie.value)}const J={texts:this.texts.map(ie=>({id:this.mirror.getId(ie.node),value:ie.value})).filter(ie=>!c.has(ie.id)).filter(ie=>this.mirror.has(ie.id)),attributes:this.attributes.map(ie=>{const{attributes:pe}=ie;if("string"==typeof pe.style){const Ge=JSON.stringify(ie.styleDiff),Ae=JSON.stringify(ie._unchangedStyles);Ge.length<pe.style.length&&(Ge+Ae).split("var(").length===pe.style.split("var(").length&&(pe.style=ie.styleDiff)}return{id:this.mirror.getId(ie.node),attributes:pe}}).filter(ie=>!c.has(ie.id)).filter(ie=>this.mirror.has(ie.id)),removes:this.removes,adds:s};!J.texts.length&&!J.attributes.length&&!J.removes.length&&!J.adds.length||(this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(J))},this.processMutation=s=>{if(!h0(s.target,this.mirror))switch(s.type){case"characterData":{const c=s.target.textContent;!Dl(s.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&c!==s.oldValue&&this.texts.push({value:_d(s.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&&c?this.maskTextFn?this.maskTextFn(c,N1(s.target)):c.replace(/[\S]/g,"*"):c,node:s.target});break}case"attributes":{const c=s.target;let u=s.attributeName,y=s.target.getAttribute(u);if("value"===u){const I=If(c),J=c.tagName;y=Mh(c,J,I);const ie=l0({maskInputOptions:this.maskInputOptions,tagName:J,type:I});y=eg({isMasked:_d(s.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,ie),element:c,value:y,maskInputFn:this.maskInputFn})}if(Dl(s.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||y===s.oldValue)return;let F=this.attributeMap.get(s.target);if("IFRAME"===c.tagName&&"src"===u&&!this.keepIframeSrcFn(y)){if(Ih(c))return;u="rr_src"}if(F||(F={node:s.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(F),this.attributeMap.set(s.target,F)),"type"===u&&"INPUT"===c.tagName&&"password"===(s.oldValue||"").toLowerCase()&&c.setAttribute("data-rr-is-password","true"),!M1(c.tagName,u)&&(F.attributes[u]=JD(this.doc,xh(c.tagName),xh(u),y,c,this.maskAttributeFn),"style"===u)){const I=s.oldValue?this.styleDeclarationParser.parse(s.oldValue):null;for(const J of Array.from(c.style)){const ie=c.style.getPropertyValue(J),pe=c.style.getPropertyPriority(J);ie!==(I?.getPropertyValue(J)||"")||pe!==(I?.getPropertyPriority(J)||"")?F.styleDiff[J]=""===pe?ie:[ie,pe]:F._unchangedStyles[J]=[ie,pe]}if(I)for(const J of Array.from(I))""===c.style.getPropertyValue(J)&&(F.styleDiff[J]=!1)}break}case"childList":if(Dl(s.target,this.blockClass,this.blockSelector,this.unblockSelector,!0))return;
3s.addedNodes.forEach(c=>this.genAdds(c,s.target)),s.removedNodes.forEach(c=>{const u=this.mirror.getId(c),y=Zp(s.target)?this.mirror.getId(s.target.host):this.mirror.getId(s.target);Dl(s.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||h0(c,this.mirror)||!function bO(n,s){return-1!==s.getId(n)}(c,this.mirror)||(this.addedSet.has(c)?(U1(this.addedSet,c),this.droppedSet.add(c)):this.addedSet.has(s.target)&&-1===u||f0(s.target,this.mirror)||(this.movedSet.has(c)&&this.movedMap[lx(u,y)]?U1(this.movedSet,c):this.removes.push({parentId:y,id:u,isShadow:!(!Zp(s.target)||!Pf(s.target))||void 0})),this.mapRemoves.push(c))})}},this.genAdds=(s,c)=>{if(!this.processedNodeManager.inOtherBuffer(s,this)&&!this.addedSet.has(s)&&!this.movedSet.has(s)){if(this.mirror.hasNode(s)){if(h0(s,this.mirror))return;this.movedSet.add(s);let u=null;c&&this.mirror.hasNode(c)&&(u=this.mirror.getId(c)),u&&-1!==u&&(this.movedMap[lx(this.mirror.getId(s),u)]=!0)}else this.addedSet.add(s),this.droppedSet.delete(s);Dl(s,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(s.childNodes&&s.childNodes.forEach(u=>this.genAdds(u)),fC(s)&&s.shadowRoot.childNodes.forEach(u=>{this.processedNodeManager.add(u,this),this.genAdds(u,s)}))}}}init(s){["mutationCb","blockClass","blockSelector","unblockSelector","maskAllText","maskTextClass","unmaskTextClass","maskTextSelector","unmaskTextSelector","inlineStylesheet","maskInputOptions","maskAttributeFn","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager","ignoreCSSAttributes"].forEach(c=>{this[c]=s[c]}),this.styleDeclarationParser=new gC(this.doc)}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}}function U1(n,s){n.delete(s),s.childNodes?.forEach(c=>U1(n,c))}function mC(n,s,c){return 0!==n.length&&function CO(n,s,c){let u=s.parentNode;for(;u;){const y=c.getId(u);if(n.some(F=>F.id===y))return!0;u=u.parentNode}return!1}(n,s,c)}function j1(n,s){return 0!==n.size&&V1(n,s)}function V1(n,s){const{parentNode:c}=s;return!!c&&(!!n.has(c)||V1(n,c))}const hg=[];function ih(n){try{if("composedPath"in n){const s=n.composedPath();if(s.length)return s[0]}else if("path"in n&&n.path.length)return n.path[0]}catch{}return n&&n.target}function dx(n,s){const c=new wO;hg.push(c),c.init(n);let u=window.MutationObserver||window.__rrMutationObserver;const y=window?.Zone?.__symbol__?.("MutationObserver");y&&window[y]&&(u=window[y]);const F=new u(no(I=>{n.onMutation&&!1===n.onMutation(I)||c.processMutations.bind(c)(I)}));return F.observe(s,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),F}function yC({scrollCb:n,doc:s,mirror:c,blockClass:u,blockSelector:y,unblockSelector:F,sampling:I}){return pl("scroll",no(sg(no(ie=>{const pe=ih(ie);if(!pe||Dl(pe,u,y,F,!0))return;const Ge=c.getId(pe);if(pe===s&&s.defaultView){const Ae=I1(s.defaultView);n({id:Ge,x:Ae.left,y:Ae.top})}else n({id:Ge,x:pe.scrollLeft,y:pe.scrollTop})}),I.scroll||100)),s)}const DO=["INPUT","TEXTAREA","SELECT"],bC=new WeakMap;function ux({inputCb:n,doc:s,mirror:c,blockClass:u,blockSelector:y,unblockSelector:F,ignoreClass:I,ignoreSelector:J,maskInputOptions:ie,maskInputFn:pe,sampling:Ge,userTriggeredOnInput:Ae,maskTextClass:mt,unmaskTextClass:ut,maskTextSelector:Lt,unmaskTextSelector:vn}){function Pn($n){let Vi=ih($n);const $r=$n.isTrusted,mi=Vi&&eC(Vi.tagName);if("OPTION"===mi&&(Vi=Vi.parentElement),!Vi||!mi||DO.indexOf(mi)<0||Dl(Vi,u,y,F,!0))return;const Xi=Vi;if(Xi.classList.contains(I)||J&&Xi.matches(J))return;const Ii=If(Vi);let Hi=Mh(Xi,mi,Ii),rr=!1;const $s=l0({maskInputOptions:ie,tagName:mi,type:Ii}),uo=_d(Vi,mt,Lt,ut,vn,$s);("radio"===Ii||"checkbox"===Ii)&&(rr=Vi.checked),Hi=eg({isMasked:uo,element:Vi,value:Hi,maskInputFn:pe}),Nn(Vi,Ae?{text:Hi,isChecked:rr,userTriggered:$r}:{text:Hi,isChecked:rr});const Fr=Vi.name;"radio"===Ii&&Fr&&rr&&s.querySelectorAll(`input[type="radio"][name="${Fr}"]`).forEach(Ni=>{if(Ni!==Vi){const Er=eg({isMasked:uo,element:Ni,value:Mh(Ni,mi,Ii),maskInputFn:pe});Nn(Ni,Ae?{text:Er,isChecked:!rr,userTriggered:!1}:{text:Er,isChecked:!rr})}})}function Nn($n,Vi){const $r=bC.get($n);if(!$r||$r.text!==Vi.text||$r.isChecked!==Vi.isChecked){bC.set($n,Vi);const mi=c.getId($n);no(n)({...Vi,id:mi})}}const ir=("last"===Ge.input?["change"]:["input","change"]).map($n=>pl($n,no(Pn),s)),Li=s.defaultView;if(!Li)return()=>{ir.forEach($n=>$n())};const Nr=Li.Object.getOwnPropertyDescriptor(Li.HTMLInputElement.prototype,"value");return Nr&&Nr.set&&ir.push(...[[Li.HTMLInputElement.prototype,"value"],[Li.HTMLInputElement.prototype,"checked"],[Li.HTMLSelectElement.prototype,"value"],[Li.HTMLTextAreaElement.prototype,"value"],[Li.HTMLSelectElement.prototype,"selectedIndex"],[Li.HTMLOptionElement.prototype,"selected"]].map($n=>dC($n[0],$n[1],{set(){no(Pn)({target:this,isTrusted:!1})}},!1,Li))),no(()=>{ir.forEach($n=>$n())})}function z1(n){return function c(u,y){if(m0("CSSGroupingRule")&&u.parentRule instanceof CSSGroupingRule||m0("CSSMediaRule")&&u.parentRule instanceof CSSMediaRule||m0("CSSSupportsRule")&&u.parentRule instanceof CSSSupportsRule||m0("CSSConditionRule")&&u.parentRule instanceof CSSConditionRule){const I=Array.from(u.parentRule.cssRules).indexOf(u);y.unshift(I)}else if(u.parentStyleSheet){const I=Array.from(u.parentStyleSheet.cssRules).indexOf(u);y.unshift(I)}return y}(n,[])}function Pu(n,s,c){let u,y;return n?(n.ownerNode?u=s.getId(n.ownerNode):y=c.getId(n),{styleId:y,id:u}):{}}
3function fx({mirror:n,stylesheetManager:s},c){let u=null;u=n.getId("#document"===c.nodeName?c:c.host);const y="#document"===c.nodeName?c.defaultView?.Document:c.ownerDocument?.defaultView?.ShadowRoot,F=y?.prototype?Object.getOwnPropertyDescriptor(y?.prototype,"adoptedStyleSheets"):void 0;return null!==u&&-1!==u&&y&&F?(Object.defineProperty(c,"adoptedStyleSheets",{configurable:F.configurable,enumerable:F.enumerable,get(){return F.get?.call(this)},set(I){const J=F.set?.call(this,I);if(null!==u&&-1!==u)try{s.adoptStyleSheets(I,u)}catch{}return J}}),no(()=>{Object.defineProperty(c,"adoptedStyleSheets",{configurable:F.configurable,enumerable:F.enumerable,get:F.get,set:F.set})})):()=>{}}function bx(n,s={}){const c=n.doc.defaultView;if(!c)return()=>{};let u;n.recordDOM&&(u=dx(n,n.doc));const y=function EO({mousemoveCb:n,sampling:s,doc:c,mirror:u}){if(!1===s.mousemove)return()=>{};const y="number"==typeof s.mousemove?s.mousemove:50,F="number"==typeof s.mousemoveCallback?s.mousemoveCallback:500;let J,I=[];const ie=sg(no(Ae=>{const mt=Date.now()-J;n(I.map(ut=>(ut.timeOffset-=mt,ut)),Ae),I=[],J=null}),F),pe=no(sg(no(Ae=>{const mt=ih(Ae),{clientX:ut,clientY:Lt}=R1(Ae)?Ae.changedTouches[0]:Ae;
vendor: 7,398 bytes, line 3
3J||(J=og()),I.push({x:ut,y:Lt,id:u.getId(mt),timeOffset:og()-J}),ie(typeof DragEvent<"u"&&Ae instanceof DragEvent?Ar.Drag:Ae instanceof MouseEvent?Ar.MouseMove:Ar.TouchMove)}),y,{trailing:!1})),Ge=[pl("mousemove",pe,c),pl("touchmove",pe,c),pl("drag",pe,c)];return no(()=>{Ge.forEach(Ae=>Ae())})}(n),F=function kO({mouseInteractionCb:n,doc:s,mirror:c,blockClass:u,blockSelector:y,unblockSelector:F,sampling:I}){if(!1===I.mouseInteraction)return()=>{};const J=!0===I.mouseInteraction||void 0===I.mouseInteraction?{}:I.mouseInteraction,ie=[];let pe=null;return Object.keys(xl).filter(Ae=>Number.isNaN(Number(Ae))&&!Ae.endsWith("_Departed")&&!1!==J[Ae]).forEach(Ae=>{let mt=xh(Ae);const ut=(Ae=>mt=>{const ut=ih(mt);if(Dl(ut,u,y,F,!0))return;let Lt=null,vn=Ae;if("pointerType"in mt){switch(mt.pointerType){case"mouse":Lt=gu.Mouse;break;case"touch":Lt=gu.Touch;break;case"pen":Lt=gu.Pen}Lt===gu.Touch&&(xl[Ae]===xl.MouseDown?vn="TouchStart":xl[Ae]===xl.MouseUp&&(vn="TouchEnd"))}else R1(mt)&&(Lt=gu.Touch);null!==Lt?(pe=Lt,(vn.startsWith("Touch")&&Lt===gu.Touch||vn.startsWith("Mouse")&&Lt===gu.Mouse)&&(Lt=null)):xl[Ae]===xl.Click&&(Lt=pe,pe=null);const Pn=R1(mt)?mt.changedTouches[0]:mt;if(!Pn)return;const Nn=c.getId(ut),{clientX:bi,clientY:ir}=Pn;no(n)({type:xl[vn],id:Nn,x:bi,y:ir,...null!==Lt&&{pointerType:Lt}})})(Ae);if(window.PointerEvent)switch(xl[Ae]){case xl.MouseDown:case xl.MouseUp:mt=mt.replace("mouse","pointer");break;case xl.TouchStart:case xl.TouchEnd:return}ie.push(pl(mt,ut,s))}),no(()=>{ie.forEach(Ae=>Ae())})}(n),I=yC(n),J=function SO({viewportResizeCb:n},{win:s}){let c=-1,u=-1;return pl("resize",no(sg(no(()=>{const F=uC(),I=hC();(c!==F||u!==I)&&(n({width:Number(I),height:Number(F)}),c=F,u=I)}),200)),s)}(n,{win:c}),ie=ux(n),pe=function vC({mediaInteractionCb:n,blockClass:s,blockSelector:c,unblockSelector:u,mirror:y,sampling:F,doc:I}){const J=no(pe=>sg(no(Ge=>{const Ae=ih(Ge);if(!Ae||Dl(Ae,s,c,u,!0))return;const{currentTime:mt,volume:ut,muted:Lt,playbackRate:vn}=Ae;n({type:pe,id:y.getId(Ae),currentTime:mt,volume:ut,muted:Lt,playbackRate:vn})}),F.media||500)),ie=[pl("play",J(Ph.Play),I),pl("pause",J(Ph.Pause),I),pl("seeked",J(Ph.Seeked),I),pl("volumechange",J(Ph.VolumeChange),I),pl("ratechange",J(Ph.RateChange),I)];return no(()=>{ie.forEach(pe=>pe())})}(n);let Ge=()=>{},Ae=()=>{},mt=()=>{},ut=()=>{};n.recordDOM&&(Ge=function hx({styleSheetRuleCb:n,mirror:s,stylesheetManager:c},{win:u}){if(!u.CSSStyleSheet||!u.CSSStyleSheet.prototype)return()=>{};const y=u.CSSStyleSheet.prototype.insertRule;u.CSSStyleSheet.prototype.insertRule=new Proxy(y,{apply:no((Ge,Ae,mt)=>{const[ut,Lt]=mt,{id:vn,styleId:Pn}=Pu(Ae,s,c.styleMirror);return(vn&&-1!==vn||Pn&&-1!==Pn)&&n({id:vn,styleId:Pn,adds:[{rule:ut,index:Lt}]}),Ge.apply(Ae,mt)})});const F=u.CSSStyleSheet.prototype.deleteRule;let I,J;u.CSSStyleSheet.prototype.deleteRule=new Proxy(F,{apply:no((Ge,Ae,mt)=>{const[ut]=mt,{id:Lt,styleId:vn}=Pu(Ae,s,c.styleMirror);return(Lt&&-1!==Lt||vn&&-1!==vn)&&n({id:Lt,styleId:vn,removes:[{index:ut}]}),Ge.apply(Ae,mt)})}),u.CSSStyleSheet.prototype.replace&&(I=u.CSSStyleSheet.prototype.replace,u.CSSStyleSheet.prototype.replace=new Proxy(I,{apply:no((Ge,Ae,mt)=>{const[ut]=mt,{id:Lt,styleId:vn}=Pu(Ae,s,c.styleMirror);return(Lt&&-1!==Lt||vn&&-1!==vn)&&n({id:Lt,styleId:vn,replace:ut}),Ge.apply(Ae,mt)})})),u.CSSStyleSheet.prototype.replaceSync&&(J=u.CSSStyleSheet.prototype.replaceSync,u.CSSStyleSheet.prototype.replaceSync=new Proxy(J,{apply:no((Ge,Ae,mt)=>{const[ut]=mt,{id:Lt,styleId:vn}=Pu(Ae,s,c.styleMirror);return(Lt&&-1!==Lt||vn&&-1!==vn)&&n({id:Lt,styleId:vn,replaceSync:ut}),Ge.apply(Ae,mt)})}));const ie={};fg("CSSGroupingRule")?ie.CSSGroupingRule=u.CSSGroupingRule:(fg("CSSMediaRule")&&(ie.CSSMediaRule=u.CSSMediaRule),fg("CSSConditionRule")&&(ie.CSSConditionRule=u.CSSConditionRule),fg("CSSSupportsRule")&&(ie.CSSSupportsRule=u.CSSSupportsRule));const pe={};return Object.entries(ie).forEach(([Ge,Ae])=>{pe[Ge]={insertRule:Ae.prototype.insertRule,deleteRule:Ae.prototype.deleteRule},Ae.prototype.insertRule=new Proxy(pe[Ge].insertRule,{apply:no((mt,ut,Lt)=>{const[vn,Pn]=Lt,{id:Nn,styleId:bi}=Pu(ut.parentStyleSheet,s,c.styleMirror);return(Nn&&-1!==Nn||bi&&-1!==bi)&&n({id:Nn,styleId:bi,adds:[{rule:vn,index:[...z1(ut),Pn||0]}]}),mt.apply(ut,Lt)})}),Ae.prototype.deleteRule=new Proxy(pe[Ge].deleteRule,{apply:no((mt,ut,Lt)=>{const[vn]=Lt,{id:Pn,styleId:Nn}=Pu(ut.parentStyleSheet,s,c.styleMirror);return(Pn&&-1!==Pn||Nn&&-1!==Nn)&&n({id:Pn,styleId:Nn,removes:[{index:[...z1(ut),vn]}]}),mt.apply(ut,Lt)})})}),no(()=>{u.CSSStyleSheet.prototype.insertRule=y,u.CSSStyleSheet.prototype.deleteRule=F,I&&(u.CSSStyleSheet.prototype.replace=I),J&&(u.CSSStyleSheet.prototype.replaceSync=J),Object.entries(ie).forEach(([Ge,Ae])=>{Ae.prototype.insertRule=pe[Ge].insertRule,Ae.prototype.deleteRule=pe[Ge].deleteRule})})}(n,{win:c}),Ae=fx(n,n.doc),mt=function px({styleDeclarationCb:n,mirror:s,ignoreCSSAttributes:c,stylesheetManager:u},{win:y}){const F=y.CSSStyleDeclaration.prototype.setProperty;y.CSSStyleDeclaration.prototype.setProperty=new Proxy(F,{apply:no((J,ie,pe)=>{const[Ge,Ae,mt]=pe;if(c.has(Ge))return F.apply(ie,[Ge,Ae,mt]);const{id:ut,styleId:Lt}=Pu(ie.parentRule?.parentStyleSheet,s,u.styleMirror);return(ut&&-1!==ut||Lt&&-1!==Lt)&&n({id:ut,styleId:Lt,set:{property:Ge,value:Ae,priority:mt},index:z1(ie.parentRule)}),J.apply(ie,pe)})});const I=y.CSSStyleDeclaration.prototype.removeProperty;return y.CSSStyleDeclaration.prototype.removeProperty=new Proxy(I,{apply:no((J,ie,pe)=>{const[Ge]=pe;if(c.has(Ge))return I.apply(ie,[Ge]);const{id:Ae,styleId:mt}=Pu(ie.parentRule?.parentStyleSheet,s,u.styleMirror);return(Ae&&-1!==Ae||mt&&-1!==mt)&&n({id:Ae,styleId:mt,remove:{property:Ge},index:z1(ie.parentRule)}),J.apply(ie,pe)})}),no(()=>{y.CSSStyleDeclaration.prototype.setProperty=F,y.CSSStyleDeclaration.prototype.removeProperty=I})}(n,{win:c}),n.collectFonts&&(ut=function gx({fontCb:n,doc:s}){const c=s.defaultView;if(!c)return()=>{};const u=[],y=new WeakMap,F=c.FontFace;c.FontFace=function(ie,pe,Ge){const Ae=new F(ie,pe,Ge);return y.set(Ae,{family:ie,buffer:"string"!=typeof pe,descriptors:Ge,fontSource:"string"==typeof pe?pe:JSON.stringify(Array.from(new Uint8Array(pe)))}),Ae};const I=u0(s.fonts,"add",function(J){return function(ie){return g0(no(()=>{const pe=y.get(ie);pe&&(n(pe),y.delete(ie))}),0),J.apply(this,[ie])}});return u.push(()=>{c.FontFace=F}),u.push(I),no(()=>{u.forEach(J=>J())})}(n)));const Lt=function mx(n){const{doc:s,mirror:c,blockClass:u,blockSelector:y,unblockSelector:F,selectionCb:I}=n;let J=!0;const ie=no(()=>{const pe=s.getSelection();if(!pe||J&&pe?.isCollapsed)return;J=pe.isCollapsed||!1;const Ge=[],Ae=pe.rangeCount||0;for(let mt=0;mt<Ae;mt++){const ut=pe.getRangeAt(mt),{startContainer:Lt,startOffset:vn,endContainer:Pn,endOffset:Nn}=ut;Dl(Lt,u,y,F,!0)||Dl(Pn,u,y,F,!0)||Ge.push({start:c.getId(Lt),startOffset:vn,end:c.getId(Pn),endOffset:Nn})}I({ranges:Ge})});return ie(),pl("selectionchange",ie)}(n),vn=function yx({doc:n,customElementCb:s}){const c=n.defaultView;return c&&c.customElements?u0(c.customElements,"define",function(y){return function(F,I,J){try{s({define:{name:F}})}catch{}return y.apply(this,[F,I,J])}}):()=>{}}(n),Pn=[];for(const Nn of n.plugins)Pn.push(Nn.observer(Nn.callback,c,Nn.options));return no(()=>{hg.forEach(Nn=>Nn.reset()),u?.disconnect(),y(),F(),I(),J(),ie(),pe(),Ge(),Ae(),mt(),ut(),Lt(),vn(),Pn.forEac
3h(Nn=>Nn())})}function m0(n){return typeof window[n]<"u"}function fg(n){return!!(typeof window[n]<"u"&&window[n].prototype&&"insertRule"in window[n].prototype&&"deleteRule"in window[n].prototype)}class y0{constructor(s){this.generateIdFn=s,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(s,c,u,y){const F=u||this.getIdToRemoteIdMap(s),I=y||this.getRemoteIdToIdMap(s);let J=F.get(c);return J||(J=this.generateIdFn(),F.set(c,J),I.set(J,c)),J}getIds(s,c){const u=this.getIdToRemoteIdMap(s),y=this.getRemoteIdToIdMap(s);return c.map(F=>this.getId(s,F,u,y))}getRemoteId(s,c,u){const y=u||this.getRemoteIdToIdMap(s);return"number"!=typeof c?c:y.get(c)||-1}getRemoteIds(s,c){const u=this.getRemoteIdToIdMap(s);return c.map(y=>this.getRemoteId(s,y,u))}reset(s){if(!s)return this.iframeIdToRemoteIdMap=new WeakMap,void(this.iframeRemoteIdToIdMap=new WeakMap);this.iframeIdToRemoteIdMap.delete(s),this.iframeRemoteIdToIdMap.delete(s)}getIdToRemoteIdMap(s){let c=this.iframeIdToRemoteIdMap.get(s);return c||(c=new Map,this.iframeIdToRemoteIdMap.set(s,c)),c}getRemoteIdToIdMap(s){let c=this.iframeRemoteIdToIdMap.get(s);return c||(c=new Map,this.iframeRemoteIdToIdMap.set(s,c)),c}}class xO{constructor(){this.crossOriginIframeMirror=new y0(sC),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}}class vx{constructor(s){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new y0(sC),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=s.mutationCb,this.wrappedEmit=s.wrappedEmit,this.stylesheetManager=s.stylesheetManager,this.recordCrossOriginIframes=s.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new y0(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=s.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}addIframe(s){this.iframes.set(s,!0);const c=nh(s);c&&this.crossOriginIframeMap.set(c,s)}addLoadListener(s){this.loadListener=s}attachIframe(s,c){this.mutationCb({adds:[{parentId:this.mirror.getId(s),nextId:null,node:c}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),this.recordCrossOriginIframes&&nh(s)?.addEventListener("message",this.handleMessage.bind(this)),this.loadListener?.(s);const u=Ih(s);u&&u.adoptedStyleSheets&&u.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(u.adoptedStyleSheets,this.mirror.getId(u))}handleMessage(s){const c=s;if("rrweb"!==c.data.type||c.origin!==c.data.origin||!s.source)return;const y=this.crossOriginIframeMap.get(s.source);if(!y)return;const F=this.transformCrossOriginEvent(y,c.data.event);F&&this.wrappedEmit(F,c.data.isCheckout)}transformCrossOriginEvent(s,c){switch(c.type){case _s.FullSnapshot:{this.crossOriginIframeMirror.reset(s),this.crossOriginIframeStyleMirror.reset(s),this.replaceIdOnNode(c.data.node,s);const u=c.data.node.id;return this.crossOriginIframeRootIdMap.set(s,u),this.patchRootIdOnNode(c.data.node,u),{timestamp:c.timestamp,type:_s.IncrementalSnapshot,data:{source:Ar.Mutation,adds:[{parentId:this.mirror.getId(s),nextId:null,node:c.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case _s.Meta:case _s.Load:case _s.DomContentLoaded:return!1;case _s.Plugin:return c;case _s.Custom:return this.replaceIds(c.data.payload,s,["id","parentId","previousId","nextId"]),c;case _s.IncrementalSnapshot:switch(c.data.source){case Ar.Mutation:return c.data.adds.forEach(u=>{this.replaceIds(u,s,["parentId","nextId","previousId"]),this.replaceIdOnNode(u.node,s);const y=this.crossOriginIframeRootIdMap.get(s);y&&this.patchRootIdOnNode(u.node,y)}),c.data.removes.forEach(u=>{this.replaceIds(u,s,["parentId","id"])}),c.data.attributes.forEach(u=>{this.replaceIds(u,s,["id"])}),c.data.texts.forEach(u=>{this.replaceIds(u,s,["id"])}),c;case Ar.Drag:case Ar.TouchMove:case Ar.MouseMove:return c.data.positions.forEach(u=>{this.replaceIds(u,s,["id"])}),c;case Ar.ViewportResize:return!1;case Ar.MediaInteraction:case Ar.MouseInteraction:case Ar.Scroll:case Ar.CanvasMutation:case Ar.Input:return this.replaceIds(c.data,s,["id"]),c;case Ar.StyleSheetRule:case Ar.StyleDeclaration:return this.replaceIds(c.data,s,["id"]),this.replaceStyleIds(c.data,s,["styleId"]),c;case Ar.Font:return c;
3case Ar.Selection:return c.data.ranges.forEach(u=>{this.replaceIds(u,s,["start","end"])}),c;case Ar.AdoptedStyleSheet:return this.replaceIds(c.data,s,["id"]),this.replaceStyleIds(c.data,s,["styleIds"]),c.data.styles?.forEach(u=>{this.replaceStyleIds(u,s,["styleId"])}),c}}return!1}replace(s,c,u,y){for(const F of y)!Array.isArray(c[F])&&"number"!=typeof c[F]||(c[F]=Array.isArray(c[F])?s.getIds(u,c[F]):s.getId(u,c[F]));return c}replaceIds(s,c,u){return this.replace(this.crossOriginIframeMirror,s,c,u)}replaceStyleIds(s,c,u){return this.replace(this.crossOriginIframeStyleMirror,s,c,u)}replaceIdOnNode(s,c){this.replaceIds(s,c,["id","rootId"]),"childNodes"in s&&s.childNodes.forEach(u=>{this.replaceIdOnNode(u,c)})}patchRootIdOnNode(s,c){s.type!==kc.Document&&!s.rootId&&(s.rootId=c),"childNodes"in s&&s.childNodes.forEach(u=>{this.patchRootIdOnNode(u,c)})}}class _x{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}}class Fx{constructor(s){this.shadowDoms=new WeakSet,this.restoreHandlers=[],this.mutationCb=s.mutationCb,this.scrollCb=s.scrollCb,this.bypassOptions=s.bypassOptions,this.mirror=s.mirror,this.init()}init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(s,c){if(!Pf(s)||this.shadowDoms.has(s))return;this.shadowDoms.add(s),this.bypassOptions.canvasManager.addShadowRoot(s);const u=dx({...this.bypassOptions,doc:c,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},s);this.restoreHandlers.push(()=>u.disconnect()),this.restoreHandlers.push(yC({...this.bypassOptions,scrollCb:this.scrollCb,doc:s,mirror:this.mirror})),g0(()=>{s.adoptedStyleSheets&&s.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(s.adoptedStyleSheets,this.mirror.getId(s.host)),this.restoreHandlers.push(fx({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},s))},0)}observeAttachShadow(s){const c=Ih(s),u=nh(s);!c||!u||this.patchAttachShadow(u.Element,c)}patchAttachShadow(s,c){const u=this;this.restoreHandlers.push(u0(s.prototype,"attachShadow",function(y){return function(F){const I=y.call(this,F);return this.shadowRoot&&cg(this)&&u.addShadowRoot(this.shadowRoot,c),I}}))}reset(){this.restoreHandlers.forEach(s=>{try{s()}catch{}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet,this.bypassOptions.canvasManager.resetShadowRoots()}}class wx{constructor(s){this.trackedLinkElements=new WeakSet,this.styleMirror=new sx,this.mutationCb=s.mutationCb,this.adoptedStyleSheetCb=s.adoptedStyleSheetCb}attachLinkElement(s,c){"_cssText"in c.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:c.id,attributes:c.attributes}]}),this.trackLinkElement(s)}trackLinkElement(s){this.trackedLinkElements.has(s)||(this.trackedLinkElements.add(s),this.trackStylesheetInLinkElement(s))}adoptStyleSheets(s,c){if(0===s.length)return;const u={id:c,styleIds:[]},y=[];for(const F of s){let I;this.styleMirror.has(F)?I=this.styleMirror.getId(F):(I=this.styleMirror.add(F),y.push({styleId:I,rules:Array.from(F.rules||CSSRule,(J,ie)=>({rule:jD(J),index:ie}))})),u.styleIds.push(I)}y.length>0&&(u.styles=y),this.adoptedStyleSheetCb(u)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(s){}}class _C{constructor(){this.nodeMap=new WeakMap,this.active=!1}inOtherBuffer(s,c){const u=this.nodeMap.get(s);return u&&Array.from(u).some(y=>y!==c)}add(s,c){this.active||(this.active=!0,function vO(...n){p0("requestAnimationFrame")(...n)}(()=>{this.nodeMap=new WeakMap,this.active=!1})),this.nodeMap.set(s,(this.nodeMap.get(s)||new Set).add(c))}destroy(){}}let Ia,b0;try{if(2!==Array.from([1],n=>2*n)[0]){const n=document.createElement("iframe");document.body.appendChild(n),Array.from=n.contentWindow?.Array.from||Array.from,document.body.removeChild(n)}}catch(n){console.debug("Unable to override Array.from",n)}const Fd=function dO(){return new $D}();function wd(n={}){const{emit:s,checkoutEveryNms:c,checkoutEveryNth:u,blockClass:y="rr-block",blockSelector:F=null,unblockSelector:I=null,ignoreClass:J="rr-ignore",ignoreSelector:ie=null,maskAllText:pe=!1,maskTextClass:Ge="rr-mask",unmaskTextClass:Ae=null,maskTextSelector:mt=null,unmaskTextSelector:ut=null,inlineStylesheet:Lt=!0,maskAllInputs:vn,maskInputOptions:Pn,slimDOMOptions:Nn,maskAttributeFn:bi,maskInputFn:ir,maskTextFn:Li,maxCanvasSize:Nr=null,packFn:Ji,sampling:$n={},dataURLOptions:Vi={},mousemoveWait:$r,recordDOM:mi=!0,recordCanvas:Xi=!1,recordCrossOriginIframes:Ii=!1,recordAfter:Hi=("DOMContentLoaded"===n.recordAfter?n.recordAfter:"load"),userTriggeredOnInput:rr=!1,collectFonts:$s=!1,inl
3ineImages:uo=!1,plugins:Fr,keepIframeSrcFn:Ni=()=>!1,ignoreCSSAttributes:Er=new Set([]),errorHandler:er,onMutation:Fs,getCanvasManager:Go}=n;!function pC(n){Rf=n}(er);const ya=!Ii||window.parent===window;let Ga=!1;if(!ya)try{window.parent.document&&(Ga=!1)}catch{Ga=!0}if(ya&&!s)throw new Error("emit function is required");if(!ya&&!Ga)return()=>{};void 0!==$r&&void 0===$n.mousemove&&($n.mousemove=$r),Fd.reset();const Ll=!0===vn?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,radio:!0,checkbox:!0}:void 0!==Pn?Pn:{},Cd=!0===Nn||"all"===Nn?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===Nn,headMetaDescKeywords:"all"===Nn}:Nn||{};!function nx(n=window){"NodeList"in n&&!n.NodeList.prototype.forEach&&(n.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in n&&!n.DOMTokenList.prototype.forEach&&(n.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=(...s)=>{let c=s[0];if(!(0 in s))throw new TypeError("1 argument is required");do{if(this===c)return!0}while(c=c&&c.parentNode);return!1})}();let Rh,Ru=0;const bg=Mr=>{for(const ws of Fr||[])ws.eventProcessor&&(Mr=ws.eventProcessor(Mr));return Ji&&!Ga&&(Mr=Ji(Mr)),Mr};Ia=(Mr,ws)=>{const gs=Mr;if(gs.timestamp=og(),hg[0]?.isFrozen()&&gs.type!==_s.FullSnapshot&&!(gs.type===_s.IncrementalSnapshot&&gs.data.source===Ar.Mutation)&&hg.forEach(Io=>Io.unfreeze()),ya)s?.(bg(gs),ws);else if(Ga){const Io={type:"rrweb",event:bg(gs),origin:window.location.origin,isCheckout:ws};window.parent.postMessage(Io,"*")}if(gs.type===_s.FullSnapshot)Rh=gs,Ru=0;else if(gs.type===_s.IncrementalSnapshot){if(gs.data.source===Ar.Mutation&&gs.data.isAttachIframe)return;Ru++,(u&&Ru>=u||c&&Rh&&gs.timestamp-Rh.timestamp>c)&&_g(!0)}};const Bh=Mr=>{Ia({type:_s.IncrementalSnapshot,data:{source:Ar.Mutation,...Mr}})},$C=Mr=>Ia({type:_s.IncrementalSnapshot,data:{source:Ar.Scroll,...Mr}}),Lh=Mr=>Ia({type:_s.IncrementalSnapshot,data:{source:Ar.CanvasMutation,...Mr}}),Ed=new wx({mutationCb:Bh,adoptedStyleSheetCb:Mr=>Ia({type:_s.IncrementalSnapshot,data:{source:Ar.AdoptedStyleSheet,...Mr}})}),$d="boolean"==typeof __RRWEB_EXCLUDE_IFRAME__&&__RRWEB_EXCLUDE_IFRAME__?new xO:new vx({mirror:Fd,mutationCb:Bh,stylesheetManager:Ed,recordCrossOriginIframes:Ii,wrappedEmit:Ia});for(const Mr of Fr||[])Mr.getMirror&&Mr.getMirror({nodeMirror:Fd,crossOriginIframeMirror:$d.crossOriginIframeMirror,crossOriginIframeStyleMirror:$d.crossOriginIframeStyleMirror});const k0=new _C,S0=function Cx(n,s){try{return n?n(s):new ug}catch{return console.warn("Unable to initialize CanvasManager"),new ug}}(Go,{mirror:Fd,win:window,mutationCb:Mr=>Ia({type:_s.IncrementalSnapshot,data:{source:Ar.CanvasMutation,...Mr}}),recordCanvas:Xi,blockClass:y,blockSelector:F,unblockSelector:I,maxCanvasSize:Nr,sampling:$n.canvas,dataURLOptions:Vi,errorHandler:er}),vg="boolean"==typeof __RRWEB_EXCLUDE_SHADOW_DOM__&&__RRWEB_EXCLUDE_SHADOW_DOM__?new _x:new Fx({mutationCb:Bh,scrollCb:$C,bypassOptions:{onMutation:Fs,blockClass:y,blockSelector:F,unblockSelector:I,maskAllText:pe,maskTextClass:Ge,unmaskTextClass:Ae,maskTextSelector:mt,unmaskTextSelector:ut,inlineStylesheet:Lt,maskInputOptions:Ll,dataURLOptions:Vi,maskAttributeFn:bi,maskTextFn:Li,maskInputFn:ir,recordCanvas:Xi,inlineImages:uo,sampling:$n,slimDOMOptions:Cd,iframeManager:$d,stylesheetManager:Ed,canvasManager:S0,keepIframeSrcFn:Ni,processedNodeManager:k0,ignoreCSSAttributes:Er},mirror:Fd}),_g=(Mr=!1)=>{if(!mi)return;Ia({type:_s.Meta,data:{href:window.location.href,width:hC(),height:uC()}},Mr),Ed.reset(),vg.init(),hg.forEach(gs=>gs.lock());const ws=function yO(n,s){const{mirror:c=new $D,blockClass:u="rr-block",blockSelector:y=null,unblockSelector:F=null,maskAllText:I=!1,maskTextClass:J="rr-mask",unmaskTextClass:ie=null,maskTextSelector:pe=null,unmaskTextSelector:Ge=null,inlineStylesheet:Ae=!0,inlineImages:mt=!1,recordCanvas:ut=!1,maskAllInputs:Lt=!1,maskAttributeFn:vn,maskTextFn:Pn,maskInputFn:Nn,slimDOM:bi=!1,dataURLOptions:ir,preserveWhiteSpace:Li,onSerialize:Nr,onIframeLoad:Ji,iframeLoadTimeout:$n,onBlockedImageLoad:Vi,onStylesheetLoad:$r,stylesheetLoadTimeout:mi,keepIframeSrcFn:Xi=()=>!1,ignoreCSSAttributes:Ii=new Set([])}=s||{};return rg(n,{doc:n,mirror:c,blockClass:u,blockSelector:y,unblockSelector:F,maskAllText:I,maskTextClass:J,unmaskTextClass:ie,maskTextSelector:pe,unmaskTextSelector:Ge,skipChild:!1,inlineStylesheet:Ae,maskInputOptions:!0===Lt?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0}:!1===Lt?{}:Lt,maskAttributeFn:vn,maskTextFn:Pn,maskInputFn:Nn,slimDOMOptions:!0===bi||"all"===bi?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===bi,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}
3:!1===bi?{}:bi,dataURLOptions:ir,inlineImages:mt,recordCanvas:ut,preserveWhiteSpace:Li,onSerialize:Nr,onIframeLoad:Ji,iframeLoadTimeout:$n,onBlockedImageLoad:Vi,onStylesheetLoad:$r,stylesheetLoadTimeout:mi,keepIframeSrcFn:Xi,newlyAddedElement:!1,ignoreCSSAttributes:Ii})}(document,{mirror:Fd,blockClass:y,blockSelector:F,unblockSelector:I,maskAllText:pe,maskTextClass:Ge,unmaskTextClass:Ae,maskTextSelector:mt,unmaskTextSelector:ut,inlineStylesheet:Lt,maskAllInputs:Ll,maskAttributeFn:bi,maskInputFn:ir,maskTextFn:Li,slimDOM:Cd,dataURLOptions:Vi,recordCanvas:Xi,inlineImages:uo,onSerialize:gs=>{ix(gs,Fd)&&$d.addIframe(gs),rx(gs,Fd)&&Ed.trackLinkElement(gs),fC(gs)&&vg.addShadowRoot(gs.shadowRoot,document)},onIframeLoad:(gs,Io)=>{$d.attachIframe(gs,Io);const qr=nh(gs);qr&&S0.addWindow(qr),vg.observeAttachShadow(gs)},onStylesheetLoad:(gs,Io)=>{Ed.attachLinkElement(gs,Io)},onBlockedImageLoad:(gs,Io,{width:qr,height:oh})=>{Bh({adds:[],removes:[],texts:[],attributes:[{id:Io.id,attributes:{style:{width:`${qr}px`,height:`${oh}px`}}}]})},keepIframeSrcFn:Ni,ignoreCSSAttributes:Er});if(!ws)return console.warn("Failed to snapshot the document");Ia({type:_s.FullSnapshot,data:{node:ws,initialOffset:I1(window)}}),hg.forEach(gs=>gs.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&Ed.adoptStyleSheets(document.adoptedStyleSheets,Fd.getId(document))};b0=_g;try{const Mr=[],ws=Io=>no(bx)({onMutation:Fs,mutationCb:Bh,mousemoveCb:(qr,oh)=>Ia({type:_s.IncrementalSnapshot,data:{source:oh,positions:qr}}),mouseInteractionCb:qr=>Ia({type:_s.IncrementalSnapshot,data:{source:Ar.MouseInteraction,...qr}}),scrollCb:$C,viewportResizeCb:qr=>Ia({type:_s.IncrementalSnapshot,data:{source:Ar.ViewportResize,...qr}}),inputCb:qr=>Ia({type:_s.IncrementalSnapshot,data:{source:Ar.Input,...qr}}),mediaInteractionCb:qr=>Ia({type:_s.IncrementalSnapshot,data:{source:Ar.MediaInteraction,...qr}}),styleSheetRuleCb:qr=>Ia({type:_s.IncrementalSnapshot,data:{source:Ar.StyleSheetRule,...qr}}),styleDeclarationCb:qr=>Ia({type:_s.IncrementalSnapshot,data:{source:Ar.StyleDeclaration,...qr}}),canvasMutationCb:Lh,fontCb:qr=>Ia({type:_s.IncrementalSnapshot,data:{source:Ar.Font,...qr}}),selectionCb:qr=>{Ia({type:_s.IncrementalSnapshot,data:{source:Ar.Selection,...qr}})},customElementCb:qr=>{Ia({type:_s.IncrementalSnapshot,data:{source:Ar.CustomElement,...qr}})},blockClass:y,ignoreClass:J,ignoreSelector:ie,maskAllText:pe,maskTextClass:Ge,unmaskTextClass:Ae,maskTextSelector:mt,unmaskTextSelector:ut,maskInputOptions:Ll,inlineStylesheet:Lt,sampling:$n,recordDOM:mi,recordCanvas:Xi,inlineImages:uo,userTriggeredOnInput:rr,collectFonts:$s,doc:Io,maskAttributeFn:bi,maskInputFn:ir,maskTextFn:Li,keepIframeSrcFn:Ni,blockSelector:F,unblockSelector:I,slimDOMOptions:Cd,dataURLOptions:Vi,mirror:Fd,iframeManager:$d,stylesheetManager:Ed,shadowDomManager:vg,processedNodeManager:k0,canvasManager:S0,ignoreCSSAttributes:Er,plugins:Fr?.filter(qr=>qr.observer)?.map(qr=>({observer:qr.observer,options:qr.options,callback:oh=>Ia({type:_s.Plugin,data:{plugin:qr.name,payload:oh}})}))||[]},{});$d.addLoadListener(Io=>{try{Mr.push(ws(Io.contentDocument))}catch(qr){console.warn(qr)}});const gs=()=>{_g(),Mr.push(ws(document))};return"interactive"===document.readyState||"complete"===document.readyState?gs():(Mr.push(pl("DOMContentLoaded",()=>{Ia({type:_s.DomContentLoaded,data:{}}),"DOMContentLoaded"===Hi&&gs()})),Mr.push(pl("load",()=>{Ia({type:_s.Load,data:{}}),"load"===Hi&&gs()},window))),()=>{Mr.forEach(Io=>Io()),k0.destroy(),b0=void 0,function ax(){Rf=void 0}()}}catch(Mr){console.warn(Mr)}}var Bf,n;wd.mirror=Fd,wd.takeFullSnapshot=function MO(n){if(!b0)throw new Error("please take full snapshot after start recording");b0(n)},(n=Bf||(Bf={}))[n.NotStarted=0]="NotStarted",n[n.Running=1]="Running",n[n.Stopped=2]="Stopped";const $1=3;function H1(n){return n>9999999999?n:1e3*n}function W1(n){return n>9999999999?n/1e3:n}function rh(n,s){"sentry.transaction"!==s.category&&(["ui.click","ui.input"].includes(s.category)?n.triggerUserActivity():n.checkAndHandleExpiredSession(),n.addUpdate(()=>(n.throttledAddEvent({type:_s.Custom,timestamp:1e3*(s.timestamp||0),data:{tag:"breadcrumb",payload:Pi(s,10,1e3)}}),"console"===s.category)))}const Ex="button,a";function wC(n){return n.closest(Ex)||n}function G1(n){const s=K1(n);return s&&s instanceof Element?wC(s):s}function K1(n){return function AO(n){return Gt(n)&&"target"in n}(n)?n.target:n}let sh;const Sx=new Set([Ar.Mutation,Ar.StyleSheetRule,Ar.StyleDeclaration,Ar.AdoptedStyleSheet,Ar.CanvasMutation,Ar.Selection,Ar.MediaInteraction]);
3class PO{constructor(s,c,u=rh){this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=c.timeout/1e3,this._threshold=c.threshold/1e3,this._scrollTimeout=c.scrollTimeout/1e3,this._replay=s,this._ignoreSelector=c.ignoreSelector,this._addBreadcrumbEvent=u}addListeners(){const s=function kx(n){return sh||(sh=[],function TO(){wi(Oo,"open",function(n){return function(...s){if(sh)try{sh.forEach(c=>c())}catch{}return n.apply(Oo,s)}})}()),sh.push(n),()=>{const s=sh?sh.indexOf(n):-1;s>-1&&sh.splice(s,1)}}(()=>{this._lastMutation=Mx()});this._teardown=()=>{s(),this._clicks=[],this._lastMutation=0,this._lastScroll=0}}removeListeners(){this._teardown&&this._teardown(),this._checkClickTimeout&&clearTimeout(this._checkClickTimeout)}handleClick(s,c){if(function Dx(n,s){return!!(!IO.includes(n.tagName)||"INPUT"===n.tagName&&!["submit","button"].includes(n.getAttribute("type")||"")||"A"===n.tagName&&(n.hasAttribute("download")||n.hasAttribute("target")&&"_self"!==n.getAttribute("target"))||s&&n.matches(s))}(c,this._ignoreSelector)||!function xx(n){return!(!n.data||"number"!=typeof n.data.nodeId||!n.timestamp)}(s))return;const u={timestamp:W1(s.timestamp),clickBreadcrumb:s,clickCount:0,node:c};this._clicks.some(y=>y.node===u.node&&Math.abs(y.timestamp-u.timestamp)<1)||(this._clicks.push(u),1===this._clicks.length&&this._scheduleCheckClicks())}registerMutation(s=Date.now()){this._lastMutation=W1(s)}registerScroll(s=Date.now()){this._lastScroll=W1(s)}registerClick(s){const c=wC(s);this._handleMultiClick(c)}
3_handleMultiClick(s){this._getClicks(s).forEach(c=>{c.clickCount++})}_getClicks(s){return this._clicks.filter(c=>c.node===s)}_checkClicks(){const s=[],c=Mx();this._clicks.forEach(u=>{!u.mutationAfter&&this._lastMutation&&(u.mutationAfter=u.timestamp<=this._lastMutation?this._lastMutation-u.timestamp:void 0),!u.scrollAfter&&this._lastScroll&&(u.scrollAfter=u.timestamp<=this._lastScroll?this._lastScroll-u.timestamp:void 0),u.timestamp+this._timeout<=c&&s.push(u)});for(const u of s){const y=this._clicks.indexOf(u);y>-1&&(this._generateBreadcrumbs(u),this._clicks.splice(y,1))}this._clicks.length&&this._scheduleCheckClicks()}_generateBreadcrumbs(s){const c=this._replay,F=!(s.scrollAfter&&s.scrollAfter<=this._scrollTimeout||s.mutationAfter&&s.mutationAfter<=this._threshold),{clickCount:I,clickBreadcrumb:J}=s;if(F){const ie=1e3*Math.min(s.mutationAfter||this._timeout,this._timeout),pe=ie<1e3*this._timeout?"mutation":"timeout",Ge={type:"default",message:J.message,timestamp:J.timestamp,category:"ui.slowClickDetected",data:{...J.data,url:Oo.location.href,route:c.getCurrentRoute(),timeAfterClickMs:ie,endReason:pe,clickCount:I||1}};this._addBreadcrumbEvent(c,Ge)}else if(I>1){const ie={type:"default",message:J.message,timestamp:J.timestamp,category:"ui.multiClick",data:{...J.data,url:Oo.location.href,route:c.getCurrentRoute(),clickCount:I,metric:!0}};this._addBreadcrumbEvent(c,ie)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=Bm(()=>this._checkClicks(),1e3)}}const IO=["A","BUTTON","INPUT"];function Mx(){return Date.now()/1e3}function Iu(n){return{timestamp:Date.now()/1e3,type:"default",...n}}var X1=(n=>(n[n.Document=0]="Document",n[n.DocumentType=1]="DocumentType",n[n.Element=2]="Element",n[n.Text=3]="Text",n[n.CDATA=4]="CDATA",n[n.Comment=5]="Comment",n))(X1||{});const Ax=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]);function LO(n){const s={};!n["data-sentry-component"]&&n["data-sentry-element"]&&(n["data-sentry-component"]=n["data-sentry-element"]);for(const c in n)if(Ax.has(c)){let u=c;("data-testid"===c||"data-test-id"===c)&&(u="testId"),s[u]=n[c]}return s}function Tx(n,s){const c=wd.mirror.getId(n),u=c&&wd.mirror.getNode(c),y=u&&wd.mirror.getMeta(u),F=y&&function Px(n){return n.type===X1.Element}(y)?y:null;return{message:s,data:F?{nodeId:c,node:{id:c,tagName:F.tagName,textContent:Array.from(F.childNodes).map(I=>I.type===X1.Text&&I.textContent).filter(Boolean).map(I=>I.trim()).join(""),attributes:LO(F.attributes)}}:{}}}const Bx={resource:function o(n){const{entryType:s,initiatorType:c,name:u,responseEnd:y,startTime:F,decodedBodySize:I,encodedBodySize:J,responseStatus:ie,transferSize:pe}=n;return["fetch","xmlhttprequest"].includes(c)?null:{type:`${s}.${c}`,start:pg(F),end:pg(y),name:u,data:{size:pe,statusCode:ie,decodedBodySize:I,encodedBodySize:J}}},paint:function e(n){const{duration:s,entryType:c,name:u,startTime:y}=n,F=pg(y);return{type:c,name:u,start:F,end:F+s,data:void 0}},navigation:function i(n){const{entryType:s,name:c,decodedBodySize:u,duration:y,domComplete:F,encodedBodySize:I,domContentLoadedEventStart:J,domContentLoadedEventEnd:ie,domInteractive:pe,loadEventStart:Ge,loadEventEnd:Ae,redirectCount:mt,startTime:ut,transferSize:Lt,type:vn}=n;return 0===y?null:{type:`${s}.${vn}`,start:pg(ut),end:pg(F),name:c,data:{size:Lt,decodedBodySize:u,encodedBodySize:I,duration:y,domInteractive:pe,domContentLoadedEventStart:J,domContentLoadedEventEnd:ie,loadEventStart:Ge,loadEventEnd:Ae,domComplete:F,redirectCount:mt}}}};function v0(n,s){return({metric:c})=>{s.replayPerformanceEntries.push(n(c))}}function Lx(n){const s=Bx[n.entryType];return s?s(n):null}function pg(n){return((et()||Oo.performance.timeOrigin)+n)/1e3}function l(n){const s=n.entries[n.entries.length-1];return O(n,"largest-contentful-paint",s?.element?[s.element]:void 0)}function f(n){return void 0!==n.sources}function b(n){const s=[],c=[];for(const u of n.entries)if(f(u)){const y=[];for(const F of u.sources)if(F.node){c.push(F.node);const I=wd.mirror.getId(F.node);I&&y.push(I)}s.push({value:u.value,nodeIds:y.length?y:void 0})}return O(n,"cumulative-layout-shift",c,s)}function E(n){const s=n.entries[n.entries.length-1];return O(n,"interaction-to-next-paint",s?.target?[s.target]:void 0)}function O(n,s,c,u){const y=n.value,F=n.rating,I=pg(y);return{type:"web-vital",name:s,start:I,end:I,data:{value:y,size:y,rating:F,nodeIds:c?c.map(J=>wd.mirror.getId(J)):void 0,attributions:u}}}const oe=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,wt=["log","warn","error"],Mt="[Replay] ";function Ht(n,s="info"){al({category:"console",data:{logger:"replay"},level:s,message:`${Mt}${n}`},{level:s})}const mn=function In(){let n=!1,s=!1;const c={exception:()=>{},infoTick:()=>{},setConfig:u=>{n=!!u.captureExceptions,s=!!u.traceInternals}};return oe?(wt.forEach(u=>{c[u]=(...y)=>{$e[u](Mt,...y),s&&Ht(y.join(""),Od(u))}}),c.exception=(u,...y)=>{y.length&&c.error&&c.error(...y),$e.error(Mt,u),n?Sd(u,{mechanism:{handled:!0,type:"auto.function.replay.debug"}}):s&&Ht(u,"error")},c.infoTick=(...u)=>{$e.log(Mt,...u),s&&setTimeout(()=>Ht(u[0]),0)}):wt.forEach(u=>{c[u]=()=>{}}),c}();
3class di extends Error{constructor(){super(`Event buffer exceeded maximum size of ${_1}.`)}}class On{constructor(){this.events=[],this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!1}get hasEvents(){return this.events.length>0}get type(){return"sync"}destroy(){this.events=[]}addEvent(s){var c=this;return(0,zr.A)(function*(){const u=JSON.stringify(s).length;if(c._totalSize+=u,c._totalSize>_1)throw new di;c.events.push(s)})()}finish(){return new Promise(s=>{const c=this.events;this.clear(),s(JSON.stringify(c))})}clear(){this.events=[],this._totalSize=0,this.hasCheckout=!1}getEarliestTimestamp(){let s=null;for(const{timestamp:c}of this.events)(null===s||c<s)&&(s=c);return null===s?s:H1(s)}}class Tr{constructor(s){this._onMessage=({data:c})=>{const u=c;if("number"!=typeof u.id)return;const y=this._pending.get(u.id);if(y&&y.method===u.method){if(this._pending.delete(u.id),!u.success)return oe&&mn.error("Error in compression worker: ",u.response),void y.reject(new Error("Error in compression worker"));y.resolve(u.response)}},this._worker=s,this._id=0,this._pending=new Map,this._worker.addEventListener("message",this._onMessage)}ensureReady(){return this._ensureReadyPromise||(this._ensureReadyPromise=new Promise((s,c)=>{this._worker.addEventListener("message",({data:u})=>{u.success?s():(oe&&mn.warn("Received worker message with unsuccessful status",u),c(new Error("Received worker message with unsuccessful status")))},{once:!0}),this._worker.addEventListener("error",u=>{oe&&mn.warn("Failed to load Replay compression worker",u),c(new Error(`Failed to load Replay compression worker: ${u instanceof ErrorEvent&&u.message?u.message:"Unknown error. This can happen due to CSP policy restrictions, network issues, or the worker script failing to load."}`))},{once:!0})})),this._ensureReadyPromise}destroy(){oe&&mn.log("Destroying compression worker"),this._worker.removeEventListener("message",this._onMessage),this._pending.forEach(s=>s.reject(new Error("Worker destroyed"))),this._pending.clear(),this._worker.terminate()}postMessage(s,c){const u=this._getAndIncrementId();return new Promise((y,F)=>{this._pending.set(u,{method:s,resolve:y,reject:F});try{this._worker.postMessage({id:u,method:s,arg:c})}catch(I){this._pending.delete(u),F(I)}})}_getAndIncrementId(){return this._id++}}class zs{constructor(s){this._worker=new Tr(s),this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!1}get hasEvents(){return!!this._earliestTimestamp}get type(){return"worker"}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}addEvent(s){const c=H1(s.timestamp);(!this._earliestTimestamp||c<this._earliestTimestamp)&&(this._earliestTimestamp=c);const u=JSON.stringify(s);return this._totalSize+=u.length,this._totalSize>_1?Promise.reject(new di):this._sendEventToWorker(u)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear").then(null,s=>{oe&&mn.exception(s,'Sending "clear" message to worker failed',s)})}getEarliestTimestamp(){return this._earliestTimestamp}_sendEventToWorker(s){return this._worker.postMessage("addEvent",s)}_finishRequest(){var s=this;return(0,zr.A)(function*(){const c=yield s._worker.postMessage("finish");return s._earliestTimestamp=null,s._totalSize=0,c})()}}class Wo{constructor(s){this._fallback=new On,this._compression=new zs(s),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}get waitForCheckout(){return this._used.waitForCheckout}get type(){return this._used.type}get hasEvents(){return this._used.hasEvents}get hasCheckout(){return this._used.hasCheckout}set hasCheckout(s){this._used.hasCheckout=s}set waitForCheckout(s){this._used.waitForCheckout=s}destroy(){this._fallback.destroy(),this._compression.destroy()}clear(){return this._used.clear()}getEarliestTimestamp(){return this._used.getEarliestTimestamp()}addEvent(s){return this._used.addEvent(s)}finish(){var s=this;return(0,zr.A)(function*(){return yield s.ensureWorkerIsLoaded(),s._used.finish()})()}
3ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}_ensureWorkerIsLoaded(){var s=this;return(0,zr.A)(function*(){try{yield s._compression.ensureReady()}catch(c){return void(oe&&mn.exception(c,"Failed to load the compression worker, falling back to simple buffer"))}yield s._switchToCompressionWorker()})()}_switchToCompressionWorker(){var s=this;return(0,zr.A)(function*(){const{events:c,hasCheckout:u,waitForCheckout:y}=s._fallback,F=[];for(const I of c)F.push(s._compression.addEvent(I));s._compression.hasCheckout=u,s._compression.waitForCheckout=y,s._used=s._compression;try{yield Promise.all(F),s._fallback.clear()}catch(I){oe&&mn.exception(I,"Failed to add events when switching buffers.")}})()}}function _0(){try{return"sessionStorage"in Oo&&!!Oo.sessionStorage}catch{return!1}}function zO(n){return void 0!==n&&Math.random()<n}function CC(n){if(_0())try{Oo.sessionStorage.setItem(qw,JSON.stringify(n))}catch{}}function $O(n){const s=Date.now();return{id:n.id||Pt(),started:n.started||s,lastActivity:n.lastActivity||s,segmentId:n.segmentId||0,sampled:n.sampled,previousSessionId:n.previousSessionId,dirty:n.dirty||!1}}function HO({sessionSampleRate:n,allowBuffering:s,stickySession:c=!1},{previousSessionId:u}={}){const y=function KI(n,s){return zO(n)?"session":!!s&&"buffer"}(n,s),F=$O({sampled:y,previousSessionId:u});return c&&CC(F),F}function Ux(n,s,c=+new Date){return null===n||void 0===s||s<0||0!==s&&n+s<=c}function EC(n,{sessionIdleExpire:s,maxReplayDuration:c}){return!(!function YI(n,{maxReplayDuration:s,sessionIdleExpire:c,targetTime:u=Date.now()}){return Ux(n.started,s,u)||Ux(n.lastActivity,c,u)}(n,{sessionIdleExpire:s,maxReplayDuration:c})||"buffer"===n.sampled&&0===n.segmentId)}function jx({sessionIdleExpire:n,maxReplayDuration:s,previousSessionId:c},u){const y=u.stickySession&&function XI(){if(!_0())return null;try{const n=Oo.sessionStorage.getItem(qw);if(!n)return null;const s=JSON.parse(n);return oe&&mn.infoTick("Loading existing session"),$O(s)}catch{return null}}();return y?EC(y,{sessionIdleExpire:n,maxReplayDuration:s})?(oe&&mn.infoTick("Session in sessionStorage is expired, creating new one..."),HO(u,{previousSessionId:y.id})):y:(oe&&mn.infoTick("Creating new session"),HO(u,{previousSessionId:c}))}function Vx(n,s,c){return!!GO(n,s)&&(WO(n,s,c),!0)}function WO(n,s,c){return zx.apply(this,arguments)}function zx(){return zx=(0,zr.A)(function*(n,s,c){const{eventBuffer:u}=n;if(!u||u.waitForCheckout&&!c)return null;const y="buffer"===n.recordingMode;try{c&&y&&u.clear(),c&&(u.hasCheckout=!0,u.waitForCheckout=!1);const I=function ZI(n,s){try{if("function"==typeof s&&function qI(n){return n.type===_s.Custom}(n))return s(n)}catch(c){return oe&&mn.exception(c,"An error occurred in the `beforeAddRecordingEvent` callback, skipping the event..."),null}return n}(s,n.getOptions().beforeAddRecordingEvent);return I?yield u.addEvent(I):void 0}catch(F){if(!n.isEnabled())return n.handleException(F),null;const I=F&&F instanceof di,J=I?"eventBufferOverflow":"eventBufferError",ie=Ai();if(ie&&ie.recordDroppedEvent(I?"buffer_overflow":"internal_sdk_error","replay"),I&&y)return u.clear(),u.waitForCheckout=!0,null;n.handleException(F),yield n.stop({reason:J})}}),zx.apply(this,arguments)}function GO(n,s){if(!n.eventBuffer||n.isPaused()||!n.isEnabled())return!1;const c=H1(s.timestamp);return!(c+n.timeouts.sessionIdlePause<Date.now()||c>n.getContext().initialTimestamp+n.getOptions().maxReplayDuration&&(oe&&mn.infoTick(`Skipping event with timestamp ${c} because it is after maxReplayDuration`),1))}const KO=100;function XO(n,s,c){const u=n.getContext();s&&u.traceIds.size<KO&&u.traceIds.add(s),c&&u.segmentNames.size<KO&&u.segmentNames.add(c)}function $x(n){return!n.type}function Hx(n){return"transaction"===n.type}function YO(n){return"feedback"===n.type}function qO(n){return!!n.category}function kC(){const n=fi().getPropagationContext().dsc;n&&delete n.replay_id;const s=Ls();s&&delete _i(s).replay_id}function QO(n){const s=fi().getPropagationContext().dsc;s&&(s.replay_id=n);const c=Ls();c&&(_i(c).replay_id=n)}function SC(n,s){return s.map(({type:c,start:u,end:y,name:F,data:I})=>{const J=n.throttledAddEvent({type:_s.Custom,timestamp:u,data:{tag:"performanceSpan",payload:{op:c,description:F,startTimestamp:u,endTimestamp:y,data:I}}});return"string"==typeof J?Promise.resolve(null):J})}function ZO(n,s){n.isEnabled()&&null!==s&&(function m6(n,s){return(!oe||!n.getOptions()._experiments.traceInternals)&&function OD(n,s){const c=s?.getDsn(),u=s?.getOptions().tunnel;return function m1(n,s){const c=Ea(n);return!(!c||Cc(c)||!s)&&function Xw(n,s){return n===s||s.length>0&&n.endsWith(`.${s}`)}(c.hostname,s.host)&&/(^|&|\?)sentry_key=/.test(c.search)}(n,c)||function g1(n,s){return!!s&&y1(n)===y1(s)}(n,u)}(s,Ai())}(n,s.name)||n.addUpdate(()=>(SC(n,[s]),!0)))}function DC(n){if(!n)return;const s=new TextEncoder;try{if("string"==typeof n)return s.encode(n).length;if(n instanceof URLSearchParams)return s.encode(n.toString()).length;if(n instanceof FormData){const c=o1(n);return s.encode(c).length}if(n instanceof Blob)return n.size;if(n instanceof ArrayBuffer)return n.byteLength}catch{}}function JO(n){if(!n)return;const s=parseInt(n,10);return isNaN(s)?void 0:s}function xC(n,s){if(!n)return{headers:{},size:void 0,_meta:{warnings:[s]}};const c={...n._meta};return c.warnings=[...c.warnings||[],s],n._meta=c,n}
3function eP(n,s){if(!s)return null;const{startTimestamp:c,endTimestamp:u,url:y,method:F,statusCode:I,request:J,response:ie}=s;return{type:n,start:c/1e3,end:u/1e3,name:y,data:{method:F,statusCode:I,request:J,response:ie}}}function Y1(n){return{headers:{},size:n,_meta:{warnings:["URL_SKIPPED"]}}}function Uf(n,s,c){if(!s&&0===Object.keys(n).length)return;if(!s)return{headers:n};if(!c)return{headers:n,size:s};const u={headers:n,size:s},{body:y,warnings:F}=function y6(n){if(!n||"string"!=typeof n)return{body:n};const s=n.length>v1,c=function b6(n){const s=n[0],c=n[n.length-1];return"["===s&&"]"===c||"{"===s&&"}"===c}(n);if(s){const u=n.slice(0,v1);return c?{body:u,warnings:["MAYBE_JSON_TRUNCATED"]}:{body:`${u}\u2026`,warnings:["TEXT_TRUNCATED"]}}if(c)try{return{body:JSON.parse(n)}}catch{}return{body:n}}(c);return u.body=y,F?.length&&(u._meta={warnings:F}),u}function Wx(n,s){return Object.entries(n).reduce((c,[u,y])=>{const F=u.toLowerCase();return s.includes(F)&&n[u]&&(c[F]=y),c},{})}function MC(n,s){const c=function v6(n,s=Oo.document.baseURI){if(n.startsWith("http://")||n.startsWith("https://")||n.startsWith(Oo.location.origin))return n;const c=new URL(n,s);if(c.origin!==new URL(s).origin)return n;const u=c.href;return!n.endsWith("/")&&u.endsWith("/")?u.slice(0,-1):u}(n);return kr(c,s)}function Gx(){return Gx=(0,zr.A)(function*(n,s,c){try{const u=yield function w6(n,s,c){return Kx.apply(this,arguments)}(n,s,c),y=eP("resource.fetch",u);ZO(c.replay,y)}catch(u){oe&&mn.exception(u,"Failed to capture fetch breadcrumb")}}),Gx.apply(this,arguments)}function Kx(){return Kx=(0,zr.A)(function*(n,s,c){const u=Date.now(),{startTimestamp:y=u,endTimestamp:F=u}=s,{url:I,method:J,status_code:ie=0,request_body_size:pe,response_body_size:Ge}=n.data,Ae=MC(I,c.networkDetailAllowUrls)&&!MC(I,c.networkDetailDenyUrls),mt=Ae?function C6({networkCaptureBodies:n,networkRequestHeaders:s},c,u){const y=c?function D6(n,s){return 1===n.length&&"string"!=typeof n[0]?nP(n[0],s):2===n.length?nP(n[1],s):{}}(c,s):{};if(!n)return Uf(y,u,void 0);const F=a1(c),[I,J]=Ow(F,mn),ie=Uf(y,u,I);return J?xC(ie,J):ie}(c,s.input,pe):Y1(pe),ut=yield function E6(n,s,c,u){return Xx.apply(this,arguments)}(Ae,c,s.response,Ge);return{startTimestamp:y,endTimestamp:F,url:I,method:J,statusCode:ie,request:mt,response:ut}}),Kx.apply(this,arguments)}function Xx(){return Xx=(0,zr.A)(function*(n,{networkCaptureBodies:s,networkResponseHeaders:c},u,y){if(!n&&void 0!==y)return Y1(y);const F=u?tP(u.headers,c):{};if(!u||!s&&void 0!==y)return Uf(F,y,void 0);const[I,J]=yield function S6(n){return Yx.apply(this,arguments)}(u),ie=function k6(n,{networkCaptureBodies:s,responseBodySize:c,captureDetails:u,headers:y}){try{const F=n?.length&&void 0===c?DC(n):c;return u?Uf(y,F,s?n:void 0):Y1(F)}catch(F){return oe&&mn.exception(F,"Failed to serialize response body"),Uf(y,c,void 0)}}(I,{networkCaptureBodies:s,responseBodySize:y,captureDetails:n,headers:F});return J?xC(ie,J):ie}),Xx.apply(this,arguments)}function Yx(){return Yx=(0,zr.A)(function*(n){const s=function x6(n){try{return n.clone()}catch(s){oe&&mn.exception(s,"Failed to clone response body")}}(n);if(!s)return[void 0,"BODY_PARSE_ERROR"];try{return[yield M6(s)]}catch(c){return c instanceof Error&&c.message.indexOf("Timeout")>-1?(oe&&mn.warn("Parsing text body from response timed out"),[void 0,"BODY_PARSE_TIMEOUT"]):(oe&&mn.exception(c,"Failed to get text body from response"),[void 0,"BODY_PARSE_ERROR"])}}),Yx.apply(this,arguments)}function tP(n,s){const c={};return s.forEach(u=>{n.get(u)&&(c[u]=n.get(u))}),c}function nP(n,s){if(!n)return{};const c=n.headers;return c?c instanceof Headers?tP(c,s):Array.isArray(c)?{}:Wx(c,s):{}}function M6(n){return new Promise((s,c)=>{const u=Bm(()=>c(new Error("Timeout while trying to read response body")),500);(function A6(n){return qx.apply(this,arguments)})(n).then(y=>s(y),y=>c(y)).finally(()=>clearTimeout(u))})}function qx(){return qx=(0,zr.A)(function*(n){return yield n.text()}),qx.apply(this,arguments)}function Qx(){return Qx=(0,zr.A)(function*(n,s,c){try{const u=function P6(n,s,c){const u=Date.now(),{startTimestamp:y=u,endTimestamp:F=u,input:I,xhr:J}=s,{url:ie,method:pe,status_code:Ge=0,request_body_size:Ae,response_body_size:mt}=n.data;if(!ie)return null;if(!J||!MC(ie,c.networkDetailAllowUrls)||MC(ie,c.networkDetailDenyUrls))return{startTimestamp:y,endTimestamp:F,url:ie,method:pe,statusCode:Ge,request:Y1(Ae),response:Y1(mt)};const ut=J[jn],Lt=ut?Wx(ut.request_headers,c.networkRequestHeaders):{},vn=Wx(c1(J),c.networkResponseHeaders),[Pn,Nn]=c.networkCaptureBodies?Ow(I,mn):[void 0],[bi,ir]=c.networkCaptureBodies?function I6(n){const s=[];try{return[n.responseText]}catch(c){s.push(c)}try{return function N6(n,s){try{if("string"==typeof n)return[n];if(n instanceof Document)return[n.body.outerHTML];if("json"===s&&Gt(n))return[JSON.stringify(n)];if(!n)return[void 0]}catch(c){return oe&&mn.exception(c,"Failed to serialize body",n),[void 0,"BODY_PARSE_ERROR"]}return oe&&mn.log("Skipping network body because of body type",n),[void 0,"UNPARSEABLE_BODY_TYPE"]}(n.response,n.responseType)}catch(c){s.push(c)}return oe&&mn.warn("Failed to get xhr response body",...s),[void 0]}(J):[void 0],Li=Uf(Lt,Ae,Pn),Nr=Uf(vn,mt,bi);return{startTimestamp:y,endTimestamp:F,url:ie,method:pe,statusCode:Ge,request:Nn?xC(Li,Nn):Li,response:ir?xC(Nr,ir):Nr}}(n,s,c),y=eP("resource.xhr",u);ZO(c.replay,y)}catch(u){oe&&mn.exception(u,"Failed to capture xhr breadcrumb")}}),Qx.apply(this,arguments)}function B6(n){const s=Ai();try{const{networkDetailAllowUrls:c,networkDetailDenyUrls:u,networkCaptureBodies:y,networkRequestHeaders:F,networkResponseHeaders:I}=n.getOptions(),J={replay:n,networkDetailAllowUrls:c,networkDetailDenyUrls:u,networkCaptureBodies:y,networkRequestHeaders:F,networkResponseHeaders:I};s&&s.on("beforeAddBreadcrumb",(ie,pe)=>function L6(n,s,c){if(s.data)try{(function U6(n){return"xhr"===n.category})(s)&&function V6(n){return n?.xhr}(c)&&(function O6(n,s){const{xhr:c,input:u}=s;if(!c)return;const y=DC(u),F=c.getResponseHeader("content-length")?JO(c.getResponseHeader("content-length")):function R6(n,s){try{return DC("json"===s&&Gt(n)?JSON.stringify(n):n)}catch{return}}(c.response,c.responseType);void 0!==y&&(n.data.request_body_size=y),void 0!==F&&(n.data.response_body_size=F)}(s,c),function T6(n,s,c){Qx.apply(this,arguments)}(s,c,n)),function j6(n){return"fetch"===n.category}(s)&&function z6(n){return void 0!==n?.input}(c)&&(function F6(n,s){const{input:c,response:u}=s,F=DC(c?a1(c):void 0),I=u?JO(u.headers.get("content-length")):void 0;void 0!==F&&(n.data.request_body_size=F),void 0!==I&&(n.data.response_body_size=I)}(s,c),function _6(n,s,c){Gx.apply(this,arguments)}(s,c,n))}catch(u){oe&&mn.exception(u,"Error when enriching network breadcrumb")}}(J,ie,pe))}catch{}}function $6(n){const s=Ai();ce((n=>
3s=>{if(!n.isEnabled())return;const c=function jO(n){const{target:s,message:c}=function Ox(n){const s="click"===n.name;let c,u=null;try{u=s?G1(n.event):K1(n.event),c=fr(u,{maxStringLength:200})||"<unknown>"}catch{c="<unknown>"}return{target:u,message:c}}(n);return Iu({category:`ui.${n.name}`,...Tx(s,c)})}(s);if(!c)return;const u="click"===s.name,y=u?s.event:void 0;u&&n.clickDetector&&y?.target&&!y.altKey&&!y.metaKey&&!y.ctrlKey&&!y.shiftKey&&function OO(n,s,c){n.handleClick(s,c)}(n.clickDetector,c,G1(s.event)),rh(n,c)})(n)),ri(function g6(n){return s=>{if(!n.isEnabled())return;const c=function p6(n){const{from:s,to:c}=n,u=Date.now()/1e3;return{type:"navigation.push",start:u,end:u,name:c,data:{previous:s}}}(s);null!==c&&(n.getContext().urls.push(c.name),n.triggerUserActivity(),n.addUpdate(()=>(SC(n,[c]),!1)))}}(n)),function o6(n){const s=Ai();s&&s.on("beforeAddBreadcrumb",c=>function a6(n,s){if(!n.isEnabled()||!qO(s))return;const c=function c6(n){return!qO(n)||["fetch","xhr","sentry.event","sentry.transaction"].includes(n.category)||n.category.startsWith("ui.")?null:"console"===n.category?function l6(n){const s=n.data?.arguments;if(!Array.isArray(s)||0===s.length)return Iu(n);let c=!1;const u=s.map(y=>{if(!y)return y;if("string"==typeof y)return y.length>a0?(c=!0,`${y.slice(0,a0)}\u2026`):y;if("object"==typeof y)try{const F=Pi(y,7);return JSON.stringify(F).length>a0?(c=!0,`${JSON.stringify(F,null,2).slice(0,a0)}\u2026`):F}catch{}return y});return Iu({...n,data:{...n.data,arguments:u,...c?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}(n):Iu(n)}(s);c&&rh(n,c)}(n,c))}(n),B6(n),function ol(n){Or().addEventProcessor(n)}(function f6(n){return Object.assign((s,c)=>{if(n.session&&EC(n.session,{maxReplayDuration:n.getOptions().maxReplayDuration,sessionIdleExpire:n.timeouts.sessionIdleExpire})&&kC(),!n.isEnabled()||n.isPaused())return s;if(function e6(n){return"replay_event"===n.type}(s))return delete s.breadcrumbs,s;if(!$x(s)&&!Hx(s)&&!YO(s))return s;if(!n.checkAndHandleExpiredSession())return kC(),s;if(YO(s))return n.flush(),s.contexts.feedback.replay_id=n.getSessionId(),function u6(n,s){n.triggerUserActivity(),n.addUpdate(()=>!s.timestamp||(n.throttledAddEvent({type:_s.Custom,timestamp:1e3*s.timestamp,data:{tag:"breadcrumb",payload:{timestamp:s.timestamp,type:"default",category:"sentry.feedback",data:{feedbackId:s.event_id}}}}),!1))}(n,s),s;if(function d6(n,s){return!(n.type||!n.exception?.values?.length||!s.originalException?.__rrweb__)}(s,c)&&!n.getOptions()._experiments.captureExceptions)return oe&&mn.log("Ignoring error from rrweb internals",s),null;const y=function h6(n,s){return!("buffer"!==n.recordingMode||s.message===b1||!s.exception||s.type)&&zO(n.getOptions().errorSampleRate)}(n,s);if((y||"session"===n.recordingMode)&&(s.tags={...s.tags,replayId:n.getSessionId()}),y&&"buffer"===n.recordingMode&&"buffer"===n.session?.sampled){const I=n.session;I.dirty=!0,n.getOptions().stickySession&&CC(I)}return s},{id:"Replay"})}(n)),s&&(s.on("beforeSendEvent",function r6(n){return s=>{!n.isEnabled()||!$x(s)||function s6(n,s){const c=s.exception?.values?.[0]?.value;"string"==typeof c&&(c.match(/(reactjs\.org\/docs\/error-decoder\.html\?invariant=|react\.dev\/errors\/)(418|419|422|423|425)/)||c.match(/(does not match server-rendered HTML|Hydration failed because)/i))&&rh(n,Iu({category:"replay.hydrate-error",data:{url:$a()}}))}(n,s)}}(n)),s.on("afterSendEvent",function t6(n){return(s,c)=>{if(!n.isEnabled()||!$x(s)&&!Hx(s))return;const u=c.statusCode;if(!(!u||u<200||u>=300)){if(Hx(s))return void function n6(n,s){XO(n,s.contexts?.trace?.trace_id,s.transaction)}(n,s);!function i6(n,s){const c=n.getContext();if(s.event_id&&c.errorIds.size<100&&c.errorIds.add(s.event_id),"buffer"!==n.recordingMode||!s.tags?.replayId)return;const{beforeErrorSampling:u}=n.getOptions();"function"==typeof u&&!u(s)||Bm((0,zr.A)(function*(){try{yield n.sendBufferedReplayOrFlush()}catch(y){n.handleException(y)}}))}(n,s)}}}(n)),s.on("createDsc",u=>{const y=n.getSessionId();y&&n.isEnabled()&&"session"===n.recordingMode&&n.checkAndHandleExpiredSession()&&(u.replay_id=y)}),s.on("processSegmentSpan",function JI(n){return s=>{n.isEnabled()&&XO(n,s.trace_id,s.name||void 0)}}(n)),s.on("spanStart",u=>{n.lastActiveSpan=u}),s.on("spanEnd",u=>{n.lastActiveSpan=u}),s.on("beforeSendFeedback",function(){var u=(0,zr.A)(function*(y,F){const I=n.get
3SessionId();F?.includeReplay&&n.isEnabled()&&I&&y.contexts?.feedback&&("api"===y.contexts.feedback.source&&(yield n.sendBufferedReplayOrFlush()),y.contexts.feedback.replay_id=I)});return function(y,F){return u.apply(this,arguments)}}()),s.on("openFeedbackWidget",(0,zr.A)(function*(){yield n.sendBufferedReplayOrFlush()})))}function Zx(){return Zx=(0,zr.A)(function*(n){try{return Promise.all(SC(n,[W6(Oo.performance.memory)]))}catch{return[]}}),Zx.apply(this,arguments)}function W6(n){const{jsHeapSizeLimit:s,totalJSHeapSize:c,usedJSHeapSize:u}=n,y=Date.now()/1e3;return{type:"memory",name:"memory",start:y,end:y,data:{memory:{jsHeapSizeLimit:s,totalJSHeapSize:c,usedJSHeapSize:u}}}}const AC=he.navigator;function X6(n){let s=!1;return(c,u)=>{try{if(!n.checkAndHandleExpiredSession())return void(oe&&mn.warn("Received replay event after session expired."));const y=u||!s;s=!0,function Y6(n){const s=n.data;if(n.type===_s.IncrementalSnapshot&&s&&"object"==typeof s&&"source"in s&&s.source===Ar.Mutation&&"attributes"in s&&Array.isArray(s.attributes))for(const c of s.attributes){const u=wd.mirror.getNode(c.id),y=u&&wd.mirror.getMeta(u);if(y?.type===X1.Element)for(const[F,I]of Object.entries(c.attributes))null===I?delete y.attributes[F]:y.attributes[F]=I}}(c),n.clickDetector&&function NO(n,s){try{if(!function RO(n){return n.type===$1}(s))return;const{source:c}=s.data;if(Sx.has(c)&&n.registerMutation(s.timestamp),c===Ar.Scroll&&n.registerScroll(s.timestamp),function BO(n){return n.data.source===Ar.MouseInteraction}(s)){const{type:u,id:y}=s.data,F=wd.mirror.getNode(y);F instanceof HTMLElement&&u===xl.Click&&n.registerClick(F)}}catch{}}(n.clickDetector,c),n.addUpdate(()=>{if("buffer"===n.recordingMode&&y&&n.setInitialState(),!Vx(n,c,y))return!0;if(!y)return!1;const F=n.session;if(function Q6(n,s){!s||0!==n.session?.segmentId||Vx(n,function q6(n){const s=n.getOptions();return{type:_s.Custom,timestamp:Date.now(),data:{tag:"options",payload:{shouldRecordCanvas:n.isRecordingCanvas(),sessionSampleRate:s.sessionSampleRate,errorSampleRate:s.errorSampleRate,useCompressionOption:s.useCompression,blockAllMedia:s.blockAllMedia,maskAllText:s.maskAllText,maskAllInputs:s.maskAllInputs,useCompression:!!n.eventBuffer&&"worker"===n.eventBuffer.type,networkDetailHasUrls:s.networkDetailAllowUrls.length>0,networkCaptureBodies:s.networkCaptureBodies,networkRequestHasHeaders:s.networkRequestHeaders.length>0,networkResponseHasHeaders:s.networkResponseHeaders.length>0}}}}(n),!1)}(n,y),"buffer"===n.recordingMode&&F&&n.eventBuffer&&!F.dirty){const I=n.eventBuffer.getEarliestTimestamp();I&&(oe&&mn.log(`Updating session start time to earliest event in buffer to ${new Date(I)}`),F.started=I,n.getOptions().stickySession&&CC(F))}return F?.previousSessionId||"session"===n.recordingMode&&n.flush(),!0})}catch(y){n.handleException(y)}}}function Jx(){return Jx=(0,zr.A)(function*({client:n,scope:s,replayId:c,event:u}){const F={event_id:c,integrations:"object"!=typeof n._integrations||null===n._integrations||Array.isArray(n._integrations)?void 0:Object.keys(n._integrations)};n.emit("preprocessEvent",u,F);const I=yield Hc(n.getOptions(),u,F,s,n,Or());if(!I)return null;n.emit("postprocessEvent",I,F),I.platform=I.platform||"javascript";const J=n.getSdkMetadata(),{name:ie,version:pe,settings:Ge}=J?.sdk||{};return I.sdk={...I.sdk,name:ie||"sentry.javascript.unknown",version:pe||"0.0.0",settings:Ge},I}),Jx.apply(this,arguments)}function e3(){return e3=(0,zr.A)(function*({recordingData:n,replayId:s,segmentId:c,eventContext:u,timestamp:y,session:F}){const I=function e5({recordingData:n,headers:s}){let c;const u=`${JSON.stringify(s)}\n`;if("string"==typeof n)c=`${u}${n}`;else{const F=(new TextEncoder).encode(u);c=new Uint8Array(F.length+n.length),c.set(F),c.set(n,F.length)}return c}({recordingData:n,headers:{segment_id:c}}),{urls:J,errorIds:ie,traceIds:pe,segmentNames:Ge,initialTimestamp:Ae}=u,mt=Ai(),ut=fi(),Lt=mt?.getTransport(),vn=mt?.getDsn();if(!(mt&&Lt&&vn&&F.sampled))return Promise.resolve({});const Pn={type:Qw,replay_start_timestamp:Ae/1e3,timestamp:y/1e3,error_ids:ie,trace_ids:pe,segment_names:Ge,urls:J,replay_id:s,segment_id:c,replay_type:F.sampled},Nn=yield function t5(n){return Jx.apply(this,arguments)}({scope:ut,client:mt,replayId:s,event:Pn});if(!Nn)return mt.recordDroppedEvent("event_processor","replay"),oe&&mn.log("An event processor returned `null`, will not send event."),Promise.resolve({});delete Nn.sdkProcessingMetadata;const bi=function J6(n,s,c,u){return Au(rb(n,ib(n),u,c),[[{type:"replay_event"},n],[{type:"replay_recording",length:"string"==typeof s?(new TextEncoder).encode(s).length:s.length},s]])}(Nn,I,vn,mt.getOptions().tunnel);let ir;
3try{ir=yield Lt.send(bi)}catch(Nr){const Ji=new Error(b1);try{Ji.cause=Nr}catch{}throw Ji}const Li=uF({},ir);if(dF(Li,"replay"))throw new t3(Li);if("number"==typeof ir.statusCode&&(ir.statusCode<200||ir.statusCode>=300))throw new iP(ir.statusCode);return ir}),e3.apply(this,arguments)}class iP extends Error{constructor(s){super(`Transport returned status code ${s}`)}}class t3 extends Error{constructor(s){super("Rate limit hit"),this.rateLimits=s}}class rP extends Error{constructor(){super("Session is too long, not sending replay")}}function sP(n){return n3.apply(this,arguments)}function n3(){return n3=(0,zr.A)(function*(n,s={count:0,interval:s0}){const{recordingData:c,onError:u}=n;if(c.length)try{return yield function n5(n){return e3.apply(this,arguments)}(n),!0}catch(y){if(y instanceof iP||y instanceof t3)throw y;if(Lu("Replays",{_retryCount:s.count}),u&&u(y),s.count>=o0){const F=new Error(`${b1} - max retries exceeded`);try{F.cause=y}catch{}throw F}return s.interval*=++s.count,new Promise((F,I)=>{Bm((0,zr.A)(function*(){try{yield sP(n,s),F(!0)}catch(J){I(J)}}),s.interval)})}}),n3.apply(this,arguments)}const oP="__THROTTLED";class s5{constructor({options:s,recordingOptions:c}){this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode="session",this.timeouts={sessionIdlePause:3e5,sessionIdleExpire:9e5},this._lastActivity=Date.now(),this._isEnabled=!1,this._isPaused=!1,this._requiresManualStart=!1,this._hasInitializedCoreListeners=!1,this._context={errorIds:new Set,traceIds:new Set,segmentNames:new Set,urls:[],initialTimestamp:Date.now(),initialUrl:""},this._recordingOptions=c,this._options=s,this._debouncedFlush=function G6(n,s,c){return function Yw(n,s,c){let u,y,F;const I=c?.maxWait?Math.max(c.maxWait,s):0,J=c?.setTimeoutImpl||setTimeout;function ie(){return pe(),u=n(),u}function pe(){void 0!==y&&clearTimeout(y),void 0!==F&&clearTimeout(F),y=F=void 0}function Ae(){return y&&clearTimeout(y),y=J(ie,s),I&&void 0===F&&(F=J(ie,I)),u}return Ae.cancel=pe,Ae.flush=function Ge(){return void 0!==y||void 0!==F?ie():u},Ae}(n,s,{...c,setTimeoutImpl:Bm})}(()=>this._flush(),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=function r5(n,s,c){const u=new Map;let I=!1;return(...J)=>{const ie=Math.floor(Date.now()/1e3);if((J=>{const ie=J-c;u.forEach((pe,Ge)=>{Ge<ie&&u.delete(Ge)})})(ie),[...u.values()].reduce((J,ie)=>J+ie,0)>=s){const Ge=I;return I=!0,Ge?"__SKIPPED":oP}I=!1;const pe=u.get(ie)||0;return u.set(ie,pe+1),n(...J)}}((I,J)=>function QI(n,s,c){return GO(n,s)?WO(n,s,c):Promise.resolve(null)}(this,I,J),300,5);const{slowClickTimeout:u,slowClickIgnoreSelectors:y}=this.getOptions(),F=u?{threshold:Math.min(3e3,u),timeout:u,scrollTimeout:300,ignoreSelector:y?y.join(","):""}:void 0;if(F&&(this.clickDetector=new PO(this,F)),oe){const I=s._experiments;mn.setConfig({captureExceptions:!!I.captureExceptions,traceInternals:!!I.traceInternals})}this._handleVisibilityChange=()=>{"visible"===Oo.document.visibilityState?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()},this._handleWindowBlur=()=>{const I=Iu({category:"ui.blur"});this._doChangeToBackgroundTasks(I)},this._handleWindowFocus=()=>{const I=Iu({category:"ui.focus"});this._doChangeToForegroundTasks(I)},this._handleKeyboardEvent=I=>{!function Ix(n,s){if(!n.isEnabled())return;n.updateUserActivity();const c=function Nx(n){const{metaKey:s,shiftKey:c,ctrlKey:u,altKey:y,key:F,target:I}=n;if(!I||function Rx(n){return"INPUT"===n.tagName||"TEXTAREA"===n.tagName||n.isContentEditable}(I)||!F)return null;if(!(s||u||y)&&1===F.length)return null;const pe=fr(I,{maxStringLength:200})||"<unknown>";return Iu({category:"ui.keyDown",message:pe,data:{...Tx(I,pe).data,metaKey:s,shiftKey:c,ctrlKey:u,altKey:y,key:F}})}(s);c&&rh(n,c)}(this,I)}}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return!!this._canvas}getOptions(){return this._options}handleException(s){oe&&mn.exception(s),this._options.onError&&this._options.onError(s)}initializeSampling(s){const{errorSampleRate:c,sessionSampleRate:u}=this._options,y=c<=0&&u<=0;if(this._requiresManualStart=y,!y){if(this._initializeSessionForSampling(s),!this.session)return void(oe&&mn.exception(new Error("Unable to initialize and create session")));!1!==this.session.sampled&&(this.recordingMode="buffer"===this.session.sampled&&0===this.session.segmentId?"buffer":"session",oe&&mn.infoTick(`Starting replay in ${this.recordingMode} mode`),this._initializeRecording())}}
3start(){if(this._isEnabled&&"session"===this.recordingMode)return void(oe&&mn.log("Recording is already in progress"));if(this._isEnabled&&"buffer"===this.recordingMode)return void(oe&&mn.log("Buffering is in progress, call `flush()` to save the replay"));oe&&mn.infoTick("Starting replay in session mode"),this._updateUserActivity();const s=jx({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=s,this.recordingMode="session",this._initializeRecording()}startBuffering(){if(this._isEnabled)return void(oe&&mn.log("Buffering is in progress, call `flush()` to save the replay"));oe&&mn.infoTick("Starting replay in buffer mode");const s=jx({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=s,this.recordingMode="buffer",this._initializeRecording()}startRecording(){try{const s=this._canvas;this._stopRecording=wd({...this._recordingOptions,..."buffer"===this.recordingMode?{checkoutEveryNms:6e4}:this._options._experiments.continuousCheckout&&{checkoutEveryNms:Math.max(36e4,this._options._experiments.continuousCheckout)},emit:X6(this),.../iPhone|iPad|iPod/i.test(AC?.userAgent??"")||/Macintosh/i.test(AC?.userAgent??"")&&AC?.maxTouchPoints&&AC?.maxTouchPoints>1?{sampling:{mousemove:!1}}:{},onMutation:this._onMutationHandler.bind(this),...s?{recordCanvas:s.recordCanvas,getCanvasManager:s.getCanvasManager,sampling:s.sampling,dataURLOptions:s.dataURLOptions}:{}})}catch(s){this.handleException(s)}}stopRecording(){try{return this._stopRecording&&(this._stopRecording(),this._stopRecording=void 0),!0}catch(s){return this.handleException(s),!1}}stop(){var s=this;return(0,zr.A)(function*({forceFlush:c=!1,reason:u}={}){if(!s._isEnabled)return;s._isEnabled=!1,s.recordingMode="buffer";const y=u??"manual";Ai()?.emit("replayEnd",{sessionId:s.session?.id,reason:y});try{oe&&mn.log(`Stopping Replay triggered by ${y}`),kC(),s._removeListeners(),s.stopRecording(),s._debouncedFlush.cancel(),c&&(yield s._flush({force:!0})),s.eventBuffer?.destroy(),s.eventBuffer=null,function WI(n){(function GI(){if(_0())try{Oo.sessionStorage.removeItem(qw)}catch{}})(),n.session=void 0}(s)}catch(F){s.handleException(F)}}).apply(this,arguments)}pause(){this._isPaused||(this._isPaused=!0,this.stopRecording(),oe&&mn.log("Pausing replay"))}resume(){!this._isPaused||!this._checkSession()||(this._isPaused=!1,this.startRecording(),oe&&mn.log("Resuming replay"))}sendBufferedReplayOrFlush(){var s=this;return(0,zr.A)(function*({continueRecording:c=!0}={}){if("session"===s.recordingMode)return s.flushImmediate();const u=Date.now();oe&&mn.log("Converting buffer to session"),yield s.flushImmediate();const y=s.stopRecording();!c||!y||"session"!==s.recordingMode&&(s.recordingMode="session",s.session&&(s.session.dirty=!1,s._updateUserActivity(u),s._updateSessionActivity(u),s._maybeSaveSession(),QO(s.session.id)),s.startRecording())}).apply(this,arguments)}addUpdate(s){const c=s();"buffer"===this.recordingMode||!this._isEnabled||!0!==c&&this._debouncedFlush()}triggerUserActivity(){if(this._updateUserActivity(),this._stopRecording)this.checkAndHandleExpiredSession(),this._updateSessionActivity();else{if(!this._checkSession())return;this.resume()}}updateUserActivity(){this._updateUserActivity(),this._updateSessionActivity()}conditionalFlush(){return"buffer"===this.recordingMode?Promise.resolve():this.flushImmediate()}flush(){return this._debouncedFlush()}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}cancelFlush(){this._debouncedFlush.cancel()}getSessionId(s){if(!s||!1!==this.session?.sampled)return this.session?.id}checkAndHandleExpiredSession(){if(!this._lastActivity||!Ux(this._lastActivity,this.timeouts.sessionIdlePause)||"session"!==this.session?.sampled)return!!this._checkSession();this.pause()}setInitialState(){const c=`${Oo.location.origin}${Oo.location.pathname}${Oo.location.hash}${Oo.location.search}`;this.performanceEntries=[],this.replayPerformanceEntries=[],this._clearContext(),this._context.
3initialUrl=c,this._context.initialTimestamp=Date.now(),this._context.urls.push(c)}throttledAddEvent(s,c){const u=this._throttledAddEvent(s,c);if(u===oP){const y=Iu({category:"replay.throttled"});this.addUpdate(()=>!Vx(this,{type:5,timestamp:y.timestamp||0,data:{tag:"breadcrumb",payload:y,metric:!0}}))}return u}getCurrentRoute(){const s=this.lastActiveSpan||Ls(),c=s&&Cr(s),y=(c&&xi(c).data||{})[Zs];if(c&&y&&["route","custom"].includes(y))return xi(c).description}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=function rc({useCompression:n,workerUrl:s}){if(n&&window.Worker){const c=function Bl(n){try{const s=n||function Lf(){return typeof __SENTRY_EXCLUDE_REPLAY_WORKER__>"u"||!__SENTRY_EXCLUDE_REPLAY_WORKER__?function Je(){const n=new Blob(['
vendor: 10,329 bytes, line 3
3var t=Uint8Array,n=Uint16Array,r=Int32Array,e=new t([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),i=new t([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),s=new t([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),a=function(t,e){for(var i=new n(31),s=0;s<31;++s)i[s]=e+=1<<t[s-1];var a=new r(i[30]);for(s=1;s<30;++s)for(var o=i[s];o<i[s+1];++o)a[o]=o-i[s]<<5|s;return{b:i,r:a}},o=a(e,2),h=o.b,f=o.r;h[28]=258,f[258]=28;for(var l=a(i,0).r,u=new n(32768),c=0;c<32768;++c){var v=(43690&c)>>1|(21845&c)<<1;v=(61680&(v=(52428&v)>>2|(13107&v)<<2))>>4|(3855&v)<<4,u[c]=((65280&v)>>8|(255&v)<<8)>>1}var d=function(t,r,e){for(var i=t.length,s=0,a=new n(r);s<i;++s)t[s]&&++a[t[s]-1];var o,h=new n(r);for(s=1;s<r;++s)h[s]=h[s-1]+a[s-1]<<1;if(e){o=new n(1<<r);var f=15-r;for(s=0;s<i;++s)if(t[s])for(var l=s<<4|t[s],c=r-t[s],v=h[t[s]-1]++<<c,d=v|(1<<c)-1;v<=d;++v)o[u[v]>>f]=l}else for(o=new n(i),s=0;s<i;++s)t[s]&&(o[s]=u[h[t[s]-1]++]>>15-t[s]);return o},p=new t(288);for(c=0;c<144;++c)p[c]=8;for(c=144;c<256;++c)p[c]=9;for(c=256;c<280;++c)p[c]=7;for(c=280;c<288;++c)p[c]=8;var g=new t(32);for(c=0;c<32;++c)g[c]=5;var w=d(p,9,0),y=d(g,5,0),m=function(t){return(t+7)/8|0},b=function(n,r,e){return(null==e||e>n.length)&&(e=n.length),new t(n.subarray(r,e))},M=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],E=function(t,n,r){var e=new Error(n||M[t]);if(e.code=t,Error.captureStackTrace&&Error.captureStackTrace(e,E),!r)throw e;return e},z=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8},_=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8,t[e+2]|=r>>16},x=function(r,e){for(var i=[],s=0;s<r.length;++s)r[s]&&i.push({s:s,f:r[s]});var a=i.length,o=i.slice();if(!a)return{t:F,l:0};if(1==a){var h=new t(i[0].s+1);return h[i[0].s]=1,{t:h,l:1}}i.sort(function(t,n){return t.f-n.f}),i.push({s:-1,f:25001});var f=i[0],l=i[1],u=0,c=1,v=2;for(i[0]={s:-1,f:f.f+l.f,l:f,r:l};c!=a-1;)f=i[i[u].f<i[v].f?u++:v++],l=i[u!=c&&i[u].f<i[v].f?u++:v++],i[c++]={s:-1,f:f.f+l.f,l:f,r:l};var d=o[0].s;for(s=1;s<a;++s)o[s].s>d&&(d=o[s].s);var p=new n(d+1),g=A(i[c-1],p,0);if(g>e){s=0;var w=0,y=g-e,m=1<<y;for(o.sort(function(t,n){return p[n.s]-p[t.s]||t.f-n.f});s<a;++s){var b=o[s].s;if(!(p[b]>e))break;w+=m-(1<<g-p[b]),p[b]=e}for(w>>=y;w>0;){var M=o[s].s;p[M]<e?w-=1<<e-p[M]++-1:++s}for(;s>=0&&w;--s){var E=o[s].s;p[E]==e&&(--p[E],++w)}g=e}return{t:new t(p),l:g}},A=function(t,n,r){return-1==t.s?Math.max(A(t.l,n,r+1),A(t.r,n,r+1)):n[t.s]=r},D=function(t){for(var r=t.length;r&&!t[--r];);for(var e=new n(++r),i=0,s=t[0],a=1,o=function(t){e[i++]=t},h=1;h<=r;++h)if(t[h]==s&&h!=r)++a;else{if(!s&&a>2){for(;a>138;a-=138)o(32754);a>2&&(o(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(o(s),--a;a>6;a-=6)o(8304);a>2&&(o(a-3<<5|8208),a=0)}for(;a--;)o(s);a=1,s=t[h]}return{c:e.subarray(0,i),n:r}},T=function(t,n){for(var r=0,e=0;e<n.length;++e)r+=t[e]*n[e];return r},k=function(t,n,r){var e=r.length,i=m(n+2);t[i]=255&e,t[i+1]=e>>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var s=0;s<e;++s)t[i+s+4]=r[s];return 8*(i+4+e)},U=function(t,r,a,o,h,f,l,u,c,v,m){z(r,m++,a),++h[256];for(var b=x(h,15),M=b.t,E=b.l,A=x(f,15),U=A.t,C=A.l,F=D(M),I=F.c,S=F.n,L=D(U),O=L.c,j=L.n,q=new n(19),B=0;B<I.length;++B)++q[31&I[B]];for(B=0;B<O.length;++B)++q[31&O[B]];for(var G=x(q,7),H=G.t,J=G.l,K=19;K>4&&!H[s[K-1]];--K);var N,P,Q,R,V=v+5<<3,W=T(h,p)+T(f,g)+l,X=T(h,M)+T(f,U)+l+14+3*K+T(q,H)+2*q[16]+3*q[17]+7*q[18];if(c>=0&&V<=W&&V<=X)return k(r,m,t.subarray(c,c+v));if(z(r,m,1+(X<W)),m+=2,X<W){N=d(M,E,0),P=M,Q=d(U,C,0),R=U;var Y=d(H,J,0);z(r,m,S-257),z(r,m+5,j-1),z(r,m+10,K-4),m+=14;for(B=0;B<K;++B)z(r,m+3*B,H[s[B]]);m+=3*K;for(var Z=[I,O],$=0;$<2;++$){var tt=Z[$];for(B=0;B<tt.length;++B){var nt=31&tt[B];z(r,m,Y[nt]),m+=H[nt],nt>15&&(z(r,m,tt[B]>>5&127),m+=tt[B]>>12)}}}else N=w,P=p,Q=y,R=g;for(B=0;B<u;++B){var rt=o[B];if(rt>255){_(r,m,N[(nt=rt>>18&31)+257]),m+=P[nt+257],nt>7&&(z(r,m,rt>>23&31),m+=e[nt]);var et=31&rt;_(r,m,Q[et]),m+=R[et],et>3&&(_(r,m,rt>>5&8191),m+=i[et])}else _(r,m,N[rt]),m+=P[rt]}return _(r,m,N[256]),m+P[256]},C=new r([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),F=new t(0),I=function(){for(var t=new Int32Array(256),n=0;n<256;++n){for(var r=n,e=9;--e;)r=(1&r&&-306674912)^r>>>1;t[n]=r}return t}(),S=function(){var t=1,n=0;return{p:function(r){for(var e=t,i=n,s=0|r.length,a=0;a!=s;){for(var o=Math.min(a+2655,s);a<o;++a)i+=e+=r[a];e=(65535&e)+15*(e>>16),i=(65535&i)+15*(i>>16)}t=e,n=i},d:function(){return(255&(t%=65521))<<24|(65280&t)<<8|(255&(n%=65521))<<8|n>>8}}},L=function(s,a,o,h,u){if(!u&&(u={l:1},a.dictionary)){var c=a.dictionary.subarray(-32768),v=new t(c.length+s.length);v.set(c),v.set(s,c.length),s=v,u.w=c.length}return function(s,a,o,h,u,c){var v=c.z||s.length,d=new t(h+v+5*(1+Math.ceil(v/7e3))+u),p=d.subarray(h,d.length-u),g=c.l,w=7&(c.r||0);if(a){w&&(p[0]=c.r>>3);for(var y=C[a-1],M=y>>13,E=8191&y,z=(1<<o)-1,_=c.p||new n(32768),x=c.h||new n(z+1),A=Math.ceil(o/3),D=2*A,T=function(t){return(s[t]^s[t+1]<<A^s[t+2]<<D)&z},F=new r(25e3),I=new n(288),S=new n(32),L=0,O=0,j=c.i||0,q=0,B=c.w||0,G=0;j+2<v;++j){var H=T(j),J=32767&j,K=x[H];if(_[J]=K,x[H]=J,B<=j){var N=v-j;if((L>7e3||q>24576)&&(N>423||!g)){w=U(s,p,0,F,I,S,O,q,G,j-G,w),q=L=O=0,G=j;for(var P=0;P<286;++P)I[P]=0;for(P=0;P<30;++P)S[P]=0}var Q=2,R=0,V=E,W=J-K&32767;if(N>2&&H==T(j-W))for(var X=Math.min(M,N)-1,Y=Math.min(32767,j),Z=Math.min(258,N);W<=Y&&--V&&J!=K;){if(s[j+Q]==s[j+Q-W]){for(var $=0;$<Z&&s[j+$]==s[j+$-W];++$);if($>Q){if(Q=$,R=W,$>X)break;var tt=Math.min(W,$-2),nt=0;for(P=0;P<tt;++P){var rt=j-W+P&32767,et=rt-_[rt]&32767;et>nt&&(nt=et,K=rt)}}}W+=(J=K)-(K=_[J])&32767}if(R){F[q++]=268435456|f[Q]<<18|l[R];var it=31&f[Q],st=31&l[R];O+=e[it]+i[st],++I[257+it],++S[st],B=j+Q,++L}else F[q++]=s[j],++I[s[j]]}}for(j=Math.max(j,B);j<v;++j)F[q++]=s[j],++I[s[j]];w=U(s,p,g,F,I,S,O,q,G,j-G,w),g||(c.r=7&w|p[w/8|0]<<3,w-=7,c.h=x,c.p=_,c.i=j,c.w=B)}else{for(j=c.w||0;j<v+g;j+=65535){var at=j+65535;at>=v&&(p[w/8|0]=g,at=v),w=k(p,w+1,s.subarray(j,at))}c.i=v}return b(d,0,h+m(w)+u)}(s,null==a.level?6:a.level,null==a.mem?u.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(s.length)))):20:12+a.mem,o,h,u)},O=function(t,n,r){for(;r;++n)t[n]=r,r>>>=8},j=function(){function n(n,r){if("function"==typeof n&&(r=n,n={}),this.ondata=r,this.o=n||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new t(98304),this.o.dictionary){var e=this.o.dictionary.subarray(-32768);this.b.set(e,32768-e.length),this.s.i=32768-e.length}}return n.prototype.p=function(t,n){this.ondata(L(t,this.o,0,0,this.s),n)},n.prototype.push=function(n,r){this.ondata||E(5),this.s.l&&E(4);var e=n.length+this.s.z;if(e>this.b.length){if(e>2*this.b.length-32768){var i=new t(-32768&e);i.set(this.b.subarray(0,this.s.z)),this.b=i}var s=this.b.length-this.s.z;this.b.set(n.subarray(0,s),this.s.z),this.s.z=this.b.length,this.p(this.b,!1),this.b.set(this.b.subarray(-32768)),this.b.set(n.subarray(s),32768),this.s.z=n.length-s+32768,this.s.i=32766,this.s.w=32768}else this.b.set(n,this.s.z),this.s.z+=n.length;this.s.l=1&r,(this.s.z>this.s.w+8191||r)&&(this.p(this.b,r||!1),this.s.w=this.s.i,this.s.i-=2)},n.prototype.flush=function(){this.ondata||E(5),this.s.l&&E(4),this.p(this.b,!1),this.s.w=this.s.i,this.s.i-=2},n}();function q(t,n){n||(n={});var r=function(){var t=-1;return{p:function(n){for(var r=t,e=0;e<n.length;++e)r=I[255&r^n[e]]^r>>>8;t=r},d:function(){return~t}}}(),e=t.length;r.p(t);var i,s=L(t,n,10+((i=n).filename?i.filename.length+1:0),8),a=s.length;return function(t,n){var r=n.filename;if(t[0]=31,t[1]=139,t[2]=8,t[8]=n.level<2?4:9==n.level?2:0,t[9]=3,0!=n.mtime&&O(t,4,Math.floor(new Date(n.mtime||Date.now())/1e3)),r){t[3]=8;for(var e=0;e<=r.length;++e)t[e+10]=r.charCodeAt(e)}}(s,n),O(s,a-8,r.d()),O(s,a-4,e),s}var B=function(){function t(t,n){this.c=S(),this.v=1,j.call(this,t,n)}return t.prototype.push=function(t,n){this.c.p(t),j.prototype.push.call(this,t,n)},t.prototype.p=function(t,n){var r=L(t,this.o,this.v&&(this.o.dictionary?6:2),n&&4,this.s);this.v&&(function(t,n){var r=n.level,e=0==r?0:r<6?1:9==r?3:2;if(t[0]=120,t[1]=e<<6|(n.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,n.dictionary){var i=S();i.p(n.dictionary),O(t,2,i.d())}}(r,this.o),this.v=0),n&&O(r,r.length-4,this.c.d()),this.ondata(r,n)},t.prototype.flush=function(){j.prototype.flush.call(this)},t}(),G="undefined"!=typeof TextEncoder&&new TextEncoder,H="undefined"!=typeof TextDecoder&&new TextDecoder;try{H.decode(F,{stream:!0})}catch(t){}var J=function(){function t(t){this.ondata=t}return t.prototype.push=function(t,n){this.ondata||E(5),this.d&&E(4),this.ondata(K(t),this.d=n||!1)},t}();function K(n,r){if(G)return G.encode(n);for(var e=n.length,i=new t(n.length+(n.length>>1)),s=0,a=function(t){i[s++]=t},o=0;o<e;++o){if(s+5>i.length){var h=new t(s+8+(e-o<<1));h.set(i),i=h}var f=n.charCodeAt(o);f<128||r?a(f):f<2048?(a(192|f>>6),a(128|63&f)):f>55295&&f<57344?(a(240|(f=65536+(1047552&f)|1023&n.charCodeAt(++o))>>18),a(128|f>>12&63),a(128|f>>6&63),a(128|63&f)):(a(224|f>>12),a(128|f>>6&63),a(128|63&f))}return b(i,0,s)}const N=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const n=this._hasEvents?",":"";this.stream.push(n+t),this._hasEvents=!0}finish(){this.stream.push("]",!0);const t=function(t){let n=0;for(const r of t)n+=r.length;const r=new Uint8Array(n);for(let n=0,e=0,i=t.length;n<i;n++){const i=t[n];r.set(i,e),e+=i.length}return r}(this._deflatedData);return this._init(),t}_init(){this._hasEvents=!1,this._deflatedData=[],this.deflate=new B,this.deflate.ondata=(t,n)=>{this._deflatedData.push(t)},this.stream=new J((t,n)=>{this.deflate.push(t,n)}),this.stream.push("[")}},P={clear:()=>{N.clear()},addEvent:t=>N.addEvent(t),finish:()=>N.finish(),compress:t=>function(t){return q(K(t))}(t)};addEventListener("message",function(t){const n=t.data.method,r=t.data.id,e=t.data.arg;if(n in P&&"function"==typeof P[n])try{const t=P[n](e);postMessage({id:r,method:n,success:!0,response:t})}catch(t){postMessage({id:r,method:n,success:!1,response:t.message}),console.error(t)}}),postMessage({id:void 0,method:"init",success:!0,response:void 0});
3'],{type:"text/javascript"});return URL.createObjectURL(n)}():""}();if(!s)return;oe&&mn.log("Using compression worker"+(n?` from ${n}`:""));const c=new Worker(s);return new Wo(c)}catch(s){oe&&mn.exception(s,"Failed to create compression worker")}}(s);if(c)return c}return oe&&mn.log("Using simple buffer"),new On}({useCompression:this._options.useCompression,workerUrl:this._options.workerUrl}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.session&&Ai()?.emit("replayStart",{sessionId:this.session.id,recordingMode:this.recordingMode}),this.startRecording(),"session"===this.recordingMode&&this.session&&QO(this.session.id)}_initializeSessionForSampling(s){const u=jx({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,previousSessionId:s},{stickySession:this._options.stickySession,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:this._options.errorSampleRate>0});this.session=u}_checkSession(){if(!this.session)return!1;const s=this.session;return!EC(s,{sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration})||(this._refreshSession(s),!1)}_refreshSession(s){var c=this;return(0,zr.A)(function*(){c._isEnabled&&(yield c.stop({reason:"sessionExpired"}),c.initializeSampling(s.id))})()}_addListeners(){try{Oo.document.addEventListener("visibilitychange",this._handleVisibilityChange),Oo.addEventListener("blur",this._handleWindowBlur),Oo.addEventListener("focus",this._handleWindowFocus),Oo.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||($6(this),this._hasInitializedCoreListeners=!0)}catch(s){this.handleException(s)}this._performanceCleanupCallback=function G(n){function s(y){n.performanceEntries.includes(y)||n.performanceEntries.push(y)}function c({entries:y}){y.forEach(s)}const u=[];return["navigation","paint","resource"].forEach(y=>{u.push(uu(y,c))}),u.push(qm(v0(l,n)),Lp(v0(b,n)),Up(v0(E,n))),()=>{u.forEach(y=>y())}}(this)}_removeListeners(){try{Oo.document.removeEventListener("visibilitychange",this._handleVisibilityChange),Oo.removeEventListener("blur",this._handleWindowBlur),Oo.removeEventListener("focus",this._handleWindowFocus),Oo.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceCleanupCallback&&this._performanceCleanupCallback()}catch(s){this.handleException(s)}}_doChangeToBackgroundTasks(s){this.session&&(EC(this.session,{maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire})?kC():(s&&this._createCustomBreadcrumb(s),this.conditionalFlush()))}_doChangeToForegroundTasks(s){this.session&&(this.checkAndHandleExpiredSession()?s&&this._createCustomBreadcrumb(s):oe&&mn.log("Document has become active, but session has expired"))}_updateUserActivity(s=Date.now()){this._lastActivity=s}_updateSessionActivity(s=Date.now()){this.session&&(this.session.lastActivity=s,this._maybeSaveSession())}_createCustomBreadcrumb(s){this.addUpdate(()=>{this.throttledAddEvent({type:_s.Custom,timestamp:s.timestamp||0,data:{tag:"breadcrumb",payload:s}})})}_addPerformanceEntries(){let s=function VO(n){return n.map(Lx).filter(Boolean)}(this.performanceEntries).concat(this.replayPerformanceEntries);if(this.performanceEntries=[],this.replayPerformanceEntries=[],this._requiresManualStart){const c=this._context.initialTimestamp/1e3;s=s.filter(u=>u.start>=c)}return Promise.all(SC(this,s))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.segmentNames.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){const{session:s,eventBuffer:c}=this;if(!s||!c||this._requiresManualStart||s.segmentId)return;const u=c.getEarliestTimestamp();u&&u<this._context.initialTimestamp&&(this._context.initialTimestamp=u)}_popEventContext(){const s={initialTimestamp:this._context.initialTimestamp,initialUrl:this._context.initialUrl,errorIds:Array.from(this._context.errorIds),traceIds:Array.from(this._context.traceIds),segmentNames:Array.from(this._context.segmentNames),urls:this._context.urls};return this._clearContext(),s}_runFlush(){var s=this;return(0,zr.A)(function*(){const c=s.getSessionId();if(s.session&&s.eventBuffer&&c){if(yield s._addPerformanceEntries(),s.eventBuffer?.hasEvents&&(yield function H6(n){return Zx.apply(this,arguments)}(s),s.eventBuffer&&c===s.getSessionId()))try{s._updateInitialTimestampFromEventBuffer();const u=Date.now();
3if(u-s._context.initialTimestamp>s._options.maxReplayDuration+3e4)throw new rP;const y=s._popEventContext(),F=s.session.segmentId++;s._maybeSaveSession();const I=yield s.eventBuffer.finish();yield sP({replayId:c,recordingData:I,segmentId:F,eventContext:y,session:s.session,timestamp:u,onError:J=>s.handleException(J)})}catch(u){s.handleException(u),s.stop({reason:"sendError"});const y=Ai();if(y){let F;F=u instanceof t3?"ratelimit_backoff":u instanceof rP?"invalid":"send_error",y.recordDroppedEvent(F,"replay")}}}else oe&&mn.error("No session or eventBuffer found to flush.")})()}_flush(){var s=this;return(0,zr.A)(function*({force:c=!1}={}){if(!s._isEnabled&&!c)return;if(!s.checkAndHandleExpiredSession())return void(oe&&mn.error("Attempting to finish replay event after session expired."));if(!s.session)return;const u=s.session.started,F=Date.now()-u;s._debouncedFlush.cancel();const I=F<s._options.minReplayDuration;if(I||F>s._options.maxReplayDuration+5e3)return oe&&mn.log(`Session duration (${Math.floor(F/1e3)}s) is too ${I?"short":"long"}, not sending replay.`),void(I&&s._debouncedFlush());const ie=s.eventBuffer;ie&&0===s.session.segmentId&&!ie.hasCheckout&&oe&&mn.log("Flushing initial segment without checkout.");const pe=!!s._flushLock;s._flushLock||(s._flushLock=s._runFlush());try{yield s._flushLock}catch(Ge){s.handleException(Ge)}finally{s._flushLock=void 0,pe&&s._debouncedFlush()}}).apply(this,arguments)}_maybeSaveSession(){this.session&&this._options.stickySession&&CC(this.session)}_onMutationHandler(s){const{ignoreMutations:c}=this._options._experiments;if(c?.length&&s.some(J=>{const ie=function Z6(n){if(!n)return null;try{return n.nodeType===n.ELEMENT_NODE?n:n.parentElement}catch{return null}}(J.target),pe=c.join(",");return ie?.matches(pe)}))return!1;const u=s.length,y=this._options.mutationLimit,I=y&&u>y;if(u>this._options.mutationBreadcrumbLimit||I){const J=Iu({category:"replay.mutations",data:{count:u,limit:I}});this._createCustomBreadcrumb(J)}return!I||(this.stop({reason:"mutationLimit",forceFlush:"session"===this.recordingMode}),!1)}}function q1(n,s){return[...n,...s].join(",")}const aP='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',c5=["content-length","content-type","accept"],l5=Symbol.for("sentry__originalRequestBody");let cP=!1,lP=!1;const u5=n=>new h5(n);class h5{constructor({flushMinDelay:s=5e3,flushMaxDelay:c=5500,minReplayDuration:u=4999,maxReplayDuration:y=36e5,stickySession:F=!0,useCompression:I=!0,workerUrl:J,_experiments:ie={},maskAllText:pe=!0,maskAllInputs:Ge=!0,blockAllMedia:Ae=!0,mutationBreadcrumbLimit:mt=750,mutationLimit:ut=1e4,slowClickTimeout:Lt=7e3,slowClickIgnoreSelectors:vn=[],networkDetailAllowUrls:Pn=[],networkDetailDenyUrls:Nn=[],networkCaptureBodies:bi=!0,networkRequestHeaders:ir=[],networkResponseHeaders:Li=[],mask:Nr=[],maskAttributes:Ji=["title","placeholder","aria-label"],unmask:$n=[],block:Vi=[],unblock:$r=[],ignore:mi=[],maskFn:Xi,beforeAddRecordingEvent:Ii,beforeErrorSampling:Hi,onError:rr,attachRawBodyFromRequest:$s=!1}={}){this.name="Replay";const uo=function o5({mask:n,unmask:s,block:c,unblock:u,ignore:y}){return{maskTextSelector:q1(n,[".sentry-mask","[data-sentry-mask]"]),unmaskTextSelector:q1(s,[]),blockSelector:q1(c,[".sentry-block","[data-sentry-block]","base","iframe[srcdoc]:not([src])"]),unblockSelector:q1(u,[]),ignoreSelector:q1(y,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'])}}({mask:Nr,unmask:$n,block:Vi,unblock:$r,ignore:mi});if(this._recordingOptions={maskAllInputs:Ge,maskAllText:pe,maskInputOptions:{password:!0},maskTextFn:Xi,maskInputFn:Xi,maskAttributeFn:(Fr,Ni,Er)=>function a5({el:n,key:s,maskAttributes:c,maskAllText:u,privacyOptions:y,value:F}){if(y.unmaskTextSelector&&n.matches(y.unmaskTextSelector))return F;const I=c.includes(s),J=u&&"value"===s&&"INPUT"===n.tagName&&["submit","button"].includes(n.getAttribute("type")||"");return I||J?F.replace(/[\S]/g,"*"):F}({maskAttributes:Ji,maskAllText:pe,privacyOptions:uo,key:Fr,value:Ni,el:Er}),...uo,slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:Fr=>{try{Fr.__rrweb__=!0}catch{}},recordCrossOriginIframes:!!ie.recordCrossOriginIframes},this._initialOptions={flushMinDelay:s,flushMaxDelay:c,minReplayDuration:Math.min(u,5e4),maxReplayDuration:Math.min(y,36e5),stickySession:F,useCompression:I,workerUrl:J,blockAllMedia:Ae,maskAllInputs:Ge,maskAllText:pe,mutationBreadcrumbLimit:mt,mutationLimit:ut,slowClickTimeout:Lt,slowClickIgnoreSelectors:vn,networkDetailAllowUrls:Pn,networkDetailDenyUrls:Nn,networkCaptureBodies:bi,networkRequestHeaders:dP(ir),networkResponseHeaders:dP(Li),beforeAddRecordingEvent:Ii,beforeErrorSampling:Hi,onError:rr,attachRawBodyFromRequest:$s,_experiments:ie},this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${aP}`:aP,this._recordingOptions.ignoreCSSAttributes=new Set(["background-image"])),this._isInitialized&&eh())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return cP}set _isInitialized(s){cP=s}afterAllSetup(s){!eh()||this._replay||(this._initialOptions.attachRawBodyFromRequest&&function d5(){if(typeof Request>"u"||lP)return;const n=Request;try{const s=function(c,u){const y=new n(c,u);return null!=u?.body&&(y[l5]=u.body),y};s.prototype=n.prototype,he.Request=s,lP=!0}catch{}}(),this._setup(s),this._initialize(s))}start(){this._replay&&this._replay.start()}
3startBuffering(){this._replay&&this._replay.startBuffering()}stop(s){return this._replay?this._replay.stop({forceFlush:s?.flush??"session"===this._replay.recordingMode,reason:"manual"}):Promise.resolve()}flush(s){return this._replay?this._replay.isEnabled()?this._replay.sendBufferedReplayOrFlush(s):(this._replay.start(),Promise.resolve()):Promise.resolve()}getReplayId(s){if(this._replay?.isEnabled())return this._replay.getSessionId(s)}getRecordingMode(){if(this._replay?.isEnabled())return this._replay.recordingMode}processSpan(s){const c=this.getReplayId(!0);c&&(su(s,{"sentry.replay_id":c}),"buffer"===this.getRecordingMode()&&su(s,{"sentry._internal.replay_is_buffering":!0}))}_initialize(s){this._replay&&(this._maybeLoadFromReplayCanvasIntegration(s),this._replay.initializeSampling())}_setup(s){const c=function f5(n,s){const c=s.getOptions(),u={sessionSampleRate:0,errorSampleRate:0,...n},y=Vo(c.replaysSessionSampleRate),F=Vo(c.replaysOnErrorSampleRate);return null==y&&null==F&&Be(()=>{console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.")}),null!=y&&(u.sessionSampleRate=y),null!=F&&(u.errorSampleRate=F),u}(this._initialOptions,s);this._replay=new s5({options:c,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(s){try{const c=s.getIntegrationByName("ReplayCanvas");if(!c)return;this._replay._canvas=c.getOptions()}catch{}}}function dP(n){return[...c5,...n.map(s=>s.toLowerCase())]}const Nu=he,pa=Nu.document,Q1=Nu.navigator,uP="Report a Bug",hP="Unable to submit feedback with empty message",fP="No client setup, cannot send feedback.",pP="Unable to determine if Feedback was correctly sent.",gP="Unable to send feedback. This could be because this domain is not in your list of allowed domains.",mP="Unable to send feedback. This could be because of network issues, or because you are using an ad-blocker.",O5="widget",N5={ERROR_EMPTY_MESSAGE:hP,ERROR_NO_CLIENT:fP,ERROR_TIMEOUT:pP,ERROR_FORBIDDEN:gP,ERROR_GENERIC:mP};function TC(n,s){return s?.[n]??N5[n]}function yP(n,s){return new Error(TC(n,s))}const OC=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function PC(n,s){return{...n,...s,tags:{...n.tags,...s.tags},onFormOpen:()=>{s.onFormOpen?.(),n.onFormOpen?.()},onFormClose:()=>{s.onFormClose?.(),n.onFormClose?.()},onSubmitSuccess:(c,u)=>{s.onSubmitSuccess?.(c,u),n.onSubmitSuccess?.(c,u)},onSubmitError:c=>{s.onSubmitError?.(c),n.onSubmitError?.(c)},onFormSubmitted:()=>{s.onFormSubmitted?.(),n.onFormSubmitted?.()},themeDark:{...n.themeDark,...s.themeDark},themeLight:{...n.themeLight,...s.themeLight}}}
3function zd(n,s){return Object.entries(s).forEach(([c,u])=>{n.setAttributeNS(null,c,u)}),n}const bP="rgba(88, 74, 192, 1)",z5={foreground:"#2b2233",background:"#ffffff",accentForeground:"white",accentBackground:bP,successColor:"#268d75",errorColor:"#df3338",border:"1.5px solid rgba(41, 35, 47, 0.13)",boxShadow:"0px 4px 24px 0px rgba(43, 34, 51, 0.12)",outline:"1px auto var(--accent-background)",interactiveFilter:"brightness(95%)"},vP={foreground:"#ebe6ef",background:"#29232f",accentForeground:"white",accentBackground:bP,successColor:"#2da98c",errorColor:"#f55459",border:"1.5px solid rgba(235, 230, 239, 0.15)",boxShadow:"0px 4px 24px 0px rgba(43, 34, 51, 0.12)",outline:"1px auto var(--accent-background)",interactiveFilter:"brightness(150%)"};function _P(n){return`\n  --foreground: ${n.foreground};\n  --background: ${n.background};\n  --accent-foreground: ${n.accentForeground};\n  --accent-background: ${n.accentBackground};\n  --success-color: ${n.successColor};\n  --error-color: ${n.errorColor};\n  --border: ${n.border};\n  --box-shadow: ${n.boxShadow};\n  --outline: ${n.outline};\n  --interactive-filter: ${n.interactiveFilter};\n  `}function FP({colorScheme:n,themeDark:s,themeLight:c,styleNonce:u}){const y=pa.createElement("style");return y.textContent=`\n:host {\n  --font-family: system-ui, 'Helvetica Neue', Arial, sans-serif;\n  --font-size: 14px;\n  --z-index: 100000;\n\n  --page-margin: 16px;\n  --inset: auto 0 0 auto;\n  --actor-inset: var(--inset);\n\n  font-family: var(--font-family);\n  font-size: var(--font-size);\n\n  ${"system"!==n?`color-scheme: only ${n};`:""}\n\n  ${_P("dark"===n?{...vP,...s}:{...z5,...c})}\n}\n\n${"system"===n?`\n@media (prefers-color-scheme: dark) {\n  :host {\n    color-scheme: only dark;\n\n    ${_P({...vP,...s})}\n  }\n}`:""}\n`,u&&y.setAttribute("nonce",u),y}var IC,ga,wP,gg,CP,EP,i3,Z1={},r3=[],H5=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,s3=Array.isArray;function jf(n,s){for(var c in s)n[c]=s[c];return n}function kP(n){var s=n.parentNode;s&&s.removeChild(n)}function Ns(n,s,c){var u,y,F,I={};for(F in s)"key"==F?u=s[F]:"ref"==F?y=s[F]:I[F]=s[F];if(arguments.length>2&&(I.children=arguments.length>3?IC.call(arguments,2):c),"function"==typeof n&&null!=n.defaultProps)for(F in n.defaultProps)void 0===I[F]&&(I[F]=n.defaultProps[F]);return NC(n,I,u,y,null)}function NC(n,s,c,u,y){var F={type:n,props:s,key:c,ref:u,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:y??++wP,__i:-1,__u:0};return null==y&&null!=ga.vnode&&ga.vnode(F),F}function J1(n){return n.children}function RC(n,s){this.props=n,this.context=s}function w0(n,s){if(null==s)return n.__?w0(n.__,n.__i+1):null;for(var c;s<n.__k.length;s++)if(null!=(c=n.__k[s])&&null!=c.__e)return c.__e;return"function"==typeof n.type?w0(n):null}function W5(n,s,c){var u,y=n.__v,F=y.__e,I=n.__P;if(I)return(u=jf({},y)).__v=y.__v+1,ga.vnode&&ga.vnode(u),o3(I,u,y,n.__n,void 0!==I.ownerSVGElement,32&y.__u?[F]:null,s,F??w0(y),!!(32&y.__u),c),u.__.__k[u.__i]=u,u.__d=void 0,u.__e!=F&&SP(u),u}function SP(n){var s,c;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,s=0;s<n.__k.length;s++)if(null!=(c=n.__k[s])&&null!=c.__e){n.__e=n.__c.base=c.__e;break}return SP(n)}}function DP(n){(!n.__d&&(n.__d=!0)&&gg.push(n)&&!BC.__r++||CP!==ga.debounceRendering)&&((CP=ga.debounceRendering)||EP)(BC)}function BC(){var n,s,c,u=[],y=[];for(gg.sort(i3);n=gg.shift();)n.__d&&(c=gg.length,s=W5(n,u,y)||s,0===c||gg.length>c?(a3(u,s,y),y.length=u.length=0,s=void 0,gg.sort(i3)):s&&ga.__c&&ga.__c(s,r3));s&&a3(u,s,y),BC.__r=0}function xP(n,s,c,u,y,F,I,J,ie,pe,Ge){var Ae,mt,ut,Lt,vn,Pn=u&&u.__k||r3,Nn=s.length;for(c.__d=ie,function G5(n,s,c){var u,y,F,I,J,ie=s.length,pe=c.length,Ge=pe,Ae=0;for(n.__k=[],u=0;u<ie;u++)null!=(y=n.__k[u]=null==(y=s[u])||"boolean"==typeof y||"function"==typeof y?null:"string"==typeof y||"number"==typeof y||"bigint"==typeof y||y.constructor==String?NC(null,y,null,null,y):s3(y)?NC(J1,{children:y},null,null,null):void 0===y.constructor&&y.__b>0?NC(y.type,y.props,y.key,y.ref?y.ref:null,y.__v):y)?(y.__=n,y.__b=n.__b+1,J=K5(y,c,I=u+Ae,Ge),y.__i=J,F=null,-1!==J&&(Ge--,(F=c[J])&&(F.__u|=131072)),null==F||null===F.__v?(-1==J&&Ae--,"function"!=typeof y.type&&(y.__u|=65536)):J!==I&&(J===I+1?Ae++:J>I?Ge>ie-I?Ae+=J-I:Ae--:Ae=J<I&&J==I-1?J-I:0,J!==u+Ae&&(y.__u|=65536))):(F=c[u])&&null==F.key&&F.__e&&(F.__e==n.__d&&(n.__d=w0(F)),l3(F,F,!1),c[u]=null,Ge--);if(Ge)for(u=0;
vendor: 5,782 bytes, line 3
3u<pe;u++)null!=(F=c[u])&&!(131072&F.__u)&&(F.__e==n.__d&&(n.__d=w0(F)),l3(F,F))}(c,s,Pn),ie=c.__d,Ae=0;Ae<Nn;Ae++)null!=(ut=c.__k[Ae])&&"boolean"!=typeof ut&&"function"!=typeof ut&&(mt=-1===ut.__i?Z1:Pn[ut.__i]||Z1,ut.__i=Ae,o3(n,ut,mt,y,F,I,J,ie,pe,Ge),Lt=ut.__e,ut.ref&&mt.ref!=ut.ref&&(mt.ref&&c3(mt.ref,null,ut),Ge.push(ut.ref,ut.__c||Lt,ut)),null==vn&&null!=Lt&&(vn=Lt),65536&ut.__u||mt.__k===ut.__k?ie=MP(ut,ie,n):"function"==typeof ut.type&&void 0!==ut.__d?ie=ut.__d:Lt&&(ie=Lt.nextSibling),ut.__d=void 0,ut.__u&=-196609);c.__d=ie,c.__e=vn}function MP(n,s,c){var u,y;if("function"==typeof n.type){for(u=n.__k,y=0;u&&y<u.length;y++)u[y]&&(u[y].__=n,s=MP(u[y],s,c));return s}n.__e!=s&&(c.insertBefore(n.__e,s||null),s=n.__e);do{s=s&&s.nextSibling}while(null!=s&&8===s.nodeType);return s}function K5(n,s,c,u){var y=n.key,F=n.type,I=c-1,J=c+1,ie=s[c];if(null===ie||ie&&y==ie.key&&F===ie.type)return c;if(u>(null==ie||131072&ie.__u?0:1))for(;I>=0||J<s.length;){if(I>=0){if((ie=s[I])&&!(131072&ie.__u)&&y==ie.key&&F===ie.type)return I;I--}if(J<s.length){if((ie=s[J])&&!(131072&ie.__u)&&y==ie.key&&F===ie.type)return J;J++}}return-1}function AP(n,s,c){"-"===s[0]?n.setProperty(s,c??""):n[s]=null==c?"":"number"!=typeof c||H5.test(s)?c:c+"px"}function LC(n,s,c,u,y){var F;e:if("style"===s)if("string"==typeof c)n.style.cssText=c;else{if("string"==typeof u&&(n.style.cssText=u=""),u)for(s in u)c&&s in c||AP(n.style,s,"");if(c)for(s in c)u&&c[s]===u[s]||AP(n.style,s,c[s])}else if("o"===s[0]&&"n"===s[1])F=s!==(s=s.replace(/(PointerCapture)$|Capture$/i,"$1")),s=s.toLowerCase()in n?s.toLowerCase().slice(2):s.slice(2),n.l||(n.l={}),n.l[s+F]=c,c?u?c.u=u.u:(c.u=Date.now(),n.addEventListener(s,F?OP:TP,F)):n.removeEventListener(s,F?OP:TP,F);else{if(y)s=s.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==s&&"height"!==s&&"href"!==s&&"list"!==s&&"form"!==s&&"tabIndex"!==s&&"download"!==s&&"rowSpan"!==s&&"colSpan"!==s&&"role"!==s&&s in n)try{n[s]=c??"";break e}catch{}"function"==typeof c||(null==c||!1===c&&"-"!==s[4]?n.removeAttribute(s):n.setAttribute(s,c))}}function TP(n){if(this.l){var s=this.l[n.type+!1];if(n.t){if(n.t<=s.u)return}else n.t=Date.now();return s(ga.event?ga.event(n):n)}}function OP(n){if(this.l)return this.l[n.type+!0](ga.event?ga.event(n):n)}function o3(n,s,c,u,y,F,I,J,ie,pe){var Ge,Ae,mt,ut,Lt,vn,Pn,Nn,bi,ir,Li,Nr,Ji,$n,Vi,$r=s.type;if(void 0!==s.constructor)return null;128&c.__u&&(ie=!!(32&c.__u),F=[J=s.__e=c.__e]),(Ge=ga.__b)&&Ge(s);e:if("function"==typeof $r)try{if(Nn=s.props,bi=(Ge=$r.contextType)&&u[Ge.__c],ir=Ge?bi?bi.props.value:Ge.__:u,c.__c?Pn=(Ae=s.__c=c.__c).__=Ae.__E:("prototype"in $r&&$r.prototype.render?s.__c=Ae=new $r(Nn,ir):(s.__c=Ae=new RC(Nn,ir),Ae.constructor=$r,Ae.render=Y5),bi&&bi.sub(Ae),Ae.props=Nn,Ae.state||(Ae.state={}),Ae.context=ir,Ae.__n=u,mt=Ae.__d=!0,Ae.__h=[],Ae._sb=[]),null==Ae.__s&&(Ae.__s=Ae.state),null!=$r.getDerivedStateFromProps&&(Ae.__s==Ae.state&&(Ae.__s=jf({},Ae.__s)),jf(Ae.__s,$r.getDerivedStateFromProps(Nn,Ae.__s))),ut=Ae.props,Lt=Ae.state,Ae.__v=s,mt)null==$r.getDerivedStateFromProps&&null!=Ae.componentWillMount&&Ae.componentWillMount(),null!=Ae.componentDidMount&&Ae.__h.push(Ae.componentDidMount);else{if(null==$r.getDerivedStateFromProps&&Nn!==ut&&null!=Ae.componentWillReceiveProps&&Ae.componentWillReceiveProps(Nn,ir),!Ae.__e&&(null!=Ae.shouldComponentUpdate&&!1===Ae.shouldComponentUpdate(Nn,Ae.__s,ir)||s.__v===c.__v)){for(s.__v!==c.__v&&(Ae.props=Nn,Ae.state=Ae.__s,Ae.__d=!1),s.__e=c.__e,s.__k=c.__k,s.__k.forEach(function(mi){mi&&(mi.__=s)}),Li=0;Li<Ae._sb.length;Li++)Ae.__h.push(Ae._sb[Li]);Ae._sb=[],Ae.__h.length&&I.push(Ae);break e}null!=Ae.componentWillUpdate&&Ae.componentWillUpdate(Nn,Ae.__s,ir),null!=Ae.componentDidUpdate&&Ae.__h.push(function(){Ae.componentDidUpdate(ut,Lt,vn)})}if(Ae.context=ir,Ae.props=Nn,Ae.__P=n,Ae.__e=!1,Nr=ga.__r,Ji=0,"prototype"in $r&&$r.prototype.render){for(Ae.state=Ae.__s,Ae.__d=!1,Nr&&Nr(s),Ge=Ae.render(Ae.props,Ae.state,Ae.context),$n=0;$n<Ae._sb.length;$n++)Ae.__h.push(Ae._sb[$n]);Ae._sb=[]}else do{Ae.__d=!1,Nr&&Nr(s),Ge=Ae.render(Ae.props,Ae.state,Ae.context),Ae.state=Ae.__s}while(Ae.__d&&++Ji<25);Ae.state=Ae.__s,null!=Ae.getChildContext&&(u=jf(jf({},u),Ae.getChildContext())),mt||null==Ae.getSnapshotBeforeUpdate||(vn=Ae.getSnapshotBeforeUpdate(ut,Lt)),xP(n,s3(Vi=null!=Ge&&Ge.type===J1&&null==Ge.key?Ge.props.children:Ge)?Vi:[Vi],s,c,u,y,F,I,J,ie,pe),Ae.base=s.__e,s.__u&=-161,Ae.__h.length&&I.push(Ae),Pn&&(Ae.__E=Ae.__=null)}catch(mi){s.__v=null,ie||null!=F?(s.__e=J,s.__u|=ie?160:32,F[F.indexOf(J)]=null):(s.__e=c.__e,s.__k=c.__k),ga.__e(mi,s,c)}else null==F&&s.__v===c.__v?(s.__k=c.__k,s.__e=c.__e):s.__e=function X5(n,s,c,u,y,F,I,J,ie){var pe,Ge,Ae,mt,ut,Lt,vn,Pn=c.props,Nn=s.props,bi=s.type;if("svg"===bi&&(y=!0),null!=F)for(pe=0;pe<F.length;pe++)if((ut=F[pe])&&"setAttribute"in ut==!!bi&&(bi?ut.localName===bi:3===ut.nodeType)){n=ut,F[pe]=null;break}if(null==n){if(null===bi)return document.createTextNode(Nn);n=y?document.createElementNS("http://www.w3.org/2000/svg",bi):document.createElement(bi,Nn.is&&Nn),F=null,J=!1}if(null===bi)Pn===Nn||J&&n.data===Nn||(n.data=Nn);else{if(F=F&&IC.call(n.childNodes),Pn=c.props||Z1,!J&&null!=F)for(Pn={},pe=0;pe<n.attributes.length;pe++)Pn[(ut=n.attributes[pe]).name]=ut.value;for(pe in Pn)ut=Pn[pe],"children"==pe||("dangerouslySetInnerHTML"==pe?Ae=ut:"key"===pe||pe in Nn||LC(n,pe,null,ut,y));for(pe in Nn)ut=Nn[pe],"children"==pe?mt=ut:"dangerouslySetInnerHTML"==pe?Ge=ut:"value"==pe?Lt=ut:"checked"==pe?vn=ut:"key"===pe||J&&"function"!=typeof ut||Pn[pe]===ut||LC(n,pe,ut,Pn[pe],y);if(Ge)J||Ae&&(Ge.__html===Ae.__html||Ge.__html===n.innerHTML)||(n.innerHTML=Ge.__html),s.__k=[];else if(Ae&&(n.innerHTML=""),xP(n,s3(mt)?mt:[mt],s,c,u,y&&"foreignObject"!==bi,F,I,F?F[0]:c.__
vendor: 1,701 bytes, line 3
3k&&w0(c,0),J,ie),null!=F)for(pe=F.length;pe--;)null!=F[pe]&&kP(F[pe]);J||(pe="value",void 0!==Lt&&(Lt!==n[pe]||"progress"===bi&&!Lt||"option"===bi&&Lt!==Pn[pe])&&LC(n,pe,Lt,Pn[pe],!1),pe="checked",void 0!==vn&&vn!==n[pe]&&LC(n,pe,vn,Pn[pe],!1))}return n}(c.__e,s,c,u,y,F,I,ie,pe);(Ge=ga.diffed)&&Ge(s)}function a3(n,s,c){for(var u=0;u<c.length;u++)c3(c[u],c[++u],c[++u]);ga.__c&&ga.__c(s,n),n.some(function(y){try{n=y.__h,y.__h=[],n.some(function(F){F.call(y)})}catch(F){ga.__e(F,y.__v)}})}function c3(n,s,c){try{"function"==typeof n?n(s):n.current=s}catch(u){ga.__e(u,c)}}function l3(n,s,c){var u,y;if(ga.unmount&&ga.unmount(n),(u=n.ref)&&(u.current&&u.current!==n.__e||c3(u,null,s)),null!=(u=n.__c)){if(u.componentWillUnmount)try{u.componentWillUnmount()}catch(F){ga.__e(F,s)}u.base=u.__P=null,n.__c=void 0}if(u=n.__k)for(y=0;y<u.length;y++)u[y]&&l3(u[y],s,c||"function"!=typeof n.type);c||null==n.__e||kP(n.__e),n.__=n.__e=n.__d=void 0}function Y5(n,s,c){return this.constructor(n,c)}IC=r3.slice,ga={__e:function(n,s,c,u){for(var y,F,I;s=s.__;)if((y=s.__c)&&!y.__)try{if((F=y.constructor)&&null!=F.getDerivedStateFromError&&(y.setState(F.getDerivedStateFromError(n)),I=y.__d),null!=y.componentDidCatch&&(y.componentDidCatch(n,u||{}),I=y.__d),I)return y.__E=y}catch(J){n=J}throw n}},wP=0,RC.prototype.setState=function(n,s){var c;c=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=jf({},this.state),"function"==typeof n&&(n=n(jf({},c),this.props)),n&&jf(c,n),null!=n&&this.__v&&(s&&this._sb.push(s),DP(this))},RC.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),DP(this))},RC.prototype.render=J1,gg=[],EP="function"==typeof Promise?Promise.prototype.then.bind(Prom
3ise.resolve()):setTimeout,i3=function(n,s){return n.__v.__b-s.__v.__b},BC.__r=0;var Nh,ma,d3,PP,C0=0,IP=[],UC=[],sc=ga,NP=sc.__b,RP=sc.__r,BP=sc.diffed,LP=sc.__c,UP=sc.unmount,jP=sc.__;function mg(n,s){sc.__h&&sc.__h(ma,n,C0||s),C0=0;var c=ma.__H||(ma.__H={__:[],__h:[]});return n>=c.__.length&&c.__.push({__V:UC}),c.__[n]}function yg(n){return C0=1,VP(HP,n)}function VP(n,s,c){var u=mg(Nh++,2);if(u.t=n,!u.__c&&(u.__=[c?c(s):HP(void 0,s),function(J){var ie=u.__N?u.__N[0]:u.__[0],pe=u.t(ie,J);ie!==pe&&(u.__N=[pe,u.__[1]],u.__c.setState({}))}],u.__c=ma,!ma.u)){var y=function(J,ie,pe){if(!u.__c.__H)return!0;var Ge=u.__c.__H.__.filter(function(mt){return!!mt.__c});if(Ge.every(function(mt){return!mt.__N}))return!F||F.call(this,J,ie,pe);var Ae=!1;return Ge.forEach(function(mt){if(mt.__N){var ut=mt.__[0];mt.__=mt.__N,mt.__N=void 0,ut!==mt.__[0]&&(Ae=!0)}}),!(!Ae&&u.__c.props===J)&&(!F||F.call(this,J,ie,pe))};ma.u=!0;var F=ma.shouldComponentUpdate,I=ma.componentWillUpdate;ma.componentWillUpdate=function(J,ie,pe){if(this.__e){var Ge=F;F=void 0,y(J,ie,pe),F=Ge}I&&I.call(this,J,ie,pe)},ma.shouldComponentUpdate=y}return u.__N||u.__}function zP(n,s){var c=mg(Nh++,4);!sc.__s&&h3(c.__H,s)&&(c.__=n,c.i=s,ma.__h.push(c))}function ev(n,s){var c=mg(Nh++,7);return h3(c.__H,s)?(c.__V=n(),c.i=s,c.__h=n,c.__V):c.__}function E0(n,s){return C0=8,ev(function(){return n},s)}function rN(){for(var n;n=IP.shift();)if(n.__P&&n.__H)try{n.__H.__h.forEach(jC),n.__H.__h.forEach(u3),n.__H.__h=[]}catch(s){n.__H.__h=[],sc.__e(s,n.__v)}}sc.__b=function(n){ma=null,NP&&NP(n)},sc.__=function(n,s){s.__k&&s.__k.__m&&(n.__m=s.__k.__m),jP&&jP(n,s)},sc.__r=function(n){RP&&RP(n),Nh=0;var s=(ma=n.__c).__H;s&&(d3===ma?(s.__h=[],ma.__h=[],s.__.forEach(function(c){c.__N&&(c.__=c.__N),c.__V=UC,c.__N=c.i=void 0})):(s.__h.forEach(jC),s.__h.forEach(u3),s.__h=[],Nh=0)),d3=ma},sc.diffed=function(n){BP&&BP(n);var s=n.__c;s&&s.__H&&(s.__H.__h.length&&(1!==IP.push(s)&&PP===sc.requestAnimationFrame||((PP=sc.requestAnimationFrame)||sN)(rN)),s.__H.__.forEach(function(c){c.i&&(c.__H=c.i),c.__V!==UC&&(c.__=c.__V),c.i=void 0,c.__V=UC})),d3=ma=null},sc.__c=function(n,s){s.some(function(c){try{c.__h.forEach(jC),c.__h=c.__h.filter(function(u){return!u.__||u3(u)})}catch(u){s.some(function(y){y.__h&&(y.__h=[])}),s=[],sc.__e(u,c.__v)}}),LP&&LP(n,s)},sc.unmount=function(n){UP&&UP(n);var s,c=n.__c;c&&c.__H&&(c.__H.__.forEach(function(u){try{jC(u)}catch(y){s=y}}),c.__H=void 0,s&&sc.__e(s,c.__v))};var $P="function"==typeof requestAnimationFrame;function sN(n){var s,c=function(){clearTimeout(u),$P&&cancelAnimationFrame(s),setTimeout(n)},u=setTimeout(c,100);$P&&(s=requestAnimationFrame(c))}function jC(n){var s=ma,c=n.__c;"function"==typeof c&&(n.__c=void 0,c()),ma=s}function u3(n){var s=ma;n.__c=n.__(),ma=s}function h3(n,s){return!n||n.length!==s.length||s.some(function(c,u){return c!==n[u]})}function HP(n,s){return"function"==typeof s?s(n):s}const oN=Object.defineProperty({__proto__:null,useCallback:E0,useContext:function eN(n){var s=ma.context[n.__c],c=mg(Nh++,9);return c.c=n,s?(null==c.__&&(c.__=!0,s.sub(ma)),s.props.value):n.__},useDebugValue:function tN(n,s){sc.useDebugValue&&sc.useDebugValue(s?s(n):n)},useEffect:function Q5(n,s){var c=mg(Nh++,3);!sc.__s&&h3(c.__H,s)&&(c.__=n,c.i=s,ma.__H.__h.push(c))},useErrorBoundary:function nN(n){var s=mg(Nh++,10),c=yg();return s.__=n,ma.componentDidCatch||(ma.componentDidCatch=function(u,y){s.__&&s.__(u,y),c[1](u)}),[c[0],function(){c[1](void 0)}]},useId:function iN(){var n=mg(Nh++,11);if(!n.__){for(var s=ma.__v;null!==s&&!s.__m&&null!==s.__;)s=s.__;var c=s.__m||(s.__m=[0,0]);n.__="P"+c[0]+"-"+c[1]++}return n.__},useImperativeHandle:function J5(n,s,c){C0=6,zP(function(){return"function"==typeof n?(n(s()),function(){return n(null)}):n?(n.current=s(),function(){return n.current=null}):void 0},null==c?c:c.concat(n))},useLayoutEffect:zP,useMemo:ev,useReducer:VP,useRef:function Z5(n){return C0=5,ev(function(){return{current:n}},[])},useState:yg},Symbol.toStringTag,{value:"Module"}),aN="http://www.w3.org/2000/svg";function cN(){const n=u=>pa.createElementNS(aN,u),s=zd(n("svg"),{width:"32",height:"30",viewBox:"0 0 72 66",fill:"inherit"}),c=zd(n("path"),{transform:"translate(11, 11)",d:"M29,2.26a4.67,4.67,0,0,0-8,0L14.42,13.53A32.21,32.21,0,0,1,32.17,40.19H27.55A27.68,27.68,0,0,0,12.09,17.47L6,28a15.92,15.92,0,0,1,9.23,12.17H4.62A.76.76,0,0,1,4,39.06l2.94-5a10.74,10.74,0,0,0-3.36-1.9l-2.91,5a4.54,4.54,0,0,0,1.69,6.24A4.66,4.66,0,0,0,4.62,44H19.15a19.4,19.4,0,0,0-8-17.31l2.31-4A23.87,23.87,0,0,1,23.76,44H36.07a35.88,35.88,0,0,0-16.41-31.8l4.67-8a.77.77,0,0,1,1.05-.27c.53.29,20.29,34.77,20.66,35.17a.76.76,0,0,1-.68,1.13H40.6q.09,1.91,0,3.81h4.78A4.59,4.59,0,0,0,50,39.43a4.49,4.49,0,0,0-.62-2.28Z"});return s.appendChild(c),s}function lN({options:n}){const s=ev(()=>({__html:cN().outerHTML}),[]);return Ns("h2",{class:"dialog__header"},Ns("span",{class:"dialog__title"},n.formTitle),n.showBranding?Ns("a",{class:"brand-link",target:"_blank",href:"https://sentry.io/welcome/",title:"Powered by Sentry",rel:"noopener noreferrer",dangerouslySetInnerHTML:s}):null)}function f3(n,s){const c=n.get(s);return"string"==typeof c?c.trim():""}function uN({options:n,defaultEmail:s,defaultName:c,onFormClose:u,onSubmit:y,onSubmitSuccess:F,onSubmitError:I,showEmail
3:J,showName:ie,screenshotInput:pe}){const{tags:Ge,addScreenshotButtonLabel:Ae,removeScreenshotButtonLabel:mt,cancelButtonLabel:ut,emailLabel:Lt,emailPlaceholder:vn,isEmailRequired:Pn,isNameRequired:Nn,messageLabel:bi,messagePlaceholder:ir,nameLabel:Li,namePlaceholder:Nr,submitButtonLabel:Ji,isRequiredLabel:$n}=n,[Vi,$r]=yg(!1),[mi,Xi]=yg(null),[Ii,Hi]=yg(!1),rr=pe?.input,[$s,uo]=yg(null),Fr=E0(er=>{uo(er),Hi(!1)},[]),Ni=E0(er=>{const Fs=function dN(n,s){const c=[];return s.isNameRequired&&!n.name&&c.push(s.nameLabel),s.isEmailRequired&&!n.email&&c.push(s.emailLabel),n.message||c.push(s.messageLabel),c}(er,{emailLabel:Lt,isEmailRequired:Pn,isNameRequired:Nn,messageLabel:bi,nameLabel:Li});return Xi(Fs.length>0?`Please enter in the following required fields: ${Fs.join(", ")}`:null),0===Fs.length},[Lt,Pn,Nn,bi,Li]),Er=E0(function(){var er=(0,zr.A)(function*(Fs){$r(!0);try{if(Fs.preventDefault(),!(Fs.target instanceof HTMLFormElement))return;const Go=new FormData(Fs.target),ya=yield pe&&Ii?pe.value():void 0,Ga={name:f3(Go,"name"),email:f3(Go,"email"),message:f3(Go,"message"),attachments:ya?[ya]:void 0};if(!Ni(Ga))return;try{const Ll=yield y({name:Ga.name,email:Ga.email,message:Ga.message,source:O5,tags:Ge},{attachments:Ga.attachments});F(Ga,Ll)}catch(Ll){OC&&$e.error(Ll);const Cd=Ll instanceof Error?Ll:new Error(String(Ll));Xi(Cd.message),I(Cd)}}finally{$r(!1)}});return function(Fs){return er.apply(this,arguments)}}(),[pe&&Ii,F,I]);return Ns("form",{class:"form",onSubmit:Er},rr&&Ii?Ns(rr,{onError:Fr}):null,Ns("fieldset",{class:"form__right","data-sentry-feedback":!0,disabled:Vi},Ns("div",{class:"form__top"},mi?Ns("div",{class:"form__error-container"},mi):null,ie?Ns("label",{for:"name",class:"form__label"},Ns(p3,{label:Li,isRequiredLabel:$n,isRequired:Nn}),Ns("input",{class:"form__input",defaultValue:c,id:"name",name:"name",placeholder:Nr,required:Nn,type:"text"})):Ns("input",{"aria-hidden":!0,value:c,name:"name",type:"hidden"}),J?Ns("label",{for:"email",class:"form__label"},Ns(p3,{label:Lt,isRequiredLabel:$n,isRequired:Pn}),Ns("input",{class:"form__input",defaultValue:s,id:"email",name:"email",placeholder:vn,required:Pn,type:"email"})):Ns("input",{"aria-hidden":!0,value:s,name:"email",type:"hidden"}),Ns("label",{for:"message",class:"form__label"},Ns(p3,{label:bi,isRequiredLabel:$n,isRequired:!0}),Ns("textarea",{autoFocus:!0,class:"form__input form__input--textarea",id:"message",name:"message",placeholder:ir,required:!0,rows:5})),rr?Ns("label",{for:"screenshot",class:"form__label"},Ns("button",{class:"btn btn--default",disabled:Vi,type:"button",onClick:()=>{uo(null),Hi(er=>!er)}},Ii?mt:Ae),$s?Ns("div",{class:"form__error-container"},$s.message):null):null),Ns("div",{class:"btn-group"},Ns("button",{class:"btn btn--primary",disabled:Vi,type:"submit"},Ji),Ns("button",{class:"btn btn--default",disabled:Vi,type:"button",onClick:u},ut))))}function p3({label:n,isRequired:s,isRequiredLabel:c}){return Ns("span",{class:"form__label__text"},n,s&&Ns("span",{class:"form__label__text--required"},c))}const VC=16,WP=17,hN="http://www.w3.org/2000/svg";function fN(){const n=ie=>Nu.document.createElementNS(hN,ie),s=zd(n("svg"),{width:`${VC}`,height:`${WP}`,viewBox:`0 0 ${VC} ${WP}`,fill:"inherit"}),c=zd(n("g"),{clipPath:"url(#clip0_57_156)"}),u=zd(n("path"),{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.55544 15.1518C4.87103 16.0308 6.41775 16.5 8 16.5C10.1217 16.5 12.1566 15.6571 13.6569 14.1569C15.1571 12.6566 16 10.6217 16 8.5C16 6.91775 15.5308 5.37103 14.6518 4.05544C13.7727 2.73985 12.5233 1.71447 11.0615 1.10897C9.59966 0.503466 7.99113 0.34504 6.43928 0.653721C4.88743 0.962403 3.46197 1.72433 2.34315 2.84315C1.22433 3.96197 0.462403 5.38743 0.153721 6.93928C-0.15496 8.49113 0.00346625 10.0997 0.608967 11.5615C1.21447 13.0233 2.23985 14.2727 3.55544 15.1518ZM4.40546 3.1204C5.46945 2.40946 6.72036 2.03 8 2.03C9.71595 2.03 11.3616 2.71166 12.575 3.92502C13.7883 5.13838 14.47 6.78405 14.47 8.5C14.47 9.77965 14.0905 11.0306 13.3796 12.0945C12.6687 13.1585 11.6582 13.9878 10.476 14.4775C9.29373 14.9672 7.99283 15.0953 6.73777 14.8457C5.48271 14.596 4.32987 13.9798 3.42502 13.075C2.52018 12.1701 1.90397 11.0173 1.65432 9.76224C1.40468 8.50718 1.5328 7.20628 2.0225 6.02404C2.5122 4.8418 3.34148 3.83133 4.40546 3.1204Z"}),y=zd(n("path"),{d:"M6.68775 12.4297C6.78586 12.4745 6.89218 12.4984 7 12.5C7.11275 12.4955 7.22315 12.4664 7.32337 12.4145C7.4236 12.3627 7.51121 12.2894 7.58 12.2L12 5.63999C12.0848 5.47724 12.1071 5.28902 12.0625 5.11098C12.0178 4.93294 11.9095 4.77744 11.7579 4.67392C11.6064 4.57041 11.4221 4.52608 11.24 4.54931C11.0579 4.57254 10.8907 4.66173 
310.77 4.79999L6.88 10.57L5.13 8.56999C5.06508 8.49566 4.98613 8.43488 4.89768 8.39111C4.80922 8.34735 4.713 8.32148 4.61453 8.31498C4.51605 8.30847 4.41727 8.32147 4.32382 8.35322C4.23038 8.38497 4.14413 8.43484 4.07 8.49999C3.92511 8.63217 3.83692 8.81523 3.82387 9.01092C3.81083 9.2066 3.87393 9.39976 4 9.54999L6.43 12.24C6.50187 12.3204 6.58964 12.385 6.68775 12.4297Z"});s.appendChild(c).append(y,u);const F=n("defs"),I=zd(n("clipPath"),{id:"clip0_57_156"}),J=zd(n("rect"),{width:`${VC}`,height:`${VC}`,fill:"white",transform:"translate(0 0.5)"});return I.appendChild(J),F.appendChild(I),s.appendChild(F).appendChild(I).appendChild(J),s}function pN({open:n,onFormSubmitted:s,...c}){const u=c.options,y=ev(()=>({__html:fN().outerHTML}),[]),[F,I]=yg(null),J=E0(()=>{F&&(clearTimeout(F),I(null)),s()},[F]),ie=E0((pe,Ge)=>{c.onSubmitSuccess(pe,Ge),I(setTimeout(()=>{s(),I(null)},5e3))},[s]);return Ns(J1,null,F?Ns("div",{class:"success__position",onClick:J},Ns("div",{class:"success__content"},u.successMessageText,Ns("span",{class:"success__icon",dangerouslySetInnerHTML:y}))):Ns("dialog",{class:"dialog",onClick:u.onFormClose,open:n},Ns("div",{class:"dialog__position"},Ns("div",{class:"dialog__content",onClick:pe=>{pe.stopPropagation()}},Ns(lN,{options:u}),Ns(uN,{...c,onSubmitSuccess:ie})))))}const wN=()=>({name:"FeedbackModal",setupOnce(){},createDialog:({options:n,screenshotIntegration:s,sendFeedback:c,shadow:u})=>{const y=u,F=n.useSentryUser,I=function FN(){const n=fi().getUser(),s=Or().getUser(),c=_a().getUser();return n&&Object.keys(n).length?n:s&&Object.keys(s).length?s:c}(),J=pa.createElement("div"),ie=function _N(n){const s=pa.createElement("style");return s.textContent="\n:host {\n  --dialog-inset: var(--inset);\n}\n\n\n.dialog {\n  position: fixed;\n  z-index: var(--z-index);\n  margin: 0;\n  inset: 0;\n\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  padding: 0;\n  height: 100vh;\n  width: 100vw;\n\n  color: var(--dialog-color, var(--foreground));\n  fill: var(--dialog-color, var(--foreground));\n  line-height: 1.75em;\n\n  background-color: rgba(0, 0, 0, 0.05);\n  border: none;\n  inset: 0;\n  opacity: 1;\n  transition: opacity 0.2s ease-in-out;\n}\n\n.dialog__position {\n  position: fixed;\n  z-index: var(--z-index);\n  inset: var(--dialog-inset);\n  padding: var(--page-margin);\n  display: flex;\n  max-height: calc(100vh - (2 * var(--page-margin)));\n}\n@media (max-width: 600px) {\n  .dialog__position {\n    inset: var(--page-margin);\n    padding: 0;\n  }\n}\n\n.dialog__position:has(.editor) {\n  inset: var(--page-margin);\n  padding: 0;\n}\n\n.dialog:not([open]) {\n  opacity: 0;\n  pointer-events: none;\n  visibility: hidden;\n}\n.dialog:not([open]) .dialog__content {\n  transform: translate(0, -16px) scale(0.98);\n}\n\n.dialog__content {\n  display: flex;\n  flex-direction: column;\n  gap: 16px;\n  padding: var(--dialog-padding, 24px);\n  max-width: 100%;\n  width: 100%;\n  max-height: 100%;\n  overflow: auto;\n\n  background: var(--dialog-background, var(--background));\n  border-radius: var(--dialog-border-radius, 20px);\n  border: var(--dialog-border, var(--border));
3\n  box-shadow: var(--dialog-box-shadow, var(--box-shadow));\n  transform: translate(0, 0) scale(1);\n  transition: transform 0.2s ease-in-out;\n}\n\n\n\n.dialog__header {\n  display: flex;\n  gap: 4px;\n  justify-content: space-between;\n  font-weight: var(--dialog-header-weight, 600);\n  margin: 0;\n}\n.dialog__title {\n  align-self: center;\n  width: var(--form-width, 272px);\n}\n\n@media (max-width: 600px) {\n  .dialog__title {\n    width: auto;\n  }\n}\n\n.dialog__position:has(.editor) .dialog__title {\n  width: auto;\n}\n\n\n.brand-link {\n  display: inline-flex;\n}\n.brand-link:focus-visible {\n  outline: var(--outline);\n}\n\n\n.form {\n  display: flex;\n  overflow: auto;\n  flex-direction: row;\n  gap: 16px;\n  flex: 1 0;\n}\n\n.form fieldset {\n  border: none;\n  margin: 0;\n  padding: 0;\n}\n\n.form__right {\n  flex: 0 0 auto;\n  display: flex;\n  overflow: auto;\n  flex-direction: column;\n  justify-content: space-between;\n  gap: 20px;\n  width: var(--form-width, 100%);\n}\n\n.dialog__position:has(.editor) .form__right {\n  width: var(--form-width, 272px);\n}\n\n.form__top {\n  display: flex;\n  flex-direction: column;\n  gap: 8px;\n}\n\n.form__error-container {\n  color: var(--error-color);\n  fill: var(--error-color);\n}\n\n.form__label {\n  display: flex;\n  flex-direction: column;\n  gap: 4px;\n  margin: 0px;\n}\n\n.form__label__text {\n  display: flex;\n  gap: 4px;\n  align-items: center;\n}\n\n.form__label__text--required {\n  font-size: 0.85em;\n}\n\n.form__input {\n  font-family: inherit;\n  line-height: inherit;\n  background: transparent;\n  box-sizing: border-box;\n  border: var(--input-border, var(--border));\n  border-radius: var(--input-border-radius, 6px);\n  color: var(--input-color, inherit);\n  fill: var(--input-color, inherit);\n  font-size: var(--input-font-size, inherit);\n  font-weight: var(--input-font-weight, 500);\n  padding: 6px 12px;\n}\n\n.form__input::placeholder {\n  opacity: 0.65;\n  color: var(--input-placeholder-color, inherit);\n  filter: var(--interactive-filter);\n}\n\n.form__input:focus-visible {\n  outline: var(--input-focus-outline, var(--outline));\n}\n\n.form__input--textarea {\n  font-family: inherit;\n  resize: vertical;\n}\n\n.error {\n  color: var(--error-color);\n  fill: var(--error-color);\n}\n\n\n.btn-group {\n  display: grid;\n  gap: 8px;\n}\n\n.btn {\n  line-height: inherit;\n  border: var(--button-border, var(--border));\n  border-radius: var(--button-border-radius, 6px);\n  cursor: pointer;\n  font-family: inherit;\n  font-size: var(--button-font-size, inherit);\n  font-weight: var(--button-font-weight, 600);\n  padding: var(--button-padding, 6px 16px);\n}\n.btn[disabled] {\n  opacity: 0.6;\n  pointer-events: none;\n}\n\n.btn--primary {\n  color: var(--button-primary-color, var(--accent-foreground));\n  fill: var(--button-primary-color, var(--accent-foreground));\n  background: var(--button-primary-background, var(--accent-background));\n  border: var(--button-primary-border, var(--border));\n  border-radius: var(--button-primary-border-radius, 6px);\n  font-weight: var(--button-primary-font-weight, 500);\n}\n.btn--primary:hover {\n  color: var(--button-primary-hover-color, var(--accent-foreground));\n  fill: var(--button-primary-hover-color, var(--accent-foreground));\n  background: var(--button-primary-hover-background, var(--accent-background));\n  filter: var(--interactive-filter);\n}\n.btn--primary:focus-visible {\n  background: var(--button-primary-hover-background, var(--accent-background));\n  filter: var(--interactive-filter);\n  outline: var(--button-primary-focus-outline, var(--outline));\n}\n\n.btn--default {\n  color: var(--button-color, var(--foreground));\n  fill: var(--button-color, var(--foreground));\n  background: var(--button-background, var(--background));\n  border: var(--button-border, var(--border));\n  border-radius: var(--button-border-radius, 6px);\n  font-weight: var(--button-font-weight, 500);\n}\n.btn--default:hover {\n  color: var(--button-color, var(--foreground));\n  fill: var(--button-color, var(--foreground));\n  background: var(--button-hover-background, var(--background));\n  filter: var(--interactive-filter);\n}\n.btn--default:focus-visible {\n  background: var(--button-hover-background, var(--background));\n  filter: var(--interactive-filter);\n  outline: var(--button-focus-outline, var(--outline));\n}\n\n\n.success__position {\n  position: fixed;\n  inset: var(--dialog-inset);\n  padding: var(--page-margin);\n  z-index: var(--z-index);\n}\n.success__content {\n  background: var(--success-background, var(--background));\n  border: var(--success-border, var(--border));\n  border-radius: var(--success-border-radius, 1.7em/50%);
3\n  box-shadow: var(--success-box-shadow, var(--box-shadow));\n  font-weight: var(--success-font-weight, 600);\n  color: var(--success-color);\n  fill: var(--success-color);\n  padding: 12px 24px;\n  line-height: 1.75em;\n\n  display: grid;\n  align-items: center;\n  grid-auto-flow: column;\n  gap: 6px;\n  cursor: default;\n}\n\n.success__icon {\n  display: flex;\n}\n\n",n&&s.setAttribute("nonce",n),s}(n.styleNonce);let pe="";const Ge={get el(){return J},appendToDom(){!y.contains(ie)&&!y.contains(J)&&(y.appendChild(ie),y.appendChild(J))},removeFromDom(){J.remove(),ie.remove(),pa.body.style.overflow=pe},open(){mt(!0),n.onFormOpen?.(),Ai()?.emit("openFeedbackWidget"),pe=pa.body.style.overflow,pa.body.style.overflow="hidden"},close(){mt(!1),pa.body.style.overflow=pe}},Ae=s?.createInput({h:Ns,hooks:oN,dialog:Ge,options:n}),mt=ut=>{!function q5(n,s){var y,F,I;ga.__&&ga.__(n,s),y=s.__k,F=[],I=[],o3(s,n=s.__k=Ns(J1,null,[n]),y||Z1,Z1,void 0!==s.ownerSVGElement,y?null:s.firstChild?IC.call(s.childNodes):null,F,y?y.__e:s.firstChild,!1,I),n.__d=void 0,a3(F,n,I)}(Ns(pN,{options:n,screenshotInput:Ae,showName:n.showName||n.isNameRequired,showEmail:n.showEmail||n.isEmailRequired,defaultName:String(F&&I?.[F.name]||""),defaultEmail:String(F&&I?.[F.email]||""),onFormClose:()=>{mt(!1),n.onFormClose?.()},onSubmit:c,onSubmitSuccess:(Lt,vn)=>{mt(!1),n.onSubmitSuccess?.(Lt,vn)},onSubmitError:Lt=>{n.onSubmitError?.(Lt)},onFormSubmitted:()=>{n.onFormSubmitted?.()},open:ut}),J)};return Ge}});function EN(n){const s=pa.createElement("style"),c="#1A141F",u="#302735";return s.textContent=`\n.editor {\n  display: flex;\n  flex-grow: 1;\n  flex-direction: column;\n}\n\n.editor__image-container {\n  justify-items: center;\n  padding: 15px;\n  position: relative;\n  height: 100%;\n  border-radius: var(--menu-border-radius, 6px);\n\n  background-color: ${c};\n  background-image: repeating-linear-gradient(\n      -145deg,\n      transparent,\n      transparent 8px,\n      ${c} 8px,\n      ${c} 11px\n    ),\n    repeating-linear-gradient(\n      -45deg,\n      transparent,\n      transparent 15px,\n      ${u} 15px,\n      ${u} 16px\n    );\n}\n\n.editor__canvas-container {\n  width: 100%;\n  height: 100%;\n  position: relative;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n}\n\n.editor__canvas-container > * {\n  object-fit: contain;\n  position: absolute;\n}\n\n.editor__tool-container {\n  padding-top: 8px;\n  display: flex;\n  justify-content: center;\n}\n\n.editor__tool-bar {\n  display: flex;\n  gap: 8px;\n}\n\n.editor__tool {\n  display: flex;\n  padding: 8px 12px;\n  justify-content: center;\n  align-items: center;\n  border: var(--button-border, var(--border));\n  border-radius: var(--button-border-radius, 6px);\n  background: var(--button-background, var(--background));\n  color: var(--button-color, var(--foreground));\n}\n\n.editor__tool--active {\n  background: var(--button-primary-background, var(--accent-background));\n  color: var(--button-primary-color, var(--accent-foreground));\n}\n\n.editor__rect {\n  position: absolute;\n  z-index: 2;\n}\n\n.editor__rect button {\n  opacity: 0;\n  position: absolute;\n  top: -12px;\n  right: -12px;\n  cursor: pointer;\n  padding: 0;\n  z-index: 3;\n  border: none;\n  background: none;\n}\n\n.editor__rect:hover button {\n  opacity: 1;\n}\n`,n&&s.setAttribute("nonce",n),s}function Vf(n,s,c){if(!n)return;const u=n.getContext("2d",s);u&&c(n,u)}function g3(n,s){Vf(n,{alpha:!0},(c,u)=>{u.drawImage(s,0,0,s.width,s.height,0,0,c.width,c.height)})}function m3(n,s,c){Vf(n,{alpha:!0},(u,y)=>{c.length&&(y.fillStyle="rgba(0, 0, 0, 0.25)",y.fillRect(0,0,u.width,u.height)),c.forEach(F=>{!function DN(n,s,c){switch(n.type){case"highlight":s.shadowColor="rgba(0, 0, 0, 0.7)",s.shadowBlur=50,s.fillStyle=c,s.fillRect(n.x-1,n.y-1,n.w+2,n.h+2),s.clearRect(n.x,n.y,n.w,n.h);break;case"hide":s.fillStyle="rgb(0, 0, 0)",s.fillRect(n.x,n.y,n.w,n.h)}}(F,y,s)})})}function xN({h:n,hooks:s,outputBuffer:c,dialog:u,options:y}){const F=function SN({hooks:n}){return function({onBeforeScreenshot:u,onScreenshot:y,onAfterScreenshot:F,onError:I}){const J=function s(){const[c,u]=n.useState(Nu.devicePixelRatio??1);return n.useEffect(()=>{const y=()=>{u(Nu.devicePixelRatio)},F=matchMedia(`(resolution: ${Nu.devicePixelRatio}dppx)`);return F.addEventListener("change",y),()=>{F.removeEventListener("change",y)}},[]),c}();n.useEffect(()=>{(function(){var pe=(0,zr.A)(function*(){u();const Ge=yield Q1.mediaDevices.getDisplayMedia({video:{width:Nu.innerWidth*J,height:Nu.innerHe
3ight*J},audio:!1,monitorTypeSurfaces:"exclude",preferCurrentTab:!0,selfBrowserSurface:"include",surfaceSwitching:"exclude"}),Ae=pa.createElement("video");yield new Promise((mt,ut)=>{Ae.srcObject=Ge,Ae.onloadedmetadata=()=>{y(Ae,J),Ge.getTracks().forEach(Lt=>Lt.stop()),mt()},Ae.play().catch(ut)}),F()});return function(){return pe.apply(this,arguments)}})()().catch(I)},[])}}({hooks:s}),I=function kN({h:n}){return function({action:c,setAction:u,options:y}){return n("div",{class:"editor__tool-container"},n("div",{class:"editor__tool-bar"},n("button",{type:"button",class:"editor__tool "+("highlight"===c?"editor__tool--active":""),onClick:()=>{u("highlight"===c?"":"highlight")}},y.highlightToolText),n("button",{type:"button",class:"editor__tool "+("hide"===c?"editor__tool--active":""),onClick:()=>{u("hide"===c?"":"hide")}},y.hideToolText)))}}({h:n}),J=function CN({h:n}){return function(){return n("svg",{"data-test-id":"icon-close",viewBox:"0 0 16 16",fill:"#2B2233",height:"25px",width:"25px"},n("circle",{r:"7",cx:"8",cy:"8",fill:"white"}),n("path",{strokeWidth:"1.5",d:"M8,16a8,8,0,1,1,8-8A8,8,0,0,1,8,16ZM8,1.53A6.47,6.47,0,1,0,14.47,8,6.47,6.47,0,0,0,8,1.53Z"}),n("path",{strokeWidth:"1.5",d:"M5.34,11.41a.71.71,0,0,1-.53-.22.74.74,0,0,1,0-1.06l5.32-5.32a.75.75,0,0,1,1.06,1.06L5.87,11.19A.74.74,0,0,1,5.34,11.41Z"}),n("path",{strokeWidth:"1.5",d:"M10.66,11.41a.74.74,0,0,1-.53-.22L4.81,5.87A.75.75,0,0,1,5.87,4.81l5.32,5.32a.74.74,0,0,1,0,1.06A.71.71,0,0,1,10.66,11.41Z"}))}}({h:n}),ie={__html:EN(y.styleNonce).innerText},pe=u.el.style,Ge=({screenshot:Ae})=>{const[mt,ut]=s.useState("highlight"),[Lt,vn]=s.useState([]),Pn=s.useRef(null),Nn=s.useRef(null),bi=s.useRef(null),ir=s.useRef(null),[Li,Nr]=s.useState(1),Ji=s.useMemo(()=>{const Ii=pa.getElementById(y.id);if(!Ii)return"white";const Hi=getComputedStyle(Ii);return Hi.getPropertyValue("--button-primary-background")||Hi.getPropertyValue("--accent-background")},[y.id]);s.useLayoutEffect(()=>{const Ii=()=>{const Hi=Pn.current;Hi&&(Vf(Ae.canvas,{alpha:!1},rr=>{const $s=Math.min(Hi.clientWidth/rr.width,Hi.clientHeight/rr.height);Nr($s)}),(0===Hi.clientHeight||0===Hi.clientWidth)&&setTimeout(Ii,0))};return Ii(),Nu.addEventListener("resize",Ii),()=>{Nu.removeEventListener("resize",Ii)}},[Ae]);const $n=s.useCallback((Ii,Hi)=>{Vf(Ii,{alpha:!0},(rr,$s)=>{$s.scale(Hi,Hi),rr.width=Ae.canvas.width,rr.height=Ae.canvas.height})},[Ae]);s.useEffect(()=>{$n(Nn.current,Ae.dpi),g3(Nn.current,Ae.canvas)},[Ae]),s.useEffect(()=>{$n(bi.current,Ae.dpi),Vf(bi.current,{alpha:!0},(Ii,Hi)=>{Hi.clearRect(0,0,Ii.width,Ii.height)}),m3(bi.current,Ji,Lt)},[Lt,Ji]),s.useEffect(()=>{$n(c,Ae.dpi),g3(c,Ae.canvas),Vf(pa.createElement("canvas"),{alpha:!0},(Ii,Hi)=>{Hi.scale(Ae.dpi,Ae.dpi),Ii.width=Ae.canvas.width,Ii.height=Ae.canvas.height,m3(Ii,Ji,Lt),g3(c,Ii)})},[Lt,Ae,Ji]);const $r=s.useCallback(Ii=>Hi=>{Hi.preventDefault(),Hi.stopPropagation(),vn(rr=>{const $s=[...rr];return $s.splice(Ii,1),$s})},[]),mi={width:Ae.canvas.width*Li+"px",height:Ae.canvas.height*Li+"px"},Xi=Ii=>{Ii.stopPropagation()};return n("div",{class:"editor"},n("style",{nonce:y.styleNonce,dangerouslySetInnerHTML:ie}),n("div",{class:"editor__image-container"},n("div",{class:"editor__canvas-container",ref:Pn},n("canvas",{ref:Nn,id:"background",style:mi}),n("canvas",{ref:bi,id:"foreground",style:mi}),n("div",{ref:ir,onMouseDown:Ii=>{if(!mt||!ir.current)return;const Hi=ir.current.getBoundingClientRect(),rr={type:mt,x:Ii.offsetX/Li,y:Ii.offsetY/Li},$s=(Ni,Er)=>{const er=(Er.clientX-Hi.x)/Li,Fs=(Er.clientY-Hi.y)/Li;return{type:Ni.type,x:Math.min(Ni.x,er),y:Math.min(Ni.y,Fs),w:Math.abs(er-Ni.x),h:Math.abs(Fs-Ni.y)}},uo=Ni=>{Vf(bi.current,{alpha:!0},(Er,er)=>{er.clearRect(0,0,Er.width,Er.height)}),m3(bi.current,Ji,[...Lt,$s(rr,Ni)])},Fr=Ni=>{const Er=$s(rr,Ni);Er.w*Li>=1&&Er.h*Li>=1&&vn(er=>[...er,Er]),pa.removeEventListener("mousemove",uo),pa.removeEventListener("mouseup",Fr)};pa.addEventListener("mousemove",uo),pa.addEventListener("mouseup",Fr)},style:mi},Lt.map((Ii,Hi)=>n("div",{key:Hi,class:"editor__rect",style:{top:Ii.y*Li+"px",left:Ii.x*Li+"px",width:Ii.w*Li+"px",height:Ii.h*Li+"px"}},n("button",{"aria-label":y.removeHighlightText,onClick:$r(Hi),onMouseDown:Xi,onMouseUp:Xi,type:"button"},n(J,null))))))),n(I,{options:y,action:mt,setAction:ut}))};return function({onError:mt}){const[ut,Lt]=s.useState();return F({onBeforeScreenshot:s.useCallback(()=>{pe.display="none"},[]),onScreenshot:s.useCallback((vn,Pn)=>{Vf(pa.createElement("canvas"),{alpha:!1},(Nn,bi)=>
3{bi.scale(Pn,Pn),Nn.width=vn.videoWidth,Nn.height=vn.videoHeight,bi.drawImage(vn,0,0,Nn.width,Nn.height),Lt({canvas:Nn,dpi:Pn})}),c.width=vn.videoWidth,c.height=vn.videoHeight},[]),onAfterScreenshot:s.useCallback(()=>{pe.display="block"},[]),onError:s.useCallback(vn=>{pe.display="block",mt(vn)},[])}),ut?n(Ge,{screenshot:ut}):n("div",null)}}const MN=()=>({name:"FeedbackScreenshot",setupOnce(){},createInput:({h:n,hooks:s,dialog:c,options:u})=>{const y=pa.createElement("canvas");return{input:xN({h:n,hooks:s,outputBuffer:y,dialog:c,options:u}),value:(F=(0,zr.A)(function*(){const I=yield new Promise(J=>{y.toBlob(J,"image/png")});if(I)return{data:new Uint8Array(yield I.arrayBuffer()),filename:"screenshot.png",contentType:"application/png"}}),function(){return F.apply(this,arguments)})};var F}}),AN=(({lazyLoadIntegration:n,getModalIntegration:s,getScreenshotIntegration:c})=>({id:y="sentry-feedback",autoInject:F=!0,showBranding:I=!0,isEmailRequired:J=!1,isNameRequired:ie=!1,showEmail:pe=!0,showName:Ge=!0,enableScreenshot:Ae=!0,useSentryUser:mt={email:"email",name:"username"},tags:ut,styleNonce:Lt,scriptNonce:vn,colorScheme:Pn="system",themeLight:Nn={},themeDark:bi={},addScreenshotButtonLabel:ir="Add a screenshot",cancelButtonLabel:Li="Cancel",confirmButtonLabel:Nr="Confirm",emailLabel:Ji="Email",emailPlaceholder:$n="[email protected]",formTitle:Vi="Report a Bug",isRequiredLabel:$r="(required)",messageLabel:mi="Description",messagePlaceholder:Xi="What's the bug? What did you expect?",nameLabel:Ii="Name",namePlaceholder:Hi="Your Name",removeScreenshotButtonLabel:rr="Remove screenshot",submitButtonLabel:$s="Send Bug Report",successMessageText:uo="Thank you for your report!",triggerLabel:Fr=uP,triggerAriaLabel:Ni="",highlightToolText:Er="Highlight",hideToolText:er="Hide",removeHighlightText:Fs="Remove",errorEmptyMessageText:Go=hP,errorNoClientText:ya=fP,errorTimeoutText:Ga=pP,errorForbiddenText:Ll=gP,errorGenericText:Cd=mP,onFormOpen:Rh,onFormClose:Ru,onSubmitSuccess:bg,onSubmitError:Bh,onFormSubmitted:$C}={})=>{const Lh={id:y,autoInject:F,showBranding:I,isEmailRequired:J,isNameRequired:ie,showEmail:pe,showName:Ge,enableScreenshot:Ae,useSentryUser:mt,tags:ut,styleNonce:Lt,scriptNonce:vn,colorScheme:Pn,themeDark:bi,themeLight:Nn,triggerLabel:Fr,triggerAriaLabel:Ni,cancelButtonLabel:Li,submitButtonLabel:$s,confirmButtonLabel:Nr,formTitle:Vi,emailLabel:Ji,emailPlaceholder:$n,messageLabel:mi,messagePlaceholder:Xi,nameLabel:Ii,namePlaceholder:Hi,successMessageText:uo,isRequiredLabel:$r,addScreenshotButtonLabel:ir,removeScreenshotButtonLabel:rr,highlightToolText:Er,hideToolText:er,removeHighlightText:Fs,errorEmptyMessageText:Go,errorNoClientText:ya,errorTimeoutText:Ga,errorForbiddenText:Ll,errorGenericText:Cd,onFormClose:Ru,onFormOpen:Rh,onSubmitError:Bh,onSubmitSuccess:bg,onFormSubmitted:$C};let mu=null,Ed=null,$d=[];const k0=Mr=>{if(!mu){const ws=pa.createElement("div");ws.id=String(Mr.id),pa.body.appendChild(ws),mu=ws.attachShadow({mode:"open"}),Ed=FP(Mr),mu.appendChild(Ed)}return mu},S0=function(){var Mr=(0,zr.A)(function*(ws){const gs=ws.enableScreenshot&&function B5(){return!(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(Q1.userAgent)||/Macintosh/i.test(Q1.userAgent)&&Q1.maxTouchPoints&&Q1.maxTouchPoints>1||!isSecureContext)}();let Io,qr;try{Io=(s?s():yield n("feedbackModalIntegration",vn))(),hd(Io)}catch{throw OC&&$e.error("[Feedback] Error when trying to load feedback integrations. Try using `feedbackSyncIntegration` in your `Sentry.init`."),new Error("[Feedback] Missing feedback modal integration!")}try{const D0=gs?c?c():yield n("feedbackScreenshotIntegration",vn):void 0;D0&&(qr=D0(),hd(qr))}catch{OC&&$e.error("[Feedback] Missing feedback screenshot integration. Proceeding without screenshots.")}const oh={ERROR_EMPTY_MESSAGE:ws.errorEmptyMessageText,ERROR_NO_CLIENT:ws.errorNoClientText,ERROR_TIMEOUT:ws.errorTimeoutText,ERROR_FORBIDDEN:ws.errorForbiddenText,ERROR_GENERIC:ws.errorGenericText},Fg=Io.createDialog({options:{...ws,onFormClose:()=>{Fg?.close(),ws.onFormClose?.()},onFormSubmitted:()=>{Fg?.close(),ws.onFormSubmitted?.()}},screenshotIntegration:qr,sendFeedback:(D0,XN)=>((n,s={includeReplay:!0})=>{const c=s.errorMessages;if(!n.message)throw yP("ERROR_EMPTY_MESSAGE",c);const u=Ai();if(!u)throw yP("ERROR_NO_CLIENT",c);n.tags&&Object.keys(n.tags).length&&fi().setTags(n.tags);const y=function p5(n,s={},c=fi()){const{message:u,name:y,email:F,url:I,source:J,associatedEventId:ie,tags:pe}=n,Ge={contexts:{feedback:{contact_email:F,name:y,message:u,url:I,source:J,associated_event_id:ie}},type:"feedback",level:"info",tags:pe},Ae=c?.getClient()||Ai();return Ae&&Ae.emit("beforeSendFeedback",Ge,s),c.captureEvent(Ge,s)}({source:"api",url:$a(),...n},s);return new Promise((F,I)=>{const J=setTimeout(()=>{ie(),I(TC("ERROR_TIMEOUT",c))},3e4),ie=u.on("afterSendEvent",(pe,Ge)=>{if(pe.event_id===y)return clearTimeout(J),ie(),Ge?.statusCode&&Ge.statusCode>
3=200&&Ge.statusCode<300?F(y):I(TC(403===Ge?.statusCode?"ERROR_FORBIDDEN":"ERROR_GENERIC",c))})})})(D0,{includeReplay:!0,...XN,errorMessages:oh}),shadow:k0(ws)});return Fg});return function(gs){return Mr.apply(this,arguments)}}(),vg=(Mr,ws={})=>{const gs=PC(Lh,ws),Io="string"==typeof Mr?pa.querySelector(Mr):"function"==typeof Mr.addEventListener?Mr:null;if(!Io)throw OC&&$e.error("[Feedback] Unable to attach to target element"),new Error("Unable to attach to target element");let qr=null;const oh=function(){var Fg=(0,zr.A)(function*(){qr||(qr=yield S0({...gs,onFormSubmitted:()=>{qr?.removeFromDom(),gs.onFormSubmitted?.()}})),qr.appendToDom(),qr.open()});return function(){return Fg.apply(this,arguments)}}();Io.addEventListener("click",oh);const tv=()=>{$d=$d.filter(Fg=>Fg!==tv),qr?.removeFromDom(),qr=null,Io.removeEventListener("click",oh)};return $d.push(tv),tv},_g=(Mr={})=>{const ws=PC(Lh,Mr),gs=k0(ws),Io=function V5({triggerLabel:n,triggerAriaLabel:s,shadow:c,styleNonce:u}){const y=pa.createElement("button");if(y.type="button",y.className="widget__actor",y.ariaHidden="false",y.ariaLabel=s||n||uP,y.appendChild(function j5(){const n=J=>Nu.document.createElementNS("http://www.w3.org/2000/svg",J),s=zd(n("svg"),{width:"20",height:"20",viewBox:"0 0 20 20",fill:"var(--actor-color, var(--foreground))"}),c=zd(n("g"),{clipPath:"url(#clip0_57_80)"}),u=zd(n("path"),{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.6622 15H12.3997C12.2129 14.9959 12.031 14.9396 11.8747 14.8375L8.04965 12.2H7.49956V19.1C7.4875 19.3348 7.3888 19.5568 7.22256 19.723C7.05632 19.8892 6.83435 19.9879 6.59956 20H2.04956C1.80193 19.9968 1.56535 19.8969 1.39023 19.7218C1.21511 19.5467 1.1153 19.3101 1.11206 19.0625V12.2H0.949652C0.824431 12.2017 0.700142 12.1783 0.584123 12.1311C0.468104 12.084 0.362708 12.014 0.274155 11.9255C0.185602 11.8369 0.115689 11.7315 0.0685419 11.6155C0.0213952 11.4995 -0.00202913 11.3752 -0.00034808 11.25V3.75C-0.00900498 3.62067 0.0092504 3.49095 0.0532651 3.36904C0.0972798 3.24712 0.166097 3.13566 0.255372 3.04168C0.344646 2.94771 0.452437 2.87327 0.571937 2.82307C0.691437 2.77286 0.82005 2.74798 0.949652 2.75H8.04965L11.8747 0.1625C12.031 0.0603649 12.2129 0.00407221 12.3997 0H15.6622C15.9098 0.00323746 16.1464 0.103049 16.3215 0.278167C16.4966 0.453286 16.5964 0.689866 16.5997 0.9375V3.25269C17.3969 3.42959 18.1345 3.83026 18.7211 4.41679C19.5322 5.22788 19.9878 6.32796 19.9878 7.47502C19.9878 8.62209 19.5322 9.72217 18.7211 10.5333C18.1345 11.1198 17.3969 11.5205 16.5997 11.6974V14.0125C16.6047 14.1393 16.5842 14.2659 16.5395 14.3847C16.4948 14.5035 16.4268 14.6121 16.3394 14.7042C16.252 14.7962 16.147 14.8698 16.0307 14.9206C15.9144 14.9714 15.7891 14.9984 15.6622 15ZM1.89695 10.325H1.88715V4.625H8.33715C8.52423 4.62301 8.70666 4.56654 8.86215 4.4625L12.6872 1.875H14.7247V13.125H12.6872L8.86215 10.4875C8.70666 10.3835 8.52423 10.327 8.33715 10.325H2.20217C2.15205 10.3167 2.10102 10.3125 2.04956 10.3125C1.9981 10.3125 1.94708 10.3167 1.89695 10.325ZM2.98706 12.2V18.1625H5.66206V12.2H2.98706ZM16.5997 9.93612V5.01393C16.6536 5.02355 16.7072 5.03495 16.7605 5.04814C17.1202 5.13709 17.4556 5.30487 17.7425 5.53934C18.0293 5.77381 18.2605 6.06912 18.4192 6.40389C18.578 6.73866 18.6603 7.10452 18.6603 7.47502C18.6603 7.84552 18.578 8.21139 18.4192 8.54616C18.2605 8.88093 18.0293 9.17624 17.7425 9.41071C17.4556 9.64518 17.1202 9.81296 16.7605 9.90191C16.7072 9.91509 16.6536 9.9265 16.5997 9.93612Z"});s.appendChild(c).appendChild(u);const y=n("defs"),F=zd(n("clipPath"),{id:"clip0_57_80"}),I=zd(n("rect"),{width:"20",height:"20",fill:"white"});return F.appendChild(I),y.appendChild(F),s.appendChild(y).appendChild(F).appendChild(I),s}()),n){const I=pa.createElement("span");I.appendChild(pa.createTextNode(n)),y.appendChild(I)}const F=function L5(n){const s=pa.createElement("style");return s.textContent='\n.widget__actor {\n  position: fixed;\n  z-index: var(--z-index);\n  margin: var(--page-margin);\n  inset: var(--actor-inset);\n\n  display: flex;\n  align-items: center;\n  gap: 8px;\n  padding: 16px;\n\n  font-family: inherit;\n  font-size: var(--font-size);\n  font-weight: 600;\n  line-height: 1.14em;\n  text-decoration: none;\n\n  background: var(--actor-background, var(--background));\n  border-radius: var(--actor-border-radius, 1.7em/50%);\n  border: var(--actor-border, var(--border));
3\n  box-shadow: var(--actor-box-shadow, var(--box-shadow));\n  color: var(--actor-color, var(--foreground));\n  fill: var(--actor-color, var(--foreground));\n  cursor: pointer;\n  opacity: 1;\n  transition: transform 0.2s ease-in-out;\n  transform: translate(0, 0) scale(1);\n}\n.widget__actor[aria-hidden="true"] {\n  opacity: 0;\n  pointer-events: none;\n  visibility: hidden;\n  transform: translate(0, 16px) scale(0.98);\n}\n\n.widget__actor:hover {\n  background: var(--actor-hover-background, var(--background));\n  filter: var(--interactive-filter);\n}\n\n.widget__actor svg {\n  width: 1.14em;\n  height: 1.14em;\n}\n\n@media (max-width: 600px) {\n  .widget__actor span {\n    display: none;\n  }\n}\n',n&&s.setAttribute("nonce",n),s}(u);return{el:y,appendToDom(){c.appendChild(F),c.appendChild(y)},removeFromDom(){y.remove(),F.remove()},show(){y.ariaHidden="false"},hide(){y.ariaHidden="true"}}}({triggerLabel:ws.triggerLabel,triggerAriaLabel:ws.triggerAriaLabel,shadow:gs,styleNonce:Lt});return vg(Io.el,{...ws,onFormOpen(){Io.hide()},onFormClose(){Io.show()},onFormSubmitted(){Io.show()}}),Io};return{name:"Feedback",setupOnce(){!eh()||!Lh.autoInject||("loading"===pa.readyState?pa.addEventListener("DOMContentLoaded",()=>_g().appendToDom()):_g().appendToDom())},attachTo:vg,createWidget(Mr={}
3){const ws=_g(PC(Lh,Mr));return ws.appendToDom(),ws},createForm(){return(0,zr.A)(function*(Mr={}){return S0(PC(Lh,Mr))}).apply(this,arguments)},setTheme(Mr){if(Lh.colorScheme=Mr,mu){const ws=FP(Lh);Ed?mu.replaceChild(ws,Ed):mu.prepend(ws),Ed=ws}},remove(){mu&&(mu.parentElement?.remove(),mu=null,Ed=null),$d.forEach(Mr=>Mr()),$d=[]}}})({getModalIntegration:()=>wN,getScreenshotIntegration:()=>MN});function TN(n){const s=[];return n.tracesSampleRate&&n.tracesSampleRate>0&&s.push(function xD(n={}){return!1!==n.instrumentNavigation&&(p1=!0),sO({...n,instrumentNavigation:!1})}({traceFetch:!1!==n.traceFetch,traceXHR:!1!==n.traceXHR})),n.enableReplay&&s.push(u5({maskAllText:!0,blockAllMedia:!0})),n.enableUserFeedback&&s.push(AN(n.userFeedbackOptions??{})),function _D(n){const s={defaultIntegrations:[Ky(),Fm(),yh(),de(),$f(),Kf(),bh(),V_(),z_(),H_()],...n};return EF(s,"angular"),function FD(){const s=le.xvI?.major&&parseInt(le.xvI.major,10);s&&(s<14&&$w&&$e.warn(`This Sentry SDK does not officially support Angular ${s}.`,"This SDK only supports Angular 14 and above.","If you're using lower Angular versions, check the Angular Version Compatibility table in our docs: https://docs.sentry.io/platforms/javascript/guides/angular/#angular-version-compatibility.","Otherwise, please consider upgrading your Angular version."),Lu("angular",{version:s}))}(),SS(s)}({dsn:n.dsn,environment:n.environment,release:n.release,denyUrls:n.blacklistUrls,ignoreErrors:n.ignoreErrors,beforeSend:n.beforeSend,beforeSendTransaction:n.beforeSendTransaction,integrations:s,tracesSampleRate:n.tracesSampleRate||0,tracePropagationTargets:n.tracingOrigins||[],replaysSessionSampleRate:n.replaysSessionSampleRate||.1,replaysOnErrorSampleRate:n.replaysOnErrorSampleRate||1}),[{provide:le.zcH,useValue:Ww({showDialog:!1,logErrors:!0})},{provide:MD,deps:[hr.Ix]},{provide:le.hnV,useFactory:()=>()=>{},deps:[MD],multi:!0},xd]}let ON=(()=>{class n{appEnvironment=(0,le.WQX)(h.uH);sentry=(0,le.WQX)(xd);log(c,...u){this.isLiveEnvironment()||console.log(`[LOG] ${c}`,...u)}info(c,...u){this.isLiveEnvironment()||console.info(`[INFO] ${c}`,...u)}errorVerbose(c,u,...y){const F=`[ERROR] ${c}`;if(this.logEnvironmentToSentry()){const I=1===y.length&&Array.isArray(y[0])?[...y[0]]:[...y],J=I.find(Ge=>Ge instanceof Error),pe=I.filter(Ge=>Ge!==J).reduce((Ge,Ae,mt)=>(Ge[`arg_${mt}`]=Ae,Ge),{});this.sentry.withScope(Ge=>{Ge.setExtras(pe),Ge.setTags({key:u}),J?Ge.captureException(J):Ge.captureMessage(F,Te.Error)})}else console.error(F,...y)}error(c,u){this.logEnvironmentToSentry()?this.sentry.withScope(y=>{u?.error&&y.setExtras({data:u.error}),u instanceof Error?y.captureException(u):y.captureMessage(`${c}${u?.code?` ${u.code}:`:""}${u?.message?` ${u.message}`:""}`,Te.Error)}):console.error(`[ERROR] ${c}`,u)}addBreadcrumb(c){this.logEnvironmentToSentry()?this.sentry.addBreadcrumb({message:c}):console.info(`[Breadcrumb] ${c}`)}logEnvironmentToSentry(){return this.appEnvironment.toLowerCase().includes("preview")||this.appEnvironment.toLowerCase().includes("test")||this.appEnvironment.toLowerCase().includes("staging")||this.appEnvironment.toLowerCase().includes("live")}isLiveEnvironment(){return this.appEnvironment.toLowerCase().includes("live")}static \u0275fac=function(u){return new(u||n)};static \u0275prov=le.jDH({token:n,factory:n.\u0275fac})}return n})();function PN(n,s=!1){return n&&n.first_name&&n.last_name?n.title?`${n.title} ${n.first_name} ${s?n.last_name.toUpperCase():n.last_name}`:`${n.first_name} ${s?n.last_name.toUpperCase():n.last_name}`:""}var IN=g(98949);class GP{valueToString(s){return"object"==typeof s&&null!==s?JSON.stringify(s):String(s)}valueToJson(s){if(void 0!==s)try{if("object"==typeof s)return s;const c=JSON.parse(s);return"object"==typeof c?c:s}catch{return s}}}let NN=(()=>{class n extends GP{storage;constructor(){super(),this.storage=IN.Ay}getItem(c){return this.valueToJson(this.storage.getItem(c))}setItem(c,u){this.storage.setItem(c,this.valueToString(u))}removeItem(c){this.storage.removeItem(c)}static \u0275fac=function(u){return new(u||n)};static \u0275prov=le.jDH({token:n,factory:n.\u0275fac})}return n})(),KP=(()=>{class n extends GP{_cookies="";isCookieEnabled=navigator.cookieEnabled;get cookies(){return this.isCookieEnabled?document.cookie:this._cookies}set cookies(c){this.isCookieEnabled?document.cookie=c:this._cookies=c}checkItem(c){const u=encodeURIComponent(c);return new RegExp(`(?:^${u}|;\\s*${u})=(.*?)(?:;|$)`,"g").test(this.cookies)}getItem(c){let u;if(this.checkItem(c)){const y=encodeURIComponent(c),I=new RegExp(`(?:^${y}|;\\s*${y})=(.*?)(?:;|$)`,"g").exec(this.cookies);I&&I.length>=2&&(u=decodeURIComponent(I[1]))}return this.valueToJson(u)}setItemExplicit({key:c,value:u,path:y,expires:F,domain:I,encodeUriComponent:J,fromThirdParty:ie}){const Ge=this.valueToString(u);let Ae=J?`${encodeURIComponent(c)}=${encodeURIComponent(Ge)};`:`${encodeURIComponent(c)}=${Ge};`;Ae+=`path=${y||"/"};`,F&&("number"==typeof F?Ae+=`expires=${new Date((new Date).getTime()+864e5*F).toUTCString()};`:F instanceof Date&&(Ae+=`expires=${F.toUTCString()};`)),I&&(Ae+=`domain=${I};`),this.isSecureConnection&&(Ae+="secure;"),Ae+=ie?"SameSite=None;":"SameSite=Lax;",this.cookies=Ae}setItem(c,u,y,F,I){u&&this.setItemExplicit({key:c,value:u,domain:y,expires:F,encodeUriComponent:!0,fromThirdParty:I})}removeItem(c,u){this.checkItem(c)&&this.setItemExplicit({key:c,value:"",expires:-1,domain:u})}getUsedStorageSpace(){return encodeURIComponent(this.cookies).length}get isSecureConnection(){return"https:"===location.protocol.toLowerCase()}static \u0275fac=(()=>{let c;return function(y){return(c||(c=le.xGo(n)))(y||n)}})();static \u0275prov=le.jDH({token:n,factory:n.\u0275fac})}return n})();var XP=g(85837),YP=g(83485),zC=g(6663);let RN=(()=>{class n{storageService=(0,le.WQX)(KP);tokenTitles=(0,le.WQX)(h.IN);appDomain=(0,le.WQX)(h.iy);currentAccessToken=new YP.t(this.retrieveAccessToken());currentRefreshToken=new YP.t(this.retrieveRefreshToken());get refreshToken(){return this.currentRefreshToken.asObservable()}get accessToken(){return this.currentAccessToken.asObservable()}get decryptedAccessToken(){return this.currentAccessToken.pipe((0,zC.T)(c=>c?(0,XP.s)(c):null))}
3createTokens(c,u,y){this.saveTrackingToken(c,y),this.saveAccessToken(c,y),this.saveRefreshToken(u,y)}updateTokens(c,u,y){this.saveAccessToken(c,y),this.saveRefreshToken(u,y)}removeTokens(){this.deleteAccessToken(),this.deleteRefreshToken()}retrieveAccessToken(){return this.storageService.getItem(this.tokenTitles.access)??null}retrieveRefreshToken(){return this.storageService.getItem(this.tokenTitles.refresh)??null}overwriteOttonovaTrackingId(c){this.storageService.setItem(z.lot,c,this.appDomain,365,!1)}saveTrackingToken(c,u){const{ottonova_tracking_id:y}=(0,XP.s)(c);this.storageService.getItem(z.lot)||this.storageService.setItem(z.lot,y,this.appDomain,365,u)}saveAccessToken(c,u){this.storageService.setItem(this.tokenTitles.access,c,this.appDomain,1,u),this.currentAccessToken.next(c)}saveRefreshToken(c,u){this.storageService.setItem(this.tokenTitles.refresh,c,this.appDomain,30,u),this.currentRefreshToken.next(c)}deleteAccessToken(){this.storageService.removeItem(this.tokenTitles.access,this.appDomain),this.currentAccessToken.next(null)}deleteRefreshToken(){this.storageService.removeItem(this.tokenTitles.refresh,this.appDomain),this.currentRefreshToken.next(null)}static \u0275fac=function(u){return new(u||n)};static \u0275prov=le.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function BN(n){return navigator.clipboard.writeText(n)}function LN(n,s){return n.get(s,{responseType:"arraybuffer",observe:"response"}).pipe((0,zC.T)(c=>{const u=c.body??new ArrayBuffer(0),y=c.headers.get("content-type")??"application/octet-stream";return new Blob([u],{type:y})}))}var UN=g(61142);function jN(n){return(0,UN.UE)(n)?window:new Object}let VN=(()=>{class n{unorderedListLexeme="^ *- ";unorderedListBlockRegex=/^[ \t]*- .+(?:(?:\r?\n)+[ \t]*- .+)*/gm;markdownUnsortedList(c){return c.replace(this.unorderedListBlockRegex,u=>`<ul>${u.split(/\r?\n/).filter(Boolean).map(F=>`<li>${F.replace(new RegExp(this.unorderedListLexeme),"")}</li>`).join("")}</ul>`)}markdownNewLine(c){return c.replace(/(?:\r?\n)+/g,"<br/>")}markdownLink(c){return c.replace(/(^|[\s>])(https?:\/\/[^\s<]+)/gm,'$1<a href="$2" target="_blank" rel="noopener noreferrer">$2</a>')}markdownBoldText(c){return c.replace(/(\*\*(.*?)\*\*)/gm,"<b>$2</b>")}markdownStrikethroughText(c){return c.replace(/(~~(.+?)~~)/gm,"<del>$2</del>")}markdownHeading(c){return c?.replace(/^(#{1,6})[ \t]+([^\r\n]+)$/gm,(u,y,F)=>`<h${y.length}>${F}</h${y.length}>`)??""}static \u0275fac=function(u){return new(u||n)};static \u0275prov=le.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();g(82689);var $N=g(60494),HN=g(17796),WN=g(66853),Bc=function(n){return n.Broker="t_md_repl_broker",n.BusinessTransaction="t_md_repl_businesstransaction",n.ClaimAgent="t_md_repl_claim_agent",n.ClaimDocumentClass="t_md_repl_claimdocumentclass",n.ClaimStatus="t_md_repl_claimstatus",n.DiseaseCategory="t_md_repl_diseasecategory",n.Document="t_md_repl_document",n.DocumentTemplate="t_md_repl_template",n.StaticDocument="t_md_repl_documentstaticdocument",n.Tariff="t_md_repl_tariff",n.TariffBundle="t_md_repl_tariffbundle",n.TextBlock="t_md_repl_textblock",n.TextTemplate="t_md_repl_texttemplate",n}(Bc||{});let GN=(()=>{class n{cache$=new Map;http=(0,le.WQX)(d1.Qq);masterDataApiGatewayUrl=(0,le.WQX)(h.CI);fetchDocumentTemplates(){return this.assertCacheEntry(this.query([{tableName:Bc.DocumentTemplate,fields:["Id","Template","Title_DE","Title_EN","File","Department","Area"],where:{IsArchived:0},orderBy:{Template:"asc"}}]),Bc.DocumentTemplate)}fetchInsuranceDocumentTypes(c=!0){const u={tableName:Bc.Document,fields:["TypeID","Translation_DE","Translation_EN"],where:{Source:"insurance"}};if(c){const y=(new Date).toISOString();u.where={...u.where,Valid_from:`<= ${y}`,Valid_until:`>= ${y}`}}return this.assertCacheEntry(this.query([u]),Bc.Document,c)}fetchDocumentClasses(c=!0){const u={tableName:Bc.ClaimDocumentClass,fields:["DocumentClassID","Translation_DE","Translation_EN"]};if(c){const y=(new Date).toISOString();u.where={...u.where,Valid_from:`<= ${y}`,Valid_until:`>= ${y}`}}return this.assertCacheEntry(this.query([u]),Bc.ClaimDocumentClass,c)}fetchClaimAgents(c=!0){const u={tableName:Bc.ClaimAgent,fields:["Mandator","AgentId","FirstName","LastName","Organization","SkillGroup","Seniority","Specialty","Department","Comment"],orderBy:{FirstName:"asc",LastName:"asc"}};if(c){const y=(new Date).toISOString();u.where={...u.where,Valid_from:`<= ${y}`,Valid_until:`>= ${y}`}}return this.assertCacheEntry(this.query([u]),Bc.ClaimAgent,c)}fetchTextBlocks(c={}){c.Text&&(c.Text=`*${c.Text}*`);const u={tableName:Bc.TextBlock,fields:["Text","GroupId","Language","Relation","Category","Id"],where:{...c}};return this.query([u])}fetchDocumentTypes(c=!0){let u=[{tableName:Bc.Document,fields:["TypeID","Translation_DE","Translation_EN"]},{tableName:Bc.ClaimDocumentClass,fields:["TypeID:TranslationKey","Translation_DE","Translation_EN"]}];if(c){const y=(new Date).toISOString();u=u.map(F=>({...F,where:{...F.where,Valid_from:`<= ${y}`,Valid_until:`>= ${y}`}}))}return this.assertCacheEntry(this.query(u),`${Bc.Document}${Bc.ClaimDocumentClass}`,c)}fetchDiseaseCategories(){const c=this.query([{tableName:Bc.DiseaseCategory,fields:["Category"],where:{IsArchived:0},orderBy:{Category:"asc"}}]);return this.assertCacheEntry(c,Bc.DiseaseCategory)}fetchBusinessTransactions(c){const y=this.query([{tableName:Bc.BusinessTransaction,fields:["Category","BusinessTransaction","BusinessTransactionId","Valid_from","Valid_until"],where:{[c]:"1"}}]).pipe((0,zC.T)(F=>[...F].sort((I,J)=>I.Category.localeCompare(J.Category)||I.BusinessTransaction.localeCompare(J.BusinessTransaction))));return this.assertCacheEntry(y,Bc.BusinessTransaction,c)}fetchTextTemplates(c=z.tNm.CustomerSupport){const u=(new Date).toISOString(),F=this.query([{tableName:Bc.TextTemplate,fields:["TextTemplateID","TextStructure_DE","TextStructure_EN","Subject","Ordinal"],where:{DepartmentName:c,Valid_from:`<= ${u}`,Valid_until:`>= ${u}`}}]);return this.assertCacheEntry(F,Bc.TextTemplate,c)}query(c,u){const y=`${this.masterDataApiGatewayUrl}/graphql`,F={query:this.buildQuery(c)};return this.http.post(y,F).pipe((0,zC.T)(I=>{if(I.errors?.length)throw new Error(I.errors.map(ie=>ie.message).join("\n"));const J=new Set;return Object.values(I.data).reduce((ie,pe)=>[...ie,...pe],[]).filter(ie=>!u||!J.has(ie[u])&&(J.add(ie[u]),!0))}),(0,$N.W)(I=>(console.error(I),(0,HN.of)([]))))}buildQuery(c){return`query master_data_api_gateway_query {${c.map((y,F)=>{const I=this.extractOptionList(["where","orderBy"],y);let J=`${y.tableName}${F}:${y.tableName}`;return I.length&&(J+=`(${I.join(" ")})`),`${J} {${y.fields.join(" ")}}`}).join(",")}}`}extractOptionList(c,u){return c.map(y=>{const F=Object.entries(u[y]||{});return F.length?`${y}: {${F.map(([I,J])=>"orderBy"===y?`${I}: ${J}`:`${I}
3: "${J}"`).join(",")}}`:""}).filter(Boolean)}assertCacheEntry(c,u,y="default"){const F=this.cache$.get(u)||this.cache$.set(u,new Map).get(u);let I=F?.get(y);return I||(I=c.pipe((0,WN.t)(1)),F?.set(y,I)),I}static \u0275fac=function(u){return new(u||n)};static \u0275prov=le.jDH({token:n,factory:n.\u0275fac})}return n})(),KN=(()=>{class n{lockCount=0;originalOverflow="";lock(){0===this.lockCount&&(this.originalOverflow=document.body.style.overflow,document.body.style.overflow="hidden"),this.lockCount++}unlock(){this.lockCount<=0||(this.lockCount--,0===this.lockCount&&(document.body.style.overflow=this.originalOverflow))}static \u0275fac=function(u){return new(u||n)};static \u0275prov=le.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})()},46757:(st,Q,g)=>{"use strict";g.r(Q),g.d(Q,{BrowserDetectionService:()=>h,BrowserWarningComponent:()=>B,browserGuard:()=>z});var a=g(58527);let h=(()=>{class _{userAgent;constructor(){this.userAgent=(navigator&&navigator.userAgent||"").toLowerCase()}browserIsSupported(){const A=this.userAgent.match(/(?:msie |trident.+?; rv:)(\d+)/);return null===A||!this.compareVersion(A[1],"<11")}compareVersion(A,X){const R={"<":function(le,Re){return le<Re},"<=":function(le,Re){return le<=Re},">":function(le,Re){return le>Re},">=":function(le,Re){return le>=Re}},ne=X+"",se=+(ne.match(/\d+/)||NaN),_e=ne.match(/^[<>]=?|/)[0];return R[_e]?R[_e](A,se):A===se||se!=se}static \u0275fac=function(X){return new(X||_)};static \u0275prov=a.jDH({token:_,factory:_.\u0275fac})}return _})();var H=g(65377);const z=()=>{const _=(0,a.WQX)(h),q=(0,a.WQX)(H.Ix);return!!_.browserIsSupported()||q.createUrlTree(["/browser-warning"])};var P=g(24153),C=g(73466);let B=(()=>{class _{static \u0275fac=function(X){return new(X||_)};static \u0275cmp=a.VBU({type:_,selectors:[["frontend-browser-warning"]],standalone:!0,features:[a.aNF],decls:11,vars:0,consts:[[1,"content-container"],[1,"logo-wobble"],[1,"child1"],[1,"child2"],[1,"child3"],["file","logo-on-white.svg"],[1,"title"],[1,"subtitle"]],template:function(X,R){1&X&&(a.j41(0,"div",0)(1,"div",1),a.nrm(2,"span",2)(3,"span",3)(4,"span",4)(5,"frontend-image",5),a.k0s(),a.j41(6,"h1",6),a.EFF(7,"Tut uns leid"),a.k0s(),a.j41(8,"h3",7)(9,"span"),a.EFF(10," Dein Browser wird leider nicht mehr von uns unterst\xfctzt. "),a.k0s()()())},dependencies:[P.U,C.h],styles:[".content-container[_ngcontent-%COMP%]{max-width:840px;padding:50px 15px 80px;margin:0 auto;text-align:center}@media (max-width: 575px){.content-container[_ngcontent-%COMP%]{max-width:100vw;padding-top:72px;padding-bottom:10px}}@media (min-width: 1200px){.content-container[_ngcontent-%COMP%]{padding-top:120px}}.content-container[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:40px}.content-container[_ngcontent-%COMP%]   .subtitle[_ngcontent-%COMP%]{font-size:28px}"]})}return _})()},23649:function(st,Q){var g,h;void 0!==(h="function"==typeof(g=function(H){function C(le){return(le=(le=le.toUpperCase()).slice(4)+le.slice(0,4)).split("").map(function(Re){let Le=Re.charCodeAt(0);return Le>=65&&Le<=90?Le-65+10:Re}).join("")}function B(le){let Le,Re=le;for(;Re.length>2;)Le=Re.slice(0,9),Re=parseInt(Le,10)%97+Re.slice(Le.length);return parseInt(Re,10)%97}function q(le){return le.replace(ne,"").toUpperCase()}function A(le,Re,Le,Ie){this.countryCode=le,this.length=Re,this.structure=Le,this.example=Ie}A.prototype._regex=function(){return this._cachedRegex||(this._cachedRegex=function _(le){let Re=le.match(/(.{3})/g).map(function(Le){let Ie,xe=Le.slice(0,1),Te=parseInt(Le.slice(1),10);switch(xe){case"A":Ie="0-9A-Za-z";break;case"B":Ie="0-9A-Z";break;case"C":Ie="A-Za-z";break;case"F":Ie="0-9";break;case"L":Ie="a-z";break;case"U":Ie="A-Z";break;case"W":Ie="0-9a-z"}return"(["+Ie+"]{"+Te+"})"});return new RegExp("^"+Re.join("")+"$")}(this.structure))},A.prototype.isValid=function(le){return this.length==le.length&&this.countryCode===le.slice(0,2)&&this._regex().test(le.slice(4))&&1==B(C(le))},A.prototype.toBBAN=function(le,Re){return this._regex().exec(le.slice(4)).slice(1).join(Re)},A.prototype.fromBBAN=function(le){if(!this.isValidBBAN(le))throw new Error("Invalid BBAN");let Le=("0"+(98-B(C(this.countryCode+"00"+le)))).slice(-2);return this.countryCode+Le+le},A.prototype.isValidBBAN=function(le){return this.length-4==le.length&&this._regex().test(le)};let X={};function R(le){X[le.countryCode]=le}R(new A("AD",24,"F04F04A12","AD1200012030200359100100")),R(new A("AE",23,"F03F16","AE070331234567890123456")),R(new A("AL",28,"F08A16","AL47212
3110090000000235698741")),R(new A("AT",20,"F05F11","AT611904300234573201")),R(new A("AZ",28,"U04A20","AZ21NABZ00000000137010001944")),R(new A("BA",20,"F03F03F08F02","BA391290079401028494")),R(new A("BE",16,"F03F07F02","BE68539007547034")),R(new A("BG",22,"U04F04F02A08","BG80BNBG96611020345678")),R(new A("BH",22,"U04A14","BH67BMAG00001299123456")),R(new A("BR",29,"F08F05F10U01A01","BR9700360305000010009795493P1")),R(new A("BY",28,"A04F04A16","BY13NBRB3600900000002Z00AB00")),R(new A("CH",21,"F05A12","CH9300762011623852957")),R(new A("CR",22,"F04F14","CR72012300000171549015")),R(new A("CY",28,"F03F05A16","CY17002001280000001200527600")),R(new A("CZ",24,"F04F06F10","CZ6508000000192000145399")),R(new A("DE",22,"F08F10","DE89370400440532013000")),R(new A("DK",18,"F04F09F01","DK5000400440116243")),R(new A("DO",28,"U04F20","DO28BAGR00000001212453611324")),R(new A("EE",20,"F02F02F11F01","EE382200221020145685")),R(new A("EG",29,"F04F04F17","EG800002000156789012345180002")),R(new A("ES",24,"F04F04F01F01F10","ES9121000418450200051332")),R(new A("FI",18,"F06F07F01","FI2112345600000785")),R(new A("FO",18,"F04F09F01","FO6264600001631634")),R(new A("FR",27,"F05F05A11F02","FR1420041010050500013M02606")),R(new A("GB",22,"U04F06F08","GB29NWBK60161331926819")),R(new A("GE",22,"U02F16","GE29NB0000000101904917")),R(new A("GI",23,"U04A15","GI75NWBK000000007099453")),R(new A("GL",18,"F04F09F01","GL8964710001000206")),R(new A("GR",27,"F03F04A16","GR1601101250000000012300695")),R(new A("GT",28,"A04A20","GT82TRAJ01020000001210029690")),R(new A("HR",21,"F07F10","HR1210010051863000160")),R(new A("HU",28,"F03F04F01F15F01","HU42117730161111101800000000")),R(new A("IE",22,"U04F06F08","IE29AIBK93115212345678")),R(new A("IL",23,"F03F03F13","IL620108000000099999999")),R(new A("IS",26,"F04F02F06F10","IS140159260076545510730339")),R(new A("IT",27,"U01F05F05A12","IT60X0542811101000000123456")),R(new A("IQ",23,"U04F03A12","IQ98NBIQ850123456789012")),R(new A("JO",30,"A04F22","JO15AAAA1234567890123456789012")),R(new A("KW",30,"U04A22","KW81CBKU0000000000001234560101")),R(new A("KZ",20,"F03A13","KZ86125KZT5004100100")),R(new A("LB",28,"F04A20","LB62099900000001001901229114")),R(new A("LC",32,"U04F24","LC07HEMM000100010012001200013015")),R(new A("LI",21,"F05A12","LI21088100002324013AA")),R(new A("LT",20,"F05F11","LT121000011101001000")),R(new A("LU",20,"F03A13","LU280019400644750000")),R(new A("LV",21,"U04A13","LV80BANK0000435195001")),R(new A("MC",27,"F05F05A11F02","MC5811222000010123456789030")),R(new A("MD",24,"U02A18","MD24AG000225100013104168")),R(new A("ME",22,"F03F13F02","ME25505000012345678951")),R(new A("MK",19,"F03A10F02","MK07250120000058984")),R(new A("MR",27,"F05F05F11F02","MR1300020001010000123456753")),R(new A("MT",31,"U04F05A18","MT84MALT011000012345MTLCAST001S")),R(new A("MU",30,"U04F02F02F12F03U03","MU17BOMM0101101030300200000MUR")),R(new A("NL",18,"U04F10","NL91ABNA0417164300")),R(new A("NO",15,"F04F06F01","NO9386011117947")),R(new A("PK",24,"U04A16","PK36SCBL0000001123456702")),R(new A("PL",28,"F08F16","PL61109010140000071219812874")),R(new A("PS",29,"U04A21","PS92PALS000000000400123456702")),R(new A("PT",25,"F04F04F11F02","PT50000201231234567890154")),R(new A("QA",29,"U04A21","QA30AAAA123456789012345678901")),R(new A("RO",24,"U04A16","RO49AAAA1B31007593840000")),R(new A("RS",22,"F03F13F02","RS35260005601001611379")),R(new A("SA",24,"F02A18","SA0380000000608010167519")),R(new A("SC",31,"U04F04F16U03","SC18SSCB11010000000000001497USD")),R(new A("SE",24,"F03F16F01","SE4550000000058398257466")),R(new A("SI",19,"F05F08F02","SI56263300012039086")),R(new A("SK",24,"F04F06F10","SK3112000000198742637541")),R(new A("SM",27,"U01F05F05A12","SM86U0322509800000000270100")),R(new A("ST",25,"F08F11F02","ST68000100010051845310112")),R(new A("SV",28,"U04F20","SV62CENR00000000000000700025")),R(new A("TL",23,"F03F14F02","TL380080012345678910157")),R(new A("TN",24,"F02F03F13F02","TN5910006035183598478831")),R(new A("TR",26,"F05F01A16","TR330006100519786457841326")),R(new A("UA",29,"F25","UA511234567890123456789012345")),R(new A("VA",22,"F18","VA59001123000012345678")),R(new A("VG",24,"U04F16","VG96VPVG0000012345678901")),R(new A("XK",20,"F04F10
3F02","XK051212012345678906")),R(new A("AO",25,"F21","AO69123456789012345678901")),R(new A("BF",27,"F23","BF2312345678901234567890123")),R(new A("BI",16,"F12","BI41123456789012")),R(new A("BJ",28,"F24","BJ39123456789012345678901234")),R(new A("CI",28,"U02F22","CI70CI1234567890123456789012")),R(new A("CM",27,"F23","CM9012345678901234567890123")),R(new A("CV",25,"F21","CV30123456789012345678901")),R(new A("DZ",24,"F20","DZ8612345678901234567890")),R(new A("IR",26,"F22","IR861234568790123456789012")),R(new A("MG",27,"F23","MG1812345678901234567890123")),R(new A("ML",28,"U01F23","ML15A12345678901234567890123")),R(new A("MZ",25,"F21","MZ25123456789012345678901")),R(new A("SN",28,"U01F23","SN52A12345678901234567890123")),R(new A("GF",27,"F05F05A11F02","GF121234512345123456789AB13")),R(new A("GP",27,"F05F05A11F02","GP791234512345123456789AB13")),R(new A("MQ",27,"F05F05A11F02","MQ221234512345123456789AB13")),R(new A("RE",27,"F05F05A11F02","RE131234512345123456789AB13")),R(new A("PF",27,"F05F05A11F02","PF281234512345123456789AB13")),R(new A("TF",27,"F05F05A11F02","TF891234512345123456789AB13")),R(new A("YT",27,"F05F05A11F02","YT021234512345123456789AB13")),R(new A("NC",27,"F05F05A11F02","NC551234512345123456789AB13")),R(new A("BL",27,"F05F05A11F02","BL391234512345123456789AB13")),R(new A("MF",27,"F05F05A11F02","MF551234512345123456789AB13")),R(new A("PM",27,"F05F05A11F02","PM071234512345123456789AB13")),R(new A("WF",27,"F05F05A11F02","WF621234512345123456789AB13"));let ne=/[^a-zA-Z0-9]/g,se=/(.{4})(?!$)/g;function _e(le){return"string"==typeof le||le instanceof String}H.isValid=function(le){if(!_e(le))return!1;le=q(le);let Re=X[le.slice(0,2)];return!!Re&&Re.isValid(le)},H.toBBAN=function(le,Re){typeof Re>"u"&&(Re=" "),le=q(le);let Le=X[le.slice(0,2)];if(!Le)throw new Error("No country with code "+le.slice(0,2));return Le.toBBAN(le,Re)},H.fromBBAN=function(le,Re){let Le=X[le];if(!Le)throw new Error("No country with code "+le);return Le.fromBBAN(q(Re))},H.isValidBBAN=function(le,Re){return!!_e(Re)&&X[le]?.isValidBBAN(q(Re))},H.printFormat=function(le,Re){return typeof Re>"u"&&(Re=" "),q(le).replace(se,"$1"+Re)},H.electronicFormat=q,H.countries=X})?g.apply(Q,[Q]):g)&&(st.exports=h)},52490:(st,Q)=>{"use strict";Q.iI=function ne(se){for(var _e,le=se.length,Re=le%3,Le=[],xe=0,Te=le-Re;xe<Te;xe+=16383)Le.push(R(se,xe,xe+16383>Te?Te:xe+16383));return 1===Re?Le.push(a[(_e=se[le-1])>>2]+a[_e<<4&63]+"=="):2===Re&&Le.push(a[(_e=(se[le-2]<<8)+se[le-1])>>10]+a[_e>>4&63]+a[_e<<2&63]+"="),Le.join("")};for(var a=[],h=[],z=(typeof Uint8Array<"u"&&Uint8Array,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),P=0;P<64;++P)a[P]=z[P],h[z.charCodeAt(P)]=P;function X(se){return a[se>>18&63]+a[se>>12&63]+a[se>>6&63]+a[63&se]}function R(se,_e,le){for(var Le=[],Ie=_e;Ie<le;Ie+=3)Le.push(X((se[Ie]<<16&16711680)+(se[Ie+1]<<8&65280)+(255&se[Ie+2])));return Le.join("")}h[45]=62,h[95]=63},3477:function(st){st.exports=function(){"use strict";var g=6e4,a=36e5,h="millisecond",H="second",z="minute",P="hour",C="day",B="week",_="month",q="quarter",A="year",X="date",R="Invalid Date",ne=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,se=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,_e={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(Se){var ke=["th","
3st","nd","rd"],Ze=Se%100;return"["+Se+(ke[(Ze-20)%10]||ke[Ze]||ke[0])+"]"}},le=function(Se,ke,Ze){var Ve=String(Se);return!Ve||Ve.length>=ke?Se:""+Array(ke+1-Ve.length).join(Ze)+Se},Re={s:le,z:function(Se){var ke=-Se.utcOffset(),Ze=Math.abs(ke),Ve=Math.floor(Ze/60),Be=Ze%60;return(ke<=0?"+":"-")+le(Ve,2,"0")+":"+le(Be,2,"0")},m:function Se(ke,Ze){if(ke.date()<Ze.date())return-Se(Ze,ke);var Ve=12*(Ze.year()-ke.year())+(Ze.month()-ke.month()),Be=ke.clone().add(Ve,_),ge=Ze-Be<0,Pe=ke.clone().add(Ve+(ge?-1:1),_);return+(-(Ve+(Ze-Be)/(ge?Be-Pe:Pe-Be))||0)},a:function(Se){return Se<0?Math.ceil(Se)||0:Math.floor(Se)},p:function(Se){return{M:_,y:A,w:B,d:C,D:X,h:P,m:z,s:H,ms:h,Q:q}[Se]||String(Se||"").toLowerCase().replace(/s$/,"")},u:function(Se){return void 0===Se}},Le="en",Ie={};Ie[Le]=_e;var xe="$isDayjsObject",Te=function(Se){return Se instanceof ct||!(!Se||!Se[xe])},Ne=function Se(ke,Ze,Ve){var Be;if(!ke)return Le;if("string"==typeof ke){var ge=ke.toLowerCase();Ie[ge]&&(Be=ge),Ze&&(Ie[ge]=Ze,Be=ge);var Pe=ke.split("-");if(!Be&&Pe.length>1)return Se(Pe[0])}else{var He=ke.name;Ie[He]=ke,Be=He}return!Ve&&Be&&(Le=Be),Be||!Ve&&Le},he=function(Se,ke){if(Te(Se))return Se.clone();var Ze="object"==typeof ke?ke:{};return Ze.date=Se,Ze.args=arguments,new ct(Ze)},Me=Re;Me.l=Ne,Me.i=Te,Me.w=function(Se,ke){return he(Se,{locale:ke.$L,utc:ke.$u,x:ke.$x,$offset:ke.$offset})};var ct=function(){function Se(Ze){this.$L=Ne(Ze.locale,null,!0),this.parse(Ze),this.$x=this.$x||Ze.x||{},this[xe]=!0}var ke=Se.prototype;return ke.parse=function(Ze){this.$d=function(Ve){var Be=Ve.date,ge=Ve.utc;if(null===Be)return new Date(NaN);if(Me.u(Be))return new Date;if(Be instanceof Date)return new Date(Be);if("string"==typeof Be&&!/Z$/i.test(Be)){var Pe=Be.match(ne);if(Pe){var He=Pe[2]-1||0,bt=(Pe[7]||"0").substring(0,3);return ge?new Date(Date.UTC(Pe[1],He,Pe[3]||1,Pe[4]||0,Pe[5]||0,Pe[6]||0,bt)):new Date(Pe[1],He,Pe[3]||1,Pe[4]||0,Pe[5]||0,Pe[6]||0,bt)}}return new Date(Be)}(Ze),this.init()},ke.init=function(){var Ze=this.$d;this.$y=Ze.getFullYear(),this.$M=Ze.getMonth(),this.$D=Ze.getDate(),this.$W=Ze.getDay(),this.$H=Ze.getHours(),this.$m=Ze.getMinutes(),this.$s=Ze.getSeconds(),this.$ms=Ze.getMilliseconds()},ke.$utils=function(){return Me},ke.isValid=function(){return this.$d.toString()!==R},ke.isSame=function(Ze,Ve){var Be=he(Ze);return this.startOf(Ve)<=Be&&Be<=this.endOf(Ve)},ke.isAfter=function(Ze,Ve){return he(Ze)<this.startOf(Ve)},ke.isBefore=function(Ze,Ve){return this.endOf(Ve)<he(Ze)},ke.$g=function(Ze,Ve,Be){return Me.u(Ze)?this[Ve]:this.set(Be,Ze)},ke.unix=function(){return Math.floor(this.valueOf()/1e3)},ke.valueOf=function(){return this.$d.getTime()},ke.startOf=function(Ze,Ve){var Be=this,ge=!!Me.u(Ve)||Ve,Pe=Me.p(Ze),He=function(tt,nt){var _t=Me.w(Be.$u?Date.UTC(Be.$y,nt,tt):new Date(Be.$y,nt,tt),Be);return ge?_t:_t.endOf(C)},bt=function(tt,nt){return Me.w(Be.toDate()[tt].apply(Be.toDate("s"),(ge?[0,0,0,0]:[23,59,59,999]).slice(nt)),Be)},Yt=this.$W,sn=this.$M,ft=this.$D,Tt="set"+(this.$u?"UTC":"");switch(Pe){case A:return ge?He(1,0):He(31,11);case _:return ge?He(1,sn):He(0,sn+1);case B:var $e=this.$locale().weekStart||0,rt=(Yt<$e?Yt+7:Yt)-$e;return He(ge?ft-rt:ft+(6-rt),sn);case C:case X:return bt(Tt+"Hours",0);case P:return bt(Tt+"Minutes",1);case z:return bt(Tt+"Seconds",2);case H:return bt(Tt+"Milliseconds",3);default:return this.clone()}},ke.endOf=function(Ze){return this.startOf(Ze,!1)},ke.$set=function(Ze,Ve){var Be,ge=Me.p(Ze),Pe="set"+(this.$u?"UTC":""),He=(Be={},Be[C]=Pe+"Date",Be[X]=Pe+"Date",Be[_]=Pe+"Month",Be[A]=Pe+"FullYear",Be[P]=Pe+"Hours",Be[z]=Pe+"Minutes",Be[H]=Pe+"Seconds",Be[h]=Pe+"Milliseconds",Be)[ge],bt=ge===C?this.$D+(Ve-this.$W):Ve;if(ge===_||ge===A){var Yt=this.clone().set(X,1);Yt.$d[He](bt),Yt.init(),this.$d=Yt.set(X,Math.min(this.$D,Yt.daysInMonth())).$d}else He&&this.$d[He](bt);return this.init(),this},ke.set=function(Ze,Ve){return this.clone().$set(Ze,Ve)},ke.get=function(Ze){return this[Me.p(Ze)]()},ke.add=function(Ze,Ve){var Be,ge=this;Ze=Number(Ze);var Pe=Me.p(Ve),He=function(sn){var ft=he(ge);return Me.w(ft.date(ft.date()+Math.round(sn*Ze)),ge)}
3;if(Pe===_)return this.set(_,this.$M+Ze);if(Pe===A)return this.set(A,this.$y+Ze);if(Pe===C)return He(1);if(Pe===B)return He(7);var bt=(Be={},Be[z]=g,Be[P]=a,Be[H]=1e3,Be)[Pe]||1,Yt=this.$d.getTime()+Ze*bt;return Me.w(Yt,this)},ke.subtract=function(Ze,Ve){return this.add(-1*Ze,Ve)},ke.format=function(Ze){var Ve=this,Be=this.$locale();if(!this.isValid())return Be.invalidDate||R;var ge=Ze||"YYYY-MM-DDTHH:mm:ssZ",Pe=Me.z(this),He=this.$H,bt=this.$m,Yt=this.$M,sn=Be.weekdays,ft=Be.months,$e=function(nt,_t,on,Hn){return nt&&(nt[_t]||nt(Ve,ge))||on[_t].slice(0,Hn)},rt=function(nt){return Me.s(He%12||12,nt,"0")},tt=Be.meridiem||function(nt,_t,on){var Hn=nt<12?"AM":"PM";return on?Hn.toLowerCase():Hn};return ge.replace(se,function(nt,_t){return _t||function(on){switch(on){case"YY":return String(Ve.$y).slice(-2);case"YYYY":return Me.s(Ve.$y,4,"0");case"M":return Yt+1;case"MM":return Me.s(Yt+1,2,"0");case"MMM":return $e(Be.monthsShort,Yt,ft,3);case"MMMM":return $e(ft,Yt);case"D":return Ve.$D;case"DD":return Me.s(Ve.$D,2,"0");case"d":return String(Ve.$W);case"dd":return $e(Be.weekdaysMin,Ve.$W,sn,2);case"ddd":return $e(Be.weekdaysShort,Ve.$W,sn,3);case"dddd":return sn[Ve.$W];case"H":return String(He);case"HH":return Me.s(He,2,"0");case"h":return rt(1);case"hh":return rt(2);case"a":return tt(He,bt,!0);case"A":return tt(He,bt,!1);case"m":return String(bt);case"mm":return Me.s(bt,2,"0");case"s":return String(Ve.$s);case"ss":return Me.s(Ve.$s,2,"0");case"SSS":return Me.s(Ve.$ms,3,"0");case"Z":return Pe}return null}(nt)||Pe.replace(":","")})},ke.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},ke.diff=function(Ze,Ve,Be){var ge,Pe=this,He=Me.p(Ve),bt=he(Ze),Yt=(bt.utcOffset()-this.utcOffset())*g,sn=this-bt,ft=function(){return Me.m(Pe,bt)};switch(He){case A:ge=ft()/12;break;case _:ge=ft();break;case q:ge=ft()/3;break;case B:ge=(sn-Yt)/6048e5;break;case C:ge=(sn-Yt)/864e5;break;case P:ge=sn/a;break;case z:ge=sn/g;break;case H:ge=sn/1e3;break;default:ge=sn}return Be?ge:Me.a(ge)},ke.daysInMonth=function(){return this.endOf(_).$D},ke.$locale=function(){return Ie[this.$L]},ke.locale=function(Ze,Ve){if(!Ze)return this.$L;var Be=this.clone(),ge=Ne(Ze,Ve,!0);return ge&&(Be.$L=ge),Be},ke.clone=function(){return Me.w(this.$d,this)},ke.toDate=function(){return new Date(this.valueOf())},ke.toJSON=function(){return this.isValid()?this.toISOString():null},ke.toISOString=function(){return this.$d.toISOString()},ke.toString=function(){return this.$d.toUTCString()},Se}(),yt=ct.prototype;return he.prototype=yt,[["$ms",h],["$s",H],["$m",z],["$H",P],["$W",C],["$M",_],["$y",A],["$D",X]].forEach(function(Se){yt[Se[1]]=function(ke){return this.$g(ke,Se[0],Se[1])}}),he.extend=function(Se,ke){return Se.$i||(Se(ke,ct,he),Se.$i=!0),he},he.locale=Ne,he.isDayjs=Te,he.unix=function(Se){return he(1e3*Se)},he.en=Ie[Le],he.Ls=Ie,he.p={},he}()},83034:function(st,Q,g){st.exports=function(a){"use strict";var H=function h(B){return B&&"object"==typeof B&&"default"in B?B:{default:B}}(a),z={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function P(B,_,q){var A=z[q];return Array.isArray(A)&&(A=A[_?0:1]),A.replace("%d",B)}var C={name:"de",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("_"),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._Sept._Okt._Nov._Dez.".split("_"),ordinal:function(B){return B+"."},weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:P,m:P,mm:P,h:P,hh:P,d:P,dd:P,M:P,MM:P,y:P,yy:P}};return H.default.locale(C,null,!0),C}(g(3477))},73993:function(st){st.exports=function(){"use strict";var Q={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"},g=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,a=/\d/,h=/\d\d/,H=/\d\d?/,z=/\d*[^-_:/,()\s\d]+/,P={},C=function(ne){return(ne=+ne)+(ne>68?1900:2e3)},B=function(ne){return function(se){this[ne]=+se}},_=[/[+-]\d\d:?(\d\d)?|Z/,function(ne){(this.zone||(this.zone={})).offset=function(se){if(!se||"Z"===se)return 0;var _e=se.match(/([+-]|\d\d)/g),le=60*_e[1]+(+_e[2]||0);return 0===le?0:"+"===_e[0]?-le:le}(ne)}],q=function(ne){var se=P[ne];return se&&(se.indexOf?se:se.s.concat(se.f))}
3,A=function(ne,se){var _e,le=P.meridiem;if(le){for(var Re=1;Re<=24;Re+=1)if(ne.indexOf(le(Re,0,se))>-1){_e=Re>12;break}}else _e=ne===(se?"pm":"PM");return _e},X={A:[z,function(ne){this.afternoon=A(ne,!1)}],a:[z,function(ne){this.afternoon=A(ne,!0)}],Q:[a,function(ne){this.month=3*(ne-1)+1}],S:[a,function(ne){this.milliseconds=100*+ne}],SS:[h,function(ne){this.milliseconds=10*+ne}],SSS:[/\d{3}/,function(ne){this.milliseconds=+ne}],s:[H,B("seconds")],ss:[H,B("seconds")],m:[H,B("minutes")],mm:[H,B("minutes")],H:[H,B("hours")],h:[H,B("hours")],HH:[H,B("hours")],hh:[H,B("hours")],D:[H,B("day")],DD:[h,B("day")],Do:[z,function(ne){var se=P.ordinal,_e=ne.match(/\d+/);if(this.day=_e[0],se)for(var le=1;le<=31;le+=1)se(le).replace(/\[|\]/g,"")===ne&&(this.day=le)}],w:[H,B("week")],ww:[h,B("week")],M:[H,B("month")],MM:[h,B("month")],MMM:[z,function(ne){var se=q("months"),_e=(q("monthsShort")||se.map(function(le){return le.slice(0,3)})).indexOf(ne)+1;if(_e<1)throw new Error;this.month=_e%12||_e}],MMMM:[z,function(ne){var se=q("months").indexOf(ne)+1;if(se<1)throw new Error;this.month=se%12||se}],Y:[/[+-]?\d+/,B("year")],YY:[h,function(ne){this.year=C(ne)}],YYYY:[/\d{4}/,B("year")],Z:_,ZZ:_};return function(ne,se,_e){_e.p.customParseFormat=!0,ne&&ne.parseTwoDigitYear&&(C=ne.parseTwoDigitYear);var le=se.prototype,Re=le.parse;le.parse=function(Le){var Ie=Le.date,xe=Le.utc,Te=Le.args;this.$u=xe;var Ne=Te[1];if("string"==typeof Ne){var he=!0===Te[2],Me=!0===Te[3],ct=he||Me,yt=Te[2];Me&&(yt=Te[2]),P=this.$locale(),!he&&yt&&(P=_e.Ls[yt]),this.$d=function(Ve,Be,ge,Pe){try{if(["x","X"].indexOf(Be)>-1)return new Date(("X"===Be?1e3:1)*Ve);var He=function R(ne){var _e;_e=P&&P.formats;for(var le=(ne=ne.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(he,Me,ct){var yt=ct&&ct.toUpperCase();return Me||_e[ct]||Q[ct]||_e[yt].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(Se,ke,Ze){return ke||Ze.slice(1)})})).match(g),Re=le.length,Le=0;Le<Re;Le+=1){var Ie=le[Le],xe=X[Ie],Ne=xe&&xe[1];le[Le]=Ne?{regex:xe&&xe[0],parser:Ne}:Ie.replace(/^\[|\]$/g,"")}return function(he){for(var Me={},ct=0,yt=0;ct<Re;ct+=1){var Se=le[ct];if("string"==typeof Se)yt+=Se.length;else{var ke=Se.regex,Ze=Se.parser,Ve=he.slice(yt),Be=ke.exec(Ve)[0];Ze.call(Me,Be),he=he.replace(Be,"")}}return function(ge){var Pe=ge.afternoon;if(void 0!==Pe){var He=ge.hours;Pe?He<12&&(ge.hours+=12):12===He&&(ge.hours=0),delete ge.afternoon}}(Me),Me}}(Be)(Ve),bt=He.year,Yt=He.month,sn=He.day,ft=He.hours,Tt=He.minutes,$e=He.seconds,rt=He.milliseconds,tt=He.zone,nt=He.week,_t=new Date,on=sn||(bt||Yt?1:_t.getDate()),Hn=bt||_t.getFullYear(),_n=0;bt&&!Yt||(_n=Yt>0?Yt-1:_t.getMonth());var hn,en=ft||0,Ot=Tt||0,Gt=$e||0,Wt=rt||0;return tt?new Date(Date.UTC(Hn,_n,on,en,Ot,Gt,Wt+60*tt.offset*1e3)):ge?new Date(Date.UTC(Hn,_n,on,en,Ot,Gt,Wt)):(hn=new Date(Hn,_n,on,en,Ot,Gt,Wt),nt&&(hn=Pe(hn).week(nt).toDate()),hn)}catch{return new Date("")}}(Ie,Ne,xe,_e),this.init(),yt&&!0!==yt&&(this.$L=this.locale(yt).$L),ct&&Ie!=this.format(Ne)&&(this.$d=new Date("")),P={}}else if(Ne instanceof Array)for(var Se=Ne.length,ke=1;ke<=Se;ke+=1){Te[1]=Ne[ke-1];var Ze=_e.apply(this,Te);if(Ze.isValid()){this.$d=Ze.$d,this.$L=Ze.$L,this.init();break}ke===Se&&(this.$d=new Date(""))}else Re.call(this,Le)}}}()},55836:function(st){st.exports=function(){"use strict";var Q="month",g="quarter";return function(a,h){var H=h.prototype;H.quarter=function(C){return this.$utils().u(C)?Math.ceil((this.month()+1)/3):this.month(this.month()%3+3*(C-1))};var z=H.add;H.add=function(C,B){return C=Number(C),this.$utils().p(B)===g?this.add(3*C,Q):z.bind(this)(C,B)};var P=H.startOf;H.startOf=function(C,B){var _=this.$utils(),q=!!_.u(B)||B;if(_.p(C)===g){var A=this.quarter()-1;return q?this.month(3*A).startOf(Q).startOf("day"):this.month(3*A+2).endOf(Q).endOf("day")}return P.bind(this)(C,B)}}}()},97093:function(st){st.exports=function(){"use strict";var Q={year:0,month:1,day:2,hour:3,minute:4,second:5},g={};return function(a,h,H){var z,P=function(q,A,X){void 0===X&&(X={});var R=new Date(q);return function(se,_e){void 0===_e&&(_e={});var le=_e.timeZoneName||"short",Re=se+"|"+le,Le=g[Re];return Le||(Le=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:se,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:le}),g[Re]=Le),Le}(A,X).formatToParts(R)},C=function(q,A){for(var X=P(q,A),R=[],ne=0;ne<X.length;ne+=1){var se=X[ne],Re=Q[se.type];Re>=0&&(R[Re]=parseInt(se.value,10))}var Le=R[3],Te=+q;return(H.utc(R[0]+"-"+R[1]+"-"+R[2]+" "+(24===Le?0:Le)+":"+R[4]+":"+R[5]+":000").valueOf()-(Te-=Te%1e3))/6e4},B=h.prototype;B.tz=function(q,A){if(void 0===q&&(q=z),!this.isValid())return this;
3var X,R=this.utcOffset(),ne=this.toDate(),se=ne.toLocaleString("en-US",{timeZone:q}),_e=C(+ne,q);if(Number(_e)){if(X=H(se,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(_e,!0),A){var le=X.utcOffset();X=X.add(R-le,"minute")}}else X=this.utcOffset(0,A);return X.$x.$timezone=q,X},B.offsetName=function(q){var A=this.$x.$timezone||H.tz.guess(),X=P(this.valueOf(),A,{timeZoneName:q}).find(function(R){return"timezonename"===R.type.toLowerCase()});return X&&X.value};var _=B.startOf;B.startOf=function(q,A){if(!this.$x||!this.$x.$timezone)return _.call(this,q,A);var X=H(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return _.call(X,q,A).tz(this.$x.$timezone,!0)},H.tz=function(q,A,X){var R=X&&A,ne=X||A||z,se=C(+H(),ne);if("string"!=typeof q)return H(q).tz(ne);var _e=H.utc(q,R).valueOf();if(Number.isNaN(_e)){var le=H(NaN);return le.$x.$timezone=ne,le}var Re=function(Te,Ne,he){var Me=Te-60*Ne*1e3,ct=C(Me,he);if(Ne===ct)return[Me,Ne];var yt=C(Me-=60*(ct-Ne)*1e3,he);return ct===yt?[Me,ct]:[Te-60*Math.min(ct,yt)*1e3,Math.max(ct,yt)]}(_e,se,ne),Ie=Re[1],xe=H(Re[0]).utcOffset(Ie);return xe.$x.$timezone=ne,xe},H.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},H.tz.setDefault=function(q){z=q}}}()},68710:function(st){st.exports=function(){"use strict";var Q="minute",g=/[+-]\d\d(?::?\d\d)?/g,a=/([+-]|\d\d)/g;return function(h,H,z){var P=H.prototype;z.utc=function(R){return new H({date:R,utc:!0,args:arguments})},P.utc=function(R){var ne=z(this.toDate(),{locale:this.$L,utc:!0});return R?ne.add(this.utcOffset(),Q):ne},P.local=function(){return z(this.toDate(),{locale:this.$L,utc:!1})};var C=P.parse;P.parse=function(R){R.utc&&(this.$u=!0),this.$utils().u(R.$offset)||(this.$offset=R.$offset),C.call(this,R)};var B=P.init;P.init=function(){if(this.$u){var R=this.$d;this.$y=R.getUTCFullYear(),this.$M=R.getUTCMonth(),this.$D=R.getUTCDate(),this.$W=R.getUTCDay(),this.$H=R.getUTCHours(),this.$m=R.getUTCMinutes(),this.$s=R.getUTCSeconds(),this.$ms=R.getUTCMilliseconds()}else B.call(this)};var _=P.utcOffset;P.utcOffset=function(R,ne){var se=this.$utils().u;if(se(R))return this.$u?0:se(this.$offset)?_.call(this):this.$offset;if("string"==typeof R&&null===(R=function(Le){void 0===Le&&(Le="");var Ie=Le.match(g);if(!Ie)return null;var xe=(""+Ie[0]).match(a)||["-",0,0],Ne=60*+xe[1]+ +xe[2];return 0===Ne?0:"+"===xe[0]?Ne:-Ne}(R)))return this;var _e=Math.abs(R)<=16?60*R:R;if(0===_e)return this.utc(ne);var le=this.clone();if(ne)return le.$offset=_e,le.$u=!1,le;var Re=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(le=this.local().add(_e+Re,Q)).$offset=_e,le.$x.$localOffset=Re,le};var q=P.format;P.format=function(R){return q.call(this,R||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":""))},P.valueOf=function(){var R=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*R},P.isUTC=function(){return!!this.$u},P.toISOString=function(){return this.toDate().toISOString()},P.toString=function(){return this.toDate().toUTCString()};var A=P.toDate;P.toDate=function(R){return"s"===R&&this.$offset?z(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():A.call(this)};var X=P.diff;P.diff=function(R,ne,se){if(R&&this.$u===R.$u)return X.call(this,R,ne,se);var _e=this.local(),le=z(R).local();return X.call(_e,le,ne,se)}}}()},86953:function(st,Q){var g,h;void 0!==(h="function"==typeof(g=function(){"use strict";function z(A,X,R){var ne=new XMLHttpRequest;ne.open("GET",A),ne.responseType="blob",ne.onload=function(){q(ne.response,X,R)},ne.onerror=function(){console.error("could not download file")},ne.send()}function P(A){var X=new XMLHttpRequest;X.open("HEAD",A,!1);try{X.send()}catch{}return 200<=X.status&&299>=X.status}function C(A){try{A.dispatchEvent(new MouseEvent("click"))}catch{var X=document.createEvent("MouseEvents");
vendor: 1,894 bytes, line 3
3X.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),A.dispatchEvent(X)}}var B="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,_=B.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),q=B.saveAs||("object"!=typeof window||window!==B?function(){}:"download"in HTMLAnchorElement.prototype&&!_?function(A,X,R){var ne=B.URL||B.webkitURL,se=document.createElement("a");se.download=X=X||A.name||"download",se.rel="noopener","string"==typeof A?(se.href=A,se.origin===location.origin?C(se):P(se.href)?z(A,X,R):C(se,se.target="_blank")):(se.href=ne.createObjectURL(A),setTimeout(function(){ne.revokeObjectURL(se.href)},4e4),setTimeout(function(){C(se)},0))}:"msSaveOrOpenBlob"in navigator?function(A,X,R){if(X=X||A.name||"download","string"!=typeof A)navigator.msSaveOrOpenBlob(function H(A,X){return typeof X>"u"?X={autoBom:!1}:"object"!=typeof X&&(console.warn("Deprecated: Expected third argument to be a object"),X={autoBom:!X}),X.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(A.type)?new Blob(["\ufeff",A],{type:A.type}):A}(A,R),X);else if(P(A))z(A,X,R);else{var ne=document.createElement("a");ne.href=A,ne.target="_blank",setTimeout(function(){C(ne)})}}:function(A,X,R,ne){if((ne=ne||open("","_blank"))&&(ne.document.title=ne.document.body.innerText="downloading..."),"string"==typeof A)return z(A,X,R);var se="application/octet-stream"===A.type,_e=/constructor/i.test(B.HTMLElement)||B.safari,le=/CriOS\/[\d]+/.test(navigator.userAgent);if((le||se&&_e||_)&&typeof FileReader<"u"){var Re=new FileReader;Re.onloadend=function(){var xe=Re.result;xe=le?xe:xe.replace(/^data:[^;]*;/,"data:attachment/file;"),ne?ne.location.href=xe:location=xe,ne=null}
3,Re.readAsDataURL(A)}else{var Le=B.URL||B.webkitURL,Ie=Le.createObjectURL(A);ne?ne.location=Ie:location.href=Ie,ne=null,setTimeout(function(){Le.revokeObjectURL(Ie)},4e4)}});B.saveAs=q.saveAs=q,st.exports=q})?g.apply(Q,[]):g)&&(st.exports=h)},12878:(st,Q,g)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.default=void 0,Q.hasCookies=function R(){var ne=new X;try{var se="__test";ne.setItem(se,"1");var _e=ne.getItem(se);return ne.removeItem(se),"1"===_e}catch{return!1}};var a=function H(ne,se){if(!se&&ne&&ne.__esModule)return ne;if(null===ne||"object"!=z(ne)&&"function"!=typeof ne)return{default:ne};var _e=h(se);if(_e&&_e.has(ne))return _e.get(ne);var le={__proto__:null},Re=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Le in ne)if("default"!==Le&&{}.hasOwnProperty.call(ne,Le)){var Ie=Re?Object.getOwnPropertyDescriptor(ne,Le):null;Ie&&(Ie.get||Ie.set)?Object.defineProperty(le,Le,Ie):le[Le]=ne[Le]}return le.default=ne,_e&&_e.set(ne,le),le}(g(20560));function h(ne){if("function"!=typeof WeakMap)return null;var se=new WeakMap,_e=new WeakMap;return(h=function(Re){return Re?_e:se})(ne)}function z(ne){return(z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(se){return typeof se}:function(se){return se&&"function"==typeof Symbol&&se.constructor===Symbol&&se!==Symbol.prototype?"symbol":typeof se})(ne)}function C(ne,se){for(var _e=0;_e<se.length;_e++){var le=se[_e];le.enumerable=le.enumerable||!1,le.configurable=!0,"value"in le&&(le.writable=!0),Object.defineProperty(ne,_(le.key),le)}}function _(ne){var se=function q(ne,se){if("object"!=z(ne)||!ne)return ne;var _e=ne[Symbol.toPrimitive];if(void 0!==_e){var le=_e.call(ne,se||"default");if("object"!=z(le))return le;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===se?String:Number)(ne)}(ne,"string");return"symbol"==z(se)?se:se+""}var A="lS_",X=Q.default=function(){return function B(ne,se,_e){return se&&C(ne.prototype,se),_e&&C(ne,_e),Object.defineProperty(ne,"prototype",{writable:!1}),ne}(function ne(){var se=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(function P(ne,se){if(!(ne instanceof se))throw new TypeError("Cannot call a class as a function")})(this,ne),this.cookieOptions=Object.assign({path:"/"},se),A=void 0===se.prefix?A:se.prefix},[{key:"getItem",value:function(_e){var le=a.parse(document.cookie);return le&&le[A+_e]?le[A+_e]:null}},{key:"setItem",value:function(_e,le){return document.cookie=a.serialize(A+_e,le,this.cookieOptions),le}},{key:"removeItem",value:function(_e){var le=Object.assign({},this.cookieOptions,{maxAge:-1});return document.cookie=a.serialize(A+_e,"",le),null}},{key:"clear",value:function(){var _e=a.parse(document.cookie);for(var le in _e)0===le.indexOf(A)&&this.removeItem(le.substr(A.length));return null}}])}()},65053:(st,Q)=>{"use strict";function g(B){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(_){return typeof _}:function(_){return _&&"function"==typeof Symbol&&_.constructor===Symbol&&_!==Symbol.prototype?"symbol":typeof _})(B)}function h(B,_){for(var q=0;q<_.length;q++){var A=_[q];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(B,z(A.key),A)}}function z(B){var _=function P(B,_){if("object"!=g(B)||!B)return B;var q=B[Symbol.toPrimitive];if(void 0!==q){var A=q.call(B,_||"default");if("object"!=g(A))return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===_?String:Number)(B)}(B,"string");return"symbol"==g(_)?_:_+""}Object.defineProperty(Q,"__esModule",{value:!0}),Q.default=void 0,Q.default=function(){return function H(B,_,q){return _&&h(B.prototype,_),q&&h(B,q),Object.defineProperty(B,"prototype",{writable:!1}),B}(function B(){(function a(B,_){if(!(B instanceof _))throw new TypeError("Cannot call a class as a function")})(this,B),this._data={}},[{key:"getItem",value:function(q){return this._data.hasOwnProperty(q)?this._data[q]:null}},{key:"setItem",value:function(q,A){return this._data[q]=String(A)}},{key:"removeItem",value:function(q){return delete this._data[q]}},{key:"clear",value:function(){return this._data={}}}])}()},98949:(st,Q,g)=>{"use strict";Q.Ay=void 0;var h=P(g(4407)),H=P(g(12878)),z=P(g(65053));
3function P(_){return _&&_.__esModule?_:{default:_}}var C;C=(0,h.default)("localStorage")?window.localStorage:(0,h.default)("sessionStorage")?window.sessionStorage:(0,h.default)("cookieStorage")?new H.default:new z.default,Q.Ay=C},4407:(st,Q,g)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.default=function z(){var P=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"localStorage",C=String(P).replace(/storage$/i,"").toLowerCase();if("local"===C)return H("localStorage");if("session"===C)return H("sessionStorage");if("cookie"===C)return(0,a.hasCookies)();if("memory"===C)return!0;throw new Error("Storage method `".concat(P,"` is not available.\n    Please use one of the following: localStorage, sessionStorage, cookieStorage, memoryStorage."))};var a=g(12878),h="__test";function H(P){try{var C=window[P];return C.setItem(h,"1"),C.removeItem(h),!0}catch{return!1}}},20560:(st,Q)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.parseCookie=B,Q.parse=B,Q.stringifyCookie=function _(le,Re){const Le=Re?.encode||encodeURIComponent,Ie=[];for(const xe of Object.keys(le)){const Te=le[xe];if(void 0===Te)continue;if(!g.test(xe))throw new TypeError(`cookie name is invalid: ${xe}`);const Ne=Le(Te);if(!a.test(Ne))throw new TypeError(`cookie val is invalid: ${Te}`);Ie.push(`${xe}=${Ne}`)}return Ie.join("; ")},Q.stringifySetCookie=q,Q.serialize=q,Q.parseSetCookie=function A(le,Re){const Le=Re?.decode||se,Ie=le.length,xe=X(le,0,Ie),Te=R(le,0,xe),Ne=-1===Te?{name:"",value:Le(ne(le,0,xe))}:{name:ne(le,0,Te),value:Le(ne(le,Te+1,xe))};let he=xe+1;for(;he<Ie;){const Me=X(le,he,Ie),ct=R(le,he,Me),yt=ne(le,he,-1===ct?Me:ct),Se=-1===ct?void 0:ne(le,ct+1,Me);switch(yt.toLowerCase()){case"httponly":Ne.httpOnly=!0;break;case"secure":Ne.secure=!0;break;case"partitioned":Ne.partitioned=!0;break;case"domain":Ne.domain=Se;break;case"path":Ne.path=Se;break;case"max-age":Se&&z.test(Se)&&(Ne.maxAge=Number(Se));break;case"expires":if(!Se)break;const ke=new Date(Se);Number.isFinite(ke.valueOf())&&(Ne.expires=ke);break;case"priority":if(!Se)break;const Ze=Se.toLowerCase();("low"===Ze||"medium"===Ze||"high"===Ze)&&(Ne.priority=Ze);break;case"samesite":if(!Se)break;const Ve=Se.toLowerCase();("lax"===Ve||"strict"===Ve||"none"===Ve)&&(Ne.sameSite=Ve)}he=Me+1}return Ne},Q.stringifySetCookie=q,Q.serialize=q;const g=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,a=/^[\u0021-\u003A\u003C-\u007E]*$/,h=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,H=/^[\u0020-\u003A\u003D-\u007E]*$/,z=/^-?\d+$/,P=Object.prototype.toString,C=(()=>{const le=function(){};return le.prototype=Object.create(null),le})();function B(le,Re){const Le=new C,Ie=le.length;if(Ie<2)return Le;const xe=Re?.decode||se;let Te=0;do{const Ne=R(le,Te,Ie);if(-1===Ne)break;const he=X(le,Te,Ie);if(Ne>he){Te=le.lastIndexOf(";",Ne-1)+1;continue}const Me=ne(le,Te,Ne);void 0===Le[Me]&&(Le[Me]=xe(ne(le,Ne+1,he))),Te=he+1}while(Te<Ie);return Le}function q(le,Re,Le){const Ie="object"==typeof le?le:{...Le,name:le,value:String(Re)},Te=("object"==typeof Re?Re:Le)?.encode||encodeURIComponent;if(!g.test(Ie.name))throw new TypeError(`argument name is invalid: ${Ie.name}`);const Ne=Ie.value?Te(Ie.value):"";if(!a.test(Ne))throw new TypeError(`argument val is invalid: ${Ie.value}`);let he=Ie.name+"="+Ne;if(void 0!==Ie.maxAge){if(!Number.isInteger(Ie.maxAge))throw new TypeError(`option maxAge is invalid: ${Ie.maxAge}`);he+="; Max-Age="+Ie.maxAge}if(Ie.domain){if(!h.test(Ie.domain))throw new TypeError(`option domain is invalid: ${Ie.domain}`);he+="; Domain="+Ie.domain}if(Ie.path){if(!H.test(Ie.path))throw new TypeError(`option path is invalid: ${Ie.path}`);he+="; Path="+Ie.path}if(Ie.expires){if(!function _e(le){return"[object Date]"===P.call(le)}(Ie.expires)||!Number.isFinite(Ie.expires.valueOf()))throw new TypeError(`option expires is invali
3d: ${Ie.expires}`);he+="; Expires="+Ie.expires.toUTCString()}if(Ie.httpOnly&&(he+="; HttpOnly"),Ie.secure&&(he+="; Secure"),Ie.partitioned&&(he+="; Partitioned"),Ie.priority)switch("string"==typeof Ie.priority?Ie.priority.toLowerCase():void 0){case"low":he+="; Priority=Low";break;case"medium":he+="; Priority=Medium";break;case"high":he+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${Ie.priority}`)}if(Ie.sameSite)switch("string"==typeof Ie.sameSite?Ie.sameSite.toLowerCase():Ie.sameSite){case!0:case"strict":he+="; SameSite=Strict";break;case"lax":he+="; SameSite=Lax";break;case"none":he+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${Ie.sameSite}`)}return he}function X(le,Re,Le){const Ie=le.indexOf(";",Re);return-1===Ie?Le:Ie}function R(le,Re,Le){const Ie=le.indexOf("=",Re);return Ie<Le?Ie:-1}function ne(le,Re,Le){let Ie=Re,xe=Le;do{const Te=le.charCodeAt(Ie);if(32!==Te&&9!==Te)break}while(++Ie<xe);for(;xe>Ie;){const Te=le.charCodeAt(xe-1);if(32!==Te&&9!==Te)break;xe--}return le.slice(Ie,xe)}function se(le){if(-1===le.indexOf("%"))return le;try{return decodeURIComponent(le)}catch{return le}}},49336:(st,Q)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.Circle=void 0;var g=function(){function a(h,H,z){void 0===z&&(z=0),this.x=h,this.y=H,this.radius=z}return a.zero=new a(0,0),a}();Q.Circle=g},89901:(st,Q,g)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.Color=void 0;var a=g(13060),h=function(){function H(z,P,C){this.values=new Float32Array(3),this.rgb=[z,P,C]}return Object.defineProperty(H.prototype,"r",{get:function(){return this.values[0]},set:function(z){this.values[0]=Math.floor(z)},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"g",{get:function(){return this.values[1]},set:function(z){this.values[1]=Math.floor(z)},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"b",{get:function(){return this.values[2]},set:function(z){this.values[2]=Math.floor(z)},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"rgb",{get:function(){return[this.r,this.g,this.b]},set:function(z){this.r=z[0],this.g=z[1],this.b=z[2]},enumerable:!1,configurable:!0}),H.prototype.mix=function(z,P){return void 0===P&&(P=.5),new H(a.lerp(this.r,z.r,P),a.lerp(this.g,z.g,P),a.lerp(this.b,z.b,P))},H.prototype.toHex=function(){var z=function(P){return P.toString(16).padStart(2,"0")};return"#"+z(this.r)+z(this.g)+z(this.b)},H.prototype.toString=function(){return"rgb("+this.values.join(", ")+")"},H.fromHex=function(z){return z.startsWith("#")&&(z=z.substr(1)),new H(parseInt(z.substr(0,2),16),parseInt(z.substr(2,2),16),parseInt(z.substr(4,2),16))}
3,H.fromHsl=function(z,P,C){if(z/=360,C/=100,0==(P/=100))return new H(C,C,C);var B=function(X,R,ne){return ne<0&&(ne+=1),ne>1&&(ne-=1),ne<.16666666666666666?X+6*(R-X)*ne:ne<.5?R:ne<.6666666666666666?X+(R-X)*(.6666666666666666-ne)*6:X},_=function(X){return Math.min(255,256*X)},q=C<.5?C*(1+P):C+P-C*P,A=2*C-q;return new H(_(B(A,q,z+1/3)),_(B(A,q,z)),_(B(A,q,z-1/3)))},H.white=new H(255,255,255),H.black=new H(0,0,0),H}();Q.Color=h},8780:function(st,Q,g){"use strict";var a=this&&this.__extends||function(){var P=function(C,B){return(P=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_,q){_.__proto__=q}||function(_,q){for(var A in q)Object.prototype.hasOwnProperty.call(q,A)&&(_[A]=q[A])})(C,B)};return function(C,B){if("function"!=typeof B&&null!==B)throw new TypeError("Class extends value "+String(B)+" is not a constructor or null");function _(){this.constructor=C}P(C,B),C.prototype=null===B?Object.create(B):(_.prototype=B.prototype,new _)}}(),h=this&&this.__spreadArray||function(P,C){for(var B=0,_=C.length,q=P.length;B<_;B++,q++)P[q]=C[B];return P};Object.defineProperty(Q,"__esModule",{value:!0}),Q.Gradient=void 0;var z=function(P){function C(){return null!==P&&P.apply(this,arguments)||this}return a(C,P),C.prototype.interpolate=function(B,_,q){return B.mix(_,q)},C.solid=function(B){return new C({value:B,time:.5})},C.simple=function(){for(var B=[],_=0;_<arguments.length;_++)B[_]=arguments[_];var q=1/(B.length-1);return new(C.bind.apply(C,h([void 0],B.map(function(A,X){return{value:A,time:X*q}}))))},C}(g(39245).Spline);Q.Gradient=z},41754:function(st,Q,g){"use strict";var a=this&&this.__createBinding||(Object.create?function(H,z,P,C){void 0===C&&(C=P),Object.defineProperty(H,C,{enumerable:!0,get:function(){return z[P]}})}:function(H,z,P,C){void 0===C&&(C=P),H[C]=z[P]}),h=this&&this.__exportStar||function(H,z){for(var P in H)"default"!==P&&!Object.prototype.hasOwnProperty.call(z,P)&&a(z,H,P)};Object.defineProperty(Q,"__esModule",{value:!0}),h(g(49336),Q),h(g(89901),Q),h(g(8780),Q),h(g(45340),Q),h(g(86542),Q),h(g(74855),Q)},45340:function(st,Q,g){"use strict";var a=this&&this.__extends||function(){var P=function(C,B){return(P=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_,q){_.__proto__=q}||function(_,q){for(var A in q)Object.prototype.hasOwnProperty.call(q,A)&&(_[A]=q[A])})(C,B)};return function(C,B){if("function"!=typeof B&&null!==B)throw new TypeError("Class extends value "+String(B)+" is not a constructor or null");function _(){this.constructor=C}P(C,B),C.prototype=null===B?Object.create(B):(_.prototype=B.prototype,new _)}}();Object.defineProperty(Q,"__esModule",{value:!0}),Q.NumericSpline=void 0;var h=g(13060),z=function(P){function C(){return null!==P&&P.apply(this,arguments)||this}return a(C,P),C.prototype.interpolate=function(B,_,q){return h.slerp(B,_,q)},C}(g(39245).Spline);Q.NumericSpline=z},86542:(st,Q)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.Rect=void 0;var g=function(){function a(h,H,z,P){void 0===z&&(z=0),void 0===P&&(P=0),this.x=h,this.y=H,this.width=z,this.height=P}return a.fromScreen=function(){return new a(window.scrollX,window.scrollY,window.innerWidth,window.innerHeight)},a.fromElement=function(h){var H=h.getBoundingClientRect();return new a(window.scrollX+H.x,window.scrollY+H.y,H.width,H.height)},a.zero=new a(0,0),a}();Q.Rect=g},39245:(st,Q,g)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.Spline=void 0;var a=g(13060),h=function(){function H(){for(var z=[],P=0;P<arguments.length;P++)z[P]=arguments[P];if(0===z.length)throw new Error("Splines require at least one key.");if(Array.isArray(z[0]))throw new Error("You are trying to pass an array to the spline constructor, which is not supported. Try to spread the array into the constructor instead.");this.keys=z}return H.prototype.evaluate=function(z){if(0===this.keys.length)throw new Error("Attempt to evaluate a spline with no keys.");if(1===this.keys.length)return this.keys[0].value;var P=this.keys.sort(function(A,X){return A.time-X.time}),C=P.findIndex(function(A){return A.time>z});if(0===C)return P[0].value;if(-1===C)return P[P.length-1].value;var B=P[C-1],_=P[C],q=a.invlerp(B.time,_.time,z);return this.interpolate(B.value,_.value,q)},H}();Q.Spline=h},74855:function(st,Q,g){"use strict";var a=this&&this.__spreadArray||function(z,P){for(var C=0,B=P.length,_=z.length;C<B;C++,_++)z[_]=P[C];return z};Object.defineProperty(Q,"__esModule",{value:!0}),Q.Vector=void 0;var h=g(13060),H=function(){function z(P,C,B){void 0===P&&(P=0),void 0===C&&(C=0),void 0===B&&(B=0),this.values=new Float32Array(3),this.xyz=[P,C,B]}return Object.defineProperty(z.prototype,"x",{get:function(){return this.values[0]},set:function(P){this.values[0]=P}
3,enumerable:!1,configurable:!0}),Object.defineProperty(z.prototype,"y",{get:function(){return this.values[1]},set:function(P){this.values[1]=P},enumerable:!1,configurable:!0}),Object.defineProperty(z.prototype,"z",{get:function(){return this.values[2]},set:function(P){this.values[2]=P},enumerable:!1,configurable:!0}),Object.defineProperty(z.prototype,"xyz",{get:function(){return[this.x,this.y,this.z]},set:function(P){this.values[0]=P[0],this.values[1]=P[1],this.values[2]=P[2]},enumerable:!1,configurable:!0}),z.prototype.magnitude=function(){return Math.sqrt(this.sqrMagnitude())},z.prototype.sqrMagnitude=function(){return this.x*this.x+this.y*this.y+this.z*this.z},z.prototype.add=function(P){return new z(this.x+P.x,this.y+P.y,this.z+P.z)},z.prototype.subtract=function(P){return new z(this.x-P.x,this.y-P.y,this.z-P.z)},z.prototype.scale=function(P){return"number"==typeof P?new z(this.x*P,this.y*P,this.z*P):new z(this.x*P.x,this.y*P.y,this.z*P.z)},z.prototype.normalized=function(){var P=this.magnitude();return 0!==P?this.scale(1/P):new(z.bind.apply(z,a([void 0],this.xyz)))},z.prototype.angle=function(P){return h.rad2deg*Math.acos((this.x*P.x+this.y*P.y+this.z*P.z)/(this.magnitude()*P.magnitude()))},z.prototype.cross=function(P){return new z(this.y*P.z-this.z*P.y,this.z*P.x-this.x*P.z,this.x*P.y-this.y*P.x)},z.prototype.dot=function(P){return this.magnitude()*P.magnitude()*Math.cos(h.deg2rad*this.angle(P))},z.prototype.toString=function(){return"Vector("+this.values.join(", ")+")"},z.from2dAngle=function(P){return new z(Math.cos(P*h.deg2rad),Math.sin(P*h.deg2rad))},z.zero=new z(0,0,0),z.one=new z(1,1,1),z.right=new z(1,0,0),z.up=new z(0,1,0),z.forward=new z(0,0,1),z}();Q.Vector=H},78449:(st,Q,g)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.particleContainer=Q.debugContainer=Q.rootContainer=void 0;var a=g(76820),h=g(11322);function z(C){return C&&C.isConnected}function P(C,B,_){var q=document.createElement("div");return q.id="party-js-"+C,Object.assign(q.style,B),_.appendChild(q)}Q.rootContainer=new h.Lazy(function(){return P("container",{position:"fixed",left:"0",top:"0",height:"100vh",width:"100vw",pointerEvents:"none",userSelect:"none",zIndex:a.settings.zIndex.toString()},document.body)},z),Q.debugContainer=new h.Lazy(function(){return P("debug",{position:"absolute",top:"0",left:"0",margin:"0.5em",padding:"0.5em 1em",border:"2px solid rgb(0, 0, 0, 0.2)",background:"rgb(0, 0, 0, 0.1)",color:"#555",fontFamily:"monospace"},Q.rootContainer.current)},z),Q.particleContainer=new h.Lazy(function(){return P("particles",{width:"100%",height:"100%",overflow:"hidden",perspective:"1200px"},Q.rootContainer.current)},z)},15910:function(st,Q,g){"use strict";var a=this&&this.__spreadArray||function(P,C){for(var B=0,_=C.length,q=P.length;B<_;B++,q++)P[q]=C[B];return P};Object.defineProperty(Q,"__esModule",{value:!0}),Q.Debug=void 0;var h=g(78449),H=g(76820),z=function(){function P(C){this.scene=C,this.refreshRate=8,this.refreshTimer=1/this.refreshRate}return P.prototype.tick=function(C){var B=h.debugContainer.current,_=H.settings.debug?"block":"none";B.style.display!==_&&(B.style.display=_),H.settings.debug&&(this.refreshTimer+=C,this.refreshTimer>1/this.refreshRate&&(this.refreshTimer=0,B.innerHTML=this.getDebugInformation(C).join("<br>")))},P.prototype.getDebugInformation=function(C){var B=this.scene.emitters.length,_=this.scene.emitters.reduce(function(X,R){return X+R.particles.length},0),q=["<b>party.js Debug</b>","--------------","FPS: "+Math.round(1/C),"Emitters: "+B,"Particles: "+_],A=this.scene.emitters.map(function(X){return["\u2b6f: "+(X.currentLoop+1)+"/"+(X.options.loops>=0?X.options.loops:"\u221e"),"\u03a3p: "+X.particles.length,X.isExpired?"<i>expired</i>":"\u03a3t: "+X.durationTimer.toFixed(3)+"s"].join(", ")});return q.push.apply(q,a(["--------------"],A)),q},P}();Q.Debug=z},21753:function(st,Q,g){"use strict";var a=this&&this.__createBinding||(Object.create?function(q,A,X,R){void 0===R&&(R=X),Object.defineProperty(q,R,{enumerable:!0,get:function(){return A[X]}})}:function(q,A,X,R){void 0===R&&(R=X),q[R]=A[X]}),h=this&&this.__exportStar||function(q,A){for(var X in q)"default"!==X&&!Object.prototype.hasOwnProperty.call(A,X)&&a(A,q,X)};Object.defineProperty(Q,"__esModule",{value:!0}),Q.default=Q.forceInit=Q.util=Q.math=Q.random=Q.sources=Q.variation=Q.Emitter=Q.Particle=Q.settings=Q.scene=void 0;var H=g(4093),z=g(11322);h(g(41754),Q),h(g(10757),Q),h(g(79084),Q),h(g(41341),Q),Q.scene=new z.Lazy(function(){if(typeof document>"u"||typeof window>"u")throw new Error("It seems like you are trying to run party.js in a non-browser-like environment, which is not supported.");return new H.Scene});var P=g(76820);Object.defineProperty(Q,"settings",{enumerable:!0,get:function(){return P.settings}});var C=g(24263);Object.defineProperty(Q,"Particle",{enumerable:!0,get:function(){return C.Particle}});var B=g(12435);Object.defineProperty(Q,"Emitter",{enumerable:!0,get:function(){return B.Emitter}}),Q.variation=g(18505),Q.sources=g(97682),Q.random=g(27725),Q.math=g(13060),Q.util=g(11322),Q.forceInit=function _(){},Q.default=g(21753)},12435:(st,Q,g)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.Emitter=void 0;var a=g(74855),h=g(76820),H=g(18505),z=g(75730),P=g(47968),C=g(24263),B=function(){function _(q){this.particles=[],this.currentLoop=0,this.durationTimer=0,this.emissionTimer=0,this.attemptedBurstIndices=[],this.options=z.overrideDefaults(P.getDefaultEmitterOptions(),q?.emitterOptions),this.emission=z.overrideDefaults(P.getDefaultEmissionOptions(),q?.emissionOptions),this.renderer=z.overrideDefaults(P.getDefaultRendererOptions(),q?.rendererOptions)}return Object.defineProperty(_.prototype,"isExpired",{get:function(){return this.options.loops>=0&&this.currentLoop>=this.options.loops}
3,enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"canRemove",{get:function(){return 0===this.particles.length},enumerable:!1,configurable:!0}),_.prototype.clearParticles=function(){return this.particles.splice(0).length},_.prototype.tick=function(q){if(!this.isExpired&&(this.durationTimer+=q,this.durationTimer>=this.options.duration&&(this.currentLoop++,this.durationTimer=0,this.attemptedBurstIndices=[]),!this.isExpired)){for(var A=0,X=0,R=this.emission.bursts;X<R.length;X++){var ne=R[X];if(ne.time<=this.durationTimer&&!this.attemptedBurstIndices.includes(A)){for(var se=H.evaluateVariation(ne.count),_e=0;_e<se;_e++)this.emitParticle();this.attemptedBurstIndices.push(A)}A++}this.emissionTimer+=q;for(var le=1/this.emission.rate;this.emissionTimer>le;)this.emissionTimer-=le,this.emitParticle()}var Re=function(Ie){var xe=Le.particles[Ie];Le.tickParticle(xe,q),Le.options.despawningRules.some(function(Te){return Te(xe)})&&Le.particles.splice(Ie,1)},Le=this;for(_e=this.particles.length-1;_e>=0;_e--)Re(_e)},_.prototype.tickParticle=function(q,A){q.lifetime-=A,this.options.useGravity&&(q.velocity=q.velocity.add(a.Vector.up.scale(h.settings.gravity*A))),q.location=q.location.add(q.velocity.scale(A));for(var X=0,R=this.options.modules;X<R.length;X++)(0,R[X])(q)},_.prototype.emitParticle=function(){var q=new C.Particle({location:this.emission.sourceSampler(),lifetime:H.evaluateVariation(this.emission.initialLifetime),velocity:a.Vector.from2dAngle(H.evaluateVariation(this.emission.angle)).scale(H.evaluateVariation(this.emission.initialSpeed)),size:H.evaluateVariation(this.emission.initialSize),rotation:H.evaluateVariation(this.emission.initialRotation),color:H.evaluateVariation(this.emission.initialColor)});return this.particles.push(q),this.particles.length>this.options.maxParticles&&this.particles.shift(),q},_}();Q.Emitter=B},84695:(st,Q,g)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.getDefaultEmissionOptions=void 0;var a=g(41754),h=g(97682);Q.getDefaultEmissionOptions=function H(){return{rate:10,angle:0,bursts:[],sourceSampler:h.rectSource(a.Rect.zero),initialLifetime:5,initialSpeed:5,initialSize:1,initialRotation:a.Vector.zero,initialColor:a.Color.white}}},89734:(st,Q,g)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.getDefaultEmitterOptions=void 0;var a=g(25237);Q.getDefaultEmitterOptions=function h(){return{duration:5,loops:1,useGravity:!0,maxParticles:300,despawningRules:[a.despawningRules.lifetime,a.despawningRules.bounds],modules:[]}}},47968:function(st,Q,g){"use strict";var a=this&&this.__createBinding||(Object.create?function(H,z,P,C){void 0===C&&(C=P),Object.defineProperty(H,C,{enumerable:!0,get:function(){return z[P]}})}:function(H,z,P,C){void 0===C&&(C=P),H[C]=z[P]}),h=this&&this.__exportStar||function(H,z){for(var P in H)"default"!==P&&!Object.prototype.hasOwnProperty.call(z,P)&&a(z,H,P)};Object.defineProperty(Q,"__esModule",{value:!0}),h(g(89734),Q),h(g(84695),Q),h(g(12422),Q)},12422:(st,Q)=>{"use strict";function a(P,C){var B=P.toHex();switch(C.nodeName.toLowerCase()){case"div":C.style.background=B;break;case"svg":C.style.fill=C.style.color=B;break;default:C.style.color=B}}function h(P,C){C.style.opacity=P.toString()}function H(P,C){C.style.filter="brightness("+(.5+Math.abs(P))+")"}function z(P,C){C.style.transform="translateX("+(P.location.x-window.scrollX).toFixed(3)+"px) translateY("+(P.location.y-window.scrollY).toFixed(3)+"px) translateZ("+P.location.z.toFixed(3)+"px) rotateX("+P.rotation.x.toFixed(3)+"deg) rotateY("+P.rotation.y.toFixed(3)+"deg) rotateZ("+P.rotation.z.toFixed(3)+"deg) scale("+P.size.toFixed(3)+")"}Object.defineProperty(Q,"__esModule",{value:!0}),Q.getDefaultRendererOptions=void 0,Q.getDefaultRendererOptions=function g(){return{shapeFactory:"square",applyColor:a,applyOpacity:h,applyLighting:H,applyTransform:z}}},24263:(st,Q,g)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.Particle=void 0;var a=g(41754),h=g(75730);Q.Particle=function(){return function z(P){var C=h.overrideDefaults({lifetime:0,size:1,location:a.Vector.zero,rotation:a.Vector.zero,velocity:a.Vector.zero,color:a.Color.white,opacity:1},P);this.id=Symbol(),this.size=this.initialSize=C.size,this.lifetime=this.initialLifetime=C.lifetime,this.rotation=this.initialRotation=C.rotation,this.location=C.location,this.velocity=C.velocity,this.color=C.color,this.opacity=C.opacity}}()},67326:(st,Q,g)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.Renderer=void 0;var a=g(21753),h=g(74855),H=g(78449),z=g(79084),P=g(11322),C=function(){function B(){this.elements=new Map,this.light=new h.Vector(0,0,1),this.enabled=!0,this.enabled=!a.settings.respectReducedMotion||!window.matchMedia("(prefers-reduced-motion)").matches}return B.prototype.begin=function(){this.renderedParticles=[]},B.prototype.end=function(){for(var _=this.elements.keys(),q=_.next();!q.done;){var A=q.value;this.renderedParticles.includes(A)||(this.elements.get(A).remove(),this.elements.delete(A)),q=_.next()}return this.renderedParticles.length},B.prototype.renderParticle=function(_,q){if(this.enabled){var A=q.renderer,X=this.elements.has(_.id)?this.elements.get(_.id):this.createParticleElement(_,A);if(A.applyColor&&A.applyColor(_.color,X),A.applyOpacity&&A.applyOpacity(_.opacity,X),A.applyLighting){var ne=P.rotationToNormal(_.rotation).dot(this.light);A.applyLighting(ne,X)}A.applyTransform&&A.applyTransform(_,X),this.renderedParticles.push(_.id)}},B.prototype.createParticleElement=function(_,q){var X=z.resolveShapeFactory(q.shapeFactory).cloneNode(!0);return X.style.position="absolute",this.elements.set(_.id,H.particleContainer.current.appendChild(X)),X},B}();Q.Renderer=C},4093:(st,Q,g)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.Scene=void 0;var a=g(15910),h=g(12435),H=g(67326),z=function(){function P(){this.emitters=[],this.debug=new a.Debug(this),this.renderer=new H.Renderer,this.scheduledTickId=void 0,this.lastTickTimestamp=performance.now(),this.tick=this.tick.bind(this),this.scheduleTick()}return P.prototype.createEmitter=function(C){var B=new h.Emitter(C);return this.emitters.push(B),B},P.prototype.clearEmitters=function(){return this.emitters.splice(0).length},P.prototype.clearParticles=function(){return this.emitters.reduce(function(C,B){return C+B.clearParticles()},0)},P.prototype.scheduleTick=function(){this.scheduledTickId=window.requestAnimationFrame(this.tick)},P.prototype.cancelTick=function(){window.cancelAnimationFrame(this.scheduledTickId)},P.prototype.tick=function(C){var B=(C-this.lastTickTimestamp)/1e3;try{for(var _=0;_<this.emitters.length;_++)(q=this.emitters[_]).tick(B),q.isExpired&&q.canRemove&&this.emitters.splice(_--,1)}catch(_e){console.error("An error occurred while updating the scene's emitters:\n\""+_e+'"')}try{this.renderer.begin();for(var A=0,X=this.emitters;A<X.length;A++)for(var q,R=0,ne=(q=X[A]).particles;R<ne.length;R++)this.renderer.renderParticle(ne[R],q);this.renderer.end()}catch(_e){console.error("An error occurred while rendering the scene's particles:\n\""+_e+'"')}this.debug.tick(B),this.lastTickTimestamp=C,this.scheduleTick()},P}();Q.Scene=z},76820:(st,Q)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.settings=void 0,Q.settings={debug:!1,gravity:800,zIndex:99999,respectReducedMotion:!0}
3},13060:(st,Q)=>{"use strict";function g(P,C,B){return(1-B)*P+B*C}Object.defineProperty(Q,"__esModule",{value:!0}),Q.approximately=Q.clamp=Q.invlerp=Q.slerp=Q.lerp=Q.epsilon=Q.rad2deg=Q.deg2rad=void 0,Q.deg2rad=Math.PI/180,Q.rad2deg=180/Math.PI,Q.epsilon=1e-6,Q.lerp=g,Q.slerp=function a(P,C,B){return g(P,C,(1-Math.cos(B*Math.PI))/2)},Q.invlerp=function h(P,C,B){return(B-P)/(C-P)},Q.clamp=function H(P,C,B){return Math.min(B,Math.max(C,P))},Q.approximately=function z(P,C){return Math.abs(P-C)<Q.epsilon}},41341:(st,Q,g)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.ModuleBuilder=void 0;var a=g(41754),h=function(){function C(){this.factor="lifetime",this.isRelative=!1}return C.prototype.drive=function(B){return this.driverKey=B,this},C.prototype.through=function(B){return this.factor=B,this},C.prototype.by=function(B){return this.driverValue=B,this},C.prototype.relative=function(B){return void 0===B&&(B=!0),this.isRelative=B,this},C.prototype.build=function(){var B=this;if(typeof this.driverKey>"u")throw new Error("No driving key was provided in the module builder. Did you forget a '.drive()' call?");if(typeof this.driverValue>"u")throw new Error("No driving value was provided in the module builder. Did you forget a '.through()' call?");return function(_){P(_,B.driverKey,function H(C,B,_){return"object"==typeof C&&"evaluate"in C?C.evaluate(B):"function"==typeof C?C(B,_):C}(B.driverValue,function z(C,B){switch(C){case"lifetime":return B.initialLifetime-B.lifetime;case"relativeLifetime":return(B.initialLifetime-B.lifetime)/B.initialLifetime;case"size":return B.size;default:throw new Error("Invalid driving factor '"+C+"'.")}}(B.factor,_),_),B.isRelative)}},C}();function P(C,B,_,q){if(void 0===q&&(q=!1),q){var A=C["initial"+B[0].toUpperCase()+B.substr(1)];if(typeof A>"u")throw new Error("Unable to use relative chaining with key '"+B+"'; no initial value exists.");if(_ instanceof a.Vector)P(C,B,A.add(_));else{if("number"!=typeof _)throw new Error("Unable to use relative chaining with particle key '"+B+"'; no relative operation for '"+_+"' could be inferred.");P(C,B,A*_)}}else C[B]=_}Q.ModuleBuilder=h},27725:(st,Q,g)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.randomInsideCircle=Q.randomInsideRect=Q.randomUnitVector=Q.pick=Q.randomRange=void 0;var a=g(41754),h=g(13060);function H(_,q){return void 0===_&&(_=0),void 0===q&&(q=1),h.lerp(_,q,Math.random())}Q.randomRange=H,Q.pick=function z(_){return 0===_.length?void 0:_[Math.floor(Math.random()*_.length)]},Q.randomUnitVector=function P(){var _=H(0,2*Math.PI),q=H(-1,1);return new a.Vector(Math.sqrt(1-q*q)*Math.cos(_),Math.sqrt(1-q*q)*Math.sin(_),q)},Q.randomInsideRect=function C(_){return new a.Vector(_.x+H(0,_.width),_.y+H(0,_.height))},Q.randomInsideCircle=function B(_){var q=H(0,2*Math.PI),A=H(0,_.radius);return new a.Vector(_.x+Math.cos(q)*A,_.y+Math.sin(q)*A)}},79084:(st,Q,g)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.resolveShapeFactory=Q.resolvableShapes=void 0;var a=g(18505);Q.resolvableShapes={square:'<div style="height: 10px; width: 10px;"></div>',rectangle:'<div style="height: 6px; width: 10px;"></div>',circle:'<svg viewBox="0 0 2 2" width="10" height="10"><circle cx="1" cy="1" r="1" fill="currentColor"/></svg>',roundedSquare:'<div style="height: 10px; width: 10px; border-radius: 3px;"></div>',roundedRectangle:'<div style="height: 6px; width: 10px; border-radius: 3px;"></div>',star:'<svg viewBox="0 0 512 512" width="15" height="15"><polygon fill="currentColor" points="512,197.816 325.961,185.585 255.898,9.569 185.835,185.585 0,197.816 142.534,318.842 95.762,502.431 255.898,401.21 416.035,502.431 369.263,318.842"/></svg>'},Q.resolveShapeFactory=function h(H){var z=a.evaluateVariation(H);if("string"==typeof z){var P=Q.resolvableShapes[z];if(!P)throw new Error("Failed to resolve shape key '"+z+"'. Did you forget to add it to the 'resolvableShapes' lookup?");var C=document.createElement("div");return C.innerHTML=P,C.firstElementChild}return z}},97682:(st,Q,g)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.circleSource=Q.rectSource=Q.mouseSource=Q.elementSource=Q.dynamicSource=void 0;var a=g(41754),h=g(27725);function z(_){return function(){return h.randomInsideRect(a.Rect.fromElement(_))}}function P(_){return function(){return new a.Vector(window.scrollX+_.clientX,window.scrollY+_.clientY)}}function C(_){return function(){return h.randomInsideRect(_)}}function B(_){return function(){return h.randomInsideCircle(_)}}Q.dynamicSource=function H(_){if(_ instanceof HTMLElement)return z(_);if(_ instanceof a.Circle)return B(_);if(_ instanceof a.Rect)return C(_);if(_ instanceof MouseEvent)return P(_);throw new Error("Cannot infer the source type of '"+_+"'.")},Q.elementSource=z,Q.mouseSource=P,Q.rectSource=C,Q.circleSource=B},18505:(st,Q,g)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.gradientSample=Q.splineSample=Q.skewRelative=Q.skew=Q.range=Q.evaluateVariation=void 0;var a=g(27725);function C(_){return function(){return _.evaluate(Math.random())}}Q.evaluateVariation=function h(_){return Array.isArray(_)?a.pick(_):"function"==typeof _?_():_},Q.range=function H(_,q){return function(){return a.randomRange(_,q)}},Q.skew=function z(_,q){return function(){return _+a.randomRange(-q,q)}},Q.skewRelative=function P(_,q){return function(){return _*(1+a.randomRange(-q,q))}},Q.splineSample=C,Q.gradientSample=function B(_){return C(_)}},21249:(st,Q,g)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.confetti=void 0;var a=g(21753),h=g(41754),H=g(41341),z=g(27725),P=g(97682),C=g(18505),B=g(11322);Q.confetti=function _(q,A){var X=B.overrideDefaults({count:C.range(20,40),spread:C.range(35,45),speed:C.range(300,600),size:C.skew(1,.2),rotation:function(){return z.randomUnitVector().scale(180)}
3,color:function(){return h.Color.fromHsl(z.randomRange(0,360),100,70)},modules:[(new H.ModuleBuilder).drive("size").by(function(ne){return Math.min(1,3*ne)}).relative().build(),(new H.ModuleBuilder).drive("rotation").by(function(ne){return new h.Vector(140,200,260).scale(ne)}).relative().build()],shapes:["square","circle"]},A);return a.scene.current.createEmitter({emitterOptions:{loops:1,duration:8,modules:X.modules},emissionOptions:{rate:0,bursts:[{time:0,count:X.count}],sourceSampler:P.dynamicSource(q),angle:C.skew(-90,C.evaluateVariation(X.spread)),initialLifetime:8,initialSpeed:X.speed,initialSize:X.size,initialRotation:X.rotation,initialColor:X.color},rendererOptions:{shapeFactory:X.shapes}})}},10757:function(st,Q,g){"use strict";var a=this&&this.__createBinding||(Object.create?function(H,z,P,C){void 0===C&&(C=P),Object.defineProperty(H,C,{enumerable:!0,get:function(){return z[P]}})}:function(H,z,P,C){void 0===C&&(C=P),H[C]=z[P]}),h=this&&this.__exportStar||function(H,z){for(var P in H)"default"!==P&&!Object.prototype.hasOwnProperty.call(z,P)&&a(z,H,P)};Object.defineProperty(Q,"__esModule",{value:!0}),h(g(21249),Q),h(g(90634),Q)},90634:(st,Q,g)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.sparkles=void 0;var a=g(21753),h=g(41754),H=g(41341),z=g(27725),P=g(97682),C=g(18505),B=g(11322);Q.sparkles=function _(q,A){var X=B.overrideDefaults({lifetime:C.range(1,2),count:C.range(10,20),speed:C.range(100,200),size:C.range(.8,1.8),rotation:function(){return new h.Vector(0,0,z.randomRange(0,360))},color:function(){return h.Color.fromHsl(50,100,z.randomRange(55,85))},modules:[(new H.ModuleBuilder).drive("rotation").by(function(ne){return new h.Vector(0,0,200).scale(ne)}).relative().build(),(new H.ModuleBuilder).drive("size").by(new h.NumericSpline({time:0,value:0},{time:.3,value:1},{time:.7,value:1},{time:1,value:0})).through("relativeLifetime").relative().build(),(new H.ModuleBuilder).drive("opacity").by(new h.NumericSpline({time:0,value:1},{time:.5,value:1},{time:1,value:0})).through("relativeLifetime").build()],shapes:"star"},A);return a.scene.current.createEmitter({emitterOptions:{loops:1,duration:3,useGravity:!1,modules:X.modules},emissionOptions:{rate:0,bursts:[{time:0,count:X.count}],sourceSampler:P.dynamicSource(q),angle:C.range(0,360),initialLifetime:X.lifetime,initialSpeed:X.speed,initialSize:X.size,initialRotation:X.rotation,initialColor:X.color},rendererOptions:{applyLighting:void 0,shapeFactory:X.shapes}})}},75730:(st,Q)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.overrideDefaults=void 0,Q.overrideDefaults=function g(a,h){return Object.assign({},a,h)}},11322:function(st,Q,g){"use strict";var a=this&&this.__createBinding||(Object.create?function(H,z,P,C){void 0===C&&(C=P),Object.defineProperty(H,C,{enumerable:!0,get:function(){return z[P]}})}:function(H,z,P,C){void 0===C&&(C=P),H[C]=z[P]}),h=this&&this.__exportStar||function(H,z){for(var P in H)"default"!==P&&!Object.prototype.hasOwnProperty.call(z,P)&&a(z,H,P)};Object.defineProperty(Q,"__esModule",{value:!0}),h(g(75730),Q),h(g(31630),Q),h(g(25237),Q),h(g(49490),Q)},49490:(st,Q)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.Lazy=void 0;var g=function(){function a(h,H){void 0===H&&(H=a.defaultExists),this.factory=h,this.exists=H}return Object.defineProperty(a.prototype,"current",{get:function(){return this.exists(this.value)||(this.value=this.factory()),this.value},enumerable:!1,configurable:!0}),a.defaultExists=function(h){return typeof h<"u"},a}();Q.Lazy=g},31630:(st,Q,g)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.rotationToNormal=void 0;var a=g(41754),h=g(13060);Q.rotationToNormal=function H(z){var P=z.x*h.deg2rad,C=z.y*h.deg2rad,B=new a.Vector(Math.cos(C),0,Math.sin(C)),_=new a.Vector(0,Math.cos(P),Math.sin(P));return B.cross(_)}},25237:(st,Q)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0}),Q.despawningRules=void 0,Q.despawningRules={lifetime:function(g){return g.lifetime<=0},bounds:function(g){var a=document.documentElement.scrollHeight;return g.location.y>a}}},83485:(st,Q,g)=>{"use strict";g.d(Q,{t:()=>h});var a=g(77392);class h extends a.B{constructor(z){super(),this._value=z}get value(){return this.getValue()}_subscribe(z){const P=super._subscribe(z);return!P.closed&&z.next(this._value),P}getValue(){const{hasError:z,thrownError:P,_value:C}=this;if(z)throw P;return this._throwIfClosed(),C}next(z){super.next(this._value=z)}}},18718:(st,Q,g)=>{"use strict";g.d(Q,{c:()=>_});var a=g(28958),h=g(59343),H=g(5527),z=g(84362),P=g(91629),C=g(13858),B=g(61775);let _=(()=>{class R{constructor(se){se&&(this._subscribe=se)}lift(se){const _e=new R;return _e.source=this,_e.operator=se,_e}subscribe(se,_e,le){const Re=function X(R){return R&&R instanceof a.vU||function A(R){return R&&(0,C.T)(R.next)&&(0,C.T)(R.error)&&(0,C.T)(R.complete)}(R)&&(0,h.Uv)(R)}(se)?se:new a.Ms(se,_e,le);return(0,B.Y)(()=>{const{operator:Le,source:Ie}=this;
vendor: 6,319 bytes, line 3
3Re.add(Le?Le.call(Re,Ie):Ie?this._subscribe(Re):this._trySubscribe(Re))}),Re}_trySubscribe(se){try{return this._subscribe(se)}catch(_e){se.error(_e)}}forEach(se,_e){return new(_e=q(_e))((le,Re)=>{const Le=new a.Ms({next:Ie=>{try{se(Ie)}catch(xe){Re(xe),Le.unsubscribe()}},error:Re,complete:le});this.subscribe(Le)})}_subscribe(se){var _e;return null===(_e=this.source)||void 0===_e?void 0:_e.subscribe(se)}[H.s](){return this}pipe(...se){return(0,z.m)(se)(this)}toPromise(se){return new(se=q(se))((_e,le)=>{let Re;this.subscribe(Le=>Re=Le,Le=>le(Le),()=>_e(Re))})}}return R.create=ne=>new R(ne),R})();function q(R){var ne;return null!==(ne=R??P.$.Promise)&&void 0!==ne?ne:Promise}},58530:(st,Q,g)=>{"use strict";g.d(Q,{m:()=>H});var a=g(77392),h=g(41112);class H extends a.B{constructor(P=1/0,C=1/0,B=h.U){super(),this._bufferSize=P,this._windowTime=C,this._timestampProvider=B,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=C===1/0,this._bufferSize=Math.max(1,P),this._windowTime=Math.max(1,C)}next(P){const{isStopped:C,_buffer:B,_infiniteTimeWindow:_,_timestampProvider:q,_windowTime:A}=this;C||(B.push(P),!_&&B.push(q.now()+A)),this._trimBuffer(),super.next(P)}_subscribe(P){this._throwIfClosed(),this._trimBuffer();const C=this._innerSubscribe(P),{_infiniteTimeWindow:B,_buffer:_}=this,q=_.slice();for(let A=0;A<q.length&&!P.closed;A+=B?1:2)P.next(q[A]);return this._checkFinalizedStatuses(P),C}_trimBuffer(){const{_bufferSize:P,_timestampProvider:C,_buffer:B,_infiniteTimeWindow:_}=this,q=(_?1:2)*P;if(P<1/0&&q<B.length&&B.splice(0,B.length-q),!_){const A=C.now();let X=0;for(let R=1;R<B.length&&B[R]<=A;R+=2)X=R;X&&B.splice(0,X+1)}}}},77392:(st,Q,g)=>{"use strict";g.d(Q,{B:()=>B});var a=g(18718),h=g(59343);const z=(0,g(14904).L)(q=>function(){q(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var P=g(54351),C=g(61775);let B=(()=>{class q extends a.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(X){const R=new _(this,this);return R.operator=X,R}_throwIfClosed(){if(this.closed)throw new z}next(X){(0,C.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const R of this.currentObservers)R.next(X)}})}error(X){(0,C.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=X;const{observers:R}=this;for(;R.length;)R.shift().error(X)}})}complete(){(0,C.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:X}=this;for(;X.length;)X.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var X;return(null===(X=this.observers)||void 0===X?void 0:X.length)>0}_trySubscribe(X){return this._throwIfClosed(),super._trySubscribe(X)}_subscribe(X){return this._throwIfClosed(),this._checkFinalizedStatuses(X),this._innerSubscribe(X)}_innerSubscribe(X){const{hasError:R,isStopped:ne,observers:se}=this;return R||ne?h.Kn:(this.currentObservers=null,se.push(X),new h.yU(()=>{this.currentObservers=null,(0,P.o)(se,X)}))}_checkFinalizedStatuses(X){const{hasError:R,thrownError:ne,isStopped:se}=this;R?X.error(ne):se&&X.complete()}asObservable(){const X=new a.c;return X.source=this,X}}return q.create=(A,X)=>new _(A,X),q})();class _ extends B{constructor(A,X){super(),this.destination=A,this.source=X}next(A){var X,R;null===(R=null===(X=this.destination)||void 0===X?void 0:X.next)||void 0===R||R.call(X,A)}error(A){var X,R;null===(R=null===(X=this.destination)||void 0===X?void 0:X.error)||void 0===R||R.call(X,A)}complete(){var A,X;null===(X=null===(A=this.destination)||void 0===A?void 0:A.complete)||void 0===X||X.call(A)}_subscribe(A){var X,R;return null!==(R=null===(X=this.source)||void 0===X?void 0:X.subscribe(A))&&void 0!==R?R:h.Kn}}},28958:(st,Q,g)=>{"use strict";g.d(Q,{Ms:()=>le,vU:()=>R});var a=g(13858),h=g(59343),H=g(91629),z=g(20299),P=g(29270);const C=q("C",void 0,void 0);function q(Te,Ne,he){return{kind:Te,value:Ne,error:he}}var A=g(1659),X=g(61775);class R extends h.yU{constructor(Ne){super(),this.isStopped=!1,Ne?(this.destination=Ne,(0,h.Uv)(Ne)&&Ne.add(this)):this.destination=xe}static create(Ne,he,Me){return new le(Ne,he,Me)}next(Ne){this.isStopped?Ie(function _(Te){return q("N",Te,void 0)}(Ne),this):this._next(Ne)}error(Ne){this.isStopped?Ie(function B(Te){return q("E",void 0,Te)}(Ne),this):(this.isStopped=!0,this._error(Ne))}complete(){this.isStopped?Ie(C,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(Ne){this.destination.next(Ne)}_error(Ne){try{this.destination.error(Ne)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const ne=Function.prototype.bind;function se(Te,Ne){return ne.call(Te,Ne)}class _e{constructor(Ne){this.partialObserver=Ne}next(Ne){const{partialObserver:he}=this;if(he.next)try{he.next(Ne)}catch(Me){Re(Me)}}error(Ne){const{partialObserver:he}=this;if(he.error)try{he.error(Ne)}catch(Me){Re(Me)}else Re(Ne)}complete(){const{partialObserver:Ne}=this;if(Ne.complete)try{Ne.complete()}catch(he){Re(he)}}}class le extends R{constructor(Ne,he,Me){let ct;if(super(),(0,a.T)(Ne)||!Ne)ct={next:Ne??void 0,error:he??void 0,complete:Me??void 0};else{let yt;this&&H.$.useDeprecatedNextContext?(yt=Object.create(Ne),yt.unsubscribe=()=>this.unsubscribe(),ct={next:Ne.next&&se(Ne.next,yt),error:Ne.error&&se(Ne.error,yt),complete:Ne.complete&&se(Ne.complete,yt)}):ct=Ne}this.destination=new _e(ct)}}function Re(Te){H.$.useDeprecatedSynchronousErrorHandling?(0,X.l)(Te):(0,z.m)(Te)}function Ie(Te,Ne){const{onStoppedNotification:he}=H.$;he&&A.f.setTimeout(()=>he(Te,Ne))}const xe={closed:!0,next:P.l,error:function Le(Te){throw Te},complete:P.l}},59343:(st,Q,g)=>{"use strict";g.d(Q,{Kn:()=>C,yU:()=>P,Uv:()=>B});var a=g(13858);const H=(0,g(14904).L)(q=>function(X){q(this),this.message=X?`${X.length} errors occurred during unsubscription:\n${X.map((R,ne)=>`${ne+1}) ${R.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=X});var z=g(54351);class P{constructor(A){this.initialTeardown=A,this.closed=!1,this._parentage=null,this._finalizers=null}
3unsubscribe(){let A;if(!this.closed){this.closed=!0;const{_parentage:X}=this;if(X)if(this._parentage=null,Array.isArray(X))for(const se of X)se.remove(this);else X.remove(this);const{initialTeardown:R}=this;if((0,a.T)(R))try{R()}catch(se){A=se instanceof H?se.errors:[se]}const{_finalizers:ne}=this;if(ne){this._finalizers=null;for(const se of ne)try{_(se)}catch(_e){A=A??[],_e instanceof H?A=[...A,..._e.errors]:A.push(_e)}}if(A)throw new H(A)}}add(A){var X;if(A&&A!==this)if(this.closed)_(A);else{if(A instanceof P){if(A.closed||A._hasParent(this))return;A._addParent(this)}(this._finalizers=null!==(X=this._finalizers)&&void 0!==X?X:[]).push(A)}}_hasParent(A){const{_parentage:X}=this;return X===A||Array.isArray(X)&&X.includes(A)}_addParent(A){const{_parentage:X}=this;this._parentage=Array.isArray(X)?(X.push(A),X):X?[X,A]:A}_removeParent(A){const{_parentage:X}=this;X===A?this._parentage=null:Array.isArray(X)&&(0,z.o)(X,A)}remove(A){const{_finalizers:X}=this;X&&(0,z.o)(X,A),A instanceof P&&A._removeParent(this)}}P.EMPTY=(()=>{const q=new P;return q.closed=!0,q})();const C=P.EMPTY;function B(q){return q instanceof P||q&&"closed"in q&&(0,a.T)(q.remove)&&(0,a.T)(q.add)&&(0,a.T)(q.unsubscribe)}function _(q){(0,a.T)(q)?q():q.unsubscribe()}},91629:(st,Q,g)=>{"use strict";g.d(Q,{$:()=>a});const a={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},20316:(st,Q,g)=>{"use strict";g.d(Q,{_:()=>H});var a=g(55039),h=g(28958);function H(z,P){const C="object"==typeof P;return new Promise((B,_)=>{const q=new h.Ms({next:A=>{B(A),q.unsubscribe()},error:_,complete:()=>{C?B(P.defaultValue):_(new a.G)}});z.subscribe(q)})}},27639:(st,Q,g)=>{"use strict";g.d(Q,{z:()=>A});var a=g(18718),h=g(42056),H=g(40450),z=g(34968),P=g(77915),C=g(3851),B=g(62757),_=g(20223),q=g(64686);function A(...ne){const se=(0,C.lI)(ne),_e=(0,C.ms)(ne),{args:le,keys:Re}=(0,h.D)(ne);if(0===le.length)return(0,H.H)([],se);const Le=new a.c(function X(ne,se,_e=z.D){return le=>{R(se,()=>{const{length:Re}=ne,Le=new Array(Re);let Ie=Re,xe=Re;for(let Te=0;Te<Re;Te++)R(se,()=>{const Ne=(0,H.H)(ne[Te],se);let he=!1;Ne.subscribe((0,_._)(le,Me=>{Le[Te]=Me,he||(he=!0,xe--),xe||le.next(_e(Le.slice()))},()=>{--Ie||le.complete()}))},le)},le)}}(le,se,Re?Ie=>(0,B.e)(Re,Ie):z.D));return _e?Le.pipe((0,P.I)(_e)):Le}function R(ne,se,_e){ne?(0,q.N)(_e,ne,se):se()}},66554:(st,Q,g)=>{"use strict";g.d(Q,{x:()=>P});var a=g(4398),H=g(3851),z=g(40450);function P(...C){return function h(){return(0,a.U)(1)}()((0,z.H)(C,(0,H.lI)(C)))}},80560:(st,Q,g)=>{"use strict";g.d(Q,{w:()=>h});const h=new(g(18718).c)(P=>P.complete())},80489:(st,Q,g)=>{"use strict";g.d(Q,{p:()=>_});var a=g(18718),h=g(42056),H=g(97293),z=g(3851),P=g(20223),C=g(77915),B=g(62757);function _(...q){const A=(0,z.ms)(q),{args:X,keys:R}=(0,h.D)(q),ne=new a.c(se=>{const{length:_e}=X;if(!_e)return void se.complete();const le=new Array(_e);let Re=_e,Le=_e;for(let Ie=0;Ie<_e;Ie++){let xe=!1;(0,H.Tg)(X[Ie]).subscribe((0,P._)(se,Te=>{xe||(xe=!0,Le--),le[Ie]=Te},()=>Re--,void 0,()=>{(!Re||!xe)&&(Le||se.next(R?(0,B.e)(R,le):le),se.complete())}))}});return A?ne.pipe((0,C.I)(A)):ne}},40450:(st,Q,g)=>{"use strict";g.d(Q,{H:()=>he});var a=g(97293),h=g(50728),H=g(92411);function z(Me,ct=0){return(0,H.N)((yt,Se)=>{Se.add(Me.schedule(()=>yt.subscribe(Se),ct))})}var B=g(18718),q=g(67220),A=g(13858),X=g(64686);function ne(Me,ct){if(!Me)throw new Error("Iterable cannot be null");return new B.c(yt=>{(0,X.N)(yt,ct,()=>{const Se=Me[Symbol.asyncIterator]();(0,X.N)(yt,ct,()=>{Se.next().then(ke=>{ke.done?yt.complete():yt.next(ke.value)})},0,!0)})})}var se=g(20676),_e=g(71333),le=g(1430),Re=g(73640),Le=g(77798),Ie=g(36406),xe=g(81369);function he(Me,ct){return ct?function Ne(Me,ct){if(null!=Me){if((0,se.l)(Me))return function P(Me,ct){return(0,a.Tg)(Me).pipe(z(ct),(0,h.Q)(ct))}(Me,ct);if((0,le.X)(Me))return function _(Me,ct){return new B.c(yt=>{let Se=0;return ct.schedule(function(){Se===Me.length?yt.complete():(yt.next(Me[Se++]),yt.closed||this.schedule())})})}(Me,ct);if((0,_e.y)(Me))return function C(Me,ct){return(0,a.Tg)(Me).pipe(z(ct),(0,h.Q)(ct))}(Me,ct);if((0,Le.T)(Me))return ne(Me,ct);if((0,Re.x)(Me))return function R(Me,ct){return new B.c(yt=>{let Se;return(0,X.N)(yt,ct,()=>{Se=Me[q.l](),(0,X.N)(yt,ct,()=>{let ke,Ze;try{({value:ke,done:Ze}=Se.next())}catch(Ve){return void yt.error(Ve)}Ze?yt.complete():yt.next(ke)},0,!0)}),()=>(0,A.T)(Se?.return)&&Se.return()})}(Me,ct);if((0,xe.U)(Me))return function Te(Me,ct){return ne((0,xe.C)(Me),ct)}(Me,ct)}throw(0,Ie.L)(Me)}(Me,ct):(0,a.Tg)(Me)}},23329:(st,Q,g)=>{"use strict";g.d(Q,{R:()=>A});var a=g(97293),h=g(18718),H=g(43614),z=g(1430),P=g(13858),C=g(77915);const B=["addListener","removeListener"],_=["addEventListener","removeEventListener"],q=["on","off"];function A(_e,le,Re,Le){if((0,P.T)(Re)&&(Le=Re,Re=void 0),Le)return A(_e,le,Re).pipe((0,C.I)(Le));const[Ie,xe]=function se(_e){return(0,P.T)(_e.addEventListener)&&(0,P.T)(_e.removeEventListener)}(_e)?_.map(Te=>Ne=>_e[Te](le,Ne,Re)):function R(_e){return(0,P.T)(_e.addListener)&&(0,P.T)(_e.removeListener)}(_e)?B.map(X(_e,le)):function ne(_e){return(0,P.T)(_e.on)&&(0,P.T)(_e.off)}(_e)?q.map(X(_e,le)):[];if(!Ie&&(0,z.X)(_e))return(0,H.Z)(Te=>A(Te,le,Re))((0,a.Tg)(_e));if(!Ie)throw new TypeError("Invalid event target");return new h.c(Te=>{const Ne=(...he)=>Te.next(1<he.length?he:he[0]);return Ie(Ne),()=>xe(Ne)})}function X(_e,le){return Re=>Le=>_e[Re](le,Le)}},97293:(st,Q,g)=>{"use strict";g.d(Q,{Tg:()=>ne});var a=g(50694),h=g(1430),H=g(71333),z=g(18718),P=g(20676),C=g(77798),B=g(36406),_=g(73640),q=g(81369),A=g(13858),X=g(20299),R=g(5527);function ne(Te){if(Te instanceof z.c)return Te;if(null!=Te){if((0,P.l)(Te))return function se(Te){return new z.c(Ne=>{const he=Te[R.s]();if((0,A.T)(he.subscribe))return he.subscribe(Ne);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(Te);if((0,h.X)(Te))return function _e(Te){return new z.c(Ne=>{for(let he=0;he<Te.length&&!Ne.closed;he++)Ne.next(Te[he]);Ne.complete()})}(Te);if((0,H.y)(Te))return function le(Te){return new z.c(Ne=>{Te.then(he=>{Ne.closed||(Ne.next(he),Ne.complete())},he=>Ne.error(he)).then(null,X.m)})}(Te);if((0,C.T)(Te))return Le(Te);if((0,_.x)(Te))return function Re(Te){return new z.c(Ne=>{for(const he of Te)if(Ne.next(he),Ne.closed)return;Ne.complete()})}(Te);if((0,q.U)(Te))return function Ie(Te){return Le((0,q.C)(Te))}(Te)}throw(0,B.L)(Te)}function Le(Te){return new z.c(Ne=>{(function xe(Te,Ne){var he,Me,ct,yt;return(0,a.sH)(this,void 0,void 0,function*(){try{for(he=(0,a.xN)(Te);!(Me=yield he.next()).done;)if(Ne.next(Me.value),Ne.closed)return}catch(Se){ct={error:Se}}finally{try{Me&&!Me.done&&(yt=he.return)&&(yield yt.call(he))}finally{if(ct)throw ct.error}}Ne.complete()})})(Te,Ne).catch(he=>Ne.error(he))})}},60825:(st,Q,g)=>{"use strict";g.d(Q,{h:()=>C});var a=g(4398),h=g(97293),H=g(80560),z=g(3851),P=g(40450);function C(...B){const _=(0,z.lI)(B),q=(0,z.R0)(B,1/0),A=B;return A.length?1===A.length?(0,h.Tg)(A[0]):(0,a.U)(q)((0,P.H)(A,_)):H.w}},17796:(st,Q,g)=>{"use strict";g.d(Q,{of:()=>H});var a=g(3851),h=g(40450);function H(...z){const P=(0,a.lI)(z);return(0,h.H)(z,P)}},15463:(st,Q,g)=>{"use strict";g.d(Q,{$:()=>H});var a=g(18718),h=g(13858);function H(z,P){const C=(0,h.T)(z)?z:()=>z,B=_=>_.error(C());return new a.c(P?_=>P.schedule(B,0,_):B)}},84932:(st,Q,g)=>{"use strict";g.d(Q,{O:()=>P});var a=g(18718),h=g(11521),H=g(69997),z=g(42746);function P(C=0,B,_=h.b){let q=-1;return null!=B&&((0,H.m)(B)?_=B:q=B),new a.c(A=>{let X=(0,z.v)(C)?+C-_.now():C;X<0&&(X=0);let R=0;return _.schedule(function(){A.closed||(A.next(R++),0<=q?this.schedule(void 0,q):A.complete())},X)})}},20223:(st,Q,g)=>{"use strict";g.d(Q,{H:()=>H,_:()=>h});var a=g(28958);function h(z,P,C,B,_){return new H(z,P,C,B,_)}class H extends a.vU{constructor(P,C,B,_,q,A){super(P),this.onFinalize=q,this.shouldUnsubscribe=A,this._next=C?function(X){try{C(X)}catch(R){P.error(R)}}:super._next,this._error=_?function(X){try{_(X)}catch(R){P.error(R)}finally{this.unsubscribe()}}:super._error,this._complete=B?function(){try{B()}catch(X){P.error(X)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var P;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:C}=this;super.unsubscribe(),!C&&(null===(P=this.onFinalize)||void 0===P||P.call(this))}}}},60494:(st,Q,g)=>{"use strict";g.d(Q,{W:()=>z});var a=g(97293),h=g(20223),H=g(92411);function z(P){return(0,H.N)((C,B)=>{let A,_=null,q=!1;_=C.subscribe((0,h._)(B,void 0,void 0,X=>{A=(0,a.Tg)(P(X,z(P)(C))),_?(_.unsubscribe(),_=null,A.subscribe(B)):q=!0})),q&&(_.unsubscribe(),_=null,A.subscribe(B))})}},19847:(st,Q,g)=>{"use strict";g.d(Q,{H:()=>H});var a=g(43614),h=g(13858);function H(z,P){return(0,h.T)(P)?(0,a.Z)(z,P,1):(0,a.Z)(z,1)}},47943:(st,Q,g)=>{"use strict";g.d(Q,{B:()=>z});var a=g(11521),h=g(92411),H=g(20223);function z(P,C=a.E){return(0,h.N)((B,_)=>{let q=null,A=null,X=null;const R=()=>
3{if(q){q.unsubscribe(),q=null;const se=A;A=null,_.next(se)}};function ne(){const se=X+P,_e=C.now();if(_e<se)return q=this.schedule(void 0,se-_e),void _.add(q);R()}B.subscribe((0,H._)(_,se=>{A=se,X=C.now(),q||(q=C.schedule(ne,P),_.add(q))},()=>{R(),_.complete()},void 0,()=>{A=q=null}))})}},42562:(st,Q,g)=>{"use strict";g.d(Q,{U:()=>H});var a=g(92411),h=g(20223);function H(z){return(0,a.N)((P,C)=>{let B=!1;P.subscribe((0,h._)(C,_=>{B=!0,C.next(_)},()=>{B||C.next(z),C.complete()}))})}},50106:(st,Q,g)=>{"use strict";g.d(Q,{c:()=>z});var a=g(11521),h=g(92134),H=g(84932);function z(P,C=a.E){const B=(0,H.O)(P,C);return(0,h.o)(()=>B)}},92134:(st,Q,g)=>{"use strict";g.d(Q,{o:()=>B});var a=g(66554),h=g(78374),H=g(98130),z=g(24458),P=g(43614),C=g(97293);function B(_,q){return q?A=>(0,a.x)(q.pipe((0,h.s)(1),(0,H.w)()),A.pipe(B(_))):(0,P.Z)((A,X)=>(0,C.Tg)(_(A,X)).pipe((0,h.s)(1),(0,z.u)(A)))}},64785:(st,Q,g)=>{"use strict";g.d(Q,{F:()=>z});var a=g(34968),h=g(92411),H=g(20223);function z(C,B=a.D){return C=C??P,(0,h.N)((_,q)=>{let A,X=!0;_.subscribe((0,H._)(q,R=>{const ne=B(R);(X||!C(A,ne))&&(X=!1,A=ne,q.next(R))}))})}function P(C,B){return C===B}},26377:(st,Q,g)=>{"use strict";g.d(Q,{p:()=>P});var a=g(6663),h=g(97293),H=g(92411),z=g(20223);function P(C,B){return B?_=>_.pipe(P((q,A)=>(0,h.Tg)(C(q,A)).pipe((0,a.T)((X,R)=>B(q,X,A,R))))):(0,H.N)((_,q)=>{let A=0,X=null,R=!1;_.subscribe((0,z._)(q,ne=>{X||(X=(0,z._)(q,void 0,()=>{X=null,R&&q.complete()}),(0,h.Tg)(C(ne,A++)).subscribe(X))},()=>{R=!0,!X&&q.complete()}))})}},85687:(st,Q,g)=>{"use strict";g.d(Q,{p:()=>H});var a=g(92411),h=g(20223);function H(z,P){return(0,a.N)((C,B)=>{let _=0;C.subscribe((0,h._)(B,q=>z.call(P,q,_++)&&B.next(q)))})}},56731:(st,Q,g)=>{"use strict";g.d(Q,{j:()=>h});var a=g(92411);function h(H){return(0,a.N)((z,P)=>{try{z.subscribe(P)}finally{P.add(H)}})}},46891:(st,Q,g)=>{"use strict";g.d(Q,{$:()=>B});var a=g(55039),h=g(85687),H=g(78374),z=g(42562),P=g(38461),C=g(34968);function B(_,q){const A=arguments.length>=2;return X=>X.pipe(_?(0,h.p)((R,ne)=>_(R,ne,X)):C.D,(0,H.s)(1),A?(0,z.U)(q):(0,P.v)(()=>new a.G))}},98130:(st,Q,g)=>{"use strict";g.d(Q,{w:()=>z});var a=g(92411),h=g(20223),H=g(29270);function z(){return(0,a.N)((P,C)=>{P.subscribe((0,h._)(C,H.l))})}},6663:(st,Q,g)=>{"use strict";g.d(Q,{T:()=>H});var a=g(92411),h=g(20223);function H(z,P){return(0,a.N)((C,B)=>{let _=0;C.subscribe((0,h._)(B,q=>{B.next(z.call(P,q,_++))}))})}},24458:(st,Q,g)=>{"use strict";g.d(Q,{u:()=>h});var a=g(6663);function h(H){return(0,a.T)(()=>H)}},4398:(st,Q,g)=>{"use strict";g.d(Q,{U:()=>H});var a=g(43614),h=g(34968);function H(z=1/0){return(0,a.Z)(h.D,z)}},43614:(st,Q,g)=>{"use strict";g.d(Q,{Z:()=>_});var a=g(6663),h=g(97293),H=g(92411),z=g(64686),P=g(20223),B=g(13858);function _(q,A,X=1/0){return(0,B.T)(A)?_((R,ne)=>(0,a.T)((se,_e)=>A(R,se,ne,_e))((0,h.Tg)(q(R,ne))),X):("number"==typeof A&&(X=A),(0,H.N)((R,ne)=>function C(q,A,X,R,ne,se,_e,le){const Re=[];let Le=0,Ie=0,xe=!1;const Te=()=>{xe&&!Re.length&&!Le&&A.complete()},Ne=Me=>Le<R?he(Me):Re.push(Me),he=Me=>{se&&A.next(Me),Le++;let ct=!1;(0,h.Tg)(X(Me,Ie++)).subscribe((0,P._)(A,yt=>{ne?.(yt),se?Ne(yt):A.next(yt)},()=>{ct=!0},void 0,()=>{if(ct)try{for(Le--;Re.length&&Le<R;){const yt=Re.shift();_e?(0,z.N)(A,_e,()=>he(yt)):he(yt)}Te()}catch(yt){A.error(yt)}}))};return q.subscribe((0,P._)(A,Ne,()=>{xe=!0,Te()})),()=>{le?.()}}(R,ne,q,X)))}},50728:(st,Q,g)=>{"use strict";g.d(Q,{Q:()=>z});var a=g(64686),h=g(92411),H=g(20223);function z(P,C=0){return(0,h.N)((B,_)=>{B.subscribe((0,H._)(_,q=>(0,a.N)(_,P,()=>_.next(q),C),()=>(0,a.N)(_,P,()=>_.complete(),C),q=>(0,a.N)(_,P,()=>_.error(q),C)))})}},89800:(st,Q,g)=>{"use strict";g.d(Q,{S:()=>H});var a=g(92411),h=g(19688);function H(z,P){return(0,a.N)((0,h.S)(z,P,arguments.length>=2,!0))}},19688:(st,Q,g)=>{"use strict";g.d(Q,{S:()=>h});var a=g(20223);function h(H,z,P,C,B){return(_,q)=>{let A=P,X=z,R=0;_.subscribe((0,a._)(q,ne=>{const se=R++;X=A?H(X,ne,se):(A=!0,ne),C&&q.next(X)},B&&(()=>{A&&q.next(X),q.complete()})))}}},87750:(st,Q,g)=>{"use strict";g.d(Q,{u:()=>P});var a=g(97293),h=g(77392),H=g(28958),z=g(92411);function P(B={}){const{connector:_=()=>new h.B,resetOnError:q=!0,resetOnComplete:A=!0,resetOnRefCountZero:X=!0}=B;return R=>{let ne,se,_e,le=0,Re=!1,Le=!1;const Ie=()=>{se?.unsubscribe(),se=void 0},xe=()=>{Ie(),ne=_e=void 0,Re=Le=!1},Te=()=>{const Ne=ne;xe(),Ne?.unsubscribe()};return(0,z.N)((Ne,he)=>{le++,!Le&&!Re&&Ie();const Me=_e=_e??_();he.add(()=>{le--,0===le&&!Le&&!Re&&(se=C(Te,X))}),Me.subscribe(he),!ne&&le>0&&(ne=new H.Ms({next:ct=>Me.next(ct),error:ct=>{Le=!0,Ie(),se=C(xe,q,ct),Me.error(ct)},complete:()=>
3{Re=!0,Ie(),se=C(xe,A),Me.complete()}}),(0,a.Tg)(Ne).subscribe(ne))})(R)}}function C(B,_,...q){if(!0===_)return void B();if(!1===_)return;const A=new H.Ms({next:()=>{A.unsubscribe(),B()}});return(0,a.Tg)(_(...q)).subscribe(A)}},66853:(st,Q,g)=>{"use strict";g.d(Q,{t:()=>H});var a=g(58530),h=g(87750);function H(z,P,C){let B,_=!1;return z&&"object"==typeof z?({bufferSize:B=1/0,windowTime:P=1/0,refCount:_=!1,scheduler:C}=z):B=z??1/0,(0,h.u)({connector:()=>new a.m(B,P,C),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:_})}},28950:(st,Q,g)=>{"use strict";g.d(Q,{i:()=>h});var a=g(85687);function h(H){return(0,a.p)((z,P)=>H<=P)}},62997:(st,Q,g)=>{"use strict";g.d(Q,{Z:()=>z});var a=g(66554),h=g(3851),H=g(92411);function z(...P){const C=(0,h.lI)(P);return(0,H.N)((B,_)=>{(C?(0,a.x)(P,B,C):(0,a.x)(P,B)).subscribe(_)})}},84975:(st,Q,g)=>{"use strict";g.d(Q,{n:()=>z});var a=g(97293),h=g(92411),H=g(20223);function z(P,C){return(0,h.N)((B,_)=>{let q=null,A=0,X=!1;const R=()=>X&&!q&&_.complete();B.subscribe((0,H._)(_,ne=>{q?.unsubscribe();let se=0;const _e=A++;(0,a.Tg)(P(ne,_e)).subscribe(q=(0,H._)(_,le=>_.next(C?C(ne,le,_e,se++):le),()=>{q=null,R()}))},()=>{X=!0,R()}))})}},78374:(st,Q,g)=>{"use strict";g.d(Q,{s:()=>z});var a=g(80560),h=g(92411),H=g(20223);function z(P){return P<=0?()=>a.w:(0,h.N)((C,B)=>{let _=0;C.subscribe((0,H._)(B,q=>{++_<=P&&(B.next(q),P<=_&&B.complete())}))})}},58468:(st,Q,g)=>{"use strict";g.d(Q,{Q:()=>P});var a=g(92411),h=g(20223),H=g(97293),z=g(29270);function P(C){return(0,a.N)((B,_)=>{(0,H.Tg)(C).subscribe((0,h._)(_,()=>_.complete(),z.l)),!_.closed&&B.subscribe(_)})}},21252:(st,Q,g)=>{"use strict";g.d(Q,{M:()=>P});var a=g(13858),h=g(92411),H=g(20223),z=g(34968);function P(C,B,_){const q=(0,a.T)(C)||B||_?{next:C,error:B,complete:_}:C;return q?(0,h.N)((A,X)=>{var R;null===(R=q.subscribe)||void 0===R||R.call(q);let ne=!0;A.subscribe((0,H._)(X,se=>{var _e;null===(_e=q.next)||void 0===_e||_e.call(q,se),X.next(se)},()=>{var se;ne=!1,null===(se=q.complete)||void 0===se||se.call(q),X.complete()},se=>{var _e;ne=!1,null===(_e=q.error)||void 0===_e||_e.call(q,se),X.error(se)},()=>{var se,_e;ne&&(null===(se=q.unsubscribe)||void 0===se||se.call(q)),null===(_e=q.finalize)||void 0===_e||_e.call(q)}))}):z.D}},38461:(st,Q,g)=>{"use strict";g.d(Q,{v:()=>z});var a=g(55039),h=g(92411),H=g(20223);function z(C=P){return(0,h.N)((B,_)=>{let q=!1;B.subscribe((0,H._)(_,A=>{q=!0,_.next(A)},()=>q?_.complete():_.error(C())))})}function P(){return new a.G}},7738:(st,Q,g)=>{"use strict";g.d(Q,{E:()=>B});var a=g(92411),h=g(20223),H=g(97293),z=g(34968),P=g(29270),C=g(3851);function B(..._){const q=(0,C.ms)(_);return(0,a.N)((A,X)=>{const R=_.length,ne=new Array(R);let se=_.map(()=>!1),_e=!1;for(let le=0;le<R;le++)(0,H.Tg)(_[le]).subscribe((0,h._)(X,Re=>{ne[le]=Re,!_e&&!se[le]&&(se[le]=!0,(_e=se.every(z.D))&&(se=null))},P.l));A.subscribe((0,h._)(X,le=>{if(_e){const Re=[le,...ne];X.next(q?q(...Re):Re)}}))})}},18995:(st,Q,g)=>{"use strict";g.d(Q,{R:()=>P});var a=g(59343);class h extends a.yU{constructor(B,_){super()}schedule(B,_=0){return this}}const H={setInterval(C,B,..._){const{delegate:q}=H;return q?.setInterval?q.setInterval(C,B,..._):setInterval(C,B,..._)},clearInterval(C){const{delegate:B}=H;return(B?.clearInterval||clearInterval)(C)},delegate:void 0};var z=g(54351);class P extends h{constructor(B,_){super(B,_),this.scheduler=B,this.work=_,this.pending=!1}schedule(B,_=0){var q;if(this.closed)return this;this.state=B;const A=this.id,X=this.scheduler;return null!=A&&(this.id=this.recycleAsyncId(X,A,_)),this.pending=!0,this.delay=_,this.id=null!==(q=this.id)&&void 0!==q?q:this.requestAsyncId(X,this.id,_),this}requestAsyncId(B,_,q=0){return H.setInterval(B.flush.bind(B,this),q)}recycleAsyncId(B,_,q=0){if(null!=q&&this.delay===q&&!1===this.pending)return _;null!=_&&H.clearInterval(_)}execute(B,_){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const q=this._execute(B,_);if(q)return q;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(B,_){let A,q=!1;try{this.work(B)}catch(X){q=!0,A=X||new Error("Scheduled action threw falsy error")}if(q)return this.unsubscribe(),A}
3unsubscribe(){if(!this.closed){const{id:B,scheduler:_}=this,{actions:q}=_;this.work=this.state=this.scheduler=null,this.pending=!1,(0,z.o)(q,this),null!=B&&(this.id=this.recycleAsyncId(_,B,null)),this.delay=null,super.unsubscribe()}}}},93781:(st,Q,g)=>{"use strict";g.d(Q,{q:()=>H});var a=g(41112);class h{constructor(P,C=h.now){this.schedulerActionCtor=P,this.now=C}schedule(P,C=0,B){return new this.schedulerActionCtor(this,P).schedule(B,C)}}h.now=a.U.now;class H extends h{constructor(P,C=h.now){super(P,C),this.actions=[],this._active=!1}flush(P){const{actions:C}=this;if(this._active)return void C.push(P);let B;this._active=!0;do{if(B=P.execute(P.state,P.delay))break}while(P=C.shift());if(this._active=!1,B){for(;P=C.shift();)P.unsubscribe();throw B}}}},11521:(st,Q,g)=>{"use strict";g.d(Q,{E:()=>H,b:()=>z});var a=g(18995);const H=new(g(93781).q)(a.R),z=H},41112:(st,Q,g)=>{"use strict";g.d(Q,{U:()=>a});const a={now:()=>(a.delegate||Date).now(),delegate:void 0}},42576:(st,Q,g)=>{"use strict";g.d(Q,{T:()=>P});var a=g(18995),H=g(93781);const P=new class z extends H.q{}(class h extends a.R{constructor(_,q){super(_,q),this.scheduler=_,this.work=q}schedule(_,q=0){return q>0?super.schedule(_,q):(this.delay=q,this.state=_,this.scheduler.flush(this),this)}execute(_,q){return q>0||this.closed?super.execute(_,q):this._execute(_,q)}requestAsyncId(_,q,A=0){return null!=A&&A>0||null==A&&this.delay>0?super.requestAsyncId(_,q,A):(_.flush(this),0)}})},1659:(st,Q,g)=>{"use strict";g.d(Q,{f:()=>a});const a={setTimeout(h,H,...z){const{delegate:P}=a;return P?.setTimeout?P.setTimeout(h,H,...z):setTimeout(h,H,...z)},clearTimeout(h){const{delegate:H}=a;return(H?.clearTimeout||clearTimeout)(h)},delegate:void 0}},67220:(st,Q,g)=>{"use strict";g.d(Q,{l:()=>h});const h=function a(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},5527:(st,Q,g)=>{"use strict";g.d(Q,{s:()=>a});const a="function"==typeof Symbol&&Symbol.observable||"@@observable"},55039:(st,Q,g)=>{"use strict";g.d(Q,{G:()=>h});const h=(0,g(14904).L)(H=>function(){H(this),this.name="EmptyError",this.message="no elements in sequence"})},3851:(st,Q,g)=>{"use strict";g.d(Q,{R0:()=>C,lI:()=>P,ms:()=>z});var a=g(13858),h=g(69997);function H(B){return B[B.length-1]}function z(B){return(0,a.T)(H(B))?B.pop():void 0}function P(B){return(0,h.m)(H(B))?B.pop():void 0}function C(B,_){return"number"==typeof H(B)?B.pop():_}},42056:(st,Q,g)=>{"use strict";g.d(Q,{D:()=>P});const{isArray:a}=Array,{getPrototypeOf:h,prototype:H,keys:z}=Object;function P(B){if(1===B.length){const _=B[0];if(a(_))return{args:_,keys:null};if(function C(B){return B&&"object"==typeof B&&h(B)===H}(_)){const q=z(_);return{args:q.map(A=>_[A]),keys:q}}}return{args:B,keys:null}}},54351:(st,Q,g)=>{"use strict";function a(h,H){if(h){const z=h.indexOf(H);0<=z&&h.splice(z,1)}}g.d(Q,{o:()=>a})},14904:(st,Q,g)=>{"use strict";function a(h){const z=h(P=>{Error.call(P),P.stack=(new Error).stack});return z.prototype=Object.create(Error.prototype),z.prototype.constructor=z,z}g.d(Q,{L:()=>a})},62757:(st,Q,g)=>{"use strict";function a(h,H){return h.reduce((z,P,C)=>(z[P]=H[C],z),{})}g.d(Q,{e:()=>a})},61775:(st,Q,g)=>{"use strict";g.d(Q,{Y:()=>H,l:()=>z});var a=g(91629);let h=null;function H(P){if(a.$.useDeprecatedSynchronousErrorHandling){const C=!h;if(C&&(h={errorThrown:!1,error:null}),P(),C){const{errorThrown:B,error:_}=h;if(h=null,B)throw _}}else P()}function z(P){a.$.useDeprecatedSynchronousErrorHandling&&h&&(h.errorThrown=!0,h.error=P)}},64686:(st,Q,g)=>{"use strict";function a(h,H,z,P=0,C=!1){const B=H.schedule(function(){z(),C?h.add(this.schedule(null,P)):this.unsubscribe()},P);if(h.add(B),!C)return B}g.d(Q,{N:()=>a})},34968:(st,Q,g)=>{"use strict";function a(h){return h}g.d(Q,{D:()=>a})},1430:(st,Q,g)=>{"use strict";g.d(Q,{X:()=>a});const a=h=>h&&"number"==typeof h.length&&"function"!=typeof h},77798:(st,Q,g)=>{"use strict";g.d(Q,{T:()=>h});var a=g(13858);function h(H){return Symbol.asyncIterator&&(0,a.T)(H?.[Symbol.asyncIterator])}},42746:(st,Q,g)=>{"use strict";function a(h){return h instanceof Date&&!isNaN(h)}g.d(Q,{v:()=>a})},13858:(st,Q,g)=>{"use strict";function a(h){return"function"==typeof h}g.d(Q,{T:()=>a})},20676:(st,Q,g)=>{"use strict";g.d(Q,{l:()=>H});var a=g(5527),h=g(13858);function H(z){return(0,h.T)(z[a.s])}},73640:(st,Q,g)=>{"use strict";g.d(Q,{x:()=>H});var a=g(67220),h=g(13858);function H(z){return(0,h.T)(z?.[a.l])}},71333:(st,Q,g)=>{"use strict";g.d(Q,{y:()=>h});var a=g(13858);function h(H){return(0,a.T)(H?.then)}},81369:(st,Q,g)=>{"use strict";g.d(Q,{C:()=>H,U:()=>z});var a=g(50694),h=g(13858);function H(P){return(0,a.AQ)(this,arguments,function*(){const B=P.getReader();try{for(;;){const{value:_,done:q}=yield(0,a.N3)(B.read());if(q)return yield(0,a.N3)(void 0);yield yield(0,a.N3)(_)}}finally{B.releaseLock()}})}function z(P){return(0,h.T)(P?.getReader)}},69997:(st,Q,g)=>{"use strict";g.d(Q,{m:()=>h});var a=g(13858);function h(H){return H&&(0,a.T)(H.schedule)}},92411:(st,Q,g)=>{"use strict";g.d(Q,{N:()=>H,S:()=>h});var a=g(13858);function h(z){return(0,a.T)(z?.lift)}function H(z){return P=>{if(h(P))return P.lift(function(C){try{return z(C,this)}catch(B){this.error(B)}});throw new TypeError("Unable to lift unknown Observable type")}}}
3,77915:(st,Q,g)=>{"use strict";g.d(Q,{I:()=>z});var a=g(6663);const{isArray:h}=Array;function z(P){return(0,a.T)(C=>function H(P,C){return h(C)?P(...C):P(C)}(P,C))}},29270:(st,Q,g)=>{"use strict";function a(){}g.d(Q,{l:()=>a})},84362:(st,Q,g)=>{"use strict";g.d(Q,{F:()=>h,m:()=>H});var a=g(34968);function h(...z){return H(z)}function H(z){return 0===z.length?a.D:1===z.length?z[0]:function(C){return z.reduce((B,_)=>_(B),C)}}},20299:(st,Q,g)=>{"use strict";g.d(Q,{m:()=>H});var a=g(91629),h=g(1659);function H(z){h.f.setTimeout(()=>{const{onUnhandledError:P}=a.$;if(!P)throw z;P(z)})}},36406:(st,Q,g)=>{"use strict";function a(h){return new TypeError(`You provided ${null!==h&&"object"==typeof h?"an invalid object":`'${h}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}g.d(Q,{L:()=>a})},49182:function(st){st.exports=function(Q){function g(h){if(a[h])return a[h].exports;var H=a[h]={exports:{},id:h,loaded:!1};return Q[h].call(H.exports,H,H.exports,g),H.loaded=!0,H.exports}var a={};return g.m=Q,g.c=a,g.p="",g(0)}([function(Q,g,a){"use strict";function h(C){return C&&C.__esModule?C:{default:C}}Object.defineProperty(g,"__esModule",{value:!0});var H=a(3);Object.defineProperty(g,"conformToMask",{enumerable:!0,get:function(){return h(H).default}});var z=a(2);Object.defineProperty(g,"adjustCaretPosition",{enumerable:!0,get:function(){return h(z).default}});var P=a(5);Object.defineProperty(g,"createTextMaskInputElement",{enumerable:!0,get:function(){return h(P).default}})},function(Q,g){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.placeholderChar="_",g.strFunction="function"},function(Q,g){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.default=function a(z){var P=z.previousConformedValue,C=void 0===P?H:P,B=z.previousPlaceholder,_=void 0===B?H:B,q=z.currentCaretPosition,A=void 0===q?0:q,X=z.conformedValue,R=z.rawValue,ne=z.placeholderChar,se=z.placeholder,_e=z.indexesOfPipedChars,le=void 0===_e?h:_e,Re=z.caretTrapIndexes,Le=void 0===Re?h:Re;if(0===A||!R.length)return 0;var xe=C.length,Te=se.length,Ne=X.length,he=R.length-xe,Me=he>0;if(he>1&&!Me&&0!==xe)return A;var ke=0,Ze=void 0,Ve=void 0;if(!Me||C!==X&&X!==se){var Be=X.toLowerCase(),He=R.toLowerCase().substr(0,A).split(H).filter(function(Gt){return-1!==Be.indexOf(Gt)});Ve=He[He.length-1];var bt=_.substr(0,He.length).split(H).filter(function(Gt){return Gt!==ne}).length,Yt=se.substr(0,He.length).split(H).filter(function(Gt){return Gt!==ne}).length;!Me&&(Yt!==bt||void 0!==_[He.length-1]&&void 0!==se[He.length-2]&&_[He.length-1]!==ne&&_[He.length-1]!==se[He.length-1]&&_[He.length-1]===se[He.length-2])&&bt>0&&se.indexOf(Ve)>-1&&void 0!==R[A]&&(Ze=!0,Ve=R[A]);for(var $e=le.map(function(Gt){return Be[Gt]}).filter(function(Gt){return Gt===Ve}).length,rt=He.filter(function(Gt){return Gt===Ve}).length,nt=se.substr(0,se.indexOf(ne)).split(H).filter(function(Gt,Wt){return Gt===Ve&&R[Wt]!==Gt}).length+rt+$e+(Ze?1:0),_t=0,on=0;on<Ne&&(ke=on+1,Be[on]===Ve&&_t++,!(_t>=nt));on++);}else ke=A-he;if(Me){for(var _n=ke,hn=ke;hn<=Te;hn++)if(se[hn]===ne&&(_n=hn),se[hn]===ne||-1!==Le.indexOf(hn)||hn===Te)return _n}else if(Ze){for(var en=ke-1;en>=0;en--)if(X[en]===Ve||-1!==Le.indexOf(en)||0===en)return en}else for(var Ot=ke;Ot>=0;Ot--)if(se[Ot-1]===ne||-1!==Le.indexOf(Ot)||0===Ot)return Ot};var h=[],H=""},function(Q,g,a){"use strict";Object.defineProperty(g,"__esModule",{value:!0});var H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(_){return typeof _}:function(_){return _&&"function"==typeof Symbol&&_.constructor===Symbol&&_!==Symbol.prototype?"symbol":typeof _};g.default=function h(){var _=arguments.length>0&&void 0!==arguments[0]?arguments[0]:B,q=arguments.length>1&&void 0!==arguments[1]?arguments[1]:C,A=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!(0,z.isArray)(q)){if((typeof q>"u"?"undefined":H(q))!==P.strFunction)throw new Error("Text-mask:conformToMask; The mask property must be an array.");q=q(_,A),q=(0,z.processCaretTraps)(q).maskWithoutCaretTraps}var X=A.guide,R=void 0===X||X,ne=A.previousConformedValue,se=void 0===ne?B:ne,_e=A.placeholderChar,le=void 0===_e?P.placeholderChar:_e,Re=A.placeholder,Le=void 0===Re?(0,z.convertMaskToPlaceholder)(q,le):Re,xe=A.keepCharPositions,Te=!1===R&&void 0!==se,Ne=_.length,he=se.length,Me=Le.length,ct=q.length,yt=Ne-he,Se=yt>0,ke=A.currentCaretPosition+(Se?-yt:0),Ze=ke+Math.abs(yt);if(!0===xe&&!Se){for(var Ve=B,Be=ke;Be<Ze;Be++)Le[Be]===le&&(Ve+=le);_=_.slice(0,ke)+Ve+_.slice(ke,Ne)}for(var ge=_.split(B).map(function(en,Ot){return{char:en,isNew:Ot>=ke&&Ot<Ze}}),Pe=Ne-1;Pe>=0;Pe--){var He=ge[Pe].char;He!==le&&He===Le[Pe>
3=ke&&he===ct?Pe-yt:Pe]&&ge.splice(Pe,1)}var Yt=B,sn=!1;e:for(var ft=0;ft<Me;ft++){var Tt=Le[ft];if(Tt===le){if(ge.length>0)for(;ge.length>0;){var $e=ge.shift(),rt=$e.char,tt=$e.isNew;if(rt===le&&!0!==Te){Yt+=le;continue e}if(q[ft].test(rt)){if(!0===xe&&!1!==tt&&se!==B&&!1!==R&&Se){for(var nt=ge.length,_t=null,on=0;on<nt;on++){var Hn=ge[on];if(Hn.char!==le&&!1===Hn.isNew)break;if(Hn.char===le){_t=on;break}}null!==_t?(Yt+=rt,ge.splice(_t,1)):ft--}else Yt+=rt;continue e}sn=!0}!1===Te&&(Yt+=Le.substr(ft,Me));break}Yt+=Tt}if(Te&&!1===Se){for(var _n=null,hn=0;hn<Yt.length;hn++)Le[hn]===le&&(_n=hn);Yt=null!==_n?Yt.substr(0,_n+1):B}return{conformedValue:Yt,meta:{someCharsRejected:sn}}};var z=a(4),P=a(1),C=[],B=""},function(Q,g,a){"use strict";function H(X){return Array.isArray&&Array.isArray(X)||X instanceof Array}Object.defineProperty(g,"__esModule",{value:!0}),g.convertMaskToPlaceholder=function h(){var X=arguments.length>0&&void 0!==arguments[0]?arguments[0]:q,R=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_.placeholderChar;if(!H(X))throw new Error("Text-mask:convertMaskToPlaceholder; The mask property must be an array.");if(-1!==X.indexOf(R))throw new Error("Placeholder character must not be used as part of the mask. Please specify a character that is not present in your mask as your placeholder character.\n\nThe placeholder character that was received is: "+JSON.stringify(R)+"\n\nThe mask that was received is: "+JSON.stringify(X));return X.map(function(ne){return ne instanceof RegExp?R:ne}).join("")},g.isArray=H,g.isString=function z(X){return"string"==typeof X||X instanceof String},g.isNumber=function P(X){return"number"==typeof X&&void 0===X.length&&!isNaN(X)},g.isNil=function C(X){return typeof X>"u"||null===X},g.processCaretTraps=function B(X){for(var R=[],ne=void 0;-1!==(ne=X.indexOf(A));)R.push(ne),X.splice(ne,1);return{maskWithoutCaretTraps:X,indexes:R}};var _=a(1),q=[],A="[]"},function(Q,g,a){"use strict";function h(Ie){return Ie&&Ie.__esModule?Ie:{default:Ie}}Object.defineProperty(g,"__esModule",{value:!0});var C=Object.assign||function(Ie){for(var xe=1;xe<arguments.length;xe++){var Te=arguments[xe];for(var Ne in Te)Object.prototype.hasOwnProperty.call(Te,Ne)&&(Ie[Ne]=Te[Ne])}return Ie},B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(Ie){return typeof Ie}:function(Ie){return Ie&&"function"==typeof Symbol&&Ie.constructor===Symbol&&Ie!==Symbol.prototype?"symbol":typeof Ie};g.default=function H(Ie){var xe={previousConformedValue:void 0,previousPlaceholder:void 0};return{state:xe,update:function(Te){var Ne=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ie,he=Ne.inputElement,Me=Ne.mask,ct=Ne.guide,yt=Ne.pipe,Se=Ne.placeholderChar,ke=void 0===Se?ne.placeholderChar:Se,Ze=Ne.keepCharPositions,Ve=void 0!==Ze&&Ze,Be=Ne.showMask,ge=void 0!==Be&&Be;if(typeof Te>"u"&&(Te=he.value),Te!==xe.previousConformedValue){(typeof Me>"u"?"undefined":B(Me))===le&&void 0!==Me.pipe&&void 0!==Me.mask&&(yt=Me.pipe,Me=Me.mask);var Pe=void 0,He=void 0;if(Me instanceof Array&&(Pe=(0,R.convertMaskToPlaceholder)(Me,ke)),!1!==Me){var bt=function P(Ie){if((0,R.isString)(Ie))return Ie;if((0,R.isNumber)(Ie))return String(Ie);if(null==Ie)return se;throw new Error("The 'value' provided to Text Mask needs to be a string or a number. The value received was:\n\n "+JSON.stringify(Ie))}(Te),Yt=he.selectionEnd,sn=xe.previousConformedValue,ft=xe.previousPlaceholder,Tt=void 0;if((typeof Me>"u"?"undefined":B(Me))===ne.strFunction){if(!1===(He=Me(bt,{currentCaretPosition:Yt,previousConformedValue:sn,placeholderChar:ke})))return;var $e=(0,R.processCaretTraps)(He);Tt=$e.indexes,Pe=(0,R.convertMaskToPlaceholder)(He=$e.maskWithoutCaretTraps,ke)}else He=Me;var nt={previousConformedValue:sn,guide:ct,placeholderChar:ke,pipe:yt,placeholder:Pe,currentCaretPosition:Yt,keepCharPositions:Ve},on=(0,X.default)(bt,He,nt).conformedValue,Hn=(typeof yt>"u"?"undefined":B(yt))===ne.strFunction,_n={};Hn&&(!1===(_n=yt(on,C({rawValue:bt},nt)))?_n={value:sn,rejected:!0}:(0,R.isString)(_n)&&(_n={value:_n}));var hn=Hn?_n.value:on,en=(0,q.default)({previousConformedValue:sn,previousPlaceholder:ft,conformedValue:hn,placeholder:Pe,rawValue:bt,currentCaretPosition:Yt,placeholderChar:ke,indexesOfPipedChars:_n.indexesOfPipedChars,caretTrapIndexes:Tt}),Wt=hn===Pe&&0===en?ge?Pe:se:hn;xe.previousConformedValue=Wt,xe.previousPlaceholder=Pe,he.value!==Wt&&(he.value=Wt,function z(Ie,xe){document.activeElement===Ie&&(Re?Le(function(){return Ie.setSelectionRange(xe,xe,_e)},0):Ie.setSelectionRange(xe,xe,_e))}(he,en))}}}}};var q=h(a(2)),X=h(a(3)),R=a(4),ne=a(1),se="",_e="none",le="object",Re=typeof navigator<"u"&&/Android/i.test(navigator.userAgent),Le=typeof requestAnimationFrame<"u"?requestAnimationFrame:setTimeout}])},70650:(st,Q,g)=>{"use strict";function a(H,z,P,C,B,_,q){try{var A=H[_](q),X=A.value}catch(R){return void P(R)}A.done?z(X):Promise.resolve(X).then(C,B)}function h(H){return function(){var z=this,P=arguments;return new Promise(function(C,B){var _=H.apply(z,P);function q(X){a(_,C,B,q,A,"next",X)}function A(X){a(_,C,B,q,A,"throw",X)}q(void 0)})}}g.d(Q,{A:()=>h})},50694:(st,Q,g)=>{"use strict";function R(ft,Tt,$e,rt){return new($e||($e=Promise))(function(nt,_t){function on(hn){try{_n(rt.next(hn))}catch(en){_t(en)}}function Hn(hn){try{_n(rt.throw(hn))}catch(en){_t(en)}}function _n(hn){hn.done?nt(hn.value):function tt(nt){return nt instanceof $e?nt:new $e(function(_t){_t(nt)})}(hn.value).then(on,Hn)}_n((rt=rt.apply(ft,Tt||[])).next())})}function Te(ft){return this instanceof Te?(this.v=ft,this):new Te(ft)}function Ne(ft,Tt,$e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var tt,rt=$e.apply(ft,Tt||[]),nt=[];return tt=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),on("next"),on("throw"),on("return",function _t(Gt){return function(Wt){return Promise.resolve(Wt).then(Gt,en)}}),tt[Symbol.asyncIterator]=function(){return this},tt;function on(Gt,Wt){rt[Gt]&&(tt[Gt]=function(Wn){return new Promise(function(qn,Fn){nt.push([Gt,Wn,qn,Fn])>1||Hn(Gt,Wn)})},Wt&&(tt[Gt]=Wt(tt[Gt])))}function Hn(Gt,Wt){try{!function _n(Gt){Gt.value instanceof Te?Promise.resolve(Gt.value.v).then(hn,en):Ot(nt[0][2],Gt)}(rt[Gt](Wt))}catch(Wn){Ot(nt[0][3],Wn)}}function hn(Gt){Hn("next",Gt)}function en(Gt){Hn("throw",Gt)}function Ot(Gt,Wt){Gt(Wt),nt.shift(),nt.length&&Hn(nt[0][0],nt[0][1])}}function Me(ft){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var $e,Tt=ft[Symbol.asyncIterator];return Tt?Tt.call(ft):(ft=function le(ft){var Tt="function"==typeof Symbol&&Symbol.iterator,$e=Tt&&ft[Tt],rt=0;if($e)return $e.call(ft);if(ft&&"number"==typeof ft.length)return{next:function(){return ft&&rt>=ft.length&&(ft=void 0),{value:ft&&ft[rt++],done:!ft}}};throw new TypeError(Tt?"Object is not iterable.":"Symbol.iterator is not defined.")}(ft),$e={},rt("next"),rt("throw"),rt("return"),$e[Symbol.asyncIterator]=function(){return this},$e);function rt(nt){$e[nt]=ft[nt]&&function(_t){return new Promise(function(on,Hn){!function tt(nt,_t,on,Hn){Promise.resolve(Hn).then(function(_n){nt({value:_n,done:on})},_t)}(on,Hn,(_t=ft[nt](_t)).done,_t.value)})}}}g.d(Q,{AQ:()=>Ne,N3:()=>Te,sH:()=>R,xN:()=>Me}),"function"==typeof SuppressedError&&SuppressedError},40262:(st,Q,g)=>{"use strict";g.d(Q,{FX:()=>yt,If:()=>a,K2:()=>C,hZ:()=>H,i0:()=>z,iF:()=>B,kY:()=>A,kp:()=>h,sf:()=>Me,ui:()=>ct,wk:()=>_});var a=function(Se){return Se[Se.State=0]="State",Se[Se.Transition=1]="Transition",Se[Se.Sequence=2]="Sequence",Se[Se.Group=3]="Group",Se[Se.Animate=4]="Animate",Se[Se.Keyframes=5]="Keyframes",Se[Se.Style=6]="Style",Se[Se.Trigger=7]="Trigger",Se[Se.Reference=8]="Reference",Se[Se.AnimateChild=9]="AnimateChild",Se[Se.AnimateRef=10]="AnimateRef",Se[Se.Query=11]="Query",Se[Se.Stagger=12]="Stagger",Se}(a||{});const h="*";function H(Se,ke){return{type:a.Trigger,name:Se,definitions:ke,options:{}}}function z(Se,ke=null){return{type:a.Animate,styles:ke,timings:Se}}function C(Se,ke=null){return{type:a.Sequence,steps:Se,options:ke}}function B(Se){return{type:a.Style,styles:Se,offset:null}}function _(Se,ke,Ze){return{type:a.State,name:Se,styles:ke,options:Ze}}function A(Se,ke,Ze=null){return{type:a.Transition,expr:Se,animation:ke,options:Ze}}class Me{constructor(ke=0,Ze=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=ke+Ze}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ke=>ke()),this._onDoneFns=[])}onStart(ke){this._originalOnStartFns.push(ke),this._onStartFns.push(ke)}onDone(ke){this._originalOnDoneFns.push(ke),this._onDoneFns.push(ke)}onDestroy(ke){this._onDestroyFns.push(ke)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(ke=>ke()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(ke=>ke()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(ke){this._position=this.totalTime?ke*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(ke){const Ze="start"==ke?this._onStartFns:this._onDoneFns;Ze.forEach(Ve=>Ve()),Ze.length=0}}class ct{constructor(ke){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=ke;let Ze=0,Ve=0,Be=0;const ge=this.players.length;0==ge?queueMicrotask(()=>
3this._onFinish()):this.players.forEach(Pe=>{Pe.onDone(()=>{++Ze==ge&&this._onFinish()}),Pe.onDestroy(()=>{++Ve==ge&&this._onDestroy()}),Pe.onStart(()=>{++Be==ge&&this._onStart()})}),this.totalTime=this.players.reduce((Pe,He)=>Math.max(Pe,He.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ke=>ke()),this._onDoneFns=[])}init(){this.players.forEach(ke=>ke.init())}onStart(ke){this._onStartFns.push(ke)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(ke=>ke()),this._onStartFns=[])}onDone(ke){this._onDoneFns.push(ke)}onDestroy(ke){this._onDestroyFns.push(ke)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(ke=>ke.play())}pause(){this.players.forEach(ke=>ke.pause())}restart(){this.players.forEach(ke=>ke.restart())}finish(){this._onFinish(),this.players.forEach(ke=>ke.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(ke=>ke.destroy()),this._onDestroyFns.forEach(ke=>ke()),this._onDestroyFns=[])}reset(){this.players.forEach(ke=>ke.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(ke){const Ze=ke*this.totalTime;this.players.forEach(Ve=>{const Be=Ve.totalTime?Math.min(1,Ze/Ve.totalTime):1;Ve.setPosition(Be)})}getPosition(){const ke=this.players.reduce((Ze,Ve)=>null===Ze||Ve.totalTime>Ze.totalTime?Ve:Ze,null);return null!=ke?ke.getPosition():0}beforeDestroy(){this.players.forEach(ke=>{ke.beforeDestroy&&ke.beforeDestroy()})}triggerCallback(ke){const Ze="start"==ke?this._onStartFns:this._onDoneFns;Ze.forEach(Ve=>Ve()),Ze.length=0}}const yt="!"},61142:(st,Q,g)=>{"use strict";g.d(Q,{AJ:()=>dr,B3:()=>xr,EO:()=>_o,Jj:()=>Gi,MD:()=>Ro,N0:()=>oc,QT:()=>H,QX:()=>No,Sm:()=>le,Sq:()=>qe,T3:()=>Es,UE:()=>fi,VF:()=>P,Vy:()=>Or,Xr:()=>Bo,YU:()=>we,ZD:()=>z,_b:()=>ko,aZ:()=>Le,bT:()=>En,fw:()=>Re,hb:()=>se,hj:()=>q,lG:()=>Ka,oe:()=>Hr,qQ:()=>B});var a=g(58527);let h=null;function H(){return h}function z(W){h??=W}class P{}const B=new a.nKC("");let _=(()=>{class W{historyGo(ae){throw new Error("")}static{this.\u0275fac=function(Ce){return new(Ce||W)}}static{this.\u0275prov=a.jDH({token:W,factory:()=>(0,a.WQX)(A),providedIn:"platform"})}}return W})();const q=new a.nKC("");let A=(()=>{class W extends _{constructor(){super(),this._doc=(0,a.WQX)(B),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return H().getBaseHref(this._doc)}onPopState(ae){const Ce=H().getGlobalEventTarget(this._doc,"window");return Ce.addEventListener("popstate",ae,!1),()=>Ce.removeEventListener("popstate",ae)}onHashChange(ae){const Ce=H().getGlobalEventTarget(this._doc,"window");return Ce.addEventListener("hashchange",ae,!1),()=>Ce.removeEventListener("hashchange",ae)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(ae){this._location.pathname=ae}pushState(ae,Ce,lt){this._history.pushState(ae,Ce,lt)}replaceState(ae,Ce,lt){this._history.replaceState(ae,Ce,lt)}forward(){this._history.forward()}back(){this._history.back()}historyGo(ae=0){this._history.go(ae)}getState(){return this._history.state}static{this.\u0275fac=function(Ce){return new(Ce||W)}}static{this.\u0275prov=a.jDH({token:W,factory:()=>new W,providedIn:"platform"})}}return W})();function X(W,k){if(0==W.length)return k;if(0==k.length)return W;let ae=0;return W.endsWith("/")&&ae++,k.startsWith("/")&&ae++,2==ae?W+k.substring(1):1==ae?W+k:W+"/"+k}function R(W){const k=W.match(/#|\?|$/),ae=k&&k.index||W.length;return W.slice(0,ae-("/"===W[ae-1]?1:0))+W.slice(ae)}function ne(W){return W&&"?"!==W[0]?"?"+W:W}let se=(()=>{class W{historyGo(ae){throw new Error("")}static{this.\u0275fac=function(Ce){return new(Ce||W)}}static{this.\u0275prov=a.jDH({token:W,factory:()=>(0,a.WQX)(le),providedIn:"root"})}}return W})();const _e=new a.nKC("");let le=(()=>{class W extends se{constructor(ae,Ce){super(),this._platformLocation=ae,this._removeListenerFns=[],this._baseHref=Ce??this._platformLocation.getBaseHrefFromDOM()??(0,a.WQX)(B).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(ae){this._removeListenerFns.push(this._platformLocation.onPopState(ae),this._platformLocation.on
3HashChange(ae))}getBaseHref(){return this._baseHref}prepareExternalUrl(ae){return X(this._baseHref,ae)}path(ae=!1){const Ce=this._platformLocation.pathname+ne(this._platformLocation.search),lt=this._platformLocation.hash;return lt&&ae?`${Ce}${lt}`:Ce}pushState(ae,Ce,lt,an){const kn=this.prepareExternalUrl(lt+ne(an));this._platformLocation.pushState(ae,Ce,kn)}replaceState(ae,Ce,lt,an){const kn=this.prepareExternalUrl(lt+ne(an));this._platformLocation.replaceState(ae,Ce,kn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(ae=0){this._platformLocation.historyGo?.(ae)}static{this.\u0275fac=function(Ce){return new(Ce||W)(a.KVO(_),a.KVO(_e,8))}}static{this.\u0275prov=a.jDH({token:W,factory:W.\u0275fac,providedIn:"root"})}}return W})(),Re=(()=>{class W extends se{constructor(ae,Ce){super(),this._platformLocation=ae,this._baseHref="",this._removeListenerFns=[],null!=Ce&&(this._baseHref=Ce)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(ae){this._removeListenerFns.push(this._platformLocation.onPopState(ae),this._platformLocation.onHashChange(ae))}getBaseHref(){return this._baseHref}path(ae=!1){const Ce=this._platformLocation.hash??"#";return Ce.length>0?Ce.substring(1):Ce}prepareExternalUrl(ae){const Ce=X(this._baseHref,ae);return Ce.length>0?"#"+Ce:Ce}pushState(ae,Ce,lt,an){let kn=this.prepareExternalUrl(lt+ne(an));0==kn.length&&(kn=this._platformLocation.pathname),this._platformLocation.pushState(ae,Ce,kn)}replaceState(ae,Ce,lt,an){let kn=this.prepareExternalUrl(lt+ne(an));0==kn.length&&(kn=this._platformLocation.pathname),this._platformLocation.replaceState(ae,Ce,kn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(ae=0){this._platformLocation.historyGo?.(ae)}static{this.\u0275fac=function(Ce){return new(Ce||W)(a.KVO(_),a.KVO(_e,8))}}static{this.\u0275prov=a.jDH({token:W,factory:W.\u0275fac})}}return W})(),Le=(()=>{class W{constructor(ae){this._subject=new a.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=ae;const Ce=this._locationStrategy.getBaseHref();this._basePath=function Ne(W){if(new RegExp("^(https?:)?//").test(W)){const[,ae]=W.split(/\/\/[^\/]+/);return ae}return W}(R(Te(Ce))),this._locationStrategy.onPopState(lt=>{this._subject.emit({url:this.path(!0),pop:!0,state:lt.state,type:lt.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(ae=!1){return this.normalize(this._locationStrategy.path(ae))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(ae,Ce=""){return this.path()==this.normalize(ae+ne(Ce))}normalize(ae){return W.stripTrailingSlash(function xe(W,k){if(!W||!k.startsWith(W))return k;const ae=k.substring(W.length);return""===ae||["/",";","?","#"].includes(ae[0])?ae:k}(this._basePath,Te(ae)))}prepareExternalUrl(ae){return ae&&"/"!==ae[0]&&(ae="/"+ae),this._locationStrategy.prepareExternalUrl(ae)}go(ae,Ce="",lt=null){this._locationStrategy.pushState(lt,"",ae,Ce),this._notifyUrlChangeListeners(this.prepareExternalUrl(ae+ne(Ce)),lt)}replaceState(ae,Ce="",lt=null){this._locationStrategy.replaceState(lt,"",ae,Ce),this._notifyUrlChangeListeners(this.prepareExternalUrl(ae+ne(Ce)),lt)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(ae=0){this._locationStrategy.historyGo?.(ae)}onUrlChange(ae){return this._urlChangeListeners.push(ae),this._urlChangeSubscription??=this.subscribe(Ce=>{this._notifyUrlChangeListeners(Ce.url,Ce.state)}),()=>{const Ce=this._urlChangeListeners.indexOf(ae);this._urlChangeListeners.splice(Ce,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(ae="",Ce){this._urlChangeListeners.forEach(lt=>lt(ae,Ce))}subscribe(ae,Ce,lt){return this._subject.subscribe({next:ae,error:Ce,complete:lt})}static{this.normalizeQueryParams=ne}static{this.joinWithSlash=X}static{this.stripTrailingSlash=R}static{this.\u0275fac=function(Ce){return new(Ce||W)(a.KVO(se))}}static{this.\u0275prov=a.jDH({token:W,factory:()=>function Ie(){return new Le((0,a.KVO)(se))}(),providedIn:"root"})}}return W})();function Te(W){return W.replace(/\/index.html$/,"")}const he={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var Me=function(W){return W[W.Decimal=0]="Decimal",W[W.Percent=1]="Percent",W[W.Currency=2]="Currency",W[W.Scientific=3]="Scientific",W}(Me||{});const Ze={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function rt(W,k){const ae=(0,a.H5H)(W),Ce=ae[a.KH2.NumberSymbols][k];if(typeof Ce>"u"){if(k===Ze.CurrencyDecimal)return ae[a.KH2.NumberSymbols][Ze.Decimal];if(k===Ze.CurrencyGroup)return ae[a.KH2.NumberSymbols][Ze.Group]}return Ce}function tt(W,k){return(0,a.H5H)(W)[a.KH2.NumberFormats][k]}const Dr=/^(\d+)?\.((\d+)(-(\d+))?)?$/,mr=22,yr=".",ss="0",Di=";",ds=",",cr="#";function et(W,k,ae,Ce,lt,an,kn=!1){let vi="",_r=!1;if(isFinite(W)){let ns=function Ur(W){let Ce,lt,an,kn,vi,k=Math.abs(W)+"",ae=0;for((lt=k.indexOf(yr))>-1&&(k=k.replace(yr,"")),(an=k.search(/e/i))>0?(lt<0&&(lt=an),lt+=+k.slice(an+1),k=k.substring(0,an)):lt<0&&(lt=k.length),an=0;k.charAt(an)===ss;an++);if(an===(vi=k.length))Ce=[0],lt=1;else{for(vi--;k.charAt(vi)===ss;)vi--;for(lt-=an,Ce=[],kn=0;an<=vi;an++,kn++)Ce[kn]=Number(k.charAt(an))}return lt>mr&&(Ce=Ce.splice(0,mr-1),ae=lt-1,lt=1),{digits:Ce,exponent:ae,integerLen:lt}}(W);kn&&(ns=function ii(W){if(0===W.digits[0])return W;const k=W.digits.length-W.integerLen;return W.exponent?W.exponent+=2:(0===k?W.digits.push(0,0):1===k&&W.digits.push(0),W.integerLen+=2),W}(ns));let xi=k.minInt,Sr=k.minFrac,ys=k.maxFrac;if(an){const Vr=an.match(Dr);if(null===Vr)throw new Error(`${an} is not a valid digit info`);const Eo=Vr[1],ao=Vr[3],Zr=Vr[5];null!=Eo&&(xi=lr(Eo)),null!=ao&&(Sr=lr(ao)),null!=Zr?ys=lr(Zr):null!=ao&&Sr>ys&&(ys=Sr)}!function sr(W,k,ae){if(k>ae)throw new Error(`The minimum number of digits after fraction (${k}) is higher than the maximum (${ae}).`);let Ce=W.digits,lt=Ce.length-W.integerLen;const an=Math.min(Math.max(k,lt),ae);let kn=an+W.integerLen,vi=Ce[kn];if(kn>0){Ce.splice(Math.max(W.integerLen,kn));for(let Sr=kn;Sr<Ce.length;Sr++)Ce[Sr]=0}else{lt=Math.max(0,lt),W.integerLen=1,Ce.length=Math.max(1,kn=an+1),Ce[0]=0;for(let Sr=1;Sr<kn;Sr++)Ce[Sr]=0}if(vi>=5)if(kn-1<0){for(let Sr=0;Sr>kn;Sr--)Ce.unshift(0),W.integerLen++;Ce.unshift(1),W.integerLen++}else Ce[kn-1]++;for(;lt<Math.max(0,an);lt++)Ce.push(0);let _r=0!==an;const ns=k+W.integerLen,xi=Ce.reduceRight(function(Sr,ys,$i,wn){return wn[$i]=(ys+=Sr)<10?ys:ys-10,_r&&(0===wn[$i]&&$i>=ns?wn.pop():_r=!1),ys>=10?1:0},0);xi&&(Ce.unshift(xi),W.integerLen++)}(ns,Sr,ys);let $i=ns.digits,wn=ns.integerLen;const Ei=ns.exponent;let Ui=[];for(_r=$i.every(Vr=>!Vr);wn<xi;wn++)$i.unshift(0);for(;wn<0;wn++)$i.unshift(0);wn>0?Ui=$i.splice(wn,$i.length):(Ui=$i,$i=[0]);const Gs=[];for($i.length>=k.lgSize&&Gs.unshift($i.splice(-k.lgSize,$i.length).join(""));$i.length>k.gSize;)Gs.unshift($i.splice(-k.gSize,$i.length).join(""));$i.length&&Gs.unshift($i.join("")),vi=Gs.join(rt(ae,Ce)),Ui.length&&(vi+=rt(ae,lt)+Ui.join("")),Ei&&(vi+=rt(ae,Ze.Exponential)+"+"+Ei)}else vi=rt(ae,Ze.Infinity);return vi=W<0&&!_r?k.negPre+vi+k.negSuf:k.posPre+vi+k.posSuf,vi}function Wi(W,k="-"){const ae={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0}
vendor: 4,257 bytes, line 3
3,Ce=W.split(Di),lt=Ce[0],an=Ce[1],kn=-1!==lt.indexOf(yr)?lt.split(yr):[lt.substring(0,lt.lastIndexOf(ss)+1),lt.substring(lt.lastIndexOf(ss)+1)],vi=kn[0],_r=kn[1]||"";ae.posPre=vi.substring(0,vi.indexOf(cr));for(let xi=0;xi<_r.length;xi++){const Sr=_r.charAt(xi);Sr===ss?ae.minFrac=ae.maxFrac=xi+1:Sr===cr?ae.maxFrac=xi+1:ae.posSuf+=Sr}const ns=vi.split(ds);if(ae.gSize=ns[1]?ns[1].length:0,ae.lgSize=ns[2]||ns[1]?(ns[2]||ns[1]).length:0,an){const xi=lt.length-ae.posPre.length-ae.posSuf.length,Sr=an.indexOf(cr);ae.negPre=an.substring(0,Sr).replace(/'/g,""),ae.negSuf=an.slice(Sr+xi).replace(/'/g,"")}else ae.negPre=k+ae.posPre,ae.negSuf=ae.posSuf;return ae}function lr(W){const k=parseInt(W);if(isNaN(k))throw new Error("Invalid integer literal when parsing "+W);return k}function _o(W,k,ae){return(0,a.XSP)(W,k,ae)}function ko(W,k){k=encodeURIComponent(k);for(const ae of W.split(";")){const Ce=ae.indexOf("="),[lt,an]=-1==Ce?[ae,""]:[ae.slice(0,Ce),ae.slice(Ce+1)];if(lt.trim()===k)return decodeURIComponent(an)}return null}const We=/\s+/,be=[];let we=(()=>{class W{constructor(ae,Ce){this._ngEl=ae,this._renderer=Ce,this.initialClasses=be,this.stateMap=new Map}set klass(ae){this.initialClasses=null!=ae?ae.trim().split(We):be}set ngClass(ae){this.rawClass="string"==typeof ae?ae.trim().split(We):ae}ngDoCheck(){for(const Ce of this.initialClasses)this._updateState(Ce,!0);const ae=this.rawClass;if(Array.isArray(ae)||ae instanceof Set)for(const Ce of ae)this._updateState(Ce,!0);else if(null!=ae)for(const Ce of Object.keys(ae))this._updateState(Ce,!!ae[Ce]);this._applyStateDiff()}_updateState(ae,Ce){const lt=this.stateMap.get(ae);void 0!==lt?(lt.enabled!==Ce&&(lt.changed=!0,lt.enabled=Ce),lt.touched=!0):this.stateMap.set(ae,{enabled:Ce,changed:!0,touched:!0})}_applyStateDiff(){for(const ae of this.stateMap){const Ce=ae[0],lt=ae[1];lt.changed?(this._toggleClass(Ce,lt.enabled),lt.changed=!1):lt.touched||(lt.enabled&&this._toggleClass(Ce,!1),this.stateMap.delete(Ce)),lt.touched=!1}}_toggleClass(ae,Ce){(ae=ae.trim()).length>0&&ae.split(We).forEach(lt=>{Ce?this._renderer.addClass(this._ngEl.nativeElement,lt):this._renderer.removeClass(this._ngEl.nativeElement,lt)})}static{this.\u0275fac=function(Ce){return new(Ce||W)(a.rXU(a.aKT),a.rXU(a.sFG))}}static{this.\u0275dir=a.FsC({type:W,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}}return W})();class Xe{constructor(k,ae,Ce,lt){this.$implicit=k,this.ngForOf=ae,this.index=Ce,this.count=lt}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let qe=(()=>{class W{set ngForOf(ae){this._ngForOf=ae,this._ngForOfDirty=!0}set ngForTrackBy(ae){this._trackByFn=ae}get ngForTrackBy(){return this._trackByFn}constructor(ae,Ce,lt){this._viewContainer=ae,this._template=Ce,this._differs=lt,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(ae){ae&&(this._template=ae)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const ae=this._ngForOf;!this._differ&&ae&&(this._differ=this._differs.find(ae).create(this.ngForTrackBy))}if(this._differ){const ae=this._differ.diff(this._ngForOf);ae&&this._applyChanges(ae)}}_applyChanges(ae){const Ce=this._viewContainer;ae.forEachOperation((lt,an,kn)=>{if(null==lt.previousIndex)Ce.createEmbeddedView(this._template,new Xe(lt.item,this._ngForOf,-1,-1),null===kn?void 0:kn);else if(null==kn)Ce.remove(null===an?void 0:an);else if(null!==an){const vi=Ce.get(an);Ce.move(vi,kn),kt(vi,lt)}});for(let lt=0,an=Ce.length;lt<an;lt++){const vi=Ce.get(lt).context;vi.index=lt,vi.count=an,vi.ngForOf=this._ngForOf}ae.forEachIdentityChange(lt=>{kt(Ce.get(lt.currentIndex),lt)})}static ngTemplateContextGuard(ae,Ce){return!0}static{this.\u0275fac=function(Ce){return new(Ce||W)(a.rXU(a.c1b),a.rXU(a.C4Q),a.rXU(a._q3))}}static{this.\u0275dir=a.FsC({type:W,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}}return W})();function kt(W,k){W.context.$implicit=k.item}let En=(()=>{class W{constructor(ae,Ce){this._viewContainer=ae,this._context=new Bn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenView
3Ref=null,this._elseViewRef=null,this._thenTemplateRef=Ce}set ngIf(ae){this._context.$implicit=this._context.ngIf=ae,this._updateView()}set ngIfThen(ae){Ci("ngIfThen",ae),this._thenTemplateRef=ae,this._thenViewRef=null,this._updateView()}set ngIfElse(ae){Ci("ngIfElse",ae),this._elseTemplateRef=ae,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(ae,Ce){return!0}static{this.\u0275fac=function(Ce){return new(Ce||W)(a.rXU(a.c1b),a.rXU(a.C4Q))}}static{this.\u0275dir=a.FsC({type:W,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return W})();class Bn{constructor(){this.$implicit=null,this.ngIf=null}}function Ci(W,k){if(k&&!k.createEmbeddedView)throw new Error(`${W} must be a TemplateRef, but received '${(0,a.Tbb)(k)}'.`)}let xr=(()=>{class W{constructor(ae,Ce,lt){this._ngEl=ae,this._differs=Ce,this._renderer=lt,this._ngStyle=null,this._differ=null}set ngStyle(ae){this._ngStyle=ae,!this._differ&&ae&&(this._differ=this._differs.find(ae).create())}ngDoCheck(){if(this._differ){const ae=this._differ.diff(this._ngStyle);ae&&this._applyChanges(ae)}}_setStyle(ae,Ce){const[lt,an]=ae.split("."),kn=-1===lt.indexOf("-")?void 0:a.czy.DashCase;null!=Ce?this._renderer.setStyle(this._ngEl.nativeElement,lt,an?`${Ce}${an}`:Ce,kn):this._renderer.removeStyle(this._ngEl.nativeElement,lt,kn)}_applyChanges(ae){ae.forEachRemovedItem(Ce=>this._setStyle(Ce.key,null)),ae.forEachAddedItem(Ce=>this._setStyle(Ce.key,Ce.currentValue)),ae.forEachChangedItem(Ce=>this._setStyle(Ce.key,Ce.currentValue))}static{this.\u0275fac=function(Ce){return new(Ce||W)(a.rXU(a.aKT),a.rXU(a.MKu),a.rXU(a.sFG))}}static{this.\u0275dir=a.FsC({type:W,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}}return W})(),Es=(()=>{class W{constructor(ae){this._viewContainerRef=ae,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(ae){if(this._shouldRecreateView(ae)){const Ce=this._viewContainerRef;if(this._viewRef&&Ce.remove(Ce.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const lt=this._createContextForwardProxy();this._viewRef=Ce.createEmbeddedView(this.ngTemplateOutlet,lt,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(ae){return!!ae.ngTemplateOutlet||!!ae.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(ae,Ce,lt)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,Ce,lt),get:(ae,Ce,lt)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,Ce,lt)}})}static{this.\u0275fac=function(Ce){return new(Ce||W)(a.rXU(a.c1b))}}static{this.\u0275dir=a.FsC({type:W,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[a.OA$]})}}return W})();function Nt(W,k){return new a.wOt(2100,!1)}class Bt{createSubscription(k,ae){return(0,a.O8t)(()=>k.subscribe({next:ae,error:Ce=>{throw Ce}}))}dispose(k){(0,a.O8t)(()=>k.unsubscribe())}}class Kt{createSubscription(k,ae){return k.then(ae,Ce=>{throw Ce})}dispose(k){}}const Gn=new Kt,Jn=new Bt;let Gi=(()=>{class W{constructor(ae){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=ae}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(ae){if(!this._obj){if(ae)try{this.markForCheckOnValueUpdate=!1,this._subscribe(ae)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return ae!==this._obj?(this._dispose(),this.transform(ae)):this._latestValue}_subscribe(ae){this._obj=ae,this._strategy=this._selectStrategy(ae),this._subscription=this._strategy.createSubscription(ae,Ce=>this._updateLatestValue(ae,Ce))}_selectStrategy(ae){if((0,a.jNT)(ae))return Gn;if((0,a.zjR)(ae))return Jn;throw Nt()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(ae,Ce){ae===this._obj&&(this._latestValue=Ce,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static{this.\u0275fac=function(Ce){return new(Ce||W)(a.rXU(a.gRc,16))}}static{this.\u0275pipe=a.EJ8({name:"async",type:W,pure:!1,standalone:!0})}}return W})(),Ka=(()=>{class W{constructor(ae){this.differs=ae,this.keyValues=[],this.compareFn=Sa}transform(ae,Ce=Sa){if(!ae||!(ae instanceof Map)&&"object"!=typeof ae)return null;this.differ??=this.differs.find(ae).create();const lt=this.differ.diff(ae),an=Ce!==this.compareFn;return lt&&(this.keyValues=[],lt.forEachItem(kn=>{this.keyValues.push(function Dc(W,k){return{key:W,value:k}}(kn.key,kn.currentValue))})),(lt||an)&&(this.keyValues.sort(Ce),this.compareFn=Ce),this.keyValues}static{this.\u0275fac=function(Ce){return new(Ce||W)(a.rXU(a.MKu,16))}}static{this.\u0275pipe=a.EJ8({name:"keyvalue",type:W,pure:!1,standalone:!0})}}return W})();function Sa(W,k){const ae=W.key,Ce=k.key;if(ae===Ce)return 0;if(void 0===ae)return 1;if(void 0===Ce)return-1;if(null===ae)return 1;if(null===Ce)return-1;if("string"==typeof ae&&"string"==typeof Ce)return ae<Ce?-1:1;if("number"==typeof ae&&"number"==typeof Ce)return ae-Ce;if("boolean"==typeof ae&&"boolean"==typeof Ce)return ae<Ce?-1:1;const lt=String(ae),an=String(Ce);return lt==an?0:lt<an?-1:1}let No=(()=>{class W{constructor(ae){this._locale=ae}transform(ae,Ce,lt){if(!Ra(ae))return null;lt||=this._locale;try{return function Yn(W,k,ae){return et(W,Wi(tt(k,Me.Decimal),rt(k,Ze.MinusSign)),k,Ze.Group,Ze.Decimal,ae)}(Qr(ae),lt,Ce)}catch(an){throw Nt()}}static{this.\u0275fac=function(Ce){return new(Ce||W)(a.rXU(a.xe9,16))}}static{this.\u0275pipe=a.EJ8({name:"number",type:W,pure:!0,standalone:!0})}}return W})(),Hr=(()=>{class W{constructor(ae,Ce="USD"){this._locale=ae,this._defaultCurrencyCode=Ce}transform(ae,Ce=this._defaultCurrencyCode,lt="symbol",an,kn){if(!Ra(ae))return null;
3kn||=this._locale,"boolean"==typeof lt&&(lt=lt?"symbol":"code");let vi=Ce||this._defaultCurrencyCode;"code"!==lt&&(vi="symbol"===lt||"symbol-narrow"===lt?function qn(W,k,ae="en"){const Ce=function Hn(W){return(0,a.H5H)(W)[a.KH2.Currencies]}(ae)[W]||he[W]||[],lt=Ce[1];return"narrow"===k&&"string"==typeof lt?lt:Ce[0]||W}(vi,"symbol"===lt?"wide":"narrow",kn):lt);try{return function Zt(W,k,ae,Ce,lt){const kn=Wi(tt(k,Me.Currency),rt(k,Ze.MinusSign));return kn.minFrac=function Mi(W){let k;const ae=he[W];return ae&&(k=ae[2]),"number"==typeof k?k:2}(Ce),kn.maxFrac=kn.minFrac,et(W,kn,k,Ze.CurrencyGroup,Ze.CurrencyDecimal,lt).replace("\xa4",ae).replace("\xa4","").trim()}(Qr(ae),kn,vi,Ce,an)}catch(_r){throw Nt()}}static{this.\u0275fac=function(Ce){return new(Ce||W)(a.rXU(a.xe9,16),a.rXU(a.Ocv,16))}}static{this.\u0275pipe=a.EJ8({name:"currency",type:W,pure:!0,standalone:!0})}}return W})();function Ra(W){return!(null==W||""===W||W!=W)}function Qr(W){if("string"==typeof W&&!isNaN(Number(W)-parseFloat(W)))return Number(W);if("number"!=typeof W)throw new Error(`${W} is not a number`);return W}let Ro=(()=>{class W{static{this.\u0275fac=function(Ce){return new(Ce||W)}}static{this.\u0275mod=a.$C({type:W})}static{this.\u0275inj=a.G2t({})}}return W})();const dr="browser",io="server";function fi(W){return W===dr}function Or(W){return W===io}let Bo=(()=>{class W{static{this.\u0275prov=(0,a.jDH)({token:W,providedIn:"root",factory:()=>fi((0,a.WQX)(a.Agw))?new mc((0,a.WQX)(B),window):new Ys})}}return W})();class mc{constructor(k,ae){this.document=k,this.window=ae,this.offset=()=>[0,0]}setOffset(k){this.offset=Array.isArray(k)?()=>k:k}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(k){this.window.scrollTo(k[0],k[1])}scrollToAnchor(k){const ae=function Ai(W,k){const ae=W.getElementById(k)||W.getElementsByName(k)[0];if(ae)return ae;if("function"==typeof W.createTreeWalker&&W.body&&"function"==typeof W.body.attachShadow){const Ce=W.createTreeWalker(W.body,NodeFilter.SHOW_ELEMENT);let lt=Ce.currentNode;for(;lt;){const an=lt.shadowRoot;if(an){const kn=an.getElementById(k)||an.querySelector(`[name="${k}"]`);if(kn)return kn}lt=Ce.nextNode()}}return null}(this.document,k);ae&&(this.scrollToElement(ae),ae.focus())}setHistoryScrollRestoration(k){this.window.history.scrollRestoration=k}scrollToElement(k){const ae=k.getBoundingClientRect(),Ce=ae.left+this.window.pageXOffset,lt=ae.top+this.window.pageYOffset,an=this.offset();this.window.scrollTo(Ce-an[0],lt-an[1])}}class Ys{setOffset(k){}getScrollPosition(){return[0,0]}scrollToPosition(k){}scrollToAnchor(k){}setHistoryScrollRestoration(k){}}class oc{}},94485:(st,Q,g)=>{"use strict";g.d(Q,{$R:()=>Vn,Lr:()=>se,Nl:()=>Ne,Qq:()=>$e,Sx:()=>Oi,a7:()=>Gt,b$:()=>oi,kG:()=>ft,yz:()=>bt});var a=g(70650),h=g(58527),H=g(17796),z=g(18718),P=g(40450),C=g(19847),B=g(85687),_=g(6663),q=g(56731),A=g(84975),X=g(61142);class R{}class ne{}class se{constructor(Xe){this.normalizedNames=new Map,this.lazyUpdate=null,Xe?"string"==typeof Xe?this.lazyInit=()=>{this.headers=new Map,Xe.split("\n").forEach(qe=>{const kt=qe.indexOf(":");if(kt>0){const Qt=qe.slice(0,kt),En=Qt.toLowerCase(),Bn=qe.slice(kt+1).trim();this.maybeSetNormalizedName(Qt,En),this.headers.has(En)?this.headers.get(En).push(Bn):this.headers.set(En,[Bn])}})}:typeof Headers<"u"&&Xe instanceof Headers?(this.headers=new Map,Xe.forEach((qe,kt)=>{this.setHeaderEntries(kt,qe)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(Xe).forEach(([qe,kt])=>{this.setHeaderEntries(qe,kt)})}:this.headers=new Map}has(Xe){return this.init(),this.headers.has(Xe.toLowerCase())}get(Xe){this.init();const qe=this.headers.get(Xe.toLowerCase());return qe&&qe.length>0?qe[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Xe){return this.init(),this.headers.get(Xe.toLowerCase())||null}append(Xe,qe){return this.clone({name:Xe,value:qe,op:"a"})}set(Xe,qe){return this.clone({name:Xe,value:qe,op:"s"})}delete(Xe,qe){return this.clone({name:Xe,value:qe,op:"d"})}maybeSetNormalizedName(Xe,qe){this.normalizedNames.has(qe)||this.normalizedNames.set(qe,Xe)}init(){this.lazyInit&&(this.lazyInit instanceof se?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Xe=>this.applyUpdate(Xe)),this.lazyUpdate=null))}
vendor: 6,563 bytes, line 3
3copyFrom(Xe){Xe.init(),Array.from(Xe.headers.keys()).forEach(qe=>{this.headers.set(qe,Xe.headers.get(qe)),this.normalizedNames.set(qe,Xe.normalizedNames.get(qe))})}clone(Xe){const qe=new se;return qe.lazyInit=this.lazyInit&&this.lazyInit instanceof se?this.lazyInit:this,qe.lazyUpdate=(this.lazyUpdate||[]).concat([Xe]),qe}applyUpdate(Xe){const qe=Xe.name.toLowerCase();switch(Xe.op){case"a":case"s":let kt=Xe.value;if("string"==typeof kt&&(kt=[kt]),0===kt.length)return;this.maybeSetNormalizedName(Xe.name,qe);const Qt=("a"===Xe.op?this.headers.get(qe):void 0)||[];Qt.push(...kt),this.headers.set(qe,Qt);break;case"d":const En=Xe.value;if(En){let Bn=this.headers.get(qe);if(!Bn)return;Bn=Bn.filter(Ci=>-1===En.indexOf(Ci)),0===Bn.length?(this.headers.delete(qe),this.normalizedNames.delete(qe)):this.headers.set(qe,Bn)}else this.headers.delete(qe),this.normalizedNames.delete(qe)}}setHeaderEntries(Xe,qe){const kt=(Array.isArray(qe)?qe:[qe]).map(En=>En.toString()),Qt=Xe.toLowerCase();this.headers.set(Qt,kt),this.maybeSetNormalizedName(Xe,Qt)}forEach(Xe){this.init(),Array.from(this.normalizedNames.keys()).forEach(qe=>Xe(this.normalizedNames.get(qe),this.headers.get(qe)))}}class le{encodeKey(Xe){return xe(Xe)}encodeValue(Xe){return xe(Xe)}decodeKey(Xe){return decodeURIComponent(Xe)}decodeValue(Xe){return decodeURIComponent(Xe)}}const Le=/%(\d[a-f0-9])/gi,Ie={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function xe(ue){return encodeURIComponent(ue).replace(Le,(Xe,qe)=>Ie[qe]??Xe)}function Te(ue){return`${ue}`}class Ne{constructor(Xe={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Xe.encoder||new le,Xe.fromString){if(Xe.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Re(ue,Xe){const qe=new Map;return ue.length>0&&ue.replace(/^\?/,"").split("&").forEach(Qt=>{const En=Qt.indexOf("="),[Bn,Ci]=-1==En?[Xe.decodeKey(Qt),""]:[Xe.decodeKey(Qt.slice(0,En)),Xe.decodeValue(Qt.slice(En+1))],ei=qe.get(Bn)||[];ei.push(Ci),qe.set(Bn,ei)}),qe}(Xe.fromString,this.encoder)}else Xe.fromObject?(this.map=new Map,Object.keys(Xe.fromObject).forEach(qe=>{const kt=Xe.fromObject[qe],Qt=Array.isArray(kt)?kt.map(Te):[Te(kt)];this.map.set(qe,Qt)})):this.map=null}has(Xe){return this.init(),this.map.has(Xe)}get(Xe){this.init();const qe=this.map.get(Xe);return qe?qe[0]:null}getAll(Xe){return this.init(),this.map.get(Xe)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Xe,qe){return this.clone({param:Xe,value:qe,op:"a"})}appendAll(Xe){const qe=[];return Object.keys(Xe).forEach(kt=>{const Qt=Xe[kt];Array.isArray(Qt)?Qt.forEach(En=>{qe.push({param:kt,value:En,op:"a"})}):qe.push({param:kt,value:Qt,op:"a"})}),this.clone(qe)}set(Xe,qe){return this.clone({param:Xe,value:qe,op:"s"})}delete(Xe,qe){return this.clone({param:Xe,value:qe,op:"d"})}toString(){return this.init(),this.keys().map(Xe=>{const qe=this.encoder.encodeKey(Xe);return this.map.get(Xe).map(kt=>qe+"="+this.encoder.encodeValue(kt)).join("&")}).filter(Xe=>""!==Xe).join("&")}clone(Xe){const qe=new Ne({encoder:this.encoder});return qe.cloneFrom=this.cloneFrom||this,qe.updates=(this.updates||[]).concat(Xe),qe}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Xe=>this.map.set(Xe,this.cloneFrom.map.get(Xe))),this.updates.forEach(Xe=>{switch(Xe.op){case"a":case"s":const qe=("a"===Xe.op?this.map.get(Xe.param):void 0)||[];qe.push(Te(Xe.value)),this.map.set(Xe.param,qe);break;case"d":if(void 0===Xe.value){this.map.delete(Xe.param);break}{let kt=this.map.get(Xe.param)||[];const Qt=kt.indexOf(Te(Xe.value));-1!==Qt&&kt.splice(Qt,1),kt.length>0?this.map.set(Xe.param,kt):this.map.delete(Xe.param)}}}),this.cloneFrom=this.updates=null)}}class Me{constructor(){this.map=new Map}set(Xe,qe){return this.map.set(Xe,qe),this}get(Xe){return this.map.has(Xe)||this.map.set(Xe,Xe.defaultValue()),this.map.get(Xe)}delete(Xe){return this.map.delete(Xe),this}has(Xe){return this.map.has(Xe)}keys(){return this.map.keys()}}function yt(ue){return typeof ArrayBuffer<"u"&&ue instanceof ArrayBuffer}function Se(ue){return typeof Blob<"u"&&ue instanceof Blob}function ke(ue){return typeof FormData<"u"&&ue instanceof FormData}class Ve{constructor(Xe,qe,kt,Qt){let En;if(this.url=qe,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Xe.toUpperCase(),function ct(ue){switch(ue){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Qt?(this.body=void 0!==kt?kt:null,En=Qt):En=kt,En&&(this.reportProgress=!!En.reportProgress,this.withCredentials=!!En.withCredentials,En.responseType&&(this.responseType=En.responseType),En.headers&&(this.headers=En.headers),En.context&&(this.context=En.context),En.params&&(this.params=En.params),this.transferCache=En.transferCache),this.headers??=new se,this.context??=new Me,this.params){const Bn=this.params.toString();if(0===Bn.length)this.urlWithParams=qe;else{const Ci=qe.indexOf("?");this.urlWithParams=qe+(-1===Ci?"?":Ci<qe.length-1?"&":"")+Bn}}else this.params=new Ne,this.urlWithParams=qe}serializeBody(){return null===this.body?null:"string"==typeof this.body||yt(this.body)||Se(this.body)||ke(this.body)||function Ze(ue){return typeof URLSearchParams<"u"&&ue instanceof URLSearchParams}(this.body)?this.body:this.body instanceof Ne?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||ke(this.body)?null:Se(this.body)?this.body.type||null:yt(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Ne?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(Xe={}){const qe=Xe.method||this.method,kt=Xe.url||this.url,Qt=Xe.responseType||this.responseType,En=Xe.transferCache??this.transferCache,Bn=void 0!==Xe.body?Xe.body:this.body,Ci=Xe.withCredentials??this.withCredentials,ei=Xe.reportProgress??this.reportProgress;let qi=Xe.headers||this.headers,br=Xe.params||this.params;const pr=Xe.context??this.context;return void 0!==Xe.setHeaders&&(qi=Object.keys(Xe.setHeaders).reduce((os,jr)=>os.set(jr,Xe.setHeaders[jr]),qi)),Xe.setParams&&(br=Object.keys(Xe.setParams).reduce((os,jr)=>os.set(jr,Xe.setParams[jr]),br)),new Ve(qe,kt,Bn,{params:br,headers:qi,context:pr,reportProgress:ei,responseType:Qt,withCredentials:Ci,transferCache:En})}}
3var Be=function(ue){return ue[ue.Sent=0]="Sent",ue[ue.UploadProgress=1]="UploadProgress",ue[ue.ResponseHeader=2]="ResponseHeader",ue[ue.DownloadProgress=3]="DownloadProgress",ue[ue.Response=4]="Response",ue[ue.User=5]="User",ue}(Be||{});class ge{constructor(Xe,qe=200,kt="OK"){this.headers=Xe.headers||new se,this.status=void 0!==Xe.status?Xe.status:qe,this.statusText=Xe.statusText||kt,this.url=Xe.url||null,this.ok=this.status>=200&&this.status<300}}class Pe extends ge{constructor(Xe={}){super(Xe),this.type=Be.ResponseHeader}clone(Xe={}){return new Pe({headers:Xe.headers||this.headers,status:void 0!==Xe.status?Xe.status:this.status,statusText:Xe.statusText||this.statusText,url:Xe.url||this.url||void 0})}}class He extends ge{constructor(Xe={}){super(Xe),this.type=Be.Response,this.body=void 0!==Xe.body?Xe.body:null}clone(Xe={}){return new He({body:void 0!==Xe.body?Xe.body:this.body,headers:Xe.headers||this.headers,status:void 0!==Xe.status?Xe.status:this.status,statusText:Xe.statusText||this.statusText,url:Xe.url||this.url||void 0})}}class bt extends ge{constructor(Xe){super(Xe,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Xe.url||"(unknown url)"}`:`Http failure response for ${Xe.url||"(unknown url)"}: ${Xe.status} ${Xe.statusText}`,this.error=Xe.error||null}}var ft=function(ue){return ue[ue.Continue=100]="Continue",ue[ue.SwitchingProtocols=101]="SwitchingProtocols",ue[ue.Processing=102]="Processing",ue[ue.EarlyHints=103]="EarlyHints",ue[ue.Ok=200]="Ok",ue[ue.Created=201]="Created",ue[ue.Accepted=202]="Accepted",ue[ue.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",ue[ue.NoContent=204]="NoContent",ue[ue.ResetContent=205]="ResetContent",ue[ue.PartialContent=206]="PartialContent",ue[ue.MultiStatus=207]="MultiStatus",ue[ue.AlreadyReported=208]="AlreadyReported",ue[ue.ImUsed=226]="ImUsed",ue[ue.MultipleChoices=300]="MultipleChoices",ue[ue.MovedPermanently=301]="MovedPermanently",ue[ue.Found=302]="Found",ue[ue.SeeOther=303]="SeeOther",ue[ue.NotModified=304]="NotModified",ue[ue.UseProxy=305]="UseProxy",ue[ue.Unused=306]="Unused",ue[ue.TemporaryRedirect=307]="TemporaryRedirect",ue[ue.PermanentRedirect=308]="PermanentRedirect",ue[ue.BadRequest=400]="BadRequest",ue[ue.Unauthorized=401]="Unauthorized",ue[ue.PaymentRequired=402]="PaymentRequired",ue[ue.Forbidden=403]="Forbidden",ue[ue.NotFound=404]="NotFound",ue[ue.MethodNotAllowed=405]="MethodNotAllowed",ue[ue.NotAcceptable=406]="NotAcceptable",ue[ue.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",ue[ue.RequestTimeout=408]="RequestTimeout",ue[ue.Conflict=409]="Conflict",ue[ue.Gone=410]="Gone",ue[ue.LengthRequired=411]="LengthRequired",ue[ue.PreconditionFailed=412]="PreconditionFailed",ue[ue.PayloadTooLarge=413]="PayloadTooLarge",ue[ue.UriTooLong=414]="UriTooLong",ue[ue.UnsupportedMediaType=415]="UnsupportedMediaType",ue[ue.RangeNotSatisfiable=416]="RangeNotSatisfiable",ue[ue.ExpectationFailed=417]="ExpectationFailed",ue[ue.ImATeapot=418]="ImATeapot",ue[ue.MisdirectedRequest=421]="MisdirectedRequest",ue[ue.UnprocessableEntity=422]="UnprocessableEntity",ue[ue.Locked=423]="Locked",ue[ue.FailedDependency=424]="FailedDependency",ue[ue.TooEarly=425]="TooEarly",ue[ue.UpgradeRequired=426]="UpgradeRequired",ue[ue.PreconditionRequired=428]="PreconditionRequired",ue[ue.TooManyRequests=429]="TooManyRequests",ue[ue.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",ue[ue.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",ue[ue.InternalServerError=500]="InternalServerError",ue[ue.NotImplemented=501]="NotImplemented",ue[ue.BadGateway=502]="BadGateway",ue[ue.ServiceUnavailable=503]="ServiceUnavailable",ue[ue.GatewayTimeout=504]="GatewayTimeout",ue[ue.HttpVersionNotSupported=505]="HttpVersionNotSupported",ue[ue.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",ue[ue.InsufficientStorage=507]="InsufficientStorage",ue[ue.LoopDetected=508]="LoopDetected",ue[ue.NotExtended=510]="NotExtended",ue[ue.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",ue}(ft||{});function Tt(ue,Xe){return{body:Xe,headers:ue.headers,context:ue.context,observe:ue.observe,params:ue.params,reportProgress:ue.reportProgress,responseType:ue.responseType,withCredentials:ue.withCredentials,transferCache:ue.transferCache}}let $e=(()=>{class ue{constructor(qe){this.handler=qe}request(qe,kt,Qt={}){let En;if(qe instanceof Ve)En=qe;else{let ei,qi;ei=Qt.headers instanceof se?Qt.headers:new se(Qt.headers),Qt.params&&(qi=Qt.params instanceof Ne?Qt.params:new Ne({fromObject:Qt.params})),En=new Ve(qe,kt,void 0!==Qt.body?Qt.body:null,{headers:ei,context:Qt.context,params:qi,reportProgress:Qt.reportProgress,responseType:Qt.responseType||"json",withCredentials:Qt.withCredentials,transferCache:Qt.transferCache})}const Bn=(0,H.of)(En).pipe((0,C.H)(ei=>this.handler.handle(ei)));if(qe instanceof Ve||"events"===Qt.observe)return Bn;const Ci=Bn.pipe((0,B.p)(ei=>ei instanceof He));switch(Qt.observe||"body"){case"body":switch(En.responseType){case"arraybuffer":return Ci.pipe((0,_.T)(ei=>{if(null!==ei.body&&!(ei.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return ei.body}));case"blob":return Ci.pipe((0,_.T)(ei=>{if(null!==ei.body&&!(ei.body instanceof Blob))throw new Error("Response is not a Blob.");return ei.body}));case"text":return Ci.pipe((0,_.T)(ei=>{if(null!==ei.body&&"string"!=typeof ei.body)throw new Error("Response is not a string.");return ei.body}));default:return Ci.pipe((0,_.T)(ei=>ei.body))}case"response":return Ci;default:throw new Error(`Unreachable: unhandled observe type ${Qt.observe}}`)}}delete(qe,kt={}){return this.request("DELETE",qe,kt)}get(qe,kt={}){return this.request("GET",qe,kt)}head(qe,kt={}){return this.request("HEAD",qe,kt)}jsonp(qe,kt){return this.request("JSONP",qe,{params:(new Ne).append(kt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(qe,kt={}){return this.request("OPTIONS",qe,kt)}patch(qe,kt,Qt={}){return this.request("PATCH",qe,Tt(Qt,kt))}post(qe,kt,Qt={}){return this.request("POST",qe,Tt(Qt,kt))}put(qe,kt,Qt={}){return this.request("PUT",qe,Tt(Qt,kt))}static{this.\u0275fac=function(kt){return new(kt||ue)(h.KVO(R))}}static{this.\u0275prov=h.jDH({token:ue,factory:ue.\u0275fac})}}return ue})();const rt=/^\)\]\}',?\n/;function nt(ue){if(ue.url)return ue.url;const Xe="X-Request-URL".toLocaleLowerCase();return ue.headers.get(Xe)}let _t=(()=>{class ue{constructor(){this.fetchImpl=(0,h.WQX)(on,{optional:!0})?.fetch??((...qe)=>globalThis.fetch(...qe)),this.ngZone=(0,h.WQX)(h.SKi)}handle(qe){return new z.c(kt=>{const Qt=new AbortController;return this.doRequest(qe,Qt.signal,kt).then(Hn,En=>kt.error(new bt({error:En}))),()=>Qt.abort()})}doRequest(qe,kt,Qt){var En=this;return(0,a.A)(function*(){const Bn=En.createRequestInit(qe);let Ci;try{const as=En.ngZone.runOutsideAngular(()=>En.fetchImpl(qe.urlWithParams,{signal:kt,...Bn}));(function _n(ue){ue.then(Hn,Hn)})(as),Qt.next({type:Be.Sent}),Ci=yield as}catch(as){return void Qt.error(new bt({error:as,status:as.status??0,statusText:as.statusText,url:qe.urlWithParams,headers:as.headers}))}const ei=new se(Ci.headers),qi=Ci.statusText,br=nt(Ci)??qe.urlWithParams;let pr=Ci.status,os=null;if(qe.reportProgress&&Qt.next(new Pe({headers:ei,status:pr,statusText:qi,url:br})),Ci.body){const as=Ci.headers.get("content-length"),Pi=[],xr=Ci.body.getReader();let it,Nt,Es=0;const Bt=typeof Zone<"u"&&Zone.current;yield En.ngZone.runOutsideAngular((0,a.A)(function*(){for(;;){const{done:Gn,value:Jn}=yield xr.read();if(Gn)break;if(Pi.push(Jn),Es+=Jn.length,qe.reportProgress){Nt="text"===qe.responseType?(Nt??"")+(it??=new TextDecoder).decode(Jn,{stream:!0}):void 0;const Gi=()=>
3Qt.next({type:Be.DownloadProgress,total:as?+as:void 0,loaded:Es,partialText:Nt});Bt?Bt.run(Gi):Gi()}}}));const Kt=En.concatChunks(Pi,Es);try{const Gn=Ci.headers.get("Content-Type")??"";os=En.parseBody(qe,Kt,Gn)}catch(Gn){return void Qt.error(new bt({error:Gn,headers:new se(Ci.headers),status:Ci.status,statusText:Ci.statusText,url:nt(Ci)??qe.urlWithParams}))}}0===pr&&(pr=os?200:0),pr>=200&&pr<300?(Qt.next(new He({body:os,headers:ei,status:pr,statusText:qi,url:br})),Qt.complete()):Qt.error(new bt({error:os,headers:ei,status:pr,statusText:qi,url:br}))})()}parseBody(qe,kt,Qt){switch(qe.responseType){case"json":const En=(new TextDecoder).decode(kt).replace(rt,"");return""===En?null:JSON.parse(En);case"text":return(new TextDecoder).decode(kt);case"blob":return new Blob([kt],{type:Qt});case"arraybuffer":return kt.buffer}}createRequestInit(qe){const kt={},Qt=qe.withCredentials?"include":void 0;if(qe.headers.forEach((En,Bn)=>kt[En]=Bn.join(",")),qe.headers.has("Accept")||(kt.Accept="application/json, text/plain, */*"),!qe.headers.has("Content-Type")){const En=qe.detectContentTypeHeader();null!==En&&(kt["Content-Type"]=En)}return{body:qe.serializeBody(),method:qe.method,headers:kt,credentials:Qt}}concatChunks(qe,kt){const Qt=new Uint8Array(kt);let En=0;for(const Bn of qe)Qt.set(Bn,En),En+=Bn.length;return Qt}static{this.\u0275fac=function(kt){return new(kt||ue)}}static{this.\u0275prov=h.jDH({token:ue,factory:ue.\u0275fac})}}return ue})();class on{}function Hn(){}function hn(ue,Xe){return Xe(ue)}function en(ue,Xe){return(qe,kt)=>Xe.intercept(qe,{handle:Qt=>ue(Qt,kt)})}const Gt=new h.nKC(""),Wt=new h.nKC(""),Wn=new h.nKC(""),qn=new h.nKC("",{providedIn:"root",factory:()=>!0});function Fn(){let ue=null;return(Xe,qe)=>{null===ue&&(ue=((0,h.WQX)(Gt,{optional:!0})??[]).reduceRight(en,hn));const kt=(0,h.WQX)(h.TgB);if((0,h.WQX)(qn)){const En=kt.add();return ue(Xe,qe).pipe((0,q.j)(()=>kt.remove(En)))}return ue(Xe,qe)}}let Yi=(()=>{class ue extends R{constructor(qe,kt){super(),this.backend=qe,this.injector=kt,this.chain=null,this.pendingTasks=(0,h.WQX)(h.TgB),this.contributeToStability=(0,h.WQX)(qn)}handle(qe){if(null===this.chain){const kt=Array.from(new Set([...this.injector.get(Wt),...this.injector.get(Wn,[])]));this.chain=kt.reduceRight((Qt,En)=>function Ot(ue,Xe,qe){return(kt,Qt)=>(0,h.N4e)(qe,()=>Xe(kt,En=>ue(En,Qt)))}(Qt,En,this.injector),hn)}if(this.contributeToStability){const kt=this.pendingTasks.add();return this.chain(qe,Qt=>this.backend.handle(Qt)).pipe((0,q.j)(()=>this.pendingTasks.remove(kt)))}return this.chain(qe,kt=>this.backend.handle(kt))}static{this.\u0275fac=function(kt){return new(kt||ue)(h.KVO(ne),h.KVO(h.uvJ))}}static{this.\u0275prov=h.jDH({token:ue,factory:ue.\u0275fac})}}return ue})();const Qn=/^\)\]\}',?\n/;let gr=(()=>{class ue{constructor(qe){this.xhrFactory=qe}handle(qe){if("JSONP"===qe.method)throw new h.wOt(-2800,!1);const kt=this.xhrFactory;return(kt.\u0275loadImpl?(0,P.H)(kt.\u0275loadImpl()):(0,H.of)(null)).pipe((0,A.n)(()=>new z.c(En=>{const Bn=kt.build();if(Bn.open(qe.method,qe.urlWithParams),qe.withCredentials&&(Bn.withCredentials=!0),qe.headers.forEach((Pi,xr)=>Bn.setRequestHeader(Pi,xr.join(","))),qe.headers.has("Accept")||Bn.setRequestHeader("Accept","application/json, text/plain, */*"),!qe.headers.has("Content-Type")){const Pi=qe.detectContentTypeHeader();null!==Pi&&Bn.setRequestHeader("Content-Type",Pi)}if(qe.responseType){const Pi=qe.responseType.toLowerCase();Bn.responseType="json"!==Pi?Pi:"text"}const Ci=qe.serializeBody();let ei=null;const qi=()=>{if(null!==ei)return ei;const Pi=Bn.statusText||"OK",xr=new se(Bn.getAllResponseHeaders()),Es=function si(ue){return"responseURL"in ue&&ue.responseURL?ue.responseURL:/^X-Request-URL:/m.test(ue.getAllResponseHeaders())?ue.getResponseHeader("X-Request-URL"):null}(Bn)||qe.url;return ei=new Pe({headers:xr,status:Bn.status,statusText:Pi,url:Es}),ei},br=()=>{let{headers:Pi,status:xr,statusText:Es,url:it}=qi(),Nt=null;204!==xr&&(Nt=typeof Bn.response>"u"?Bn.responseText:Bn.response),0===xr&&(xr=Nt?200:0);let Bt=xr>=200&&xr<300;if("json"===qe.responseType&&"string"==typeof Nt){const Kt=Nt;Nt=Nt.replace(Qn,"");try{Nt=""!==Nt?JSON.parse(Nt):null}catch(Gn){Nt=Kt,Bt&&(Bt=!1,Nt={error:Gn,text:Nt})}}Bt?(En.next(new He({body:Nt,headers:Pi,status:xr,statusText:Es,url:it||void 0})),En.complete()):En.error(new bt({error:Nt,headers:Pi,status:xr,statusText:Es,url:it||void 0}))},pr=Pi=>{const{url:xr}=qi(),Es=new bt({error:Pi,status:Bn.status||0,statusText:Bn.statusText||"Unknown Error",url:xr||void 0});En.error(Es)};let os=!1;const jr=Pi=>{os||(En.next(qi()),os=!0);let xr={type:Be.DownloadProgress,loaded:Pi.loaded};Pi.lengthComputable&&(xr.total=Pi.total),"text"===qe.responseType&&Bn.responseText&&(xr.partialText=Bn.responseText),En.next(xr)},as=Pi=>{let xr={type:Be.UploadProgress,loaded:Pi.loaded};Pi.lengthComputable&&(xr.total=Pi.total),En.next(xr)};return Bn.addEventListener("load",br),Bn.addEventListener("error",pr),Bn.addEventListener("timeout",pr),Bn.addEventListener("abort",pr),qe.reportProgress&&(Bn.addEventListener("progress",jr),null!==Ci&&Bn.upload&&Bn.upload.addEventListener("progress",as)),Bn.send(Ci),En.next({type:Be.Sent}),()=>{Bn.removeEventListener("error",pr),Bn.removeEventListener("abort",pr),Bn.removeEventListener("load",br),Bn.removeEventListener("timeout",pr),qe.reportProgress&&(Bn.removeEventListener("progress",jr),null!==Ci&&Bn.upload&&Bn.upload.removeEventListener("progress",as)),Bn.readyState!==Bn.DONE&&Bn.abort()}})))}static{this.\u0275fac=function(kt){return new(kt||ue)(h.KVO(X.N0))}}static{this.\u0275prov=h.jDH({token:ue,factory:ue.\u0275fac})}}return ue})();const xt=new h.nKC(""),qt=new h.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),ai=new h.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class gi{}let Pt=(()=>{class ue{constructor(qe,kt,Qt){this.doc=qe,this.platform=kt,this.cookieName=Qt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const qe=this.doc.cookie||"";return qe!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,X._b)(qe,this.cookieName),this.lastCookieString=qe),this.lastToken}static{this.\u0275fac=function(kt){return new(kt||ue)(h.KVO(X.qQ),h.KVO(h.Agw),h.KVO(qt))}}static{this.\u0275prov=h.jDH({token:ue,factory:ue.\u0275fac})}}return ue})();function Et(ue,Xe){const qe=ue.url.toLowerCase();if(!(0,h.WQX)(xt)||"GET"===ue.method||"HEAD"===ue.method||qe.startsWith("http://")||qe.startsWith("https://"))return Xe(ue);const kt=(0,h.WQX)(gi).getToken(),Qt=(0,h.WQX)(ai);return null!=kt&&!ue.headers.has(Qt)&&(ue=ue.clone({headers:ue.headers.set(Qt,kt)})),Xe(ue)}var pt=function(ue){return ue[ue.Interceptors=0]="Interceptors",ue[ue.LegacyInterceptors=1]="LegacyInterceptors",ue[ue.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",ue[ue.NoXsrfProtection=3]="NoXsrfProtection",ue[ue.JsonpSupport=4]="JsonpSupport",ue[ue.RequestsMadeViaParent=5]="RequestsMadeViaParent",ue[ue.Fetch=6]="Fetch",ue}(pt||{});function rn(ue,Xe){return{\u0275kind:ue,\u0275providers:Xe}}function Vn(...ue){const Xe=[$e,gr,Yi,{provide:R,useExisting:Yi},{provide:ne,useFactory:()=>(0,h.WQX)(_t,{optional:!0})??(0,h.WQX)(gr)},{provide:Wt,useValue:Et,multi:!0},{provide:xt,useValue:!0},{provide:gi,useClass:Pt}];for(const qe of ue)Xe.push(...qe.\u0275providers);return(0,h.EmA)(Xe)}function oi(ue){return rn(pt.Interceptors,ue.map(Xe=>({provide:Wt,useValue:Xe,multi:!0})))}const hi=new h.nKC("");function Oi(){return rn(pt.LegacyInterceptors,[{provide:hi,useFactory:Fn}
3,{provide:Wt,useExisting:hi,multi:!0}])}},58527:(st,Q,g)=>{"use strict";function a(e,i){return Object.is(e,i)}g.d(Q,{bc$:()=>Fv,iLQ:()=>Oo,sZ2:()=>tp,hnV:()=>y1,Hbi:()=>sx,o8S:()=>fu,BIS:()=>Gg,gRc:()=>aC,Ql9:()=>RD,Ocv:()=>zD,abz:()=>Hu,Z63:()=>ms,aKT:()=>Qf,uvJ:()=>bo,zcH:()=>ou,bkB:()=>fd,y_5:()=>Bo,$GK:()=>ki,nKC:()=>Ee,zZn:()=>Rc,_q3:()=>Dl,MKu:()=>f0,xe9:()=>k1,Co$:()=>v2,Vns:()=>df,SKi:()=>fa,Xx1:()=>mc,Agw:()=>np,PLl:()=>ly,sFG:()=>YA,_9s:()=>f_,czy:()=>my,WPN:()=>tf,kdw:()=>Ys,C4Q:()=>im,NYb:()=>aO,giA:()=>Kw,xvI:()=>gD,RxE:()=>Rw,c1b:()=>Iy,gXe:()=>da,mal:()=>zy,Af3:()=>Za,tdH:()=>x2,L39:()=>xx,EWP:()=>Ox,Ol2:()=>A_,w6W:()=>W4,QZP:()=>v0,SmG:()=>YD,Rfq:()=>Pt,oKB:()=>el,WQX:()=>gn,hFB:()=>dv,naY:()=>XD,QuC:()=>Do,EmA:()=>Ss,geq:()=>S4,CGW:()=>lv,HJs:()=>Lx,N4e:()=>Qa,vPA:()=>Zk,O8t:()=>Px,ebz:()=>C4,dtW:()=>E4,H3F:()=>Bw,H8p:()=>cs,KH2:()=>wf,TgB:()=>Wu,wOt:()=>Fn,WHO:()=>AD,e01:()=>TD,lNU:()=>qn,h9k:()=>dE,$MX:()=>hy,ZF7:()=>sp,Kcf:()=>k3,e5t:()=>M3,UyX:()=>D3,cWb:()=>S3,osQ:()=>x3,H5H:()=>wb,Zy3:()=>Mi,mq5:()=>xF,JZv:()=>Qn,TL3:()=>px,LfX:()=>us,plB:()=>gh,jNT:()=>m1,zjR:()=>Xw,ngT:()=>kl,XSP:()=>yS,TL$:()=>vv,Tbb:()=>qt,rcV:()=>Xu,Vt3:()=>S_,GFd:()=>b2,OA$:()=>Ca,Jv_:()=>aw,aNF:()=>qb,R7$:()=>UE,BMQ:()=>Fm,jRB:()=>wm,HbH:()=>cb,ZvI:()=>xm,STu:()=>lF,AVh:()=>yd,vxM:()=>fb,wni:()=>XF,SS7:()=>hu,VBU:()=>ks,FsC:()=>yo,jDH:()=>ii,G2t:()=>sr,$C:()=>mo,EJ8:()=>bc,rXU:()=>cp,nrm:()=>bb,eu8:()=>_b,bVm:()=>Om,qex:()=>Tm,k0s:()=>Am,j41:()=>Sp,RV6:()=>SF,xGo:()=>Cg,KVO:()=>Qr,kS0:()=>lh,QTQ:()=>VE,bIt:()=>Nb,lsd:()=>Wm,joV:()=>dl,qSk:()=>Il,XpG:()=>wh,nI1:()=>Fw,bMT:()=>ww,i5U:()=>Zb,brH:()=>Jb,ii3:()=>Cw,SdG:()=>Pp,NAR:()=>HF,Y8G:()=>sb,FS9:()=>Lb,Mz_:()=>$m,FCK:()=>Ch,yjJ:()=>Np,lJ4:()=>lw,eq3:()=>dw,l_i:()=>uw,sMw:()=>hw,l4e:()=>fw,sGs:()=>pw,zJS:()=>mw,NyB:()=>Km,mGM:()=>Ub,r8f:()=>Sh,sdS:()=>QF,Dyx:()=>gb,Z7z:()=>kp,fX1:()=>pb,Njj:()=>Xl,EBC:()=>vE,tSv:()=>bE,eBV:()=>zr,npT:()=>uE,f$h:()=>xv,$dS:()=>hE,B4B:()=>Dv,n$t:()=>fE,bH3:()=>Jm,Aen:()=>Ld,xc7:()=>ab,DNE:()=>O_,C5r:()=>e0,EFF:()=>Hb,JRh:()=>Up,SpI:()=>uu,Lme:()=>kh,LHq:()=>Wb,DH7:()=>ow,mxI:()=>Kb,R50:()=>Qm,GBs:()=>YF,wEZ:()=>qF});let h=null,H=!1,z=1;const P=Symbol("SIGNAL");function C(e){const i=h;return h=e,i}function B(){return h}const A={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function X(e){if(H)throw new Error("");if(null===h)return;h.consumerOnSignalRead(e);const i=h.nextProducerIndex++;Me(h),i<h.producerNode.length&&h.producerNode[i]!==e&&he(h)&&Ne(h.producerNode[i],h.producerIndexOfThis[i]),h.producerNode[i]!==e&&(h.producerNode[i]=e,h.producerIndexOfThis[i]=he(h)?Te(e,h,i):0),h.producerLastReadVersion[i]=e.version}function ne(e){if((!he(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==z)){if(!e.producerMustRecompute(e)&&!Ie(e))return e.dirty=!1,void(e.lastCleanEpoch=z);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=z}}function se(e){if(void 0===e.liveConsumerNode)return;const i=H;H=!0;try{for(const o of e.liveConsumerNode)o.dirty||le(o)}finally{H=i}}function _e(){return!1!==h?.consumerAllowSignalWrites}function le(e){e.dirty=!0,se(e),e.consumerMarkedDirty?.(e)}function Re(e){return e&&(e.nextProducerIndex=0),C(e)}function Le(e,i){if(C(i),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(he(e))for(let o=e.nextProducerIndex;o<e.producerNode.length;o++)Ne(e.producerNode[o],e.producerIndexOfThis[o]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Ie(e){Me(e);for(let i=0;i<e.producerNode.length;i++){const o=e.producerNode[i],l=e.producerLastReadVersion[i];if(l!==o.version||(ne(o),l!==o.version))return!0}return!1}function xe(e){if(Me(e),he(e))for(let i=0;i<e.producerNode.length;i++)Ne(e.producerNode[i],e.producerIndexOfThis[i]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function Te(e,i,o){if(ct(e),0===e.liveConsumerNode.length&&yt(e))for(let l=0;l<e.producerNode.length;l++)e.producerIndexOfThis[l]=Te(e.producerNode[l],e,l);return e.liveConsumerIndexOfThis.push(o),e.liveConsumerNode.push(i)-1}function Ne(e,i){if(ct(e),1===e.liveConsumerNode.length&&yt(e))for(let l=0;l<e.producerNode.length;l++)Ne(e.producerNode[l],e.producerIndexOfThis[l]);const o=e.liveConsumerNode.length-1;if(e.liveConsumerNode[i]=e.liveConsumerNode[o],e.liveConsumerIndexOfThis[i]=e.liveConsumerIndexOfThis[o],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,i<e.liveConsumerNode.length){const l=e.liveConsumerIndexOfThis[i],f=e.liveConsumerNode[i];Me(f),f.producerIndexOfThis[l]=i}}function he(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Me(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function ct(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function yt(e){return void 0!==e.producerNode}function Se(e){const i=Object.create(Be);i.computation=e;const o=()=>
3{if(ne(i),X(i),i.value===Ve)throw i.error;return i.value};return o[P]=i,o}const ke=Symbol("UNSET"),Ze=Symbol("COMPUTING"),Ve=Symbol("ERRORED"),Be={...A,value:ke,dirty:!0,error:null,equal:a,producerMustRecompute:e=>e.value===ke||e.value===Ze,producerRecomputeValue(e){if(e.value===Ze)throw new Error("Detected cycle in computations.");const i=e.value;e.value=Ze;const o=Re(e);let l;try{l=e.computation()}catch(f){l=Ve,e.error=f}finally{Le(e,o)}i!==ke&&i!==Ve&&l!==Ve&&e.equal(i,l)?e.value=i:(e.value=l,e.version++)}};let Pe=function ge(){throw new Error};function He(){Pe()}let Yt=null;function $e(e,i){_e()||He(),e.equal(e.value,i)||(e.value=i,function _t(e){e.version++,function R(){z++}(),se(e),Yt?.()}(e))}const nt={...A,equal:a,value:void 0};const Hn=()=>{},_n={...A,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{null!==e.schedule&&e.schedule(e.ref)},hasRun:!1,cleanupFn:Hn};var en=g(83485),Ot=g(77392),Gt=g(59343),Wt=g(6663);const qn="https://g.co/ng/security#xss";class Fn extends Error{constructor(i,o){super(Mi(i,o)),this.code=i}}function Mi(e,i){return`NG0${Math.abs(e)}${i?": "+i:""}`}const zi=Symbol("InputSignalNode#UNSET"),Yi={...nt,transformFn:void 0,applyValueToInputSignal(e,i){$e(e,i)}};function Rt(e,i){const o=Object.create(Yi);function l(){if(X(o),o.value===zi)throw new Fn(-950,!1);return o.value}return o.value=e,o.transformFn=i?.transform,l[P]=o,l}function Xt(e){return{toString:e}.toString()}const xn="__parameters__";function tn(e,i,o){return Xt(()=>{const l=function vt(e){return function(...o){if(e){const l=e(...o);for(const f in l)this[f]=l[f]}}}(i);function f(...b){if(this instanceof f)return l.apply(this,b),this;const E=new f(...b);return O.annotation=E,O;function O(G,oe,Fe){const Je=G.hasOwnProperty(xn)?G[xn]:Object.defineProperty(G,xn,{value:[]})[xn];for(;Je.length<=Fe;)Je.push(null);return(Je[Fe]=Je[Fe]||[]).push(E),G}}return o&&(f.prototype=Object.create(o.prototype)),f.prototype.ngMetadataName=e,f.annotationCls=f,f})}const Qn=globalThis;function xt(e){for(let i in e)if(e[i]===xt)return i;throw Error("Could not find renamed property on target object.")}function Sn(e,i){for(const o in i)i.hasOwnProperty(o)&&!e.hasOwnProperty(o)&&(e[o]=i[o])}function qt(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(qt).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const i=e.toString();if(null==i)return""+i;const o=i.indexOf("\n");return-1===o?i:i.substring(0,o)}function Cn(e,i){return null==e||""===e?null===i?"":i:null==i||""===i?e:e+" "+i}const gi=xt({__forward_ref__:xt});function Pt(e){return e.__forward_ref__=Pt,e.toString=function(){return qt(this())},e}function Et(e){return ot(e)?e():e}function ot(e){return"function"==typeof e&&e.hasOwnProperty(gi)&&e.__forward_ref__===Pt}function ii(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function sr(e){return{providers:e.providers||[],imports:e.imports||[]}}function lr(e){return Cs(e,ko)||Cs(e,be)}function us(e){return null!==lr(e)}function Cs(e,i){return e.hasOwnProperty(i)?e[i]:null}function _o(e){return e&&(e.hasOwnProperty(We)||e.hasOwnProperty(we))?e[We]:null}const ko=xt({\u0275prov:xt}),We=xt({\u0275inj:xt}),be=xt({ngInjectableDef:xt}),we=xt({ngInjectorDef:xt});class Ee{constructor(i,o){this._desc=i,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof o?this.__NG_ELEMENT_ID__=o:void 0!==o&&(this.\u0275prov=ii({token:this,providedIn:o.providedIn||"root",factory:o.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function br(e){return e&&!!e.\u0275providers}const pr=xt({\u0275cmp:xt}),os=xt({\u0275dir:xt}),jr=xt({\u0275pipe:xt}),as=xt({\u0275mod:xt}),Pi=xt({\u0275fac:xt}),xr=xt({__NG_ELEMENT_ID__:xt}),Es=xt({__NG_ENV_ID__:xt});function it(e){return"string"==typeof e?e:null==e?"":String(e)}function vr(e,i){throw new Fn(-201,!1)}var ki=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(ki||{});let Rs;function Ki(){return Rs}function kr(e){const i=Rs;return Rs=e,i}function Na(e,i,o){const l=lr(e);return l&&"root"==l.providedIn?void 0===l.value?l.value=l.factory():l.value:o&ki.Optional?null:void 0!==i?i:void vr()}const ka={},ba="__NG_DI_FLAG__",va="ngTempTokenPath",Dc=/\n/gm,Sa="__source";let No;function Hr(e){const i=No;return No=e,i}function Ra(e,i=ki.Default){if(void 0===No)throw new Fn(-203,!1);return null===No?Na(e,void 0,i):No.get(e,i&ki.Optional?null:void 0,i)}function Qr(e,i=ki.Default){return(Ki()||Ra)(Et(e),i)}function gn(e,i=ki.Default){return Qr(e,Ro(i))}function Ro(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function dr(e){const i=[];for(let o=0;o<e.length;o++){const l=Et(e[o]);if(Array.isArray(l)){if(0===l.length)throw new Fn(900,!1);let f,b=ki.Default;for(let E=0;E<l.length;E++){const O=l[E],G=fi(O);"number"==typeof G?-1===G?f=O.token:b|=G:f=O}i.push(Qr(f,b))}else i.push(Qr(l))}return i}function io(e,i){return e[ba]=i,e.prototype[ba]=i,e}function fi(e){return e[ba]}const Bo=io(tn("Inject",e=>({token:e})),-1),mc=io(tn("Optional"),8),Ys=io(tn("SkipSelf"),4);function fo(e,i){return e.hasOwnProperty(Pi)?e[Pi]:null}function qs(e,i){e.forEach(o=>Array.isArray(o)?qs(o,i):i(o))}function Qs(e,i,o){i>=e.length?e.push(o):e.splice(i,0,o)}function es(e,i){return i>=e.length-1?e.pop():e.splice(i,1)[0]}function po(e,i,o){let l=Da(e,i);return l>=0?e[1|l]=o:(l=~l,function Ms(e,i,o,l){let f=e.length;if(f==i)e.push(o,l);else if(1===f)e.push(l,e[0]),e[0]=o;else{for(f--,e.push(e[f-1],e[f]);f>i;)e[f]=e[f-2],f--;e[i]=o,e[i+1]=l}}(e,l,i,o)),l}function Hs(e,i){const o=Da(e,i);if(o>=0)return e[1|o]}function Da(e,i){return function Zs(e,i,o){let l=0,f=e.length>>o;for(;f!==l;){const b=l+(f-l>>1),E=e[b<<o];if(i===E)return b<<o;E>i?f=b:l=b+1}return~(f<<o)}(e,i,1)}const fs={},Pr=[],ms=new Ee(""),Wr=new Ee("",-1),Ba=new Ee("");
vendor: 4,190 bytes, line 3
3class ro{get(i,o=ka){if(o===ka){const l=new Error(`NullInjectorError: No provider for ${qt(i)}!`);throw l.name="NullInjectorError",l}return o}}var Uo=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Uo||{}),da=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(da||{}),go=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(go||{});function Ri(e,i,o){let l=e.length;for(;;){const f=e.indexOf(i,o);if(-1===f)return f;if(0===f||e.charCodeAt(f-1)<=32){const b=i.length;if(f+b===l||e.charCodeAt(f+b)<=32)return f}o=f+1}}function ts(e,i,o){let l=0;for(;l<o.length;){const f=o[l];if("number"==typeof f){if(0!==f)break;l++;const b=o[l++],E=o[l++],O=o[l++];e.setAttribute(i,E,O,b)}else{const b=f,E=o[++l];Qc(b)?e.setProperty(i,b,E):e.setAttribute(i,b,E),l++}}return l}function Bs(e){return 3===e||4===e||6===e}function Qc(e){return 64===e.charCodeAt(0)}function xa(e,i){if(null!==i&&0!==i.length)if(null===e||0===e.length)e=i.slice();else{let o=-1;for(let l=0;l<i.length;l++){const f=i[l];"number"==typeof f?o=f:0===o||Uc(e,o,f,null,-1===o||2===o?i[++l]:null)}}return e}function Uc(e,i,o,l,f){let b=0,E=e.length;if(-1===i)E=-1;else for(;b<e.length;){const O=e[b++];if("number"==typeof O){if(O===i){E=-1;break}if(O>i){E=b-1;break}}}for(;b<e.length;){const O=e[b];if("number"==typeof O)break;if(O===o){if(null===l)return void(null!==f&&(e[b+1]=f));if(l===e[b+1])return void(e[b+2]=f)}b++,null!==l&&b++,null!==f&&b++}-1!==E&&(e.splice(E,0,i),b=E+1),e.splice(b++,0,o),null!==l&&e.splice(b++,0,l),null!==f&&e.splice(b++,0,f)}const gl="ng-template";function nd(e,i,o,l){let f=0;if(l){for(;f<i.length&&"string"==typeof i[f];f+=2)if("class"===i[f]&&-1!==Ri(i[f+1].toLowerCase(),o,0))return!0}else if(xc(e))return!1;if(f=i.indexOf(1,f),f>-1){let b;for(;++f<i.length&&"string"==typeof(b=i[f]);)if(b.toLowerCase()===o)return!0}return!1}function xc(e){return 4===e.type&&e.value!==gl}function Zc(e,i,o){return i===(4!==e.type||o?e.value:gl)}function fe(e,i,o){let l=4;const f=e.attrs,b=null!==f?function Kn(e){for(let i=0;i<e.length;i++)if(Bs(e[i]))return i;return e.length}(f):0;let E=!1;for(let O=0;O<i.length;O++){const G=i[O];if("number"!=typeof G){if(!E)if(4&l){if(l=2|1&l,""!==G&&!Zc(e,G,o)||""===G&&1===i.length){if(ye(l))return!1;E=!0}}else if(8&l){if(null===f||!nd(e,f,G,o)){if(ye(l))return!1;E=!0}}else{const oe=i[++O],Fe=ee(G,f,xc(e),o);if(-1===Fe){if(ye(l))return!1;E=!0;continue}if(""!==oe){let Je;if(Je=Fe>b?"":f[Fe+1].toLowerCase(),2&l&&oe!==Je){if(ye(l))return!1;E=!0}}}}else{if(!E&&!ye(l)&&!ye(G))return!1;if(E&&ye(G))continue;E=!1,l=G|1&l}}return ye(l)||E}function ye(e){return!(1&e)}function ee(e,i,o,l){if(null===i)return-1;let f=0;if(l||!o){let b=!1;for(;f<i.length;){const E=i[f];if(E===e)return f;if(3===E||6===E)b=!0;else{if(1===E||2===E){let O=i[++f];for(;"string"==typeof O;)O=i[++f];continue}if(4===E)break;if(0===E){f+=4;continue}}f+=b?1:2}return-1}return function ur(e,i){let o=e.indexOf(4);if(o>-1)for(o++;o<e.length;){const l=e[o];if("number"==typeof l)return-1;if(l===i)return o;o++}return-1}(i,e)}function ze(e,i,o=!1){for(let l=0;l<i.length;l++)if(fe(e,i[l],o))return!0;return!1}function Ma(e,i){e:for(let o=0;o<i.length;o++){const l=i[o];if(e.length===l.length){for(let f=0;f<e.length;f++)if(e[f]!==l[f])continue e;return!0}}return!1}function Rr(e,i){return e?":not("+i.trim()+")":i}function La(e){let i=e[0],o=1,l=2,f="",b=!1;for(;o<e.length;){let E=e[o];if("string"==typeof E)if(2&l){const O=e[++o];f+="["+E+(O.length>0?'="'+O+'"':"")+"]"}else 8&l?f+="."+E:4&l&&(f+=" "+E);else""!==f&&!ye(E)&&(i+=Rr(b,f),f=""),l=E,b=b||!ye(l);o++}return""!==f&&(i+=Rr(b,f)),i}function ks(e){return Xt(()=>{const i=jc(e),o={...i,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Uo.OnPush,directiveDefs:null,pipeDefs:null,dependencies:i.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||da.Emulated,styles:e.styles||Pr,_:null,schemas:e.schemas||null,tView:null,id:""};Jc(o);
vendor: 4,446 bytes, line 3
3const l=e.dependencies;return o.directiveDefs=Ya(l,!1),o.pipeDefs=Ya(l,!0),o.id=function ml(e){let i=0;const o=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const f of o)i=Math.imul(31,i)+f.charCodeAt(0)|0;return i+=2147483648,"c"+i}(o),o})}function As(e){return wr(e)||Ws(e)}function Br(e){return null!==e}function mo(e){return Xt(()=>({type:e.type,bootstrap:e.bootstrap||Pr,declarations:e.declarations||Pr,imports:e.imports||Pr,exports:e.exports||Pr,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Xo(e,i){if(null==e)return fs;const o={};for(const l in e)if(e.hasOwnProperty(l)){const f=e[l];let b,E,O=go.None;Array.isArray(f)?(O=f[0],b=f[1],E=f[2]??b):(b=f,E=f),i?(o[b]=O!==go.None?[l,O]:l,i[b]=E):o[b]=l}return o}function yo(e){return Xt(()=>{const i=jc(e);return Jc(i),i})}function bc(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function wr(e){return e[pr]||null}function Ws(e){return e[os]||null}function So(e){return e[jr]||null}function Do(e){const i=wr(e)||Ws(e)||So(e);return null!==i&&i.standalone}function xo(e,i){const o=e[as]||null;if(!o&&!0===i)throw new Error(`Type ${qt(e)} does not have '\u0275mod' property.`);return o}function jc(e){const i={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:i,inputTransforms:null,inputConfig:e.inputs||fs,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Pr,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Xo(e.inputs,i),outputs:Xo(e.outputs),debugInfo:null}}function Jc(e){e.features?.forEach(i=>i(e))}function Ya(e,i){if(!e)return null;const o=i?So:As;return()=>("function"==typeof e?e():e).map(l=>o(l)).filter(Br)}function Ss(e){return{\u0275providers:e}}function el(...e){return{\u0275providers:vc(0,e),\u0275fromNgModule:!0}}function vc(e,...i){const o=[],l=new Set;let f;const b=E=>{o.push(E)};return qs(i,E=>{const O=E;_c(O,b,[],l)&&(f||=[],f.push(O))}),void 0!==f&&Ts(f,b),o}function Ts(e,i){for(let o=0;o<e.length;o++){const{ngModule:l,providers:f}=e[o];tl(f,b=>{i(b,l)})}}function _c(e,i,o,l){if(!(e=Et(e)))return!1;let f=null,b=_o(e);const E=!b&&wr(e);if(b||E){if(E&&!E.standalone)return!1;f=e}else{const G=e.ngModule;if(b=_o(G),!b)return!1;f=G}const O=l.has(f);if(E){if(O)return!1;if(l.add(f),E.dependencies){const G="function"==typeof E.dependencies?E.dependencies():E.dependencies;for(const oe of G)_c(oe,i,o,l)}}else{if(!b)return!1;{if(null!=b.imports&&!O){let oe;l.add(f);try{qs(b.imports,Fe=>{_c(Fe,i,o,l)&&(oe||=[],oe.push(Fe))})}finally{}void 0!==oe&&Ts(oe,i)}if(!O){const oe=fo(f)||(()=>new f);i({provide:f,useFactory:oe,deps:Pr},f),i({provide:Ba,useValue:f,multi:!0},f),i({provide:ms,useValue:()=>Qr(f),multi:!0},f)}const G=b.providers;if(null!=G&&!O){const oe=e;tl(G,Fe=>{i(Fe,oe)})}}}return f!==e&&void 0!==e.providers}function tl(e,i){for(let o of e)br(o)&&(o=o.\u0275providers),Array.isArray(o)?tl(o,i):i(o)}const rd=xt({provide:String,useValue:xt});function Aa(e){return null!==e&&"object"==typeof e&&rd in e}function jo(e){return"function"==typeof e}const cs=new Ee(""),zc={},nl={};let Yo;function ta(){return void 0===Yo&&(Yo=new ro),Yo}class bo{}class qo extends bo{get destroyed(){return this._destroyed}constructor(i,o,l,f){super(),this.parent=o,this.source=l,this.scopes=f,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Ac(i,E=>this.processProvider(E)),this.records.set(Wr,wa(void 0,this)),f.has("environment")&&this.records.set(bo,wa(void 0,this));const b=this.records.get(cs);null!=b&&"string"==typeof b.value&&this.scopes.add(b.value),this.injectorDefTypes=new Set(this.get(Ba,Pr,ki.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const i=C(null);try{for(const l of this._ngOnDestroyHooks)l.ngOnDestroy();const o=this._onDestroyHooks;this._onDestroyHooks=[];for(const l of o)l()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),
3C(i)}}onDestroy(i){return this.assertNotDestroyed(),this._onDestroyHooks.push(i),()=>this.removeOnDestroy(i)}runInContext(i){this.assertNotDestroyed();const o=Hr(this),l=kr(void 0);try{return i()}finally{Hr(o),kr(l)}}get(i,o=ka,l=ki.Default){if(this.assertNotDestroyed(),i.hasOwnProperty(Es))return i[Es](this);l=Ro(l);const b=Hr(this),E=kr(void 0);try{if(!(l&ki.SkipSelf)){let G=this.records.get(i);if(void 0===G){const oe=function Ul(e){return"function"==typeof e||"object"==typeof e&&e instanceof Ee}(i)&&lr(i);G=oe&&this.injectableDefInScope(oe)?wa(Fa(i),zc):null,this.records.set(i,G)}if(null!=G)return this.hydrate(i,G)}return(l&ki.Self?ta():this.parent).get(i,o=l&ki.Optional&&o===ka?null:o)}catch(O){if("NullInjectorError"===O.name){if((O[va]=O[va]||[]).unshift(qt(i)),b)throw O;return function Or(e,i,o,l){const f=e[va];throw i[Sa]&&f.unshift(i[Sa]),e.message=function _a(e,i,o,l=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let f=qt(i);if(Array.isArray(i))f=i.map(qt).join(" -> ");else if("object"==typeof i){let b=[];for(let E in i)if(i.hasOwnProperty(E)){let O=i[E];b.push(E+":"+("string"==typeof O?JSON.stringify(O):qt(O)))}f=`{${b.join(", ")}}`}return`${o}${l?"("+l+")":""}[${f}]: ${e.replace(Dc,"\n  ")}`}("\n"+e.message,f,o,l),e.ngTokenPath=f,e[va]=null,e}(O,i,"R3InjectorError",this.source)}throw O}finally{kr(E),Hr(b)}}resolveInjectorInitializers(){const i=C(null),o=Hr(this),l=kr(void 0);try{const b=this.get(ms,Pr,ki.Self);for(const E of b)E()}finally{Hr(o),kr(l),C(i)}}toString(){const i=[],o=this.records;for(const l of o.keys())i.push(qt(l));return`R3Injector[${i.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Fn(205,!1)}processProvider(i){let o=jo(i=Et(i))?i:Et(i&&i.provide);const l=function so(e){return Aa(e)?wa(void 0,e.useValue):wa(Fc(e),zc)}(i);if(!jo(i)&&!0===i.multi){let f=this.records.get(o);f||(f=wa(void 0,zc,!0),f.factory=()=>dr(f.multi),this.records.set(o,f)),o=i,f.multi.push(i)}this.records.set(o,l)}hydrate(i,o){const l=C(null);try{return o.value===zc&&(o.value=nl,o.value=o.factory()),"object"==typeof o.value&&o.value&&function yl(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(o.value)&&this._ngOnDestroyHooks.add(o.value),o.value}finally{C(l)}}injectableDefInScope(i){if(!i.providedIn)return!1;const o=Et(i.providedIn);return"string"==typeof o?"any"===o||this.scopes.has(o):this.injectorDefTypes.has(o)}removeOnDestroy(i){const o=this._onDestroyHooks.indexOf(i);-1!==o&&this._onDestroyHooks.splice(o,1)}}function Fa(e){const i=lr(e),o=null!==i?i.factory:fo(e);if(null!==o)return o;if(e instanceof Ee)throw new Fn(204,!1);if(e instanceof Function)return function Mc(e){if(e.length>0)throw new Fn(204,!1);const o=function ho(e){return e&&(e[ko]||e[be])||null}(e);return null!==o?()=>o.factory(e):()=>new e}(e);throw new Fn(204,!1)}function Fc(e,i,o){let l;if(jo(e)){const f=Et(e);return fo(f)||Fa(f)}if(Aa(e))l=()=>Et(e.useValue);else if(function Vc(e){return!(!e||!e.useFactory)}(e))l=()=>e.useFactory(...dr(e.deps||[]));else if(function Co(e){return!(!e||!e.useExisting)}(e))l=()=>Qr(Et(e.useExisting));else{const f=Et(e&&(e.useClass||e.provide));if(!function Vo(e){return!!e.deps}(e))return fo(f)||Fa(f);l=()=>new f(...dr(e.deps))}return l}function wa(e,i,o=!1){return{factory:e,value:i,multi:o?[]:void 0}}function Ac(e,i){for(const o of e)Array.isArray(o)?Ac(o,i):o&&br(o)?Ac(o.\u0275providers,i):i(o)}function Qa(e,i){e instanceof qo&&e.assertNotDestroyed();const l=Hr(e),f=kr(void 0);try{return i()}finally{Hr(l),kr(f)}}function Tc(){return void 0!==Ki()||null!=function gc(){return No}()}function Za(e){if(!Tc())throw new Fn(-203,!1)}const $i=0,wn=1,Ei=2,Ui=3,Gs=4,Vr=5,Eo=6,ao=7,Zr=8,Ds=9,Va=10,Ti=11,Cr=12,na=13,Ls=14,is=15,zo=16,sd=17,ia=18,ac=19,jl=20,Oc=21,il=22,Ta=23,_i=25,yu=1,cc=7,bl=9,vo=10;var Vl=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Vl||{});function Ir(e){return Array.isArray(e)&&"object"==typeof e[yu]}function ua(e){return Array.isArray(e)&&!0===e[yu]}function zl(e){return!!(4&e.flags)}
3function Hc(e){return e.componentOffset>-1}function rl(e){return!(1&~e.flags)}function za(e){return!!e.template}function Wc(e){return!!(512&e[Ei])}class Pc{constructor(i,o,l){this.previousValue=i,this.currentValue=o,this.firstChange=l}isFirstChange(){return this.firstChange}}function Qo(e,i,o,l){null!==i?i.applyValueToInputSignal(i,l):e[o]=l}function Ca(){return Mo}function Mo(e){return e.type.prototype.ngOnChanges&&(e.setInput=Al),ol}function ol(){const e=Ao(this),i=e?.current;if(i){const o=e.previous;if(o===fs)e.previous=i;else for(let l in i)o[l]=i[l];e.current=null,this.ngOnChanges(i)}}function Al(e,i,o,l,f){const b=this.declaredInputs[l],E=Ao(e)||function vl(e,i){return e[Us]=i}(e,{previous:fs,current:null}),O=E.current||(E.current={}),G=E.previous,oe=G[b];O[b]=new Pc(oe&&oe.currentValue,o,G===fs),Qo(e,i,f,o)}Ca.ngInherit=!0;const Us="__ngSimpleChanges__";function Ao(e){return e[Us]||null}const lc=function(e,i,o){},Dd="svg";function pi(e){for(;Array.isArray(e);)e=e[$i];return e}function co(e,i){return pi(i[e])}function ra(e,i){return pi(i[e.index])}function dc(e,i){return e.data[i]}function hr(e,i){return e[i]}function Ks(e,i){const o=i[e];return Ir(o)?o:o[$i]}function Gc(e){return!(128&~e[Ei])}function ec(e,i){return null==i?null:e[i]}function rs(e){e[sd]=0}function Lr(e){1024&e[Ei]||(e[Ei]|=1024,Gc(e)&&Ic(e))}function cl(e){return!!(9216&e[Ei]||e[Ta]?.dirty)}function ll(e){e[Va].changeDetectionScheduler?.notify(8),64&e[Ei]&&(e[Ei]|=1024),cl(e)&&Ic(e)}function Ic(e){e[Va].changeDetectionScheduler?.notify(0);let i=nr(e);for(;null!==i&&!(8192&i[Ei])&&(i[Ei]|=8192,Gc(i));)i=nr(i)}function $a(e,i){if(!(256&~e[Ei]))throw new Fn(911,!1);null===e[Oc]&&(e[Oc]=[]),e[Oc].push(i)}function nr(e){const i=e[Ui];return ua(i)?i[Ui]:i}const or={lFrame:Od(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let Gl=!1;function _l(){return or.bindingsEnabled}function dd(){return null!==or.skipHydrationRootTNode}function yn(){return or.lFrame.lView}function ar(){return or.lFrame.tView}function zr(e){return or.lFrame.contextLView=e,e[Zr]}function Xl(e){return or.lFrame.contextLView=null,e}function Js(){let e=Vu();for(;null!==e&&64===e.type;)e=e.parent;return e}function Vu(){return or.lFrame.currentTNode}function Kc(e,i){const o=or.lFrame;o.currentTNode=e,o.isParent=i}function Md(){return or.lFrame.isParent}function Yd(){or.lFrame.isParent=!1}function Ol(){return or.lFrame.contextLView}function Qd(){return Gl}function Fl(e){Gl=e}function Jo(){const e=or.lFrame;
vendor: 7,763 bytes, line 3
3let i=e.bindingRootIndex;return-1===i&&(i=e.bindingRootIndex=e.tView.bindingStartIndex),i}function wl(){return or.lFrame.bindingIndex}function Nc(){return or.lFrame.bindingIndex++}function tc(e){const i=or.lFrame,o=i.bindingIndex;return i.bindingIndex=i.bindingIndex+e,o}function ch(e,i){const o=or.lFrame;o.bindingIndex=o.bindingRootIndex=e,wu(i)}function wu(e){or.lFrame.currentDirectiveIndex=e}function tu(){return or.lFrame.currentQueryIndex}function Yl(e){or.lFrame.currentQueryIndex=e}function Td(e){const i=e[wn];return 2===i.type?i.declTNode:1===i.type?e[Vr]:null}function hd(e,i,o){if(o&ki.SkipSelf){let f=i,b=e;for(;!(f=f.parent,null!==f||o&ki.Host||(f=Td(b),null===f||(b=b[Ls],10&f.type))););if(null===f)return!1;i=f,e=b}const l=or.lFrame=nu();return l.currentTNode=i,l.lView=e,!0}function ql(e){const i=nu(),o=e[wn];or.lFrame=i,i.currentTNode=o.firstChild,i.lView=e,i.tView=o,i.contextLView=e,i.bindingIndex=o.bindingStartIndex,i.inI18n=!1}function nu(){const e=or.lFrame,i=null===e?null:e.child;return null===i?Od(e):i}function Od(e){const i={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=i),i}function Cu(){const e=or.lFrame;return or.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const iu=Cu;function Cc(){const e=Cu();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function $o(){return or.lFrame.selectedIndex}function Pl(e){or.lFrame.selectedIndex=e}function eo(){const e=or.lFrame;return dc(e.tView,e.selectedIndex)}function Il(){or.lFrame.currentNamespace=Dd}function dl(){!function Ec(){or.lFrame.currentNamespace=null}()}let Y=!0;function T(){return Y}function S(e){Y=e}function ce(e,i){for(let o=i.directiveStart,l=i.directiveEnd;o<l;o++){const b=e.data[o].type.prototype,{ngAfterContentInit:E,ngAfterContentChecked:O,ngAfterViewInit:G,ngAfterViewChecked:oe,ngOnDestroy:Fe}=b;E&&(e.contentHooks??=[]).push(-o,E),O&&((e.contentHooks??=[]).push(o,O),(e.contentCheckHooks??=[]).push(o,O)),G&&(e.viewHooks??=[]).push(-o,G),oe&&((e.viewHooks??=[]).push(o,oe),(e.viewCheckHooks??=[]).push(o,oe)),null!=Fe&&(e.destroyHooks??=[]).push(o,Fe)}}function je(e,i,o){zt(e,i,3,o)}function dt(e,i,o,l){(3&e[Ei])===o&&zt(e,i,o,l)}function Ct(e,i){let o=e[Ei];(3&o)===i&&(o&=16383,o+=1,e[Ei]=o)}function zt(e,i,o,l){const b=l??-1,E=i.length-1;let O=0;for(let G=void 0!==l?65535&e[sd]:0;G<E;G++)if("number"==typeof i[G+1]){if(O=i[G],null!=l&&O>=l)break}else i[G]<0&&(e[sd]+=65536),(O<b||-1==b)&&(jn(e,o,i,G),e[sd]=(4294901760&e[sd])+G+2),G++}function Vt(e,i){lc(4,e,i);const o=C(null);try{i.call(e)}finally{C(o),lc(5,e,i)}}function jn(e,i,o,l){const f=o[l]<0,b=o[l+1],O=e[f?-o[l]:o[l]];f?e[Ei]>>14<e[sd]>>16&&(3&e[Ei])===i&&(e[Ei]+=16384,Vt(O,b)):Vt(O,b)}const Mn=-1;class Si{constructor(i,o,l){this.factory=i,this.resolving=!1,this.canSeeViewProviders=o,this.injectImpl=l}}const fr={};class Gr{constructor(i,o){this.injector=i,this.parentInjector=o}get(i,o,l){l=Ro(l);const f=this.injector.get(i,fr,l);return f!==fr||o===fr?f:this.parentInjector.get(i,o,l)}}function U(e){return e!==Mn}function D(e){return 32767&e}function de(e,i){let o=function L(e){return e>>16}(e),l=i;for(;o>0;)l=l[Ls],o--;return l}let at=!0;function Ut(e){const i=at;return at=e,i}const Dn=255,ln=5;let Un=0;const Rn={};function Kr(e,i){const o=To(e,i);if(-1!==o)return o;const l=i[wn];l.firstCreatePass&&(e.injectorIndex=i.length,Ho(l.data,e),Ho(i,null),Ho(l.blueprint,null));const f=Xr(e,i),b=e.injectorIndex;if(U(f)){const E=D(f),O=de(f,i),G=O[wn].data;for(let oe=0;oe<8;oe++)i[b+oe]=O[E+oe]|G[E+oe]}return i[b+8]=f,b}function Ho(e,i){e.push(0,0,0,0,0,0,0,0,i)}function To(e,i){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===i[e.injectorIndex+8]?-1:e.injectorIndex}function Xr(e,i){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let o=0,l=null,f=i;for(;null!==f;){if(l=Eg(f),null===l)return Mn;if(o++,f=f[Ls],-1!==l.injectorIndex)return l.injectorIndex|o<<16}return Mn}function bs(e,i,o){!function Fi(e,i,o){let l;"string"==typeof o?l=o.charCodeAt(0)||0:o.hasOwnProperty(xr)&&(l=o[xr]),null==l&&(l=o[xr]=Un++);const f=l&Dn;i.data[e+(f>>ln)]|=1<<f}(e,i,o)}function Xc(e,i,o){if(o&ki.Optional||void 0!==e)return e;vr()}function to(e,i,o,l){if(o&ki.Optional&&void 0===l&&(l=null),!(o&(ki.Self|ki.Host))){const f=e[Ds],b=kr(void 0);try{return f?f.get(i,l,o&ki.Optional):Na(i,l,o&ki.Optional)}finally{kr(b)}}return Xc(l,0,o)}function Ha(e,i,o,l=ki.Default,f){if(null!==e){if(2048&i[Ei]&&!(l&ki.Self)){const E=function M0(e,i,o,l,f){let b=e,E=i;for(;null!==b&&null!==E&&2048&E[Ei]&&!(512&E[Ei]);){const O=vs(b,E,o,l|ki.Self,Rn);if(O!==Rn)return O;let G=b.parent;if(!G){const oe=E[jl];if(oe){const Fe=oe.get(o,Rn,l);if(Fe!==Rn)return Fe}G=Eg(E),E=E[Ls]}b=G}return f}(e,i,o,l,Rn);if(E!==Rn)return E}const b=vs(e,i,o,l,Rn);if(b!==Rn)return b}return to(i,o,l,f)}function vs(e,i,o,l,f){const b=function nv(e){if("string"==typeof e)return e.charCodeAt(0)||0;const i=e.hasOwnProperty(xr)?e[xr]:void 0;return"number"==typeof i?i>=0?i&Dn:x0:i}(o);if("function"==typeof b){if(!hd(i,e,l))return l&ki.Host?Xc(f,0,l):to(i,o,l,f);try{let E;if(E=b(l),null!=E||l&ki.Optional)return E;vr()}finally{iu()}}else if("number"==typeof b){let E=null,O=To(e,i),G=Mn,oe=l&ki.Host?i[is][Vr]:null;for((-1===O||l&ki.SkipSelf)&&(G=-1===O?Xr(e,i):i[O+8],G!==Mn&&wg(l,!1)?(E=i[wn],O=D(G),i=de(G,i)):O=-1);-1!==O;){const Fe=i[wn];if(Uh(b,O,Fe.data)){const Je=ul(O,i,o,E,l,oe);if(Je!==Rn)return Je}G=i[O+8],G!==Mn&&wg(l,i[wn].data[O+8]===oe)&&Uh(b,O,i)?(E=Fe,O=D(G),i=de(G,i)):O=-1}}return f}function ul(e,i,o,l,f,b){const E=i[wn],O=E.data[e+8],Fe=Nl(O,E,o,null==l?Hc(O)&&at:l!=E&&!!(3&O.type),f&ki.Host&&b===O);return null!==Fe?Eu(i,E,Fe,O):Rn}function Nl(e,i,o,l,f){const b=e.providerIndexes,E=i.data,O=1048575&b,G=e.directiveStart,Fe=b>>20,wt=f?O+Fe:e.directiveEnd;for(let Mt=l?O:O+Fe;Mt<wt;Mt++){const Ht=E[Mt];if(Mt<G&&o===Ht||Mt>=G&&Ht.type===o)return Mt}if(f){const Mt=E[G];if(Mt&&za(Mt)&&Mt.type===o)return G}return null}function Eu(e,i,o,l){let f=e[o];const b=i.data;if(function ji(e){return e instanceof Si}(f)){const E=f;E.resolving&&function Gn(e,i){throw i&&i.join(" > "),new Fn(-200,e)}(function Nt(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():it(e)}(b[o]));const O=Ut(E.canSeeViewProviders);E.resolving=!0;const oe=E.injectImpl?kr(E.injectImpl):null;hd(e,l,ki.Default);try{f=e[o]=E.factory(void 0,b,e,l),i.firstCreatePass&&o>=l.directiveStart&&function V(e,i,o){const{ngOnChanges:l,ngOnInit:f,ngDoCheck:b}=i.type.prototype;if(l){const E=Mo(i);(o.preOrderHooks??=[]).push(e,E),(o.preOrderCheckHooks??=[]).push(e,E)}f&&(o.preOrderHooks??=[]).push(0-e,f),b&&((o.preOrderHooks??=[]).push(e,b),(o.preOrderCheckHooks??=[]).push(e,b))}(o,b[o],i)}finally{null!==oe&&kr(oe),Ut(O),E.resolving=!1,iu()}}return f}function Uh(e,i,o){return!!(o[i+(e>>ln)]&1<<e)}function wg(e,i){return!(e&ki.Self||e&ki.Host&&i)}class ha{constructor(i,o){this._tNode=i,this._lView=o}get(i,o,l){return Ha(this._tNode,this._lView,i,Ro(l),o)}}function x0(){return new ha(Js(),yn())}function Cg(e){return Xt(()=>{const i=e.prototype.constructor,o=i[Pi]||jh(i),l=Object.prototype;let f=Object.getPrototypeOf(e.prototype).constructor;for(;f&&f!==l;){const b=f[Pi]||jh(f);if(b&&b!==o)return b;f=Object.getPrototypeOf(f)}return b=>new b})}function jh(e){return ot(e)?()=>{const i=jh(Et(e));return i&&i()}:fo(e)}
3function Eg(e){const i=e[wn],o=i.type;return 2===o?i.declTNode:1===o?e[Vr]:null}function lh(e){return function Cl(e,i){if("class"===i)return e.classes;if("style"===i)return e.styles;const o=e.attrs;if(o){const l=o.length;let f=0;for(;f<l;){const b=o[f];if(Bs(b))break;if(0===b)f+=2;else if("number"==typeof b)for(f++;f<l&&"string"==typeof o[f];)f++;else{if(b===i)return o[f+1];f+=2}}}return null}(Js(),e)}function Hf(e,i=null,o=null,l){const f=$h(e,i,o,l);return f.resolveInjectorInitializers(),f}function $h(e,i=null,o=null,l,f=new Set){const b=[o||Pr,el(e)];return l=l||("object"==typeof e?void 0:qt(e)),new qo(b,i||ta(),l||null,f)}class Rc{static{this.THROW_IF_NOT_FOUND=ka}static{this.NULL=new ro}static create(i,o){if(Array.isArray(i))return Hf({name:""},o,i,"");{const l=i.name??"";return Hf({name:l},i.parent,i.providers,l)}}static{this.\u0275prov=ii({token:Rc,providedIn:"any",factory:()=>Qr(Wr)})}static{this.__NG_ELEMENT_ID__=-1}}new Ee("").__NG_ELEMENT_ID__=e=>{const i=Js();if(null===i)throw new Fn(204,!1);if(2&i.type)return i.value;if(e&ki.Optional)return null;throw new Fn(204,!1)};function Wh(e){return e.ngOriginalError}const Ag=!0;let Hu=(()=>{class e{static{this.__NG_ELEMENT_ID__=Kf}static{this.__NG_ENV_ID__=o=>o}}return e})();class iv extends Hu{constructor(i){super(),this._lView=i}onDestroy(i){return $a(this._lView,i),()=>function cd(e,i){if(null===e[Oc])return;const o=e[Oc].indexOf(i);-1!==o&&e[Oc].splice(o,1)}(this._lView,i)}}function Kf(){return new iv(yn())}let Wu=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new en.t(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const o=this.taskId++;return this.pendingTasks.add(o),o}remove(o){this.pendingTasks.delete(o),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275prov=ii({token:e,providedIn:"root",factory:()=>new e})}}return e})();const fd=class su extends Ot.B{constructor(i=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=i,Tc()&&(this.destroyRef=gn(Hu,{optional:!0})??void 0,this.pendingTasks=gn(Wu,{optional:!0})??void 0)}emit(i){const o=C(null);try{super.next(i)}finally{C(o)}}subscribe(i,o,l){let f=i,b=o||(()=>null),E=l;if(i&&"object"==typeof i){const G=i;f=G.next?.bind(G),b=G.error?.bind(G),E=G.complete?.bind(G)}this.__isAsync&&(b=this.wrapInTimeout(b),f&&(f=this.wrapInTimeout(f)),E&&(E=this.wrapInTimeout(E)));const O=super.subscribe({next:f,error:b,complete:E});return i instanceof Gt.yU&&i.add(O),O}wrapInTimeout(i){return o=>{const l=this.pendingTasks?.add();setTimeout(()=>{i(o),void 0!==l&&this.pendingTasks?.remove(l)})}}};function Gh(...e){}function Tg(e){let i,o;function l(){e=Gh;try{void 0!==o&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(o),void 0!==i&&clearTimeout(i)}catch{}}return i=setTimeout(()=>{e(),l()}),"function"==typeof requestAnimationFrame&&(o=requestAnimationFrame(()=>{e(),l()})),()=>l()}function N0(e){return queueMicrotask(()=>e()),()=>{e=Gh}}const Xf="isAngularZone",Yf=Xf+"_ID";let sv=0;class fa{constructor(i){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new fd(!1),this.onMicrotaskEmpty=new fd(!1),this.onStable=new fd(!1),this.onError=new fd(!1);const{enableLongStackTrace:o=!1,shouldCoalesceEventChangeDetection:l=!1,shouldCoalesceRunChangeDetection:f=!1,scheduleInRootZone:b=Ag}=i;if(typeof Zone>"u")throw new Fn(908,!1);Zone.assertZonePatched();const E=this;E._nesting=0,E._outer=E._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(E._inner=E._inner.fork(new Zone.TaskTrackingZoneSpec)),o&&Zone.longStackTraceZoneSpec&&(E._inner=E._inner.fork(Zone.longStackTraceZoneSpec)),E.shouldCoalesceEventChangeDetection=!f&&l,E.shouldCoalesceRunChangeDetection=f,E.callbackScheduled=!1,E.scheduleInRootZone=b,function R0(e){const i=()=>{!function av(e){function i(){Tg(()=>{e.callbackScheduled=!1,Pg(e),e.isCheckStableRunning=!0,Og(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{i()}):e._outer.run(()=>{i()}),Pg(e))}(e)},o=sv++;e._inner=e._inner.fork({name:"angular",properties:{[Xf]:!0,[Yf]:o,[Yf+o]:!0},onInvokeTask:(l,f,b,E,O,G)=>
3{if(function L0(e){return Ng(e,"__ignore_ng_zone__")}(G))return l.invokeTask(b,E,O,G);try{return B0(e),l.invokeTask(b,E,O,G)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===E.type||e.shouldCoalesceRunChangeDetection)&&i(),qf(e)}},onInvoke:(l,f,b,E,O,G,oe)=>{try{return B0(e),l.invoke(b,E,O,G,oe)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function U0(e){return Ng(e,"__scheduler_tick__")}(G)&&i(),qf(e)}},onHasTask:(l,f,b,E)=>{l.hasTask(b,E),f===b&&("microTask"==E.change?(e._hasPendingMicrotasks=E.microTask,Pg(e),Og(e)):"macroTask"==E.change&&(e.hasPendingMacrotasks=E.macroTask))},onHandleError:(l,f,b,E)=>(l.handleError(b,E),e.runOutsideAngular(()=>e.onError.emit(E)),!1)})}(E)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(Xf)}static assertInAngularZone(){if(!fa.isInAngularZone())throw new Fn(909,!1)}static assertNotInAngularZone(){if(fa.isInAngularZone())throw new Fn(909,!1)}run(i,o,l){return this._inner.run(i,o,l)}runTask(i,o,l,f){const b=this._inner,E=b.scheduleEventTask("NgZoneEvent: "+f,i,ov,Gh,Gh);try{return b.runTask(E,o,l)}finally{b.cancelTask(E)}}runGuarded(i,o,l){return this._inner.runGuarded(i,o,l)}runOutsideAngular(i){return this._outer.run(i)}}const ov={};function Og(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Pg(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function B0(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function qf(e){e._nesting--,Og(e)}class Ig{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new fd,this.onMicrotaskEmpty=new fd,this.onStable=new fd,this.onError=new fd}run(i,o,l){return i.apply(o,l)}runGuarded(i,o,l){return i.apply(o,l)}runOutsideAngular(i){return i()}runTask(i,o,l,f){return i.apply(o,l)}}function Ng(e,i){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[i]}class ou{constructor(){this._console=console}handleError(i){const o=this._findOriginalError(i);this._console.error("ERROR",i),o&&this._console.error("ORIGINAL ERROR",o)}_findOriginalError(i){let o=i&&Wh(i);for(;o&&Wh(o);)o=Wh(o);return o||null}}const cv=new Ee("",{providedIn:"root",factory:()=>{const e=gn(fa),i=gn(ou);return o=>e.runOutsideAngular(()=>i.handleError(o))}});class j0{constructor(){this.destroyed=!1,this.listeners=null,this.errorHandler=gn(ou,{optional:!0}),this.destroyRef=gn(Hu),this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(i){if(this.destroyed)throw new Fn(953,!1);return(this.listeners??=[]).push(i),{unsubscribe:()=>{const o=this.listeners?.indexOf(i);void 0!==o&&-1!==o&&this.listeners?.splice(o,1)}}}emit(i){if(this.destroyed)throw new Fn(953,!1);if(null===this.listeners)return;const o=C(null);try{for(const l of this.listeners)try{l(i)}catch(f){this.errorHandler?.handleError(f)}}finally{C(o)}}}function lv(e){return new j0}function ku(e,i){return Rt(e,i)}const dv=(ku.required=function Kh(e){return Rt(zi,e)},ku);function uv(){return au(Js(),yn())}
3function au(e,i){return new Qf(ra(e,i))}let Qf=(()=>{class e{constructor(o){this.nativeElement=o}static{this.__NG_ELEMENT_ID__=uv}}return e})();function Rg(e){return e instanceof Qf?e.nativeElement:e}function cu(){return this._results[Symbol.iterator]()}class Bg{get changes(){return this._changes??=new fd}constructor(i=!1){this._emitDistinctChangesOnly=i,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const o=Bg.prototype;o[Symbol.iterator]||(o[Symbol.iterator]=cu)}get(i){return this._results[i]}map(i){return this._results.map(i)}filter(i){return this._results.filter(i)}find(i){return this._results.find(i)}reduce(i,o){return this._results.reduce(i,o)}forEach(i){this._results.forEach(i)}some(i){return this._results.some(i)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(i,o){this.dirty=!1;const l=function xs(e){return e.flat(Number.POSITIVE_INFINITY)}(i);(this._changesDetected=!function Xa(e,i,o){if(e.length!==i.length)return!1;for(let l=0;l<e.length;l++){let f=e[l],b=i[l];if(o&&(f=o(f),b=o(b)),b!==f)return!1}return!0}(this._results,l,o))&&(this._results=l,this.length=l.length,this.last=l[this.length-1],this.first=l[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(i){this._onDirty=i}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}}function Yh(e){return!(128&~e.flags)}const Qh=new Map;let Ln=0;function Ug(e){Qh.delete(e[ac])}const Jf="__ngContext__";function Yc(e,i){Ir(i)?(e[Jf]=i[ac],function Id(e){Qh.set(e[ac],e)}(i)):e[Jf]=i}function zg(e){return mv(e[Cr])}function Z0(e){return mv(e[Gs])}function mv(e){for(;null!==e&&!ua(e);)e=e[Gs];return e}let Wg;function vv(e){Wg=e}function Su(){if(void 0!==Wg)return Wg;if(typeof document<"u")return document;throw new Fn(210,!1)}const tp=new Ee("",{providedIn:"root",factory:()=>_v}),_v="ng",ly=new Ee(""),np=new Ee("",{providedIn:"platform",factory:()=>"unknown"}),Fv=new Ee(""),Gg=new Ee("",{providedIn:"root",factory:()=>Su().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Jt=()=>null;function pn(e,i,o=!1){return Jt(e,i,o)}const Nd=new Ee("",{providedIn:"root",factory:()=>!1});let dy,uy;function rp(e){return function wv(){if(void 0===dy&&(dy=null,Qn.trustedTypes))try{dy=Qn.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return dy}()?.createHTML(e)||e}function Cv(){if(void 0===uy&&(uy=null,Qn.trustedTypes))try{uy=Qn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return uy}function JC(e){return Cv()?.createHTML(e)||e}function tE(e){return Cv()?.createScriptURL(e)||e}class ef{constructor(i){this.changingThisBreaksApplicationSecurity=i}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${qn})`}}class v3 extends ef{getTypeName(){return"HTML"}}class _3 extends ef{getTypeName(){return"Style"}}class F3 extends ef{getTypeName(){return"Script"}}class w3 extends ef{getTypeName(){return"URL"}}class C3 extends ef{getTypeName(){return"ResourceURL"}}function Xu(e){return e instanceof ef?e.changingThisBreaksApplicationSecurity:e}function sp(e,i){const o=function E3(e){return e instanceof ef&&e.getTypeName()||null}(e);if(null!=o&&o!==i){if("ResourceURL"===o&&"URL"===i)return!0;throw new Error(`Required a safe ${i}, got a ${o} (see ${qn})`)}return o===i}function k3(e){return new v3(e)}function S3(e){return new _3(e)}function D3(e){return new F3(e)}function x3(e){return new w3(e)}function M3(e){return new C3(e)}class A3{constructor(i){this.inertDocumentHelper=i}getInertBodyElement(i){i="<body><remove></remove>"+i;try{const o=(new window.DOMParser).parseFromString(rp(i),"text/html").body;return null===o?this.inertDocumentHelper.getInertBodyElement(i):(o.firstChild?.remove(),o)}catch{return null}}}class T3{constructor(i){this.defaultDoc=i,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(i){const o=this.inertDocument.createElement("template");return o.innerHTML=rp(i),o}}const P3=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function hy(e){return(e=String(e)).match(P3)?e:"unsafe:"+e}function Yu(e){const i={};for(const o of e.split(","))i[o]=!0;return i}function Yg(...e){const i={};for(const o of e)for(const l in o)o.hasOwnProperty(l)&&(i[l]=!0);return i}const iE=Yu("area,br,col,hr,img,wbr"),rE=Yu("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),sE=Yu("rp,rt"),Ev=Yg(iE,Yg(rE,Yu("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Yg(sE,Yu("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Yg(sE,rE)),kv=Yu("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),oE=Yg(kv,Yu("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,c
3olspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Yu("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),I3=Yu("script,style,template");class N3{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(i){let o=i.firstChild,l=!0,f=[];for(;o;)if(o.nodeType===Node.ELEMENT_NODE?l=this.startElement(o):o.nodeType===Node.TEXT_NODE?this.chars(o.nodeValue):this.sanitizedSomething=!0,l&&o.firstChild)f.push(o),o=L3(o);else for(;o;){o.nodeType===Node.ELEMENT_NODE&&this.endElement(o);let b=B3(o);if(b){o=b;break}o=f.pop()}return this.buf.join("")}startElement(i){const o=aE(i).toLowerCase();if(!Ev.hasOwnProperty(o))return this.sanitizedSomething=!0,!I3.hasOwnProperty(o);this.buf.push("<"),this.buf.push(o);const l=i.attributes;for(let f=0;f<l.length;f++){const b=l.item(f),E=b.name,O=E.toLowerCase();if(!oE.hasOwnProperty(O)){this.sanitizedSomething=!0;continue}let G=b.value;kv[O]&&(G=hy(G)),this.buf.push(" ",E,'="',lE(G),'"')}return this.buf.push(">"),!0}endElement(i){const o=aE(i).toLowerCase();Ev.hasOwnProperty(o)&&!iE.hasOwnProperty(o)&&(this.buf.push("</"),this.buf.push(o),this.buf.push(">"))}chars(i){this.buf.push(lE(i))}}function B3(e){const i=e.nextSibling;if(i&&e!==i.previousSibling)throw cE(i);return i}function L3(e){const i=e.firstChild;if(i&&function R3(e,i){return(e.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,i))throw cE(i);return i}function aE(e){const i=e.nodeName;return"string"==typeof i?i:"FORM"}function cE(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const U3=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,j3=/([^\#-~ |!])/g;function lE(e){return e.replace(/&/g,"&amp;").replace(U3,function(i){return"&#"+(1024*(i.charCodeAt(0)-55296)+(i.charCodeAt(1)-56320)+65536)+";"}).replace(j3,function(i){return"&#"+i.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let fy;function dE(e,i){let o=null;try{fy=fy||function nE(e){const i=new T3(e);return function O3(){try{return!!(new window.DOMParser).parseFromString(rp(""),"text/html")}catch{return!1}}()?new A3(i):i}(e);let l=i?String(i):"";o=fy.getInertBodyElement(l);let f=5,b=l;do{if(0===f)throw new Error("Failed to sanitize html because the input is unstable");f--,l=b,b=o.innerHTML,o=fy.getInertBodyElement(l)}while(l!==b);return rp((new N3).sanitizeChildren(Sv(o)||o))}finally{if(o){const l=Sv(o)||o;for(;l.firstChild;)l.firstChild.remove()}}}function Sv(e){return"content"in e&&function V3(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var tf=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(tf||{});function uE(e){const i=qg();return i?JC(i.sanitize(tf.HTML,e)||""):sp(e,"HTML")?JC(Xu(e)):dE(Su(),it(e))}function hE(e){const i=qg();return i?i.sanitize(tf.STYLE,e)||"":sp(e,"Style")?Xu(e):it(e)}function Dv(e){const i=qg();return i?i.sanitize(tf.URL,e)||"":sp(e,"URL")?Xu(e):hy(it(e))}function xv(e){const i=qg();if(i)return tE(i.sanitize(tf.RESOURCE_URL,e)||"");if(sp(e,"ResourceURL"))return tE(Xu(e));throw new Fn(904,!1)}function fE(e,i,o){return function W3(e,i){return"src"===i&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===i&&("base"===e||"link"===e)?xv:Dv}(i,o)(e)}function qg(){const e=yn();return e&&e[Va].sanitizer}const G3=/^>|^->|<!--|-->|--!>|<!-$/g,K3=/(<|>)/g,X3="\u200b$1\u200b";function bE(e){return e.ownerDocument.defaultView}function vE(e){return e.ownerDocument}function pd(e){return e instanceof Function?e():e}var my=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(my||{});let Tv;function Ov(e,i){return Tv(e,i)}function ap(e,i,o,l,f){if(null!=l){let b,E=!1;ua(l)?b=l:Ir(l)&&(E=!0,l=l[$i]);const O=pi(l);0===e&&null!==o?null==f?xE(i,o,O):nf(i,o,O,f||null,!0):1===e&&null!==o?nf(i,o,O,f||null,!0):2===e?function Zg(e,i,o){e.removeChild(null,i,o)}(i,O,E):3===e&&i.destroyNode(O),null!=b&&function hM(e,i,o,l,f){const b=o[cc];b!==pi(o)&&ap(i,e,l,b,f);for(let O=vo;O<o.length;O++){const G=o[O];_y(G[wn],G,e,i,l,b)}}(i,e,b,o,f)}}function Iv(e,i){return e.createComment(function pE(e){return e.replace(G3,i=>i.replace(K3,X3))}(i))}function yy(e,i,o){return e.createElement(i,o)}function kE(e,i){i[Va].changeDetectionScheduler?.notify(9),_y(e,i,i[Ti],2,null,null)}function SE(e,i){const o=e[bl],l=i[Ui];(Ir(l)||i[is]!==l[Ui][is])&&(e[Ei]|=Vl.HasTransplantedViews),null===o?e[bl]=[i]:o.push(i)}function Nv(e,i){const o=e[bl],l=o.indexOf(i);o.splice(l,1)}function Qg(e,i){if(e.length<=vo)return;const o=vo+i,l=e[o];if(l){const f=l[zo];null!==f&&f!==e&&Nv(f,l),i>0&&(e[o-1][Gs]=l[Gs]);const b=es(e,vo+i);!function rM(e,i){kE(e,i),i[$i]=null,i[Vr]=null}(l[wn],l);const E=b[ia];null!==E&&E.detachView(b[wn]),l[Ui]=null,l[Gs]=null,l[Ei]&=-129}return l}function by(e,i){if(!(256&i[Ei])){const o=i[Ti];o.destroyNode&&_y(e,i,o,3,null,null),function oM(e){let i=e[Cr];if(!i)return Rv(e[wn],e);for(;i;){let o=null;if(Ir(i))o=i[Cr];else{const l=i[vo];l&&(o=l)}if(!o){for(;i&&!i[Gs]&&i!==e;)Ir(i)&&Rv(i[wn],i),i=i[Ui];null===i&&(i=e),Ir(i)&&Rv(i[wn],i),o=i&&i[Gs]}i=o}}(i)}}function Rv(e,i){if(256&i[Ei])return;const o=C(null);try{i[Ei]&=-129,i[Ei]|=256,i[Ta]&&xe(i[Ta]),function lM(e,i){let o;if(null!=e&&null!=(o=e.destroyHooks))for(let l=0;l<o.length;l+=2){const f=i[o[l]];if(!(f instanceof Si)){const b=o[l+1];if(Array.isArray(b))for(let E=0;E<b.length;E+=2){const O=f[b[E]],G=b[E+1];lc(4,O,G);try{G.call(O)}finally{lc(5,O,G)}}else{lc(4,f,b);try{b.call(f)}finally{lc(5,f,b)}}}}}(e,i),function cM(e,i){const o=e.cleanup,l=i[ao];if(null!==o)for(let b=0;b<o.length-1;b+=2)if("string"==typeof o[b]){const E=o[b+3];E>=0?l[E]():l[-E].unsubscribe(),b+=2}else o[b].call(l[o[b+1]]);null!==l&&(i[ao]=null);const f=i[Oc];if(null!==f){i[Oc]=null;for(let b=0;b<f.length;b++)(0,f[b])()}}(e,i),1===i[wn].type&&i[Ti].destroy();const l=i[zo];if(null!==l&&ua(i[Ui])){l!==i[Ui]&&Nv(l,i);const f=i[ia];null!==f&&f.detachView(e)}Ug(i)}finally{C(o)}}function Bv(e,i,o){return function DE(e,i,o){let l=i;for(;null!==l&&168&l.type;)l=(i=l).parent;if(null===l)return o[$i];
3{const{componentOffset:f}=l;if(f>-1){const{encapsulation:b}=e.data[l.directiveStart+f];if(b===da.None||b===da.Emulated)return null}return ra(l,o)}}(e,i.parent,o)}function nf(e,i,o,l,f){e.insertBefore(i,o,l,f)}function xE(e,i,o){e.appendChild(i,o)}function ME(e,i,o,l,f){null!==l?nf(e,i,o,l,f):xE(e,i,o)}function Lv(e,i){return e.parentNode(i)}function AE(e,i,o){return OE(e,i,o)}let Uv,OE=function TE(e,i,o){return 40&e.type?ra(e,o):null};function vy(e,i,o,l){const f=Bv(e,l,i),b=i[Ti],O=AE(l.parent||i[Vr],l,i);if(null!=f)if(Array.isArray(o))for(let G=0;G<o.length;G++)ME(b,f,o[G],O,!1);else ME(b,f,o,O,!1);void 0!==Uv&&Uv(b,l,i,o,f)}function rf(e,i){if(null!==i){const o=i.type;if(3&o)return ra(i,e);if(4&o)return jv(-1,e[i.index]);if(8&o){const l=i.child;if(null!==l)return rf(e,l);{const f=e[i.index];return ua(f)?jv(-1,f):pi(f)}}if(128&o)return rf(e,i.next);if(32&o)return Ov(i,e)()||pi(e[i.index]);{const l=IE(e,i);return null!==l?Array.isArray(l)?l[0]:rf(nr(e[is]),l):rf(e,i.next)}}return null}function IE(e,i){return null!==i?e[is][Vr].projection[i.projection]:null}function jv(e,i){const o=vo+e+1;if(o<i.length){const l=i[o],f=l[wn].firstChild;if(null!==f)return rf(l,f)}return i[cc]}function Vv(e,i,o,l,f,b,E){for(;null!=o;){if(128===o.type){o=o.next;continue}const O=l[o.index],G=o.type;if(E&&0===i&&(O&&Yc(pi(O),l),o.flags|=2),32&~o.flags)if(8&G)Vv(e,i,o.child,l,f,b,!1),ap(i,e,f,O,b);else if(32&G){const oe=Ov(o,l);let Fe;for(;Fe=oe();)ap(i,e,f,Fe,b);ap(i,e,f,O,b)}else 16&G?RE(e,i,l,o,f,b):ap(i,e,f,O,b);o=E?o.projectionNext:o.next}}function _y(e,i,o,l,f,b){Vv(o,l,e.firstChild,i,f,b,!1)}function RE(e,i,o,l,f,b){const E=o[is],G=E[Vr].projection[l.projection];if(Array.isArray(G))for(let oe=0;oe<G.length;oe++)ap(i,e,f,G[oe],b);else{let oe=G;const Fe=E[Ui];Yh(l)&&(oe.flags|=128),Vv(e,i,oe,Fe,f,b,!0)}}function BE(e,i,o){""===o?e.removeAttribute(i,"class"):e.setAttribute(i,"class",o)}function LE(e,i,o){const{mergedAttrs:l,classes:f,styles:b}=o;null!==l&&ts(e,i,l),null!==f&&BE(e,i,f),null!==b&&function pM(e,i,o){e.setAttribute(i,"style",o)}(e,i,b)}const Yr={};function UE(e=1){jE(ar(),yn(),$o()+e,!1)}function jE(e,i,o,l){if(!l)if(3&~i[Ei]){const b=e.preOrderHooks;null!==b&&dt(i,b,0,o)}else{const b=e.preOrderCheckHooks;null!==b&&je(i,b,o)}Pl(o)}function cp(e,i=ki.Default){const o=yn();return null===o?Qr(e,i):Ha(Js(),o,Et(e),i)}function VE(){throw new Error("invalid")}function zE(e,i,o,l,f,b){const E=C(null);try{let O=null;f&go.SignalBased&&(O=i[l][P]),null!==O&&void 0!==O.transformFn&&(b=O.transformFn(b)),f&go.HasDecoratorInputTransform&&(b=e.inputTransforms[l].call(i,b)),null!==e.setInput?e.setInput(i,O,b,o,l):Qo(i,O,l,b)}finally{C(E)}}function Fy(e,i,o,l,f,b,E,O,G,oe,Fe){const Je=i.blueprint.slice();return Je[$i]=f,Je[Ei]=204|l,(null!==oe||e&&2048&e[Ei])&&(Je[Ei]|=2048),rs(Je),Je[Ui]=Je[Ls]=e,Je[Zr]=o,Je[Va]=E||e&&e[Va],Je[Ti]=O||e&&e[Ti],Je[Ds]=G||e&&e[Ds]||null,Je[Vr]=b,Je[ac]=function Lg(){return Ln++}(),Je[Eo]=Fe,Je[jl]=oe,Je[is]=2==i.type?e[is]:Je,Je}function sf(e,i,o,l,f){let b=e.data[i];if(null===b)b=function zv(e,i,o,l,f){const b=Vu(),E=Md(),G=e.data[i]=function wM(e,i,o,l,f,b){let E=i?i.injectorIndex:-1,O=0;return dd()&&(O|=128),{type:o,index:l,insertBeforeIndex:null,injectorIndex:E,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:O,providerIndexes:0,value:f,attrs:b,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:i,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,E?b:b&&b.parent,o,i,l,f);return null===e.firstChild&&(e.firstChild=G),null!==b&&(E?null==b.child&&null!==G.parent&&(b.child=G):null===b.next&&(b.next=G,G.prev=b)),G}(e,i,o,l,f),function Zd(){return or.lFrame.inI18n}()&&(b.flags|=32);else if(64&b.type){b.type=o,b.value=l,b.attrs=f;const E=function Xd(){const e=or.lFrame,i=e.currentTNode;return e.isParent?i:i.parent}();b.injectorIndex=null===E?-1:E.injectorIndex}return Kc(b,!0),b}function Jg(e,i,o,l){if(0===o)return-1;const f=i.length;for(let b=0;b<o;b++)i.push(l),e.blueprint.push(l),e.data.push(null);return f}function $E(e,i,o,l,f){const b=$o(),E=2&l;try{Pl(-1),E&&i.length>_i&&jE(e,i,_i,!1),lc(E?2:0,f),o(l,f)}finally{Pl(b),lc(E?3:1,f)}}function $v(e,i,o){if(zl(i)){const l=C(null);try{const b=i.directiveEnd;for(let E=i.directiveStart;E<b;E++){const O=e.data[E];O.contentQueries&&O.contentQueries(1,o[E],E)}}finally{C(l)}}}function Hv(e,i,o){_l()&&(function MM(e,i,o,l){const f=o.directiveStart,b=o.directiveEnd;Hc(o)&&function RM(e,i,o){const l=ra(i,e),f=HE(o);let E=16;o.signals?E=4096:o.onPush&&(E=64);const O=wy(e,Fy(e,f,null,E,l,i,null,e[Va].rendererFactory.createRenderer(l,o),null,null,null));e[i.index]=O}
3(i,o,e.data[f+o.componentOffset]),e.firstCreatePass||Kr(o,i),Yc(l,i);const E=o.initialInputs;for(let O=f;O<b;O++){const G=e.data[O],oe=Eu(i,e,O,o);Yc(oe,i),null!==E&&BM(0,O-f,oe,G,0,E),za(G)&&(Ks(o.index,i)[Zr]=Eu(i,e,O,o))}}(e,i,o,ra(o,i)),!(64&~o.flags)&&YE(e,i,o))}function Wv(e,i,o=ra){const l=i.localNames;if(null!==l){let f=i.index+1;for(let b=0;b<l.length;b+=2){const E=l[b+1],O=-1===E?o(i,e):e[E];e[f++]=O}}}function HE(e){const i=e.tView;return null===i||i.incompleteFirstPass?e.tView=Gv(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):i}function Gv(e,i,o,l,f,b,E,O,G,oe,Fe){const Je=_i+l,wt=Je+f,Mt=function mM(e,i){const o=[];for(let l=0;l<i;l++)o.push(l<e?null:Yr);return o}(Je,wt),Ht="function"==typeof oe?oe():oe;return Mt[wn]={type:e,blueprint:Mt,template:o,queries:null,viewQuery:O,declTNode:i,data:Mt.slice().fill(null,Je),bindingStartIndex:Je,expandoStartIndex:wt,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof b?b():b,pipeRegistry:"function"==typeof E?E():E,firstChild:null,schemas:G,consts:Ht,incompleteFirstPass:!1,ssrId:Fe}}let WE=()=>null;function GE(e,i,o,l,f){for(let b in i){if(!i.hasOwnProperty(b))continue;const E=i[b];if(void 0===E)continue;l??={};let O,G=go.None;Array.isArray(E)?(O=E[0],G=E[1]):O=E;let oe=b;if(null!==f){if(!f.hasOwnProperty(b))continue;oe=f[b]}0===e?KE(l,o,oe,O,G):KE(l,o,oe,O)}return l}function KE(e,i,o,l,f){let b;e.hasOwnProperty(o)?(b=e[o]).push(i,l):b=e[o]=[i,l],void 0!==f&&b.push(f)}function Jl(e,i,o,l,f,b,E,O){const G=ra(i,o);let Fe,oe=i.inputs;!O&&null!=oe&&(Fe=oe[l])?(Qv(e,o,Fe,l,f),Hc(i)&&function kM(e,i){const o=Ks(i,e);16&o[Ei]||(o[Ei]|=64)}(o,i.index)):3&i.type&&(l=function EM(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(l),f=null!=E?E(f,i.value||"",l):f,b.setProperty(G,l,f))}function Kv(e,i,o,l){if(_l()){const f=null===l?null:{"":-1},b=function TM(e,i){const o=e.directiveRegistry;let l=null,f=null;if(o)for(let b=0;b<o.length;b++){const E=o[b];if(ze(i,E.selectors,!1))if(l||(l=[]),za(E))if(null!==E.findHostDirectiveDefs){const O=[];f=f||new Map,E.findHostDirectiveDefs(E,O,f),l.unshift(...O,E),Xv(e,i,O.length)}else l.unshift(E),Xv(e,i,0);else f=f||new Map,E.findHostDirectiveDefs?.(E,l,f),l.push(E)}return null===l?null:[l,f]}(e,o);let E,O;null===b?E=O=null:[E,O]=b,null!==E&&XE(e,i,o,E,f,O),f&&function OM(e,i,o){if(i){const l=e.localNames=[];for(let f=0;f<i.length;f+=2){const b=o[i[f+1]];if(null==b)throw new Fn(-301,!1);l.push(i[f],b)}}}(o,l,f)}o.mergedAttrs=xa(o.mergedAttrs,o.attrs)}function XE(e,i,o,l,f,b){for(let oe=0;oe<l.length;oe++)bs(Kr(o,i),e,l[oe].type);!function IM(e,i,o){e.flags|=1,e.directiveStart=i,e.directiveEnd=i+o,e.providerIndexes=i}(o,e.data.length,l.length);for(let oe=0;oe<l.length;oe++){const Fe=l[oe];Fe.providersResolver&&Fe.providersResolver(Fe)}let E=!1,O=!1,G=Jg(e,i,l.length,null);for(let oe=0;oe<l.length;oe++){const Fe=l[oe];o.mergedAttrs=xa(o.mergedAttrs,Fe.hostAttrs),NM(e,o,i,G,Fe),PM(G,Fe,f),null!==Fe.contentQueries&&(o.flags|=4),(null!==Fe.hostBindings||null!==Fe.hostAttrs||0!==Fe.hostVars)&&(o.flags|=64);const Je=Fe.type.prototype;!E&&(Je.ngOnChanges||Je.ngOnInit||Je.ngDoCheck)&&((e.preOrderHooks??=[]).push(o.index),E=!0),!O&&(Je.ngOnChanges||Je.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(o.index),O=!0),G++}!function CM(e,i,o){const f=i.directiveEnd,b=e.data,E=i.attrs,O=[];let G=null,oe=null;for(let Fe=i.directiveStart;Fe<f;Fe++){const Je=b[Fe],wt=o?o.get(Je):null,Ht=wt?wt.outputs:null;G=GE(0,Je.inputs,Fe,G,wt?wt.inputs:null),oe=GE(1,Je.outputs,Fe,oe,Ht);const In=null===G||null===E||xc(i)?null:LM(G,Fe,E);
3O.push(In)}null!==G&&(G.hasOwnProperty("class")&&(i.flags|=8),G.hasOwnProperty("style")&&(i.flags|=16)),i.initialInputs=O,i.inputs=G,i.outputs=oe}(e,o,b)}function YE(e,i,o){const l=o.directiveStart,f=o.directiveEnd,b=o.index,E=function eu(){return or.lFrame.currentDirectiveIndex}();try{Pl(b);for(let O=l;O<f;O++){const G=e.data[O],oe=i[O];wu(O),(null!==G.hostBindings||0!==G.hostVars||null!==G.hostAttrs)&&AM(G,oe)}}finally{Pl(-1),wu(E)}}function AM(e,i){null!==e.hostBindings&&e.hostBindings(1,i)}function Xv(e,i,o){i.componentOffset=o,(e.components??=[]).push(i.index)}function PM(e,i,o){if(o){if(i.exportAs)for(let l=0;l<i.exportAs.length;l++)o[i.exportAs[l]]=e;za(i)&&(o[""]=e)}}function NM(e,i,o,l,f){e.data[l]=f;const b=f.factory||(f.factory=fo(f.type)),E=new Si(b,za(f),cp);e.blueprint[l]=E,o[l]=E,function DM(e,i,o,l,f){const b=f.hostBindings;if(b){let E=e.hostBindingOpCodes;null===E&&(E=e.hostBindingOpCodes=[]);const O=~i.index;(function xM(e){let i=e.length;for(;i>0;){const o=e[--i];if("number"==typeof o&&o<0)return o}return 0})(E)!=O&&E.push(O),E.push(o,l,b)}}(e,i,l,Jg(e,o,f.hostVars,Yr),f)}function Du(e,i,o,l,f,b){const E=ra(e,i);!function Yv(e,i,o,l,f,b,E){if(null==b)e.removeAttribute(i,f,o);else{const O=null==E?it(b):E(b,l||"",f);e.setAttribute(i,f,O,o)}}(i[Ti],E,b,e.value,o,l,f)}function BM(e,i,o,l,f,b){const E=b[i];if(null!==E)for(let O=0;O<E.length;)zE(l,o,E[O++],E[O++],E[O++],E[O++])}function LM(e,i,o){let l=null,f=0;for(;f<o.length;){const b=o[f];if(0!==b)if(5!==b){if("number"==typeof b)break;if(e.hasOwnProperty(b)){null===l&&(l=[]);const E=e[b];for(let O=0;O<E.length;O+=3)if(E[O]===i){l.push(b,E[O+1],E[O+2],o[f+1]);break}}f+=2}else f+=2;else f+=4}return l}function qE(e,i,o,l){return[e,!0,0,i,null,l,null,o,null,null]}function QE(e,i){const o=e.contentQueries;if(null!==o){const l=C(null);try{for(let f=0;f<o.length;f+=2){const E=o[f+1];if(-1!==E){const O=e.data[E];Yl(o[f]),O.contentQueries(2,i[E],E)}}}finally{C(l)}}}function wy(e,i){return e[Cr]?e[na][Gs]=i:e[Cr]=i,e[na]=i,i}function qv(e,i,o){Yl(0);const l=C(null);try{i(e,o)}finally{C(l)}}function ZE(e){return e[ao]??=[]}function JE(e){return e.cleanup??=[]}function Cy(e,i){const o=e[Ds],l=o?o.get(ou,null):null;l&&l.handleError(i)}function Qv(e,i,o,l,f){for(let b=0;b<o.length;){const E=o[b++],O=o[b++],G=o[b++];zE(e.data[E],i[E],l,O,G,f)}}function qu(e,i,o){const l=co(i,e);!function EE(e,i,o){e.setValue(i,o)}(e[Ti],l,o)}function UM(e,i){const o=Ks(i,e),l=o[wn];!function jM(e,i){for(let o=i.length;o<e.blueprint.length;o++)i.push(e.blueprint[o])}(l,o);const f=o[$i];null!==f&&null===o[Eo]&&(o[Eo]=pn(f,o[Ds])),Zv(l,o,o[Zr])}function Zv(e,i,o){ql(i);try{const l=e.viewQuery;null!==l&&qv(1,l,o);const f=e.template;null!==f&&$E(e,i,f,1,o),e.firstCreatePass&&(e.firstCreatePass=!1),i[ia]?.finishViewCreation(e),e.staticContentQueries&&QE(e,i),e.staticViewQueries&&qv(2,e.viewQuery,o);const b=e.components;null!==b&&function VM(e,i){for(let o=0;o<i.length;o++)UM(e,i[o])}(i,b)}catch(l){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),l}finally{i[Ei]&=-5,Cc()}}function lp(e,i,o,l){const f=C(null);try{const b=i.tView,G=Fy(e,b,o,4096&e[Ei]?4096:16,null,i,null,null,l?.injector??null,l?.embeddedViewInjector??null,l?.dehydratedView??null);G[zo]=e[i.index];const Fe=e[ia];return null!==Fe&&(G[ia]=Fe.createEmbeddedView(b)),Zv(b,G,o),G}finally{C(f)}}function tk(e,i){const o=vo+i;if(o<e.length)return e[o]}function af(e,i){return!i||null===i.firstChild||Yh(e)}function dp(e,i,o,l=!0){const f=i[wn];if(function aM(e,i,o,l){const f=vo+l,b=o.length;l>0&&(o[f-1][Gs]=i),l<b-vo?(i[Gs]=o[f],Qs(o,vo+l,i)):(o.push(i),i[Gs]=null),i[Ui]=o;const E=i[zo];null!==E&&o!==E&&SE(E,i);const O=i[ia];null!==O&&O.insertView(e),ll(i),i[Ei]|=128}(f,i,e,o),l){const E=jv(o,e),O=i[Ti],G=Lv(O,e[cc]);null!==G&&function sM(e,i,o,l,f,b){l[$i]=f,l[Vr]=i,_y(e,l,o,1,f,b)}(f,e[Vr],O,i,G,E)}const b=i[Eo];null!==b&&null!==b.firstChild&&(b.firstChild=null)}function Jv(e,i){const o=Qg(e,i);return void 0!==o&&by(o[wn],o),o}function em(e,i,o,l,f=!1){for(;null!==o;){if(128===o.type){o=f?o.projectionNext:o.next;continue}const b=i[o.index];null!==b&&l.push(pi(b)),ua(b)&&nk(b,l);const E=o.type;if(8&E)em(e,i,o.child,l);else if(32&E){const O=Ov(o,i);let G;for(;G=O();)l.push(G)}else if(16&E){const O=IE(i,o);
3if(Array.isArray(O))l.push(...O);else{const G=nr(i[is]);em(G[wn],G,O,l,!0)}}o=f?o.projectionNext:o.next}return l}function nk(e,i){for(let o=vo;o<e.length;o++){const l=e[o],f=l[wn].firstChild;null!==f&&em(l[wn],l,f,i)}e[cc]!==e[$i]&&i.push(e[cc])}let ik=[];const WM={...A,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Ic(e.lView)},consumerOnSignalRead(){this.lView[Ta]=this}},KM={...A,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let i=nr(e.lView);for(;i&&!rk(i[wn]);)i=nr(i);i&&Lr(i)},consumerOnSignalRead(){this.lView[Ta]=this}};function rk(e){return 2!==e.type}const XM=100;function Ey(e,i=!0,o=0){const l=e[Va],f=l.rendererFactory;f.begin?.();try{!function YM(e,i){const o=Qd();try{Fl(!0),e_(e,i);let l=0;for(;cl(e);){if(l===XM)throw new Fn(103,!1);l++,e_(e,1)}}finally{Fl(o)}}(e,o)}catch(E){throw i&&Cy(e,E),E}finally{f.end?.(),l.inlineEffectRunner?.flush()}}function qM(e,i,o,l){const f=i[Ei];if(!(256&~f))return;i[Va].inlineEffectRunner?.flush(),ql(i);let O=!0,G=null,oe=null;rk(e)?(oe=function zM(e){return e[Ta]??function $M(e){const i=ik.pop()??Object.create(WM);return i.lView=e,i}(e)}(i),G=Re(oe)):null===B()?(O=!1,oe=function GM(e){const i=e[Ta]??Object.create(KM);return i.lView=e,i}(i),G=Re(oe)):i[Ta]&&(xe(i[Ta]),i[Ta]=null);try{rs(i),function ud(e){return or.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==o&&$E(e,i,o,2,l);const Fe=!(3&~f);if(Fe){const Mt=e.preOrderCheckHooks;null!==Mt&&je(i,Mt,null)}else{const Mt=e.preOrderHooks;null!==Mt&&dt(i,Mt,0,null),Ct(i,0)}if(function QM(e){for(let i=zg(e);null!==i;i=Z0(i)){if(!(i[Ei]&Vl.HasTransplantedViews))continue;const o=i[bl];for(let l=0;l<o.length;l++)Lr(o[l])}}(i),ok(i,0),null!==e.contentQueries&&QE(e,i),Fe){const Mt=e.contentCheckHooks;null!==Mt&&je(i,Mt)}else{const Mt=e.contentHooks;null!==Mt&&dt(i,Mt,1),Ct(i,1)}!function gM(e,i){const o=e.hostBindingOpCodes;if(null!==o)try{for(let l=0;l<o.length;l++){const f=o[l];if(f<0)Pl(~f);else{const b=f,E=o[++l],O=o[++l];ch(E,b),O(2,i[b])}}}finally{Pl(-1)}}(e,i);const Je=e.components;null!==Je&&ck(i,Je,0);const wt=e.viewQuery;if(null!==wt&&qv(2,wt,l),Fe){const Mt=e.viewCheckHooks;null!==Mt&&je(i,Mt)}else{const Mt=e.viewHooks;null!==Mt&&dt(i,Mt,2),Ct(i,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),i[il]){for(const Mt of i[il])Mt();i[il]=null}i[Ei]&=-73}catch(Fe){throw Ic(i),Fe}finally{null!==oe&&(Le(oe,G),O&&function HM(e){e.lView[Ta]!==e&&(e.lView=null,ik.push(e))}(oe)),Cc()}}function ok(e,i){for(let o=zg(e);null!==o;o=Z0(o))for(let l=vo;l<o.length;l++)ak(o[l],i)}function ZM(e,i,o){ak(Ks(i,e),o)}function ak(e,i){Gc(e)&&e_(e,i)}function e_(e,i){const l=e[wn],f=e[Ei],b=e[Ta];let E=!!(0===i&&16&f);if(E||=!!(64&f&&0===i),E||=!!(1024&f),E||=!(!b?.dirty||!Ie(b)),E||=!1,b&&(b.dirty=!1),e[Ei]&=-9217,E)qM(l,e,l.template,e[Zr]);else if(8192&f){ok(e,1);const O=l.components;null!==O&&ck(e,O,1)}}function ck(e,i,o){for(let l=0;l<i.length;l++)ZM(e,i[l],o)}function tm(e,i){const o=Qd()?64:1088;for(e[Va].changeDetectionScheduler?.notify(i);e;){e[Ei]|=o;const l=nr(e);if(Wc(e)&&!l)return e;e=l}return null}class nm{get rootNodes(){const i=this._lView,o=i[wn];return em(o,i,o.firstChild,[])}constructor(i,o,l=!0){this._lView=i,this._cdRefInjectingView=o,this.notifyErrorHandler=l,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Zr]}set context(i){this._lView[Zr]=i}get destroyed(){return!(256&~this._lView[Ei])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const i=this._lView[Ui];if(ua(i)){const o=i[8],l=o?o.indexOf(this):-1;l>-1&&(Qg(i,l),es(o,l))}this._attachedToViewContainer=!1}by(this._lView[wn],this._lView)}onDestroy(i){$a(this._lView,i)}markForCheck(){tm(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[Ei]&=-129}reattach(){ll(this._lView),this._lView[Ei]|=128}detectChanges(){this._lView[Ei]|=1024,Ey(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Fn(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const i=Wc(this._lView),o=this._lView[zo];null!==o&&!i&&Nv(o,this._lView),kE(this._lView[wn],this._lView)}attachToAppRef(i){if(this._attachedToViewContainer)throw new Fn(902,!1);this._appRef=i;const o=Wc(this._lView),l=this._lView[zo];null!==l&&!o&&SE(l,this._lView),ll(this._lView)}}let im=(()=>{class e{static{this.__NG_ELEMENT_ID__=tA}}return e})();const JM=im,eA=class extends JM{constructor(i,o,l){super(),this._declarationLView=i,this._declarationTContainer=o,this.elementRef=l}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(i,o){return this.createEmbeddedViewImpl(i,o)}createEmbeddedViewImpl(i,o,l){const f=lp(this._declarationLView,this._declarationTContainer,i,{embeddedViewInjector:o,dehydratedView:l});return new nm(f)}};function tA(){return ky(Js(),yn())}
3function ky(e,i){return 4&e.type?new eA(i,e,au(e,i)):null}let Mk=()=>null;function lf(e,i){return Mk(e,i)}class hp{}const um=new Ee("",{providedIn:"root",factory:()=>!1}),Ak=new Ee(""),h_=new Ee("");class GA{}class Tk{}class XA{resolveComponentFactory(i){throw function KA(e){const i=Error(`No component factory found for ${qt(e)}.`);return i.ngComponent=e,i}(i)}}class Ty{static{this.NULL=new XA}}class f_{}let YA=(()=>{class e{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>function qA(){const e=yn(),o=Ks(Js().index,e);return(Ir(o)?o:e)[Ti]}()}}return e})(),QA=(()=>{class e{static{this.\u0275prov=ii({token:e,providedIn:"root",factory:()=>null})}}return e})();function gh(e){return!!xo(e)}function Py(e,i,o){let l=o?e.styles:null,f=o?e.classes:null,b=0;if(null!==i)for(let E=0;E<i.length;E++){const O=i[E];"number"==typeof O?b=O:1==b?f=Cn(f,O):2==b&&(l=Cn(l,O+": "+i[++E]+";"))}o?e.styles=l:e.stylesWithoutHost=l,o?e.classes=f:e.classesWithoutHost=f}class Nk extends Ty{constructor(i){super(),this.ngModule=i}resolveComponentFactory(i){const o=wr(i);return new pm(o,this.ngModule)}}function Rk(e,i){const o=[];for(const l in e){if(!e.hasOwnProperty(l))continue;const f=e[l];if(void 0===f)continue;const b=Array.isArray(f),E=b?f[0]:f;o.push(i?{propName:E,templateName:l,isSignal:!!((b?f[1]:go.None)&go.SignalBased)}:{propName:E,templateName:l})}return o}class pm extends Tk{get inputs(){const i=this.componentDef,o=i.inputTransforms,l=Rk(i.inputs,!0);if(null!==o)for(const f of l)o.hasOwnProperty(f.propName)&&(f.transform=o[f.propName]);return l}get outputs(){return Rk(this.componentDef.outputs,!1)}constructor(i,o){super(),this.componentDef=i,this.ngModule=o,this.componentType=i.type,this.selector=function yc(e){return e.map(La).join(",")}(i.selectors),this.ngContentSelectors=i.ngContentSelectors?i.ngContentSelectors:[],this.isBoundToModule=!!o}create(i,o,l,f){const b=C(null);try{let E=(f=f||this.ngModule)instanceof bo?f:f?.injector;E&&null!==this.componentDef.getStandaloneInjector&&(E=this.componentDef.getStandaloneInjector(E)||E);const O=E?new Gr(i,E):i,G=O.get(f_,null);if(null===G)throw new Fn(407,!1);const Je={rendererFactory:G,sanitizer:O.get(QA,null),inlineEffectRunner:null,changeDetectionScheduler:O.get(hp,null)},wt=G.createRenderer(null,this.componentDef),Mt=this.componentDef.selectors[0][0]||"div",Ht=l?function yM(e,i,o,l){const b=l.get(Nd,!1)||o===da.ShadowDom,E=e.selectRootElement(i,b);return function bM(e){WE(e)}(E),E}(wt,l,this.componentDef.encapsulation,O):yy(wt,Mt,function e4(e){const i=e.toLowerCase();return"svg"===i?Dd:"math"===i?"math":null}(Mt));let In=512;this.componentDef.signals?In|=4096:this.componentDef.onPush||(In|=16);let mn=null;null!==Ht&&(mn=pn(Ht,O,!0));const di=Gv(0,null,null,1,0,null,null,null,null,null,null),On=Fy(null,di,null,In,null,null,Je,wt,O,null,mn);ql(On);let Tr,zs,Wo=null;try{const rc=this.componentDef;let Bl,Lf=null;rc.findHostDirectiveDefs?(Bl=[],Lf=new Map,rc.findHostDirectiveDefs(rc,Bl,Lf),Bl.push(rc)):Bl=[rc];const _0=function n4(e,i){const o=e[wn],l=_i;return e[l]=i,sf(o,l,2,"#host",null)}(On,Ht);Wo=function i4(e,i,o,l,f,b,E){const O=f[wn];!function r4(e,i,o,l){for(const f of e)i.mergedAttrs=xa(i.mergedAttrs,f.hostAttrs);null!==i.mergedAttrs&&(Py(i,i.mergedAttrs,!0),null!==o&&LE(l,o,i))}(l,e,i,E);let G=null;null!==i&&(G=pn(i,f[Ds]));const oe=b.rendererFactory.createRenderer(i,o);let Fe=16;o.signals?Fe=4096:o.onPush&&(Fe=64);const Je=Fy(f,HE(o),null,Fe,f[e.index],e,b,oe,null,null,G);return O.firstCreatePass&&Xv(O,e,l.length-1),wy(f,Je),f[e.index]=Je}(_0,Ht,rc,Bl,On,Je,wt),zs=dc(di,_i),Ht&&function o4(e,i,o,l){if(l)ts(e,o,["ng-version","18.2.14"]);else{const{attrs:f,classes:b}=function id(e){const i=[],o=[];let l=1,f=2;for(;l<e.length;){let b=e[l];if("string"==typeof b)2===f?""!==b&&i.push(b,e[++l]):8===f&&o.push(b);else{if(!ye(f))break;f=b}l++}return{attrs:i,classes:o}}(i.selectors[0]);f&&ts(e,o,f),b&&b.length>0&&BE(e,o,b.join(" "))}}(wt,rc,Ht,l),void 0!==o&&function a4(e,i,o){const l=e.projection=[];for(let f=0;f<i.length;f++){const b=o[f];l.push(null!=b?Array.from(b):null)}}(zs,this.ngContentSelectors,o),Tr=function s4(e,i,o,l,f,b){const E=Js(),O=f[wn],G=ra(E,f);XE(O,f,E,o,null,l);for(let Fe=0;Fe<o.length;Fe++)Yc(Eu(f,O,E.directiveStart+Fe,E),f);YE(O,f,E),G&&Yc(G,f);
3const oe=Eu(f,O,E.directiveStart+E.componentOffset,E);if(e[Zr]=f[Zr]=oe,null!==b)for(const Fe of b)Fe(oe,i);return $v(O,E,f),oe}(Wo,rc,Bl,Lf,On,[c4]),Zv(di,On,null)}catch(rc){throw null!==Wo&&Ug(Wo),Ug(On),rc}finally{Cc()}return new t4(this.componentType,Tr,au(zs,On),On,zs)}finally{C(b)}}}class t4 extends GA{constructor(i,o,l,f,b){super(),this.location=l,this._rootLView=f,this._tNode=b,this.previousInputValues=null,this.instance=o,this.hostView=this.changeDetectorRef=new nm(f,void 0,!1),this.componentType=i}setInput(i,o){const l=this._tNode.inputs;let f;if(null!==l&&(f=l[i])){if(this.previousInputValues??=new Map,this.previousInputValues.has(i)&&Object.is(this.previousInputValues.get(i),o))return;const b=this._rootLView;Qv(b[wn],b,f,i,o),this.previousInputValues.set(i,o),tm(Ks(this._tNode.index,b),1)}}get injector(){return new ha(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(i){this.hostView.onDestroy(i)}}function c4(){const e=Js();ce(yn()[wn],e)}let Iy=(()=>{class e{static{this.__NG_ELEMENT_ID__=l4}}return e})();function l4(){return Uk(Js(),yn())}const d4=Iy,Bk=class extends d4{constructor(i,o,l){super(),this._lContainer=i,this._hostTNode=o,this._hostLView=l}get element(){return au(this._hostTNode,this._hostLView)}get injector(){return new ha(this._hostTNode,this._hostLView)}get parentInjector(){const i=Xr(this._hostTNode,this._hostLView);if(U(i)){const o=de(i,this._hostLView),l=D(i);return new ha(o[wn].data[l+8],o)}return new ha(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(i){const o=Lk(this._lContainer);return null!==o&&o[i]||null}get length(){return this._lContainer.length-vo}createEmbeddedView(i,o,l){let f,b;"number"==typeof l?f=l:null!=l&&(f=l.index,b=l.injector);const E=lf(this._lContainer,i.ssrId),O=i.createEmbeddedViewImpl(o||{},b,E);return this.insertImpl(O,f,af(this._hostTNode,E)),O}createComponent(i,o,l,f,b){const E=i&&!function lt(e){return"function"==typeof e}(i);let O;if(E)O=o;else{const Ht=o||{};O=Ht.index,l=Ht.injector,f=Ht.projectableNodes,b=Ht.environmentInjector||Ht.ngModuleRef}const G=E?i:new pm(wr(i)),oe=l||this.parentInjector;if(!b&&null==G.ngModule){const In=(E?oe:this.parentInjector).get(bo,null);In&&(b=In)}const Fe=wr(G.componentType??{}),Je=lf(this._lContainer,Fe?.id??null),Mt=G.create(oe,f,Je?.firstChild??null,b);return this.insertImpl(Mt.hostView,O,af(this._hostTNode,Je)),Mt}insert(i,o){return this.insertImpl(i,o,!0)}insertImpl(i,o,l){const f=i._lView;if(function ju(e){return ua(e[Ui])}(f)){const O=this.indexOf(i);if(-1!==O)this.detach(O);else{const G=f[Ui],oe=new Bk(G,G[Vr],G[Ui]);oe.detach(oe.indexOf(i))}}const b=this._adjustIndex(o),E=this._lContainer;return dp(E,f,b,l),i.attachToViewContainerRef(),Qs(m_(E),b,i),i}move(i,o){return this.insert(i,o)}indexOf(i){const o=Lk(this._lContainer);return null!==o?o.indexOf(i):-1}remove(i){const o=this._adjustIndex(i,-1),l=Qg(this._lContainer,o);l&&(es(m_(this._lContainer),o),by(l[wn],l))}detach(i){const o=this._adjustIndex(i,-1),l=Qg(this._lContainer,o);return l&&null!=es(m_(this._lContainer),o)?new nm(l):null}_adjustIndex(i,o=0){return i??this.length+o}};function Lk(e){return e[8]}function m_(e){return e[8]||(e[8]=[])}function Uk(e,i){let o;const l=i[e.index];return ua(l)?o=l:(o=qE(l,i,null,e),i[e.index]=o,wy(i,o)),jk(o,i,e,l),new Bk(o,e,i)}let jk=function zk(e,i,o,l){if(e[cc])return;let f;f=8&o.type?pi(l):function u4(e,i){const o=e[Ti],l=o.createComment(""),f=ra(i,e);return nf(o,Lv(o,f),l,function dM(e,i){return e.nextSibling(i)}(o,f),!1),l}(i,o),e[cc]=f},y_=()=>!1;class b_{constructor(i){this.queryList=i,this.matches=null}clone(){return new b_(this.queryList)}setDirty(){this.queryList.setDirty()}}class v_{constructor(i=[]){this.queries=i}createEmbeddedView(i){const o=i.queries;if(null!==o){const l=null!==i.contentQueries?i.contentQueries[0]:o.length,f=[];for(let b=0;b<l;b++){const E=o.getByIndex(b);f.push(this.queries[E.indexInDeclarationView].clone())}return new v_(f)}return null}insertView(i){this.dirtyQueriesWithMatches(i)}detachView(i){this.dirtyQueriesWithMatches(i)}finishViewCreation(i){this.dirtyQueriesWithMatches(i)}dirtyQueriesWithMatches(i){for(let o=0;o<this.queries.length;o++)null!==E_(i,o).matches&&this.queries[o].setDirty()}}class $k{constructor(i,o,l=null){this.flags=o,this.read=l,this.predicate="string"==typeof i?function v4(e){return e.split(",").map(i=>i.trim())}(i):i}}class __{constructor(i=[]){this.queries=i}elementStart(i,o){for(let l=0;l<this.queries.length;l++)this.queries[l].elementStart(i,o)}elementEnd(i){for(let o=0;o<this.queries.length;o++)this.queries[o].elementEnd(i)}embeddedTView(i){let o=null;for(let l=0;l<this.length;l++){const f=null!==o?o.length:0,b=this.getByIndex(l).embeddedTView(i,f);b&&(b.indexInDeclarationView=l,null!==o?o.push(b):o=[b])}return null!==o?new __(o):null}template(i,o){for(let l=0;l<this.queries.length;l++)this.queries[l].template(i,o)}getByIndex(i){return this.queries[i]}get length(){return this.queries.length}track(i){this.queries.push(i)}}class F_{constructor(i,o=-1){this.metadata=i,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=o}elementStart(i,o){this.isApplyingToNode(o)&&this.matchTNode(i,o)}elementEnd(i){this._declarationNodeIndex===i.index&&(this._appliesToNextNode=!1)}template(i,o){this.elementStart(i,o)}embeddedTView(i,o){return this.isApplyingToNode(i)?(this.crossesNgTemplate=!0,this.addMatch(-i.index,o),new F_(this.metadata)):null}isApplyingToNode(i){if(this._appliesToNextNode&&1&~this.metadata.flags){const o=this._declarationNodeIndex;let l=i.parent;for(;null!==l&&8&l.type&&l.index!==o;)l=l.parent;return o===(null!==l?l.index:-1)}return this._appliesToNextNode}
3matchTNode(i,o){const l=this.metadata.predicate;if(Array.isArray(l))for(let f=0;f<l.length;f++){const b=l[f];this.matchTNodeWithReadOption(i,o,g4(o,b)),this.matchTNodeWithReadOption(i,o,Nl(o,i,b,!1,!1))}else l===im?4&o.type&&this.matchTNodeWithReadOption(i,o,-1):this.matchTNodeWithReadOption(i,o,Nl(o,i,l,!1,!1))}matchTNodeWithReadOption(i,o,l){if(null!==l){const f=this.metadata.read;if(null!==f)if(f===Qf||f===Iy||f===im&&4&o.type)this.addMatch(o.index,-2);else{const b=Nl(o,i,f,!1,!1);null!==b&&this.addMatch(o.index,b)}else this.addMatch(o.index,l)}}addMatch(i,o){null===this.matches?this.matches=[i,o]:this.matches.push(i,o)}}function g4(e,i){const o=e.localNames;if(null!==o)for(let l=0;l<o.length;l+=2)if(o[l]===i)return o[l+1];return null}function y4(e,i,o,l){return-1===o?function m4(e,i){return 11&e.type?au(e,i):4&e.type?ky(e,i):null}(i,e):-2===o?function b4(e,i,o){return o===Qf?au(i,e):o===im?ky(i,e):o===Iy?Uk(i,e):void 0}(e,i,l):Eu(e,e[wn],o,i)}function Hk(e,i,o,l){const f=i[ia].queries[l];if(null===f.matches){const b=e.data,E=o.matches,O=[];for(let G=0;null!==E&&G<E.length;G+=2){const oe=E[G];O.push(oe<0?null:y4(i,b[oe],E[G+1],o.metadata.read))}f.matches=O}return f.matches}function w_(e,i,o,l){const f=e.queries.getByIndex(o),b=f.matches;if(null!==b){const E=Hk(e,i,f,o);for(let O=0;O<b.length;O+=2){const G=b[O];if(G>0)l.push(E[O/2]);else{const oe=b[O+1],Fe=i[-G];for(let Je=vo;Je<Fe.length;Je++){const wt=Fe[Je];wt[zo]===wt[Ui]&&w_(wt[wn],wt,oe,l)}if(null!==Fe[bl]){const Je=Fe[bl];for(let wt=0;wt<Je.length;wt++){const Mt=Je[wt];w_(Mt[wn],Mt,oe,l)}}}}}return l}function C_(e,i){return e[ia].queries[i].queryList}function Wk(e,i,o){const l=new Bg(!(4&~o));return function FM(e,i,o,l){const f=ZE(i);f.push(o),e.firstCreatePass&&JE(e).push(l,f.length-1)}(e,i,l,l.destroy),(i[ia]??=new v_).queries.push(new b_(l))-1}function Gk(e,i,o){const l=ar();return l.firstCreatePass&&(Xk(l,new $k(e,i,o),-1),!(2&~i)&&(l.staticViewQueries=!0)),Wk(l,yn(),i)}function Xk(e,i,o){null===e.queries&&(e.queries=new __),e.queries.track(new F_(i,o))}function E_(e,i){return e.queries.getByIndex(i)}function Yk(e,i){const o=e[wn],l=E_(o,i);return l.crossesNgTemplate?w_(o,e,i,[]):Hk(o,e,l,i)}const qk=new Set;function kl(e){qk.has(e)||(qk.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function Zk(e,i){kl("NgSignals");const o=function sn(e){const i=Object.create(nt);i.value=e;const o=()=>(X(i),i.value);return o[P]=i,o}(e),l=o[P];return i?.equal&&(l.equal=i.equal),o.set=f=>$e(l,f),o.update=f=>function rt(e,i){_e()||He(),$e(e,i(e.value))}(l,f),o.asReadonly=Jk.bind(o),o}function Jk(){const e=this[P];if(void 0===e.readonlyFn){const i=()=>this();i[P]=e,e.readonlyFn=i}return e.readonlyFn}function e2(e){return function Qk(e){return"function"==typeof e&&void 0!==e[P]}(e)&&"function"==typeof e.set}function k_(e,i){let o;const l=Se(()=>{o._dirtyCounter();const f=function F4(e,i){const o=e._lView,l=e._queryIndex;if(void 0===o||void 0===l||4&o[Ei])return i?void 0:Pr;const f=C_(o,l),b=Yk(o,l);return f.reset(b,Rg),i?f.first:f._changesDetected||void 0===e._flatValue?e._flatValue=f.toArray():e._flatValue}(o,e);if(i&&void 0===f)throw new Fn(-951,!1);return f});return o=l[P],o._dirtyCounter=Zk(0),o._flatValue=void 0,l}function s2(e,i){return function t2(){return k_(!0,!1)}()}const C4=(s2.required=function w4(e,i){return function n2(){return k_(!0,!0)}()},s2);function E4(e,i){return function i2(){return k_(!1,!1)}()}function o2(e){const i=Object.create(Yi),o=new j0;function l(){return X(i),a2(i.value),i.value}return i.value=e,l[P]=i,l.asReadonly=Jk.bind(l),l.set=f=>{i.equal(i.value,f)||($e(i,f),o.emit(f))},l.update=f=>{a2(i.value),l.set(f(i.value))},l.subscribe=o.subscribe.bind(o),l.destroyRef=o.destroyRef,l}function a2(e){if(e===zi)throw new Fn(952,!1)}function c2(e){return o2(e)}const S4=(c2.required=function k4(){return o2(zi)},c2);function S_(e){let i=function p2(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),o=!0;const l=[e];for(;i;){let f;if(za(e))f=i.\u0275cmp||i.\u0275dir;else{if(i.\u0275cmp)throw new Fn(903,!1);f=i.\u0275dir}if(f){if(o){l.push(f);const E=e;E.inputs=Ry(e.inputs),E.inputTransforms=Ry(e.inputTransforms),E.declaredInputs=Ry(e.declaredInputs),E.outputs=Ry(e.outputs);const O=f.hostBindings;O&&U4(e,O);const G=f.viewQuery,oe=f.contentQueries;if(G&&B4(e,G),oe&&L4(e,oe),N4(e,f),Sn(e.outputs,f.outputs),za(f)&&f.data.animation){const Fe=e.data;Fe.animation=(Fe.animation||[]).concat(f.data.animation)}}const b=f.features;if(b)for(let E=0;E<b.length;E++){const O=b[E];O&&O.ngInherit&&O(e),O===S_&&(o=!1)}}i=Object.getPrototypeOf(i)}!function R4(e){let i=0,o=null;for(let l=e.length-1;l>=0;l--){const f=e[l];f.hostVars=i+=f.hostVars,f.hostAttrs=xa(f.hostAttrs,o=xa(o,f.hostAttrs))}}(l)}function N4(e,i){for(const o in i.inputs){if(!i.inputs.hasOwnProperty(o)||e.inputs.hasOwnProperty(o))continue;const l=i.inputs[o];
3if(void 0!==l&&(e.inputs[o]=l,e.declaredInputs[o]=i.declaredInputs[o],null!==i.inputTransforms)){const f=Array.isArray(l)?l[0]:l;if(!i.inputTransforms.hasOwnProperty(f))continue;e.inputTransforms??={},e.inputTransforms[f]=i.inputTransforms[f]}}}function Ry(e){return e===fs?{}:e===Pr?[]:e}function B4(e,i){const o=e.viewQuery;e.viewQuery=o?(l,f)=>{i(l,f),o(l,f)}:i}function L4(e,i){const o=e.contentQueries;e.contentQueries=o?(l,f,b)=>{i(l,f,b),o(l,f,b)}:i}function U4(e,i){const o=e.hostBindings;e.hostBindings=o?(l,f)=>{i(l,f),o(l,f)}:i}function b2(e){const i=e.inputConfig,o={};for(const l in i)if(i.hasOwnProperty(l)){const f=i[l];Array.isArray(f)&&f[3]&&(o[l]=f[3])}e.inputTransforms=o}class df{}class v2{}function W4(e,i){return new x_(e,i??null,[])}class x_ extends df{constructor(i,o,l,f=!0){super(),this.ngModuleType=i,this._parent=o,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Nk(this);const b=xo(i);this._bootstrapComponents=pd(b.bootstrap),this._r3Injector=$h(i,o,[{provide:df,useValue:this},{provide:Ty,useValue:this.componentFactoryResolver},...l],qt(i),new Set(["environment"])),f&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const i=this._r3Injector;!i.destroyed&&i.destroy(),this.destroyCbs.forEach(o=>o()),this.destroyCbs=null}onDestroy(i){this.destroyCbs.push(i)}}class M_ extends v2{constructor(i){super(),this.moduleType=i}create(i){return new x_(this.moduleType,i,[])}}class _2 extends df{constructor(i){super(),this.componentFactoryResolver=new Nk(this),this.instance=null;const o=new qo([...i.providers,{provide:df,useValue:this},{provide:Ty,useValue:this.componentFactoryResolver}],i.parent||ta(),i.debugName,new Set(["environment"]));this.injector=o,i.runEnvironmentInitializers&&o.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(i){this.injector.onDestroy(i)}}function A_(e,i,o=null){return new _2({providers:e,parent:i,debugName:o,runEnvironmentInitializers:!0}).injector}function Ly(e){return!!T_(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function T_(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function xu(e,i,o){return e[i]=o}function mm(e,i){return e[i]}function hc(e,i,o){return!Object.is(e[i],o)&&(e[i]=o,!0)}function uf(e,i,o,l){const f=hc(e,i,o);return hc(e,i+1,l)||f}function Uy(e,i,o,l,f){const b=uf(e,i,o,l);return hc(e,i+2,f)||b}function Rd(e,i,o,l,f,b){const E=uf(e,i,o,l);return uf(e,i+2,f,b)||E}function ym(e,i,o,l,f,b,E,O,G,oe){const Fe=o+_i,Je=i.firstCreatePass?function Q4(e,i,o,l,f,b,E,O,G){const oe=i.consts,Fe=sf(i,e,4,E||null,O||null);Kv(i,o,Fe,ec(oe,G)),ce(i,Fe);const Je=Fe.tView=Gv(2,Fe,l,f,b,i.directiveRegistry,i.pipeRegistry,null,i.schemas,oe,null);return null!==i.queries&&(i.queries.template(i,Fe),Je.queries=i.queries.embeddedTView(Fe)),Fe}(Fe,i,e,l,f,b,E,O,G):i.data[Fe];Kc(Je,!1);const wt=F2(i,e,Je,o);T()&&vy(i,e,wt,Je),Yc(wt,e);const Mt=qE(wt,e,wt,Je);return e[Fe]=Mt,wy(e,Mt),function Vk(e,i,o){return y_(e,i,o)}(Mt,Je,e),rl(Je)&&Hv(i,e,Je),null!=G&&Wv(e,Je,oe),Je}function O_(e,i,o,l,f,b,E,O){const G=yn(),oe=ar();return ym(G,oe,e,i,o,l,f,ec(oe.consts,b),E,O),O_}let F2=function w2(e,i,o,l){return S(!0),i[Ti].createComment("")};function x2(e,i){if(null!==B())throw new Fn(-602,!1)}var yp=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(yp||{});let M2=(()=>{class e{constructor(){this.impl=null}execute(){this.impl?.execute()}static{this.\u0275prov=ii({token:e,providedIn:"root",factory:()=>new e})}}return e})();class vm{constructor(){this.ngZone=gn(fa),this.scheduler=gn(hp),this.errorHandler=gn(ou,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static{this.PHASES=[yp.EarlyRead,yp.Write,yp.MixedReadWrite,yp.Read]}execute(){this.executing=!0;for(const i of vm.PHASES)for(const o of this.sequences)if(!o.erroredOrDestroyed&&o.hooks[i])try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>o.hooks[i](o.pipelinedValue))}catch(l){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(l)}this.executing=!1;for(const i of this.sequences)i.afterRun(),i.once&&(this.sequences.delete(i),i.destroy());for(const i of this.deferredRegistrations)this.sequences.add(i);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(i){this.executing?this.deferredRegistrations.add(i):(this.sequences.add(i),this.scheduler.notify(6))}unregister(i){this.executing&&this.sequences.has(i)?(i.erroredOrDestroyed=!0,i.pipelinedValue=void 0,i.once=!0):(this.sequences.delete(i),this.deferredRegistrations.delete(i))}static{this.\u0275prov=ii({token:vm,providedIn:"root",factory:()=>new vm})}}class tT{constructor(i,o,l,f){this.impl=i,this.hooks=o,this.once=l,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=f?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}}function zy(e,i){!i?.injector&&Za();const o=i?.injector??gn(Rc);return function gd(e){return"browser"===(e??gn(Rc)).get(np)}(o)?(kl("NgAfterNextRender"),function A2(e,i,o,l){const f=i.get(M2);f.impl??=i.get(vm);const b=o?.phase??yp.MixedReadWrite,E=!0!==o?.manualCleanup?i.get(Hu):null,O=new tT(f.impl,function iT(e,i){if(e instanceof Function){const o=[void 0,void 0,void 0,void 0];return o[i]=e,o}return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}(e,b),l,E);return f.impl.register(O),O}(e,o,i,!0)):T2}const T2={destroy(){}};function Fm(e,i,o,l){const f=yn();return hc(f,Nc(),i)&&(ar(),Du(eo(),f,e,i,o,l)),Fm}function wp(e,i,o,l){return hc(e,Nc(),o)?i+it(o)+l:Yr}function yh(e,i,o,l,f,b){const O=uf(e,wl(),o,f);return tc(2),O?i+it(o)+l+it(f)+b:Yr}function gf(e,i,o,l,f,b,E,O){const oe=Uy(e,wl(),o,f,E);return tc(3),oe?i+it(o)+l+it(f)+b+it(E)+O:Yr}function wm(e,i,o,l,f,b,E,O,G,oe){const Fe=yn(),Je=gf(Fe,i,o,l,f,b,E,O);return Je!==Yr&&Du(eo(),Fe,e,Je,G,oe),wm}function vf(e,i){return e<<17|i<<2}function Ju(e){return e>>17&32767}function tb(e){return 2|e}function vh(e){return(131068&e)>>2}
vendor: 4,993 bytes, line 3
3function Z_(e,i){return-131069&e|i<<2}function nb(e){return 1|e}function rb(e,i,o,l){const f=e[o+1],b=null===i;let E=l?Ju(f):vh(f),O=!1;for(;0!==E&&(!1===O||b);){const oe=e[E+1];eF(e[E],i)&&(O=!0,e[E+1]=l?nb(oe):tb(oe)),E=l?Ju(oe):vh(oe)}O&&(e[o+1]=l?tb(f):nb(f))}function eF(e,i){return null===e||null==i||(Array.isArray(e)?e[1]:e)===i||!(!Array.isArray(e)||"string"!=typeof i)&&Da(e,i)>=0}const Pa={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function tF(e){return e.substring(Pa.key,Pa.keyEnd)}function Q2(e){return e.substring(Pa.value,Pa.valueEnd)}function nF(e,i){const o=Pa.textEnd;return o===i?-1:(i=Pa.keyEnd=function eS(e,i,o){for(;i<o&&e.charCodeAt(i)>32;)i++;return i}(e,Pa.key=i,o),_f(e,i,o))}function iF(e,i){const o=Pa.textEnd;let l=Pa.key=_f(e,i,o);return o===l?-1:(l=Pa.keyEnd=function tS(e,i,o){let l;for(;i<o&&(45===(l=e.charCodeAt(i))||95===l||(-33&l)>=65&&(-33&l)<=90||l>=48&&l<=57);)i++;return i}(e,l,o),l=Em(e,l,o),l=Pa.value=_f(e,l,o),l=Pa.valueEnd=function FT(e,i,o){let l=-1,f=-1,b=-1,E=i,O=E;for(;E<o;){const G=e.charCodeAt(E++);if(59===G)return O;34===G||39===G?O=E=eh(e,G,E,o):i===E-4&&85===b&&82===f&&76===l&&40===G?O=E=eh(e,41,E,o):G>32&&(O=E),b=f,f=l,l=-33&G}return O}(e,l,o),Em(e,l,o))}function rF(e){Pa.key=0,Pa.keyEnd=0,Pa.value=0,Pa.valueEnd=0,Pa.textEnd=e.length}function _f(e,i,o){for(;i<o&&e.charCodeAt(i)<=32;)i++;return i}function Em(e,i,o,l){return(i=_f(e,i,o))<o&&i++,i}function eh(e,i,o,l){let f=-1,b=o;for(;b<l;){const E=e.charCodeAt(b++);if(E==i&&92!==f)return b;f=92==E&&92===f?0:E}throw new Error}function sb(e,i,o){const l=yn();return hc(l,Nc(),i)&&Jl(ar(),eo(),l,e,i,l[Ti],o,!1),sb}function ob(e,i,o,l,f){const E=f?"class":"style";Qv(e,o,i.inputs[E],E,l)}function ab(e,i,o){return ed(e,i,o,!1),ab}function yd(e,i){return ed(e,i,null,!0),yd}function Ld(e){jd(db,CT,e,!1)}function CT(e,i){for(let o=function J2(e){return rF(e),iF(e,_f(e,0,Pa.textEnd))}(i);o>=0;o=iF(i,o))db(e,tF(i),Q2(i))}function cb(e){jd(oF,Ud,e,!0)}function Ud(e,i){for(let o=function Z2(e){return rF(e),nF(e,_f(e,0,Pa.textEnd))}(i);o>=0;o=nF(i,o))po(e,tF(i),!0)}function ed(e,i,o,l){const f=yn(),b=ar(),E=tc(2);b.firstUpdatePass&&sF(b,e,E,l),i!==Yr&&hc(f,E,i)&&Vd(b,b.data[$o()],f,f[Ti],e,f[E+1]=function cF(e,i){return null==e||""===e||("string"==typeof i?e+=i:"object"==typeof e&&(e=qt(Xu(e)))),e}(i,o),l,E)}function jd(e,i,o,l){const f=ar(),b=tc(2);f.firstUpdatePass&&sF(f,null,b,l);const E=yn();if(o!==Yr&&hc(E,b,o)){const O=f.data[$o()];if(Dm(O,l)&&!km(f,b)){let G=l?O.classesWithoutHost:O.stylesWithoutHost;null!==G&&(o=Cn(G,o||"")),ob(f,O,E,o,l)}else!function ub(e,i,o,l,f,b,E,O){f===Yr&&(f=Pr);let G=0,oe=0,Fe=0<f.length?f[0]:null,Je=0<b.length?b[0]:null;for(;null!==Fe||null!==Je;){const wt=G<f.length?f[G+1]:void 0,Mt=oe<b.length?b[oe+1]:void 0;let In,Ht=null;Fe===Je?(G+=2,oe+=2,wt!==Mt&&(Ht=Je,In=Mt)):null===Je||null!==Fe&&Fe<Je?(G+=2,Ht=Fe):(oe+=2,Ht=Je,In=Mt),null!==Ht&&Vd(e,i,o,l,Ht,In,E,O),Fe=G<f.length?f[G]:null,Je=oe<b.length?b[oe]:null}}(f,O,E,E[Ti],E[b+1],E[b+1]=function ET(e,i,o){if(null==o||""===o)return Pr;const l=[],f=Xu(o);if(Array.isArray(f))for(let b=0;b<f.length;b++)e(l,f[b],!0);else if("object"==typeof f)for(const b in f)f.hasOwnProperty(b)&&e(l,b,f[b]);else"string"==typeof f&&i(l,f);return l}(e,i,o),l,b)}}function km(e,i){return i>=e.expandoStartIndex}function sF(e,i,o,l){const f=e.data;if(null===f[o+1]){const b=f[$o()],E=km(e,o);Dm(b,l)&&null===i&&!E&&(i=!1),i=function nS(e,i,o,l){const f=function Ad(e){const i=or.lFrame.currentDirectiveIndex;return-1===i?null:e[i]}(e);let b=l?i.residualClasses:i.residualStyles;if(null===f)0===(l?i.classBindings:i.styleBindings)&&(o=Ep(o=lb(null,e,i,o,l),i.attrs,l),b=null);else{const E=i.directiveStylingLast;if(-1===E||e[E]!==f)if(o=lb(f,e,i,o,l),null===b){let G=function iS(e,i,o){const l=o?i.classBindings:i.styleBindings;if(0!==vh(l))return e[Ju(l)]}(e,i,l);void 0!==G&&Array.isArray(G)&&(G=lb(null,e,i,G[1],l),G=Ep(G,i.attrs,l),function Tu(e,i,o,l){e[Ju(o?i.classBindings:i.styleBindings)]=l}(e,i,l,G))}else b=function rS(e,i,o){let l;const f=i.directiveEnd;for(let b=1+i.directiveStylingLast;b<f;b++)l=Ep(l,e[b].hostAttrs,o);return Ep(l,i.attrs,o)}(e,i,l)}return void 0!==b&&(l?i.residualClasses=b:i.residualStyles=b),o}(f,b,i,l),function J_(e,i,o,l,f,b){let E=b?i.classBindings:i.styleBindings,O=Ju(E),G=vh(E);e[l]=o;let Fe,oe=!1;if(Array.isArray(o)?(Fe=o[1],(null===Fe||Da(o,Fe)>0)&&(oe=!0)):Fe=o,f)if(0!==G){const wt=Ju(e[O+1]);e[l+1]=vf(wt,O),0!==wt&&(e[wt+1]=Z_(e[wt+1],l)),e[O+1]=function X2(e,i){return 131071&e|i<<17}(e[O+1],l)}else e[l+1]=vf(O,0),0!==O&&(e[O+1]=Z_(e[O+1],l)),O=l;else e[l+1]=vf(G,0),0===O?O=l:e[G+1]=Z_(e[G+1],l),G=l;oe&&(e[l+1]=tb(e[l+1])),rb(e,Fe,l,!0),rb(e,Fe,l,!1),function ib(e,i,o,l,f){const b=f?e.residualClasses:e.residualStyles;null!=b&&"string"==typeof i&&Da(b,i)>=0&&(o[l+1]=nb(o[l+1]))}(i,Fe,e,l,b),E=vf(O,G),b?i.classBindings=E:i.styleBindings=E}(f,b,i,o,E,l)}}function lb(e,i,o,l,f){let b=null;const E=o.directiveEnd;let O=o.directiveStylingLast;
3for(-1===O?O=o.directiveStart:O++;O<E&&(b=i[O],l=Ep(l,b.hostAttrs,f),b!==e);)O++;return null!==e&&(o.directiveStylingLast=O),l}function Ep(e,i,o){const l=o?1:2;let f=-1;if(null!==i)for(let b=0;b<i.length;b++){const E=i[b];"number"==typeof E?f=E:f===l&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),po(e,E,!!o||i[++b]))}return void 0===e?null:e}function db(e,i,o){po(e,i,Xu(o))}function oF(e,i,o){const l=String(i);""!==l&&!l.includes(" ")&&po(e,l,o)}function Vd(e,i,o,l,f,b,E,O){if(!(3&i.type))return;const G=e.data,oe=G[O+1],Fe=function Y2(e){return!(1&~e)}(oe)?aF(G,i,o,f,vh(oe),E):void 0;Sm(Fe)||(Sm(b)||function Cm(e){return!(2&~e)}(oe)&&(b=aF(G,null,o,f,O,E)),function fM(e,i,o,l,f){if(i)f?e.addClass(o,l):e.removeClass(o,l);else{let b=-1===l.indexOf("-")?void 0:my.DashCase;null==f?e.removeStyle(o,l,b):("string"==typeof f&&f.endsWith("!important")&&(f=f.slice(0,-10),b|=my.Important),e.setStyle(o,l,f,b))}}(l,E,co($o(),o),f,b))}function aF(e,i,o,l,f,b){const E=null===i;let O;for(;f>0;){const G=e[f],oe=Array.isArray(G),Fe=oe?G[1]:G,Je=null===Fe;let wt=o[f+1];wt===Yr&&(wt=Je?Pr:void 0);let Mt=Je?Hs(wt,l):Fe===l?wt:void 0;if(oe&&!Sm(Mt)&&(Mt=Hs(G,l)),Sm(Mt)&&(O=Mt,E))return O;const Ht=e[f+1];f=E?Ju(Ht):vh(Ht)}if(null!==i){let G=b?i.residualClasses:i.residualStyles;null!=G&&(O=Hs(G,l))}return O}function Sm(e){return void 0!==e}function Dm(e,i){return!!(e.flags&(i?8:16))}function xm(e,i,o){jd(po,Ud,wp(yn(),e,i,o),!0)}function lF(e,i,o,l,f){jd(po,Ud,yh(yn(),e,i,o,l,f),!0)}class dS{destroy(i){}updateValue(i,o){}swap(i,o){const l=Math.min(i,o),f=Math.max(i,o),b=this.detach(f);if(f-l>1){const E=this.detach(l);this.attach(l,b),this.attach(f,E)}else this.attach(l,b)}move(i,o){this.attach(o,this.detach(i))}}function fF(e,i,o,l,f){return e===o&&Object.is(i,l)?1:Object.is(f(e,i),f(o,l))?-1:0}function pF(e,i,o,l){return!(void 0===i||!i.has(l)||(e.attach(o,i.get(l)),i.delete(l),0))}function gF(e,i,o,l,f){if(pF(e,i,l,o(l,f)))e.updateValue(l,f);else{const b=e.create(l,f);e.attach(l,b)}}function mF(e,i,o,l){const f=new Set;for(let b=i;b<=o;b++)f.add(l(b,e.at(b)));return f}class yF{constructor(){this.kvMap=new Map,this._vMap=void 0}has(i){return this.kvMap.has(i)}delete(i){if(!this.has(i))return!1;const o=this.kvMap.get(i);return void 0!==this._vMap&&this._vMap.has(o)?(this.kvMap.set(i,this._vMap.get(o)),this._vMap.delete(o)):this.kvMap.delete(i),!0}get(i){return this.kvMap.get(i)}set(i,o){if(this.kvMap.has(i)){let l=this.kvMap.get(i);void 0===this._vMap&&(this._vMap=new Map);const f=this._vMap;for(;f.has(l);)l=f.get(l);f.set(l,o)}else this.kvMap.set(i,o)}forEach(i){for(let[o,l]of this.kvMap)if(i(l,o),void 0!==this._vMap){const f=this._vMap;for(;f.has(l);)l=f.get(l),i(l,o)}}}function fb(e,i){kl("NgControlFlow");const o=yn(),l=Nc(),f=o[l]!==Yr?o[l]:-1,b=-1!==f?Mm(o,_i+f):void 0;if(hc(o,l,e)){const O=C(null);try{if(void 0!==b&&Jv(b,0),-1!==e){const G=_i+e,oe=Mm(o,G),Fe=mb(o[wn],G),Je=lf(oe,Fe.tView.ssrId);dp(oe,lp(o,Fe,i,{dehydratedView:Je}),0,af(Fe,Je))}}finally{C(O)}}else if(void 0!==b){const O=tk(b,0);void 0!==O&&(O[Zr]=i)}}class bF{constructor(i,o,l){this.lContainer=i,this.$implicit=o,this.$index=l}get $count(){return this.lContainer.length-vo}}function pb(e,i){return i}class uS{constructor(i,o,l){this.hasEmptyBlock=i,this.trackByFn=o,this.liveCollection=l}}function kp(e,i,o,l,f,b,E,O,G,oe,Fe,Je,wt){kl("NgControlFlow");const Mt=yn(),Ht=ar(),In=void 0!==G,mn=yn(),di=O?E.bind(mn[is][Zr]):E,On=new uS(In,di);mn[_i+e]=On,ym(Mt,Ht,e+1,i,o,l,f,ec(Ht.consts,b)),In&&ym(Mt,Ht,e+2,G,oe,Fe,Je,ec(Ht.consts,wt))}class FF extends dS{constructor(i,o,l){super(),this.lContainer=i,this.hostLView=o,this.templateTNode=l,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-vo}at(i){return this.getLView(i)[Zr].$implicit}attach(i,o){const l=o[Eo];this.needsIndexUpdate||=i!==this.length,dp(this.lContainer,o,i,af(this.templateTNode,l))}detach(i){return this.needsIndexUpdate||=i!==this.length-1,function wF(e,i){return Qg(e,i)}(this.lContainer,i)}create(i,o){const l=lf(this.lContainer,this.templateTNode.tView.ssrId),f=lp(this.hostLView,this.templateTNode,new bF(this.lContainer,o,i),{dehydratedView:l});return this.operationsCounter?.recordCreate(),f}destroy(i){by(i[wn],i),this.operationsCounter?.recordDestroy()}updateValue(i,o){this.getLView(i)[Zr].$implicit=o}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}
3updateIndexes(){if(this.needsIndexUpdate)for(let i=0;i<this.length;i++)this.getLView(i)[Zr].$index=i}getLView(i){return function fS(e,i){return tk(e,i)}(this.lContainer,i)}}function gb(e){const i=C(null),o=$o();try{const l=yn(),f=l[wn],b=l[o],E=o+1,O=Mm(l,E);if(void 0===b.liveCollection){const oe=mb(f,E);b.liveCollection=new FF(O,l,oe)}else b.liveCollection.reset();const G=b.liveCollection;if(function kT(e,i,o){let l,f,b=0,E=e.length-1;if(Array.isArray(i)){let G=i.length-1;for(;b<=E&&b<=G;){const oe=e.at(b),Fe=i[b],Je=fF(b,oe,b,Fe,o);if(0!==Je){Je<0&&e.updateValue(b,Fe),b++;continue}const wt=e.at(E),Mt=i[G],Ht=fF(E,wt,G,Mt,o);if(0!==Ht){Ht<0&&e.updateValue(E,Mt),E--,G--;continue}const In=o(b,oe),mn=o(E,wt),di=o(b,Fe);if(Object.is(di,mn)){const On=o(G,Mt);Object.is(On,In)?(e.swap(b,E),e.updateValue(E,Mt),G--,E--):e.move(E,b),e.updateValue(b,Fe),b++}else if(l??=new yF,f??=mF(e,b,E,o),pF(e,l,b,di))e.updateValue(b,Fe),b++,E++;else if(f.has(di))l.set(In,e.detach(b)),E--;else{const On=e.create(b,i[b]);e.attach(b,On),b++,E++}}for(;b<=G;)gF(e,l,o,b,i[b]),b++}else if(null!=i){const G=i[Symbol.iterator]();let oe=G.next();for(;!oe.done&&b<=E;){const Fe=e.at(b),Je=oe.value,wt=fF(b,Fe,b,Je,o);if(0!==wt)wt<0&&e.updateValue(b,Je),b++,oe=G.next();else{l??=new yF,f??=mF(e,b,E,o);const Mt=o(b,Je);if(pF(e,l,b,Mt))e.updateValue(b,Je),b++,E++,oe=G.next();else if(f.has(Mt)){const Ht=o(b,Fe);l.set(Ht,e.detach(b)),E--}else e.attach(b,e.create(b,Je)),b++,E++,oe=G.next()}}for(;!oe.done;)gF(e,l,o,e.length,oe.value),oe=G.next()}for(;b<=E;)e.destroy(e.detach(E--));l?.forEach(G=>{e.destroy(G)})}(G,e,b.trackByFn),G.updateIndexes(),b.hasEmptyBlock){const oe=Nc(),Fe=0===G.length;if(hc(l,oe,Fe)){const Je=o+2,wt=Mm(l,Je);if(Fe){const Mt=mb(f,Je),Ht=lf(wt,Mt.tView.ssrId);dp(wt,lp(l,Mt,void 0,{dehydratedView:Ht}),0,af(Mt,Ht))}else Jv(wt,0)}}}finally{C(i)}}function Mm(e,i){return e[i]}function mb(e,i){return dc(e,i)}function Sp(e,i,o,l){const f=yn(),b=ar(),E=_i+e,O=f[Ti],G=b.firstCreatePass?function yb(e,i,o,l,f,b){const E=i.consts,G=sf(i,e,2,l,ec(E,f));return Kv(i,o,G,ec(E,b)),null!==G.attrs&&Py(G,G.attrs,!1),null!==G.mergedAttrs&&Py(G,G.mergedAttrs,!0),null!==i.queries&&i.queries.elementStart(i,G),G}(E,b,f,i,o,l):b.data[E],oe=vb(b,f,G,O,i,e);f[E]=oe;const Fe=rl(G);return Kc(G,!0),LE(O,oe,G),!function pp(e){return!(32&~e.flags)}(G)&&T()&&vy(b,f,oe,G),0===function vu(){return or.lFrame.elementDepthCount}()&&Yc(oe,f),function Tl(){or.lFrame.elementDepthCount++}(),Fe&&(Hv(b,f,G),$v(b,G,f)),null!==l&&Wv(f,G),Sp}function Am(){let e=Js();Md()?Yd():(e=e.parent,Kc(e,!1));const i=e;(function Kl(e){return or.skipHydrationRootTNode===e})(i)&&function zf(){or.skipHydrationRootTNode=null}(),function _u(){or.lFrame.elementDepthCount--}();const o=ar();return o.firstCreatePass&&(ce(o,e),zl(e)&&o.queries.elementEnd(e)),null!=i.classesWithoutHost&&function ps(e){return!!(8&e.flags)}(i)&&ob(o,i,yn(),i.classesWithoutHost,!0),null!=i.stylesWithoutHost&&function Xs(e){return!!(16&e.flags)}(i)&&ob(o,i,yn(),i.stylesWithoutHost,!1),Am}function bb(e,i,o,l){return Sp(e,i,o,l),Am(),bb}let vb=(e,i,o,l,f,b)=>(S(!0),yy(l,f,function Qi(){return or.lFrame.currentNamespace}()));function Tm(e,i,o){const l=yn(),f=ar(),b=e+_i,E=f.firstCreatePass?function ST(e,i,o,l,f){const b=i.consts,E=ec(b,l),O=sf(i,e,8,"ng-container",E);return null!==E&&Py(O,E,!0),Kv(i,o,O,ec(b,f)),null!==i.queries&&i.queries.elementStart(i,O),O}(b,f,l,i,o):f.data[b];Kc(E,!0);const O=kF(f,l,E,e);return l[b]=O,T()&&vy(f,l,O,E),Yc(O,l),rl(E)&&(Hv(f,l,E),$v(f,E,l)),null!=o&&Wv(l,E),Tm}function Om(){let e=Js();const i=ar();return Md()?Yd():(e=e.parent,Kc(e,!1)),i.firstCreatePass&&(ce(i,e),zl(e)&&i.queries.elementEnd(e)),Om}function _b(e,i,o){return Tm(e,i,o),Om(),_b}let kF=(e,i,o,l)=>(S(!0),Iv(i[Ti],""));function SF(){return yn()}const _h=void 0;var mS=["en",[["a","p"],["AM","PM"],_h],[["AM","PM"],_h,_h],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],_h,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],_h,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}
3, {0}",_h,"{1} 'at' {0}",_h],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function gS(e){const o=Math.floor(Math.abs(e)),l=e.toString().replace(/^[^.]*\.?/,"").length;return 1===o&&0===l?1:5}];let Ff={};function yS(e,i,o){"string"!=typeof i&&(o=i,i=e[wf.LocaleId]),i=i.toLowerCase().replace(/_/g,"-"),Ff[i]=e,o&&(Ff[i][wf.ExtraData]=o)}function wb(e){const i=function bS(e){return e.toLowerCase().replace(/_/g,"-")}(e);let o=MF(i);if(o)return o;const l=i.split("-")[0];if(o=MF(l),o)return o;if("en"===l)return mS;throw new Fn(701,!1)}function xF(e){return wb(e)[wf.PluralCase]}function MF(e){return e in Ff||(Ff[e]=Qn.ng&&Qn.ng.common&&Qn.ng.common.locales&&Qn.ng.common.locales[e]),Ff[e]}var wf=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(wf||{});const Cb="en-US";let AF=Cb,zF=(e,i,o)=>{};function Nb(e,i,o,l){const f=yn(),b=ar(),E=Js();return Bb(b,f,f[Ti],E,e,i,l),Nb}function Bb(e,i,o,l,f,b,E){const O=rl(l),oe=e.firstCreatePass&&JE(e),Fe=i[Zr],Je=ZE(i);let wt=!0;if(3&l.type||E){const In=ra(l,i),mn=E?E(In):In,di=Je.length,On=E?zs=>E(pi(zs[l.index])):l.index;let Tr=null;if(!E&&O&&(Tr=function NS(e,i,o,l){const f=e.cleanup;if(null!=f)for(let b=0;b<f.length-1;b+=2){const E=f[b];if(E===o&&f[b+1]===l){const O=i[ao],G=f[b+2];return O.length>G?O[G]:null}"string"==typeof E&&(b+=2)}return null}(e,i,f,l.index)),null!==Tr)(Tr.__ngLastListenerFn__||Tr).__ngNextListenerFn__=b,Tr.__ngLastListenerFn__=b,wt=!1;else{b=Sf(l,i,Fe,b),zF(In,f,b);const zs=o.listen(mn,f,b);Je.push(b,zs),oe&&oe.push(f,On,di,di+1)}}else b=Sf(l,i,Fe,b);const Mt=l.outputs;let Ht;if(wt&&null!==Mt&&(Ht=Mt[f])){const In=Ht.length;if(In)for(let mn=0;mn<In;mn+=2){const Wo=i[Ht[mn]][Ht[mn+1]].subscribe(b),rc=Je.length;Je.push(b,Wo),oe&&oe.push(f,l.index,rc,-(rc+1))}}}function kf(e,i,o,l){const f=C(null);try{return lc(6,i,o),!1!==o(l)}catch(b){return Cy(e,b),!1}finally{lc(7,i,o),C(f)}}function Sf(e,i,o,l){return function f(b){if(b===Function)return l;tm(e.componentOffset>-1?Ks(e.index,i):i,5);let O=kf(i,o,l,b),G=f.__ngNextListenerFn__;for(;G;)O=kf(i,o,G,b)&&O,G=G.__ngNextListenerFn__;return O}}function wh(e=1){return function Ea(e){return(or.lFrame.contextLView=function Wl(e,i){for(;e>0;)i=i[Ls],e--;return i}(e,or.lFrame.contextLView))[Zr]}(e)}function $F(e,i){let o=null;const l=function Ft(e){const i=e.attrs;if(null!=i){const o=i.indexOf(5);if(!(1&o))return i[o+1]}return null}(e);for(let f=0;f<i.length;f++){const b=i[f];if("*"!==b){if(null===l?ze(e,b,!0):Ma(l,b))return f}else o=f}return o}function HF(e){const i=yn()[is][Vr];if(!i.projection){const l=i.projection=function wo(e,i){const o=[];for(let l=0;l<e;l++)o.push(i);return o}(e?e.length:1,null),f=l.slice();let b=i.child;for(;null!==b;){if(128!==b.type){const E=e?$F(b,e):0;null!==E&&(f[E]?f[E].projectionNext=b:l[E]=b,f[E]=b)}b=b.next}}}function Pp(e,i=0,o,l,f,b){const E=yn(),O=ar(),G=l?e+1:null;null!==G&&ym(E,O,G,l,f,b,null,o);const oe=sf(O,_i+e,16,null,o||null);null===oe.projection&&(oe.projection=i),Yd();const Je=!E[Eo]||dd();null===E[is][Vr].projection[oe.projection]&&null!==G?function Ip(e,i,o){const l=_i+o,f=i.data[l],b=e[l],E=lf(b,f.tView.ssrId);dp(b,lp(e,f,void 0,{dehydratedView:E}),0,af(f,E))}(E,O,G):Je&&32&~oe.flags&&function uM(e,i,o){RE(i[Ti],0,i,o,Bv(e,o,i),AE(o.parent||i[Vr],o,i))}(O,E,oe)}
3function Lb(e,i,o){return $m(e,"",i,"",o),Lb}function $m(e,i,o,l,f){const b=yn(),E=wp(b,i,o,l);return E!==Yr&&Jl(ar(),eo(),b,e,E,b[Ti],f,!1),$m}function Ch(e,i,o,l,f,b,E){const O=yn(),G=yh(O,i,o,l,f,b);return G!==Yr&&Jl(ar(),eo(),O,e,G,O[Ti],E,!1),Ch}function Np(e,i,o,l,f,b,E,O,G){const oe=yn(),Fe=gf(oe,i,o,l,f,b,E,O);return Fe!==Yr&&Jl(ar(),eo(),oe,e,Fe,oe[Ti],G,!1),Np}function XF(e,i,o,l){!function Kk(e,i,o,l){const f=ar();if(f.firstCreatePass){const b=Js();Xk(f,new $k(i,o,l),b.index),function _4(e,i){const o=e.contentQueries||(e.contentQueries=[]);i!==(o.length?o[o.length-1]:-1)&&o.push(e.queries.length-1,i)}(f,e),!(2&~o)&&(f.staticContentQueries=!0)}return Wk(f,yn(),o)}(e,i,o,l)}function YF(e,i,o){Gk(e,i,o)}function Ub(e){const i=yn(),o=ar(),l=tu();Yl(l+1);const f=E_(o,l);if(e.dirty&&function Uu(e){return!(4&~e[Ei])}(i)===!(2&~f.metadata.flags)){if(null===f.matches)e.reset([]);else{const b=Yk(i,l);e.reset(b,Rg),e.notifyOnChanges()}return!0}return!1}function Wm(){return C_(yn(),tu())}function qF(e,i,o,l){!function r2(e,i){const o=e[P];o._lView=yn(),o._queryIndex=i,o._queryList=C_(o._lView,i),o._queryList.onDirty(()=>o._dirtyCounter.update(l=>l+1))}(e,Gk(i,o,l))}function Km(e=1){Yl(tu()+e)}function Xm(e,i,o,l){o>=e.data.length&&(e.data[o]=null,e.blueprint[o]=null),i[o]=l}function QF(e){return hr(Ol(),_i+e)}function Hb(e,i=""){const o=yn(),l=ar(),f=e+_i,b=l.firstCreatePass?sf(l,f,1,i,null):l.data[f],E=Lp(l,o,b,i,e);o[f]=E,T()&&vy(l,o,E,b),Kc(b,!1)}let Lp=(e,i,o,l,f)=>(S(!0),function Pv(e,i){return e.createText(i)}(i[Ti],l));function Up(e){return uu("",e,""),Up}function uu(e,i,o){const l=yn(),f=wp(l,e,i,o);return f!==Yr&&qu(l,$o(),f),uu}function kh(e,i,o,l,f){const b=yn(),E=yh(b,e,i,o,l,f);return E!==Yr&&qu(b,$o(),E),kh}function Wb(e,i,o,l,f,b,E,O,G){const oe=yn(),Fe=function Cp(e,i,o,l,f,b,E,O,G,oe){const Je=Rd(e,wl(),o,f,E,G);return tc(4),Je?i+it(o)+l+it(f)+b+it(E)+O+it(G)+oe:Yr}(oe,e,i,o,l,f,b,E,O,G);
3return Fe!==Yr&&qu(oe,$o(),Fe),Wb}function Qm(e,i,o){e2(i)&&(i=i());const l=yn();return hc(l,Nc(),i)&&Jl(ar(),eo(),l,e,i,l[Ti],o,!1),Qm}function ow(e,i){const o=e2(e);return o&&e.set(i),o}function Kb(e,i){const o=yn(),l=ar(),f=Js();return Bb(l,o,o[Ti],f,e,i),Kb}const Zm={};function hu(e){const i=ar(),o=yn(),l=e+_i;return Kc(sf(i,l,128,null,null),!1),Xm(i,o,l,Zm),hu}function Jm(e){return kl("NgLet"),Xm(ar(),yn(),$o(),e),e}function Sh(e){const o=hr(Ol(),_i+e);if(o===Zm)throw new Fn(314,!1);return o}function Xb(e,i,o,l,f){if(e=Et(e),Array.isArray(e))for(let b=0;b<e.length;b++)Xb(e[b],i,o,l,f);else{const b=ar(),E=yn(),O=Js();let G=jo(e)?e:Et(e.provide);const oe=Fc(e),Fe=1048575&O.providerIndexes,Je=O.directiveStart,wt=O.providerIndexes>>20;if(jo(e)||!e.multi){const Mt=new Si(oe,f,cp),Ht=Yb(G,i,f?Fe:Fe+wt,Je);-1===Ht?(bs(Kr(O,E),b,G),xf(b,e,i.length),i.push(G),O.directiveStart++,O.directiveEnd++,f&&(O.providerIndexes+=1048576),o.push(Mt),E.push(Mt)):(o[Ht]=Mt,E[Ht]=Mt)}else{const Mt=Yb(G,i,Fe+wt,Je),Ht=Yb(G,i,Fe,Fe+wt),mn=Ht>=0&&o[Ht];if(f&&!mn||!f&&!(Mt>=0&&o[Mt])){bs(Kr(O,E),b,G);const di=function GS(e,i,o,l,f){const b=new Si(e,o,cp);return b.multi=[],b.index=i,b.componentProviders=0,Vp(b,f,l&&!o),b}(f?WS:HS,o.length,f,l,oe);!f&&mn&&(o[Ht].providerFactory=di),xf(b,e,i.length,0),i.push(G),O.directiveStart++,O.directiveEnd++,f&&(O.providerIndexes+=1048576),o.push(di),E.push(di)}else xf(b,e,Mt>-1?Mt:Ht,Vp(o[f?Ht:Mt],oe,!f&&l));!f&&l&&mn&&o[Ht].componentProviders++}}}function xf(e,i,o,l){const f=jo(i),b=function ci(e){return!!e.useClass}(i);if(f||b){const G=(b?Et(i.useClass):i).prototype.ngOnDestroy;if(G){const oe=e.destroyHooks||(e.destroyHooks=[]);if(!f&&i.multi){const Fe=oe.indexOf(o);-1===Fe?oe.push(o,[l,G]):oe[Fe+1].push(l,G)}else oe.push(o,G)}}}function Vp(e,i,o){return o&&e.componentProviders++,e.multi.push(i)-1}function Yb(e,i,o,l){for(let f=o;f<l;f++)if(i[f]===e)return f;return-1}function HS(e,i,o,l){return Dh(this.multi,[])}function WS(e,i,o,l){const f=this.multi;let b;if(this.providerFactory){const E=this.providerFactory.componentProviders,O=Eu(o,o[wn],this.providerFactory.index,l);b=O.slice(0,E),Dh(f,b);for(let G=E;G<O.length;G++)b.push(O[G])}else b=[],Dh(f,b);return b}function Dh(e,i){for(let o=0;o<e.length;o++)i.push((0,e[o])());return i}function aw(e,i=[]){return o=>{o.providersResolver=(l,f)=>function aa(e,i,o){const l=ar();if(l.firstCreatePass){const f=za(e);Xb(o,l.data,l.blueprint,f,!0),Xb(i,l.data,l.blueprint,f,!1)}}(l,f?f(e):e,i)}}let vd=(()=>{class e{constructor(o){this._injector=o,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(o){if(!o.standalone)return null;if(!this.cachedInjectors.has(o)){const l=vc(0,o.type),f=l.length>0?A_([l],this._injector,`Standalone[${o.type.name}]`):null;this.cachedInjectors.set(o,f)}return this.cachedInjectors.get(o)}ngOnDestroy(){try{for(const o of this.cachedInjectors.values())null!==o&&o.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=ii({token:e,providedIn:"environment",factory:()=>new e(Qr(bo))})}}return e})();function qb(e){kl("NgStandalone"),e.getStandaloneInjector=i=>i.get(vd).getOrCreateStandaloneInjector(e)}function lw(e,i,o){const l=Jo()+e,f=yn();return f[l]===Yr?xu(f,l,o?i.call(o):i()):mm(f,l)}function dw(e,i,o,l){return yw(yn(),Jo(),e,i,o,l)}function uw(e,i,o,l,f){return bw(yn(),Jo(),e,i,o,l,f)}function hw(e,i,o,l,f,b){return Hp(yn(),Jo(),e,i,o,l,f,b)}function fw(e,i,o,l,f,b,E,O,G){const oe=Jo()+e,Fe=yn(),Je=Rd(Fe,oe,o,l,f,b);return uf(Fe,oe+4,E,O)||Je?xu(Fe,oe+6,G?i.call(G,o,l,f,b,E,O):i(o,l,f,b,E,O)):mm(Fe,oe+6)}function pw(e,i,o,l,f,b,E,O,G,oe){const Fe=Jo()+e,Je=yn();let wt=Rd(Je,Fe,o,l,f,b);return Uy(Je,Fe+4,E,O,G)||wt?xu(Je,Fe+7,oe?i.call(oe,o,l,f,b,E,O,G):i(o,l,f,b,E,O,G)):mm(Je,Fe+7)}function mw(e,i,o,l){return function _w(e,i,o,l,f,b){let E=i+o,O=!1;for(let G=0;G<f.length;G++)hc(e,E++,f[G])&&(O=!0);return O?xu(e,E,l.apply(b,f)):$p(e,E)}(yn(),Jo(),e,i,o,l)}function $p(e,i){const o=e[i];return o===Yr?void 0:o}function yw(e,i,o,l,f,b){const E=i+o;return hc(e,E,f)?xu(e,E+1,b?l.call(b,f):l(f)):$p(e,E+1)}function bw(e,i,o,l,f,b,E){const O=i+o;return uf(e,O,f,b)?xu(e,O+2,E?l.call(E,f,b):l(f,b)):$p(e,O+2)}function Hp(e,i,o,l,f,b,E,O){const G=i+o;return Uy(e,G,f,b,E)?xu(e,G+3,O?l.call(O,f,b,E):l(f,b,E)):$p(e,G+3)}function Fw(e,i){const o=ar();let l;const f=e+_i;o.firstCreatePass?(l=function ZS(e,i){if(i)for(let o=i.length-1;o>=0;o--){const l=i[o];if(e===l.name)return l}}(i,o.pipeRegistry),o.data[f]=l,l.onDestroy&&(o.destroyHooks??=[]).push(f,l.onDestroy)):l=o.data[f];const b=l.factory||(l.factory=fo(l.type)),O=kr(cp);try{const G=Ut(!1),oe=b();return Ut(G),Xm(o,yn(),f,oe),oe}finally{kr(O)}}function ww(e,i,o){const l=e+_i,f=yn(),b=hr(f,l);return Wp(f,l)?yw(f,Jo(),i,b.transform,o,b):b.transform(o)}function Zb(e,i,o,l){const f=e+_i,b=yn(),E=hr(b,f);return Wp(b,f)?bw(b,Jo(),i,E.transform,o,l,E):E.transform(o,l)}function Jb(e,i,o,l,f){const b=e+_i,E=yn(),O=hr(E,b);return Wp(E,b)?Hp(E,Jo(),i,O.transform,o,l,f,O):O.transform(o,l,f)}function Cw(e,i,o,l,f,b){const E=e+_i,O=yn(),G=hr(O,E);return Wp(O,E)?function vw(e,i,o,l,f,b,E,O,G){const oe=i+o;return Rd(e,oe,f,b,E,O)?xu(e,oe+4,G?l.call(G,f,b,E,O):l(f,b,E,O)):$p(e,oe+4)}(O,Jo(),i,G.transform,o,l,f,b,G):G.transform(o,l,f,b)}function Wp(e,i){return e[wn].data[i].pure}function e0(e,i){return ky(e,i)}class Rw{constructor(i){this.full=i;const o=i.split(".");this.major=o[0],this.minor=o[1],this.patch=o.slice(2).join(".")}}const gD=new Rw("18.2.14");let Bw=(()=>{class e{log(o){console.log(o)}warn(o){console.warn(o)}static{this.\u0275fac=function(l){return new(l||e)}}static{this.\u0275prov=ii({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();const AD=new Ee(""),TD=new Ee("");let g1,aO=(()=>{class e{constructor(o,l,f){this._ngZone=o,this.registry=l,this._isZ
3oneStable=!0,this._callbacks=[],this.taskTrackingZone=null,g1||(function OD(e){g1=e}(f),f.addToWindow(l)),this._watchAngularEvents(),o.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{fa.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let o=this._callbacks.pop();clearTimeout(o.timeoutId),o.doneCb()}});else{let o=this.getPendingTasks();this._callbacks=this._callbacks.filter(l=>!l.updateCb||!l.updateCb(o)||(clearTimeout(l.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(o=>({source:o.source,creationLocation:o.creationLocation,data:o.data})):[]}addCallback(o,l,f){let b=-1;l&&l>0&&(b=setTimeout(()=>{this._callbacks=this._callbacks.filter(E=>E.timeoutId!==b),o()},l)),this._callbacks.push({doneCb:o,timeoutId:b,updateCb:f})}whenStable(o,l,f){if(f&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(o,l,f),this._runCallbacksIfReady()}registerApplication(o){this.registry.registerApplication(o,this)}unregisterApplication(o){this.registry.unregisterApplication(o)}findProviders(o,l,f){return[]}static{this.\u0275fac=function(l){return new(l||e)(Qr(fa),Qr(Kw),Qr(TD))}}static{this.\u0275prov=ii({token:e,factory:e.\u0275fac})}}return e})(),Kw=(()=>{class e{constructor(){this._applications=new Map}registerApplication(o,l){this._applications.set(o,l)}unregisterApplication(o){this._applications.delete(o)}unregisterAllApplications(){this._applications.clear()}getTestability(o){return this._applications.get(o)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(o,l=!0){return g1?.findTestabilityInTree(this,o,l)??null}static{this.\u0275fac=function(l){return new(l||e)}}static{this.\u0275prov=ii({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();function m1(e){return!!e&&"function"==typeof e.then}function Xw(e){return!!e&&"function"==typeof e.subscribe}const y1=new Ee("");let Yw=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((o,l)=>{this.resolve=o,this.reject=l}),this.appInits=gn(y1,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const o=[];for(const f of this.appInits){const b=f();if(m1(b))o.push(b);else if(Xw(b)){const E=new Promise((O,G)=>{b.subscribe({complete:O,error:G})});o.push(E)}}const l=()=>{this.done=!0,this.resolve()};Promise.all(o).then(()=>{l()}).catch(f=>{this.reject(f)}),0===o.length&&l(),this.initialized=!0}static{this.\u0275fac=function(l){return new(l||e)}}static{this.\u0275prov=ii({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const Oo=new Ee("");let fu=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=gn(cv),this.afterRenderManager=gn(M2),this.zonelessEnabled=gn(um),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new Ot.B,this.afterTick=new Ot.B,this.componentTypes=[],this.components=[],this.isStable=gn(Wu).hasPendingTasks.pipe((0,Wt.T)(o=>!o)),this._injector=gn(bo)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let o;return new Promise(l=>{o=this.isStable.subscribe({next:f=>{f&&l()}})}).finally(()=>{o.unsubscribe()})}get injector(){return this._injector}bootstrap(o,l){const f=o instanceof Tk;if(!this._injector.get(Yw).done)throw!f&&Do(o),new Fn(405,!1);let E;E=f?o:this._injector.get(Ty).resolveComponentFactory(o),this.componentTypes.push(E.componentType);const O=function b1(e){return e.isBoundToModule}(E)?void 0:this._injector.get(df),oe=E.create(Rc.NULL,[],l||E.selector,O),Fe=oe.location.nativeElement,Je=oe.injector.get(AD,null);return Je?.registerApplication(Fe),oe.onDestroy(()=>{this.detachView(oe.hostView),s0(this.components,oe),Je?.unregisterApplication(Fe)}),this._loadComponent(oe),oe}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new Fn(101,!1);const o=C(null);try{this._runningTick=!0,this.synchronize()}catch(l){this.internalErrorHandler(l)}finally{this._runningTick=!1,C(o),this.afterTick.next()}}synchronize(){let o=null;
3this._injector.destroyed||(o=this._injector.get(f_,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let l=0;for(;0!==this.dirtyFlags&&l++<10;)this.synchronizeOnce(o)}synchronizeOnce(o){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,7&this.dirtyFlags){const l=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(l);for(let{_lView:f,notifyErrorHandler:b}of this._views)a0(f,b,l,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),7&this.dirtyFlags)return}else o?.begin?.(),o?.end?.();8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:o})=>cl(o))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(o){const l=o;this._views.push(l),l.attachToAppRef(this)}detachView(o){const l=o;s0(this._views,l),l.detachFromAppRef()}_loadComponent(o){this.attachView(o.hostView),this.tick(),this.components.push(o);const l=this._injector.get(Oo,[]);[...this._bootstrapListeners,...l].forEach(f=>f(o))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(o=>o()),this._views.slice().forEach(o=>o.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(o){return this._destroyListeners.push(o),()=>s0(this._destroyListeners,o)}destroy(){if(this._destroyed)throw new Fn(406,!1);const o=this._injector;o.destroy&&!o.destroyed&&o.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(l){return new(l||e)}}static{this.\u0275prov=ii({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function s0(e,i){const o=e.indexOf(i);o>-1&&e.splice(o,1)}function a0(e,i,o,l){(o||cl(e))&&Ey(e,i,o&&!l?0:1)}class ND{constructor(i,o){this.ngModuleFactory=i,this.componentFactories=o}}let RD=(()=>{class e{compileModuleSync(o){return new M_(o)}compileModuleAsync(o){return Promise.resolve(this.compileModuleSync(o))}compileModuleAndAllComponentsSync(o){const l=this.compileModuleSync(o),b=pd(xo(o).declarations).reduce((E,O)=>{const G=wr(O);return G&&E.push(new pm(G)),E},[]);return new ND(l,b)}compileModuleAndAllComponentsAsync(o){return Promise.resolve(this.compileModuleAndAllComponentsSync(o))}clearCache(){}clearCacheFor(o){}getModuleId(o){}static{this.\u0275fac=function(l){return new(l||e)}}static{this.\u0275prov=ii({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),LD=(()=>{class e{constructor(){this.zone=gn(fa),this.changeDetectionScheduler=gn(hp),this.applicationRef=gn(fu)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(l){return new(l||e)}}static{this.\u0275prov=ii({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function c0({ngZoneFactory:e,ignoreChangesOutsideZone:i,scheduleInRootZone:o}){return e??=()=>new fa({...w1(),scheduleInRootZone:o}),[{provide:fa,useFactory:e},{provide:ms,multi:!0,useFactory:()=>{const l=gn(LD,{optional:!0});return()=>l.initialize()}},{provide:ms,multi:!0,useFactory:()=>{const l=gn(Zp);return()=>{l.initialize()}}},!0===i?{provide:Ak,useValue:!0}:[],{provide:h_,useValue:o??Ag}]}function w1(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let Zp=(()=>{class e{constructor(){this.subscription=new Gt.yU,this.initialized=!1,this.zone=gn(fa),this.pendingTasks=gn(Wu)}initialize(){if(this.initialized)return;this.initialized=!0;let o=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(o=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{fa.assertNotInAngularZone(),queueMicrotask(()=>{null!==o&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(o),o=null)})}
3))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{fa.assertInAngularZone(),o??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(l){return new(l||e)}}static{this.\u0275prov=ii({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Jp=(()=>{class e{constructor(){this.appRef=gn(fu),this.taskService=gn(Wu),this.ngZone=gn(fa),this.zonelessEnabled=gn(um),this.disableScheduling=gn(Ak,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new Gt.yU,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Yf):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(gn(h_,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Ig||!this.zoneIsDefined)}notify(o){if(!this.zonelessEnabled&&5===o)return;switch(o){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 7:this.appRef.deferredDirtyFlags|=8;break;default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;const l=this.useMicrotaskScheduler?N0:Tg;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>l(()=>this.tick())):this.ngZone.runOutsideAngular(()=>l(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Yf+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const o=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(l){throw this.taskService.remove(o),l}finally{this.cleanup()}this.useMicrotaskScheduler=!0,N0(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(o)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const o=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(o)}}static{this.\u0275fac=function(l){return new(l||e)}}static{this.\u0275prov=ii({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const k1=new Ee("",{providedIn:"root",factory:()=>gn(k1,ki.Optional|ki.SkipSelf)||function VD(){return typeof $localize<"u"&&$localize.locale||Cb}()}),zD=new Ee("",{providedIn:"root",factory:()=>"USD"}),If=new Ee("");function Mh(e){return!e.moduleRef}let pu=null;const Ah=new Ee("");function XD(){return!1}function YD(){}let aC=(()=>{class e{static{this.__NG_ELEMENT_ID__=qD}}return e})();function qD(e){return function QD(e,i,o){if(Hc(e)&&!o){const l=Ks(e.index,i);return new nm(l,l)}return 175&e.type?new nm(i[is],i):null}(Js(),yn(),!(16&~e))}class pl{constructor(){}supports(i){return Ly(i)}create(i){return new lC(i)}}const Nf=(e,i)=>i;class lC{constructor(i){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=i||Nf}forEachItem(i){let o;for(o=this._itHead;null!==o;o=o._next)i(o)}forEachOperation(i){let o=this._itHead,l=this._removalsHead,f=0,b=null;for(;o||l;){const E=!l||o&&o.currentIndex<og(l,f,b)?o:l,O=og(E,f,b),G=E.currentIndex;if(E===l)f--,l=l._nextRemoved;else if(o=o._next,null==E.previousIndex)f++;else{b||(b=[]);const oe=O-f,Fe=G-f;if(oe!=Fe){for(let wt=0;wt<oe;wt++){const Mt=wt<b.length?b[wt]:b[wt]=0,Ht=Mt+wt;
vendor: 6,972 bytes, line 3
3Fe<=Ht&&Ht<oe&&(b[wt]=Mt+1)}b[E.previousIndex]=Fe-oe}}O!==G&&i(E,O,G)}}forEachPreviousItem(i){let o;for(o=this._previousItHead;null!==o;o=o._nextPrevious)i(o)}forEachAddedItem(i){let o;for(o=this._additionsHead;null!==o;o=o._nextAdded)i(o)}forEachMovedItem(i){let o;for(o=this._movesHead;null!==o;o=o._nextMoved)i(o)}forEachRemovedItem(i){let o;for(o=this._removalsHead;null!==o;o=o._nextRemoved)i(o)}forEachIdentityChange(i){let o;for(o=this._identityChangesHead;null!==o;o=o._nextIdentityChange)i(o)}diff(i){if(null==i&&(i=[]),!Ly(i))throw new Fn(900,!1);return this.check(i)?this:null}onDestroy(){}check(i){this._reset();let f,b,E,o=this._itHead,l=!1;if(Array.isArray(i)){this.length=i.length;for(let O=0;O<this.length;O++)b=i[O],E=this._trackByFn(O,b),null!==o&&Object.is(o.trackById,E)?(l&&(o=this._verifyReinsertion(o,b,E,O)),Object.is(o.item,b)||this._addIdentityChange(o,b)):(o=this._mismatch(o,b,E,O),l=!0),o=o._next}else f=0,function Y4(e,i){if(Array.isArray(e))for(let o=0;o<e.length;o++)i(e[o]);else{const o=e[Symbol.iterator]();let l;for(;!(l=o.next()).done;)i(l.value)}}(i,O=>{E=this._trackByFn(f,O),null!==o&&Object.is(o.trackById,E)?(l&&(o=this._verifyReinsertion(o,O,E,f)),Object.is(o.item,O)||this._addIdentityChange(o,O)):(o=this._mismatch(o,O,E,f),l=!0),o=o._next,f++}),this.length=f;return this._truncate(o),this.collection=i,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let i;for(i=this._previousItHead=this._itHead;null!==i;i=i._next)i._nextPrevious=i._next;for(i=this._additionsHead;null!==i;i=i._nextAdded)i.previousIndex=i.currentIndex;for(this._additionsHead=this._additionsTail=null,i=this._movesHead;null!==i;i=i._nextMoved)i.previousIndex=i.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(i,o,l,f){let b;return null===i?b=this._itTail:(b=i._prev,this._remove(i)),null!==(i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(l,null))?(Object.is(i.item,o)||this._addIdentityChange(i,o),this._reinsertAfter(i,b,f)):null!==(i=null===this._linkedRecords?null:this._linkedRecords.get(l,f))?(Object.is(i.item,o)||this._addIdentityChange(i,o),this._moveAfter(i,b,f)):i=this._addAfter(new sg(o,l),b,f),i}_verifyReinsertion(i,o,l,f){let b=null===this._unlinkedRecords?null:this._unlinkedRecords.get(l,null);return null!==b?i=this._reinsertAfter(b,i._prev,f):i.currentIndex!=f&&(i.currentIndex=f,this._addToMoves(i,f)),i}_truncate(i){for(;null!==i;){const o=i._next;this._addToRemovals(this._unlink(i)),i=o}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(i,o,l){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(i);const f=i._prevRemoved,b=i._nextRemoved;return null===f?this._removalsHead=b:f._nextRemoved=b,null===b?this._removalsTail=f:b._prevRemoved=f,this._insertAfter(i,o,l),this._addToMoves(i,l),i}_moveAfter(i,o,l){return this._unlink(i),this._insertAfter(i,o,l),this._addToMoves(i,l),i}_addAfter(i,o,l){return this._insertAfter(i,o,l),this._additionsTail=null===this._additionsTail?this._additionsHead=i:this._additionsTail._nextAdded=i,i}_insertAfter(i,o,l){const f=null===o?this._itHead:o._next;return i._next=f,i._prev=o,null===f?this._itTail=i:f._prev=i,null===o?this._itHead=i:o._next=i,null===this._linkedRecords&&(this._linkedRecords=new u0),this._linkedRecords.put(i),i.currentIndex=l,i}_remove(i){return this._addToRemovals(this._unlink(i))}_unlink(i){null!==this._linkedRecords&&this._linkedRecords.remove(i);const o=i._prev,l=i._next;return null===o?this._itHead=l:o._next=l,null===l?this._itTail=o:l._prev=o,i}_addToMoves(i,o){return i.previousIndex===o||(this._movesTail=null===this._movesTail?this._movesHead=i:this._movesTail._nextMoved=i),i}_addToRemovals(i){return null===this._unlinkedRecords&&(this._unlinkedRecords=new u0),this._unlinkedRecords.put(i),i.currentIndex=null,i._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=i,i._prevRemoved=null):(i._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=i),i}_addIdentityChange(i,o){return i.item=o,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=i:this._identityChangesTail._nextIdentityChange=i,i}}class sg{constructor(i,o){this.item=i,this.trackById=o,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class dC{constructor(){this._head=null,this._tail=null}add(i){null===this._head?(this._head=this._tail=i,i._nextDup=null,i._prevDup=null):(this._tail._nextDup=i,i._prevDup=this._tail,i._nextDup=null,this._tail=i)}get(i,o){let l;for(l=this._head;null!==l;l=l._nextDup)if((null===o||o<=l.currentIndex)&&Object.is(l.trackById,i))return l;return null}remove(i){const o=i._prevDup,l=i._nextDup;return null===o?this._head=l:o._nextDup=l,null===l?this._tail=o:l._prevDup=o,null===this._head}}class u0{constructor(){this.map=new Map}put(i){const o=i.trackById;let l=this.map.get(o);l||(l=new dC,this.map.set(o,l)),l.add(i)}get(i,o){const f=this.map.get(i);return f?f.get(i,o):null}remove(i){const o=i.trackById;return this.map.get(o).remove(i)&&this.map.delete(o),i}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function og(e,i,o){const l=e.previousIndex;if(null===l)return l;let f=0;return o&&l<o.length&&(f=o[l]),l+i+f}class I1{constructor(){}supports(i){return i instanceof Map||T_(i)}create(){return new uC}}class uC{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(i){let o;for(o=this._mapHead;null!==o;o=o._next)i(o)}forEachPreviousItem(i){let o;for(o=this._previousMapHead;null!==o;o=o._nextPrevious)i(o)}forEachChangedItem(i){let o;for(o=this._changesHead;null!==o;o=o._nextChanged)i(o)}forEachAddedItem(i){let o;for(o=this._additionsHead;null!==o;o=o._nextAdded)i(o)}forEachRemovedItem(i){let o;for(o=this._removalsHead;null!==o;o=o._nextRemoved)i(o)}diff(i){if(i){if(!(i instanceof Map||T_(i)))throw new Fn(900,!1)}else i=new Map;return this.check(i)?this:null}onDestroy(){}check(i){this._reset();let o=this._mapHead;
vendor: 2,062 bytes, line 3
3if(this._appendAfter=null,this._forEach(i,(l,f)=>{if(o&&o.key===f)this._maybeAddToChanges(o,l),this._appendAfter=o,o=o._next;else{const b=this._getOrCreateRecordForKey(f,l);o=this._insertBeforeOrAppend(o,b)}}),o){o._prev&&(o._prev._next=null),this._removalsHead=o;for(let l=o;null!==l;l=l._nextRemoved)l===this._mapHead&&(this._mapHead=null),this._records.delete(l.key),l._nextRemoved=l._next,l.previousValue=l.currentValue,l.currentValue=null,l._prev=null,l._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(i,o){if(i){const l=i._prev;return o._next=i,o._prev=l,i._prev=o,l&&(l._next=o),i===this._mapHead&&(this._mapHead=o),this._appendAfter=i,i}return this._appendAfter?(this._appendAfter._next=o,o._prev=this._appendAfter):this._mapHead=o,this._appendAfter=o,null}_getOrCreateRecordForKey(i,o){if(this._records.has(i)){const f=this._records.get(i);this._maybeAddToChanges(f,o);const b=f._prev,E=f._next;return b&&(b._next=E),E&&(E._prev=b),f._next=null,f._prev=null,f}const l=new hC(i);return this._records.set(i,l),l.currentValue=o,this._addToAdditions(l),l}_reset(){if(this.isDirty){let i;for(this._previousMapHead=this._mapHead,i=this._previousMapHead;null!==i;i=i._next)i._nextPrevious=i._next;for(i=this._changesHead;null!==i;i=i._nextChanged)i.previousValue=i.currentValue;for(i=this._additionsHead;null!=i;i=i._nextAdded)i.previousValue=i.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(i,o){Object.is(o,i.currentValue)||(i.previousValue=i.currentValue,i.currentValue=o,this._addToChanges(i))}_addToAdditions(i){null===this._additionsHead?this._additionsHead=this._additionsTail=i:(this._additionsTail._nextAdded=i,this._additionsTail=i)}_addToChanges(i){null===this._changesHead?this._changesHead=this._changesTail=i:(this._changesTail._nextChanged=i,this._changesTail=i)}_forEach(i,o){i instanceof Map?i.forEach(o):Object.keys(i).forEac
3h(l=>o(i[l],l))}}class hC{constructor(i){this.key=i,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function N1(){return new Dl([new pl])}let Dl=(()=>{class e{static{this.\u0275prov=ii({token:e,providedIn:"root",factory:N1})}constructor(o){this.factories=o}static create(o,l){if(null!=l){const f=l.factories.slice();o=o.concat(f)}return new e(o)}static extend(o){return{provide:e,useFactory:l=>e.create(o,l||N1()),deps:[[e,new Ys,new mc]]}}find(o){const l=this.factories.find(f=>f.supports(o));if(null!=l)return l;throw new Fn(901,!1)}}return e})();function h0(){return new f0([new I1])}let f0=(()=>{class e{static{this.\u0275prov=ii({token:e,providedIn:"root",factory:h0})}constructor(o){this.factories=o}static create(o,l){if(l){const f=l.factories.slice();o=o.concat(f)}return new e(o)}static extend(o){return{provide:e,useFactory:l=>e.create(o,l||h0()),deps:[[e,new Ys,new mc]]}}find(o){const l=this.factories.find(f=>f.supports(o));if(l)return l;throw new Fn(901,!1)}}return e})(),sx=(()=>{class e{constructor(o){}static{this.\u0275fac=function(l){return new(l||e)(Qr(fu))}}static{this.\u0275mod=mo({type:e})}static{this.\u0275inj=sr({})}}return e})();function px(e){const{rootComponent:i,appProviders:o,platformProviders:l,platformRef:f}=e;try{const b=f?.injector??function GD(e=[]){if(pu)return pu;const i=function rC(e=[],i){return Rc.create({name:i,providers:[{provide:cs,useValue:"platform"},{provide:If,useValue:new Set([()=>pu=null])},...e]})}(e);return i.get(Ah,!1)||(pu=i),function Qw(){!function bt(e){Pe=e}(()=>{throw new Fn(600,!1)})}(),function oC(e){e.get(ly,null)?.forEach(o=>o())}(i),i}(l);if(!0===b.get(Ah,!1)&&!e.platformRef)throw new Fn(401,!1);const E=[c0({}),{provide:hp,useExisting:Jp},...o||[]];return function S1(e){const i=Mh(e)?e.r3Injector:e.moduleRef.injector,o=i.get(fa);return o.run(()=>{Mh(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const l=i.get(ou,null);let f;if(o.runOutsideAngular(()=>{f=o.onError.subscribe({next:b=>{l.handleError(b)}})}),Mh(e)){const b=()=>i.destroy(),E=e.platformInjector.get(If);E.add(b),i.onDestroy(()=>{f.unsubscribe(),E.delete(b)})}else{const b=()=>e.moduleRef.destroy(),E=e.platformInjector.get(If);E.add(b),e.moduleRef.onDestroy(()=>{s0(e.allPlatformModules,e.moduleRef),f.unsubscribe(),E.delete(b)})}return function ID(e,i,o){try{const l=o();return m1(l)?l.catch(f=>{throw i.runOutsideAngular(()=>e.handleError(f)),f}):l}catch(l){throw i.runOutsideAngular(()=>e.handleError(l)),l}}(l,o,()=>{const b=i.get(Yw);return b.runInitializers(),b.donePromise.then(()=>{if(function wS(e){"string"==typeof e&&(AF=e.toLowerCase().replace(/_/g,"-"))}(i.get(k1,Cb)||Cb),Mh(e)){const O=i.get(fu);return void 0!==e.rootComponent&&O.bootstrap(e.rootComponent),O}return function nC(e,i){const o=e.injector.get(fu);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(l=>o.bootstrap(l));else{if(!e.instance.ngDoBootstrap)throw new Fn(-403,!1);e.instance.ngDoBootstrap(o)}i.push(e)}(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}({r3Injector:new _2({providers:E,parent:b,debugName:"",runEnvironmentInitializers:!1}).injector,platformInjector:b,rootComponent:i})}catch(b){return Promise.reject(b)}}function xx(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function Ox(e,i){kl("NgSignals");const o=Se(e);return i?.equal&&(o[P].equal=i.equal),o}function Px(e){const i=C(null);try{return e()}finally{C(i)}}const Ix=new Ee("",{providedIn:"root",factory:()=>gn(Nx)});let Nx=(()=>{class e{static{this.\u0275prov=ii({token:e,providedIn:"root",factory:()=>new Rx})}}return e})();class Rx{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=gn(Wu),this.taskId=null}scheduleEffect(i){if(this.enqueue(i),null===this.taskId){const o=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(o),this.taskId=null})}}enqueue(i){const o=i.creationZone;this.queues.has(o)||this.queues.set(o,new Set);const l=this.queues.get(o);l.has(i)||(this.queuedEffectCount++,l.add(i))}flush(){for(;this.queuedEffectCount>0;)for(const[i,o]of this.queues)null===i?this.flushQueue(o):i.run(()=>this.flushQueue(o))}flushQueue(i){for(const o of i)i.delete(o),this.queuedEffectCount--,o.run()}}
3class Bx{constructor(i,o,l,f,b,E){this.scheduler=i,this.effectFn=o,this.creationZone=l,this.injector=b,this.watcher=function on(e,i,o){const l=Object.create(_n);o&&(l.consumerAllowSignalWrites=!0),l.fn=e,l.schedule=i;const f=G=>{l.cleanupFn=G};return l.ref={notify:()=>le(l),run:()=>{if(null===l.fn)return;if(function _(){return H}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(l.dirty=!1,l.hasRun&&!Ie(l))return;l.hasRun=!0;const G=Re(l);try{l.cleanupFn(),l.cleanupFn=Hn,l.fn(f)}finally{Le(l,G)}},cleanup:()=>l.cleanupFn(),destroy:()=>function E(G){(function b(G){return null===G.fn&&null===G.schedule})(G)||(xe(G),G.cleanupFn(),G.fn=null,G.schedule=null,G.cleanupFn=Hn)}(l),[P]:l},l.ref}(O=>this.runEffect(O),()=>this.schedule(),E),this.unregisterOnDestroy=f?.onDestroy(()=>this.destroy())}runEffect(i){try{this.effectFn(i)}catch(o){this.injector.get(ou,null,{optional:!0})?.handleError(o)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function v0(e,i){kl("NgSignals"),!i?.injector&&Za();const o=i?.injector??gn(Rc),l=!0!==i?.manualCleanup?o.get(Hu):null,f=new Bx(o.get(Ix),e,typeof Zone>"u"?null:Zone.current,l,o,i?.allowSignalWrites??!1),b=o.get(aC,null,{optional:!0});return b&&8&b._lView[Ei]?(b._lView[il]??=[]).push(f.watcher.notify):f.watcher.notify(),f}function Lx(e){const i=wr(e);if(!i)return null;const o=new pm(i);return{get selector(){return o.selector},get type(){return o.componentType},get inputs(){return o.inputs},get outputs(){return o.outputs},get ngContentSelectors(){return o.ngContentSelectors},get isStandalone(){return i.standalone},get isSignal(){return i.signals}}}},45768:(st,Q,g)=>{"use strict";g.d(Q,{br:()=>q,ot:()=>A,pQ:()=>P});var a=g(58527),h=g(18718),H=g(58530),z=g(58468);function P(R){R||((0,a.Af3)(P),R=(0,a.WQX)(a.abz));const ne=new h.c(se=>R.onDestroy(se.next.bind(se)));return se=>se.pipe((0,z.Q)(ne))}function q(R,ne){!ne?.injector&&(0,a.Af3)(q);const se=ne?.injector??(0,a.WQX)(a.zZn),_e=new H.m(1),le=(0,a.QZP)(()=>{let Re;try{Re=R()}catch(Le){return void(0,a.O8t)(()=>_e.error(Le))}(0,a.O8t)(()=>_e.next(Re))},{injector:se,manualCleanup:!0});return se.get(a.abz).onDestroy(()=>{le.destroy(),_e.complete()}),_e.asObservable()}function A(R,ne){const se=!ne?.manualCleanup;se&&!ne?.injector&&(0,a.Af3)(A);const _e=se?ne?.injector?.get(a.abz)??(0,a.WQX)(a.abz):null,le=function X(R=Object.is){return(ne,se)=>1===ne.kind&&1===se.kind&&R(ne.value,se.value)}(ne?.equal);let Re;Re=(0,a.vPA)(ne?.requireSync?{kind:0}:{kind:1,value:ne?.initialValue},{equal:le});const Le=R.subscribe({next:Ie=>Re.set({kind:1,value:Ie}),error:Ie=>{if(ne?.rejectErrors)throw Ie;Re.set({kind:2,error:Ie})}});if(ne?.requireSync&&0===Re().kind)throw new a.wOt(601,!1);return _e?.onDestroy(Le.unsubscribe.bind(Le)),(0,a.EWP)(()=>{const Ie=Re();switch(Ie.kind){case 1:return Ie.value;case 2:throw Ie.error;case 0:throw new a.wOt(601,!1)}},{equal:ne?.equal})}},56106:(st,Q,g)=>{"use strict";g.d(Q,{BC:()=>qn,Fm:()=>ba,JD:()=>dr,MJ:()=>Pi,Qk:()=>Uc,X1:()=>Zc,YN:()=>xc,YS:()=>po,Zm:()=>X,cV:()=>os,cb:()=>Fn,gE:()=>ds,j4:()=>gc,k0:()=>Te,kq:()=>q,l_:()=>Sa,mP:()=>se,me:()=>_e,ok:()=>xa,qT:()=>Ki,tU:()=>ms,vS:()=>Rs,wz:()=>_a,xH:()=>Bo,xh:()=>fs,y7:()=>Xa,ze:()=>gl});var a=g(58527),h=g(61142),H=g(40450),z=g(80489),P=g(77392),C=g(6663);let B=(()=>{class fe{constructor(ee,ze){this._renderer=ee,this._elementRef=ze,this.onChange=Ft=>{},this.onTouched=()=>{}}setProperty(ee,ze){this._renderer.setProperty(this._elementRef.nativeElement,ee,ze)}registerOnTouched(ee){this.onTouched=ee}registerOnChange(ee){this.onChange=ee}setDisabledState(ee){this.setProperty("disabled",ee)}static{this.\u0275fac=function(ze){return new(ze||fe)(a.rXU(a.sFG),a.rXU(a.aKT))}}static{this.\u0275dir=a.FsC({type:fe})}}return fe})(),_=(()=>{class fe extends B{static{this.\u0275fac=(()=>{let ee;return function(Ft){return(ee||(ee=a.xGo(fe)))(Ft||fe)}})()}static{this.\u0275dir=a.FsC({type:fe,features:[a.Vt3]})}}return fe})();const q=new a.nKC(""),A={provide:q,useExisting:(0,a.Rfq)(()=>X),multi:!0};let X=(()=>{class fe extends _{writeValue(ee){this.setProperty("checked",ee)}static{this.\u0275fac=(()=>{let ee;return function(Ft){return(ee||(ee=a.xGo(fe)))(Ft||fe)}})()}static{this.\u0275dir=a.FsC({type:fe,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(ze,Ft){1&ze&&a.bIt("change",function(ur){return Ft.onChange(ur.target.checked)})("blur",function(){return Ft.onTouched()})},features:[a.Jv_([A]),a.Vt3]})}}return fe})();const R={provide:q,useExisting:(0,a.Rfq)(()=>_e),multi:!0},se=new a.nKC("");let _e=(()=>{class fe extends B{constructor(ee,ze,Ft){super(ee,ze),this._compositionMode=Ft,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function ne(){const fe=(0,h.QT)()?(0,h.QT)().getUserAgent():"";return/android (\d+)/.test(fe.toLowerCase())}())}writeValue(ee){this.setProperty("value",ee??"")}_handleInput(ee){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(ee)}_compositionStart(){this._composing=!0}_compositionEnd(ee){this._composing=!1,this._compositionMode&&this.onChange(ee)}static{this.\u0275fac=function(ze){return new(ze||fe)(a.rXU(a.sFG),a.rXU(a.aKT),a.rXU(se,8))}}static{this.\u0275dir=a.FsC({type:fe,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(ze,Ft){1&ze&&a.bIt("input",function(ur){return Ft._handleInput(ur.target.value)})("blur",function(){return Ft.onTouched()})("compositionstart",function(){return Ft._compositionStart()})("compositionend",function(ur){return Ft._compositionEnd(ur.target.value)})},features:[a.Jv_([R]),a.Vt3]})}}return fe})();function le(fe){return null==fe||("string"==typeof fe||Array.isArray(fe))&&0===fe.length}function Re(fe){return null!=fe&&"number"==typeof fe.length}const Le=new a.nKC(""),Ie=new a.nKC(""),xe=/^(?=.{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 Te{static min(ye){return function Ne(fe){return ye=>{if(le(ye.value)||le(fe))return null;const ee=parseFloat(ye.value);return!isNaN(ee)&&ee<fe?{min:{min:fe,actual:ye.value}}:null}}(ye)}static max(ye){return function he(fe){return ye=>{if(le(ye.value)||le(fe))return null;const ee=parseFloat(ye.value);return!isNaN(ee)&&ee>fe?{max:{max:fe,actual:ye.value}}:null}}(ye)}static required(ye){return Me(ye)}static requiredTrue(ye){return function ct(fe){return!0===fe.value?null:{required:!0}}(ye)}static email(ye){return function yt(fe){return le(fe.value)||xe.test(fe.value)?null:{email:!0}}(ye)}static minLength(ye){return Se(ye)}static maxLength(ye){return ke(ye)}static pattern(ye){return function Ze(fe){if(!fe)return Ve;let ye,ee;return"string"==typeof fe?(ee="","^"!==fe.charAt(0)&&(ee+="^"),ee+=fe,"$"!==fe.charAt(fe.length-1)&&(ee+="$"),ye=new RegExp(ee)):(ee=fe.toString(),ye=fe),ze=>{if(le(ze.value))return null;const Ft=ze.value;return ye.test(Ft)?null:{pattern:{requiredPattern:ee,actualValue:Ft}}}}(ye)}static nullValidator(ye){return null}static compose(ye){return sn(ye)}static composeAsync(ye){return Tt(ye)}}function Me(fe){return le(fe.value)?{required:!0}:null}function Se(fe){return ye=>le(ye.value)||!Re(ye.value)?null:ye.value.length<fe?{minlength:{requiredLength:fe,actualLength:ye.value.length}}:null}function ke(fe){return ye=>Re(ye.value)&&ye.value.length>fe?{maxlength:{requiredLength:fe,actualLength:ye.value.length}}:null}function Ve(fe){return null}function Be(fe){return null!=fe}function ge(fe){return(0,a.jNT)(fe)?(0,H.H)(fe):fe}function Pe(fe){let ye={};return fe.forEach(ee=>{ye=null!=ee?{...ye,...ee}:ye}),0===Object.keys(ye).length?null:ye}function He(fe,ye){return ye.map(ee=>ee(fe))}function Yt(fe){return fe.map(ye=>function bt(fe){return!fe.validate}(ye)?ye:ee=>ye.validate(ee))}function sn(fe){if(!fe)return null;const ye=fe.filter(Be);return 0==ye.length?null:function(ee){return Pe(He(ee,ye))}}function ft(fe){return null!=fe?sn(Yt(fe)):null}function Tt(fe){if(!fe)return null;const ye=fe.filter(Be);return 0==ye.length?null:function(ee){const ze=He(ee,ye).map(ge);return(0,z.p)(ze).pipe((0,C.T)(Pe))}}function $e(fe){return null!=fe?Tt(Yt(fe)):null}function rt(fe,ye){return null===fe?[ye]:Array.isArray(fe)?[...fe,ye]:[fe,ye]}function tt(fe){return fe._rawValidators}function nt(fe){return fe._rawAsyncValidators}function _t(fe){return fe?Array.isArray(fe)?fe:[fe]:[]}function on(fe,ye){return Array.isArray(fe)?fe.includes(ye):fe===ye}function Hn(fe,ye){const ee=_t(ye);return _t(fe).forEach(Ft=>{on(ee,Ft)||ee.push(Ft)}),ee}function _n(fe,ye){return _t(ye).filter(ee=>!on(fe,ee))}class hn{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(ye){this._rawValidators=ye||[],this._composedValidatorFn=ft(this._rawValidators)}_setAsyncValidators(ye){this._rawAsyncValidators=ye||[],this._composedAsyncValidatorFn=$e(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(ye){this._onDestroyCallbacks.push(ye)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(ye=>ye()),this._onDestroyCallbacks=[]}reset(ye=void 0){this.control&&this.control.reset(ye)}hasError(ye,ee){return!!this.control&&this.control.hasError(ye,ee)}getError(ye,ee){return this.control?this.control.getError(ye,ee):null}}class en extends hn{get formDirective(){return null}get path(){return null}}class Ot extends hn{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Gt{constructor(ye){this._cd=ye}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}
3get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let qn=(()=>{class fe extends Gt{constructor(ee){super(ee)}static{this.\u0275fac=function(ze){return new(ze||fe)(a.rXU(Ot,2))}}static{this.\u0275dir=a.FsC({type:fe,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(ze,Ft){2&ze&&a.AVh("ng-untouched",Ft.isUntouched)("ng-touched",Ft.isTouched)("ng-pristine",Ft.isPristine)("ng-dirty",Ft.isDirty)("ng-valid",Ft.isValid)("ng-invalid",Ft.isInvalid)("ng-pending",Ft.isPending)},features:[a.Vt3]})}}return fe})(),Fn=(()=>{class fe extends Gt{constructor(ee){super(ee)}static{this.\u0275fac=function(ze){return new(ze||fe)(a.rXU(en,10))}}static{this.\u0275dir=a.FsC({type:fe,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(ze,Ft){2&ze&&a.AVh("ng-untouched",Ft.isUntouched)("ng-touched",Ft.isTouched)("ng-pristine",Ft.isPristine)("ng-dirty",Ft.isDirty)("ng-valid",Ft.isValid)("ng-invalid",Ft.isInvalid)("ng-pending",Ft.isPending)("ng-submitted",Ft.isSubmitted)},features:[a.Vt3]})}}return fe})();const Sn="VALID",qt="INVALID",Cn="PENDING",ai="DISABLED";class gi{}class Pt extends gi{constructor(ye,ee){super(),this.value=ye,this.source=ee}}class Et extends gi{constructor(ye,ee){super(),this.pristine=ye,this.source=ee}}class ot extends gi{constructor(ye,ee){super(),this.touched=ye,this.source=ee}}class pt extends gi{constructor(ye,ee){super(),this.status=ye,this.source=ee}}class rn extends gi{constructor(ye){super(),this.source=ye}}class Vn extends gi{constructor(ye){super(),this.source=ye}}function oi(fe){return(mr(fe)?fe.validators:fe)||null}function Oi(fe,ye){return(mr(ye)?ye.asyncValidators:fe)||null}function mr(fe){return null!=fe&&!Array.isArray(fe)&&"object"==typeof fe}function yr(fe,ye,ee){const ze=fe.controls;if(!(ye?Object.keys(ze):ze).length)throw new a.wOt(1e3,"");if(!ze[ee])throw new a.wOt(1001,"")}function ss(fe,ye,ee){fe._forEachChild((ze,Ft)=>{if(void 0===ee[Ft])throw new a.wOt(1002,"")})}class Di{constructor(ye,ee){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=(0,a.EWP)(()=>this.statusReactive()),this.statusReactive=(0,a.vPA)(void 0),this._pristine=(0,a.EWP)(()=>this.pristineReactive()),this.pristineReactive=(0,a.vPA)(!0),this._touched=(0,a.EWP)(()=>this.touchedReactive()),this.touchedReactive=(0,a.vPA)(!1),this._events=new P.B,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(ye),this._assignAsyncValidators(ee)}get validator(){return this._composedValidatorFn}set validator(ye){this._rawValidators=this._composedValidatorFn=ye}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(ye){this._rawAsyncValidators=this._composedAsyncValidatorFn=ye}get parent(){return this._parent}get status(){return(0,a.O8t)(this.statusReactive)}set status(ye){(0,a.O8t)(()=>this.statusReactive.set(ye))}get valid(){return this.status===Sn}get invalid(){return this.status===qt}get pending(){return this.status==Cn}get disabled(){return this.status===ai}get enabled(){return this.status!==ai}get pristine(){return(0,a.O8t)(this.pristineReactive)}set pristine(ye){(0,a.O8t)(()=>this.pristineReactive.set(ye))}get dirty(){return!this.pristine}get touched(){return(0,a.O8t)(this.touchedReactive)}set touched(ye){(0,a.O8t)(()=>this.touchedReactive.set(ye))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(ye){this._assignValidators(ye)}setAsyncValidators(ye){this._assignAsyncValidators(ye)}addValidators(ye){this.setValidators(Hn(ye,this._rawValidators))}addAsyncValidators(ye){this.setAsyncValidators(Hn(ye,this._rawAsyncValidators))}removeValidators(ye){this.setValidators(_n(ye,this._rawValidators))}removeAsyncValidators(ye){this.setAsyncValidators(_n(ye,this._rawAsyncValidators))}hasValidator(ye){return on(this._rawValidators,ye)}hasAsyncValidator(ye){return on(this._rawAsyncValidators,ye)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(ye={}){const ee=!1===this.touched;this.touched=!0;const ze=ye.sourceControl??this;this._parent&&!ye.onlySelf&&this._parent.markAsTouched({...ye,sourceControl:ze}),ee&&!1!==ye.emitEvent&&this._events.next(new ot(!0,ze))}markAllAsTouched(ye={}){this.markAsTouched({onlySelf:!0,emitEvent:ye.emitEvent,sourceControl:this}
3),this._forEachChild(ee=>ee.markAllAsTouched(ye))}markAsUntouched(ye={}){const ee=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const ze=ye.sourceControl??this;this._forEachChild(Ft=>{Ft.markAsUntouched({onlySelf:!0,emitEvent:ye.emitEvent,sourceControl:ze})}),this._parent&&!ye.onlySelf&&this._parent._updateTouched(ye,ze),ee&&!1!==ye.emitEvent&&this._events.next(new ot(!1,ze))}markAsDirty(ye={}){const ee=!0===this.pristine;this.pristine=!1;const ze=ye.sourceControl??this;this._parent&&!ye.onlySelf&&this._parent.markAsDirty({...ye,sourceControl:ze}),ee&&!1!==ye.emitEvent&&this._events.next(new Et(!1,ze))}markAsPristine(ye={}){const ee=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const ze=ye.sourceControl??this;this._forEachChild(Ft=>{Ft.markAsPristine({onlySelf:!0,emitEvent:ye.emitEvent})}),this._parent&&!ye.onlySelf&&this._parent._updatePristine(ye,ze),ee&&!1!==ye.emitEvent&&this._events.next(new Et(!0,ze))}markAsPending(ye={}){this.status=Cn;const ee=ye.sourceControl??this;!1!==ye.emitEvent&&(this._events.next(new pt(this.status,ee)),this.statusChanges.emit(this.status)),this._parent&&!ye.onlySelf&&this._parent.markAsPending({...ye,sourceControl:ee})}disable(ye={}){const ee=this._parentMarkedDirty(ye.onlySelf);this.status=ai,this.errors=null,this._forEachChild(Ft=>{Ft.disable({...ye,onlySelf:!0})}),this._updateValue();const ze=ye.sourceControl??this;!1!==ye.emitEvent&&(this._events.next(new Pt(this.value,ze)),this._events.next(new pt(this.status,ze)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...ye,skipPristineCheck:ee},this),this._onDisabledChange.forEach(Ft=>Ft(!0))}enable(ye={}){const ee=this._parentMarkedDirty(ye.onlySelf);this.status=Sn,this._forEachChild(ze=>{ze.enable({...ye,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:ye.emitEvent}),this._updateAncestors({...ye,skipPristineCheck:ee},this),this._onDisabledChange.forEach(ze=>ze(!1))}_updateAncestors(ye,ee){this._parent&&!ye.onlySelf&&(this._parent.updateValueAndValidity(ye),ye.skipPristineCheck||this._parent._updatePristine({},ee),this._parent._updateTouched({},ee))}setParent(ye){this._parent=ye}getRawValue(){return this.value}updateValueAndValidity(ye={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const ze=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Sn||this.status===Cn)&&this._runAsyncValidator(ze,ye.emitEvent)}const ee=ye.sourceControl??this;!1!==ye.emitEvent&&(this._events.next(new Pt(this.value,ee)),this._events.next(new pt(this.status,ee)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!ye.onlySelf&&this._parent.updateValueAndValidity({...ye,sourceControl:ee})}_updateTreeValidity(ye={emitEvent:!0}){this._forEachChild(ee=>ee._updateTreeValidity(ye)),this.updateValueAndValidity({onlySelf:!0,emitEvent:ye.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ai:Sn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(ye,ee){if(this.asyncValidator){this.status=Cn,this._hasOwnPendingAsyncValidator={emitEvent:!1!==ee};const ze=ge(this.asyncValidator(this));this._asyncValidationSubscription=ze.subscribe(Ft=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(Ft,{emitEvent:ee,shouldHaveEmitted:ye})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const ye=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,ye}return!1}setErrors(ye,ee={}){this.errors=ye,this._updateControlsErrors(!1!==ee.emitEvent,this,ee.shouldHaveEmitted)}get(ye){let ee=ye;return null==ee||(Array.isArray(ee)||(ee=ee.split(".")),0===ee.length)?null:ee.reduce((ze,Ft)=>ze&&ze._find(Ft),this)}getError(ye,ee){const ze=ee?this.get(ee):this;return ze&&ze.errors?ze.errors[ye]:null}hasError(ye,ee){return!!this.getError(ye,ee)}get root(){let ye=this;for(;ye._parent;)ye=ye._parent;return ye}_updateControlsErrors(ye,ee,ze){this.status=this._calculateStatus(),ye&&this.statusChanges.emit(this.status),(ye||ze)&&this._events.next(new pt(this.status,ee)),this._parent&&this._parent._updateControlsErrors(ye,ee,ze)}_initObservables(){this.valueChanges=new a.bkB,this.statusChanges=new a.bkB}_calculateStatus(){return this._allControlsDisabled()?ai:this.errors?qt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Cn)?Cn:this._anyControlsHaveStatus(qt)?qt:Sn}_anyControlsHaveStatus(ye){return this._anyControls(ee=>ee.status===ye)}_anyControlsDirty(){return this._anyControls(ye=>ye.dirty)}_anyControlsTouched(){return this._anyControls(ye=>ye.touched)}_updatePristine(ye,ee){const ze=!this._anyControlsDirty(),Ft=this.pristine!==ze;this.pristine=ze,this._parent&&!ye.onlySelf&&this._parent._updatePristine(ye,ee),Ft&&this._events.next(new Et(this.pristine,ee))}_updateTouched(ye={},ee){this.touched=this._anyControlsTouched(),this._events.next(new ot(this.touched,ee)),this._parent&&!ye.onlySelf&&this._parent._updateTouched(ye,ee)}_registerOnCollectionChange(ye){this._onCollectionChange=ye}_setUpdateStrategy(ye){mr(ye)&&null!=ye.updateOn&&(this._updateOn=ye.updateOn)}_parentMarkedDirty(ye){return!ye&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}
3_find(ye){return null}_assignValidators(ye){this._rawValidators=Array.isArray(ye)?ye.slice():ye,this._composedValidatorFn=function hi(fe){return Array.isArray(fe)?ft(fe):fe||null}(this._rawValidators)}_assignAsyncValidators(ye){this._rawAsyncValidators=Array.isArray(ye)?ye.slice():ye,this._composedAsyncValidatorFn=function Dr(fe){return Array.isArray(fe)?$e(fe):fe||null}(this._rawAsyncValidators)}}class ds extends Di{constructor(ye,ee,ze){super(oi(ee),Oi(ze,ee)),this.controls=ye,this._initObservables(),this._setUpdateStrategy(ee),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(ye,ee){return this.controls[ye]?this.controls[ye]:(this.controls[ye]=ee,ee.setParent(this),ee._registerOnCollectionChange(this._onCollectionChange),ee)}addControl(ye,ee,ze={}){this.registerControl(ye,ee),this.updateValueAndValidity({emitEvent:ze.emitEvent}),this._onCollectionChange()}removeControl(ye,ee={}){this.controls[ye]&&this.controls[ye]._registerOnCollectionChange(()=>{}),delete this.controls[ye],this.updateValueAndValidity({emitEvent:ee.emitEvent}),this._onCollectionChange()}setControl(ye,ee,ze={}){this.controls[ye]&&this.controls[ye]._registerOnCollectionChange(()=>{}),delete this.controls[ye],ee&&this.registerControl(ye,ee),this.updateValueAndValidity({emitEvent:ze.emitEvent}),this._onCollectionChange()}contains(ye){return this.controls.hasOwnProperty(ye)&&this.controls[ye].enabled}setValue(ye,ee={}){ss(this,0,ye),Object.keys(ye).forEach(ze=>{yr(this,!0,ze),this.controls[ze].setValue(ye[ze],{onlySelf:!0,emitEvent:ee.emitEvent})}),this.updateValueAndValidity(ee)}patchValue(ye,ee={}){null!=ye&&(Object.keys(ye).forEach(ze=>{const Ft=this.controls[ze];Ft&&Ft.patchValue(ye[ze],{onlySelf:!0,emitEvent:ee.emitEvent})}),this.updateValueAndValidity(ee))}reset(ye={},ee={}){this._forEachChild((ze,Ft)=>{ze.reset(ye?ye[Ft]:null,{onlySelf:!0,emitEvent:ee.emitEvent})}),this._updatePristine(ee,this),this._updateTouched(ee,this),this.updateValueAndValidity(ee)}getRawValue(){return this._reduceChildren({},(ye,ee,ze)=>(ye[ze]=ee.getRawValue(),ye))}_syncPendingControls(){let ye=this._reduceChildren(!1,(ee,ze)=>!!ze._syncPendingControls()||ee);return ye&&this.updateValueAndValidity({onlySelf:!0}),ye}_forEachChild(ye){Object.keys(this.controls).forEach(ee=>{const ze=this.controls[ee];ze&&ye(ze,ee)})}_setUpControls(){this._forEachChild(ye=>{ye.setParent(this),ye._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(ye){for(const[ee,ze]of Object.entries(this.controls))if(this.contains(ee)&&ye(ze))return!0;return!1}_reduceValue(){return this._reduceChildren({},(ee,ze,Ft)=>((ze.enabled||this.disabled)&&(ee[Ft]=ze.value),ee))}_reduceChildren(ye,ee){let ze=ye;return this._forEachChild((Ft,Kn)=>{ze=ee(ze,Ft,Kn)}),ze}_allControlsDisabled(){for(const ye of Object.keys(this.controls))if(this.controls[ye].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(ye){return this.controls.hasOwnProperty(ye)?this.controls[ye]:null}}class et extends ds{}const At=new a.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>Yn}),Yn="always";function Wi(fe,ye){return[...ye.path,fe]}function ii(fe,ye,ee=Yn){us(fe,ye),ye.valueAccessor.writeValue(fe.value),(fe.disabled||"always"===ee)&&ye.valueAccessor.setDisabledState?.(fe.disabled),function ho(fe,ye){ye.valueAccessor.registerOnChange(ee=>{fe._pendingValue=ee,fe._pendingChange=!0,fe._pendingDirty=!0,"change"===fe.updateOn&&ko(fe,ye)})}(fe,ye),function We(fe,ye){const ee=(ze,Ft)=>{ye.valueAccessor.writeValue(ze),Ft&&ye.viewToModelUpdate(ze)};fe.registerOnChange(ee),ye._registerOnDestroy(()=>{fe._unregisterOnChange(ee)})}(fe,ye),function _o(fe,ye){ye.valueAccessor.registerOnTouched(()=>{fe._pendingTouched=!0,"blur"===fe.updateOn&&fe._pendingChange&&ko(fe,ye),"submit"!==fe.updateOn&&fe.markAsTouched()})}(fe,ye),function lr(fe,ye){if(ye.valueAccessor.setDisabledState){const ee=ze=>{ye.valueAccessor.setDisabledState(ze)};fe.registerOnDisabledChange(ee),ye._registerOnDestroy(()=>{fe._unregisterOnDisabledChange(ee)})}}(fe,ye)}function Ur(fe,ye,ee=!0){const ze=()=>{};ye.valueAccessor&&(ye.valueAccessor.registerOnChange(ze),ye.valueAccessor.registerOnTouched(ze)),Cs(fe,ye),fe&&(ye._invokeOnDestroyCallbacks(),fe._registerOnCollectionChange(()=>{}))}function sr(fe,ye){fe.forEach(ee=>{ee.registerOnValidatorChange&&ee.registerOnValidatorChange(ye)})}function us(fe,ye){const ee=tt(fe);null!==ye.validator?fe.setValidators(rt(ee,ye.validator)):"function"==typeof ee&&fe.setValidators([ee]);const ze=nt(fe);null!==ye.asyncValidator?fe.setAsyncValidators(rt(ze,ye.asyncValidator)):"function"==typeof ze&&fe.setAsyncValidators([ze]);const Ft=()=>fe.updateValueAndValidity();sr(ye._rawValidators,Ft),sr(ye._rawAsyncValidators,Ft)}function Cs(fe,ye){let ee=!1;if(null!==fe){if(null!==ye.validator){const Ft=tt(fe);if(Array.isArray(Ft)&&Ft.length>0){const Kn=Ft.filter(ur=>ur!==ye.validator);Kn.length!==Ft.length&&(ee=!0,fe.setValidators(Kn))}}if(null!==ye.asyncValidator){const Ft=nt(fe);if(Array.isArray(Ft)&&Ft.length>0){const Kn=Ft.filter(ur=>ur!==ye.asyncValidator);Kn.length!==Ft.length&&(ee=!0,fe.setAsyncValidators(Kn))}}}const ze=()=>{};return sr(ye._rawValidators,ze),sr(ye._rawAsyncValidators,ze),ee}function ko(fe,ye){fe._pendingDirty&&fe.markAsDirty(),fe.setValue(fe._pendingValue,{emitModelToViewChange:!1}),ye.viewToModelUpdate(fe._pendingValue),fe._pendingChange=!1}function be(fe,ye){us(fe,ye)}function Qt(fe,ye){if(!fe.hasOwnProperty("model"))return!1;const ee=fe.model;return!!ee.isFirstChange()||!Object.is(ye,ee.currentValue)}function Bn(fe,ye){fe._syncPendingControls(),ye.forEach(ee=>{const ze=ee.control;"submit"===ze.updateOn&&ze._pendingChange&&(ee.viewToModelUpdate(ze._pendingValue),ze._pendingChange=!1)})}function Ci(fe,ye){if(!ye)return null;let ee,ze,Ft;return Array.isArray(ye),ye.forEach(Kn=>{Kn.constructor===_e?ee=Kn:function En(fe){return Object.getPrototypeOf(fe.constructor)===_}(Kn)?ze=Kn:Ft=Kn}),Ft||ze||ee||null}const br={provide:en,useExisting:(0,a.Rfq)(()=>os)},pr=Promise.resolve();let os=(()=>{class fe extends en{get submitted(){return(0,a.O8t)(this.submittedReactive)}constructor(ee,ze,Ft){super(),this.callSetDisabledState=Ft,this._submitted=(0,a.EWP)(()=>this.submittedReactive()),this.submittedReactive=(0,a.vPA)(!1),this._directives=new Set,this.ngSubmit=new a.bkB,this.form=new ds({},ft(ee),$e(ze))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(ee){pr.then(()=>{const ze=this._findContainer(ee.path);ee.control=ze.registerControl(ee.name,ee.control),ii(ee.control,ee,this.callSetDisabledState),ee.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(ee)})}getControl(ee){return this.form.get(ee.path)}
3removeControl(ee){pr.then(()=>{const ze=this._findContainer(ee.path);ze&&ze.removeControl(ee.name),this._directives.delete(ee)})}addFormGroup(ee){pr.then(()=>{const ze=this._findContainer(ee.path),Ft=new ds({});be(Ft,ee),ze.registerControl(ee.name,Ft),Ft.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(ee){pr.then(()=>{const ze=this._findContainer(ee.path);ze&&ze.removeControl(ee.name)})}getFormGroup(ee){return this.form.get(ee.path)}updateModel(ee,ze){pr.then(()=>{this.form.get(ee.path).setValue(ze)})}setValue(ee){this.control.setValue(ee)}onSubmit(ee){return this.submittedReactive.set(!0),Bn(this.form,this._directives),this.ngSubmit.emit(ee),"dialog"===ee?.target?.method}onReset(){this.resetForm()}resetForm(ee=void 0){this.form.reset(ee),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(ee){return ee.pop(),ee.length?this.form.get(ee):this.form}static{this.\u0275fac=function(ze){return new(ze||fe)(a.rXU(Le,10),a.rXU(Ie,10),a.rXU(At,8))}}static{this.\u0275dir=a.FsC({type:fe,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(ze,Ft){1&ze&&a.bIt("submit",function(ur){return Ft.onSubmit(ur)})("reset",function(){return Ft.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[a.Jv_([br]),a.Vt3]})}}return fe})();function jr(fe,ye){const ee=fe.indexOf(ye);ee>-1&&fe.splice(ee,1)}function as(fe){return"object"==typeof fe&&null!==fe&&2===Object.keys(fe).length&&"value"in fe&&"disabled"in fe}const Pi=class extends Di{constructor(ye=null,ee,ze){super(oi(ee),Oi(ze,ee)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(ye),this._setUpdateStrategy(ee),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),mr(ee)&&(ee.nonNullable||ee.initialValueIsDefault)&&(this.defaultValue=as(ye)?ye.value:ye)}setValue(ye,ee={}){this.value=this._pendingValue=ye,this._onChange.length&&!1!==ee.emitModelToViewChange&&this._onChange.forEach(ze=>ze(this.value,!1!==ee.emitViewToModelChange)),this.updateValueAndValidity(ee)}patchValue(ye,ee={}){this.setValue(ye,ee)}reset(ye=this.defaultValue,ee={}){this._applyFormState(ye),this.markAsPristine(ee),this.markAsUntouched(ee),this.setValue(this.value,ee),this._pendingChange=!1}_updateValue(){}_anyControls(ye){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(ye){this._onChange.push(ye)}_unregisterOnChange(ye){jr(this._onChange,ye)}registerOnDisabledChange(ye){this._onDisabledChange.push(ye)}_unregisterOnDisabledChange(ye){jr(this._onDisabledChange,ye)}_forEachChild(ye){}_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(ye){as(ye)?(this.value=this._pendingValue=ye.value,ye.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=ye}},vr={provide:Ot,useExisting:(0,a.Rfq)(()=>Rs)},ki=Promise.resolve();let Rs=(()=>{class fe extends Ot{constructor(ee,ze,Ft,Kn,ur,Ma){super(),this._changeDetectorRef=ur,this.callSetDisabledState=Ma,this.control=new Pi,this._registered=!1,this.name="",this.update=new a.bkB,this._parent=ee,this._setValidators(ze),this._setAsyncValidators(Ft),this.valueAccessor=Ci(0,Kn)}ngOnChanges(ee){if(this._checkForErrors(),!this._registered||"name"in ee){if(this._registered&&(this._checkName(),this.formDirective)){const ze=ee.name.previousValue;this.formDirective.removeControl({name:ze,path:this._getPath(ze)})}this._setUpControl()}"isDisabled"in ee&&this._updateDisabled(ee),Qt(ee,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(ee){this.viewModel=ee,this.update.emit(ee)}_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(){ii(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(ee){ki.then(()=>{this.control.setValue(ee,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(ee){const ze=ee.isDisabled.currentValue,Ft=0!==ze&&(0,a.L39)(ze);ki.then(()=>{Ft&&!this.control.disabled?this.control.disable():!Ft&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(ee){return this._parent?Wi(ee,this._parent):[ee]}static{this.\u0275fac=function(ze){return new(ze||fe)(a.rXU(en,9),a.rXU(Le,10),a.rXU(Ie,10),a.rXU(q,10),a.rXU(a.gRc,8),a.rXU(At,8))}}static{this.\u0275dir=a.FsC({type:fe,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[a.Jv_([vr]),a.Vt3,a.OA$]})}}return fe})(),Ki=(()=>{class fe{static{this.\u0275fac=function(ze){return new(ze||fe)}}static{this.\u0275dir=a.FsC({type:fe,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}}return fe})();const la={provide:q,useExisting:(0,a.Rfq)(()=>ba),multi:!0};let ka=(()=>{class fe{constructor(){this._accessors=[]}add(ee,ze){this._accessors.push([ee,ze])}remove(ee){for(let ze=this._accessors.length-1;ze>=0;--ze)if(this._accessors[ze][1]===ee)return void this._accessors.splice(ze,1)}
3select(ee){this._accessors.forEach(ze=>{this._isSameGroup(ze,ee)&&ze[1]!==ee&&ze[1].fireUncheck(ee.value)})}_isSameGroup(ee,ze){return!!ee[0].control&&ee[0]._parent===ze._control._parent&&ee[1].name===ze.name}static{this.\u0275fac=function(ze){return new(ze||fe)}}static{this.\u0275prov=a.jDH({token:fe,factory:fe.\u0275fac,providedIn:"root"})}}return fe})(),ba=(()=>{class fe extends _{constructor(ee,ze,Ft,Kn){super(ee,ze),this._registry=Ft,this._injector=Kn,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,a.WQX)(At,{optional:!0})??Yn}ngOnInit(){this._control=this._injector.get(Ot),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(ee){this._state=ee===this.value,this.setProperty("checked",this._state)}registerOnChange(ee){this._fn=ee,this.onChange=()=>{ee(this.value),this._registry.select(this)}}setDisabledState(ee){(this.setDisabledStateFired||ee||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",ee),this.setDisabledStateFired=!0}fireUncheck(ee){this.writeValue(ee)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}static{this.\u0275fac=function(ze){return new(ze||fe)(a.rXU(a.sFG),a.rXU(a.aKT),a.rXU(ka),a.rXU(a.zZn))}}static{this.\u0275dir=a.FsC({type:fe,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(ze,Ft){1&ze&&a.bIt("change",function(){return Ft.onChange()})("blur",function(){return Ft.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[a.Jv_([la]),a.Vt3]})}}return fe})();const Dc=new a.nKC(""),Ka={provide:Ot,useExisting:(0,a.Rfq)(()=>Sa)};let Sa=(()=>{class fe extends Ot{set isDisabled(ee){}static{this._ngModelWarningSentOnce=!1}constructor(ee,ze,Ft,Kn,ur){super(),this._ngModelWarningConfig=Kn,this.callSetDisabledState=ur,this.update=new a.bkB,this._ngModelWarningSent=!1,this._setValidators(ee),this._setAsyncValidators(ze),this.valueAccessor=Ci(0,Ft)}ngOnChanges(ee){if(this._isControlChanged(ee)){const ze=ee.form.previousValue;ze&&Ur(ze,this,!1),ii(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Qt(ee,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Ur(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(ee){this.viewModel=ee,this.update.emit(ee)}_isControlChanged(ee){return ee.hasOwnProperty("form")}static{this.\u0275fac=function(ze){return new(ze||fe)(a.rXU(Le,10),a.rXU(Ie,10),a.rXU(q,10),a.rXU(Dc,8),a.rXU(At,8))}}static{this.\u0275dir=a.FsC({type:fe,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[a.Jv_([Ka]),a.Vt3,a.OA$]})}}return fe})();const No={provide:en,useExisting:(0,a.Rfq)(()=>gc)};let gc=(()=>{class fe extends en{get submitted(){return(0,a.O8t)(this._submittedReactive)}set submitted(ee){this._submittedReactive.set(ee)}constructor(ee,ze,Ft){super(),this.callSetDisabledState=Ft,this._submitted=(0,a.EWP)(()=>this._submittedReactive()),this._submittedReactive=(0,a.vPA)(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new a.bkB,this._setValidators(ee),this._setAsyncValidators(ze)}ngOnChanges(ee){this._checkFormPresent(),ee.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Cs(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(ee){const ze=this.form.get(ee.path);return ii(ze,ee,this.callSetDisabledState),ze.updateValueAndValidity({emitEvent:!1}),this.directives.push(ee),ze}getControl(ee){return this.form.get(ee.path)}
3removeControl(ee){Ur(ee.control||null,ee,!1),function ei(fe,ye){const ee=fe.indexOf(ye);ee>-1&&fe.splice(ee,1)}(this.directives,ee)}addFormGroup(ee){this._setUpFormContainer(ee)}removeFormGroup(ee){this._cleanUpFormContainer(ee)}getFormGroup(ee){return this.form.get(ee.path)}addFormArray(ee){this._setUpFormContainer(ee)}removeFormArray(ee){this._cleanUpFormContainer(ee)}getFormArray(ee){return this.form.get(ee.path)}updateModel(ee,ze){this.form.get(ee.path).setValue(ze)}onSubmit(ee){return this._submittedReactive.set(!0),Bn(this.form,this.directives),this.ngSubmit.emit(ee),this.form._events.next(new rn(this.control)),"dialog"===ee?.target?.method}onReset(){this.resetForm()}resetForm(ee=void 0){this.form.reset(ee),this._submittedReactive.set(!1),this.form._events.next(new Vn(this.form))}_updateDomValue(){this.directives.forEach(ee=>{const ze=ee.control,Ft=this.form.get(ee.path);ze!==Ft&&(Ur(ze||null,ee),(fe=>fe instanceof Pi)(Ft)&&(ii(Ft,ee,this.callSetDisabledState),ee.control=Ft))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(ee){const ze=this.form.get(ee.path);be(ze,ee),ze.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(ee){if(this.form){const ze=this.form.get(ee.path);ze&&function we(fe,ye){return Cs(fe,ye)}(ze,ee)&&ze.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){us(this.form,this),this._oldForm&&Cs(this._oldForm,this)}_checkFormPresent(){}static{this.\u0275fac=function(ze){return new(ze||fe)(a.rXU(Le,10),a.rXU(Ie,10),a.rXU(At,8))}}static{this.\u0275dir=a.FsC({type:fe,selectors:[["","formGroup",""]],hostBindings:function(ze,Ft){1&ze&&a.bIt("submit",function(ur){return Ft.onSubmit(ur)})("reset",function(){return Ft.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[a.Jv_([No]),a.Vt3,a.OA$]})}}return fe})();const Ro={provide:Ot,useExisting:(0,a.Rfq)(()=>dr)};let dr=(()=>{class fe extends Ot{set isDisabled(ee){}static{this._ngModelWarningSentOnce=!1}constructor(ee,ze,Ft,Kn,ur){super(),this._ngModelWarningConfig=ur,this._added=!1,this.name=null,this.update=new a.bkB,this._ngModelWarningSent=!1,this._parent=ee,this._setValidators(ze),this._setAsyncValidators(Ft),this.valueAccessor=Ci(0,Kn)}ngOnChanges(ee){this._added||this._setUpControl(),Qt(ee,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(ee){this.viewModel=ee,this.update.emit(ee)}get path(){return Wi(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}static{this.\u0275fac=function(ze){return new(ze||fe)(a.rXU(en,13),a.rXU(Le,10),a.rXU(Ie,10),a.rXU(q,10),a.rXU(Dc,8))}}static{this.\u0275dir=a.FsC({type:fe,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[a.Jv_([Ro]),a.Vt3,a.OA$]})}}return fe})();const io={provide:q,useExisting:(0,a.Rfq)(()=>_a),multi:!0};function fi(fe,ye){return null==fe?`${ye}`:(ye&&"object"==typeof ye&&(ye="Object"),`${fe}: ${ye}`.slice(0,50))}let _a=(()=>{class fe extends _{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(ee){this._compareWith=ee}writeValue(ee){this.value=ee;const Ft=fi(this._getOptionId(ee),ee);this.setProperty("value",Ft)}registerOnChange(ee){this.onChange=ze=>{this.value=this._getOptionValue(ze),ee(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(ee){for(const ze of this._optionMap.keys())if(this._compareWith(this._optionMap.get(ze),ee))return ze;return null}_getOptionValue(ee){const ze=function Or(fe){return fe.split(":")[0]}(ee);return this._optionMap.has(ze)?this._optionMap.get(ze):ee}static{this.\u0275fac=(()=>{let ee;return function(Ft){return(ee||(ee=a.xGo(fe)))(Ft||fe)}})()}static{this.\u0275dir=a.FsC({type:fe,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(ze,Ft){1&ze&&a.bIt("change",function(ur){return Ft.onChange(ur.target.value)})("blur",function(){return Ft.onTouched()})},inputs:{compareWith:"compareWith"},features:[a.Jv_([io]),a.Vt3]})}}return fe})(),Bo=(()=>{class fe{constructor(ee,ze,Ft){this._element=ee,this._renderer=ze,this._select=Ft,this._select&&(this.id=this._select._registerOption())}set ngValue(ee){null!=this._select&&(this._select._optionMap.set(this.id,ee),this._setElementValue(fi(this.id,ee)),this._select.writeValue(this._select.value))}set value(ee){this._setElementValue(ee),this._select&&this._select.writeValue(this._select.value)}_setElementValue(ee){this._renderer.setProperty(this._element.nativeElement,"value",ee)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id
3),this._select.writeValue(this._select.value))}static{this.\u0275fac=function(ze){return new(ze||fe)(a.rXU(a.aKT),a.rXU(a.sFG),a.rXU(_a,9))}}static{this.\u0275dir=a.FsC({type:fe,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}}return fe})();const mc={provide:q,useExisting:(0,a.Rfq)(()=>fo),multi:!0};function Ai(fe,ye){return null==fe?`${ye}`:("string"==typeof ye&&(ye=`'${ye}'`),ye&&"object"==typeof ye&&(ye="Object"),`${fe}: ${ye}`.slice(0,50))}let fo=(()=>{class fe extends _{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(ee){this._compareWith=ee}writeValue(ee){let ze;if(this.value=ee,Array.isArray(ee)){const Ft=ee.map(Kn=>this._getOptionId(Kn));ze=(Kn,ur)=>{Kn._setSelected(Ft.indexOf(ur.toString())>-1)}}else ze=(Ft,Kn)=>{Ft._setSelected(!1)};this._optionMap.forEach(ze)}registerOnChange(ee){this.onChange=ze=>{const Ft=[],Kn=ze.selectedOptions;if(void 0!==Kn){const ur=Kn;for(let Ma=0;Ma<ur.length;Ma++){const La=this._getOptionValue(ur[Ma].value);Ft.push(La)}}else{const ur=ze.options;for(let Ma=0;Ma<ur.length;Ma++){const Rr=ur[Ma];if(Rr.selected){const La=this._getOptionValue(Rr.value);Ft.push(La)}}}this.value=Ft,ee(Ft)}}_registerOption(ee){const ze=(this._idCounter++).toString();return this._optionMap.set(ze,ee),ze}_getOptionId(ee){for(const ze of this._optionMap.keys())if(this._compareWith(this._optionMap.get(ze)._value,ee))return ze;return null}_getOptionValue(ee){const ze=function Ys(fe){return fe.split(":")[0]}(ee);return this._optionMap.has(ze)?this._optionMap.get(ze)._value:ee}static{this.\u0275fac=(()=>{let ee;return function(Ft){return(ee||(ee=a.xGo(fe)))(Ft||fe)}})()}static{this.\u0275dir=a.FsC({type:fe,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(ze,Ft){1&ze&&a.bIt("change",function(ur){return Ft.onChange(ur.target)})("blur",function(){return Ft.onTouched()})},inputs:{compareWith:"compareWith"},features:[a.Jv_([mc]),a.Vt3]})}}return fe})(),Xa=(()=>{class fe{constructor(ee,ze,Ft){this._element=ee,this._renderer=ze,this._select=Ft,this._select&&(this.id=this._select._registerOption(this))}set ngValue(ee){null!=this._select&&(this._value=ee,this._setElementValue(Ai(this.id,ee)),this._select.writeValue(this._select.value))}set value(ee){this._select?(this._value=ee,this._setElementValue(Ai(this.id,ee)),this._select.writeValue(this._select.value)):this._setElementValue(ee)}_setElementValue(ee){this._renderer.setProperty(this._element.nativeElement,"value",ee)}_setSelected(ee){this._renderer.setProperty(this._element.nativeElement,"selected",ee)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static{this.\u0275fac=function(ze){return new(ze||fe)(a.rXU(a.aKT),a.rXU(a.sFG),a.rXU(fo,9))}}static{this.\u0275dir=a.FsC({type:fe,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}}return fe})();function xs(fe){return"number"==typeof fe?fe:parseInt(fe,10)}let Qs=(()=>{class fe{constructor(){this._validator=Ve}ngOnChanges(ee){if(this.inputName in ee){const ze=this.normalizeInput(ee[this.inputName].currentValue);this._enabled=this.enabled(ze),this._validator=this._enabled?this.createValidator(ze):Ve,this._onChange&&this._onChange()}}validate(ee){return this._validator(ee)}registerOnValidatorChange(ee){this._onChange=ee}enabled(ee){return null!=ee}static{this.\u0275fac=function(ze){return new(ze||fe)}}static{this.\u0275dir=a.FsC({type:fe,features:[a.OA$]})}}return fe})();const Ms={provide:Le,useExisting:(0,a.Rfq)(()=>po),multi:!0};let po=(()=>{class fe extends Qs{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=a.L39,this.createValidator=ee=>Me}enabled(ee){return ee}static{this.\u0275fac=(()=>{let ee;return function(Ft){return(ee||(ee=a.xGo(fe)))(Ft||fe)}})()}static{this.\u0275dir=a.FsC({type:fe,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(ze,Ft){2&ze&&a.BMQ("required",Ft._enabled?"":null)},inputs:{required:"required"},features:[a.Jv_([Ms]),a.Vt3]})}}return fe})();const Zs={provide:Le,useExisting:(0,a.Rfq)(()=>fs),multi:!0};let fs=(()=>{class fe extends Qs{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=ee=>xs(ee),this.createValidator=ee=>Se(ee)}
3static{this.\u0275fac=(()=>{let ee;return function(Ft){return(ee||(ee=a.xGo(fe)))(Ft||fe)}})()}static{this.\u0275dir=a.FsC({type:fe,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(ze,Ft){2&ze&&a.BMQ("minlength",Ft._enabled?Ft.minlength:null)},inputs:{minlength:"minlength"},features:[a.Jv_([Zs]),a.Vt3]})}}return fe})();const Pr={provide:Le,useExisting:(0,a.Rfq)(()=>ms),multi:!0};let ms=(()=>{class fe extends Qs{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=ee=>xs(ee),this.createValidator=ee=>ke(ee)}static{this.\u0275fac=(()=>{let ee;return function(Ft){return(ee||(ee=a.xGo(fe)))(Ft||fe)}})()}static{this.\u0275dir=a.FsC({type:fe,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(ze,Ft){2&ze&&a.BMQ("maxlength",Ft._enabled?Ft.maxlength:null)},inputs:{maxlength:"maxlength"},features:[a.Jv_([Pr]),a.Vt3]})}}return fe})(),go=(()=>{class fe{static{this.\u0275fac=function(ze){return new(ze||fe)}}static{this.\u0275mod=a.$C({type:fe})}static{this.\u0275inj=a.G2t({})}}return fe})();class Ri extends Di{constructor(ye,ee,ze){super(oi(ee),Oi(ze,ee)),this.controls=ye,this._initObservables(),this._setUpdateStrategy(ee),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(ye){return this.controls[this._adjustIndex(ye)]}push(ye,ee={}){this.controls.push(ye),this._registerControl(ye),this.updateValueAndValidity({emitEvent:ee.emitEvent}),this._onCollectionChange()}insert(ye,ee,ze={}){this.controls.splice(ye,0,ee),this._registerControl(ee),this.updateValueAndValidity({emitEvent:ze.emitEvent})}removeAt(ye,ee={}){let ze=this._adjustIndex(ye);ze<0&&(ze=0),this.controls[ze]&&this.controls[ze]._registerOnCollectionChange(()=>{}),this.controls.splice(ze,1),this.updateValueAndValidity({emitEvent:ee.emitEvent})}setControl(ye,ee,ze={}){let Ft=this._adjustIndex(ye);Ft<0&&(Ft=0),this.controls[Ft]&&this.controls[Ft]._registerOnCollectionChange(()=>{}),this.controls.splice(Ft,1),ee&&(this.controls.splice(Ft,0,ee),this._registerControl(ee)),this.updateValueAndValidity({emitEvent:ze.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(ye,ee={}){ss(this,0,ye),ye.forEach((ze,Ft)=>{yr(this,!1,Ft),this.at(Ft).setValue(ze,{onlySelf:!0,emitEvent:ee.emitEvent})}),this.updateValueAndValidity(ee)}patchValue(ye,ee={}){null!=ye&&(ye.forEach((ze,Ft)=>{this.at(Ft)&&this.at(Ft).patchValue(ze,{onlySelf:!0,emitEvent:ee.emitEvent})}),this.updateValueAndValidity(ee))}reset(ye=[],ee={}){this._forEachChild((ze,Ft)=>{ze.reset(ye[Ft],{onlySelf:!0,emitEvent:ee.emitEvent})}),this._updatePristine(ee,this),this._updateTouched(ee,this),this.updateValueAndValidity(ee)}getRawValue(){return this.controls.map(ye=>ye.getRawValue())}clear(ye={}){this.controls.length<1||(this._forEachChild(ee=>ee._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:ye.emitEvent}))}_adjustIndex(ye){return ye<0?ye+this.length:ye}_syncPendingControls(){let ye=this.controls.reduce((ee,ze)=>!!ze._syncPendingControls()||ee,!1);return ye&&this.updateValueAndValidity({onlySelf:!0}),ye}_forEachChild(ye){this.controls.forEach((ee,ze)=>{ye(ee,ze)})}_updateValue(){this.value=this.controls.filter(ye=>ye.enabled||this.disabled).map(ye=>ye.value)}_anyControls(ye){return this.controls.some(ee=>ee.enabled&&ye(ee))}_setUpControls(){this._forEachChild(ye=>this._registerControl(ye))}_allControlsDisabled(){for(const ye of this.controls)if(ye.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(ye){ye.setParent(this),ye._registerOnCollectionChange(this._onCollectionChange)}_find(ye){return this.at(ye)??null}}function Qc(fe){return!!fe&&(void 0!==fe.asyncValidators||void 0!==fe.validators||void 0!==fe.updateOn)}let xa=(()=>{class fe{constructor(){this.useNonNullable=!1}get nonNullable(){const ee=new fe;return ee.useNonNullable=!0,ee}group(ee,ze=null){const Ft=this._reduceControls(ee);let Kn={};return Qc(ze)?Kn=ze:null!==ze&&(Kn.validators=ze.validator,Kn.asyncValidators=ze.asyncValidator),new ds(Ft,Kn)}record(ee,ze=null){const Ft=this._reduceControls(ee);return new et(Ft,ze)}control(ee,ze,Ft){let Kn={};return this.useNonNullable?(Qc(ze)?Kn=ze:(Kn.validators=ze,Kn.asyncValidators=Ft),new Pi(ee,{...Kn,nonNullable:!0})):new Pi(ee,ze,Ft)}array(ee,ze,Ft){const Kn=ee.map(ur=>this._createControl(ur));return new Ri(Kn,ze,Ft)}_reduceControls(ee){const ze={};return Object.keys(ee).forEach(Ft=>{ze[Ft]=this._createControl(ee[Ft])}),ze}_createControl(ee){return ee instanceof Pi||ee instanceof Di?ee:Array.isArray(ee)?this.control(ee[0],ee.length>1?ee[1]:null,ee.length>2?ee[2]:null):this.control(ee)}static{this.\u0275fac=function(ze){return new(ze||fe)}}static{this.\u0275prov=a.jDH({token:fe,factory:fe.\u0275fac,providedIn:"root"})}}return fe})(),Uc=(()=>{class fe{static{this.\u0275fac=function(ze){return new(ze||fe)}}static{this.\u0275prov=a.jDH({token:fe,factory:()=>(0,a.WQX)(xa).nonNullable,providedIn:"root"})}}return fe})(),gl=(()=>{class fe extends xa{group(ee,ze=null){return super.group(ee,ze)}control(ee,ze,Ft){return super.control(ee,ze,Ft)}array(ee,ze,Ft){return super.array(ee,ze,Ft)}static{this.\u0275fac=(()=>{let ee;return function(Ft){return(ee||(ee=a.xGo(fe)))(Ft||fe)}})()}static{this.\u0275prov=a.jDH({token:fe,factory:fe.\u0275fac,providedIn:"root"})}}return fe})(),xc=(()=>{class fe{static withConfig(ee){return{ngModule:fe,providers:[{provide:At,useValue:ee.callSetDisabledState??Yn}]}}static{this.\u0275fac=function(ze){return new(ze||fe)}}static{this.\u0275mod=a.$C({type:fe})}static{this.\u0275inj=a.G2t({imports:[go]})}}return fe})(),Zc=(()=>{class fe{static withConfig(ee){return{ngModule:fe,providers:[{provide:Dc,useValue:ee.warnOnNgModelWithFormControl??"always"},{provide:At,useValue:ee.callSetDisabledState??Yn}]}}static{this.\u0275fac=function(ze){return new(ze||fe)}}static{this.\u0275mod=a.$C({type:fe})}static{this.\u0275inj=a.G2t({imports:[go]})}}return fe})()},74150:(st,Q,g)=>{"use strict";g.d(Q,{B7:()=>ct,B8:()=>ft,Bb:()=>Ot,hE:()=>Wn,up:()=>tn});var a=g(61142),h=g(58527);class H extends a.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class z extends H{static makeCurrent(){(0,a.ZD)(new z)}onAndCancel(Et,ot,pt){return Et.addEventListener(ot,pt),()=>{Et.removeEventListener(ot,pt)}}dispatchEvent(Et,ot){Et.dispatchEvent(ot)}remove(Et){Et.remove()}createElement(Et,ot){return(ot=ot||this.getDefaultDocument()).createElement(Et)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Et){return Et.nodeType===Node.ELEMENT_NODE}isShadowRoot(Et){return Et instanceof DocumentFragment}getGlobalEventTarget(Et,ot){return"window"===ot?window:"document"===ot?Et:"body"===ot?Et.body:null}getBaseHref(Et){const ot=function C(){return P=P||document.querySelector("base"),P?P.getAttribute("href"):null}();return null==ot?null:function B(Pt){return new URL(Pt,document.baseURI).pathname}(ot)}resetBaseElement(){P=null}getUserAgent(){return window.navigator.userAgent}getCookie(Et){return(0,a._b)(document.cookie,Et)}}let P=null,q=(()=>{class Pt{build(){return new XMLHttpRequest}static{this.\u0275fac=function(pt){return new(pt||Pt)}}static{this.\u0275prov=h.jDH({token:Pt,factory:Pt.\u0275fac})}}return Pt})();const A=new h.nKC("");let X=(()=>{class Pt{constructor(ot,pt){this._zone=pt,this._eventNameToPlugin=new Map,ot.forEach(rn=>{rn.manager=this}),this._plugins=ot.slice().reverse()}addEventListener(ot,pt,rn){return this._findPluginFor(pt).addEventListener(ot,pt,rn)}getZone(){return this._zone}_findPluginFor(ot){let pt=this._eventNameToPlugin.get(ot);if(pt)return pt;if(pt=this._plugins.find(Vn=>Vn.supports(ot)),!pt)throw new h.wOt(5101,!1);return this._eventNameToPlugin.set(ot,pt),pt}static{this.\u0275fac=function(pt){return new(pt||Pt)(h.KVO(A),h.KVO(h.SKi))}}static{this.\u0275prov=h.jDH({token:Pt,factory:Pt.\u0275fac})}}return Pt})();class R{constructor(Et){this._doc=Et}}const ne="ng-app-id";let se=(()=>{class Pt{constructor(ot,pt,rn,Vn={}){this.doc=ot,this.appId=pt,this.nonce=rn,this.platformId=Vn,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,a.Vy)(Vn),this.resetHostNodes()}
3addStyles(ot){for(const pt of ot)1===this.changeUsageCount(pt,1)&&this.onStyleAdded(pt)}removeStyles(ot){for(const pt of ot)this.changeUsageCount(pt,-1)<=0&&this.onStyleRemoved(pt)}ngOnDestroy(){const ot=this.styleNodesInDOM;ot&&(ot.forEach(pt=>pt.remove()),ot.clear());for(const pt of this.getAllStyles())this.onStyleRemoved(pt);this.resetHostNodes()}addHost(ot){this.hostNodes.add(ot);for(const pt of this.getAllStyles())this.addStyleToHost(ot,pt)}removeHost(ot){this.hostNodes.delete(ot)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(ot){for(const pt of this.hostNodes)this.addStyleToHost(pt,ot)}onStyleRemoved(ot){const pt=this.styleRef;pt.get(ot)?.elements?.forEach(rn=>rn.remove()),pt.delete(ot)}collectServerRenderedStyles(){const ot=this.doc.head?.querySelectorAll(`style[${ne}="${this.appId}"]`);if(ot?.length){const pt=new Map;return ot.forEach(rn=>{null!=rn.textContent&&pt.set(rn.textContent,rn)}),pt}return null}changeUsageCount(ot,pt){const rn=this.styleRef;if(rn.has(ot)){const Vn=rn.get(ot);return Vn.usage+=pt,Vn.usage}return rn.set(ot,{usage:pt,elements:[]}),pt}getStyleElement(ot,pt){const rn=this.styleNodesInDOM,Vn=rn?.get(pt);if(Vn?.parentNode===ot)return rn.delete(pt),Vn.removeAttribute(ne),Vn;{const oi=this.doc.createElement("style");return this.nonce&&oi.setAttribute("nonce",this.nonce),oi.textContent=pt,this.platformIsServer&&oi.setAttribute(ne,this.appId),ot.appendChild(oi),oi}}addStyleToHost(ot,pt){const rn=this.getStyleElement(ot,pt),Vn=this.styleRef,oi=Vn.get(pt)?.elements;oi?oi.push(rn):Vn.set(pt,{elements:[rn],usage:1})}resetHostNodes(){const ot=this.hostNodes;ot.clear(),ot.add(this.doc.head)}static{this.\u0275fac=function(pt){return new(pt||Pt)(h.KVO(a.qQ),h.KVO(h.sZ2),h.KVO(h.BIS,8),h.KVO(h.Agw))}}static{this.\u0275prov=h.jDH({token:Pt,factory:Pt.\u0275fac})}}return Pt})();const _e={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},le=/%COMP%/g,Te=new h.nKC("",{providedIn:"root",factory:()=>!0});function Me(Pt,Et){return Et.map(ot=>ot.replace(le,Pt))}let ct=(()=>{class Pt{constructor(ot,pt,rn,Vn,oi,hi,Oi,Dr=null){this.eventManager=ot,this.sharedStylesHost=pt,this.appId=rn,this.removeStylesOnCompDestroy=Vn,this.doc=oi,this.platformId=hi,this.ngZone=Oi,this.nonce=Dr,this.rendererByCompId=new Map,this.platformIsServer=(0,a.Vy)(hi),this.defaultRenderer=new yt(ot,oi,Oi,this.platformIsServer)}createRenderer(ot,pt){if(!ot||!pt)return this.defaultRenderer;this.platformIsServer&&pt.encapsulation===h.gXe.ShadowDom&&(pt={...pt,encapsulation:h.gXe.Emulated});const rn=this.getOrCreateRenderer(ot,pt);return rn instanceof ge?rn.applyToHost(ot):rn instanceof Be&&rn.applyStyles(),rn}getOrCreateRenderer(ot,pt){const rn=this.rendererByCompId;let Vn=rn.get(pt.id);if(!Vn){const oi=this.doc,hi=this.ngZone,Oi=this.eventManager,Dr=this.sharedStylesHost,mr=this.removeStylesOnCompDestroy,yr=this.platformIsServer;switch(pt.encapsulation){case h.gXe.Emulated:Vn=new ge(Oi,Dr,pt,this.appId,mr,oi,hi,yr);break;case h.gXe.ShadowDom:return new Ve(Oi,Dr,ot,pt,oi,hi,this.nonce,yr);default:Vn=new Be(Oi,Dr,pt,mr,oi,hi,yr)}rn.set(pt.id,Vn)}return Vn}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(pt){return new(pt||Pt)(h.KVO(X),h.KVO(se),h.KVO(h.sZ2),h.KVO(Te),h.KVO(a.qQ),h.KVO(h.Agw),h.KVO(h.SKi),h.KVO(h.BIS))}}static{this.\u0275prov=h.jDH({token:Pt,factory:Pt.\u0275fac})}}return Pt})();class yt{constructor(Et,ot,pt,rn){this.eventManager=Et,this.doc=ot,this.ngZone=pt,this.platformIsServer=rn,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(Et,ot){return ot?this.doc.createElementNS(_e[ot]||ot,Et):this.doc.createElement(Et)}createComment(Et){return this.doc.createComment(Et)}createText(Et){return this.doc.createTextNode(Et)}appendChild(Et,ot){(Ze(Et)?Et.content:Et).appendChild(ot)}insertBefore(Et,ot,pt){Et&&(Ze(Et)?Et.content:Et).insertBefore(ot,pt)}removeChild(Et,ot){ot.remove()}selectRootElement(Et,ot){let pt="string"==typeof Et?this.doc.querySelector(Et):Et;if(!pt)throw new h.wOt(-5104,!1);return ot||(pt.textContent=""),pt}parentNode(Et){return Et.parentNode}nextSibling(Et){return Et.nextSibling}
3setAttribute(Et,ot,pt,rn){if(rn){ot=rn+":"+ot;const Vn=_e[rn];Vn?Et.setAttributeNS(Vn,ot,pt):Et.setAttribute(ot,pt)}else Et.setAttribute(ot,pt)}removeAttribute(Et,ot,pt){if(pt){const rn=_e[pt];rn?Et.removeAttributeNS(rn,ot):Et.removeAttribute(`${pt}:${ot}`)}else Et.removeAttribute(ot)}addClass(Et,ot){Et.classList.add(ot)}removeClass(Et,ot){Et.classList.remove(ot)}setStyle(Et,ot,pt,rn){rn&(h.czy.DashCase|h.czy.Important)?Et.style.setProperty(ot,pt,rn&h.czy.Important?"important":""):Et.style[ot]=pt}removeStyle(Et,ot,pt){pt&h.czy.DashCase?Et.style.removeProperty(ot):Et.style[ot]=""}setProperty(Et,ot,pt){null!=Et&&(Et[ot]=pt)}setValue(Et,ot){Et.nodeValue=ot}listen(Et,ot,pt){if("string"==typeof Et&&!(Et=(0,a.QT)().getGlobalEventTarget(this.doc,Et)))throw new Error(`Unsupported event target ${Et} for event ${ot}`);return this.eventManager.addEventListener(Et,ot,this.decoratePreventDefault(pt))}decoratePreventDefault(Et){return ot=>{if("__ngUnwrap__"===ot)return Et;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>Et(ot)):Et(ot))&&ot.preventDefault()}}}function Ze(Pt){return"TEMPLATE"===Pt.tagName&&void 0!==Pt.content}class Ve extends yt{constructor(Et,ot,pt,rn,Vn,oi,hi,Oi){super(Et,Vn,oi,Oi),this.sharedStylesHost=ot,this.hostEl=pt,this.shadowRoot=pt.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Dr=Me(rn.id,rn.styles);for(const mr of Dr){const yr=document.createElement("style");hi&&yr.setAttribute("nonce",hi),yr.textContent=mr,this.shadowRoot.appendChild(yr)}}nodeOrShadowRoot(Et){return Et===this.hostEl?this.shadowRoot:Et}appendChild(Et,ot){return super.appendChild(this.nodeOrShadowRoot(Et),ot)}insertBefore(Et,ot,pt){return super.insertBefore(this.nodeOrShadowRoot(Et),ot,pt)}removeChild(Et,ot){return super.removeChild(null,ot)}parentNode(Et){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Et)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Be extends yt{constructor(Et,ot,pt,rn,Vn,oi,hi,Oi){super(Et,Vn,oi,hi),this.sharedStylesHost=ot,this.removeStylesOnCompDestroy=rn,this.styles=Oi?Me(Oi,pt.styles):pt.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class ge extends Be{constructor(Et,ot,pt,rn,Vn,oi,hi,Oi){const Dr=rn+"-"+pt.id;super(Et,ot,pt,Vn,oi,hi,Oi,Dr),this.contentAttr=function Ne(Pt){return"_ngcontent-%COMP%".replace(le,Pt)}(Dr),this.hostAttr=function he(Pt){return"_nghost-%COMP%".replace(le,Pt)}(Dr)}applyToHost(Et){this.applyStyles(),this.setAttribute(Et,this.hostAttr,"")}createElement(Et,ot){const pt=super.createElement(Et,ot);return super.setAttribute(pt,this.contentAttr,""),pt}}let Pe=(()=>{class Pt extends R{constructor(ot){super(ot)}supports(ot){return!0}addEventListener(ot,pt,rn){return ot.addEventListener(pt,rn,!1),()=>this.removeEventListener(ot,pt,rn)}removeEventListener(ot,pt,rn){return ot.removeEventListener(pt,rn)}static{this.\u0275fac=function(pt){return new(pt||Pt)(h.KVO(a.qQ))}}static{this.\u0275prov=h.jDH({token:Pt,factory:Pt.\u0275fac})}}return Pt})();const He=["alt","control","meta","shift"],bt={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Yt={alt:Pt=>Pt.altKey,control:Pt=>Pt.ctrlKey,meta:Pt=>Pt.metaKey,shift:Pt=>Pt.shiftKey};let sn=(()=>{class Pt extends R{constructor(ot){super(ot)}supports(ot){return null!=Pt.parseEventName(ot)}addEventListener(ot,pt,rn){const Vn=Pt.parseEventName(pt),oi=Pt.eventCallback(Vn.fullKey,rn,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,a.QT)().onAndCancel(ot,Vn.domEventName,oi))}static parseEventName(ot){const pt=ot.toLowerCase().split("."),rn=pt.shift();if(0===pt.length||"keydown"!==rn&&"keyup"!==rn)return null;const Vn=Pt._normalizeKey(pt.pop());let oi="",hi=pt.indexOf("code");if(hi>-1&&(pt.splice(hi,1),oi="code."),He.forEach(Dr=>{const mr=pt.indexOf(Dr);mr>-1&&(pt.splice(mr,1),oi+=Dr+".")}),oi+=Vn,0!=pt.length||0===Vn.length)return null;const Oi={};return Oi.domEventName=rn,Oi.fullKey=oi,Oi}static matchEventFullKeyCode(ot,pt){let rn=bt[ot.key]||ot.key,Vn="";return pt.indexOf("code.")>-1&&(rn=ot.code,Vn="code."),!(null==rn||!rn)&&(rn=rn.toLowerCase()," "===rn?rn="space":"."===rn&&(rn="dot"),He.forEach(oi=>{oi!==rn&&(0,Yt[oi])(ot)&&(Vn+=oi+".")}),Vn+=rn,Vn===pt)}static eventCallback(ot,pt,rn){return Vn=>{Pt.matchEventFullKeyCode(Vn,ot)&&rn.runGuarded(()=>pt(Vn))}}static _normalizeKey(ot){return"esc"===ot?"escape":ot}static{this.\u0275fac=function(pt){return new(pt||Pt)(h.KVO(a.qQ))}}static{this.\u0275prov=h.jDH({token:Pt,factory:Pt.\u0275fac})}}return Pt})();function ft(Pt,Et,ot){return(0,h.TL3)({rootComponent:Pt,platformRef:ot?.platformRef,...$e(Et)})}function $e(Pt){return{appProviders:[...en,...Pt?.providers??[]],platformProviders:on}}const on=[{provide:h.Agw,useValue:a.AJ},{provide:h.PLl,useValue:function tt(){z.makeCurrent()},multi:!0},{provide:a.qQ,useFactory:function _t(){return(0,h.TL$)(document),document},deps:[]}],_n=new h.nKC(""),hn=[{provide:h.e01,useClass:class _{addToWindow(Et){h.JZv.getAngularTestability=(pt,rn=!0)=>{const Vn=Et.findTestabilityInTree(pt,rn);if(null==Vn)throw new h.wOt(5103,!1);return Vn},h.JZv.getAllAngularTestabilities=()=>Et.getAllTestabilities(),h.JZv.getAllAngularRootElements=()=>Et.getAllRootElements(),h.JZv.frameworkStabilizers||(h.JZv.frameworkStabilizers=[]),h.JZv.frameworkStabilizers.push(pt=>{const rn=h.JZv.getAllAngularTestabilities();let Vn=rn.length;const oi=function(){Vn--,0==Vn&&pt()};
3rn.forEach(hi=>{hi.whenStable(oi)})})}findTestabilityInTree(Et,ot,pt){return null==ot?null:Et.getTestability(ot)??(pt?(0,a.QT)().isShadowRoot(ot)?this.findTestabilityInTree(Et,ot.host,!0):this.findTestabilityInTree(Et,ot.parentElement,!0):null)}},deps:[]},{provide:h.WHO,useClass:h.NYb,deps:[h.SKi,h.giA,h.e01]},{provide:h.NYb,useClass:h.NYb,deps:[h.SKi,h.giA,h.e01]}],en=[{provide:h.H8p,useValue:"root"},{provide:h.zcH,useFactory:function nt(){return new h.zcH},deps:[]},{provide:A,useClass:Pe,multi:!0,deps:[a.qQ,h.SKi,h.Agw]},{provide:A,useClass:sn,multi:!0,deps:[a.qQ]},ct,se,X,{provide:h._9s,useExisting:ct},{provide:a.N0,useClass:q,deps:[]},[]];let Ot=(()=>{class Pt{constructor(ot){}static withServerTransition(ot){return{ngModule:Pt,providers:[{provide:h.sZ2,useValue:ot.appId}]}}static{this.\u0275fac=function(pt){return new(pt||Pt)(h.KVO(_n,12))}}static{this.\u0275mod=h.$C({type:Pt})}static{this.\u0275inj=h.G2t({providers:[...en,...hn],imports:[a.MD,h.Hbi]})}}return Pt})(),Wn=(()=>{class Pt{constructor(ot){this._doc=ot}getTitle(){return this._doc.title}setTitle(ot){this._doc.title=ot||""}static{this.\u0275fac=function(pt){return new(pt||Pt)(h.KVO(a.qQ))}}static{this.\u0275prov=h.jDH({token:Pt,factory:Pt.\u0275fac,providedIn:"root"})}}return Pt})(),tn=(()=>{class Pt{static{this.\u0275fac=function(pt){return new(pt||Pt)}}static{this.\u0275prov=h.jDH({token:Pt,factory:function(pt){let rn=null;return rn=pt?new(pt||Pt):h.KVO(zn),rn},providedIn:"root"})}}return Pt})(),zn=(()=>{class Pt extends tn{constructor(ot){super(),this._doc=ot}sanitize(ot,pt){if(null==pt)return null;switch(ot){case h.WPN.NONE:return pt;case h.WPN.HTML:return(0,h.ZF7)(pt,"HTML")?(0,h.rcV)(pt):(0,h.h9k)(this._doc,String(pt)).toString();case h.WPN.STYLE:return(0,h.ZF7)(pt,"Style")?(0,h.rcV)(pt):pt;case h.WPN.SCRIPT:if((0,h.ZF7)(pt,"Script"))return(0,h.rcV)(pt);throw new h.wOt(5200,!1);case h.WPN.URL:return(0,h.ZF7)(pt,"URL")?(0,h.rcV)(pt):(0,h.$MX)(String(pt));case h.WPN.RESOURCE_URL:if((0,h.ZF7)(pt,"ResourceURL"))return(0,h.rcV)(pt);throw new h.wOt(5201,!1);default:throw new h.wOt(5202,!1)}}bypassSecurityTrustHtml(ot){return(0,h.Kcf)(ot)}bypassSecurityTrustStyle(ot){return(0,h.cWb)(ot)}bypassSecurityTrustScript(ot){return(0,h.UyX)(ot)}bypassSecurityTrustUrl(ot){return(0,h.osQ)(ot)}bypassSecurityTrustResourceUrl(ot){return(0,h.e5t)(ot)}static{this.\u0275fac=function(pt){return new(pt||Pt)(h.KVO(a.qQ))}}static{this.\u0275prov=h.jDH({token:Pt,factory:Pt.\u0275fac,providedIn:"root"})}}return Pt})()},65377:(st,Q,g)=>{"use strict";g.d(Q,{nX:()=>io,vG:()=>Kt,j5:()=>qi,wF:()=>Bn,L6:()=>pr,Z:()=>En,gx:()=>xr,Ix:()=>wn,Wk:()=>Gs,wQ:()=>Vr,iI:()=>rl,n3:()=>fo});var a=g(58527),h=g(18718),H=g(13858),P=g(40450),C=g(17796),B=g(83485),_=g(27639),q=g(55039),A=g(66554),X=g(97293);function R(N){return new h.c(Z=>{(0,X.Tg)(N()).subscribe(Z)})}var ne=g(84362),se=g(15463),_e=g(80560),le=g(59343),Re=g(92411),Le=g(20223);function Ie(){return(0,Re.N)((N,Z)=>{let j=null;N._refCount++;const te=(0,Le._)(Z,void 0,void 0,void 0,()=>{if(!N||N._refCount<=0||0<--N._refCount)return void(j=null);const ve=N._connection,Ke=j;j=null,ve&&(!Ke||ve===Ke)&&ve.unsubscribe(),Z.unsubscribe()});N.subscribe(te),te.closed||(j=N.connect())})}class xe extends h.c{constructor(Z,j){super(),this.source=Z,this.subjectFactory=j,this._subject=null,this._refCount=0,this._connection=null,(0,Re.S)(Z)&&(this.lift=Z.lift)}_subscribe(Z){return this.getSubject().subscribe(Z)}getSubject(){const Z=this._subject;return(!Z||Z.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:Z}=this;this._subject=this._connection=null,Z?.unsubscribe()}connect(){let Z=this._connection;if(!Z){Z=this._connection=new le.yU;const j=this.getSubject();Z.add(this.source.subscribe((0,Le._)(j,void 0,()=>{this._teardown(),j.complete()},te=>{this._teardown(),j.error(te)},()=>this._teardown()))),Z.closed&&(this._connection=null,Z=le.yU.EMPTY)}return Z}refCount(){return Ie()(this)}}var Te=g(77392),Ne=g(61142),he=g(6663),Me=g(84975),ct=g(78374),yt=g(62997),Se=g(85687),ke=g(43614),Ze=g(46891),Ve=g(19847),Be=g(21252),ge=g(60494),Pe=g(89800),He=g
3(42562);function bt(N){return N<=0?()=>_e.w:(0,Re.N)((Z,j)=>{let te=[];Z.subscribe((0,Le._)(j,ve=>{te.push(ve),N<te.length&&te.shift()},()=>{for(const ve of te)j.next(ve);j.complete()},void 0,()=>{te=null}))})}var Yt=g(38461),sn=g(34968),Tt=g(24458),$e=g(56731),rt=g(58468),tt=g(4398),nt=g(74150);const _t="primary",on=Symbol("RouteTitle");class Hn{constructor(Z){this.params=Z||{}}has(Z){return Object.prototype.hasOwnProperty.call(this.params,Z)}get(Z){if(this.has(Z)){const j=this.params[Z];return Array.isArray(j)?j[0]:j}return null}getAll(Z){if(this.has(Z)){const j=this.params[Z];return Array.isArray(j)?j:[j]}return[]}get keys(){return Object.keys(this.params)}}function _n(N){return new Hn(N)}function hn(N,Z,j){const te=j.path.split("/");if(te.length>N.length||"full"===j.pathMatch&&(Z.hasChildren()||te.length<N.length))return null;const ve={};for(let Ke=0;Ke<te.length;Ke++){const ht=te[Ke],cn=N[Ke];if(":"===ht[0])ve[ht.substring(1)]=cn;else if(ht!==cn.path)return null}return{consumed:N.slice(0,te.length),posParams:ve}}function Ot(N,Z){const j=N?Gt(N):void 0,te=Z?Gt(Z):void 0;if(!j||!te||j.length!=te.length)return!1;let ve;for(let Ke=0;Ke<j.length;Ke++)if(ve=j[Ke],!Wt(N[ve],Z[ve]))return!1;return!0}function Gt(N){return[...Object.keys(N),...Object.getOwnPropertySymbols(N)]}function Wt(N,Z){if(Array.isArray(N)&&Array.isArray(Z)){if(N.length!==Z.length)return!1;const j=[...N].sort(),te=[...Z].sort();return j.every((ve,Ke)=>te[Ke]===ve)}return N===Z}function Wn(N){return N.length>0?N[N.length-1]:null}function qn(N){return function z(N){return!!N&&(N instanceof h.c||(0,H.T)(N.lift)&&(0,H.T)(N.subscribe))}(N)?N:(0,a.jNT)(N)?(0,P.H)(Promise.resolve(N)):(0,C.of)(N)}const Fn={exact:function ni(N,Z,j){if(!tn(N.segments,Z.segments)||!Dt(N.segments,Z.segments,j)||N.numberOfChildren!==Z.numberOfChildren)return!1;for(const te in Z.children)if(!N.children[te]||!ni(N.children[te],Z.children[te],j))return!1;return!0},subset:Rt},Mi={exact:function Yi(N,Z){return Ot(N,Z)},subset:function wi(N,Z){return Object.keys(Z).length<=Object.keys(N).length&&Object.keys(Z).every(j=>Wt(N[j],Z[j]))},ignored:()=>!0};function zi(N,Z,j){return Fn[j.paths](N.root,Z.root,j.matrixParams)&&Mi[j.queryParams](N.queryParams,Z.queryParams)&&!("exact"===j.fragment&&N.fragment!==Z.fragment)}function Rt(N,Z,j){return Xt(N,Z,Z.segments,j)}function Xt(N,Z,j,te){if(N.segments.length>j.length){const ve=N.segments.slice(0,j.length);return!(!tn(ve,j)||Z.hasChildren()||!Dt(ve,j,te))}if(N.segments.length===j.length){if(!tn(N.segments,j)||!Dt(N.segments,j,te))return!1;for(const ve in Z.children)if(!N.children[ve]||!Rt(N.children[ve],Z.children[ve],te))return!1;return!0}{const ve=j.slice(0,N.segments.length),Ke=j.slice(N.segments.length);return!!(tn(N.segments,ve)&&Dt(N.segments,ve,te)&&N.children[_t])&&Xt(N.children[_t],Z,Ke,te)}}function Dt(N,Z,j){return Z.every((te,ve)=>Mi[j](N[ve].parameters,te.parameters))}class xn{constructor(Z=new Oe([],{}),j={},te=null){this.root=Z,this.queryParams=j,this.fragment=te}get queryParamMap(){return this._queryParamMap??=_n(this.queryParams),this._queryParamMap}toString(){return gr.serialize(this)}}class Oe{constructor(Z,j){this.segments=Z,this.children=j,this.parent=null,Object.values(j).forEach(te=>te.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return xt(this)}}class Ye{constructor(Z,j){this.path=Z,this.parameters=j}get parameterMap(){return this._parameterMap??=_n(this.parameters),this._parameterMap}toString(){return ot(this)}}function tn(N,Z){return N.length===Z.length&&N.every((j,te)=>j.path===Z[te].path)}let Qn=(()=>{class N{static{this.\u0275fac=function(te){return new(te||N)}}static{this.\u0275prov=a.jDH({token:N,factory:()=>new si,providedIn:"root"})}}return N})();class si{parse(Z){const j=new Di(Z);return new xn(j.parseRootSegment(),j.parseQueryParams(),j.parseFragment())}serialize(Z){const j=`/${Sn(Z.root,!0)}`,te=function rn(N){const Z=Object.entries(N).map(([j,te])=>Array.isArray(te)?te.map(ve=>`${Cn(j)}=${Cn(ve)}`).join("&"):`${Cn(j)}=${Cn(te)}`).filter(j=>j);return Z.length?`?${Z.join("&")}`:""}(Z.queryParams);return`${j}${te}${"string"==typeof Z.fragment?`#${function ai(N){return encodeURI(N)}(Z.fragment)}`:""}`}}const gr=new si;function xt(N){return N.segments.map(Z=>ot(Z)).join("/")}function Sn(N,Z){if(!N.hasChildren())return xt(N);if(Z){const j=N.children[_t]?Sn(N.children[_t],!1):"",te=[];
3return Object.entries(N.children).forEach(([ve,Ke])=>{ve!==_t&&te.push(`${ve}:${Sn(Ke,!1)}`)}),te.length>0?`${j}(${te.join("//")})`:j}{const j=function zn(N,Z){let j=[];return Object.entries(N.children).forEach(([te,ve])=>{te===_t&&(j=j.concat(Z(ve,te)))}),Object.entries(N.children).forEach(([te,ve])=>{te!==_t&&(j=j.concat(Z(ve,te)))}),j}(N,(te,ve)=>ve===_t?[Sn(N.children[_t],!1)]:[`${ve}:${Sn(te,!1)}`]);return 1===Object.keys(N.children).length&&null!=N.children[_t]?`${xt(N)}/${j[0]}`:`${xt(N)}/(${j.join("//")})`}}function qt(N){return encodeURIComponent(N).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Cn(N){return qt(N).replace(/%3B/gi,";")}function gi(N){return qt(N).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Pt(N){return decodeURIComponent(N)}function Et(N){return Pt(N.replace(/\+/g,"%20"))}function ot(N){return`${gi(N.path)}${function pt(N){return Object.entries(N).map(([Z,j])=>`;${gi(Z)}=${gi(j)}`).join("")}(N.parameters)}`}const Vn=/^[^\/()?;#]+/;function oi(N){const Z=N.match(Vn);return Z?Z[0]:""}const hi=/^[^\/()?;=#]+/,Dr=/^[^=?&#]+/,yr=/^[^&#]+/;class Di{constructor(Z){this.url=Z,this.remaining=Z}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Oe([],{}):new Oe([],this.parseChildren())}parseQueryParams(){const Z={};if(this.consumeOptional("?"))do{this.parseQueryParam(Z)}while(this.consumeOptional("&"));return Z}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const Z=[];for(this.peekStartsWith("(")||Z.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),Z.push(this.parseSegment());let j={};this.peekStartsWith("/(")&&(this.capture("/"),j=this.parseParens(!0));let te={};return this.peekStartsWith("(")&&(te=this.parseParens(!1)),(Z.length>0||Object.keys(j).length>0)&&(te[_t]=new Oe(Z,j)),te}parseSegment(){const Z=oi(this.remaining);if(""===Z&&this.peekStartsWith(";"))throw new a.wOt(4009,!1);return this.capture(Z),new Ye(Pt(Z),this.parseMatrixParams())}parseMatrixParams(){const Z={};for(;this.consumeOptional(";");)this.parseParam(Z);return Z}parseParam(Z){const j=function Oi(N){const Z=N.match(hi);return Z?Z[0]:""}(this.remaining);if(!j)return;this.capture(j);let te="";if(this.consumeOptional("=")){const ve=oi(this.remaining);ve&&(te=ve,this.capture(te))}Z[Pt(j)]=Pt(te)}parseQueryParam(Z){const j=function mr(N){const Z=N.match(Dr);return Z?Z[0]:""}(this.remaining);if(!j)return;this.capture(j);let te="";if(this.consumeOptional("=")){const ht=function ss(N){const Z=N.match(yr);return Z?Z[0]:""}(this.remaining);ht&&(te=ht,this.capture(te))}const ve=Et(j),Ke=Et(te);if(Z.hasOwnProperty(ve)){let ht=Z[ve];Array.isArray(ht)||(ht=[ht],Z[ve]=ht),ht.push(Ke)}else Z[ve]=Ke}parseParens(Z){const j={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const te=oi(this.remaining),ve=this.remaining[te.length];if("/"!==ve&&")"!==ve&&";"!==ve)throw new a.wOt(4010,!1);let Ke;te.indexOf(":")>-1?(Ke=te.slice(0,te.indexOf(":")),this.capture(Ke),this.capture(":")):Z&&(Ke=_t);const ht=this.parseChildren();j[Ke]=1===Object.keys(ht).length?ht[_t]:new Oe([],ht),this.consumeOptional("//")}return j}peekStartsWith(Z){return this.remaining.startsWith(Z)}consumeOptional(Z){return!!this.peekStartsWith(Z)&&(this.remaining=this.remaining.substring(Z.length),!0)}capture(Z){if(!this.consumeOptional(Z))throw new a.wOt(4011,!1)}}function ds(N){return N.segments.length>0?new Oe([],{[_t]:N}):N}function cr(N){const Z={};for(const[te,ve]of Object.entries(N.children)){const Ke=cr(ve);if(te===_t&&0===Ke.segments.length&&Ke.hasChildren())for(const[ht,cn]of Object.entries(Ke.children))Z[ht]=cn;else(Ke.segments.length>0||Ke.hasChildren())&&(Z[te]=Ke)}return function jt(N){if(1===N.numberOfChildren&&N.children[_t]){const Z=N.children[_t];return new Oe(N.segments.concat(Z.segments),Z.children)}return N}(new Oe(N.segments,Z))}function nn(N){return N instanceof xn}function Zt(N){let Z;const ve=ds(function j(Ke){const ht={};for(const $t of Ke.children){const li=j($t);ht[$t.outlet]=li}const cn=new Oe(Ke.url,ht);return Ke===N&&(Z=cn),cn}(N.root));return Z??ve}function At(N,Z,j,te){let ve=N;for(;ve.parent;)ve=ve.parent;if(0===Z.length)return ii(ve,ve,ve,j,te);const Ke=function lr(N){if("string"==typeof N[0]&&1===N.length&&"/"===N[0])return new sr(!0,0,N);let Z=0,j=!1;const te=N.reduce((ve,Ke,ht)=>{if("object"==typeof Ke&&null!=Ke){if(Ke.outlets){const cn={};
3return Object.entries(Ke.outlets).forEach(([$t,li])=>{cn[$t]="string"==typeof li?li.split("/"):li}),[...ve,{outlets:cn}]}if(Ke.segmentPath)return[...ve,Ke.segmentPath]}return"string"!=typeof Ke?[...ve,Ke]:0===ht?(Ke.split("/").forEach((cn,$t)=>{0==$t&&"."===cn||(0==$t&&""===cn?j=!0:".."===cn?Z++:""!=cn&&ve.push(cn))}),ve):[...ve,Ke]},[]);return new sr(j,Z,te)}(Z);if(Ke.toRoot())return ii(ve,ve,new Oe([],{}),j,te);const ht=function Cs(N,Z,j){if(N.isAbsolute)return new us(Z,!0,0);if(!j)return new us(Z,!1,NaN);if(null===j.parent)return new us(j,!0,0);const te=Yn(N.commands[0])?0:1;return function ho(N,Z,j){let te=N,ve=Z,Ke=j;for(;Ke>ve;){if(Ke-=ve,te=te.parent,!te)throw new a.wOt(4005,!1);ve=te.segments.length}return new us(te,!1,ve-Ke)}(j,j.segments.length-1+te,N.numberOfDoubleDots)}(Ke,ve,N),cn=ht.processChildren?We(ht.segmentGroup,ht.index,Ke.commands):ko(ht.segmentGroup,ht.index,Ke.commands);return ii(ve,ht.segmentGroup,cn,j,te)}function Yn(N){return"object"==typeof N&&null!=N&&!N.outlets&&!N.segmentPath}function Wi(N){return"object"==typeof N&&null!=N&&N.outlets}function ii(N,Z,j,te,ve){let ht,Ke={};te&&Object.entries(te).forEach(([$t,li])=>{Ke[$t]=Array.isArray(li)?li.map(tr=>`${tr}`):`${li}`}),ht=N===Z?j:Ur(N,Z,j);const cn=ds(cr(ht));return new xn(cn,Ke,ve)}function Ur(N,Z,j){const te={};return Object.entries(N.children).forEach(([ve,Ke])=>{te[ve]=Ke===Z?j:Ur(Ke,Z,j)}),new Oe(N.segments,te)}class sr{constructor(Z,j,te){if(this.isAbsolute=Z,this.numberOfDoubleDots=j,this.commands=te,Z&&te.length>0&&Yn(te[0]))throw new a.wOt(4003,!1);const ve=te.find(Wi);if(ve&&ve!==Wn(te))throw new a.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class us{constructor(Z,j,te){this.segmentGroup=Z,this.processChildren=j,this.index=te}}function ko(N,Z,j){if(N??=new Oe([],{}),0===N.segments.length&&N.hasChildren())return We(N,Z,j);const te=function be(N,Z,j){let te=0,ve=Z;const Ke={match:!1,pathIndex:0,commandIndex:0};for(;ve<N.segments.length;){if(te>=j.length)return Ke;const ht=N.segments[ve],cn=j[te];if(Wi(cn))break;const $t=`${cn}`,li=te<j.length-1?j[te+1]:null;if(ve>0&&void 0===$t)break;if($t&&li&&"object"==typeof li&&void 0===li.outlets){if(!Xe($t,li,ht))return Ke;te+=2}else{if(!Xe($t,{},ht))return Ke;te++}ve++}return{match:!0,pathIndex:ve,commandIndex:te}}(N,Z,j),ve=j.slice(te.commandIndex);if(te.match&&te.pathIndex<N.segments.length){const Ke=new Oe(N.segments.slice(0,te.pathIndex),{});return Ke.children[_t]=new Oe(N.segments.slice(te.pathIndex),N.children),We(Ke,0,ve)}return te.match&&0===ve.length?new Oe(N.segments,{}):te.match&&!N.hasChildren()?we(N,Z,j):te.match?We(N,0,ve):we(N,Z,j)}function We(N,Z,j){if(0===j.length)return new Oe(N.segments,{});{const te=function _o(N){return Wi(N[0])?N[0].outlets:{[_t]:N}}(j),ve={};if(Object.keys(te).some(Ke=>Ke!==_t)&&N.children[_t]&&1===N.numberOfChildren&&0===N.children[_t].segments.length){const Ke=We(N.children[_t],Z,j);return new Oe(N.segments,Ke.children)}return Object.entries(te).forEach(([Ke,ht])=>{"string"==typeof ht&&(ht=[ht]),null!==ht&&(ve[Ke]=ko(N.children[Ke],Z,ht))}),Object.entries(N.children).forEach(([Ke,ht])=>{void 0===te[Ke]&&(ve[Ke]=ht)}),new Oe(N.segments,ve)}}function we(N,Z,j){const te=N.segments.slice(0,Z);let ve=0;for(;ve<j.length;){const Ke=j[ve];if(Wi(Ke)){const $t=Ee(Ke.outlets);return new Oe(te,$t)}if(0===ve&&Yn(j[0])){te.push(new Ye(N.segments[Z].path,ue(j[0]))),ve++;continue}const ht=Wi(Ke)?Ke.outlets[_t]:`${Ke}`,cn=ve<j.length-1?j[ve+1]:null;ht&&cn&&Yn(cn)?(te.push(new Ye(ht,ue(cn))),ve+=2):(te.push(new Ye(ht,{})),ve++)}return new Oe(te,{})}function Ee(N){const Z={};
3return Object.entries(N).forEach(([j,te])=>{"string"==typeof te&&(te=[te]),null!==te&&(Z[j]=we(new Oe([],{}),0,te))}),Z}function ue(N){const Z={};return Object.entries(N).forEach(([j,te])=>Z[j]=`${te}`),Z}function Xe(N,Z,j){return N==j.path&&Ot(Z,j.parameters)}const qe="imperative";var kt=function(N){return N[N.NavigationStart=0]="NavigationStart",N[N.NavigationEnd=1]="NavigationEnd",N[N.NavigationCancel=2]="NavigationCancel",N[N.NavigationError=3]="NavigationError",N[N.RoutesRecognized=4]="RoutesRecognized",N[N.ResolveStart=5]="ResolveStart",N[N.ResolveEnd=6]="ResolveEnd",N[N.GuardsCheckStart=7]="GuardsCheckStart",N[N.GuardsCheckEnd=8]="GuardsCheckEnd",N[N.RouteConfigLoadStart=9]="RouteConfigLoadStart",N[N.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",N[N.ChildActivationStart=11]="ChildActivationStart",N[N.ChildActivationEnd=12]="ChildActivationEnd",N[N.ActivationStart=13]="ActivationStart",N[N.ActivationEnd=14]="ActivationEnd",N[N.Scroll=15]="Scroll",N[N.NavigationSkipped=16]="NavigationSkipped",N}(kt||{});class Qt{constructor(Z,j){this.id=Z,this.url=j}}class En extends Qt{constructor(Z,j,te="imperative",ve=null){super(Z,j),this.type=kt.NavigationStart,this.navigationTrigger=te,this.restoredState=ve}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Bn extends Qt{constructor(Z,j,te){super(Z,j),this.urlAfterRedirects=te,this.type=kt.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var Ci=function(N){return N[N.Redirect=0]="Redirect",N[N.SupersededByNewNavigation=1]="SupersededByNewNavigation",N[N.NoDataFromResolver=2]="NoDataFromResolver",N[N.GuardRejected=3]="GuardRejected",N}(Ci||{}),ei=function(N){return N[N.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",N[N.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",N}(ei||{});class qi extends Qt{constructor(Z,j,te,ve){super(Z,j),this.reason=te,this.code=ve,this.type=kt.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class br extends Qt{constructor(Z,j,te,ve){super(Z,j),this.reason=te,this.code=ve,this.type=kt.NavigationSkipped}}class pr extends Qt{constructor(Z,j,te,ve){super(Z,j),this.error=te,this.target=ve,this.type=kt.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class os extends Qt{constructor(Z,j,te,ve){super(Z,j),this.urlAfterRedirects=te,this.state=ve,this.type=kt.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class jr extends Qt{constructor(Z,j,te,ve){super(Z,j),this.urlAfterRedirects=te,this.state=ve,this.type=kt.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class as extends Qt{constructor(Z,j,te,ve,Ke){super(Z,j),this.urlAfterRedirects=te,this.state=ve,this.shouldActivate=Ke,this.type=kt.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Pi extends Qt{constructor(Z,j,te,ve){super(Z,j),this.urlAfterRedirects=te,this.state=ve,this.type=kt.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class xr extends Qt{constructor(Z,j,te,ve){super(Z,j),this.urlAfterRedirects=te,this.state=ve,this.type=kt.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Es{constructor(Z){this.route=Z,this.type=kt.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class it{constructor(Z){this.route=Z,this.type=kt.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Nt{constructor(Z){this.snapshot=Z,this.type=kt.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Bt{constructor(Z){this.snapshot=Z,this.type=kt.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Kt{constructor(Z){this.snapshot=Z,this.type=kt.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Gn{constructor(Z){this.snapshot=Z,this.type=kt.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Jn{constructor(Z,j,te){this.routerEvent=Z,this.position=j,this.anchor=te,this.type=kt.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Gi{}class vr{constructor(Z,j){this.url=Z,this.navigationBehaviorOptions=j}}function ea(N){return N.outlet||_t}function Ka(N){if(!N)return null;
3if(N.routeConfig?._injector)return N.routeConfig._injector;for(let Z=N.parent;Z;Z=Z.parent){const j=Z.routeConfig;if(j?._loadedInjector)return j._loadedInjector;if(j?._injector)return j._injector}return null}class Sa{get injector(){return Ka(this.route?.snapshot)??this.rootInjector}set injector(Z){}constructor(Z){this.rootInjector=Z,this.outlet=null,this.route=null,this.children=new No(this.rootInjector),this.attachRef=null}}let No=(()=>{class N{constructor(j){this.rootInjector=j,this.contexts=new Map}onChildOutletCreated(j,te){const ve=this.getOrCreateContext(j);ve.outlet=te,this.contexts.set(j,ve)}onChildOutletDestroyed(j){const te=this.getContext(j);te&&(te.outlet=null,te.attachRef=null)}onOutletDeactivated(){const j=this.contexts;return this.contexts=new Map,j}onOutletReAttached(j){this.contexts=j}getOrCreateContext(j){let te=this.getContext(j);return te||(te=new Sa(this.rootInjector),this.contexts.set(j,te)),te}getContext(j){return this.contexts.get(j)||null}static{this.\u0275fac=function(te){return new(te||N)(a.KVO(a.uvJ))}}static{this.\u0275prov=a.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})();class gc{constructor(Z){this._root=Z}get root(){return this._root.value}parent(Z){const j=this.pathFromRoot(Z);return j.length>1?j[j.length-2]:null}children(Z){const j=Hr(Z,this._root);return j?j.children.map(te=>te.value):[]}firstChild(Z){const j=Hr(Z,this._root);return j&&j.children.length>0?j.children[0].value:null}siblings(Z){const j=Ra(Z,this._root);return j.length<2?[]:j[j.length-2].children.map(ve=>ve.value).filter(ve=>ve!==Z)}pathFromRoot(Z){return Ra(Z,this._root).map(j=>j.value)}}function Hr(N,Z){if(N===Z.value)return Z;for(const j of Z.children){const te=Hr(N,j);if(te)return te}return null}function Ra(N,Z){if(N===Z.value)return[Z];for(const j of Z.children){const te=Ra(N,j);if(te.length)return te.unshift(Z),te}return[]}class Qr{constructor(Z,j){this.value=Z,this.children=j}toString(){return`TreeNode(${this.value})`}}function Fo(N){const Z={};return N&&N.children.forEach(j=>Z[j.value.outlet]=j),Z}class gn extends gc{constructor(Z,j){super(Z),this.snapshot=j,Bo(this,Z)}toString(){return this.snapshot.toString()}}function Ro(N){const Z=function dr(N){const Ke=new Or([],{},{},"",{},_t,N,null,{});return new _a("",new Qr(Ke,[]))}(N),j=new B.t([new Ye("",{})]),te=new B.t({}),ve=new B.t({}),Ke=new B.t({}),ht=new B.t(""),cn=new io(j,te,Ke,ht,ve,_t,N,Z.root);return cn.snapshot=Z.root,new gn(new Qr(cn,[]),Z)}class io{constructor(Z,j,te,ve,Ke,ht,cn,$t){this.urlSubject=Z,this.paramsSubject=j,this.queryParamsSubject=te,this.fragmentSubject=ve,this.dataSubject=Ke,this.outlet=ht,this.component=cn,this._futureSnapshot=$t,this.title=this.dataSubject?.pipe((0,he.T)(li=>li[on]))??(0,C.of)(void 0),this.url=Z,this.params=j,this.queryParams=te,this.fragment=ve,this.data=Ke}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,he.T)(Z=>_n(Z))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,he.T)(Z=>_n(Z))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function fi(N,Z,j="emptyOnly"){let te;const{routeConfig:ve}=N;return te=null===Z||"always"!==j&&""!==ve?.path&&(Z.component||Z.routeConfig?.loadComponent)?{params:{...N.params},data:{...N.data},resolve:{...N.data,...N._resolvedData??{}}}:{params:{...Z.params,...N.params},data:{...Z.data,...N.data},resolve:{...N.data,...Z.data,...ve?.data,...N._resolvedData}},ve&&oc(ve)&&(te.resolve[on]=ve.title),te}class Or{get title(){return this.data?.[on]}constructor(Z,j,te,ve,Ke,ht,cn,$t,li){this.url=Z,this.params=j,this.queryParams=te,this.fragment=ve,this.data=Ke,this.outlet=ht,this.component=cn,this.routeConfig=$t,this._resolve=li}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=_n(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=_n(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(te=>te.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class _a extends gc{constructor(Z,j){super(j),this.url=Z,Bo(this,j)}toString(){return mc(this._root)}}
3function Bo(N,Z){Z.value._routerState=N,Z.children.forEach(j=>Bo(N,j))}function mc(N){const Z=N.children.length>0?` { ${N.children.map(mc).join(", ")} } `:"";return`${N.value}${Z}`}function Ai(N){if(N.snapshot){const Z=N.snapshot,j=N._futureSnapshot;N.snapshot=j,Ot(Z.queryParams,j.queryParams)||N.queryParamsSubject.next(j.queryParams),Z.fragment!==j.fragment&&N.fragmentSubject.next(j.fragment),Ot(Z.params,j.params)||N.paramsSubject.next(j.params),function en(N,Z){if(N.length!==Z.length)return!1;for(let j=0;j<N.length;++j)if(!Ot(N[j],Z[j]))return!1;return!0}(Z.url,j.url)||N.urlSubject.next(j.url),Ot(Z.data,j.data)||N.dataSubject.next(j.data)}else N.snapshot=N._futureSnapshot,N.dataSubject.next(N._futureSnapshot.data)}function Ys(N,Z){const j=Ot(N.params,Z.params)&&function vt(N,Z){return tn(N,Z)&&N.every((j,te)=>Ot(j.parameters,Z[te].parameters))}(N.url,Z.url);return j&&!(!N.parent!=!Z.parent)&&(!N.parent||Ys(N.parent,Z.parent))}function oc(N){return"string"==typeof N.title||null===N.title}let fo=(()=>{class N{constructor(){this.activated=null,this._activatedRoute=null,this.name=_t,this.activateEvents=new a.bkB,this.deactivateEvents=new a.bkB,this.attachEvents=new a.bkB,this.detachEvents=new a.bkB,this.parentContexts=(0,a.WQX)(No),this.location=(0,a.WQX)(a.c1b),this.changeDetector=(0,a.WQX)(a.gRc),this.inputBinder=(0,a.WQX)(xs,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(j){if(j.name){const{firstChange:te,previousValue:ve}=j.name;if(te)return;this.isTrackedInParentContexts(ve)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(ve)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(j){return this.parentContexts.getContext(j)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const j=this.parentContexts.getContext(this.name);j?.route&&(j.attachRef?this.attach(j.attachRef,j.route):this.activateWith(j.route,j.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new a.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new a.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new a.wOt(4012,!1);this.location.detach();const j=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(j.instance),j}attach(j,te){this.activated=j,this._activatedRoute=te,this.location.insert(j.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(j.instance)}deactivate(){if(this.activated){const j=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(j)}}activateWith(j,te){if(this.isActivated)throw new a.wOt(4013,!1);this._activatedRoute=j;const ve=this.location,ht=j.snapshot.component,cn=this.parentContexts.getOrCreateContext(this.name).children,$t=new Xa(j,cn,ve.injector);this.activated=ve.createComponent(ht,{index:ve.length,injector:$t,environmentInjector:te}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(te){return new(te||N)}}static{this.\u0275dir=a.FsC({type:N,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[a.OA$]})}}return N})();class Xa{__ngOutletInjector(Z){return new Xa(this.route,this.childContexts,Z)}constructor(Z,j,te){this.route=Z,this.childContexts=j,this.parent=te}get(Z,j){return Z===io?this.route:Z===No?this.childContexts:this.parent.get(Z,j)}}const xs=new a.nKC("");let qs=(()=>{class N{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(j){this.unsubscribeFromRouteData(j),this.subscribeToRouteData(j)}unsubscribeFromRouteData(j){this.outletDataSubscriptions.get(j)?.unsubscribe(),this.outletDataSubscriptions.delete(j)}subscribeToRouteData(j){const{activatedRoute:te}=j,ve=(0,_.z)([te.queryParams,te.params,te.data]).pipe((0,Me.n)(([Ke,ht,cn],$t)=>
3(cn={...Ke,...ht,...cn},0===$t?(0,C.of)(cn):Promise.resolve(cn)))).subscribe(Ke=>{if(!j.isActivated||!j.activatedComponentRef||j.activatedRoute!==te||null===te.component)return void this.unsubscribeFromRouteData(j);const ht=(0,a.HJs)(te.component);if(ht)for(const{templateName:cn}of ht.inputs)j.activatedComponentRef.setInput(cn,Ke[cn]);else this.unsubscribeFromRouteData(j)});this.outletDataSubscriptions.set(j,ve)}static{this.\u0275fac=function(te){return new(te||N)}}static{this.\u0275prov=a.jDH({token:N,factory:N.\u0275fac})}}return N})();function es(N,Z,j){if(j&&N.shouldReuseRoute(Z.value,j.value.snapshot)){const te=j.value;te._futureSnapshot=Z.value;const ve=function wo(N,Z,j){return Z.children.map(te=>{for(const ve of j.children)if(N.shouldReuseRoute(te.value,ve.value.snapshot))return es(N,te,ve);return es(N,te)})}(N,Z,j);return new Qr(te,ve)}{if(N.shouldAttach(Z.value)){const Ke=N.retrieve(Z.value);if(null!==Ke){const ht=Ke.route;return ht.value._futureSnapshot=Z.value,ht.children=Z.children.map(cn=>es(N,cn)),ht}}const te=function Ko(N){return new io(new B.t(N.url),new B.t(N.params),new B.t(N.queryParams),new B.t(N.fragment),new B.t(N.data),N.outlet,N.component,N)}(Z.value),ve=Z.children.map(Ke=>es(N,Ke));return new Qr(te,ve)}}class hs{constructor(Z,j){this.redirectTo=Z,this.navigationBehaviorOptions=j}}const Ms="ngNavigationCancelingError";function Lo(N,Z){const{redirectTo:j,navigationBehaviorOptions:te}=nn(Z)?{redirectTo:Z,navigationBehaviorOptions:void 0}:Z,ve=po(!1,Ci.Redirect);return ve.url=j,ve.navigationBehaviorOptions=te,ve}function po(N,Z){const j=new Error(`NavigationCancelingError: ${N||""}`);return j[Ms]=!0,j.cancellationCode=Z,j}function Da(N){return!!N&&N[Ms]}class fs{constructor(Z,j,te,ve,Ke){this.routeReuseStrategy=Z,this.futureState=j,this.currState=te,this.forwardEvent=ve,this.inputBindingEnabled=Ke}activate(Z){const j=this.futureState._root,te=this.currState?this.currState._root:null;this.deactivateChildRoutes(j,te,Z),Ai(this.futureState.root),this.activateChildRoutes(j,te,Z)}deactivateChildRoutes(Z,j,te){const ve=Fo(j);Z.children.forEach(Ke=>{const ht=Ke.value.outlet;this.deactivateRoutes(Ke,ve[ht],te),delete ve[ht]}),Object.values(ve).forEach(Ke=>{this.deactivateRouteAndItsChildren(Ke,te)})}deactivateRoutes(Z,j,te){const ve=Z.value,Ke=j?j.value:null;if(ve===Ke)if(ve.component){const ht=te.getContext(ve.outlet);ht&&this.deactivateChildRoutes(Z,j,ht.children)}else this.deactivateChildRoutes(Z,j,te);else Ke&&this.deactivateRouteAndItsChildren(j,te)}deactivateRouteAndItsChildren(Z,j){Z.value.component&&this.routeReuseStrategy.shouldDetach(Z.value.snapshot)?this.detachAndStoreRouteSubtree(Z,j):this.deactivateRouteAndOutlet(Z,j)}detachAndStoreRouteSubtree(Z,j){const te=j.getContext(Z.value.outlet),ve=te&&Z.value.component?te.children:j,Ke=Fo(Z);for(const ht of Object.values(Ke))this.deactivateRouteAndItsChildren(ht,ve);if(te&&te.outlet){const ht=te.outlet.detach(),cn=te.children.onOutletDeactivated();this.routeReuseStrategy.store(Z.value.snapshot,{componentRef:ht,route:Z,contexts:cn})}}deactivateRouteAndOutlet(Z,j){const te=j.getContext(Z.value.outlet),ve=te&&Z.value.component?te.children:j,Ke=Fo(Z);for(const ht of Object.values(Ke))this.deactivateRouteAndItsChildren(ht,ve);te&&(te.outlet&&(te.outlet.deactivate(),te.children.onOutletDeactivated()),te.attachRef=null,te.route=null)}activateChildRoutes(Z,j,te){const ve=Fo(j);Z.children.forEach(Ke=>{this.activateRoutes(Ke,ve[Ke.value.outlet],te),this.forwardEvent(new Gn(Ke.value.snapshot))}),Z.children.length&&this.forwardEvent(new Bt(Z.value.snapshot))}activateRoutes(Z,j,te){const ve=Z.value,Ke=j?j.value:null;if(Ai(ve),ve===Ke)if(ve.component){const ht=te.getOrCreateContext(ve.outlet);this.activateChildRoutes(Z,j,ht.children)}else this.activateChildRoutes(Z,j,te);else if(ve.component){const ht=te.getOrCreateContext(ve.outlet);if(this.routeReuseStrategy.shouldAttach(ve.snapshot)){const cn=this.routeReuseStrategy.retrieve(ve.snapshot);this.routeReuseStrategy.store(ve.snapshot,null),ht.children.onOutletReAttached(cn.contexts),ht.attachRef=cn.componentRef,ht.route=cn.route.value,ht.outlet&&ht.outlet.attach(cn.componentRef,cn.route.value),Ai(cn.route.value),this.activateChildRoutes(Z,null,ht.children)}else ht.attachRef=null,ht.route=ve,ht.outlet&&ht.outlet.activateWith(ve,ht.injector),this.activateChildRoutes(Z,null,ht.children)}else this.activateChildRoutes(Z,null,te)}}class Pr{constructor(Z){this.path=Z,this.route=this.path[this.path.length-1]}}class ms{constructor(Z,j){this.component=Z,this.route=j}}function Wr(N,Z,j){const te=N._root;return Uo(te,Z?Z._root:null,j,[te.value])}function ro(N,Z){const j=Symbol(),te=Z.get(N,j);return te===j?"function"!=typeof N||(0,a.LfX)(N)?Z.get(N):N:te}function Uo(N,Z,j,te,ve={canDeactivateChecks:[],canActivateChecks:[]}){const Ke=Fo(Z);
3return N.children.forEach(ht=>{(function da(N,Z,j,te,ve={canDeactivateChecks:[],canActivateChecks:[]}){const Ke=N.value,ht=Z?Z.value:null,cn=j?j.getContext(N.value.outlet):null;if(ht&&Ke.routeConfig===ht.routeConfig){const $t=function go(N,Z,j){if("function"==typeof j)return j(N,Z);switch(j){case"pathParamsChange":return!tn(N.url,Z.url);case"pathParamsOrQueryParamsChange":return!tn(N.url,Z.url)||!Ot(N.queryParams,Z.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ys(N,Z)||!Ot(N.queryParams,Z.queryParams);default:return!Ys(N,Z)}}(ht,Ke,Ke.routeConfig.runGuardsAndResolvers);$t?ve.canActivateChecks.push(new Pr(te)):(Ke.data=ht.data,Ke._resolvedData=ht._resolvedData),Uo(N,Z,Ke.component?cn?cn.children:null:j,te,ve),$t&&cn&&cn.outlet&&cn.outlet.isActivated&&ve.canDeactivateChecks.push(new ms(cn.outlet.component,ht))}else ht&&Ri(Z,cn,ve),ve.canActivateChecks.push(new Pr(te)),Uo(N,null,Ke.component?cn?cn.children:null:j,te,ve)})(ht,Ke[ht.value.outlet],j,te.concat([ht.value]),ve),delete Ke[ht.value.outlet]}),Object.entries(Ke).forEach(([ht,cn])=>Ri(cn,j.getContext(ht),ve)),ve}function Ri(N,Z,j){const te=Fo(N),ve=N.value;Object.entries(te).forEach(([Ke,ht])=>{Ri(ht,ve.component?Z?Z.children.getContext(Ke):null:Z,j)}),j.canDeactivateChecks.push(new ms(ve.component&&Z&&Z.outlet&&Z.outlet.isActivated?Z.outlet.component:null,ve))}function ts(N){return"function"==typeof N}function xc(N){return N instanceof q.G||"EmptyError"===N?.name}const Zc=Symbol("INITIAL_VALUE");function fe(){return(0,Me.n)(N=>(0,_.z)(N.map(Z=>Z.pipe((0,ct.s)(1),(0,yt.Z)(Zc)))).pipe((0,he.T)(Z=>{for(const j of Z)if(!0!==j){if(j===Zc)return Zc;if(!1===j||ye(j))return j}return!0}),(0,Se.p)(Z=>Z!==Zc),(0,ct.s)(1)))}function ye(N){return nn(N)||N instanceof hs}function id(N){return(0,ne.F)((0,Be.M)(Z=>{if("boolean"!=typeof Z)throw Lo(0,Z)}),(0,he.T)(Z=>!0===Z))}class As{constructor(Z){this.segmentGroup=Z||null}}class Br extends Error{constructor(Z){super(),this.urlTree=Z}}function mo(N){return(0,se.$)(new As(N))}class wr{constructor(Z,j){this.urlSerializer=Z,this.urlTree=j}lineralizeSegments(Z,j){let te=[],ve=j.root;for(;;){if(te=te.concat(ve.segments),0===ve.numberOfChildren)return(0,C.of)(te);if(ve.numberOfChildren>1||!ve.children[_t])return(0,se.$)(new a.wOt(4e3,!1));ve=ve.children[_t]}}applyRedirectCommands(Z,j,te,ve,Ke){if("string"!=typeof j){const cn=j,{queryParams:$t,fragment:li,routeConfig:tr,url:Bi,outlet:Os,params:Pc,data:Qo,title:Ca}=ve,Mo=(0,a.N4e)(Ke,()=>cn({params:Pc,data:Qo,queryParams:$t,fragment:li,routeConfig:tr,url:Bi,outlet:Os,title:Ca}));if(Mo instanceof xn)throw new Br(Mo);j=Mo}const ht=this.applyRedirectCreateUrlTree(j,this.urlSerializer.parse(j),Z,te);if("/"===j[0])throw new Br(ht);return ht}applyRedirectCreateUrlTree(Z,j,te,ve){const Ke=this.createSegmentGroup(Z,j.root,te,ve);return new xn(Ke,this.createQueryParams(j.queryParams,this.urlTree.queryParams),j.fragment)}createQueryParams(Z,j){const te={};return Object.entries(Z).forEach(([ve,Ke])=>{if("string"==typeof Ke&&":"===Ke[0]){const cn=Ke.substring(1);te[ve]=j[cn]}else te[ve]=Ke}),te}createSegmentGroup(Z,j,te,ve){const Ke=this.createSegments(Z,j.segments,te,ve);let ht={};return Object.entries(j.children).forEach(([cn,$t])=>{ht[cn]=this.createSegmentGroup(Z,$t,te,ve)}),new Oe(Ke,ht)}createSegments(Z,j,te,ve){return j.map(Ke=>":"===Ke.path[0]?this.findPosParam(Z,Ke,ve):this.findOrReturn(Ke,te))}findPosParam(Z,j,te){const ve=te[j.path.substring(1)];if(!ve)throw new a.wOt(4001,!1);return ve}findOrReturn(Z,j){let te=0;for(const ve of j){if(ve.path===Z.path)return j.splice(te),ve;te++}return Z}}const Ws={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function So(N,Z,j,te,ve){const Ke=Do(N,Z,j);return Ke.matched?(te=function Rs(N,Z){return N.providers&&!N._injector&&(N._injector=(0,a.Ol2)(N.providers,Z,`Route: ${N.path}`)),N._injector??Z}(Z,te),function ks(N,Z,j,te){const ve=Z.canMatch;if(!ve||0===ve.length)return(0,C.of)(!0);const Ke=ve.map(ht=>{const cn=ro(ht,N);return qn(function nd(N){return N&&ts(N.canMatch)}(cn)?cn.canMatch(Z,j):(0,a.N4e)(N,()=>cn(Z,j)))});return(0,C.of)(Ke).pipe(fe(),id())}(te,Z,j).pipe((0,he.T)(ht=>
3!0===ht?Ke:{...Ws}))):(0,C.of)(Ke)}function Do(N,Z,j){if("**"===Z.path)return function xo(N){return{matched:!0,parameters:N.length>0?Wn(N).parameters:{},consumedSegments:N,remainingSegments:[],positionalParamSegments:{}}}(j);if(""===Z.path)return"full"===Z.pathMatch&&(N.hasChildren()||j.length>0)?{...Ws}:{matched:!0,consumedSegments:[],remainingSegments:j,parameters:{},positionalParamSegments:{}};const ve=(Z.matcher||hn)(j,N,Z);if(!ve)return{...Ws};const Ke={};Object.entries(ve.posParams??{}).forEach(([cn,$t])=>{Ke[cn]=$t.path});const ht=ve.consumed.length>0?{...Ke,...ve.consumed[ve.consumed.length-1].parameters}:Ke;return{matched:!0,consumedSegments:ve.consumed,remainingSegments:j.slice(ve.consumed.length),parameters:ht,positionalParamSegments:ve.posParams??{}}}function jc(N,Z,j,te){return j.length>0&&function Ua(N,Z,j){return j.some(te=>Ss(N,Z,te)&&ea(te)!==_t)}(N,j,te)?{segmentGroup:new Oe(Z,Ya(te,new Oe(j,N.children))),slicedSegments:[]}:0===j.length&&function ml(N,Z,j){return j.some(te=>Ss(N,Z,te))}(N,j,te)?{segmentGroup:new Oe(N.segments,Jc(N,j,te,N.children)),slicedSegments:j}:{segmentGroup:new Oe(N.segments,N.children),slicedSegments:j}}function Jc(N,Z,j,te){const ve={};for(const Ke of j)if(Ss(N,Z,Ke)&&!te[ea(Ke)]){const ht=new Oe([],{});ve[ea(Ke)]=ht}return{...te,...ve}}function Ya(N,Z){const j={};j[_t]=Z;for(const te of N)if(""===te.path&&ea(te)!==_t){const ve=new Oe([],{});j[ea(te)]=ve}return j}function Ss(N,Z,j){return(!(N.hasChildren()||Z.length>0)||"full"!==j.pathMatch)&&""===j.path}class vc{}class qa{constructor(Z,j,te,ve,Ke,ht,cn){this.injector=Z,this.configLoader=j,this.rootComponentType=te,this.config=ve,this.urlTree=Ke,this.paramsInheritanceStrategy=ht,this.urlSerializer=cn,this.applyRedirects=new wr(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(Z){return new a.wOt(4002,`'${Z.segmentGroup}'`)}recognize(){const Z=jc(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(Z).pipe((0,he.T)(({children:j,rootSnapshot:te})=>{const ve=new Qr(te,j),Ke=new _a("",ve),ht=function et(N,Z,j=null,te=null){return At(Zt(N),Z,j,te)}(te,[],this.urlTree.queryParams,this.urlTree.fragment);return ht.queryParams=this.urlTree.queryParams,Ke.url=this.urlSerializer.serialize(ht),{state:Ke,tree:ht}}))}match(Z){const j=new Or([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),_t,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,Z,_t,j).pipe((0,he.T)(te=>({children:te,rootSnapshot:j})),(0,ge.W)(te=>{if(te instanceof Br)return this.urlTree=te.urlTree,this.match(te.urlTree.root);throw te instanceof As?this.noMatchError(te):te}))}processSegmentGroup(Z,j,te,ve,Ke){return 0===te.segments.length&&te.hasChildren()?this.processChildren(Z,j,te,Ke):this.processSegment(Z,j,te,te.segments,ve,!0,Ke).pipe((0,he.T)(ht=>ht instanceof Qr?[ht]:[]))}processChildren(Z,j,te,ve){const Ke=[];for(const ht of Object.keys(te.children))"primary"===ht?Ke.unshift(ht):Ke.push(ht);return(0,P.H)(Ke).pipe((0,Ve.H)(ht=>{const cn=te.children[ht],$t=function Dc(N,Z){const j=N.filter(te=>ea(te)===Z);return j.push(...N.filter(te=>ea(te)!==Z)),j}(j,ht);return this.processSegmentGroup(Z,$t,cn,ht,ve)}),(0,Pe.S)((ht,cn)=>(ht.push(...cn),ht)),(0,He.U)(null),function ft(N,Z){const j=arguments.length>=2;return te=>te.pipe(N?(0,Se.p)((ve,Ke)=>N(ve,Ke,te)):sn.D,bt(1),j?(0,He.U)(Z):(0,Yt.v)(()=>new q.G))}(),(0,ke.Z)(ht=>{if(null===ht)return mo(te);const cn=Aa(ht);return function tl(N){N.sort((Z,j)=>Z.value.outlet===_t?-1:j.value.outlet===_t?1:Z.value.outlet.localeCompare(j.value.outlet))}(cn),(0,C.of)(cn)}))}processSegment(Z,j,te,ve,Ke,ht,cn){return(0,P.H)(j).pipe((0,Ve.H)($t=>this.processSegmentAgainstRoute($t._injector??Z,j,$t,te,ve,Ke,ht,cn).pipe((0,ge.W)(li=>{if(li instanceof As)return(0,C.of)(null);throw li}))),(0,Ze.$)($t=>!!$t),(0,ge.W)($t=>{if(xc($t))return function el(N,Z,j){return 0===Z.length&&!N.children[j]}(te,ve,Ke)?(0,C.of)(new vc):mo(te);throw $t}))}processSegmentAgainstRoute(Z,j,te,ve,Ke,ht,cn,$t){return ea(te)===ht||ht!==_t&&Ss(ve,Ke,te)?void 0===te.redirectTo?this.matchSegmentAgainstRoute(Z,ve,te,Ke,ht,$t):this.allowRedirects&&cn?this.expandSegmentAgainstRouteUsingRedirect(Z,ve,j,te,Ke,ht,$t):mo(ve):mo(ve)}expandSegmentAgainstRouteUsingRedirect(Z,j,te,ve,Ke,ht,cn){const{matched:$t,parameters:li,consumedSegments:tr,positionalParamSegments:Bi,remainingSegments:Os}=Do(j,ve,Ke);if(!$t)return mo(j);"string"==typeof ve.redirectTo&&"/"===ve.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const Pc=new Or(Ke,li,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Vc(ve),ea(ve),ve.component??ve._loadedComponent??null,ve,jo(ve)),Qo=fi(Pc,cn,this.paramsInheritanceStrategy);Pc.params=Object.freeze(Qo.params),Pc.data=Object.freeze(Qo.data);const Ca=this.applyRedirects.applyRedirectCommands(tr,ve.redirectTo,Bi,Pc,Z);return this.applyRedirects.lineralizeSegments(ve,Ca).pipe((0,ke.Z)(Mo=>this.processSegment(Z,te,j,Mo.concat(Os),ht,!1,cn)))}matchSegmentAgainstRoute(Z,j,te,ve,Ke,ht){const cn=So(j,te,ve,Z);return"**"===te.path&&(j.children={}),cn.pipe((0,Me.n)($t=>$t.matched?this.getChildConfig(Z=te._injector??Z,te,ve).pipe((0,Me.n)(({routes:li})=>{const tr=te._loadedInjector??Z,{parameters:Bi,consumedSegments:Os,remainingSegments:Pc}=$t,Qo=new Or(Os,Bi,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Vc(te),ea(te),te.component??te._loadedComponent??null,te,jo(te)),Ca=fi(Qo,ht,this.paramsInheritanceStrategy);Qo.params=Object.freeze(Ca.params),Qo.data=Object.freeze(Ca.data);const{segmentGroup:Mo,slicedSegments:ol}=jc(j,Os,Pc,li);if(0===ol.length&&Mo.hasChildren())return this.processChildren(tr,li,Mo,Qo).pipe((0,he.T)(Us=>new Qr(Qo,Us)));if(0===li.length&&0===ol.length)return(0,C.of)(new Qr(Qo,[]));const Al=ea(te)===Ke;return this.processSegment(tr,li,Mo,ol,Al?_t:Ke,!0,Qo).pipe((0,he.T)(Us=>
3new Qr(Qo,Us instanceof Qr?[Us]:[])))})):mo(j)))}getChildConfig(Z,j,te){return j.children?(0,C.of)({routes:j.children,injector:Z}):j.loadChildren?void 0!==j._loadedRoutes?(0,C.of)({routes:j._loadedRoutes,injector:j._loadedInjector}):function yc(N,Z,j,te){const ve=Z.canLoad;if(void 0===ve||0===ve.length)return(0,C.of)(!0);const Ke=ve.map(ht=>{const cn=ro(ht,N);return qn(function Qc(N){return N&&ts(N.canLoad)}(cn)?cn.canLoad(Z,j):(0,a.N4e)(N,()=>cn(Z,j)))});return(0,C.of)(Ke).pipe(fe(),id())}(Z,j,te).pipe((0,ke.Z)(ve=>ve?this.configLoader.loadChildren(Z,j).pipe((0,Be.M)(Ke=>{j._loadedRoutes=Ke.routes,j._loadedInjector=Ke.injector})):function bc(){return(0,se.$)(po(!1,Ci.GuardRejected))}())):(0,C.of)({routes:[],injector:Z})}}function rd(N){const Z=N.value.routeConfig;return Z&&""===Z.path}function Aa(N){const Z=[],j=new Set;for(const te of N){if(!rd(te)){Z.push(te);continue}const ve=Z.find(Ke=>te.value.routeConfig===Ke.value.routeConfig);void 0!==ve?(ve.children.push(...te.children),j.add(ve)):Z.push(te)}for(const te of j){const ve=Aa(te.children);Z.push(new Qr(te.value,ve))}return Z.filter(te=>!j.has(te))}function Vc(N){return N.data||{}}function jo(N){return N.resolve||{}}function zc(N){const Z=N.children.map(j=>zc(j)).flat();return[N,...Z]}function bo(N){return(0,Me.n)(Z=>{const j=N(Z);return j?(0,P.H)(j).pipe((0,he.T)(()=>Z)):(0,C.of)(Z)})}let qo=(()=>{class N{buildTitle(j){let te,ve=j.root;for(;void 0!==ve;)te=this.getResolvedTitleForRoute(ve)??te,ve=ve.children.find(Ke=>Ke.outlet===_t);return te}getResolvedTitleForRoute(j){return j.data[on]}static{this.\u0275fac=function(te){return new(te||N)}}static{this.\u0275prov=a.jDH({token:N,factory:()=>(0,a.WQX)(Fa),providedIn:"root"})}}return N})(),Fa=(()=>{class N extends qo{constructor(j){super(),this.title=j}updateTitle(j){const te=this.buildTitle(j);void 0!==te&&this.title.setTitle(te)}static{this.\u0275fac=function(te){return new(te||N)(a.KVO(nt.hE))}}static{this.\u0275prov=a.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})();const Mc=new a.nKC("",{providedIn:"root",factory:()=>({})});let so=(()=>{class N{static{this.\u0275fac=function(te){return new(te||N)}}static{this.\u0275cmp=a.VBU({type:N,selectors:[["ng-component"]],standalone:!0,features:[a.aNF],decls:1,vars:0,template:function(te,ve){1&te&&a.nrm(0,"router-outlet")},dependencies:[fo],encapsulation:2})}}return N})();function Fc(N){const Z=N.children&&N.children.map(Fc),j=Z?{...N,children:Z}:{...N};return!j.component&&!j.loadComponent&&(Z||j.loadChildren)&&j.outlet&&j.outlet!==_t&&(j.component=so),j}const wa=new a.nKC("");let Vo=(()=>{class N{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,a.WQX)(a.Ql9)}loadComponent(j){if(this.componentLoaders.get(j))return this.componentLoaders.get(j);if(j._loadedComponent)return(0,C.of)(j._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(j);const te=qn(j.loadComponent()).pipe((0,he.T)(Ac),(0,Be.M)(Ke=>{this.onLoadEndListener&&this.onLoadEndListener(j),j._loadedComponent=Ke}),(0,$e.j)(()=>{this.componentLoaders.delete(j)})),ve=new xe(te,()=>new Te.B).pipe(Ie());return this.componentLoaders.set(j,ve),ve}loadChildren(j,te){if(this.childrenLoaders.get(te))return this.childrenLoaders.get(te);if(te._loadedRoutes)return(0,C.of)({routes:te._loadedRoutes,injector:te._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(te);const Ke=function yl(N,Z,j,te){return qn(N.loadChildren()).pipe((0,he.T)(Ac),(0,ke.Z)(ve=>ve instanceof a.Co$||Array.isArray(ve)?(0,C.of)(ve):(0,P.H)(Z.compileModuleAsync(ve))),(0,he.T)(ve=>{te&&te(N);let Ke,ht,cn=!1;return Array.isArray(ve)?(ht=ve,!0):(Ke=ve.create(j).injector,ht=Ke.get(wa,[],{optional:!0,self:!0}).flat()),{routes:ht.map(Fc),injector:Ke}}))}(te,this.compiler,j,this.onLoadEndListener).pipe((0,$e.j)(()=>{this.childrenLoaders.delete(te)})),ht=new xe(Ke,()=>new Te.B).pipe(Ie());return this.childrenLoaders.set(te,ht),ht}static{this.\u0275fac=function(te){return new(te||N)}}static{this.\u0275prov=a.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})();function Ac(N){return function Ul(N){return N&&"object"==typeof N&&"default"in N}(N)?N.default:N}let Qa=(()=>{class N{static{this.\u0275fac=function(te){return new(te||N)}}static{this.\u0275prov=a.jDH({token:N,factory:()=>(0,a.WQX)(Tc),providedIn:"root"})}}return N})(),Tc=(()=>{class N{shouldProcessUrl(j){return!0}extract(j){return j}merge(j,te){return j}static{this.\u0275fac=function(te){return new(te||N)}}static{this.\u0275prov=a.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})();const Za=new a.nKC(""),oo=new a.nKC("");function ja(N,Z,j){const te=N.get(oo),ve=N.get(Ne.qQ);return N.get(a.SKi).runOutsideAngular(()=>{if(!ve.startViewTransition||te.skipNextTransition)return te.skipNextTransition=!1,new Promise(li=>setTimeout(li));let Ke;const ht=new Promise(li=>{Ke=li}),cn=ve.startViewTransition(()=>(Ke(),function W(N){return new Promise(Z=>{(0,a.mal)({read:()=>setTimeout(Z)},{injector:N})})}(N))),{onViewTransitionCreated:$t}=te;return $t&&(0,a.N4e)(N,()=>$t({transition:cn,from:Z,to:j})),ht})}const k=new a.nKC("");let ae=(()=>{class N{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Te.B,this.transitionAbortSubject=ne
3w Te.B,this.configLoader=(0,a.WQX)(Vo),this.environmentInjector=(0,a.WQX)(a.uvJ),this.urlSerializer=(0,a.WQX)(Qn),this.rootContexts=(0,a.WQX)(No),this.location=(0,a.WQX)(Ne.aZ),this.inputBindingEnabled=null!==(0,a.WQX)(xs,{optional:!0}),this.titleStrategy=(0,a.WQX)(qo),this.options=(0,a.WQX)(Mc,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,a.WQX)(Qa),this.createViewTransition=(0,a.WQX)(Za,{optional:!0}),this.navigationErrorHandler=(0,a.WQX)(k,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,C.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=ve=>this.events.next(new it(ve)),this.configLoader.onLoadStartListener=ve=>this.events.next(new Es(ve))}complete(){this.transitions?.complete()}handleNavigationRequest(j){const te=++this.navigationId;this.transitions?.next({...this.transitions.value,...j,id:te})}setupNavigations(j,te,ve){return this.transitions=new B.t({id:0,currentUrlTree:te,currentRawUrl:te,extractedUrl:this.urlHandlingStrategy.extract(te),urlAfterRedirects:this.urlHandlingStrategy.extract(te),rawUrl:te,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:qe,restoredState:null,currentSnapshot:ve.snapshot,targetSnapshot:null,currentRouterState:ve,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,Se.p)(Ke=>0!==Ke.id),(0,he.T)(Ke=>({...Ke,extractedUrl:this.urlHandlingStrategy.extract(Ke.rawUrl)})),(0,Me.n)(Ke=>{let ht=!1,cn=!1;return(0,C.of)(Ke).pipe((0,Me.n)($t=>{if(this.navigationId>Ke.id)return this.cancelNavigationTransition(Ke,"",Ci.SupersededByNewNavigation),_e.w;this.currentTransition=Ke,this.currentNavigation={id:$t.id,initialUrl:$t.rawUrl,extractedUrl:$t.extractedUrl,targetBrowserUrl:"string"==typeof $t.extras.browserUrl?this.urlSerializer.parse($t.extras.browserUrl):$t.extras.browserUrl,trigger:$t.source,extras:$t.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const li=!j.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!li&&"reload"!==($t.extras.onSameUrlNavigation??j.onSameUrlNavigation)){const Bi="";return this.events.next(new br($t.id,this.urlSerializer.serialize($t.rawUrl),Bi,ei.IgnoredSameUrlNavigation)),$t.resolve(!1),_e.w}if(this.urlHandlingStrategy.shouldProcessUrl($t.rawUrl))return(0,C.of)($t).pipe((0,Me.n)(Bi=>{const Os=this.transitions?.getValue();return this.events.next(new En(Bi.id,this.urlSerializer.serialize(Bi.extractedUrl),Bi.source,Bi.restoredState)),Os!==this.transitions?.getValue()?_e.w:Promise.resolve(Bi)}),function ci(N,Z,j,te,ve,Ke){return(0,ke.Z)(ht=>function Ts(N,Z,j,te,ve,Ke,ht="emptyOnly"){return new qa(N,Z,j,te,ve,ht,Ke).recognize()}(N,Z,j,te,ht.extractedUrl,ve,Ke).pipe((0,he.T)(({state:cn,tree:$t})=>({...ht,targetSnapshot:cn,urlAfterRedirects:$t}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,j.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,Be.M)(Bi=>{Ke.targetSnapshot=Bi.targetSnapshot,Ke.urlAfterRedirects=Bi.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:Bi.urlAfterRedirects};const Os=new os(Bi.id,this.urlSerializer.serialize(Bi.extractedUrl),this.urlSerializer.serialize(Bi.urlAfterRedirects),Bi.targetSnapshot);this.events.next(Os)}));if(li&&this.urlHandlingStrategy.shouldProcessUrl($t.currentRawUrl)){const{id:Bi,extractedUrl:Os,source:Pc,restoredState:Qo,extras:Ca}=$t,Mo=new En(Bi,this.urlSerializer.serialize(Os),Pc,Qo);this.events.next(Mo);const ol=Ro(this.rootComponentType).snapshot;return this.currentTransition=Ke={...$t,targetSnapshot:ol,urlAfterRedirects:Os,extras:{...Ca,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=Os,(0,C.of)(Ke)}{const Bi="";return this.events.next(new br($t.id,this.urlSerializer.serialize($t.extractedUrl),Bi,ei.IgnoredByUrlHandlingStrategy)),$t.resolve(!1),_e.w}}),(0,Be.M)($t=>{const li=new jr($t.id,this.urlSerializer.serialize($t.extractedUrl),this.urlSerializer.serialize($t.urlAfterRedirects),$t.targetSnapshot);this.events.next(li)}),(0,he.T)($t=>(this.currentTransition=Ke={...$t,guards:Wr($t.targetSnapshot,$t.currentSnapshot,this.rootContexts)},Ke)),function ee(N,Z){return(0,ke.Z)(j=>{const{targetSnapshot:te,currentSnapshot:ve,guards:{canActivateChecks:Ke,canDeactivateChecks:ht}}=j;return 0===ht.length&&0===Ke.length?(0,C.of)({...j,guardsResult:!0}):function ze(N,Z,j,te){return(0,P.H)(N).pipe((0,ke.Z)(ve=>function La(N,Z,j,te,ve){const Ke=Z&&Z.routeConfig?Z.routeConfig.canDeactivate:null;if(!Ke||0===Ke.length)return(0,C.of)(!0);const ht=Ke.map(cn=>{const $t=Ka(Z)??ve,li=ro(cn,$t);return qn(function gl(N){return N&&ts(N.canDeactivate)}(li)?li.canDeactivate(N,Z,j,te):(0,a.N4e)($t,()=>li(N,Z,j,te))).pipe((0,Ze.$)())});return(0,C.of)(ht).pipe(fe())}(ve.component,ve.route,j,Z,te)),(0,Ze.$)(ve=>!0!==ve,!0))}(ht,te,ve,N).pipe((0,ke.Z)(cn=>cn&&function Bs(N){return"boolean"==typeof N}(cn)?function Ft(N,Z,j,te){return(0,P.H)(Z).pipe((0,Ve.H)(ve=>(0,A.x)(function ur(N,Z){return null!==N&&Z&&Z(new Nt(N)),(0,C.of)(!0)}(ve.route.parent,te),function Kn(N,Z){return null!==N&&Z&&Z(new Kt(N)),(0,C.of)(!0)}(ve.route,te),function Rr(N,Z,j){const te=Z[Z.length-1],Ke=Z.slice(0,Z.length-1).reverse().map(ht=>
3function Ba(N){const Z=N.routeConfig?N.routeConfig.canActivateChild:null;return Z&&0!==Z.length?{node:N,guards:Z}:null}(ht)).filter(ht=>null!==ht).map(ht=>R(()=>{const cn=ht.guards.map($t=>{const li=Ka(ht.node)??j,tr=ro($t,li);return qn(function Uc(N){return N&&ts(N.canActivateChild)}(tr)?tr.canActivateChild(te,N):(0,a.N4e)(li,()=>tr(te,N))).pipe((0,Ze.$)())});return(0,C.of)(cn).pipe(fe())}));return(0,C.of)(Ke).pipe(fe())}(N,ve.path,j),function Ma(N,Z,j){const te=Z.routeConfig?Z.routeConfig.canActivate:null;if(!te||0===te.length)return(0,C.of)(!0);const ve=te.map(Ke=>R(()=>{const ht=Ka(Z)??j,cn=ro(Ke,ht);return qn(function xa(N){return N&&ts(N.canActivate)}(cn)?cn.canActivate(Z,N):(0,a.N4e)(ht,()=>cn(Z,N))).pipe((0,Ze.$)())}));return(0,C.of)(ve).pipe(fe())}(N,ve.route,j))),(0,Ze.$)(ve=>!0!==ve,!0))}(te,Ke,N,Z):(0,C.of)(cn)),(0,he.T)(cn=>({...j,guardsResult:cn})))})}(this.environmentInjector,$t=>this.events.next($t)),(0,Be.M)($t=>{if(Ke.guardsResult=$t.guardsResult,$t.guardsResult&&"boolean"!=typeof $t.guardsResult)throw Lo(0,$t.guardsResult);const li=new as($t.id,this.urlSerializer.serialize($t.extractedUrl),this.urlSerializer.serialize($t.urlAfterRedirects),$t.targetSnapshot,!!$t.guardsResult);this.events.next(li)}),(0,Se.p)($t=>!!$t.guardsResult||(this.cancelNavigationTransition($t,"",Ci.GuardRejected),!1)),bo($t=>{if($t.guards.canActivateChecks.length)return(0,C.of)($t).pipe((0,Be.M)(li=>{const tr=new Pi(li.id,this.urlSerializer.serialize(li.extractedUrl),this.urlSerializer.serialize(li.urlAfterRedirects),li.targetSnapshot);this.events.next(tr)}),(0,Me.n)(li=>{let tr=!1;return(0,C.of)(li).pipe(function cs(N,Z){return(0,ke.Z)(j=>{const{targetSnapshot:te,guards:{canActivateChecks:ve}}=j;if(!ve.length)return(0,C.of)(j);const Ke=new Set(ve.map($t=>$t.route)),ht=new Set;for(const $t of Ke)if(!ht.has($t))for(const li of zc($t))ht.add(li);let cn=0;return(0,P.H)(ht).pipe((0,Ve.H)($t=>Ke.has($t)?function nl(N,Z,j,te){const ve=N.routeConfig,Ke=N._resolve;return void 0!==ve?.title&&!oc(ve)&&(Ke[on]=ve.title),function Yo(N,Z,j,te){const ve=Gt(N);if(0===ve.length)return(0,C.of)({});const Ke={};return(0,P.H)(ve).pipe((0,ke.Z)(ht=>function ta(N,Z,j,te){const ve=Ka(Z)??te,Ke=ro(N,ve);return qn(Ke.resolve?Ke.resolve(Z,j):(0,a.N4e)(ve,()=>Ke(Z,j)))}(N[ht],Z,j,te).pipe((0,Ze.$)(),(0,Be.M)(cn=>{if(cn instanceof hs)throw Lo(new si,cn);Ke[ht]=cn}))),bt(1),(0,Tt.u)(Ke),(0,ge.W)(ht=>xc(ht)?_e.w:(0,se.$)(ht)))}(Ke,N,Z,te).pipe((0,he.T)(ht=>(N._resolvedData=ht,N.data=fi(N,N.parent,j).resolve,null)))}($t,te,N,Z):($t.data=fi($t,$t.parent,N).resolve,(0,C.of)(void 0))),(0,Be.M)(()=>cn++),bt(1),(0,ke.Z)($t=>cn===ht.size?(0,C.of)(j):_e.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,Be.M)({next:()=>tr=!0,complete:()=>{tr||this.cancelNavigationTransition(li,"",Ci.NoDataFromResolver)}}))}),(0,Be.M)(li=>{const tr=new xr(li.id,this.urlSerializer.serialize(li.extractedUrl),this.urlSerializer.serialize(li.urlAfterRedirects),li.targetSnapshot);this.events.next(tr)}))}),bo($t=>{const li=tr=>{const Bi=[];tr.routeConfig?.loadComponent&&!tr.routeConfig._loadedComponent&&Bi.push(this.configLoader.loadComponent(tr.routeConfig).pipe((0,Be.M)(Os=>{tr.component=Os}),(0,he.T)(()=>{})));for(const Os of tr.children)Bi.push(...li(Os));return Bi};return(0,_.z)(li($t.targetSnapshot.root)).pipe((0,He.U)(null),(0,ct.s)(1))}),bo(()=>this.afterPreactivation()),(0,Me.n)(()=>{const{currentSnapshot:$t,targetSnapshot:li}=Ke,tr=this.createViewTransition?.(this.environmentInjector,$t.root,li.root);return tr?(0,P.H)(tr).pipe((0,he.T)(()=>Ke)):(0,C.of)(Ke)}),(0,he.T)($t=>{const li=function Qs(N,Z,j){const te=es(N,Z._root,j?j._root:void 0);return new gn(te,Z)}(j.routeReuseStrategy,$t.targetSnapshot,$t.currentRouterState);return this.currentTransition=Ke={...$t,targetRouterState:li},this.currentNavigation.targetRouterState=li,Ke}),(0,Be.M)(()=>{this.events.next(new Gi)}),((N,Z,j,te)=>(0,he.T)(ve=>(new fs(Z,ve.targetRouterState,ve.currentRouterState,j,te).activate(N),ve)))(this.rootContexts,j.routeReuseStrategy,$t=>this.events.next($t),this.inputBindingEnabled),(0,ct.s)(1),(0,Be.M)({next:$t=>{ht=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Bn($t.id,this.urlSerializer.serialize($t.extractedUrl),this.urlSerializer.serialize($t.urlAfterRedirects))),this.titleStrategy?.updateTitle($t.targetRouterState.snapshot),$t.resolve(!0)},complete:()=>{ht=!0}}),(0,rt.Q)(this.transitionAbortSubject.pipe((0,Be.M)($t=>{throw $t}))),(0,$e.j)(()=>{!ht&&!cn&&this.cancelNavigationTransition(Ke,"",Ci.SupersededByNewNavigation),this.currentTransition?.id===Ke.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,ge.W)($t=>{if(cn=!0,Da($t))this.events.next(new qi(Ke.id,this.urlSerializer.serialize(Ke.extractedUrl),$t.message,$t.cancellationCode)),function Hs(N){return Da(N)&&nn(N.url)}($t)?this.events.next(new vr($t.url,$t.navigationBehaviorOptions)):Ke.resolve(!1);else{const li=new pr(Ke.id,this.urlSerializer.serialize(Ke.extractedUrl),$t,Ke.targetSnapshot??void 0);try{const tr=(0,a.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(li));if(tr instanceof hs){const{message:Bi,cancellationCode:Os}=Lo(0,tr);this.events.next(new qi(Ke.id,this.urlSerializer.serialize(Ke.extractedUrl),Bi,Os)),this.events.next(new vr(tr.redirectTo,tr.navigationBehaviorOptions))}else{this.events.next(li);const Bi=j.errorHandler($t);Ke.resolve(!!Bi)}}catch(tr){this.options.resolveNavigationPromiseOnError?Ke.resolve(!1):Ke.reject(tr)}}return _e.w}))}))}cancelNavigationTransition(j,te,ve){const Ke=new qi(j.id,this.urlSerializer.serialize(j.extractedUrl),te,ve);this.events.next(Ke),j.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const j=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),te=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return j.toString()!==te?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static{this.\u0275fac=function(te){return new(te||N)}}static{this.\u0275prov=a.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})();function Ce(N){return N!==qe}let lt=(()=>{class N{static{this.\u0275fac=function(te){return new(te||N)}}static{this.\u0275prov=a.jDH({token:N,factory:()=>(0,a.WQX)(kn),providedIn:"root"})}}return N})();class an{shouldDetach(Z){return!1}store(Z,j){}shouldAttach(Z){return!1}retrieve(Z){return null}shouldReuseRoute(Z,j){return Z.routeConfig===j.routeConfig}}let kn=(()=>{class N extends an{static{this.\u0275fac=(()=>{let j;return function(ve){return(j||(j=a.xGo(N)))(ve||N)}})()}static{this.\u0275prov=a.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})(),vi=(()=>{class N{static{this.\u0275fac=function(te){return new(te||N)}}static{this.\u0275prov=a.jDH({token:N,factory:()=>(0,a.WQX)(_r),providedIn:"root"})}}return N})(),_r=(()=>{class N extends vi{constructor(){super(...arguments),this.location=(0,a.WQX)(Ne.aZ),this.urlSerializer
3=(0,a.WQX)(Qn),this.options=(0,a.WQX)(Mc,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,a.WQX)(Qa),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new xn,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Ro(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(j){return this.location.subscribe(te=>{"popstate"===te.type&&j(te.url,te.state)})}handleRouterEvent(j,te){if(j instanceof En)this.stateMemento=this.createStateMemento();else if(j instanceof br)this.rawUrlTree=te.initialUrl;else if(j instanceof os){if("eager"===this.urlUpdateStrategy&&!te.extras.skipLocationChange){const ve=this.urlHandlingStrategy.merge(te.finalUrl,te.initialUrl);this.setBrowserUrl(te.targetBrowserUrl??ve,te)}}else j instanceof Gi?(this.currentUrlTree=te.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(te.finalUrl,te.initialUrl),this.routerState=te.targetRouterState,"deferred"===this.urlUpdateStrategy&&!te.extras.skipLocationChange&&this.setBrowserUrl(te.targetBrowserUrl??this.rawUrlTree,te)):j instanceof qi&&(j.code===Ci.GuardRejected||j.code===Ci.NoDataFromResolver)?this.restoreHistory(te):j instanceof pr?this.restoreHistory(te,!0):j instanceof Bn&&(this.lastSuccessfulId=j.id,this.currentPageId=this.browserPageId)}setBrowserUrl(j,te){const ve=j instanceof xn?this.urlSerializer.serialize(j):j;if(this.location.isCurrentPathEqualTo(ve)||te.extras.replaceUrl){const ht={...te.extras.state,...this.generateNgRouterState(te.id,this.browserPageId)};this.location.replaceState(ve,"",ht)}else{const Ke={...te.extras.state,...this.generateNgRouterState(te.id,this.browserPageId+1)};this.location.go(ve,"",Ke)}}restoreHistory(j,te=!1){if("computed"===this.canceledNavigationResolution){const Ke=this.currentPageId-this.browserPageId;0!==Ke?this.location.historyGo(Ke):this.currentUrlTree===j.finalUrl&&0===Ke&&(this.resetState(j),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(te&&this.resetState(j),this.resetUrlToCurrentUrlTree())}resetState(j){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,j.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(j,te){return"computed"===this.canceledNavigationResolution?{navigationId:j,\u0275routerPageId:te}:{navigationId:j}}static{this.\u0275fac=(()=>{let j;return function(ve){return(j||(j=a.xGo(N)))(ve||N)}})()}static{this.\u0275prov=a.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})();var ns=function(N){return N[N.COMPLETE=0]="COMPLETE",N[N.FAILED=1]="FAILED",N[N.REDIRECTING=2]="REDIRECTING",N}(ns||{});function xi(N,Z){N.events.pipe((0,Se.p)(j=>j instanceof Bn||j instanceof qi||j instanceof pr||j instanceof br),(0,he.T)(j=>j instanceof Bn||j instanceof br?ns.COMPLETE:j instanceof qi&&(j.code===Ci.Redirect||j.code===Ci.SupersededByNewNavigation)?ns.REDIRECTING:ns.FAILED),(0,Se.p)(j=>j!==ns.REDIRECTING),(0,ct.s)(1)).subscribe(()=>{Z()})}function Sr(N){throw N}const ys={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},$i={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let wn=(()=>{class N{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=(0,a.WQX)(a.H3F),this.stateManager=(0,a.WQX)(vi),this.options=(0,a.WQX)(Mc,{optional:!0})||{},this.pendingTasks=(0,a.WQX)(a.TgB),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,a.WQX)(ae),this.urlSerializer
3=(0,a.WQX)(Qn),this.location=(0,a.WQX)(Ne.aZ),this.urlHandlingStrategy=(0,a.WQX)(Qa),this._events=new Te.B,this.errorHandler=this.options.errorHandler||Sr,this.navigated=!1,this.routeReuseStrategy=(0,a.WQX)(lt),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,a.WQX)(wa,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,a.WQX)(xs,{optional:!0}),this.eventsSubscription=new le.yU,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:j=>{this.console.warn(j)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const j=this.navigationTransitions.events.subscribe(te=>{try{const ve=this.navigationTransitions.currentTransition,Ke=this.navigationTransitions.currentNavigation;if(null!==ve&&null!==Ke)if(this.stateManager.handleRouterEvent(te,Ke),te instanceof qi&&te.code!==Ci.Redirect&&te.code!==Ci.SupersededByNewNavigation)this.navigated=!0;else if(te instanceof Bn)this.navigated=!0;else if(te instanceof vr){const ht=te.navigationBehaviorOptions,cn=this.urlHandlingStrategy.merge(te.url,ve.currentRawUrl),$t={browserUrl:ve.extras.browserUrl,info:ve.extras.info,skipLocationChange:ve.extras.skipLocationChange,replaceUrl:ve.extras.replaceUrl||"eager"===this.urlUpdateStrategy||Ce(ve.source),...ht};this.scheduleNavigation(cn,qe,null,$t,{resolve:ve.resolve,reject:ve.reject,promise:ve.promise})}(function Ui(N){return!(N instanceof Gi||N instanceof vr)})(te)&&this._events.next(te)}catch(ve){this.navigationTransitions.transitionAbortSubject.next(ve)}});this.eventsSubscription.add(j)}resetRootComponentType(j){this.routerState.root.component=j,this.navigationTransitions.rootComponentType=j}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),qe,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((j,te)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(j,"popstate",te)},0)})}navigateToSyncWithBrowser(j,te,ve){const Ke={replaceUrl:!0},ht=ve?.navigationId?ve:null;if(ve){const $t={...ve};delete $t.navigationId,delete $t.\u0275routerPageId,0!==Object.keys($t).length&&(Ke.state=$t)}const cn=this.parseUrl(j);this.scheduleNavigation(cn,te,ht,Ke)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(j){this.config=j.map(Fc),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(j,te={}){const{relativeTo:ve,queryParams:Ke,fragment:ht,queryParamsHandling:cn,preserveFragment:$t}=te,li=$t?this.currentUrlTree.fragment:ht;let Bi,tr=null;switch(cn??this.options.defaultQueryParamsHandling){case"merge":tr={...this.currentUrlTree.queryParams,...Ke};break;case"preserve":tr=this.currentUrlTree.queryParams;break;default:tr=Ke||null}null!==tr&&(tr=this.removeEmptyProps(tr));try{Bi=Zt(ve?ve.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof j[0]||"/"!==j[0][0])&&(j=[]),Bi=this.currentUrlTree.root}return At(Bi,j,tr,li??null)}navigateByUrl(j,te={skipLocationChange:!1}){const ve=nn(j)?j:this.parseUrl(j),Ke=this.urlHandlingStrategy.merge(ve,this.rawUrlTree);return this.scheduleNavigation(Ke,qe,null,te)}navigate(j,te={skipLocationChange:!1}){return function Ei(N){for(let Z=0;Z<N.length;Z++)if(null==N[Z])throw new a.wOt(4008,!1)}(j),this.navigateByUrl(this.createUrlTree(j,te),te)}serializeUrl(j){return this.urlSerializer.serialize(j)}parseUrl(j){try{return this.urlSerializer.parse(j)}catch{return this.urlSerializer.parse("/")}}isActive(j,te){let ve;if(ve=!0===te?{...ys}:!1===te?{...$i}:te,nn(j))return zi(this.currentUrlTree,j,ve);const Ke=this.parseUrl(j);return zi(this.currentUrlTree,Ke,ve)}removeEmptyProps(j){return Object.entries(j).reduce((te,[ve,Ke])=>(null!=Ke&&(te[ve]=Ke),te),{})}scheduleNavigation(j,te,ve,Ke,ht){if(this.disposed)return Promise.resolve(!1);let cn,$t,li;ht?(cn=ht.resolve,$t=ht.reject,li=ht.promise):li=new Promise((Bi,Os)=>{cn=Bi,$t=Os});const tr=this.pendingTasks.add();return xi(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(tr))}),this.navigationTransitions.handleNavigationRequest({source:te,restoredState:ve,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:j,extras:Ke,resolve:cn,reject:$t,promise:li,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),li.catch(Bi=>Promise.reject(Bi))}static{this.\u0275fac=function(te){return new(te||N)}}static{this.\u0275prov=a.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})(),Gs=(()=>{class N{constructor(j,te,ve,Ke,ht,cn){this.router=j,this.route=te,this.tabIndexAttribute=ve,this.renderer=Ke,this.el=ht,this.locationStrategy=cn,this.href=null,this.onChanges=new Te.B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;const $t=ht.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===$t||"area"===$t,this.isAnchorElement?this.subscription=j.events.subscribe(li=>{li instanceof Bn&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(j){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",j)}ngOnChanges(j){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(j){null==j?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(this.routerLinkInput=nn(j)||Array.isArray(j)?j:[j],this.setTabIndexIfNotOnNativeEl("0"))}onClick(j,te,ve,Ke,ht){const cn=this.urlTree;return!!(null===cn||this.isAnchorElement&&(0!==j||te||ve||Ke||ht||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(cn,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const j=this.urlTree;this.href=null!==j&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(j)):null;const te=null===this.href?null:(0,a.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",te)}applyAttributeValue(j,te){const ve=this.renderer,Ke=this.el.nativeElement;null!==te?ve.setAttribute(Ke,j,te):ve.removeAttribute(Ke,j)}get urlTree(){return null===this.routerLinkInput?null:nn(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static{this.\u0275fac=function(te){return new(te||N)(a.rXU(wn),a.rXU(io),a.kS0("tabindex"),a.rXU(a.sFG),a.rXU(a.aKT),a.rXU(Ne.hb))}}static{this.\u0275dir=a.FsC({type:N,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(te,ve){1&te&&a.bIt("click",function(ht){return ve.onClick(ht.button,ht.ctrlKey,ht.shiftKey,ht.altKey,ht.metaKey)}),2&te&&a.BMQ("target",ve.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",a.L39],skipLocationChange:[2,"skipLocationChange","skipLocationChange",a.L39],replaceUrl:[2,"replaceUrl","replaceUrl",a.L39],routerLink:"routerLink"},standalone:!0,features:[a.GFd,a.OA$]})}}return N})(),Vr=(()=>{class N{get isActive(){return this._isActive}constructor(j,te,ve,Ke,ht){this.router=j,this.element=te,this.renderer=ve,this.cdr=Ke,this.link=ht,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new a.bkB,this.routerEventsSubscription=j.events.subscribe(cn=>{cn instanceof Bn&&this.update()})}ngAfterContentInit(){(0,C.of)(this.links.changes,(0,C.of)(null)).pipe((0,tt.U)()).subscribe(j=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const j=[...this.links.toArray(),this.link].filter(te=>!!te).map(te=>te.onChanges);this.linkInputChangesSubscription=(0,P.H)(j).pipe((0,tt.U)()).subscribe(te=>{this._isActive!==this.isLinkActive(this.router)(te)&&this.update()})}set routerLinkActive(j){const te=Array.isArray(j)?j:j.split(" ");this.classes=te.filter(ve=>!!ve)}ngOnChanges(j){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const j=this.hasActiveLinks();
3this.classes.forEach(te=>{j?this.renderer.addClass(this.element.nativeElement,te):this.renderer.removeClass(this.element.nativeElement,te)}),j&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==j&&(this._isActive=j,this.cdr.markForCheck(),this.isActiveChange.emit(j))})}isLinkActive(j){const te=function Eo(N){return!!N.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return ve=>{const Ke=ve.urlTree;return!!Ke&&j.isActive(Ke,te)}}hasActiveLinks(){const j=this.isLinkActive(this.router);return this.link&&j(this.link)||this.links.some(j)}static{this.\u0275fac=function(te){return new(te||N)(a.rXU(wn),a.rXU(a.aKT),a.rXU(a.sFG),a.rXU(a.gRc),a.rXU(Gs,8))}}static{this.\u0275dir=a.FsC({type:N,selectors:[["","routerLinkActive",""]],contentQueries:function(te,ve,Ke){if(1&te&&a.wni(Ke,Gs,5),2&te){let ht;a.mGM(ht=a.lsd())&&(ve.links=ht)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[a.OA$]})}}return N})();class ao{}let Va=(()=>{class N{constructor(j,te,ve,Ke,ht){this.router=j,this.injector=ve,this.preloadingStrategy=Ke,this.loader=ht}setUpPreloading(){this.subscription=this.router.events.pipe((0,Se.p)(j=>j instanceof Bn),(0,Ve.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(j,te){const ve=[];for(const Ke of te){Ke.providers&&!Ke._injector&&(Ke._injector=(0,a.Ol2)(Ke.providers,j,`Route: ${Ke.path}`));const ht=Ke._injector??j,cn=Ke._loadedInjector??ht;(Ke.loadChildren&&!Ke._loadedRoutes&&void 0===Ke.canLoad||Ke.loadComponent&&!Ke._loadedComponent)&&ve.push(this.preloadConfig(ht,Ke)),(Ke.children||Ke._loadedRoutes)&&ve.push(this.processRoutes(cn,Ke.children??Ke._loadedRoutes))}return(0,P.H)(ve).pipe((0,tt.U)())}preloadConfig(j,te){return this.preloadingStrategy.preload(te,()=>{let ve;ve=te.loadChildren&&void 0===te.canLoad?this.loader.loadChildren(j,te):(0,C.of)(null);const Ke=ve.pipe((0,ke.Z)(ht=>null===ht?(0,C.of)(void 0):(te._loadedRoutes=ht.routes,te._loadedInjector=ht.injector,this.processRoutes(ht.injector??j,ht.routes))));if(te.loadComponent&&!te._loadedComponent){const ht=this.loader.loadComponent(te);return(0,P.H)([Ke,ht]).pipe((0,tt.U)())}return Ke})}static{this.\u0275fac=function(te){return new(te||N)(a.KVO(wn),a.KVO(a.Ql9),a.KVO(a.uvJ),a.KVO(ao),a.KVO(Vo))}}static{this.\u0275prov=a.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})();const Ti=new a.nKC("");let Cr=(()=>{class N{constructor(j,te,ve,Ke,ht={}){this.urlSerializer=j,this.transitions=te,this.viewportScroller=ve,this.zone=Ke,this.options=ht,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},ht.scrollPositionRestoration||="disabled",ht.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(j=>{j instanceof En?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=j.navigationTrigger,this.restoredId=j.restoredState?j.restoredState.navigationId:0):j instanceof Bn?(this.lastId=j.id,this.scheduleScrollEvent(j,this.urlSerializer.parse(j.urlAfterRedirects).fragment)):j instanceof br&&j.code===ei.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(j,this.urlSerializer.parse(j.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(j=>{j instanceof Jn&&(j.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(j.position):j.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(j.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(j,te){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Jn(j,"popstate"===this.lastSource?this.store[this.restoredId]:null,te))})}
3,0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static{this.\u0275fac=function(te){a.QTQ()}}static{this.\u0275prov=a.jDH({token:N,factory:N.\u0275fac})}}return N})();function is(N,Z){return{\u0275kind:N,\u0275providers:Z}}function jl(){const N=(0,a.WQX)(a.zZn);return Z=>{const j=N.get(a.o8S);if(Z!==j.components[0])return;const te=N.get(wn),ve=N.get(Oc);1===N.get(il)&&te.initialNavigation(),N.get(wc,null,a.$GK.Optional)?.setUpPreloading(),N.get(Ti,null,a.$GK.Optional)?.init(),te.resetRootComponentType(j.componentTypes[0]),ve.closed||(ve.next(),ve.complete(),ve.unsubscribe())}}const Oc=new a.nKC("",{factory:()=>new Te.B}),il=new a.nKC("",{providedIn:"root",factory:()=>1}),wc=new a.nKC("");function cc(N){return is(0,[{provide:wc,useExisting:Va},{provide:ao,useExisting:N}])}function Ir(N){return is(9,[{provide:Za,useValue:ja},{provide:oo,useValue:{skipNextTransition:!!N?.skipInitialTransition,...N}}])}const zl=new a.nKC("ROUTER_FORROOT_GUARD"),Hc=[Ne.aZ,{provide:Qn,useClass:si},wn,No,{provide:io,useFactory:function Ls(N){return N.routerState.root},deps:[wn]},Vo,[]];let rl=(()=>{class N{constructor(j){}static forRoot(j,te){return{ngModule:N,providers:[Hc,[],{provide:wa,multi:!0,useValue:j},{provide:zl,useFactory:od,deps:[[wn,new a.Xx1,new a.kdw]]},{provide:Mc,useValue:te||{}},te?.useHash?{provide:Ne.hb,useClass:Ne.fw}:{provide:Ne.hb,useClass:Ne.Sm},{provide:Ti,useFactory:()=>{const N=(0,a.WQX)(Ne.Xr),Z=(0,a.WQX)(a.SKi),j=(0,a.WQX)(Mc),te=(0,a.WQX)(ae),ve=(0,a.WQX)(Qn);return j.scrollOffset&&N.setOffset(j.scrollOffset),new Cr(ve,te,N,Z,j)}},te?.preloadingStrategy?cc(te.preloadingStrategy).\u0275providers:[],te?.initialNavigation?Hd(te):[],te?.bindToComponentInputs?is(8,[qs,{provide:xs,useExisting:qs}]).\u0275providers:[],te?.enableViewTransitions?Ir().\u0275providers:[],[{provide:$l,useFactory:jl},{provide:a.iLQ,multi:!0,useExisting:$l}]]}}static forChild(j){return{ngModule:N,providers:[{provide:wa,multi:!0,useValue:j}]}}static{this.\u0275fac=function(te){return new(te||N)(a.KVO(zl,8))}}static{this.\u0275mod=a.$C({type:N})}static{this.\u0275inj=a.G2t({})}}return N})();function od(N){return"guarded"}function Hd(N){return["disabled"===N.initialNavigation?is(3,[{provide:a.hnV,multi:!0,useFactory:()=>{const Z=(0,a.WQX)(wn);return()=>{Z.setUpLocationChangeListener()}}},{provide:il,useValue:2}]).\u0275providers:[],"enabledBlocking"===N.initialNavigation?is(2,[{provide:il,useValue:0},{provide:a.hnV,multi:!0,deps:[a.zZn],useFactory:Z=>{const j=Z.get(Ne.hj,Promise.resolve());return()=>j.then(()=>new Promise(te=>{const ve=Z.get(wn),Ke=Z.get(Oc);xi(ve,()=>{te(!0)}),Z.get(ae).afterPreactivation=()=>(te(!0),Ke.closed?(0,C.of)(void 0):Ke),ve.initialNavigation()}))}}]).\u0275providers:[]]}const $l=new a.nKC("")},28161:(st,Q,g)=>{"use strict";g.d(Q,{lC:()=>Gt,Ic:()=>ni,z0:()=>Xt});var a=g(61142),h=g(58527),H=g(77392),z=g(84975),P=g(23329),C=g(80560),B=g(58468);const _=["button"],q=["*","*"];function A(Dt,xn){if(1&Dt&&h.EFF(0),2&Dt){const Oe=h.XpG(3);h.JRh(Oe.unified)}}function X(Dt,xn){if(1&Dt&&(h.j41(0,"button",4,1)(2,"span",5),h.DNE(3,A,1,1,"ng-template",2),h.SdG(4),h.k0s()()),2&Dt){const Oe=h.XpG(2);h.AVh("emoji-mart-emoji-native",Oe.isNative)("emoji-mart-emoji-custom",Oe.custom),h.BMQ("title",Oe.title)("aria-label",Oe.label),h.R7$(2),h.Y8G("ngStyle",Oe.style),h.R7$(),h.Y8G("ngIf",Oe.isNative)}}function R(Dt,xn){if(1&Dt&&h.DNE(0,X,5,8,"button",3),2&Dt){const Oe=h.XpG(),Ye=h.sdS(2);h.Y8G("ngIf",Oe.useButton)("ngIfElse",Ye)}}function ne(Dt,xn){if(1&Dt&&h.EFF(0),2&Dt){const Oe=h.XpG(2);h.JRh(Oe.unified)}}function se(Dt,xn){if(1&Dt&&(h.j41(0,"span",6,1)(2,"span",5),h.DNE(3,ne,1,1,"ng-template",2),h.SdG(4,1),h.k0s()()),2&Dt){const Oe=h.XpG();h.AVh("emoji-mart-emoji-native",Oe.isNative)("emoji-mart-emoji-custom",Oe.custom),h.BMQ("title",Oe.title)("aria-label",Oe.label),h.R7$(2),h.Y8G("ngStyle",Oe.style),h.R7$(),h.Y8G("ngIf",Oe.isNative)}}const _e=[{id:"people",name:"Smileys & People",emojis:["1F600","1F603","1F604","1F601","1F606","1F605","1F923","1F602","1F642","1F643","1FAE0","1F609","1F60A","1F607","1F970","1F60D","1F929","1F618","1F617","263A-FE0F","1F61A","1F619","1F972","1F60B","1F61B","1F61C","1F92A","1F61D","1F911","1F917","1F92D","1FAE2","1FAE3","1F92B","1F914","1FAE1","1F910","1F928","1F610","1F611","1F636","1FAE5","1F636-200D-1F32B-FE0F","1F60F","1F612","1F644","1F62C","1F62E-200D-1F4A8","1F925","1F60C","1F614","1F62A","1F924","1F634","1F637","1F912","1F915","1F922","1F92E","1F927","1F975","1F976","1F974","1F635","1F635-200D-1F4AB","1F92F","1F920","1F973","1F978","1F60E","1F913","1F9D0","1F61
35","1FAE4","1F61F","1F641","2639-FE0F","1F62E","1F62F","1F632","1F633","1F97A","1F979","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","1F44B","1F91A","1F590-FE0F","270B","1F596","1FAF1","1FAF2","1FAF3","1FAF4","1F44C","1F90C","1F90F","270C-FE0F","1F91E","1FAF0","1F91F","1F918","1F919","1F448","1F449","1F446","1F595","1F447","261D-FE0F","1FAF5","1F44D","1F44E","270A","1F44A","1F91B","1F91C","1F44F","1F64C","1FAF6","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","1FAE6","1F476","1F9D2","1F466","1F467","1F9D1","1F471","1F468","1F9D4","1F9D4-200D-2642-FE0F","1F9D4-200D-2640-FE0F","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","1FAC5","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","1FAC3","1FAC4","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","1F9CC","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","1F63A","1F638","1F639","1F63B","1F63C","1F63D","1F640","1F63F","1F63E","1F648","1F649","1F64A","1F48B","1F48C","1F498","1F49D","1F496","1F497","1F493","1F49E","1F495","1F49F","2763-FE0F","1F494","2764-FE0F-200D-1F525","2764-FE0F-200D-1FA79","2764-FE0F","1F9E1","1F49B","1F49A","1F499","1F49C","1F90E","1F5A4","1F90D","1F4AF","1F4A2","1F4A5","1F4AB","1F4A6","1F4A8","1F573-FE0
3F","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","1FAB8","1F40C","1F98B","1F41B","1F41C","1F41D","1FAB2","1F41E","1F997","1FAB3","1F577-FE0F","1F578-FE0F","1F982","1F99F","1FAB0","1FAB1","1F9A0","1F490","1F338","1F4AE","1FAB7","1F3F5-FE0F","1F339","1F940","1F33A","1F33B","1F33C","1F337","1F331","1FAB4","1F332","1F333","1F334","1F335","1F33E","1F33F","2618-FE0F","1F340","1F341","1F342","1F343","1FAB9","1FABA"]},{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","1FAD8","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","1FAD7","1F964","1F9CB","1F9C3","1F9C9","1F9CA","1F962","1F37D-FE0F","1F374","1F944","1F52A","1FAD9","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","1FAAC","1F3AE","1F579-FE0F","1F3B0","1F3B2","1F9E9","1F9F8","1FA85","1FAA9","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","1F6DD","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","1F6DE","1F6A8","1F6A5","1F6A6","1F6D1","1F6A7","2693","1F6DF","26F5","1F6F6","1F6A4","1F6F3
3-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","1FAAB","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","1FA7C","1FA7A","1FA7B","1F6AA","1F6D7","1FA9E","1FA9F","1F6CF-FE0F","1F6CB-FE0F","1FA91","1F6BD","1FAA0","1F6BF","1F6C1","1FAA4","1FA92","1F9F4","1F9F7","1F9F9","1F9FA","1F9FB","1FAA3","1F9FC","1FAE7","1FAA5","1F9FD","1F9EF","1F6D2","1F6AC","26B0-FE0F","1FAA6","26B1-FE0F","1F5FF","1FAA7","1FAAA"]},{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","1F7F0","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-FE0
3F","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"]}],le=[{name:"Grinning Face",unified:"1F600",text:":D",keywords:["grinning_face","face","smile","happy","joy","
3:D","grin"],sheet:[32,20],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:[32,23],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:[32,24],shortName:"smile"},{name:"Grinning Face with Smiling Eyes",unified:"1F601",keywords:["beaming_face_with_smiling_eyes","face","happy","smile","joy","kawaii"],sheet:[32,21],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:[32,26],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:[32,25],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:[40,15],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:[32,22],shortName:"joy"},{name:"Slightly Smiling Face",unified:"1F642",emoticons:[":)","(:",":-)"],keywords:["slightly_smiling_face","face","smile"],sheet:[33,28],shortName:"slightly_smiling_face"},{name:"Upside-Down Face",unified:"1F643",keywords:["upside_down_face","face","flipped","silly","smile"],sheet:[33,29],shortName:"upside_down_face"},{name:"Melting Face",unified:"1FAE0",keywords:["melting face","hot","heat"],sheet:[55,12],hidden:["facebook"],shortName:"melting_face"},{name:"Winking Face",unified:"1F609",text:";)",emoticons:[";)",";-)"],keywords:["winking_face","face","happy","mischievous","secret",";)","smile","eye"],sheet:[32,29],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:[32,30],shortName:"blush"},{name:"Smiling Face with Halo",unified:"1F607",keywords:["smiling_face_with_halo","face","angel","heaven","halo","innocent"],sheet:[32,27],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:[43,58],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:[32,33],shortName:"heart_eyes"},{name:"Grinning Face with Star Eyes",unified:"1F929",keywords:["star_struck","face","smile","starry","eyes","grinning"],sheet:[40,38],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:[32,44],shortName:"kissing_heart"},{name:"Kissing Face",unified:"1F617",keywords:["kissing_face","love","like","face","3","valentines","infatuation","kiss"],sheet:[32,43],shortName:"kissing"},{name:"White Smiling Face",unified:"263A-FE0F",keywords:["smiling_face","face","blush","massage","happiness"],sheet:[57,4],shortName:"relaxed"},{name:"Kissing Face with Closed Eyes",unified:"1F61A",keywords:["kissing_face_with_closed_eyes","face","love","like","affection","valentines","infatuation","kiss"],sheet:[32,46],shortName:"kissing_closed_eyes"},{name:"Kissing Face with Smiling Eyes",unified:"1F619",keywords:["kissing_face_with_smiling_eyes","face","affection","valentines","infatuation","kiss"],sheet:[32,45],shortName:"kissing_smiling_eyes"},{name:"Smiling Face with Tear",unified:"1F972",keywords:["smiling face with tear","sad","cry","pretend"],sheet:[43,60],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:[32,31],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:[32,47],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:[32,48],short
3Name:"stuck_out_tongue_winking_eye"},{name:"Grinning Face with One Large and One Small Eye",unified:"1F92A",keywords:["zany_face","face","goofy","crazy"],sheet:[40,39],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:[32,49],shortName:"stuck_out_tongue_closed_eyes"},{name:"Money-Mouth Face",unified:"1F911",keywords:["money_mouth_face","face","rich","dollar","money"],sheet:[38,59],shortName:"money_mouth_face"},{name:"Hugging Face",unified:"1F917",keywords:["hugging_face","face","smile","hug"],sheet:[39,4],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:[40,42],shortNames:["smiling_face_with_smiling_eyes_and_hand_covering_mouth"],shortName:"face_with_hand_over_mouth"},{name:"Face with Open Eyes and Hand over Mouth",unified:"1FAE2",keywords:["face with open eyes and hand over mouth","silence","secret","shock","surprise"],sheet:[55,14],hidden:["facebook"],shortName:"face_with_open_eyes_and_hand_over_mouth"},{name:"Face with Peeking Eye",unified:"1FAE3",keywords:["face with peeking eye","scared","frightening","embarrassing","shy"],sheet:[55,15],hidden:["facebook"],shortName:"face_with_peeking_eye"},{name:"Face with Finger Covering Closed Lips",unified:"1F92B",keywords:["shushing_face","face","quiet","shhh"],sheet:[40,40],shortNames:["face_with_finger_covering_closed_lips"],shortName:"shushing_face"},{name:"Thinking Face",unified:"1F914",keywords:["thinking_face","face","hmmm","think","consider"],sheet:[39,1],shortName:"thinking_face"},{name:"Saluting Face",unified:"1FAE1",keywords:["saluting face","respect","salute"],sheet:[55,13],hidden:["facebook"],shortName:"saluting_face"},{name:"Zipper-Mouth Face",unified:"1F910",keywords:["zipper_mouth_face","face","sealed","zipper","secret"],sheet:[38,58],shortName:"zipper_mouth_face"},{name:"Face with One Eyebrow Raised",unified:"1F928",keywords:["face_with_raised_eyebrow","face","distrust","scepticism","disapproval","disbelief","surprise"],sheet:[40,37],shortNames:["face_with_one_eyebrow_raised"],shortName:"face_with_raised_eyebrow"},{name:"Neutral Face",unified:"1F610",emoticons:[":|",":-|"],keywords:["neutral_face","indifference","meh",":|","neutral"],sheet:[32,36],shortName:"neutral_face"},{name:"Expressionless Face",unified:"1F611",keywords:["expressionless_face","face","indifferent","-_-","meh","deadpan"],sheet:[32,37],shortName:"expressionless"},{name:"Face Without Mouth",unified:"1F636",keywords:["face_without_mouth","face","hellokitty"],sheet:[33,16],shortName:"no_mouth"},{name:"Dotted Line Face",unified:"1FAE5",keywords:["dotted line face","invisible","lonely","isolation","depression"],sheet:[55,17],hidden:["facebook"],shortName:"dotted_line_face"},{name:"Face in Clouds",unified:"1F636-200D-1F32B-FE0F",keywords:["face in clouds","shower","steam","dream"],sheet:[33,15],hidden:["facebook"],shortName:"face_in_clouds"},{name:"Smirking Face",unified:"1F60F",keywords:["smirking_face","face","smile","mean","prank","smug","sarcasm"],sheet:[32,35],shortName:"smirk"},{name:"Unamused Face",unified:"1F612",text:":(",keywords:["unamused_face","indifference","bored","straight face","serious","sarcasm","unimpressed","skeptical","dubious","side_eye"],sheet:[32,38],shortName:"unamused"},{name:"Face with Rolling Eyes",unified:"1F644",keywords:["face_with_rolling_eyes","face","eyeroll","frustrated"],sheet:[33,30],shortName:"face_with_rolling_eyes"},{name:"Grimacing Face",unified:"1F62C",keywords:["grimacing_face","face","grimace","teeth"],sheet:[33,3],shortName:"grimacing"},{name:"Face Exhaling",unified:"1F62E-200D-1F4A8",keywords:["face exhaling","relieve","relief","tired","sigh"],sheet:[33,5],hidden:["facebook"],shortName:"face_exhaling"},{name:"Lying Face",unified:"1F925",keywords:["lying_face","face","lie","pinocchio"],sheet:[40,17],shortName:"lying_face"},{name:"Relieved Face",unified:"1F60C",keywords:["relieved_face","face","relaxed","phew","massage","happiness"],sheet:[32,32],shortName:"relieved"},{name:"Pensive Face",unified:"1F614",keywords:["pensive_face","face","sad","depressed","upset"],sheet:[32,40],shortName:"pensive"},{name:"Sleepy Face",unified:"1F62A",keywords:["sleepy_face","face","tired","rest","nap"],sheet:[33,1],shortName:"sleepy"},{name:"Drooling Face",unified:"1F924",keywords:["drooling_face","face"],sheet:[40,16],shortName:"drooling_face"},{name:"Sleeping Face",unified:"1F634",keywords:["sleeping_face","face","tired","sleepy","night","zzz"],sheet:[33,12],short
3Name:"sleeping"},{name:"Face with Medical Mask",unified:"1F637",keywords:["face_with_medical_mask","face","sick","ill","disease","covid"],sheet:[33,17],shortName:"mask"},{name:"Face with Thermometer",unified:"1F912",keywords:["face_with_thermometer","sick","temperature","thermometer","cold","fever","covid"],sheet:[38,60],shortName:"face_with_thermometer"},{name:"Face with Head-Bandage",unified:"1F915",keywords:["face_with_head_bandage","injured","clumsy","bandage","hurt"],sheet:[39,2],shortName:"face_with_head_bandage"},{name:"Nauseated Face",unified:"1F922",keywords:["nauseated_face","face","vomit","gross","green","sick","throw up","ill"],sheet:[40,14],shortName:"nauseated_face"},{name:"Face with Open Mouth Vomiting",unified:"1F92E",keywords:["face_vomiting","face","sick"],sheet:[40,43],shortNames:["face_with_open_mouth_vomiting"],shortName:"face_vomiting"},{name:"Sneezing Face",unified:"1F927",keywords:["sneezing_face","face","gesundheit","sneeze","sick","allergy"],sheet:[40,36],shortName:"sneezing_face"},{name:"Overheated Face",unified:"1F975",keywords:["hot_face","face","feverish","heat","red","sweating"],sheet:[44,2],shortName:"hot_face"},{name:"Freezing Face",unified:"1F976",keywords:["cold_face","face","blue","freezing","frozen","frostbite","icicles"],sheet:[44,3],shortName:"cold_face"},{name:"Face with Uneven Eyes and Wavy Mouth",unified:"1F974",keywords:["woozy_face","face","dizzy","intoxicated","tipsy","wavy"],sheet:[44,1],shortName:"woozy_face"},{name:"Dizzy Face",unified:"1F635",keywords:["dizzy_face","spent","unconscious","xox","dizzy"],sheet:[33,14],shortName:"dizzy_face"},{name:"Face with Spiral Eyes",unified:"1F635-200D-1F4AB",keywords:["face with spiral eyes","sick","ill","confused","nauseous","nausea"],sheet:[33,13],hidden:["facebook"],shortName:"face_with_spiral_eyes"},{name:"Shocked Face with Exploding Head",unified:"1F92F",keywords:["exploding_head","face","shocked","mind","blown"],sheet:[40,44],shortNames:["shocked_face_with_exploding_head"],shortName:"exploding_head"},{name:"Face with Cowboy Hat",unified:"1F920",keywords:["cowboy_hat_face","face","cowgirl","hat"],sheet:[40,12],shortName:"face_with_cowboy_hat"},{name:"Face with Party Horn and Party Hat",unified:"1F973",keywords:["partying_face","face","celebration","woohoo"],sheet:[44,0],shortName:"partying_face"},{name:"Disguised Face",unified:"1F978",keywords:["disguised face","pretent","brows","glasses","moustache"],sheet:[44,10],shortName:"disguised_face"},{name:"Smiling Face with Sunglasses",unified:"1F60E",emoticons:["8)"],keywords:["smiling_face_with_sunglasses","face","cool","smile","summer","beach","sunglass"],sheet:[32,34],shortName:"sunglasses"},{name:"Nerd Face",unified:"1F913",keywords:["nerd_face","face","nerdy","geek","dork"],sheet:[39,0],shortName:"nerd_face"},{name:"Face with Monocle",unified:"1F9D0",keywords:["face_with_monocle","face","stuffy","wealthy"],sheet:[47,11],shortName:"face_with_monocle"},{name:"Confused Face",unified:"1F615",emoticons:[":\\\\",":-\\\\",":/",":-/"],keywords:["confused_face","face","indifference","huh","weird","hmmm",":/"],sheet:[32,41],shortName:"confused"},{name:"Face with Diagonal Mouth",unified:"1FAE4",keywords:["face with diagonal mouth","skeptic","confuse","frustrated","indifferent"],sheet:[55,16],hidden:["facebook"],shortName:"face_with_diagonal_mouth"},{name:"Worried Face",unified:"1F61F",keywords:["worried_face","face","concern","nervous",":("],sheet:[32,51],shortName:"worried"},{name:"Slightly Frowning Face",unified:"1F641",keywords:["slightly_frowning_face","face","frowning","disappointed","sad","upset"],sheet:[33,27],shortName:"slightly_frowning_face"},{name:"Frowning Face",unified:"2639-FE0F",keywords:["frowning_face","face","sad","upset","frown"],sheet:[57,3],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:[33,6],shortName:"open_mouth"},{name:"Hushed Face",unified:"1F62F",keywords:["hushed_face","face","woo","shh"],sheet:[33,7],shortName:"hushed"},{name:"Astonished Face",unified:"1F632",keywords:["astonished_face","face","xox","surprised","poisoned"],sheet:[33,10],shortName:"astonished"},{name:"Flushed Face",unified:"1F633",keywords:["flushed_face","face","blush","shy","flattered"],sheet:[33,11],shortName:"flushed"},{name:"Face with Pleading Eyes",unified:"1F97A",keywords:["pleading_face","face","begging","mercy","cry","tears","sad","grievance"],sheet:[44,12],short
3Name:"pleading_face"},{name:"Face Holding Back Tears",unified:"1F979",keywords:["face holding back tears","touched","gratitude","cry"],sheet:[44,11],hidden:["facebook"],shortName:"face_holding_back_tears"},{name:"Frowning Face with Open Mouth",unified:"1F626",keywords:["frowning_face_with_open_mouth","face","aw","what"],sheet:[32,58],shortName:"frowning"},{name:"Anguished Face",unified:"1F627",emoticons:["D:"],keywords:["anguished_face","face","stunned","nervous"],sheet:[32,59],shortName:"anguished"},{name:"Fearful Face",unified:"1F628",keywords:["fearful_face","face","scared","terrified","nervous"],sheet:[32,60],shortName:"fearful"},{name:"Face with Open Mouth and Cold Sweat",unified:"1F630",keywords:["anxious_face_with_sweat","face","nervous","sweat"],sheet:[33,8],shortName:"cold_sweat"},{name:"Disappointed but Relieved Face",unified:"1F625",keywords:["sad_but_relieved_face","face","phew","sweat","nervous"],sheet:[32,57],shortName:"disappointed_relieved"},{name:"Crying Face",unified:"1F622",text:":'(",emoticons:[":'("],keywords:["crying_face","face","tears","sad","depressed","upset",":'("],sheet:[32,54],shortName:"cry"},{name:"Loudly Crying Face",unified:"1F62D",text:":'(",keywords:["loudly_crying_face","face","cry","tears","sad","upset","depressed"],sheet:[33,4],shortName:"sob"},{name:"Face Screaming in Fear",unified:"1F631",keywords:["face_screaming_in_fear","face","munch","scared","omg"],sheet:[33,9],shortName:"scream"},{name:"Confounded Face",unified:"1F616",keywords:["confounded_face","face","confused","sick","unwell","oops",":S"],sheet:[32,42],shortName:"confounded"},{name:"Persevering Face",unified:"1F623",keywords:["persevering_face","face","sick","no","upset","oops"],sheet:[32,55],shortName:"persevere"},{name:"Disappointed Face",unified:"1F61E",text:":(",emoticons:["):",":(",":-("],keywords:["disappointed_face","face","sad","upset","depressed",":("],sheet:[32,50],shortName:"disappointed"},{name:"Face with Cold Sweat",unified:"1F613",keywords:["downcast_face_with_sweat","face","hot","sad","tired","exercise"],sheet:[32,39],shortName:"sweat"},{name:"Weary Face",unified:"1F629",keywords:["weary_face","face","tired","sleepy","sad","frustrated","upset"],sheet:[33,0],shortName:"weary"},{name:"Tired Face",unified:"1F62B",keywords:["tired_face","sick","whine","upset","frustrated"],sheet:[33,2],shortName:"tired_face"},{name:"Yawning Face",unified:"1F971",keywords:["yawning_face","tired","sleepy"],sheet:[43,59],shortName:"yawning_face"},{name:"Face with Look of Triumph",unified:"1F624",keywords:["face_with_steam_from_nose","face","gas","phew","proud","pride"],sheet:[32,56],shortName:"triumph"},{name:"Pouting Face",unified:"1F621",keywords:["pouting_face","angry","mad","hate","despise"],sheet:[32,53],shortName:"rage"},{name:"Angry Face",unified:"1F620",emoticons:[">:(",">:-("],keywords:["angry_face","mad","face","annoyed","frustrated"],sheet:[32,52],short
3Name:"angry"},{name:"Serious Face with Symbols Covering Mouth",unified:"1F92C",keywords:["face_with_symbols_on_mouth","face","swearing","cursing","cussing","profanity","expletive"],sheet:[40,41],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:[32,28],shortName:"smiling_imp"},{name:"Imp",unified:"1F47F",keywords:["angry_face_with_horns","devil","angry","horns"],sheet:[25,8],shortName:"imp"},{name:"Skull",unified:"1F480",keywords:["skull","dead","skeleton","creepy","death"],sheet:[25,9],shortName:"skull"},{name:"Skull and Crossbones",unified:"2620-FE0F",keywords:["skull_and_crossbones","poison","danger","deadly","scary","death","pirate","evil"],sheet:[56,56],shortName:"skull_and_crossbones"},{name:"Pile of Poo",unified:"1F4A9",keywords:["pile_of_poo","hankey","shitface","fail","turd","shit"],sheet:[27,56],shortNames:["poop","shit"],shortName:"hankey"},{name:"Clown Face",unified:"1F921",keywords:["clown_face","face"],sheet:[40,13],shortName:"clown_face"},{name:"Japanese Ogre",unified:"1F479",keywords:["ogre","monster","red","mask","halloween","scary","creepy","devil","demon","japanese","ogre"],sheet:[24,58],shortName:"japanese_ogre"},{name:"Japanese Goblin",unified:"1F47A",keywords:["goblin","red","evil","mask","monster","scary","creepy","japanese","goblin"],sheet:[24,59],shortName:"japanese_goblin"},{name:"Ghost",unified:"1F47B",keywords:["ghost","halloween","spooky","scary"],sheet:[24,60],shortName:"ghost"},{name:"Extraterrestrial Alien",unified:"1F47D",keywords:["alien","UFO","paul","weird","outer_space"],sheet:[25,6],shortName:"alien"},{name:"Alien Monster",unified:"1F47E",keywords:["alien_monster","game","arcade","play"],sheet:[25,7],shortName:"space_invader"},{name:"Robot Face",unified:"1F916",keywords:["robot","computer","machine","bot"],sheet:[39,3],shortName:"robot_face"},{name:"Smiling Cat Face with Open Mouth",unified:"1F63A",keywords:["grinning_cat","animal","cats","happy","smile"],sheet:[33,20],shortName:"smiley_cat"},{name:"Grinning Cat Face with Smiling Eyes",unified:"1F638",keywords:["grinning_cat_with_smiling_eyes","animal","cats","smile"],sheet:[33,18],shortName:"smile_cat"},{name:"Cat Face with Tears of Joy",unified:"1F639",keywords:["cat_with_tears_of_joy","animal","cats","haha","happy","tears"],sheet:[33,19],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:[33,21],shortName:"heart_eyes_cat"},{name:"Cat Face with Wry Smile",unified:"1F63C",keywords:["cat_with_wry_smile","animal","cats","smirk"],sheet:[33,22],shortName:"smirk_cat"},{name:"Kissing Cat Face with Closed Eyes",unified:"1F63D",keywords:["kissing_cat","animal","cats","kiss"],sheet:[33,23],shortName:"kissing_cat"},{name:"Weary Cat Face",unified:"1F640",keywords:["weary_cat","animal","cats","munch","scared","scream"],sheet:[33,26],shortName:"scream_cat"},{name:"Crying Cat Face",unified:"1F63F",keywords:["crying_cat","animal","tears","weep","sad","cats","upset","cry"],sheet:[33,25],shortName:"crying_cat_face"},{name:"Pouting Cat Face",unified:"1F63E",keywords:["pouting_cat","animal","cats"],sheet:[33,24],shortName:"pouting_cat"},{name:"See-No-Evil Monkey",unified:"1F648",keywords:["see_no_evil_monkey","monkey","animal","nature","haha"],sheet:[34,24],shortName:"see_no_evil"},{name:"Hear-No-Evil Monkey",unified:"1F649",keywords:["hear_no_evil_monkey","animal","monkey","nature"],sheet:[34,25],shortName:"hear_no_evil"},{name:"Speak-No-Evil Monkey",unified:"1F64A",keywords:["speak_no_evil_monkey","monkey","animal","nature","omg"],sheet:[34,26],shortName:"speak_no_evil"},{name:"Kiss Mark",unified:"1F48B",keywords:["kiss_mark","face","lips","love","like","affection","valentines"],sheet:[26,37],shortName:"kiss"},{name:"Love Letter",unified:"1F48C",keywords:["love_letter","email","like","affection","envelope","valentines"],sheet:[26,38],shortName:"love_letter"},{name:"Heart with Arrow",unified:"1F498",keywords:["heart_with_arrow","love","like","heart","affection","valentines"],sheet:[27,39],short
3Name:"cupid"},{name:"Heart with Ribbon",unified:"1F49D",keywords:["heart_with_ribbon","love","valentines"],sheet:[27,44],shortName:"gift_heart"},{name:"Sparkling Heart",unified:"1F496",keywords:["sparkling_heart","love","like","affection","valentines"],sheet:[27,37],shortName:"sparkling_heart"},{name:"Growing Heart",unified:"1F497",keywords:["growing_heart","like","love","affection","valentines","pink"],sheet:[27,38],shortName:"heartpulse"},{name:"Beating Heart",unified:"1F493",keywords:["beating_heart","love","like","affection","valentines","pink","heart"],sheet:[27,34],shortName:"heartbeat"},{name:"Revolving Hearts",unified:"1F49E",keywords:["revolving_hearts","love","like","affection","valentines"],sheet:[27,45],shortName:"revolving_hearts"},{name:"Two Hearts",unified:"1F495",keywords:["two_hearts","love","like","affection","valentines","heart"],sheet:[27,36],shortName:"two_hearts"},{name:"Heart Decoration",unified:"1F49F",keywords:["heart_decoration","purple-square","love","like"],sheet:[27,46],shortName:"heart_decoration"},{name:"Heart Exclamation",unified:"2763-FE0F",keywords:["heart_exclamation","decoration","love"],sheet:[59,7],shortName:"heavy_heart_exclamation_mark_ornament"},{name:"Broken Heart",unified:"1F494",text:"</3",emoticons:["</3"],keywords:["broken_heart","sad","sorry","break","heart","heartbreak"],sheet:[27,35],shortName:"broken_heart"},{name:"Heart on Fire",unified:"2764-FE0F-200D-1F525",keywords:["heart on fire","passionate","enthusiastic"],sheet:[59,8],hidden:["facebook"],shortName:"heart_on_fire"},{name:"Mending Heart",unified:"2764-FE0F-200D-1FA79",keywords:["mending heart","broken heart","bandage","wounded"],sheet:[59,9],hidden:["facebook"],shortName:"mending_heart"},{name:"Heavy Black Heart",unified:"2764-FE0F",text:"<3",emoticons:["<3"],keywords:["red_heart","love","like","valentines"],sheet:[59,10],shortName:"heart"},{name:"Orange Heart",unified:"1F9E1",keywords:["orange_heart","love","like","affection","valentines"],sheet:[53,15],shortName:"orange_heart"},{name:"Yellow Heart",unified:"1F49B",text:"<3",keywords:["yellow_heart","love","like","affection","valentines"],sheet:[27,42],shortName:"yellow_heart"},{name:"Green Heart",unified:"1F49A",text:"<3",keywords:["green_heart","love","like","affection","valentines"],sheet:[27,41],shortName:"green_heart"},{name:"Blue Heart",unified:"1F499",text:"<3",keywords:["blue_heart","love","like","affection","valentines"],sheet:[27,40],shortName:"blue_heart"},{name:"Purple Heart",unified:"1F49C",text:"<3",keywords:["purple_heart","love","like","affection","valentines"],sheet:[27,43],shortName:"purple_heart"},{name:"Brown Heart",unified:"1F90E",keywords:["brown_heart","coffee"],sheet:[38,51],shortName:"brown_heart"},{name:"Black Heart",unified:"1F5A4",keywords:["black_heart","evil"],sheet:[31,55],shortName:"black_heart"},{name:"White Heart",unified:"1F90D",keywords:["white_heart","pure"],sheet:[38,50],shortName:"white_heart"},{name:"Hundred Points Symbol",unified:"1F4AF",keywords:["hundred_points","score","perfect","numbers","century","exam","quiz","test","pass","hundred"],sheet:[28,6],shortName:"100"},{name:"Anger Symbol",unified:"1F4A2",keywords:["anger_symbol","angry","mad"],sheet:[27,49],shortName:"anger"},{name:"Collision Symbol",unified:"1F4A5",keywords:["collision","bomb","explode","explosion","collision","blown"],sheet:[27,52],shortNames:["collision"],shortName:"boom"},{name:"Dizzy Symbol",unified:"1F4AB",keywords:["dizzy","star","sparkle","shoot","magic"],sheet:[28,2],shortName:"dizzy"},{name:"Splashing Sweat Symbol",unified:"1F4A6",keywords:["sweat_droplets","water","drip","oops"],sheet:[27,53],shortName:"sweat_drops"},{name:"Dash Symbol",unified:"1F4A8",keywords:["dashing_away","wind","air","fast","shoo","fart","smoke","puff"],sheet:[27,55],shortName:"dash"}
3,{name:"Hole",unified:"1F573-FE0F",keywords:["hole","embarrassing"],sheet:[30,58],shortName:"hole"},{name:"Bomb",unified:"1F4A3",keywords:["bomb","boom","explode","explosion","terrorism"],sheet:[27,50],shortName:"bomb"},{name:"Speech Balloon",unified:"1F4AC",keywords:["speech_balloon","bubble","words","message","talk","chatting"],sheet:[28,3],shortName:"speech_balloon"},{name:"Eye in Speech Bubble",unified:"1F441-FE0F-200D-1F5E8-FE0F",keywords:["eye_in_speech_bubble","info"],sheet:[11,53],hidden:["facebook"],shortName:"eye-in-speech-bubble"},{name:"Left Speech Bubble",unified:"1F5E8-FE0F",keywords:["left_speech_bubble","words","message","talk","chatting"],sheet:[32,11],shortName:"left_speech_bubble"},{name:"Right Anger Bubble",unified:"1F5EF-FE0F",keywords:["right_anger_bubble","caption","speech","thinking","mad"],sheet:[32,12],shortName:"right_anger_bubble"},{name:"Thought Balloon",unified:"1F4AD",keywords:["thought_balloon","bubble","cloud","speech","thinking","dream"],sheet:[28,4],shortName:"thought_balloon"},{name:"Sleeping Symbol",unified:"1F4A4",keywords:["zzz","sleepy","tired","dream"],sheet:[27,51],shortName:"zzz"},{name:"Waving Hand Sign",unified:"1F44B",keywords:["waving_hand","hands","gesture","goodbye","solong","farewell","hello","hi","palm"],sheet:[12,38],skinVariations:[{unified:"1F44B-1F3FB",sheet:[12,39]},{unified:"1F44B-1F3FC",sheet:[12,40]},{unified:"1F44B-1F3FD",sheet:[12,41]},{unified:"1F44B-1F3FE",sheet:[12,42]},{unified:"1F44B-1F3FF",sheet:[12,43]}],shortName:"wave"},{name:"Raised Back of Hand",unified:"1F91A",keywords:["raised_back_of_hand","fingers","raised","backhand"],sheet:[39,17],skinVariations:[{unified:"1F91A-1F3FB",sheet:[39,18]},{unified:"1F91A-1F3FC",sheet:[39,19]},{unified:"1F91A-1F3FD",sheet:[39,20]},{unified:"1F91A-1F3FE",sheet:[39,21]},{unified:"1F91A-1F3FF",sheet:[39,22]}],shortName:"raised_back_of_hand"},{name:"Hand with Fingers Splayed",unified:"1F590-FE0F",keywords:["hand_with_fingers_splayed","hand","fingers","palm"],sheet:[31,37],skinVariations:[{unified:"1F590-1F3FB",sheet:[31,38]},{unified:"1F590-1F3FC",sheet:[31,39]},{unified:"1F590-1F3FD",sheet:[31,40]},{unified:"1F590-1F3FE",sheet:[31,41]},{unified:"1F590-1F3FF",sheet:[31,42]}],shortName:"raised_hand_with_fingers_splayed"},{name:"Raised Hand",unified:"270B",keywords:["raised_hand","fingers","stop","highfive","palm","ban"],sheet:[58,33],skinVariations:[{unified:"270B-1F3FB",sheet:[58,34]},{unified:"270B-1F3FC",sheet:[58,35]},{unified:"270B-1F3FD",sheet:[58,36]},{unified:"270B-1F3FE",sheet:[58,37]},{unified:"270B-1F3FF",sheet:[58,38]}],shortNames:["raised_hand"],shortName:"hand"},{name:"Raised Hand with Part Between Middle and Ring Fingers",unified:"1F596",keywords:["vulcan_salute","hand","fingers","spock","star trek"],sheet:[31,49],skinVariations:[{unified:"1F596-1F3FB",sheet:[31,50]},{unified:"1F596-1F3FC",sheet:[31,51]},{unified:"1F596-1F3FD",sheet:[31,52]},{unified:"1F596-1F3FE",sheet:[31,53]},{unified:"1F596-1F3FF",sheet:[31,54]}],shortName:"spock-hand"},{name:"Rightwards Hand",unified:"1FAF1",keywords:["rightwards hand","palm","offer"],sheet:[55,26],hidden:["facebook"],skinVariations:[{unified:"1FAF1-1F3FB",sheet:[55,27],hidden:["facebook"]},{unified:"1FAF1-1F3FC",sheet:[55,28],hidden:["facebook"]},{unified:"1FAF1-1F3FD",sheet:[55,29],hidden:["facebook"]},{unified:"1FAF1-1F3FE",sheet:[55,30],hidden:["facebook"]},{unified:"1FAF1-1F3FF",sheet:[55,31],hidden:["facebook"]}],shortName:"rightwards_hand"},{name:"Leftwards Hand",unified:"1FAF2",keywords:["leftwards hand","palm","offer"],sheet:[55,32],hidden:["facebook"],skinVariations:[{unified:"1FAF2-1F3FB",sheet:[55,33],hidden:["facebook"]},{unified:"1FAF2-1F3FC",sheet:[55,34],hidden:["facebook"]},{unified:"1FAF2-1F3FD",sheet:[55,35],hidden:["facebook"]},{unified:"1FAF2-1F3FE",sheet:[55,36],hidden:["facebook"]},{unified:"1FAF2-1F3FF",sheet:[55,37],hidden:["facebook"]}],shortName:"leftwards_hand"},{name:"Palm Down Hand",unified:"1FAF3",keywords:["palm down hand","palm","drop"],sheet:[55,38],hidden:["facebook"],skinVariations:[{unified:"1FAF3-1F3FB",sheet:[55,39],hidden:["facebook"]},{unified:"1FAF3-1F3FC",sheet:[55,40],hidden:["facebook"]},{unified:"1FAF3-1F3FD",sheet:[55,41],hidden:["facebook"]},{unified:"1FAF3-1F3FE",sheet:[55,42],hidden:["facebook"]},{unified:"1FAF3-1F3FF",sheet:[55,43],hidden:["facebook"]}],shortName:"palm_down_hand"},{name:"Palm Up Hand",unified:"1FAF4",keywords:["palm up hand","lift","offer","demand"],sheet:[55,44],hidden:["facebook"],skinVariations:[{unified:"1FAF4-1F3FB",sheet:[55,45],hidden:["facebook"]},{unified:"1FAF4-1F3FC",sheet:[55,46],hidden:["facebook"]},{unified:"1FAF4-1F3FD",sheet:[55,47],hidden:["facebook"]},{unified:"1FAF4-1F3FE",sheet:[55,48],hidden:["facebook"]},{unified:"1FAF4-1F3FF",sheet:[55,49],hidden:["facebook"]}],shortName:"palm_up_hand"},{name:"Ok Hand Sign",unified:"1F44C",keywords:["ok_hand","fingers","limbs","perfect","ok","okay"],sheet:[12,44],skinVariations:[{unified:"1F44C-1F3FB",sheet:[12,45]},{unified:"1F44C-1F3FC",sheet:[12,46]},{unified:"1F44C-1F3FD",sheet:[12,47]},{unified:"1F44C-1F3FE",sheet:[12,48]},{unified:"1F44C-1F3FF",sheet:[12,49]}],shortName:"ok_hand"},{name:"Pinched Fingers",unified:"1F90C",keywords:["pinched fingers","size","tiny","small"],sheet:[38,44],skinVariations:[{unified:"1F90C-1F3FB",sheet:[38,45]},{unified:"1F90C-1F3FC",sheet:[38,46]},{unified:"1F90C-1F3FD",sheet:[38,47]},{unified:"1F90C-1F3FE",sheet:[38,48]},{unified:"1F90C-1F3FF",sheet:[38,49]}],shortName:"pinched_fingers"},{name:"Pinching Hand",unified:"1F90F",keywords:["pinching_hand","tiny","small","size"],sheet:[38,52],skinVariations:[{unified:"1F90F-1F3FB",sheet:[38,53]},{unified:"1F90F-1F3FC",sheet:[38,54]},{unified:"1F90F-1F3FD",sheet:[38,55]},{unified:"1F90F-1F3FE",sheet:[38,56]},{unified:"1F90F-1F3FF",sheet:[38,57]}],shortName:"pinching_hand"},{name:"Victory Hand",unified:"270C-FE0F",keywords:["victory_hand","fingers","ohyeah","hand","peace","victory","two"],sheet:[58,39],skinVariations:[{unified:"270C-1F3FB",sheet:[58,40]},{unified:"270C-1F3FC",sheet:[58,41]},{unified:"270C-1F3FD",sheet:[58,42]},{unified:"270C-1F3FE",sheet:[58,43]},{unified:"270C-1F3FF",sheet:[58,44]}],shortName:"v"},{name:"Hand with Index and Middle Fingers Crossed",unified:"1F91E",keywords:["crossed_fingers","good","lucky"],sheet:[40,0],skinVariations:[{unified:"1F91E-1F3FB",sheet:[40,1]},{unified:"1F91E-1F3FC",sheet:[40,2]},{unified:"1F91E-1F3FD",sheet:[40,3]},{unified:"1F91E-1F3FE",sheet:[40,4]},{unified:"1F91E-1F3FF",sheet:[40,5]}],shortNames:["hand_with_index_and_middle_fingers_crossed"],short
3Name:"crossed_fingers"},{name:"Hand with Index Finger and Thumb Crossed",unified:"1FAF0",keywords:["hand with index finger and thumb crossed","heart","love","money","expensive"],sheet:[55,20],hidden:["facebook"],skinVariations:[{unified:"1FAF0-1F3FB",sheet:[55,21],hidden:["facebook"]},{unified:"1FAF0-1F3FC",sheet:[55,22],hidden:["facebook"]},{unified:"1FAF0-1F3FD",sheet:[55,23],hidden:["facebook"]},{unified:"1FAF0-1F3FE",sheet:[55,24],hidden:["facebook"]},{unified:"1FAF0-1F3FF",sheet:[55,25],hidden:["facebook"]}],shortName:"hand_with_index_finger_and_thumb_crossed"},{name:"I Love You Hand Sign",unified:"1F91F",keywords:["love_you_gesture","hand","fingers","gesture"],sheet:[40,6],skinVariations:[{unified:"1F91F-1F3FB",sheet:[40,7]},{unified:"1F91F-1F3FC",sheet:[40,8]},{unified:"1F91F-1F3FD",sheet:[40,9]},{unified:"1F91F-1F3FE",sheet:[40,10]},{unified:"1F91F-1F3FF",sheet:[40,11]}],shortName:"i_love_you_hand_sign"},{name:"Sign of the Horns",unified:"1F918",keywords:["sign_of_the_horns","hand","fingers","evil_eye","sign_of_horns","rock_on"],sheet:[39,5],skinVariations:[{unified:"1F918-1F3FB",sheet:[39,6]},{unified:"1F918-1F3FC",sheet:[39,7]},{unified:"1F918-1F3FD",sheet:[39,8]},{unified:"1F918-1F3FE",sheet:[39,9]},{unified:"1F918-1F3FF",sheet:[39,10]}],shortNames:["sign_of_the_horns"],shortName:"the_horns"},{name:"Call Me Hand",unified:"1F919",keywords:["call_me_hand","hands","gesture","shaka"],sheet:[39,11],skinVariations:[{unified:"1F919-1F3FB",sheet:[39,12]},{unified:"1F919-1F3FC",sheet:[39,13]},{unified:"1F919-1F3FD",sheet:[39,14]},{unified:"1F919-1F3FE",sheet:[39,15]},{unified:"1F919-1F3FF",sheet:[39,16]}],shortName:"call_me_hand"}
3,{name:"White Left Pointing Backhand Index",unified:"1F448",keywords:["backhand_index_pointing_left","direction","fingers","hand","left"],sheet:[12,20],skinVariations:[{unified:"1F448-1F3FB",sheet:[12,21]},{unified:"1F448-1F3FC",sheet:[12,22]},{unified:"1F448-1F3FD",sheet:[12,23]},{unified:"1F448-1F3FE",sheet:[12,24]},{unified:"1F448-1F3FF",sheet:[12,25]}],shortName:"point_left"},{name:"White Right Pointing Backhand Index",unified:"1F449",keywords:["backhand_index_pointing_right","fingers","hand","direction","right"],sheet:[12,26],skinVariations:[{unified:"1F449-1F3FB",sheet:[12,27]},{unified:"1F449-1F3FC",sheet:[12,28]},{unified:"1F449-1F3FD",sheet:[12,29]},{unified:"1F449-1F3FE",sheet:[12,30]},{unified:"1F449-1F3FF",sheet:[12,31]}],shortName:"point_right"},{name:"White Up Pointing Backhand Index",unified:"1F446",keywords:["backhand_index_pointing_up","fingers","hand","direction","up"],sheet:[12,8],skinVariations:[{unified:"1F446-1F3FB",sheet:[12,9]},{unified:"1F446-1F3FC",sheet:[12,10]},{unified:"1F446-1F3FD",sheet:[12,11]},{unified:"1F446-1F3FE",sheet:[12,12]},{unified:"1F446-1F3FF",sheet:[12,13]}],shortName:"point_up_2"},{name:"Reversed Hand with Middle Finger Extended",unified:"1F595",keywords:["middle_finger","hand","fingers","rude","middle","flipping"],sheet:[31,43],skinVariations:[{unified:"1F595-1F3FB",sheet:[31,44]},{unified:"1F595-1F3FC",sheet:[31,45]},{unified:"1F595-1F3FD",sheet:[31,46]},{unified:"1F595-1F3FE",sheet:[31,47]},{unified:"1F595-1F3FF",sheet:[31,48]}],shortNames:["reversed_hand_with_middle_finger_extended"],shortName:"middle_finger"},{name:"White Down Pointing Backhand Index",unified:"1F447",keywords:["backhand_index_pointing_down","fingers","hand","direction","down"],sheet:[12,14],skinVariations:[{unified:"1F447-1F3FB",sheet:[12,15]},{unified:"1F447-1F3FC",sheet:[12,16]},{unified:"1F447-1F3FD",sheet:[12,17]},{unified:"1F447-1F3FE",sheet:[12,18]},{unified:"1F447-1F3FF",sheet:[12,19]}],shortName:"point_down"},{name:"White Up Pointing Index",unified:"261D-FE0F",keywords:["index_pointing_up","hand","fingers","direction","up"],sheet:[56,50],skinVariations:[{unified:"261D-1F3FB",sheet:[56,51]},{unified:"261D-1F3FC",sheet:[56,52]},{unified:"261D-1F3FD",sheet:[56,53]},{unified:"261D-1F3FE",sheet:[56,54]},{unified:"261D-1F3FF",sheet:[56,55]}],shortName:"point_up"},{name:"Index Pointing at the Viewer",unified:"1FAF5",keywords:["index pointing at the viewer","you","recruit"],sheet:[55,50],hidden:["facebook"],skinVariations:[{unified:"1FAF5-1F3FB",sheet:[55,51],hidden:["facebook"]},{unified:"1FAF5-1F3FC",sheet:[55,52],hidden:["facebook"]},{unified:"1FAF5-1F3FD",sheet:[55,53],hidden:["facebook"]},{unified:"1FAF5-1F3FE",sheet:[55,54],hidden:["facebook"]},{unified:"1FAF5-1F3FF",sheet:[55,55],hidden:["facebook"]}],shortName:"index_pointing_at_the_viewer"},{name:"Thumbs Up Sign",unified:"1F44D",keywords:["thumbs_up","thumbsup","yes","awesome","good","agree","accept","cool","hand","like","+1"],sheet:[12,50],skinVariations:[{unified:"1F44D-1F3FB",sheet:[12,51]},{unified:"1F44D-1F3FC",sheet:[12,52]},{unified:"1F44D-1F3FD",sheet:[12,53]},{unified:"1F44D-1F3FE",sheet:[12,54]},{unified:"1F44D-1F3FF",sheet:[12,55]}],shortNames:["thumbsup"],shortName:"+1"},{name:"Thumbs Down Sign",unified:"1F44E",keywords:["thumbs_down","thumbsdown","no","dislike","hand","-1"],sheet:[12,56],skinVariations:[{unified:"1F44E-1F3FB",sheet:[12,57]},{unified:"1F44E-1F3FC",sheet:[12,58]},{unified:"1F44E-1F3FD",sheet:[12,59]},{unified:"1F44E-1F3FE",sheet:[12,60]},{unified:"1F44E-1F3FF",sheet:[13,0]}],shortNames:["thumbsdown"],shortName:"-1"},{name:"Raised Fist",unified:"270A",keywords:["raised_fist","fingers","hand","grasp"],sheet:[58,27],skinVariations:[{unified:"270A-1F3FB",sheet:[58,28]},{unified:"270A-1F3FC",sheet:[58,29]},{unified:"270A-1F3FD",sheet:[58,30]},{unified:"270A-1F3FE",sheet:[58,31]},{unified:"270A-1F3FF",sheet:[58,32]}],shortName:"fist"},{name:"Fisted Hand Sign",unified:"1F44A",keywords:["oncoming_fist","angry","violence","fist","hit","attack","hand"],sheet:[12,32],skinVariations:[{unified:"1F44A-1F3FB",sheet:[12,33]},{unified:"1F44A-1F3FC",sheet:[12,34]},{unified:"1F44A-1F3FD",sheet:[12,35]},{unified:"1F44A-1F3FE",sheet:[12,36]},{unified:"1F44A-1F3FF",sheet:[12,37]}
3],shortNames:["punch"],shortName:"facepunch"},{name:"Left-Facing Fist",unified:"1F91B",keywords:["left_facing_fist","hand","fistbump"],sheet:[39,23],skinVariations:[{unified:"1F91B-1F3FB",sheet:[39,24]},{unified:"1F91B-1F3FC",sheet:[39,25]},{unified:"1F91B-1F3FD",sheet:[39,26]},{unified:"1F91B-1F3FE",sheet:[39,27]},{unified:"1F91B-1F3FF",sheet:[39,28]}],shortName:"left-facing_fist"},{name:"Right-Facing Fist",unified:"1F91C",keywords:["right_facing_fist","hand","fistbump"],sheet:[39,29],skinVariations:[{unified:"1F91C-1F3FB",sheet:[39,30]},{unified:"1F91C-1F3FC",sheet:[39,31]},{unified:"1F91C-1F3FD",sheet:[39,32]},{unified:"1F91C-1F3FE",sheet:[39,33]},{unified:"1F91C-1F3FF",sheet:[39,34]}],shortName:"right-facing_fist"},{name:"Clapping Hands Sign",unified:"1F44F",keywords:["clapping_hands","hands","praise","applause","congrats","yay"],sheet:[13,1],skinVariations:[{unified:"1F44F-1F3FB",sheet:[13,2]},{unified:"1F44F-1F3FC",sheet:[13,3]},{unified:"1F44F-1F3FD",sheet:[13,4]},{unified:"1F44F-1F3FE",sheet:[13,5]},{unified:"1F44F-1F3FF",sheet:[13,6]}],shortName:"clap"},{name:"Person Raising Both Hands in Celebration",unified:"1F64C",keywords:["raising_hands","gesture","hooray","yea","celebration","hands"],sheet:[34,45],skinVariations:[{unified:"1F64C-1F3FB",sheet:[34,46]},{unified:"1F64C-1F3FC",sheet:[34,47]},{unified:"1F64C-1F3FD",sheet:[34,48]},{unified:"1F64C-1F3FE",sheet:[34,49]},{unified:"1F64C-1F3FF",sheet:[34,50]}],shortName:"raised_hands"},{name:"Heart Hands",unified:"1FAF6",keywords:["heart hands","love","appreciation","support"],sheet:[55,56],hidden:["facebook"],skinVariations:[{unified:"1FAF6-1F3FB",sheet:[55,57],hidden:["facebook"]},{unified:"1FAF6-1F3FC",sheet:[55,58],hidden:["facebook"]},{unified:"1FAF6-1F3FD",sheet:[55,59],hidden:["facebook"]},{unified:"1FAF6-1F3FE",sheet:[55,60],hidden:["facebook"]},{unified:"1FAF6-1F3FF",sheet:[56,0],hidden:["facebook"]}],shortName:"heart_hands"},{name:"Open Hands Sign",unified:"1F450",keywords:["open_hands","fingers","butterfly","hands","open"],sheet:[13,7],skinVariations:[{unified:"1F450-1F3FB",sheet:[13,8]},{unified:"1F450-1F3FC",sheet:[13,9]},{unified:"1F450-1F3FD",sheet:[13,10]},{unified:"1F450-1F3FE",sheet:[13,11]},{unified:"1F450-1F3FF",sheet:[13,12]}],shortName:"open_hands"},{name:"Palms Up Together",unified:"1F932",keywords:["palms_up_together","hands","gesture","cupped","prayer"],sheet:[40,57],skinVariations:[{unified:"1F932-1F3FB",sheet:[40,58]},{unified:"1F932-1F3FC",sheet:[40,59]},{unified:"1F932-1F3FD",sheet:[40,60]},{unified:"1F932-1F3FE",sheet:[41,0]},{unified:"1F932-1F3FF",sheet:[41,1]}],shortName:"palms_up_together"},{name:"Handshake",unified:"1F91D",keywords:["handshake","agreement","shake"],sheet:[39,35],skinVariations:[{unified:"1F91D-1F3FB",sheet:[39,36]},{unified:"1F91D-1F3FC",sheet:[39,37]},{unified:"1F91D-1F3FD",sheet:[39,38]},{unified:"1F91D-1F3FE",sheet:[39,39]},{unified:"1F91D-1F3FF",sheet:[39,40]},{unified:"1FAF1-1F3FB-200D-1FAF2-1F3FC",sheet:[39,41],hidden:["facebook"]},{unified:"1FAF1-1F3FB-200D-1FAF2-1F3FD",sheet:[39,42],hidden:["facebook"]},{unified:"1FAF1-1F3FB-200D-1FAF2-1F3FE",sheet:[39,43],hidden:["facebook"]},{unified:"1FAF1-1F3FB-200D-1FAF2-1F3FF",sheet:[39,44],hidden:["facebook"]},{unified:"1FAF1-1F3FC-200D-1FAF2-1F3FB",sheet:[39,45],hidden:["facebook"]},{unified:"1FAF1-1F3FC-200D-1FAF2-1F3FD",sheet:[39,46],hidden:["facebook"]},{unified:"1FAF1-1F3FC-200D-1FAF2-1F3FE",sheet:[39,47],hidden:["facebook"]},{unified:"1FAF1-1F3FC-200D-1FAF2-1F3FF",sheet:[39,48],hidden:["facebook"]},{unified:"1FAF1-1F3FD-200D-1FAF2-1F3FB",sheet:[39,49],hidden:["facebook"]},{unified:"1FAF1-1F3FD-200D-1FAF2-1F3FC",sheet:[39,50],hidden:["facebook"]},{unified:"1FAF1-1F3FD-200D-1FAF2-1F3FE",sheet:[39,51],hidden:["facebook"]},{unified:"1FAF1-1F3FD-200D-1FAF2-1F3FF",sheet:[39,52],hidden:["facebook"]},{unified:"1FAF1-1F3FE-200D-1FAF2-1F3FB",sheet:[39,53],hidden:["facebook"]},{unified:"1FAF1-1F3FE-200D-1FAF2-1F3FC",sheet:[39,54],hidden:["facebook"]},{unified:"1FAF1-1F3FE-200D-1FAF2-1F3FD",sheet:[39,55],hidden:["facebook"]},{unified:"1FAF1-1F3FE-200D-1FAF2-1F3FF",sheet:[39,56],hidden:["facebook"]},{unified:"1FAF1-1F3FF-200D-1FAF2-1F3FB",sheet:[39,57],hidden:["facebook"]},{unified:"1FAF1-1F3FF-200D-1FAF2-1F3FC",sheet:[39,58],hidden:["facebook"]},{unified:"1FAF1-1F3FF-200D-1FAF2-1F3FD",sheet:[39,59],hidden:["facebook"]},{unified:"1FAF1-1F3FF-200D-1FAF2-1F3FE",sheet:[39,60],hidden:["facebook"]}],shortName:"handshake"},{name:"Person with Folded Hands",unified:"1F64F",keywords:["folded_hands","please","hope","wish","namaste","highfive","pray","thank you","thanks","appreciate"],sheet:[35,26],skinVariations:[{unified:"1F64F-1F3FB",sheet:[35,27]},{unified:"1F64F-1F3FC",sheet:[35,28]},{unified:"1F64F-1F3FD",sheet:[35,29]},{unified:"1F64F-1F3FE",sheet:[35,30]},{unified:"1F64F-1F3FF",sheet:[35,31]}],shortName:"pray"},{name:"Writing Hand",unified:"270D-FE0F",keywords:["writing_hand","lower_left_ballpoint_pen","stationery","write","compose"],sheet:[58,45],skinVariations:[{unified:"270D-1F3FB",sheet:[58,46]},{unified:"270D-1F3FC",sheet:[58,47]},{unified:"270D-1F3FD",sheet:[58,48]},{unified:"270D-1F3FE",sheet:[58,49]},{unified:"270D-1F3FF",sheet:[58,50]}],shortName:"writing_hand"},{name:"Nail Polish",unified:"1F485",keywords:["nail_polish","beauty","manicure","finger","fashion","nail"],sheet:[25,53],skinVariations:[{unified:"1F485-1F3FB",sheet:[25,54]},{unified:"1F485-1F3FC",sheet:[25,55]},{unified:"1F485-1F3FD",sheet:[25,56]},{unified:"1F485-1F3FE",sheet:[25,57]},{unified:"1F485-1F3FF",sheet:[25,58]}],shortName:"nail_care"},{name:"Selfie",unified:"1F933",keywords:["selfie","camera","phone"],sheet:[41,2],skinVariations:[{unified:"1F933-1F3FB",sheet:[41,3]},{unified:"1F933-1F3FC",sheet:[41,4]},{unified:"1F933-1F3FD",sheet:[41,5]},{unified:"1F933-1F3FE",sheet:[41,6]},{unified:"1F933-1F3FF",sheet:[41,7]}],shortName:"selfie"},{name:"Flexed Biceps",unified:"1F4AA",keywords:["flexed_biceps","arm","flex","hand","summer","strong","biceps"],sheet:[27,57],skinVariations:[{unified:"1F4AA-1F3FB",sheet:[27,58]},{unified:"1F4AA-1F3FC",sheet:[27,59]},{unified:"1F4AA-1F3FD",sheet:[27,60]},{unified:"1F4AA-1F3FE",sheet:[28,0]},{unified:"1F4AA-1F3FF",sheet:[28,1]}],shortName:"muscle"},{name:"Mechanical Arm",unified:"1F9BE",keywords:["mechanical_arm","accessibility"],sheet:[46,3],short
3Name:"mechanical_arm"},{name:"Mechanical Leg",unified:"1F9BF",keywords:["mechanical_leg","accessibility"],sheet:[46,4],shortName:"mechanical_leg"},{name:"Leg",unified:"1F9B5",keywords:["leg","kick","limb"],sheet:[45,6],skinVariations:[{unified:"1F9B5-1F3FB",sheet:[45,7]},{unified:"1F9B5-1F3FC",sheet:[45,8]},{unified:"1F9B5-1F3FD",sheet:[45,9]},{unified:"1F9B5-1F3FE",sheet:[45,10]},{unified:"1F9B5-1F3FF",sheet:[45,11]}],shortName:"leg"},{name:"Foot",unified:"1F9B6",keywords:["foot","kick","stomp"],sheet:[45,12],skinVariations:[{unified:"1F9B6-1F3FB",sheet:[45,13]},{unified:"1F9B6-1F3FC",sheet:[45,14]},{unified:"1F9B6-1F3FD",sheet:[45,15]},{unified:"1F9B6-1F3FE",sheet:[45,16]},{unified:"1F9B6-1F3FF",sheet:[45,17]}],shortName:"foot"},{name:"Ear",unified:"1F442",keywords:["ear","face","hear","sound","listen"],sheet:[11,55],skinVariations:[{unified:"1F442-1F3FB",sheet:[11,56]},{unified:"1F442-1F3FC",sheet:[11,57]},{unified:"1F442-1F3FD",sheet:[11,58]},{unified:"1F442-1F3FE",sheet:[11,59]},{unified:"1F442-1F3FF",sheet:[11,60]}],shortName:"ear"},{name:"Ear with Hearing Aid",unified:"1F9BB",keywords:["ear_with_hearing_aid","accessibility"],sheet:[45,56],skinVariations:[{unified:"1F9BB-1F3FB",sheet:[45,57]},{unified:"1F9BB-1F3FC",sheet:[45,58]},{unified:"1F9BB-1F3FD",sheet:[45,59]},{unified:"1F9BB-1F3FE",sheet:[45,60]},{unified:"1F9BB-1F3FF",sheet:[46,0]}],shortName:"ear_with_hearing_aid"},{name:"Nose",unified:"1F443",keywords:["nose","smell","sniff"],sheet:[12,0],skinVariations:[{unified:"1F443-1F3FB",sheet:[12,1]},{unified:"1F443-1F3FC",sheet:[12,2]},{unified:"1F443-1F3FD",sheet:[12,3]},{unified:"1F443-1F3FE",sheet:[12,4]},{unified:"1F443-1F3FF",sheet:[12,5]}],shortName:"nose"},{name:"Brain",unified:"1F9E0",keywords:["brain","smart","intelligent"],sheet:[53,14],shortName:"brain"},{name:"Anatomical Heart",unified:"1FAC0",keywords:["anatomical heart","health","heartbeat"],sheet:[54,42],shortName:"anatomical_heart"},{name:"Lungs",unified:"1FAC1",keywords:["lungs","breathe"],sheet:[54,43],shortName:"lungs"},{name:"Tooth",unified:"1F9B7",keywords:["tooth","teeth","dentist"],sheet:[45,18],shortName:"tooth"},{name:"Bone",unified:"1F9B4",keywords:["bone","skeleton"],sheet:[45,5],shortName:"bone"},{name:"Eyes",unified:"1F440",keywords:["eyes","look","watch","stalk","peek","see"],sheet:[11,52],shortName:"eyes"},{name:"Eye",unified:"1F441-FE0F",keywords:["eye","face","look","see","watch","stare"],sheet:[11,54],shortName:"eye"},{name:"Tongue",unified:"1F445",keywords:["tongue","mouth","playful"],sheet:[12,7],shortName:"tongue"},{name:"Mouth",unified:"1F444",keywords:["mouth","mouth","kiss"],sheet:[12,6],shortName:"lips"},{name:"Biting Lip",unified:"1FAE6",keywords:["biting lip","flirt","sexy","pain","worry"],sheet:[55,18],hidden:["facebook"],shortName:"biting_lip"},{name:"Baby",unified:"1F476",keywords:["baby","child","boy","girl","toddler"],sheet:[24,28],skinVariations:[{unified:"1F476-1F3FB",sheet:[24,29]},{unified:"1F476-1F3FC",sheet:[24,30]},{unified:"1F476-1F3FD",sheet:[24,31]},{unified:"1F476-1F3FE",sheet:[24,32]},{unified:"1F476-1F3FF",sheet:[24,33]}],shortName:"baby"},{name:"Child",unified:"1F9D2",keywords:["child","gender-neutral","young"],sheet:[50,11],skinVariations:[{unified:"1F9D2-1F3FB",sheet:[50,12]},{unified:"1F9D2-1F3FC",sheet:[50,13]},{unified:"1F9D2-1F3FD",sheet:[50,14]},{unified:"1F9D2-1F3FE",sheet:[50,15]},{unified:"1F9D2-1F3FF",sheet:[50,16]}],shortName:"child"},{name:"Boy",unified:"1F466",keywords:["boy","man","male","guy","teenager"],sheet:[13,34],skinVariations:[{unified:"1F466-1F3FB",sheet:[13,35]},{unified:"1F466-1F3FC",sheet:[13,36]},{unified:"1F466-1F3FD",sheet:[13,37]},{unified:"1F466-1F3FE",sheet:[13,38]},{unified:"1F466-1F3FF",sheet:[13,39]}],shortName:"boy"},{name:"Girl",unified:"1F467",keywords:["girl","female","woman","teenager"],sheet:[13,40],skinVariations:[{unified:"1F467-1F3FB",sheet:[13,41]},{unified:"1F467-1F3FC",sheet:[13,42]},{unified:"1F467-1F3FD",sheet:[13,43]},{unified:"1F467-1F3FE",sheet:[13,44]},{unified:"1F467-1F3FF",sheet:[13,45]}],shortName:"girl"},{name:"Adult",unified:"1F9D1",keywords:["person","gender-neutral","person"],sheet:[50,5],skinVariations:[{unified:"1F9D1-1F3FB",sheet:[50,6]},{unified:"1F9D1-1F3FC",sheet:[50,7]},{unified:"1F9D1-1F3FD",sheet:[50,8]},{unified:"1F9D1-1F3FE",sheet:[50,9]}
3,{unified:"1F9D1-1F3FF",sheet:[50,10]}],shortName:"adult"},{name:"Person with Blond Hair",unified:"1F471",keywords:["person_blond_hair","hairstyle"],sheet:[23,47],skinVariations:[{unified:"1F471-1F3FB",sheet:[23,48]},{unified:"1F471-1F3FC",sheet:[23,49]},{unified:"1F471-1F3FD",sheet:[23,50]},{unified:"1F471-1F3FE",sheet:[23,51]},{unified:"1F471-1F3FF",sheet:[23,52]}],shortName:"person_with_blond_hair",obsoletedBy:"1F471-200D-2642-FE0F"},{name:"Man",unified:"1F468",keywords:["man","mustache","father","dad","guy","classy","sir","moustache"],sheet:[17,13],skinVariations:[{unified:"1F468-1F3FB",sheet:[17,14]},{unified:"1F468-1F3FC",sheet:[17,15]},{unified:"1F468-1F3FD",sheet:[17,16]},{unified:"1F468-1F3FE",sheet:[17,17]},{unified:"1F468-1F3FF",sheet:[17,18]}],shortName:"man"},{name:"Bearded Person",unified:"1F9D4",keywords:["man_beard","person","bewhiskered"],sheet:[50,35],skinVariations:[{unified:"1F9D4-1F3FB",sheet:[50,36]},{unified:"1F9D4-1F3FC",sheet:[50,37]},{unified:"1F9D4-1F3FD",sheet:[50,38]},{unified:"1F9D4-1F3FE",sheet:[50,39]},{unified:"1F9D4-1F3FF",sheet:[50,40]}],shortName:"bearded_person"},{name:"Man: Beard",unified:"1F9D4-200D-2642-FE0F",keywords:["man beard","facial hair"],sheet:[50,29],hidden:["facebook"],skinVariations:[{unified:"1F9D4-1F3FB-200D-2642-FE0F",sheet:[50,30],hidden:["facebook"]},{unified:"1F9D4-1F3FC-200D-2642-FE0F",sheet:[50,31],hidden:["facebook"]},{unified:"1F9D4-1F3FD-200D-2642-FE0F",sheet:[50,32],hidden:["facebook"]},{unified:"1F9D4-1F3FE-200D-2642-FE0F",sheet:[50,33],hidden:["facebook"]},{unified:"1F9D4-1F3FF-200D-2642-FE0F",sheet:[50,34],hidden:["facebook"]}],shortName:"man_with_beard"},{name:"Woman: Beard",unified:"1F9D4-200D-2640-FE0F",keywords:["woman beard","facial hair"],sheet:[50,23],hidden:["facebook"],skinVariations:[{unified:"1F9D4-1F3FB-200D-2640-FE0F",sheet:[50,24],hidden:["facebook"]},{unified:"1F9D4-1F3FC-200D-2640-FE0F",sheet:[50,25],hidden:["facebook"]},{unified:"1F9D4-1F3FD-200D-2640-FE0F",sheet:[50,26],hidden:["facebook"]},{unified:"1F9D4-1F3FE-200D-2640-FE0F",sheet:[50,27],hidden:["facebook"]},{unified:"1F9D4-1F3FF-200D-2640-FE0F",sheet:[50,28],hidden:["facebook"]}],shortName:"woman_with_beard"},{name:"Man: Red Hair",unified:"1F468-200D-1F9B0",keywords:["man_red_hair","hairstyle"],sheet:[15,29],skinVariations:[{unified:"1F468-1F3FB-200D-1F9B0",sheet:[15,30]},{unified:"1F468-1F3FC-200D-1F9B0",sheet:[15,31]},{unified:"1F468-1F3FD-200D-1F9B0",sheet:[15,32]},{unified:"1F468-1F3FE-200D-1F9B0",sheet:[15,33]},{unified:"1F468-1F3FF-200D-1F9B0",sheet:[15,34]}],shortName:"red_haired_man"},{name:"Man: Curly Hair",unified:"1F468-200D-1F9B1",keywords:["man_curly_hair","hairstyle"],sheet:[15,35],skinVariations:[{unified:"1F468-1F3FB-200D-1F9B1",sheet:[15,36]},{unified:"1F468-1F3FC-200D-1F9B1",sheet:[15,37]},{unified:"1F468-1F3FD-200D-1F9B1",sheet:[15,38]},{unified:"1F468-1F3FE-200D-1F9B1",sheet:[15,39]},{unified:"1F468-1F3FF-200D-1F9B1",sheet:[15,40]}],shortName:"curly_haired_man"},{name:"Man: White Hair",unified:"1F468-200D-1F9B3",keywords:["man_white_hair","old","elder"],sheet:[15,47],skinVariations:[{unified:"1F468-1F3FB-200D-1F9B3",sheet:[15,48]},{unified:"1F468-1F3FC-200D-1F9B3",sheet:[15,49]},{unified:"1F468-1F3FD-200D-1F9B3",sheet:[15,50]},{unified:"1F468-1F3FE-200D-1F9B3",sheet:[15,51]},{unified:"1F468-1F3FF-200D-1F9B3",sheet:[15,52]}],shortName:"white_haired_man"},{name:"Man: Bald",unified:"1F468-200D-1F9B2",keywords:["man_bald","hairless"],sheet:[15,41],skinVariations:[{unified:"1F468-1F3FB-200D-1F9B2",sheet:[15,42]},{unified:"1F468-1F3FC-200D-1F9B2",sheet:[15,43]},{unified:"1F468-1F3FD-200D-1F9B2",sheet:[15,44]},{unified:"1F468-1F3FE-200D-1F9B2",sheet:[15,45]},{unified:"1F468-1F3FF-200D-1F9B2",sheet:[15,46]}],shortName:"bald_man"},{name:"Woman",unified:"1F469",keywords:["woman","female","girls","lady"],sheet:[21,33],skinVariations:[{unified:"1F469-1F3FB",sheet:[21,34]},{unified:"1F469-1F3FC",sheet:[21,35]},{unified:"1F469-1F3FD",sheet:[21,36]},{unified:"1F469-1F3FE",sheet:[21,37]},{unified:"1F469-1F3FF",sheet:[21,38]}],shortName:"woman"},{name:"Woman: Red Hair",unified:"1F469-200D-1F9B0",keywords:["woman_red_hair","hairstyle"],sheet:[18,58],skinVariations:[{unified:"1F469-1F3FB-200D-1F9B0",sheet:[18,59]},{unified:"1F469-1F3FC-200D-1F9B0",sheet:[18,60]},{unified:"1F469-1F3FD-200D-1F9B0",sheet:[19,0]},{unified:"1F469-1F3FE-200D-1F9B0",sheet:[19,1]},{unified:"1F469-1F3FF-200D-1F9B0",sheet:[19,2]}],shortName:"red_haired_woman"},{name:"Person: Red Hair",unified:"1F9D1-200D-1F9B0",keywords:["person_red_hair","hairstyle"],sheet:[49,12],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F9B0",sheet:[49,13]},{unified:"1F9D1-1F3FC-200D-1F9B0",sheet:[49,14]},{unified:"1F9D1-1F3FD-200D-1F9B0",sheet:[49,15]},{unified:"1F9D1-1F3FE-200D-1F9B0",sheet:[49,16]},{unified:"1F9D1-1F3FF-200D-1F9B0",sheet:[49,17]}],shortName:"red_haired_person"},{name:"Woman: Curly Hair",unified:"1F469-200D-1F9B1",keywords:["woman_curly_hair","hairstyle"],sheet:[19,3],skinVariations:[{unified:"1F469-1F3FB-200D-1F9B1",sheet:[19,4]},{unified:"1F469-1F3FC-200D-1F9B1",sheet:[19,5]},{unified:"1F469-1F3FD-200D-1F9B1",sheet:[19,6]},{unified:"1F469-1F3FE-200D-1F9B1",sheet:[19,7]},{unified:"1F469-1F3FF-200D-1F9B1",sheet:[19,8]}],shortName:"curly_haired_woman"},{name:"Person: Curly Hair",unified:"1F9D1-200D-1F9B1",keywords:["person_curly_hair","hairstyle"],sheet:[49,18],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F9B1",sheet:[49,19]},{unified:"1F9D1-1F3FC-200D-1F9B1",sheet:[49,20]},{unified:"1F9D1-1F3FD-200D-1F9B1",sheet:[49,21]},{unified:"1F9D1-1F3FE-200D-1F9B1",sheet:[49,22]},{unified:"1F9D1-1F3FF-200D-1F9B1",sheet:[49,23]}],shortName:"curly_haired_person"},{name:"Woman: White Hair",unified:"1F469-200D-1F9B3",keywords:["woman_white_hair","old","elder"],sheet:[19,15],skinVariations:[{unified:"1F469-1F3FB-200D-1F9B3",sheet:[19,16]},{unified:"1F469-1F3FC-200D-1F9B3",sheet:[19,17]},{unified:"1F469-1F3FD-200D-1F9B3",sheet:[19,18]},{unified:"1F469-1F3FE-200D-1F9B3",sheet:[19,19]},{unified:"1F469-1F3FF-200D-1F9B3",sheet:[19,20]}],shortName:"white_haired_woman"},{name:"Person: White Hair",unified:"1F9D1-200D-1F9B3",keywords:["person_white_hair","elder","old"],sheet:[49,30],hidden:["facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F9B3",sheet:[49,31],hidden:["facebook"]},{unified:"1F9D1-1F3FC-200D-1F9B3",sheet:[49,32],hidden:["facebook"]},{unified:"1F9D1-1F3FD-200D-1F9B3",sheet:[49,33],hidden:["facebook"]},{unified:"1F9D1-1F3FE-200D-1F9B3",sheet:[49,34],hidden:["facebook"]},{unified:"1F9D1-1F3FF-200D-1F9B3",sheet:[49,35],hidden:["facebook"]}],shortName:"white_haired_person"},{name:"Woman: Bald",unified:"1F469-200D-1F9B2",keywords:["woman_bald","hairless"],sheet:[19,9],skinVariations:[{unified:"1F469-1F3FB-200D-1F9B2",sheet:[19,10]},{unified:"1F469-1F3FC-200D-1F9B2",sheet:[19,11]},{unified:"1F469-1F3FD-200D-1F9B2",sheet:[19,12]},{unified:"1F469-1F3FE-200D-1F9B2",sheet:[19,13]},{unified:"1F469-1F3FF-200D-1F9B2",sheet:[19,14]}],shortName:"bald_woman"},{name:"Person: Bald",unified:"1F9D1-200D-1F9B2",keywords:["person_bald","hairless"],sheet:[49,24],hidden:["facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F9B2",sheet:[49,25],hidden:["facebook"]},{unified:"1F9D1-1F3FC-200D-1F9B2",sheet:[49,26],hidden:["facebook"]},{unified:"1F9D1-1F3FD-200D-1F9B2",sheet:[49,27],hidden:["facebook"]},{unified:"1F9D1-1F3FE-200D-1F9B2",sheet:[49,28],hidden:["facebook"]},{unified:"1F9D1-1F3FF-200D-1F9B2",sheet:[49,29],hidden:["facebook"]}],shortName:"bald_person"},{name:"Woman: Blond Hair",unified:"1F471-200D-2640-FE0F",keywords:["woman_blond_hair","woman","female","girl","blonde","person"],sheet:[23,35],skinVariations:[{unified:"1F471-1F3FB-200D-2640-FE0F",sheet:[23,36]},{unified:"1F471-1F3FC-200D-2640-FE0F",sheet:[23,37]},{unified:"1F471-1F3FD-200D-2640-FE0F",sheet:[23,38]},{unified:"1F471-1F3FE-200D-2640-FE0F",sheet:[23,39]},{unified:"1F471-1F3FF-200D-2640-FE0F",sheet:[23,40]}],shortName:"blond-haired-woman"},{name:"Man: Blond Hair",unified:"1F471-200D-2642-FE0F",obsoletes:"1F471",keywords:["man_blond_hair","man","male","boy","blonde","guy","person"],sheet:[23,41],skinVariations:[{unified:"1F471-1F3FB-200D-2642-FE0F",sheet:[23,42]},{unified:"1F471-1F3FC-200D-2642-FE0F",sheet:[23,43]},{unified:"1F471-1F3FD-200D-2642-FE0F",sheet:[23,44]},{unified:"1F471-1F3FE-200D-2642-FE0F",sheet:[23,45]},{unified:"1F471-1F3FF-200D-2642-FE0F",sheet:[23,46]}],shortName:"blond-haired-man"},{name:"Older Adult",unified:"1F9D3",keywords:["older_person","human","elder","senior","gender-neutral"],sheet:[50,
317],skinVariations:[{unified:"1F9D3-1F3FB",sheet:[50,18]},{unified:"1F9D3-1F3FC",sheet:[50,19]},{unified:"1F9D3-1F3FD",sheet:[50,20]},{unified:"1F9D3-1F3FE",sheet:[50,21]},{unified:"1F9D3-1F3FF",sheet:[50,22]}],shortName:"older_adult"},{name:"Older Man",unified:"1F474",keywords:["old_man","human","male","men","old","elder","senior"],sheet:[24,16],skinVariations:[{unified:"1F474-1F3FB",sheet:[24,17]},{unified:"1F474-1F3FC",sheet:[24,18]},{unified:"1F474-1F3FD",sheet:[24,19]},{unified:"1F474-1F3FE",sheet:[24,20]},{unified:"1F474-1F3FF",sheet:[24,21]}],shortName:"older_man"},{name:"Older Woman",unified:"1F475",keywords:["old_woman","human","female","women","lady","old","elder","senior"],sheet:[24,22],skinVariations:[{unified:"1F475-1F3FB",sheet:[24,23]},{unified:"1F475-1F3FC",sheet:[24,24]},{unified:"1F475-1F3FD",sheet:[24,25]},{unified:"1F475-1F3FE",sheet:[24,26]},{unified:"1F475-1F3FF",sheet:[24,27]}],shortName:"older_woman"},{name:"Person Frowning",unified:"1F64D",keywords:["person_frowning","worried"],sheet:[35,2],skinVariations:[{unified:"1F64D-1F3FB",sheet:[35,3]},{unified:"1F64D-1F3FC",sheet:[35,4]},{unified:"1F64D-1F3FD",sheet:[35,5]},{unified:"1F64D-1F3FE",sheet:[35,6]},{unified:"1F64D-1F3FF",sheet:[35,7]}],shortName:"person_frowning",obsoletedBy:"1F64D-200D-2640-FE0F"},{name:"Man Frowning",unified:"1F64D-200D-2642-FE0F",keywords:["man_frowning","male","boy","man","sad","depressed","discouraged","unhappy"],sheet:[34,57],skinVariations:[{unified:"1F64D-1F3FB-200D-2642-FE0F",sheet:[34,58]},{unified:"1F64D-1F3FC-200D-2642-FE0F",sheet:[34,59]},{unified:"1F64D-1F3FD-200D-2642-FE0F",sheet:[34,60]},{unified:"1F64D-1F3FE-200D-2642-FE0F",sheet:[35,0]},{unified:"1F64D-1F3FF-200D-2642-FE0F",sheet:[35,1]}],shortName:"man-frowning"},{name:"Woman Frowning",unified:"1F64D-200D-2640-FE0F",obsoletes:"1F64D",keywords:["woman_frowning","female","girl","woman","sad","depressed","discouraged","unhappy"],sheet:[34,51],skinVariations:[{unified:"1F64D-1F3FB-200D-2640-FE0F",sheet:[34,52]},{unified:"1F64D-1F3FC-200D-2640-FE0F",sheet:[34,53]},{unified:"1F64D-1F3FD-200D-2640-FE0F",sheet:[34,54]},{unified:"1F64D-1F3FE-200D-2640-FE0F",sheet:[34,55]},{unified:"1F64D-1F3FF-200D-2640-FE0F",sheet:[34,56]}],shortName:"woman-frowning"},{name:"Person with Pouting Face",unified:"1F64E",keywords:["person_pouting","upset"],sheet:[35,20],skinVariations:[{unified:"1F64E-1F3FB",sheet:[35,21]},{unified:"1F64E-1F3FC",sheet:[35,22]},{unified:"1F64E-1F3FD",sheet:[35,23]},{unified:"1F64E-1F3FE",sheet:[35,24]},{unified:"1F64E-1F3FF",sheet:[35,25]}],shortName:"person_with_pouting_face",obsoletedBy:"1F64E-200D-2640-FE0F"},{name:"Man Pouting",unified:"1F64E-200D-2642-FE0F",keywords:["man_pouting","male","boy","man"],sheet:[35,14],skinVariations:[{unified:"1F64E-1F3FB-200D-2642-FE0F",sheet:[35,15]},{unified:"1F64E-1F3FC-200D-2642-FE0F",sheet:[35,16]},{unified:"1F64E-1F3FD-200D-2642-FE0F",sheet:[35,17]},{unified:"1F64E-1F3FE-200D-2642-FE0F",sheet:[35,18]},{unified:"1F64E-1F3FF-200D-2642-FE0F",sheet:[35,19]}],shortName:"man-pouting"},{name:"Woman Pouting",unified:"1F64E-200D-2640-FE0F",obsoletes:"1F64E",keywords:["woman_pouting","female","girl","woman"],sheet:[35,8],skinVariations:[{unified:"1F64E-1F3FB-200D-2640-FE0F",sheet:[35,9]},{unified:"1F64E-1F3FC-200D-2640-FE0F",sheet:[35,10]},{unified:"1F64E-1F3FD-200D-2640-FE0F",sheet:[35,11]},{unified:"1F64E-1F3FE-200D-2640-FE0F",sheet:[35,12]},{unified:"1F64E-1F3FF-200D-2640-FE0F",sheet:[35,13]}],shortName:"woman-pouting"},{name:"Face with No Good Gesture",unified:"1F645",keywords:["person_gesturing_no","decline"],sheet:[33,43],skinVariations:[{unified:"1F645-1F3FB",sheet:[33,44]},{unified:"1F645-1F3FC",sheet:[33,45]},{unified:"1F645-1F3FD",sheet:[33,46]},{unified:"1F645-1F3FE",sheet:[33,47]},{unified:"1F645-1F3FF",sheet:[33,48]}],shortName:"no_good",obsoletedBy:"1F645-200D-2640-FE0F"},{name:"Man Gesturing No",unified:"1F645-200D-2642-FE0F",keywords:["man_gesturing_no","male","boy","man","nope"],sheet:[33,37],skinVariations:[{unified:"1F645-1F3FB-200D-2642-FE0F",sheet:[33,38]},{unified:"1F645-1F3FC-200D-2642-FE0F",sheet:[33,39]},{unified:"1F645-1F3FD-200D-2642-FE0F",sheet:[33,40]},{unified:"1F645-1F3FE-200D-2642-FE0F",sheet:[33,41]},{unified:"1F645-1F3FF-200D-2642-FE0F",sheet:[33,42]}],shortName:"man-gesturing-no"},{name:"Woman Gesturing No",unified:"1F645-200D-2640-FE0F",obsoletes:"1F645",keywords:["woman_gesturing_no","female","girl","woman","nope"],sheet:[33,31],skinVariations:[{unified:"1F645-1F3FB-200D-2640-FE0F",sheet:[33,32]},{unified:"1F645-1F3FC-200D-2640-FE0F",sheet:[33,33]},{unified:"1F645-1F3FD-200D-2640-FE0F",sheet:[33,34]},{unified:"1F645-1F3FE-200D-2640-FE0F",sheet:[33,35]},{unified:"1F645-1F3FF-200D-2640-FE0F",sheet:[33,36]}],shortName:"woman-gesturing-no"},{name:"Face with Ok Gesture",unified:"1F646",keywords:["person_gesturing_ok","agree"],sheet:[34,0],skinVariations:[{unified:"1F646-1F3FB",sheet:[34,1]},{unified:"1F646-1F3FC",sheet:[34,2]},{unified:"1F646-1F3FD",sheet:[34,3]},{unified:"1F646-1F3FE",sheet:[34,4]},{unified:"1F646-1F3FF",sheet:[34,5]}],shortName:"ok_woman",obsoletedBy:"1F646-200D-2640-FE0F"},{name:"Man Gesturing Ok",unified:"1F646-200D-2642-FE0F",keywords:["man_gesturing_ok","men","boy","male","blue","human","man"],sheet:[33,55],skinVariations:[{unified:"1F646-1F3FB-200D-2642-FE0F",sheet:[33,56]},{unified:"1F646-1F3FC-200D-2642-FE0F",sheet:[33,57]},{unified:"1F646-1F3FD-200D-2642-FE0F",sheet:[33,58]},{unified:"1F646-1F3FE-200D-2642-FE0F",sheet:[33,59]},{unified:"1F646-1F3FF-200D-2642-FE0F",sheet:[33,60]}],shortName:"man-gesturing-ok"},{name:"Woman Gesturing Ok",unified:"1F646-200D-2640-FE0F",obsoletes:"1F646",keywords:["woman_gesturing_ok","women","girl","female","pink","human","woman"],sheet:[33,49],skinVariations:[{unified:"1F646-1F3FB-200D-2640-FE0F",sheet:[33,50]},{unified:"1F646-1F3FC-200D-2640-FE0F",sheet:[33,51]},{unified:"1F646-1F3FD-200D-2640-FE0F",sheet:[33,52]},{unified:"1F646-1F3FE-200D-2640-FE0F",sheet:[33,53]},{unified:"1F646-1F3FF-200D-2640-FE0F",sheet:[33,54]}],shortName:"woman-gesturing-ok"},{name:"Information Desk Person",unified:"1F481",keywords:["person_tipping_hand","information"],sheet:[25,22],skinVariations:[{unified:"1F481-1F3FB",sheet:[25,23]},{unified:"1F481-1F3FC",sheet:[25,24]},{unified:"1F481-1F3FD",sheet:[25,25]},{unified:"1F481-1F3FE",sheet:[25,26]},{unified:"1F481-1F3FF",sheet:[25,27]}],shortName:"information_desk_person",obsoletedBy:"1F481-200D-2640-FE0F"},{name:"Man Tipping Hand",unified:"1F481-200D-2642-FE0F",keywords:["man_tipping_hand","male","boy","man","human","information"],sheet:[25,16],skinVariations:[{unified:"1F481-1F3FB-200D-2642-FE0F",sheet:[25,17]},{unified:"1F481-1F3FC-200D-2642-FE0F",sheet:[25,18]},{unified:"1F481-1F3FD-200D-2642-FE0F",sheet:[25,19]}
3,{unified:"1F481-1F3FE-200D-2642-FE0F",sheet:[25,20]},{unified:"1F481-1F3FF-200D-2642-FE0F",sheet:[25,21]}],shortName:"man-tipping-hand"},{name:"Woman Tipping Hand",unified:"1F481-200D-2640-FE0F",obsoletes:"1F481",keywords:["woman_tipping_hand","female","girl","woman","human","information"],sheet:[25,10],skinVariations:[{unified:"1F481-1F3FB-200D-2640-FE0F",sheet:[25,11]},{unified:"1F481-1F3FC-200D-2640-FE0F",sheet:[25,12]},{unified:"1F481-1F3FD-200D-2640-FE0F",sheet:[25,13]},{unified:"1F481-1F3FE-200D-2640-FE0F",sheet:[25,14]},{unified:"1F481-1F3FF-200D-2640-FE0F",sheet:[25,15]}],shortName:"woman-tipping-hand"},{name:"Happy Person Raising One Hand",unified:"1F64B",keywords:["person_raising_hand","question"],sheet:[34,39],skinVariations:[{unified:"1F64B-1F3FB",sheet:[34,40]},{unified:"1F64B-1F3FC",sheet:[34,41]},{unified:"1F64B-1F3FD",sheet:[34,42]},{unified:"1F64B-1F3FE",sheet:[34,43]},{unified:"1F64B-1F3FF",sheet:[34,44]}],shortName:"raising_hand",obsoletedBy:"1F64B-200D-2640-FE0F"},{name:"Man Raising Hand",unified:"1F64B-200D-2642-FE0F",keywords:["man_raising_hand","male","boy","man"],sheet:[34,33],skinVariations:[{unified:"1F64B-1F3FB-200D-2642-FE0F",sheet:[34,34]},{unified:"1F64B-1F3FC-200D-2642-FE0F",sheet:[34,35]},{unified:"1F64B-1F3FD-200D-2642-FE0F",sheet:[34,36]},{unified:"1F64B-1F3FE-200D-2642-FE0F",sheet:[34,37]},{unified:"1F64B-1F3FF-200D-2642-FE0F",sheet:[34,38]}],shortName:"man-raising-hand"},{name:"Woman Raising Hand",unified:"1F64B-200D-2640-FE0F",obsoletes:"1F64B",keywords:["woman_raising_hand","female","girl","woman"],sheet:[34,27],skinVariations:[{unified:"1F64B-1F3FB-200D-2640-FE0F",sheet:[34,28]},{unified:"1F64B-1F3FC-200D-2640-FE0F",sheet:[34,29]},{unified:"1F64B-1F3FD-200D-2640-FE0F",sheet:[34,30]},{unified:"1F64B-1F3FE-200D-2640-FE0F",sheet:[34,31]},{unified:"1F64B-1F3FF-200D-2640-FE0F",sheet:[34,32]}],shortName:"woman-raising-hand"},{name:"Deaf Person",unified:"1F9CF",keywords:["deaf_person","accessibility"],sheet:[47,5],skinVariations:[{unified:"1F9CF-1F3FB",sheet:[47,6]},{unified:"1F9CF-1F3FC",sheet:[47,7]},{unified:"1F9CF-1F3FD",sheet:[47,8]},{unified:"1F9CF-1F3FE",sheet:[47,9]},{unified:"1F9CF-1F3FF",sheet:[47,10]}],shortName:"deaf_person"},{name:"Deaf Man",unified:"1F9CF-200D-2642-FE0F",keywords:["deaf_man","accessibility"],sheet:[46,60],skinVariations:[{unified:"1F9CF-1F3FB-200D-2642-FE0F",sheet:[47,0]},{unified:"1F9CF-1F3FC-200D-2642-FE0F",sheet:[47,1]},{unified:"1F9CF-1F3FD-200D-2642-FE0F",sheet:[47,2]},{unified:"1F9CF-1F3FE-200D-2642-FE0F",sheet:[47,3]},{unified:"1F9CF-1F3FF-200D-2642-FE0F",sheet:[47,4]}],shortName:"deaf_man"},{name:"Deaf Woman",unified:"1F9CF-200D-2640-FE0F",keywords:["deaf_woman","accessibility"],sheet:[46,54],skinVariations:[{unified:"1F9CF-1F3FB-200D-2640-FE0F",sheet:[46,55]},{unified:"1F9CF-1F3FC-200D-2640-FE0F",sheet:[46,56]},{unified:"1F9CF-1F3FD-200D-2640-FE0F",sheet:[46,57]},{unified:"1F9CF-1F3FE-200D-2640-FE0F",sheet:[46,58]},{unified:"1F9CF-1F3FF-200D-2640-FE0F",sheet:[46,59]}],shortName:"deaf_woman"},{name:"Person Bowing Deeply",unified:"1F647",keywords:["person_bowing","respectiful"],sheet:[34,18],skinVariations:[{unified:"1F647-1F3FB",sheet:[34,19]},{unified:"1F647-1F3FC",sheet:[34,20]},{unified:"1F647-1F3FD",sheet:[34,21]},{unified:"1F647-1F3FE",sheet:[34,22]},{unified:"1F647-1F3FF",sheet:[34,23]}],shortName:"bow",obsoletedBy:"1F647-200D-2642-FE0F"},{name:"Man Bowing",unified:"1F647-200D-2642-FE0F",obsoletes:"1F647",keywords:["man_bowing","man","male","boy"],sheet:[34,12],skinVariations:[{unified:"1F647-1F3FB-200D-2642-FE0F",sheet:[34,13]},{unified:"1F647-1F3FC-200D-2642-FE0F",sheet:[34,14]},{unified:"1F647-1F3FD-200D-2642-FE0F",sheet:[34,15]},{unified:"1F647-1F3FE-200D-2642-FE0F",sheet:[34,16]},{unified:"1F647-1F3FF-200D-2642-FE0F",sheet:[34,17]}],shortName:"man-bowing"},{name:"Woman Bowing",unified:"1F647-200D-2640-FE0F",keywords:["woman_bowing","woman","female","girl"],sheet:[34,6],skinVariations:[{unified:"1F647-1F3FB-200D-2640-FE0F",sheet:[34,7]},{unified:"1F647-1F3FC-200D-2640-FE0F",sheet:[34,8]},{unified:"1F647-1F3FD-200D-2640-FE0F",sheet:[34,9]},{unified:"1F647-1F3FE-200D-2640-FE0F",sheet:[34,10]},{unified:"1F647-1F3FF-200D-2640-FE0F",sheet:[34,11]}],shortName:"woman-bowing"},{name:"Face Palm",unified:"1F926",keywords:["person_facepalming","disappointed"],sheet:[40,30],skinVariations:[{unified:"1F926-1F3FB",sheet:[40,31]},{unified:"1F926-1F3FC",sheet:[40,32]},{unified:"1F926-1F3FD",sheet:[40,33]},{unified:"1F926-1F3FE",sheet:[40,34]},{unified:"1F926-1F3FF",sheet:[40,35]}],shortName:"face_palm"},{name:"Man Facepalming",unified:"1F926-200D-2642-FE0F",keywords:["man_facepalming","man","male","boy","disbelief"],sheet:[40,24],skinVariations:[{unified:"1F926-1F3FB-200D-2642-FE0F",sheet:[40,25]},{unified:"1F926-1F3FC-200D-2642-FE0F",sheet:[40,26]},{unified:"1F926-1F3FD-200D-2642-FE0F",sheet:[40,27]},{unified:"1F926-1F3FE-200D-2642-FE0F",sheet:[40,28]},{unified:"1F926-1F3FF-200D-2642-FE0F",sheet:[40,29]}],shortName:"man-facepalming"},{name:"Woman Facepalming",unified:"1F926-200D-2640-FE0F",keywords:["woman_facepalming","woman","female","girl","disbelief"],sheet:[40,18],skinVariations:[{unified:"1F926-1F3FB-200D-2640-FE0F",sheet:[40,19]},{unified:"1F926-1F3FC-200D-2640-FE0F",sheet:[40,20]},{unified:"1F926-1F3FD-200D-2640-FE0F",sheet:[40,21]},{unified:"1F926-1F3FE-200D-2640-FE0F",sheet:[40,22]},{unified:"1F926-1F3FF-200D-2640-FE0F",sheet:[40,23]}],shortName:"woman-facepalming"},{name:"Shrug",unified:"1F937",keywords:["person_shrugging","regardless"],sheet:[41,50],skinVariations:[{unified:"1F937-1F3FB",sheet:[41,51]},{unified:"1F937-1F3FC",sheet:[41,52]},{unified:"1F937-1F3FD",sheet:[41,53]},{unified:"1F937-1F3FE",sheet:[41,54]},{unified:"1F937-1F3FF",sheet:[41,55]}],shortName:"shrug"},{name:"Man Shrugging",unified:"1F937-200D-2642-FE0F",keywords:["man_shrugging","man","male","boy","confused","indifferent","doubt"],sheet:[41,44],skinVariations:[{unified:"1F937-1F3FB-200D-2642-FE0F",sheet:[41,45]},{unified:"1F937-1F3FC-200D-2642-FE0F",sheet:[41,46]},{unified:"1F937-1F3FD-200D-2642-FE0F",sheet:[41,47]},{unified:"1F937-1F3FE-200D-2642-FE0F",sheet:[41,48]},{unified:"1F937-1F3FF-200D-2642-FE0F",sheet:[41,49]}],shortName:"man-shrugging"},{name:"Woman Shrugging",unified:"1F937-200D-2640-FE0F",keywords:["woman_shrugging","woman","female","girl","confused","indifferent","doubt"],sheet:[41,38],skinVariations:[{unified:"1F937-1F3FB-200D-2640-FE0F",sheet:[41,39]},{unified:"1F937-1F3FC-200D-2640-FE0F",sheet:[41,40]},{unified:"1F937-1F3FD-200D-2640-FE0F",sheet:[41,41]},{unified:"1F937-1F3FE-200D-2640-FE0F",sheet:[41,42]},{unified:"1F937-1F3FF-200D-2640-FE0F",sheet:[41,43]}],shortName:"woman-shrugging"},{name:"Health Worker",unified:"1F9D1-200D-2695-FE0F",keywords:["health_worker","hospital"],sheet:[49,48],skinVariations:[{unified:"1F9D1-1F3FB-200D-2695-FE0F",sheet:[49,49]},{unified:"1F9D1-1F3FC-200D-2695-FE0F",sheet:[49,50]},{unified:"1F9D1-1F3FD-200D-2695-FE0F",sheet:[49,51]},{unified:"1F9D1-1F3FE-200D-2695-FE0F",sheet:[49,52]},{unified:"1F9D1-1F3FF-200D-2695-FE0F",sheet:[49,53]}],shortName:"health_worker"},{name:"Man Health Worker",unified:"1F468-200D-2695-FE0F",keywords:["man_health_worker","doctor","nurse","therapist","healthcare","man","human"],sheet:[16,4],skinVariations:[{unified:"1F468-1F3FB-200D-2695-FE0F",sheet:[16,5]},{unified:"1F468-1F3FC-200D-2695-FE0F",sheet:[16,6]},{unified:"1F468-1F3FD-200D-2695-FE0F",sheet:[16,7]},{unified:"1F468-1F3FE-200D-2695-FE0F",sheet:[16,8]},{unified:"1F468-1F3FF-200D-2695-FE0F",sheet:[16,9]}],shortName:"male-doctor"},{name:"Woman Health Worker",unified:"1F469-200D-2695-FE0F",keywords:["woman_health_worker","doctor","nurse","therapist","healthcare","woman","human"],sheet:[19,33],skinVariations:[{unified:"1F469-1F3FB-200D-2695-FE0F",sheet:[19,34]},{unified:"1F469-1F3FC-200D-2695-FE0F",sheet:[19,35]},{unified:"1F469-1F3FD-200D-2695-FE0F",sheet:[19,36]},{unified:"1F469-1F3FE-200D-2695-FE0F",sheet:[19,37]},{unified:"1F469-1F3FF-200D-2695-FE0F",sheet:[19,38]}],shortName:"female-doctor"},{name:"Student",unified:"1F9D1-200D-1F393",keywords:["student","learn"],sheet:[47,36],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F393",sheet:[47,37]},{unified:"1F9D1-1F3FC-200D-1F393",sheet:[47,38]},{unified:"1F9D1-1F3FD-200D-1F393",sheet:[47,39]},{unified:"1F9D1-1F3FE-200D-1F393",sheet:[47,40]},{unified:"1F9D1-1F3FF-200D-1F393",sheet:[47,41]}],shortName:"student"},{name:"Man Student",unified:"1F468-200D-1F393",keywords:["man_student","graduate","man","human"],sheet:[14,3],skinVariations:[{unified:"1F468-1F3FB-200D-1F393",sheet:[14,4]},{unified:"1F468-1F3FC-200D-1F393",sheet:[14,5]},{unified:"1F468-1F3FD-200D-1F393",sheet:[14,6]},{unified:"1F468-1F3FE-200D-1F393",sheet:[14,7]},{unified:"1F468-1F3FF-200D-1F393",sheet:[14,8]}],shortName:"male-student"},{name:"Woman Student",unified:"1F469-200D-1F393",keywords:["woman_student","graduate","woman","human"],sheet:[17,37],skinVariations:[{unified:"1F469-1F3FB-200D-1F393",sheet:[17,38]},{unified:"1F469-1F3FC-200D-1F393",sheet:[17,39]},{unified:"1F469-1F3FD-200D-1F393",sheet:[17,40]},{unified:"1F469-1F3FE-200D-1F393",sheet:[17,41]},{unified:"1F469-1F3FF-200D-1F393",sheet:[17,42]}],shortName:"female-student"},{name:"Teacher",unified:"1F9D1-200D-1F3EB",keywords:["teacher","professor"],sheet:[47,54],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F3EB",sheet:[47,55]},{unified:"1F9D1-1F3FC-200D-1F3EB",sheet:[47,56]},{unified:"1F9D1-1F3FD-200D-1F3EB",sheet:[47,57]},{unified:"1F9D1-1F3FE-200D-1F3EB",sheet:[47,58]},{unified:"1F9D1-1F3FF-200D-1F3EB",sheet:[47,59]}],shortName:"teacher"},{name:"Man Teacher",unified:"1F468-200D-1F3EB",keywords:["man_teacher","instructor","professor","man","human"],sheet:[14,21],skinVariations:[{unified:"1F468-1F3FB-200D-1F3EB",sheet:[14,22]},{unified:"1F468-1F3FC-200D-1F3EB",sheet:[14,23]},{unified:"1F468-1F3FD-200D-1F3EB",sheet:[14,24]},{unified:"1F468-1F3FE-200D-1F3EB",sheet:[14,25]},{unified:"1F468-1F3FF-200D-1F3EB",sheet:[14,26]}],shortName:"male-teacher"},{name:"Woman Teacher",unified:"1F469-200D-1F3EB",keywords:["woman_teacher","instructor","professor","woman","human"],sheet:[17,55],skinVariations:[{unified:"1F469-1F3FB-200D-1F3EB",sheet:[17,56]},{unified:"1F469-1F3FC-200D-1F3EB",sheet:[17,57]},{unified:"1F469-1F3FD-200D-1F3EB",sheet:[17,58]}
3,{unified:"1F469-1F3FE-200D-1F3EB",sheet:[17,59]},{unified:"1F469-1F3FF-200D-1F3EB",sheet:[17,60]}],shortName:"female-teacher"},{name:"Judge",unified:"1F9D1-200D-2696-FE0F",keywords:["judge","law"],sheet:[49,54],skinVariations:[{unified:"1F9D1-1F3FB-200D-2696-FE0F",sheet:[49,55]},{unified:"1F9D1-1F3FC-200D-2696-FE0F",sheet:[49,56]},{unified:"1F9D1-1F3FD-200D-2696-FE0F",sheet:[49,57]},{unified:"1F9D1-1F3FE-200D-2696-FE0F",sheet:[49,58]},{unified:"1F9D1-1F3FF-200D-2696-FE0F",sheet:[49,59]}],shortName:"judge"},{name:"Man Judge",unified:"1F468-200D-2696-FE0F",keywords:["man_judge","justice","court","man","human"],sheet:[16,10],skinVariations:[{unified:"1F468-1F3FB-200D-2696-FE0F",sheet:[16,11]},{unified:"1F468-1F3FC-200D-2696-FE0F",sheet:[16,12]},{unified:"1F468-1F3FD-200D-2696-FE0F",sheet:[16,13]},{unified:"1F468-1F3FE-200D-2696-FE0F",sheet:[16,14]},{unified:"1F468-1F3FF-200D-2696-FE0F",sheet:[16,15]}],shortName:"male-judge"},{name:"Woman Judge",unified:"1F469-200D-2696-FE0F",keywords:["woman_judge","justice","court","woman","human"],sheet:[19,39],skinVariations:[{unified:"1F469-1F3FB-200D-2696-FE0F",sheet:[19,40]},{unified:"1F469-1F3FC-200D-2696-FE0F",sheet:[19,41]},{unified:"1F469-1F3FD-200D-2696-FE0F",sheet:[19,42]},{unified:"1F469-1F3FE-200D-2696-FE0F",sheet:[19,43]},{unified:"1F469-1F3FF-200D-2696-FE0F",sheet:[19,44]}],shortName:"female-judge"},{name:"Farmer",unified:"1F9D1-200D-1F33E",keywords:["farmer","crops"],sheet:[47,12],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F33E",sheet:[47,13]},{unified:"1F9D1-1F3FC-200D-1F33E",sheet:[47,14]},{unified:"1F9D1-1F3FD-200D-1F33E",sheet:[47,15]},{unified:"1F9D1-1F3FE-200D-1F33E",sheet:[47,16]},{unified:"1F9D1-1F3FF-200D-1F33E",sheet:[47,17]}],shortName:"farmer"},{name:"Man Farmer",unified:"1F468-200D-1F33E",keywords:["man_farmer","rancher","gardener","man","human"],sheet:[13,46],skinVariations:[{unified:"1F468-1F3FB-200D-1F33E",sheet:[13,47]},{unified:"1F468-1F3FC-200D-1F33E",sheet:[13,48]},{unified:"1F468-1F3FD-200D-1F33E",sheet:[13,49]},{unified:"1F468-1F3FE-200D-1F33E",sheet:[13,50]},{unified:"1F468-1F3FF-200D-1F33E",sheet:[13,51]}],shortName:"male-farmer"},{name:"Woman Farmer",unified:"1F469-200D-1F33E",keywords:["woman_farmer","rancher","gardener","woman","human"],sheet:[17,19],skinVariations:[{unified:"1F469-1F3FB-200D-1F33E",sheet:[17,20]},{unified:"1F469-1F3FC-200D-1F33E",sheet:[17,21]},{unified:"1F469-1F3FD-200D-1F33E",sheet:[17,22]},{unified:"1F469-1F3FE-200D-1F33E",sheet:[17,23]},{unified:"1F469-1F3FF-200D-1F33E",sheet:[17,24]}],shortName:"female-farmer"},{name:"Cook",unified:"1F9D1-200D-1F373",keywords:["cook","food","kitchen","culinary"],sheet:[47,18],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F373",sheet:[47,19]},{unified:"1F9D1-1F3FC-200D-1F373",sheet:[47,20]},{unified:"1F9D1-1F3FD-200D-1F373",sheet:[47,21]},{unified:"1F9D1-1F3FE-200D-1F373",sheet:[47,22]},{unified:"1F9D1-1F3FF-200D-1F373",sheet:[47,23]}],shortName:"cook"},{name:"Man Cook",unified:"1F468-200D-1F373",keywords:["man_cook","chef","man","human"],sheet:[13,52],skinVariations:[{unified:"1F468-1F3FB-200D-1F373",sheet:[13,53]},{unified:"1F468-1F3FC-200D-1F373",sheet:[13,54]},{unified:"1F468-1F3FD-200D-1F373",sheet:[13,55]},{unified:"1F468-1F3FE-200D-1F373",sheet:[13,56]},{unified:"1F468-1F3FF-200D-1F373",sheet:[13,57]}],shortName:"male-cook"},{name:"Woman Cook",unified:"1F469-200D-1F373",keywords:["woman_cook","chef","woman","human"],sheet:[17,25],skinVariations:[{unified:"1F469-1F3FB-200D-1F373",sheet:[17,26]},{unified:"1F469-1F3FC-200D-1F373",sheet:[17,27]},{unified:"1F469-1F3FD-200D-1F373",sheet:[17,28]},{unified:"1F469-1F3FE-200D-1F373",sheet:[17,29]},{unified:"1F469-1F3FF-200D-1F373",sheet:[17,30]}],shortName:"female-cook"},{name:"Mechanic",unified:"1F9D1-200D-1F527",keywords:["mechanic","worker","technician"],sheet:[48,17],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F527",sheet:[48,18]},{unified:"1F9D1-1F3FC-200D-1F527",sheet:[48,19]},{unified:"1F9D1-1F3FD-200D-1F527",sheet:[48,20]},{unified:"1F9D1-1F3FE-200D-1F527",sheet:[48,21]},{unified:"1F9D1-1F3FF-200D-1F527",sheet:[48,22]}],shortName:"mechanic"},{name:"Man Mechanic",unified:"1F468-200D-1F527",keywords:["man_mechanic","plumber","man","human","wrench"],sheet:[14,60],skinVariations:[{unified:"1F468-1F3FB-200D-1F527",sheet:[15,0]},{unified:"1F468-1F3FC-200D-1F527",sheet:[15,1]},{unified:"1F468-1F3FD-200D-1F527",sheet:[15,2]},{unified:"1F468-1F3FE-200D-1F527",sheet:[15,3]},{unified:"1F468-1F3FF-200D-1F527",sheet:[15,4]}],shortName:"male-mechanic"},{name:"Woman Mechanic",unified:"1F469-200D-1F527",keywords:["woman_mechanic","plumber","woman","human","wrench"],sheet:[18,28],skinVariations:[{unified:"1F469-1F3FB-200D-1F527",sheet:[18,29]},{unified:"1F469-1F3FC-200D-1F527",sheet:[18,30]},{unified:"1F469-1F3FD-200D-1F527",sheet:[18,31]},{unified:"1F469-1F3FE-200D-1F527",sheet:[18,32]},{unified:"1F469-1F3FF-200D-1F527",sheet:[18,33]}],shortName:"female-mechanic"},{name:"Factory Worker",unified:"1F9D1-200D-1F3ED",keywords:["factory_worker","labor"],sheet:[47,60],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F3ED",sheet:[48,0]},{unified:"1F9D1-1F3FC-200D-1F3ED",sheet:[48,1]},{unified:"1F9D1-1F3FD-200D-1F3ED",sheet:[48,2]},{unified:"1F9D1-1F3FE-200D-1F3ED",sheet:[48,3]},{unified:"1F9D1-1F3FF-200D-1F3ED",sheet:[48,4]}],shortName:"factory_worker"},{name:"Man Factory Worker",unified:"1F468-200D-1F3ED",keywords:["man_factory_worker","assembly","industrial","man","human"],sheet:[14,27],skinVariations:[{unified:"1F468-1F3FB-200D-1F3ED",sheet:[14,28]},{unified:"1F468-1F3FC-200D-1F3ED",sheet:[14,29]},{unified:"1F468-1F3FD-200D-1F3ED",sheet:[14,30]},{unified:"1F468-1F3FE-200D-1F3ED",sheet:[14,31]},{unified:"1F468-1F3FF-200D-1F3ED",sheet:[14,32]}],shortName:"male-factory-worker"},{name:"Woman Factory Worker",unified:"1F469-200D-1F3ED",keywords:["woman_factory_worker","assembly","industrial","woman","human"],sheet:[18,0],skinVariations:[{unified:"1F469-1F3FB-200D-1F3ED",sheet:[18,1]},{unified:"1F469-1F3FC-200D-1F3ED",sheet:[18,2]},{unified:"1F469-1F3FD-200D-1F3ED",sheet:[18,3]},{unified:"1F469-1F3FE-200D-1F3ED",sheet:[18,4]},{unified:"1F469-1F3FF-200D-1F3ED",sheet:[18,5]}],shortName:"female-factory-worker"},{name:"Office Worker",unified:"1F9D1-200D-1F4BC",keywords:["office_worker","business"],sheet:[48,11],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F4BC",sheet:[48,12]},{unified:"1F9D1-1F3FC-200D-1F4BC",sheet:[48,13]},{unified:"1F9D1-1F3FD-200D-1F4BC",sheet:[48,14]},{unified:"1F9D1-1F3FE-200D-1F4BC",sheet:[48,15]},{unified:"1F9D1-1F3FF-200D-1F4BC",sheet:[48,16]}],shortName:"office_worker"},{name:"Man Office Worker",unified:"1F468-200D-1F4BC",keywords:["man_office_worker","business","manager","man","human"],sheet:[14,54],skinVariations:[{unified:"1F468-1F3FB-200D-1F4BC",sheet:[14,55]},{unified:"1F468-1F3FC-200D-1F4BC",sheet:[14,56]},{unified:"1F468-1F3FD-200D-1F4BC",sheet:[14,57]},{unified:"1F468-1F3FE-200D-1F4BC",sheet:[14,58]},{unified:"1F468-1F3FF-200D-1F4BC",sheet:[14,59]}],shortName:"male-office-worker"},{name:"Woman Office Worker",unified:"1F469-200D-1F4BC",keywords:["woman_office_worker","business","manager","woman","human"],sheet:[18,22],skinVariations:[{unified:"1F469-1F3FB-200D-1F4BC",sheet:[18,23]},{unified:"1F469-1F3FC-200D-1F4BC",sheet:[18,24]},{unified:"1F469-1F3FD-200D-1F4BC",sheet:[18,25]},{unified:"1F469-1F3FE-200D-1F4BC",sheet:[18,26]},{unified:"1F469-1F3FF-200D-1F4BC",sheet:[18,27]}],shortName:"female-office-worker"},{name:"Scientist",unified:"1F9D1-200D-1F52C",keywords:["scientist","chemistry"],sheet:[48,23],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F52C",sheet:[48,24]},{unified:"1F9D1-1F3FC-200D-1F52C",sheet:[48,25]},{unified:"1F9D1-1F3FD-200D-1F52C",sheet:[48,26]},{unified:"1F9D1-1F3FE-200D-1F52C",sheet:[48,27]},{unified:"1F9D1-1F3FF-200D-1F52C",sheet:[48,28]}],shortName:"scientist"},{name:"Man Scientist",unified:"1F468-200D-1F52C",keywords:["man_scie
3ntist","biologist","chemist","engineer","physicist","man","human"],sheet:[15,5],skinVariations:[{unified:"1F468-1F3FB-200D-1F52C",sheet:[15,6]},{unified:"1F468-1F3FC-200D-1F52C",sheet:[15,7]},{unified:"1F468-1F3FD-200D-1F52C",sheet:[15,8]},{unified:"1F468-1F3FE-200D-1F52C",sheet:[15,9]},{unified:"1F468-1F3FF-200D-1F52C",sheet:[15,10]}],shortName:"male-scientist"},{name:"Woman Scientist",unified:"1F469-200D-1F52C",keywords:["woman_scientist","biologist","chemist","engineer","physicist","woman","human"],sheet:[18,34],skinVariations:[{unified:"1F469-1F3FB-200D-1F52C",sheet:[18,35]},{unified:"1F469-1F3FC-200D-1F52C",sheet:[18,36]},{unified:"1F469-1F3FD-200D-1F52C",sheet:[18,37]},{unified:"1F469-1F3FE-200D-1F52C",sheet:[18,38]},{unified:"1F469-1F3FF-200D-1F52C",sheet:[18,39]}],shortName:"female-scientist"},{name:"Technologist",unified:"1F9D1-200D-1F4BB",keywords:["technologist","computer"],sheet:[48,5],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F4BB",sheet:[48,6]},{unified:"1F9D1-1F3FC-200D-1F4BB",sheet:[48,7]},{unified:"1F9D1-1F3FD-200D-1F4BB",sheet:[48,8]},{unified:"1F9D1-1F3FE-200D-1F4BB",sheet:[48,9]},{unified:"1F9D1-1F3FF-200D-1F4BB",sheet:[48,10]}],shortName:"technologist"},{name:"Man Technologist",unified:"1F468-200D-1F4BB",keywords:["man_technologist","coder","developer","engineer","programmer","software","man","human","laptop","computer"],sheet:[14,48],skinVariations:[{unified:"1F468-1F3FB-200D-1F4BB",sheet:[14,49]},{unified:"1F468-1F3FC-200D-1F4BB",sheet:[14,50]},{unified:"1F468-1F3FD-200D-1F4BB",sheet:[14,51]},{unified:"1F468-1F3FE-200D-1F4BB",sheet:[14,52]},{unified:"1F468-1F3FF-200D-1F4BB",sheet:[14,53]}],shortName:"male-technologist"},{name:"Woman Technologist",unified:"1F469-200D-1F4BB",keywords:["woman_technologist","coder","developer","engineer","programmer","software","woman","human","laptop","computer"],sheet:[18,16],skinVariations:[{unified:"1F469-1F3FB-200D-1F4BB",sheet:[18,17]},{unified:"1F469-1F3FC-200D-1F4BB",sheet:[18,18]},{unified:"1F469-1F3FD-200D-1F4BB",sheet:[18,19]},{unified:"1F469-1F3FE-200D-1F4BB",sheet:[18,20]},{unified:"1F469-1F3FF-200D-1F4BB",sheet:[18,21]}],shortName:"female-technologist"},{name:"Singer",unified:"1F9D1-200D-1F3A4",keywords:["singer","song","artist","performer"],sheet:[47,42],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F3A4",sheet:[47,43]},{unified:"1F9D1-1F3FC-200D-1F3A4",sheet:[47,44]},{unified:"1F9D1-1F3FD-200D-1F3A4",sheet:[47,45]},{unified:"1F9D1-1F3FE-200D-1F3A4",sheet:[47,46]},{unified:"1F9D1-1F3FF-200D-1F3A4",sheet:[47,47]}],shortName:"singer"},{name:"Man Singer",unified:"1F468-200D-1F3A4",keywords:["man_singer","rockstar","entertainer","man","human"],sheet:[14,9],skinVariations:[{unified:"1F468-1F3FB-200D-1F3A4",sheet:[14,10]},{unified:"1F468-1F3FC-200D-1F3A4",sheet:[14,11]},{unified:"1F468-1F3FD-200D-1F3A4",sheet:[14,12]},{unified:"1F468-1F3FE-200D-1F3A4",sheet:[14,13]},{unified:"1F468-1F3FF-200D-1F3A4",sheet:[14,14]}],shortName:"male-singer"},{name:"Woman Singer",unified:"1F469-200D-1F3A4",keywords:["woman_singer","rockstar","entertainer","woman","human"],sheet:[17,43],skinVariations:[{unified:"1F469-1F3FB-200D-1F3A4",sheet:[17,44]},{unified:"1F469-1F3FC-200D-1F3A4",sheet:[17,45]},{unified:"1F469-1F3FD-200D-1F3A4",sheet:[17,46]},{unified:"1F469-1F3FE-200D-1F3A4",sheet:[17,47]},{unified:"1F469-1F3FF-200D-1F3A4",sheet:[17,48]}],shortName:"female-singer"},{name:"Artist",unified:"1F9D1-200D-1F3A8",keywords:["artist","painting","draw","creativity"],sheet:[47,48],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F3A8",sheet:[47,49]},{unified:"1F9D1-1F3FC-200D-1F3A8",sheet:[47,50]},{unified:"1F9D1-1F3FD-200D-1F3A8",sheet:[47,51]},{unified:"1F9D1-1F3FE-200D-1F3A8",sheet:[47,52]},{unified:"1F9D1-1F3FF-200D-1F3A8",sheet:[47,53]}],shortName:"artist"},{name:"Man Artist",unified:"1F468-200D-1F3A8",keywords:["man_artist","painter","man","human"],sheet:[14,15],skinVariations:[{unified:"1F468-1F3FB-200D-1F3A8",sheet:[14,16]},{unified:"1F468-1F3FC-200D-1F3A8",sheet:[14,17]},{unified:"1F468-1F3FD-200D-1F3A8",sheet:[14,18]},{unified:"1F468-1F3FE-200D-1F3A8",sheet:[14,19]},{unified:"1F468-1F3FF-200D-1F3A8",sheet:[14,20]}],shortName:"male-artist"},{name:"Woman Artist",unified:"1F469-200D-1F3A8",keywords:["woman_artist","painter","woman","human"],sheet:[17,49],skinVariations:[{unified:"1F469-1F3FB-200D-1F3A8",sheet:[17,50]},{unified:"1F469-1F3FC-200D-1F3A8",sheet:[17,51]},{unified:"1F469-1F3FD-200D-1F3A8",sheet:[17,52]},{unified:"1F469-1F3FE-200D-1F3A8",sheet:[17,53]},{unified:"1F469-1F3FF-200D-1F3A8",sheet:[17,54]}],shortName:"female-artist"},{name:"Pilot",unified:"1F9D1-200D-2708-FE0F",keywords:["pilot","fly","plane","airplane"],sheet:[49,60],skinVariations:[{unified:"1F9D1-1F3FB-200D-2708-FE0F",sheet:[50,0]}
3,{unified:"1F9D1-1F3FC-200D-2708-FE0F",sheet:[50,1]},{unified:"1F9D1-1F3FD-200D-2708-FE0F",sheet:[50,2]},{unified:"1F9D1-1F3FE-200D-2708-FE0F",sheet:[50,3]},{unified:"1F9D1-1F3FF-200D-2708-FE0F",sheet:[50,4]}],shortName:"pilot"},{name:"Man Pilot",unified:"1F468-200D-2708-FE0F",keywords:["man_pilot","aviator","plane","man","human"],sheet:[16,16],skinVariations:[{unified:"1F468-1F3FB-200D-2708-FE0F",sheet:[16,17]},{unified:"1F468-1F3FC-200D-2708-FE0F",sheet:[16,18]},{unified:"1F468-1F3FD-200D-2708-FE0F",sheet:[16,19]},{unified:"1F468-1F3FE-200D-2708-FE0F",sheet:[16,20]},{unified:"1F468-1F3FF-200D-2708-FE0F",sheet:[16,21]}],shortName:"male-pilot"},{name:"Woman Pilot",unified:"1F469-200D-2708-FE0F",keywords:["woman_pilot","aviator","plane","woman","human"],sheet:[19,45],skinVariations:[{unified:"1F469-1F3FB-200D-2708-FE0F",sheet:[19,46]},{unified:"1F469-1F3FC-200D-2708-FE0F",sheet:[19,47]},{unified:"1F469-1F3FD-200D-2708-FE0F",sheet:[19,48]},{unified:"1F469-1F3FE-200D-2708-FE0F",sheet:[19,49]},{unified:"1F469-1F3FF-200D-2708-FE0F",sheet:[19,50]}],shortName:"female-pilot"},{name:"Astronaut",unified:"1F9D1-200D-1F680",keywords:["astronaut","outerspace"],sheet:[48,29],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F680",sheet:[48,30]},{unified:"1F9D1-1F3FC-200D-1F680",sheet:[48,31]},{unified:"1F9D1-1F3FD-200D-1F680",sheet:[48,32]},{unified:"1F9D1-1F3FE-200D-1F680",sheet:[48,33]},{unified:"1F9D1-1F3FF-200D-1F680",sheet:[48,34]}],shortName:"astronaut"},{name:"Man Astronaut",unified:"1F468-200D-1F680",keywords:["man_astronaut","space","rocket","man","human"],sheet:[15,11],skinVariations:[{unified:"1F468-1F3FB-200D-1F680",sheet:[15,12]},{unified:"1F468-1F3FC-200D-1F680",sheet:[15,13]},{unified:"1F468-1F3FD-200D-1F680",sheet:[15,14]},{unified:"1F468-1F3FE-200D-1F680",sheet:[15,15]},{unified:"1F468-1F3FF-200D-1F680",sheet:[15,16]}],shortName:"male-astronaut"},{name:"Woman Astronaut",unified:"1F469-200D-1F680",keywords:["woman_astronaut","space","rocket","woman","human"],sheet:[18,40],skinVariations:[{unified:"1F469-1F3FB-200D-1F680",sheet:[18,41]},{unified:"1F469-1F3FC-200D-1F680",sheet:[18,42]},{unified:"1F469-1F3FD-200D-1F680",sheet:[18,43]},{unified:"1F469-1F3FE-200D-1F680",sheet:[18,44]},{unified:"1F469-1F3FF-200D-1F680",sheet:[18,45]}],shortName:"female-astronaut"},{name:"Firefighter",unified:"1F9D1-200D-1F692",keywords:["firefighter","fire"],sheet:[48,35],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F692",sheet:[48,36]},{unified:"1F9D1-1F3FC-200D-1F692",sheet:[48,37]},{unified:"1F9D1-1F3FD-200D-1F692",sheet:[48,38]},{unified:"1F9D1-1F3FE-200D-1F692",sheet:[48,39]},{unified:"1F9D1-1F3FF-200D-1F692",sheet:[48,40]}],shortName:"firefighter"},{name:"Man Firefighter",unified:"1F468-200D-1F692",keywords:["man_firefighter","fireman","man","human"],sheet:[15,17],skinVariations:[{unified:"1F468-1F3FB-200D-1F692",sheet:[15,18]},{unified:"1F468-1F3FC-200D-1F692",sheet:[15,19]},{unified:"1F468-1F3FD-200D-1F692",sheet:[15,20]},{unified:"1F468-1F3FE-200D-1F692",sheet:[15,21]},{unified:"1F468-1F3FF-200D-1F692",sheet:[15,22]}],shortName:"male-firefighter"},{name:"Woman Firefighter",unified:"1F469-200D-1F692",keywords:["woman_firefighter","fireman","woman","human"],sheet:[18,46],skinVariations:[{unified:"1F469-1F3FB-200D-1F692",sheet:[18,47]},{unified:"1F469-1F3FC-200D-1F692",sheet:[18,48]},{unified:"1F469-1F3FD-200D-1F692",sheet:[18,49]},{unified:"1F469-1F3FE-200D-1F692",sheet:[18,50]},{unified:"1F469-1F3FF-200D-1F692",sheet:[18,51]}],shortName:"female-firefighter"},{name:"Police Officer",unified:"1F46E",keywords:["police_officer","cop"],sheet:[23,8],skinVariations:[{unified:"1F46E-1F3FB",sheet:[23,9]},{unified:"1F46E-1F3FC",sheet:[23,10]},{unified:"1F46E-1F3FD",sheet:[23,11]},{unified:"1F46E-1F3FE",sheet:[23,12]},{unified:"1F46E-1F3FF",sheet:[23,13]}],shortName:"cop",obsoletedBy:"1F46E-200D-2642-FE0F"},{name:"Man Police Officer",unified:"1F46E-200D-2642-FE0F",obsoletes:"1F46E",keywords:["man_police_officer","man","police","law","legal","enforcement","arrest","911"],sheet:[23,2],skinVariations:[{unified:"1F46E-1F3FB-200D-2642-FE0F",sheet:[23,3]},{unified:"1F46E-1F3FC-200D-2642-FE0F",sheet:[23,4]},{unified:"1F46E-1F3FD-200D-2642-FE0F",sheet:[23,5]},{unified:"1F46E-1F3FE-200D-2642-FE0F",sheet:[23,6]},{unified:"1F46E-1F3FF-200D-2642-FE0F",sheet:[23,7]}],shortName:"male-police-officer"},{name:"Woman Police Officer",unified:"1F46E-200D-2640-FE0F",keywords:["woman_police_officer","woman","police","law","legal","enforcement","arrest","911","female"],sheet:[22,57],skinVariations:[{unified:"1F46E-1F3FB-200D-2640-FE0F",sheet:[22,58]},{unified:"1F46E-1F3FC-200D-2640-FE0F",sheet:[22,59]},{unified:"1F46E-1F3FD-200D-2640-FE0F",sheet:[22,60]},{unified:"1F46E-1F3FE-200D-2640-FE0F",sheet:[23,0]},{unified:"1F46E-1F3FF-200D-2640-FE0F",sheet:[23,1]}],shortName:"female-police-officer"},{name:"Detective",unified:"1F575-FE0F",keywords:["detective","human","spy","detective"],sheet:[31,16],skinVariations:[{unified:"1F575-1F3FB",sheet:[31,17]},{unified:"1F575-1F3FC",sheet:[31,18]},{unified:"1F575-1F3FD",sheet:[31,19]},{unified:"1F575-1F3FE",sheet:[31,20]},{unified:"1F575-1F3FF",sheet:[31,21]}],shortName:"sleuth_or_spy",obsoletedBy:"1F575-FE0F-200D-2642-FE0F"},{name:"Man Detective",unified:"1F575-FE0F-200D-2642-FE0F",obsoletes:"1F575-FE0F",keywords:["man_detective","crime"],sheet:[31,10],hidden:["facebook"],skinVariations:[{unified:"1F575-1F3FB-200D-2642-FE0F",sheet:[31,11]},{unified:"1F575-1F3FC-200D-2642-FE0F",sheet:[31,12]},{unified:"1F575-1F3FD-200D-2642-FE0F",sheet:[31,13]},{unified:"1F575-1F3FE-200D-2642-FE0F",sheet:[31,14]},{unified:"1F575-1F3FF-200D-2642-FE0F",sheet:[31,15]}],shortName:"male-detective"},{name:"Woman Detective",unified:"1F575-FE0F-200D-2640-FE0F",keywords:["woman_detective","human","spy","detective","female","woman"],sheet:[31,4],hidden:["facebook"],skinVariations:[{unified:"1F575-1F3FB-200D-2640-FE0F",sheet:[31,5]},{unified:"1F575-1F3FC-200D-2640-FE0F",sheet:[31,6]},{unified:"1F575-1F3FD-200D-2640-FE0F",sheet:[31,7]},{unified:"1F575-1F3FE-200D-2640-FE0F",sheet:[31,8]},{unified:"1F575-1F3FF-200D-2640-FE0F",sheet:[31,9]}],shortName:"female-detective"},{name:"Guardsman",unified:"1F482",keywords:["guard","protect"],sheet:[25,40],skinVariations:[{unified:"1F482-1F3FB",sheet:[25,41]},{unified:"1F482-1F3FC",sheet:[25,42]},{unified:"1F482-1F3FD",sheet:[25,43]},{unified:"1F482-1F3FE",sheet:[25,44]},{unified:"1F482-1F3FF",sheet:[25,45]}],shortName:"guardsman",obsoletedBy:"1F482-200D-2642-FE0F"},{name:"Man Guard",unified:"1F482-200D-2642-FE0F",obsoletes:"1F482",keywords:["man_guard","uk","gb","british","male","guy","royal"],sheet:[25,34],skinVariations:[{unified:"1F482-1F3FB-200D-2642-FE0F",sheet:[25,35]},{unified:"1F482-1F3FC-200D-2642-FE0F",sheet:[25,36]},{unified:"1F482-1F3FD-200D-2642-FE0F",sheet:[25,37]},{unified:"1F482-1F3FE-200D-2642-FE0F",sheet:[25,38]},{unified:"1F482-1F3FF-200D-2642-FE0F",sheet:[25,39]}],shortName:"male-guard"},{name:"Woman Guard",unified:"1F482-200D-2640-FE0F",keywords:["woman_guard","uk","gb","british","female","royal","woman"],sheet:[25,28],skinVariations:[{unified:"1F482-1F3FB-200D-2640-FE0F",sheet:[25,29]},{unified:"1F482-1F3FC-200D-2640-FE0F",sheet:[25,30]},{unified:"1F482-1F3FD-200D-2640-FE0F",sheet:[25,31]},{unified:"1F482-1F3FE-200D-2640-FE0F",sheet:[25,32]},{unified:"1F482-1F3FF-200D-2640-FE0F",sheet:[25,33]}],shortName:"female-guard"},{name:"Ninja",unified:"1F977",keywords:["ninja","ninjutsu","skills","japanese"],sheet:[44,4],skinVariations:[{unified:"1F977-1F3FB",sheet:[44,5]},{unified:"1F977-1F3FC",sheet:[44,6]},{unified:"1F977-1F3FD",sheet:[44,7]},{unified:"1F977-1F3FE",sheet:[44,8]},{unified:"1F977-1F3FF",sheet:[44,9]}],shortName:"ninja"},{name:"Construction Worker",unified:"1F477",keywords:["construction_worker","labor","build"],sheet:[24,46],skinVariations:[{unified:"1F477-1F3FB",sheet:[24,47]},{unified:"1F477-1F3FC",sheet:[24,48]},{unified:"1F477-1F3FD",sheet:[24,49]},{unified:"1F477-1F3FE",sheet:[24,50]},{unified:"1F477-1F3FF",sheet:[24,51]}],shortName:"construction_worker",obsoletedBy:"1F477-200D-2642-FE0F"},{name:"Man Construction Worker",unified:"1F477-200D-2642-FE0F",obsoletes:"1F477",keywords:["man_construction_worker","male","human","wip","guy","build","construction","worker","labor"],sheet:[24,40],skinVariations:[{unified:"1F477-1F3FB-200D-2642-FE0F",sheet:[24,41]},{unified:"1F477-1F3FC-200D-2642-FE0F",sheet:[24,42]},{unified:"1F477-1F3FD-200D-2642-FE0F",sheet:[24,43]},{unified:"1F477-1F3FE-200D-2642-FE0F",sheet:[24,44]},{unified:"1F477-1F3FF-200D-2642-FE0F",sheet:[24,45]}],shortName:"male-construction-worker"},{name:"Woman Construction Worker",unified:"1F477-200D-2640-FE0F",keywords:["woman_construction_worker","female","human","wip","build","construction","worker","labor","woman"],sheet:[24,34],skinVariations:[{unified:"1F477-1F3FB-200D-2640-FE0F",sheet:[24,35]},{unified:"1F477-1F3FC-200D-2640-FE0F",sheet:[24,36]},{unified:"1F477-1F3FD-200D-2640-FE0F",sheet:[24,37]},{unified:"1F477-1F3FE-200D-2640-FE0F",sheet:[24,38]},{unified:"1F477-1F3FF-200D-2640-FE0F",sheet:[24,39]}],shortName:"female-construction-worker"},{name:"Person with Crown",unified:"1FAC5",keywords:["person with crown","royalty","power"],sheet:[54,57],hidden:["facebook"],skinVariations:[{unified:"1FAC5-1F3FB",sheet:[54,58],hidden:["facebook"]},{unified:"1FAC5-1F3FC",sheet:[54,59],hidden:["facebook"]},{unified:"1FAC5-1F3FD",sheet:[54,60],hidden:["facebook"]},{unified:"1FAC5-1F3FE",sheet:[55,0],hidden:["facebook"]},{unified:"1FAC5-1F3FF",sheet:[55,1],hidden:["facebook"]}],shortName:"person_with_crown"},{name:"Prince",unified:"1F934",keywords:["prince","boy","man","male","crown","royal","king"],sheet:[41,8],skinVariations:[{unified:"1F934-1F3FB",sheet:[41,9]},{unified:"1F934-1F3FC",sheet:[41,10]},{unified:"1F934-1F3FD",sheet:[41,11]},{unified:"1F934-1F3FE",sheet:[41,12]}
3,{unified:"1F934-1F3FF",sheet:[41,13]}],shortName:"prince"},{name:"Princess",unified:"1F478",keywords:["princess","girl","woman","female","blond","crown","royal","queen"],sheet:[24,52],skinVariations:[{unified:"1F478-1F3FB",sheet:[24,53]},{unified:"1F478-1F3FC",sheet:[24,54]},{unified:"1F478-1F3FD",sheet:[24,55]},{unified:"1F478-1F3FE",sheet:[24,56]},{unified:"1F478-1F3FF",sheet:[24,57]}],shortName:"princess"},{name:"Man with Turban",unified:"1F473",keywords:["person_wearing_turban","headdress"],sheet:[24,10],skinVariations:[{unified:"1F473-1F3FB",sheet:[24,11]},{unified:"1F473-1F3FC",sheet:[24,12]},{unified:"1F473-1F3FD",sheet:[24,13]},{unified:"1F473-1F3FE",sheet:[24,14]},{unified:"1F473-1F3FF",sheet:[24,15]}],shortName:"man_with_turban",obsoletedBy:"1F473-200D-2642-FE0F"},{name:"Man Wearing Turban",unified:"1F473-200D-2642-FE0F",obsoletes:"1F473",keywords:["man_wearing_turban","male","indian","hinduism","arabs"],sheet:[24,4],skinVariations:[{unified:"1F473-1F3FB-200D-2642-FE0F",sheet:[24,5]},{unified:"1F473-1F3FC-200D-2642-FE0F",sheet:[24,6]},{unified:"1F473-1F3FD-200D-2642-FE0F",sheet:[24,7]},{unified:"1F473-1F3FE-200D-2642-FE0F",sheet:[24,8]},{unified:"1F473-1F3FF-200D-2642-FE0F",sheet:[24,9]}],shortName:"man-wearing-turban"},{name:"Woman Wearing Turban",unified:"1F473-200D-2640-FE0F",keywords:["woman_wearing_turban","female","indian","hinduism","arabs","woman"],sheet:[23,59],skinVariations:[{unified:"1F473-1F3FB-200D-2640-FE0F",sheet:[23,60]},{unified:"1F473-1F3FC-200D-2640-FE0F",sheet:[24,0]},{unified:"1F473-1F3FD-200D-2640-FE0F",sheet:[24,1]},{unified:"1F473-1F3FE-200D-2640-FE0F",sheet:[24,2]},{unified:"1F473-1F3FF-200D-2640-FE0F",sheet:[24,3]}],shortName:"woman-wearing-turban"},{name:"Man with Gua Pi Mao",unified:"1F472",keywords:["man_with_skullcap","male","boy","chinese"],sheet:[23,53],skinVariations:[{unified:"1F472-1F3FB",sheet:[23,54]},{unified:"1F472-1F3FC",sheet:[23,55]},{unified:"1F472-1F3FD",sheet:[23,56]},{unified:"1F472-1F3FE",sheet:[23,57]},{unified:"1F472-1F3FF",sheet:[23,58]}],shortName:"man_with_gua_pi_mao"},{name:"Person with Headscarf",unified:"1F9D5",keywords:["woman_with_headscarf","female","hijab","mantilla","tichel"],sheet:[50,41],skinVariations:[{unified:"1F9D5-1F3FB",sheet:[50,42]},{unified:"1F9D5-1F3FC",sheet:[50,43]},{unified:"1F9D5-1F3FD",sheet:[50,44]},{unified:"1F9D5-1F3FE",sheet:[50,45]},{unified:"1F9D5-1F3FF",sheet:[50,46]}],shortName:"person_with_headscarf"},{name:"Man in Tuxedo",unified:"1F935",keywords:["man_in_tuxedo","couple","marriage","wedding","groom"],sheet:[41,26],skinVariations:[{unified:"1F935-1F3FB",sheet:[41,27]},{unified:"1F935-1F3FC",sheet:[41,28]},{unified:"1F935-1F3FD",sheet:[41,29]},{unified:"1F935-1F3FE",sheet:[41,30]},{unified:"1F935-1F3FF",sheet:[41,31]}],shortName:"person_in_tuxedo"},{name:"Man in Tuxedo",unified:"1F935-200D-2642-FE0F",keywords:["man in tuxedo","formal","fashion"],sheet:[41,20],skinVariations:[{unified:"1F935-1F3FB-200D-2642-FE0F",sheet:[41,21]},{unified:"1F935-1F3FC-200D-2642-FE0F",sheet:[41,22]},{unified:"1F935-1F3FD-200D-2642-FE0F",sheet:[41,23]},{unified:"1F935-1F3FE-200D-2642-FE0F",sheet:[41,24]},{unified:"1F935-1F3FF-200D-2642-FE0F",sheet:[41,25]}],shortName:"man_in_tuxedo"},{name:"Woman in Tuxedo",unified:"1F935-200D-2640-FE0F",keywords:["woman in tuxedo","formal","fashion"],sheet:[41,14],skinVariations:[{unified:"1F935-1F3FB-200D-2640-FE0F",sheet:[41,15]},{unified:"1F935-1F3FC-200D-2640-FE0F",sheet:[41,16]},{unified:"1F935-1F3FD-200D-2640-FE0F",sheet:[41,17]},{unified:"1F935-1F3FE-200D-2640-FE0F",sheet:[41,18]},{unified:"1F935-1F3FF-200D-2640-FE0F",sheet:[41,19]}],shortName:"woman_in_tuxedo"},{name:"Bride with Veil",unified:"1F470",keywords:["bride_with_veil","couple","marriage","wedding","woman","bride"],sheet:[23,29],skinVariations:[{unified:"1F470-1F3FB",sheet:[23,30]},{unified:"1F470-1F3FC",sheet:[23,31]},{unified:"1F470-1F3FD",sheet:[23,32]},{unified:"1F470-1F3FE",sheet:[23,33]},{unified:"1F470-1F3FF",sheet:[23,34]}],shortName:"bride_with_veil"},{name:"Man with Veil",unified:"1F470-200D-2642-FE0F",keywords:["man with veil","wedding","marriage"],sheet:[23,23],skinVariations:[{unified:"1F470-1F3FB-200D-2642-FE0F",sheet:[23,24]},{unified:"1F470-1F3FC-200D-2642-FE0F",sheet:[23,25]},{unified:"1F470-1F3FD-200D-2642-FE0F",sheet:[23,26]},{unified:"1F470-1F3FE-200D-2642-FE0F",sheet:[23,27]},{unified:"1F470-1F3FF-200D-2642-FE0F",sheet:[23,28]}],shortName:"man_with_veil"},{name:"Woman with Veil",unified:"1F470-200D-2640-FE0F",keywords:["woman with veil","wedding","marriage"],sheet:[23,17],skinVariations:[{unified:"1F470-1F3FB-200D-2640-FE0F",sheet:[23,18]},{unified:"1F470-1F3FC-200D-2640-FE0F",sheet:[23,19]},{unified:"1F470-1F3FD-200D-2640-FE0F",sheet:[23,20]},{unified:"1F470-1F3FE-200D-2640-FE0F",sheet:[23,21]},{unified:"1F470-1F3FF-200D-2640-FE0F",sheet:[23,22]}],shortName:"woman_with_veil"}
3,{name:"Pregnant Woman",unified:"1F930",keywords:["pregnant_woman","baby"],sheet:[40,45],skinVariations:[{unified:"1F930-1F3FB",sheet:[40,46]},{unified:"1F930-1F3FC",sheet:[40,47]},{unified:"1F930-1F3FD",sheet:[40,48]},{unified:"1F930-1F3FE",sheet:[40,49]},{unified:"1F930-1F3FF",sheet:[40,50]}],shortName:"pregnant_woman"},{name:"Pregnant Man",unified:"1FAC3",keywords:["pregnant man","baby","belly"],sheet:[54,45],hidden:["facebook"],skinVariations:[{unified:"1FAC3-1F3FB",sheet:[54,46],hidden:["facebook"]},{unified:"1FAC3-1F3FC",sheet:[54,47],hidden:["facebook"]},{unified:"1FAC3-1F3FD",sheet:[54,48],hidden:["facebook"]},{unified:"1FAC3-1F3FE",sheet:[54,49],hidden:["facebook"]},{unified:"1FAC3-1F3FF",sheet:[54,50],hidden:["facebook"]}],shortName:"pregnant_man"},{name:"Pregnant Person",unified:"1FAC4",keywords:["pregnant person","baby","belly"],sheet:[54,51],hidden:["facebook"],skinVariations:[{unified:"1FAC4-1F3FB",sheet:[54,52],hidden:["facebook"]},{unified:"1FAC4-1F3FC",sheet:[54,53],hidden:["facebook"]},{unified:"1FAC4-1F3FD",sheet:[54,54],hidden:["facebook"]},{unified:"1FAC4-1F3FE",sheet:[54,55],hidden:["facebook"]},{unified:"1FAC4-1F3FF",sheet:[54,56],hidden:["facebook"]}],shortName:"pregnant_person"},{name:"Breast-Feeding",unified:"1F931",keywords:["breast_feeding","nursing","baby"],sheet:[40,51],skinVariations:[{unified:"1F931-1F3FB",sheet:[40,52]},{unified:"1F931-1F3FC",sheet:[40,53]},{unified:"1F931-1F3FD",sheet:[40,54]},{unified:"1F931-1F3FE",sheet:[40,55]},{unified:"1F931-1F3FF",sheet:[40,56]}],shortName:"breast-feeding"},{name:"Woman Feeding Baby",unified:"1F469-200D-1F37C",keywords:["woman feeding baby","birth","food"],sheet:[17,31],skinVariations:[{unified:"1F469-1F3FB-200D-1F37C",sheet:[17,32]},{unified:"1F469-1F3FC-200D-1F37C",sheet:[17,33]},{unified:"1F469-1F3FD-200D-1F37C",sheet:[17,34]},{unified:"1F469-1F3FE-200D-1F37C",sheet:[17,35]},{unified:"1F469-1F3FF-200D-1F37C",sheet:[17,36]}],shortName:"woman_feeding_baby"},{name:"Man Feeding Baby",unified:"1F468-200D-1F37C",keywords:["man feeding baby","birth","food"],sheet:[13,58],skinVariations:[{unified:"1F468-1F3FB-200D-1F37C",sheet:[13,59]},{unified:"1F468-1F3FC-200D-1F37C",sheet:[13,60]},{unified:"1F468-1F3FD-200D-1F37C",sheet:[14,0]},{unified:"1F468-1F3FE-200D-1F37C",sheet:[14,1]},{unified:"1F468-1F3FF-200D-1F37C",sheet:[14,2]}],shortName:"man_feeding_baby"},{name:"Person Feeding Baby",unified:"1F9D1-200D-1F37C",keywords:["person feeding baby","birth","food"],sheet:[47,24],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F37C",sheet:[47,25]},{unified:"1F9D1-1F3FC-200D-1F37C",sheet:[47,26]},{unified:"1F9D1-1F3FD-200D-1F37C",sheet:[47,27]},{unified:"1F9D1-1F3FE-200D-1F37C",sheet:[47,28]},{unified:"1F9D1-1F3FF-200D-1F37C",sheet:[47,29]}],shortName:"person_feeding_baby"},{name:"Baby Angel",unified:"1F47C",keywords:["baby_angel","heaven","wings","halo"],sheet:[25,0],skinVariations:[{unified:"1F47C-1F3FB",sheet:[25,1]},{unified:"1F47C-1F3FC",sheet:[25,2]},{unified:"1F47C-1F3FD",sheet:[25,3]},{unified:"1F47C-1F3FE",sheet:[25,4]},{unified:"1F47C-1F3FF",sheet:[25,5]}],shortName:"angel"},{name:"Father Christmas",unified:"1F385",keywords:["santa_claus","festival","man","male","xmas","father christmas"],sheet:[7,8],skinVariations:[{unified:"1F385-1F3FB",sheet:[7,9]},{unified:"1F385-1F3FC",sheet:[7,10]},{unified:"1F385-1F3FD",sheet:[7,11]},{unified:"1F385-1F3FE",sheet:[7,12]},{unified:"1F385-1F3FF",sheet:[7,13]}],shortName:"santa"},{name:"Mother Christmas",unified:"1F936",keywords:["mrs_claus","woman","female","xmas","mother christmas"],sheet:[41,32],skinVariations:[{unified:"1F936-1F3FB",sheet:[41,33]},{unified:"1F936-1F3FC",sheet:[41,34]},{unified:"1F936-1F3FD",sheet:[41,35]},{unified:"1F936-1F3FE",sheet:[41,36]},{unified:"1F936-1F3FF",sheet:[41,37]}],shortNames:["mother_christmas"],shortName:"mrs_claus"},{name:"Mx Claus",unified:"1F9D1-200D-1F384",keywords:["mx claus","christmas"],sheet:[47,30],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F384",sheet:[47,31]},{unified:"1F9D1-1F3FC-200D-1F384",sheet:[47,32]},{unified:"1F9D1-1F3FD-200D-1F384",sheet:[47,33]},{unified:"1F9D1-1F3FE-200D-1F384",sheet:[47,34]},{unified:"1F9D1-1F3FF-200D-1F384",sheet:[47,35]}],shortName:"mx_claus"},{name:"Superhero",unified:"1F9B8",keywords:["superhero","marvel"],sheet:[45,31],skinVariations:[{unified:"1F9B8-1F3FB",sheet:[45,32]},{unified:"1F9B8-1F3FC",sheet:[45,33]},{unified:"1F9B8-1F3FD",sheet:[45,34]},{unified:"1F9B8-1F3FE",sheet:[45,35]},{unified:"1F9B8-1F3FF",sheet:[45,36]}],shortName:"superhero"},{name:"Man Superhero",unified:"1F9B8-200D-2642-FE0F",keywords:["man_superhero","man","male","good","hero","superpowers"],sheet:[45,25],skinVariations:[{unified:"1F9B8-1F3FB-200D-2642-FE0F",sheet:[45,26]},{unified:"1F9B8-1F3FC-200D-2642-FE0F",sheet:[45,27]},{unified:"1F9B8-1F3FD-200D-2642-FE0F",sheet:[45,28]},{unified:"1F9B8-1F3FE-200D-2642-FE0F",sheet:[45,29]},{unified:"1F9B8-1F3FF-200D-2642-FE0F",sheet:[45,30]}],shortName:"male_superhero"},{name:"Woman Superhero",unified:"1F9B8-200D-2640-FE0F",keywords:["woman_superhero","woman","female","good","heroine","superpowers"],sheet:[45,
319],skinVariations:[{unified:"1F9B8-1F3FB-200D-2640-FE0F",sheet:[45,20]},{unified:"1F9B8-1F3FC-200D-2640-FE0F",sheet:[45,21]},{unified:"1F9B8-1F3FD-200D-2640-FE0F",sheet:[45,22]},{unified:"1F9B8-1F3FE-200D-2640-FE0F",sheet:[45,23]},{unified:"1F9B8-1F3FF-200D-2640-FE0F",sheet:[45,24]}],shortName:"female_superhero"},{name:"Supervillain",unified:"1F9B9",keywords:["supervillain","marvel"],sheet:[45,49],skinVariations:[{unified:"1F9B9-1F3FB",sheet:[45,50]},{unified:"1F9B9-1F3FC",sheet:[45,51]},{unified:"1F9B9-1F3FD",sheet:[45,52]},{unified:"1F9B9-1F3FE",sheet:[45,53]},{unified:"1F9B9-1F3FF",sheet:[45,54]}],shortName:"supervillain"},{name:"Man Supervillain",unified:"1F9B9-200D-2642-FE0F",keywords:["man_supervillain","man","male","evil","bad","criminal","hero","superpowers"],sheet:[45,43],skinVariations:[{unified:"1F9B9-1F3FB-200D-2642-FE0F",sheet:[45,44]},{unified:"1F9B9-1F3FC-200D-2642-FE0F",sheet:[45,45]},{unified:"1F9B9-1F3FD-200D-2642-FE0F",sheet:[45,46]},{unified:"1F9B9-1F3FE-200D-2642-FE0F",sheet:[45,47]},{unified:"1F9B9-1F3FF-200D-2642-FE0F",sheet:[45,48]}],shortName:"male_supervillain"},{name:"Woman Supervillain",unified:"1F9B9-200D-2640-FE0F",keywords:["woman_supervillain","woman","female","evil","bad","criminal","heroine","superpowers"],sheet:[45,37],skinVariations:[{unified:"1F9B9-1F3FB-200D-2640-FE0F",sheet:[45,38]},{unified:"1F9B9-1F3FC-200D-2640-FE0F",sheet:[45,39]},{unified:"1F9B9-1F3FD-200D-2640-FE0F",sheet:[45,40]},{unified:"1F9B9-1F3FE-200D-2640-FE0F",sheet:[45,41]},{unified:"1F9B9-1F3FF-200D-2640-FE0F",sheet:[45,42]}],shortName:"female_supervillain"},{name:"Mage",unified:"1F9D9",keywords:["mage","magic"],sheet:[51,52],skinVariations:[{unified:"1F9D9-1F3FB",sheet:[51,53]},{unified:"1F9D9-1F3FC",sheet:[51,54]},{unified:"1F9D9-1F3FD",sheet:[51,55]},{unified:"1F9D9-1F3FE",sheet:[51,56]},{unified:"1F9D9-1F3FF",sheet:[51,57]}],shortName:"mage",obsoletedBy:"1F9D9-200D-2640-FE0F"},{name:"Man Mage",unified:"1F9D9-200D-2642-FE0F",keywords:["man_mage","man","male","mage","sorcerer"],sheet:[51,46],skinVariations:[{unified:"1F9D9-1F3FB-200D-2642-FE0F",sheet:[51,47]},{unified:"1F9D9-1F3FC-200D-2642-FE0F",sheet:[51,48]},{unified:"1F9D9-1F3FD-200D-2642-FE0F",sheet:[51,49]},{unified:"1F9D9-1F3FE-200D-2642-FE0F",sheet:[51,50]},{unified:"1F9D9-1F3FF-200D-2642-FE0F",sheet:[51,51]}],shortName:"male_mage"},{name:"Woman Mage",unified:"1F9D9-200D-2640-FE0F",obsoletes:"1F9D9",keywords:["woman_mage","woman","female","mage","witch"],sheet:[51,40],skinVariations:[{unified:"1F9D9-1F3FB-200D-2640-FE0F",sheet:[51,41]},{unified:"1F9D9-1F3FC-200D-2640-FE0F",sheet:[51,42]},{unified:"1F9D9-1F3FD-200D-2640-FE0F",sheet:[51,43]},{unified:"1F9D9-1F3FE-200D-2640-FE0F",sheet:[51,44]},{unified:"1F9D9-1F3FF-200D-2640-FE0F",sheet:[51,45]}],shortName:"female_mage"},{name:"Fairy",unified:"1F9DA",keywords:["fairy","wings","magical"],sheet:[52,9],skinVariations:[{unified:"1F9DA-1F3FB",sheet:[52,10]},{unified:"1F9DA-1F3FC",sheet:[52,11]},{unified:"1F9DA-1F3FD",sheet:[52,12]},{unified:"1F9DA-1F3FE",sheet:[52,13]},{unified:"1F9DA-1F3FF",sheet:[52,14]}],shortName:"fairy",obsoletedBy:"1F9DA-200D-2640-FE0F"},{name:"Man Fairy",unified:"1F9DA-200D-2642-FE0F",keywords:["man_fairy","man","male"],sheet:[52,3],skinVariations:[{unified:"1F9DA-1F3FB-200D-2642-FE0F",sheet:[52,4]},{unified:"1F9DA-1F3FC-200D-2642-FE0F",sheet:[52,5]},{unified:"1F9DA-1F3FD-200D-2642-FE0F",sheet:[52,6]},{unified:"1F9DA-1F3FE-200D-2642-FE0F",sheet:[52,7]},{unified:"1F9DA-1F3FF-200D-2642-FE0F",sheet:[52,8]}],shortName:"male_fairy"},{name:"Woman Fairy",unified:"1F9DA-200D-2640-FE0F",obsoletes:"1F9DA",keywords:["woman_fairy","woman","female"],sheet:[51,58],skinVariations:[{unified:"1F9DA-1F3FB-200D-2640-FE0F",sheet:[51,59]},{unified:"1F9DA-1F3FC-200D-2640-FE0F",sheet:[51,60]},{unified:"1F9DA-1F3FD-200D-2640-FE0F",sheet:[52,0]},{unified:"1F9DA-1F3FE-200D-2640-FE0F",sheet:[52,1]},{unified:"1F9DA-1F3FF-200D-2640-FE0F",sheet:[52,2]}],shortName:"female_fairy"},{name:"Vampire",unified:"1F9DB",keywords:["vampire","blood","twilight"],sheet:[52,27],skinVariations:[{unified:"1F9DB-1F3FB",sheet:[52,28]},{unified:"1F9DB-1F3FC",sheet:[52,29]},{unified:"1F9DB-1F3FD",sheet:[52,30]},{unified:"1F9DB-1F3FE",sheet:[52,31]},{unified:"1F9DB-1F3FF",sheet:[52,32]}],shortName:"vampire",obsoletedBy:"1F9DB-200D-2640-FE0F"},{name:"Man Vampire",unified:"1F9DB-200D-2642-FE0F",keywords:["man_vampire","man","male","dracula"],sheet:[52,21],skinVariations:[{unified:"1F9DB-1F3FB-200D-2642-FE0F",sheet:[52,22]}
3,{unified:"1F9DB-1F3FC-200D-2642-FE0F",sheet:[52,23]},{unified:"1F9DB-1F3FD-200D-2642-FE0F",sheet:[52,24]},{unified:"1F9DB-1F3FE-200D-2642-FE0F",sheet:[52,25]},{unified:"1F9DB-1F3FF-200D-2642-FE0F",sheet:[52,26]}],shortName:"male_vampire"},{name:"Woman Vampire",unified:"1F9DB-200D-2640-FE0F",obsoletes:"1F9DB",keywords:["woman_vampire","woman","female"],sheet:[52,15],skinVariations:[{unified:"1F9DB-1F3FB-200D-2640-FE0F",sheet:[52,16]},{unified:"1F9DB-1F3FC-200D-2640-FE0F",sheet:[52,17]},{unified:"1F9DB-1F3FD-200D-2640-FE0F",sheet:[52,18]},{unified:"1F9DB-1F3FE-200D-2640-FE0F",sheet:[52,19]},{unified:"1F9DB-1F3FF-200D-2640-FE0F",sheet:[52,20]}],shortName:"female_vampire"},{name:"Merperson",unified:"1F9DC",keywords:["merperson","sea"],sheet:[52,45],skinVariations:[{unified:"1F9DC-1F3FB",sheet:[52,46]},{unified:"1F9DC-1F3FC",sheet:[52,47]},{unified:"1F9DC-1F3FD",sheet:[52,48]},{unified:"1F9DC-1F3FE",sheet:[52,49]},{unified:"1F9DC-1F3FF",sheet:[52,50]}],shortName:"merperson",obsoletedBy:"1F9DC-200D-2642-FE0F"},{name:"Merman",unified:"1F9DC-200D-2642-FE0F",obsoletes:"1F9DC",keywords:["merman","man","male","triton"],sheet:[52,39],skinVariations:[{unified:"1F9DC-1F3FB-200D-2642-FE0F",sheet:[52,40]},{unified:"1F9DC-1F3FC-200D-2642-FE0F",sheet:[52,41]},{unified:"1F9DC-1F3FD-200D-2642-FE0F",sheet:[52,42]},{unified:"1F9DC-1F3FE-200D-2642-FE0F",sheet:[52,43]},{unified:"1F9DC-1F3FF-200D-2642-FE0F",sheet:[52,44]}],shortName:"merman"},{name:"Mermaid",unified:"1F9DC-200D-2640-FE0F",keywords:["mermaid","woman","female","merwoman","ariel"],sheet:[52,33],skinVariations:[{unified:"1F9DC-1F3FB-200D-2640-FE0F",sheet:[52,34]},{unified:"1F9DC-1F3FC-200D-2640-FE0F",sheet:[52,35]},{unified:"1F9DC-1F3FD-200D-2640-FE0F",sheet:[52,36]},{unified:"1F9DC-1F3FE-200D-2640-FE0F",sheet:[52,37]},{unified:"1F9DC-1F3FF-200D-2640-FE0F",sheet:[52,38]}],shortName:"mermaid"},{name:"Elf",unified:"1F9DD",keywords:["elf","magical"],sheet:[53,2],skinVariations:[{unified:"1F9DD-1F3FB",sheet:[53,3]},{unified:"1F9DD-1F3FC",sheet:[53,4]},{unified:"1F9DD-1F3FD",sheet:[53,5]},{unified:"1F9DD-1F3FE",sheet:[53,6]},{unified:"1F9DD-1F3FF",sheet:[53,7]}],shortName:"elf",obsoletedBy:"1F9DD-200D-2642-FE0F"},{name:"Man Elf",unified:"1F9DD-200D-2642-FE0F",obsoletes:"1F9DD",keywords:["man_elf","man","male"],sheet:[52,57],skinVariations:[{unified:"1F9DD-1F3FB-200D-2642-FE0F",sheet:[52,58]},{unified:"1F9DD-1F3FC-200D-2642-FE0F",sheet:[52,59]},{unified:"1F9DD-1F3FD-200D-2642-FE0F",sheet:[52,60]},{unified:"1F9DD-1F3FE-200D-2642-FE0F",sheet:[53,0]},{unified:"1F9DD-1F3FF-200D-2642-FE0F",sheet:[53,1]}],shortName:"male_elf"},{name:"Woman Elf",unified:"1F9DD-200D-2640-FE0F",keywords:["woman_elf","woman","female"],sheet:[52,51],skinVariations:[{unified:"1F9DD-1F3FB-200D-2640-FE0F",sheet:[52,52]},{unified:"1F9DD-1F3FC-200D-2640-FE0F",sheet:[52,53]},{unified:"1F9DD-1F3FD-200D-2640-FE0F",sheet:[52,54]},{unified:"1F9DD-1F3FE-200D-2640-FE0F",sheet:[52,55]},{unified:"1F9DD-1F3FF-200D-2640-FE0F",sheet:[52,56]}],shortName:"female_elf"},{name:"Genie",unified:"1F9DE",keywords:["genie","magical","wishes"],sheet:[53,10],shortName:"genie",obsoletedBy:"1F9DE-200D-2642-FE0F"},{name:"Man Genie",unified:"1F9DE-200D-2642-FE0F",obsoletes:"1F9DE",keywords:["man_genie","man","male"],sheet:[53,9],shortName:"male_genie"},{name:"Woman Genie",unified:"1F9DE-200D-2640-FE0F",keywords:["woman_genie","woman","female"],sheet:[53,8],shortName:"female_genie"},{name:"Zombie",unified:"1F9DF",keywords:["zombie","dead"],sheet:[53,13],shortName:"zombie",obsoletedBy:"1F9DF-200D-2642-FE0F"},{name:"Man Zombie",unified:"1F9DF-200D-2642-FE0F",obsoletes:"1F9DF",keywords:["man_zombie","man","male","dracula","undead","walking dead"],sheet:[53,12],shortName:"male_zombie"},{name:"Woman Zombie",unified:"1F9DF-200D-2640-FE0F",keywords:["woman_zombie","woman","female","undead","walking dead"],sheet:[53,11],shortName:"female_zombie"},{name:"Troll",unified:"1F9CC",keywords:["troll","mystical","monster"],sheet:[46,17],hidden:["facebook"],shortName:"troll"},{name:"Face Massage",unified:"1F486",keywords:["person_getting_massage","relax"],sheet:[26,10],skinVariations:[{unified:"1F486-1F3FB",sheet:[26,11]},{unified:"1F486-1F3FC",sheet:[26,12]},{unified:"1F486-1F3FD",sheet:[26,13]},{unified:"1F486-1F3FE",sheet:[26,14]},{unified:"1F486-1F3FF",sheet:[26,15]}],shortName:"massage",obsoletedBy:"1F486-200D-2640-FE0F"},{name:"Man Getting Massage",unified:"1F486-200D-2642-FE0F",keywords:["man_getting_massage","male","boy","man","head"],sheet:[26,4],skinVariations:[{unified:"1F486-1F3FB-200D-2642-FE0F",sheet:[26,5]},{unified:"1F486-1F3FC-200D-2642-FE0F",sheet:[26,6]},{unified:"1F486-1F3FD-200D-2642-FE0F",sheet:[26,7]},{unified:"1F486-1F3FE-200D-2642-FE0F",sheet:[26,8]},{unified:"1F486-1F3FF-200D-2642-FE0F",sheet:[26,9]}],shortName:"man-getting-massage"},{name:"Woman Getting Massage",unified:"1F486-200D-2640-FE0F",obsoletes:"1F486",keywords:["woman_getting_massage","female","girl","woman","head"],sheet:[25,59],skinVariations:[{unified:"1F486-1F3FB-200D-2640-FE0F",sheet:[25,60]},{unified:"1F486-1F3FC-200D-2640-FE0F",sheet:[26,0]},{unified:"1F486-1F3FD-200D-2640-FE0F",sheet:[26,1]},{unified:"1F486-1F3FE-200D-2640-FE0F",sheet:[26,2]},{unified:"1F486-1F3FF-200D-2640-FE0F",sheet:[26,3]}],shortName:"woman-getting-massage"},{name:"Haircut",unified:"1F487",keywords:["person_getting_haircut","hairstyle"],sheet:[26,28],skinVariations:[{unified:"1F487-1F3FB",sheet:[26,29]},{unified:"1F487-1F3FC",sheet:[26,30]},{unified:"1F487-1F3FD",sheet:[26,31]},{unified:"1F487-1F3FE",sheet:[26,32]},{unified:"1F487-1F3FF",sheet:[26,33]}],shortName:"haircut",obsoletedBy:"1F487-200D-2640-FE0F"},{name:"Man Getting Haircut",unified:"1F487-200D-2642-FE0F",keywords:["man_getting_haircut","male","boy","man"],sheet:[26,22],skinVariations:[{unified:"1F487-1F3FB-200D-2642-FE0F",sheet:[26,23]},{unified:"1F487-1F3FC-200D-2642-FE0F",sheet:[26,24]},{unified:"1F487-1F3FD-200D-2642-FE0F",sheet:[26,25]},{unified:"1F487-1F3FE-200D-2642-FE0F",sheet:[26,26]},{unified:"1F487-1F3FF-200D-2642-FE0F",sheet:[26,27]}],shortName:"man-getting-haircut"},{name:"Woman Getting Haircut",unified:"1F487-200D-2640-FE0F",obsoletes:"1F487",keywords:["woman_getting_haircut","female","girl","woman"],sheet:[26,16],skinVariations:[{unified:"1F487-1F3FB-200D-2640-FE0F",sheet:[26,17]},{unified:"1F487-1F3FC-200D-2640-FE0F",sheet:[26,18]},{unified:"1F487-1F3FD-200D-2640-FE0F",sheet:[26,19]},{unified:"1F487-1F3FE-200D-2640-FE0F",sheet:[26,20]},{unified:"1F487-1F3FF-200D-2640-FE0F",sheet:[26,21]}],shortName:"woman-getting-haircut"},{name:"Pedestrian",unified:"1F6B6",keywords:["person_walking","move"],sheet:[37,27],skinVariations:[{unified:"1F6B6-1F3FB",sheet:[37,28]},{unified:"1F6B6-1F3FC",sheet:[37,29]},{unified:"1F6B6-1F3FD",sheet:[37,30]},{unified:"1F6B6-1F3FE",sheet:[37,31]},{unified:"1F6B6-1F3FF",sheet:[37,32]}],shortName:"walking",obsoletedBy:"1F6B6-200D-2642-FE0F"},{name:"Man Walking",unified:"1F6B6-200D-2642-FE0F",obsoletes:"1F6B6",keywords:["man_walking","human","feet","steps"],sheet:[37,21],skinVariations:[{unified:"1F6B6-1F3FB-200D-2642-FE0F",sheet:[37,22]},{unified:"1F6B6-1F3FC-200D-2642-FE0F",sheet:[37,23]},{unified:"1F6B6-1F3FD-200D-2642-FE0F",sheet:[37,24]},{unified:"1F6B6-1F3FE-200D-2642-FE0F",sheet:[37,25]},{unified:"1F6B6-1F3FF-200D-2642-FE0F",sheet:[37,26]}],shortName:"man-walking"},{name:"Woman Walking",unified:"1F6B6-200D-2640-FE0F",keywords:["woman_walking","human","feet","steps","woman","female"],sheet:[37,15],skinVariations:[{unified:"1F6B6-1F3FB-200D-2640-FE0F",sheet:[37,16]},{unified:"1F6B6-1F3FC-200D-2640-FE0F",sheet:[37,17]},{unified:"1F6B6-1F3FD-200D-2640-FE0F",sheet:[37,18]},{unified:"1F6B6-1F3FE-200D-2640-FE0F",sheet:[37,19]},{unified:"1F6B6-1F3FF-200D-2640-FE0F",sheet:[37,20]}],shortName:"woman-walking"},{name:"Standing Person",unified:"1F9CD",keywords:["person_standing","still"],sheet:[46,30],skinVariations:[{unified:"1F9CD-1F3FB",sheet:[46,31]},{unified:"1F9CD-1F3FC",sheet:[46,32]},{unified:"1F9CD-1F3FD",sheet:[46,33]},{unified:"1F9CD-1F3FE",sheet:[46,34]},{unified:"1F9CD-1F3FF",sheet:[46,35]}],shortName:"standing_person"},{name:"Man Standing",unified:"1F9CD-200D-2642-FE0F",keywords:["man_standing","still"],sheet:[46,24],skinVariations:[{unified:"1F9CD-1F3FB-200D-2642-FE0F",sheet:[46,25]},{unified:"1F9CD-1F3FC-200D-2642-FE0F",sheet:[46,26]},{unified:"1F9CD-1F3FD-200D-2642-FE0F",sheet:[46,27]},{unified:"1F9CD-1F3FE-200D-2642-FE0F",sheet:[46,28]},{unified:"1F9CD-1F3FF-200D-2642-FE0F",sheet:[46,29]}],shortName:"man_standing"},{name:"Woman Standing",unified:"1F9CD-200D-2640-FE0F",keywords:["woman_standing","still"],sheet:[46,18],skinVariations:[{unified:"1F9CD-1F3FB-200D-2640-FE0F",sheet:[46,19]},{unified:"1F9CD-1F3FC-200D-2640-FE0F",sheet:[46,20]},{unified:"1F9CD-1F3FD-200D-2640-FE0F",sheet:[46,21]},{unified:"1F9CD-1F3FE-200D-2640-FE0F",sheet:[46,22]},{unified:"1F9CD-1F3FF-200D-2640-FE0F",sheet:[46,23]}],shortName:"woman_standing"},{name:"Kneeling Person",unified:"1F9CE",keywords:["person_kneeling","pray","respectful"],sheet:[46,48],skinVariations:[{unified:"1F9CE-1F3FB",sheet:[46,49]},{unified:"1F9CE-1F3FC",sheet:[46,50]},{unified:"1F9CE-1F3FD",sheet:[46,51]},{unified:"1F9CE-1F3FE",sheet:[46,52]},{unified:"1F9CE-1F3FF",sheet:[46,53]}],shortName:"kneeling_person"},{name:"Man Kneeling",unified:"1F9CE-200D-2642-FE0F",keywords:["man_kneeling","pray","respectful"],sheet:[46,42],skinVariations:[{unified:"1F9CE-1F3FB-200D-2642-FE0F",sheet:[46,43]},{unified:"1F9CE-1F3FC-200D-2642-FE0F",sheet:[46,44]},{unified:"1F9CE-1F3FD-200D-2642-FE0F",sheet:[46,45]},{unified:"1F9CE-1F3FE-200D-2642-FE0F",sheet:[46,46]},{unified:"1F9CE-1F3FF-200D-2642-FE0F",sheet:[46,47]}],shortName:"man_kneeling"},{name:"Woman Kneeling",unified:"1F9CE-200D-2640-FE0F",keywords:["woman_kneeling","respectful","pray"],sheet:[46,36],skinVariations:[{unified:"1F9CE-1F3FB-200D-2640-FE0F",sheet:[46,37]},{unified:"1F9CE-1F3FC-200D-2640-FE0F",sheet:[46,38]},{unified:"1F9CE-1F3FD-200D-2640-FE0F",sheet:[46,39]},{unified:"1F9CE-1F3FE-200D-2640-FE0F",sheet:[46,40]},{unified:"1F9CE-1F3FF-200D-2640-FE0F",sheet:[46,41]}],shortName:"woman_kneeling"},{name:"Person with White Cane",unified:"1F9D1-200D-1F9AF",keywords:["person_with_probing_cane","blind"],sheet:[49,6],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F9AF",sheet:[49,7]},{unified:"1F9D1-1F3FC-200D-1F9AF",sheet:[49,8]},{unified:"1F9D1-1F3FD-200D-1F9AF",sheet:[49,9]},{unified:"1F9D1-1F3FE-200D-1F9AF",sheet:[49,10]},{unified:"1F9D1-1F3FF-200D-1F9AF",sheet:[49,11]}],shortName:"person_with_probing_cane"},{name:"Man with White Cane",unified:"1F468-200D-1F9AF",keywords:["man_with_probing_cane","blind"],sheet:[15,23],skinVariations:[{unified:"1F468-1F3FB-200D-1F9AF",sheet:[15,24]},{unified:"1F468-1F3FC-200D-1F9AF",sheet:[15,25]},{unified:"1F468-1F3FD-200D-1F9AF",sheet:[15,26]},{unified:"1F468-1F3FE-200D-1F9AF",sheet:[15,27]},{unified:"1F468-1F3FF-200D-1F9AF",sheet:[15,28]}],shortName:"man_with_probing_cane"},{name:"Woman with White Cane",unified:"1F469-200D-1F9AF",keywords:["woman_with_probing_cane","blind"],sheet:[18,52],skinVariations:[{unified:"1F469-1F3FB-200D-1F9AF",sheet:[18,53]},{unified:"1F469-1F3FC-200D-1F9AF",sheet:[18,54]},{unified:"1F469-1F3FD-200D-1F9AF",sheet:[18,55]},{unified:"1F469-1F3FE-200D-1F9AF",sheet:[18,56]},{unified:"1F469-1F3FF-200D-1F9AF",sheet:[18,57]}],shortName:"woman_with_probing_cane"},{name:"Person in Motorized Wheelchair",unified:"1F9D1-200D-1F9BC",keywords:["person_in_motorized_wheelchair","disability","accessibility"],sheet:[49,36],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F9BC",sheet:[49,37]},{unified:"1F9D1-1F3FC-200D-1F9BC",sheet:[49,38]},{unified:"1F9D1-1F3FD-200D-1F9BC",sheet:[49,39]},{unified:"1F9D1-1F3FE-200D-1F9BC",sheet:[49,40]},{unified:"1F9D1-1F3FF-200D-1F9BC",sheet:[49,41]}],shortName:"person_in_motorized_wheelchair"}
3,{name:"Man in Motorized Wheelchair",unified:"1F468-200D-1F9BC",keywords:["man_in_motorized_wheelchair","disability","accessibility"],sheet:[15,53],skinVariations:[{unified:"1F468-1F3FB-200D-1F9BC",sheet:[15,54]},{unified:"1F468-1F3FC-200D-1F9BC",sheet:[15,55]},{unified:"1F468-1F3FD-200D-1F9BC",sheet:[15,56]},{unified:"1F468-1F3FE-200D-1F9BC",sheet:[15,57]},{unified:"1F468-1F3FF-200D-1F9BC",sheet:[15,58]}],shortName:"man_in_motorized_wheelchair"},{name:"Woman in Motorized Wheelchair",unified:"1F469-200D-1F9BC",keywords:["woman_in_motorized_wheelchair","disability","accessibility"],sheet:[19,21],skinVariations:[{unified:"1F469-1F3FB-200D-1F9BC",sheet:[19,22]},{unified:"1F469-1F3FC-200D-1F9BC",sheet:[19,23]},{unified:"1F469-1F3FD-200D-1F9BC",sheet:[19,24]},{unified:"1F469-1F3FE-200D-1F9BC",sheet:[19,25]},{unified:"1F469-1F3FF-200D-1F9BC",sheet:[19,26]}],shortName:"woman_in_motorized_wheelchair"},{name:"Person in Manual Wheelchair",unified:"1F9D1-200D-1F9BD",keywords:["person_in_manual_wheelchair","disability","accessibility"],sheet:[49,42],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F9BD",sheet:[49,43]},{unified:"1F9D1-1F3FC-200D-1F9BD",sheet:[49,44]},{unified:"1F9D1-1F3FD-200D-1F9BD",sheet:[49,45]},{unified:"1F9D1-1F3FE-200D-1F9BD",sheet:[49,46]},{unified:"1F9D1-1F3FF-200D-1F9BD",sheet:[49,47]}],shortName:"person_in_manual_wheelchair"},{name:"Man in Manual Wheelchair",unified:"1F468-200D-1F9BD",keywords:["man_in_manual_wheelchair","disability","accessibility"],sheet:[15,59],skinVariations:[{unified:"1F468-1F3FB-200D-1F9BD",sheet:[15,60]},{unified:"1F468-1F3FC-200D-1F9BD",sheet:[16,0]},{unified:"1F468-1F3FD-200D-1F9BD",sheet:[16,1]},{unified:"1F468-1F3FE-200D-1F9BD",sheet:[16,2]},{unified:"1F468-1F3FF-200D-1F9BD",sheet:[16,3]}],shortName:"man_in_manual_wheelchair"},{name:"Woman in Manual Wheelchair",unified:"1F469-200D-1F9BD",keywords:["woman_in_manual_wheelchair","disability","accessibility"],sheet:[19,27],skinVariations:[{unified:"1F469-1F3FB-200D-1F9BD",sheet:[19,28]},{unified:"1F469-1F3FC-200D-1F9BD",sheet:[19,29]},{unified:"1F469-1F3FD-200D-1F9BD",sheet:[19,30]},{unified:"1F469-1F3FE-200D-1F9BD",sheet:[19,31]},{unified:"1F469-1F3FF-200D-1F9BD",sheet:[19,32]}],shortName:"woman_in_manual_wheelchair"},{name:"Runner",unified:"1F3C3",keywords:["person_running","move"],sheet:[8,26],skinVariations:[{unified:"1F3C3-1F3FB",sheet:[8,27]},{unified:"1F3C3-1F3FC",sheet:[8,28]},{unified:"1F3C3-1F3FD",sheet:[8,29]},{unified:"1F3C3-1F3FE",sheet:[8,30]},{unified:"1F3C3-1F3FF",sheet:[8,31]}],shortNames:["running"],shortName:"runner",obsoletedBy:"1F3C3-200D-2642-FE0F"},{name:"Man Running",unified:"1F3C3-200D-2642-FE0F",obsoletes:"1F3C3",keywords:["man_running","man","walking","exercise","race","running"],sheet:[8,20],skinVariations:[{unified:"1F3C3-1F3FB-200D-2642-FE0F",sheet:[8,21]},{unified:"1F3C3-1F3FC-200D-2642-FE0F",sheet:[8,22]},{unified:"1F3C3-1F3FD-200D-2642-FE0F",sheet:[8,23]},{unified:"1F3C3-1F3FE-200D-2642-FE0F",sheet:[8,24]},{unified:"1F3C3-1F3FF-200D-2642-FE0F",sheet:[8,25]}],shortName:"man-running"},{name:"Woman Running",unified:"1F3C3-200D-2640-FE0F",keywords:["woman_running","woman","walking","exercise","race","running","female"],sheet:[8,14],skinVariations:[{unified:"1F3C3-1F3FB-200D-2640-FE0F",sheet:[8,15]},{unified:"1F3C3-1F3FC-200D-2640-FE0F",sheet:[8,16]},{unified:"1F3C3-1F3FD-200D-2640-FE0F",sheet:[8,17]},{unified:"1F3C3-1F3FE-200D-2640-FE0F",sheet:[8,18]},{unified:"1F3C3-1F3FF-200D-2640-FE0F",sheet:[8,19]}],shortName:"woman-running"},{name:"Dancer",unified:"1F483",keywords:["woman_dancing","female","girl","woman","fun"],sheet:[25,46],skinVariations:[{unified:"1F483-1F3FB",sheet:[25,47]},{unified:"1F483-1F3FC",sheet:[25,48]},{unified:"1F483-1F3FD",sheet:[25,49]},{unified:"1F483-1F3FE",sheet:[25,50]},{unified:"1F483-1F3FF",sheet:[25,51]}],shortName:"dancer"},{name:"Man Dancing",unified:"1F57A",keywords:["man_dancing","male","boy","fun","dancer"],sheet:[31,26],skinVariations:[{unified:"1F57A-1F3FB",sheet:[31,27]},{unified:"1F57A-1F3FC",sheet:[31,28]},{unified:"1F57A-1F3FD",sheet:[31,29]},{unified:"1F57A-1F3FE",sheet:[31,30]},{unified:"1F57A-1F3FF",sheet:[31,31]}],shortName:"man_dancing"},{name:"Person in Suit Levitating",unified:"1F574-FE0F",keywords:["man_in_suit_levitating","suit","business","levitate","hover","jump"],sheet:[30,59],skinVariations:[{unified:"1F574-1F3FB",sheet:[30,60]},{unified:"1F574-1F3FC",sheet:[31,0]},{unified:"1F574-1F3FD",sheet:[31,1]},{unified:"1F574-1F3FE",sheet:[31,2]},{unified:"1F574-1F3FF",sheet:[31,3]}],shortName:"man_in_business_suit_levitating"},{name:"Woman with Bunny Ears",unified:"1F46F",keywords:["people_with_bunny_ears","perform","costume"],sheet:[23,16],shortName:"dancers",obsoletedBy:"1F46F-200D-2640-FE0F"},{name:"Men with Bunny Ears",unified:"1F46F-200D-2642-FE0F",keywords:["men_with_bunny_ears","male","bunny","men","boys"],sheet:[23,15],shortNames:["man-with-bunny-ears-partying"],shortName:"men-with-bunny-ears-partying"},{name:"Women with Bunny Ears",unified:"1F46F-200D-2640-FE0F",obsoletes:"1F46F",keywords:["women_with_bunny_ears","female","bunny","women","girls"],sheet:[23,14],short
3Names:["woman-with-bunny-ears-partying"],shortName:"women-with-bunny-ears-partying"},{name:"Person in Steamy Room",unified:"1F9D6",keywords:["person_in_steamy_room","relax","spa"],sheet:[50,59],skinVariations:[{unified:"1F9D6-1F3FB",sheet:[50,60]},{unified:"1F9D6-1F3FC",sheet:[51,0]},{unified:"1F9D6-1F3FD",sheet:[51,1]},{unified:"1F9D6-1F3FE",sheet:[51,2]},{unified:"1F9D6-1F3FF",sheet:[51,3]}],shortName:"person_in_steamy_room",obsoletedBy:"1F9D6-200D-2642-FE0F"},{name:"Man in Steamy Room",unified:"1F9D6-200D-2642-FE0F",obsoletes:"1F9D6",keywords:["man_in_steamy_room","male","man","spa","steamroom","sauna"],sheet:[50,53],skinVariations:[{unified:"1F9D6-1F3FB-200D-2642-FE0F",sheet:[50,54]},{unified:"1F9D6-1F3FC-200D-2642-FE0F",sheet:[50,55]},{unified:"1F9D6-1F3FD-200D-2642-FE0F",sheet:[50,56]},{unified:"1F9D6-1F3FE-200D-2642-FE0F",sheet:[50,57]},{unified:"1F9D6-1F3FF-200D-2642-FE0F",sheet:[50,58]}],shortName:"man_in_steamy_room"},{name:"Woman in Steamy Room",unified:"1F9D6-200D-2640-FE0F",keywords:["woman_in_steamy_room","female","woman","spa","steamroom","sauna"],sheet:[50,47],skinVariations:[{unified:"1F9D6-1F3FB-200D-2640-FE0F",sheet:[50,48]},{unified:"1F9D6-1F3FC-200D-2640-FE0F",sheet:[50,49]},{unified:"1F9D6-1F3FD-200D-2640-FE0F",sheet:[50,50]},{unified:"1F9D6-1F3FE-200D-2640-FE0F",sheet:[50,51]},{unified:"1F9D6-1F3FF-200D-2640-FE0F",sheet:[50,52]}],shortName:"woman_in_steamy_room"},{name:"Person Climbing",unified:"1F9D7",keywords:["person_climbing","sport"],sheet:[51,16],skinVariations:[{unified:"1F9D7-1F3FB",sheet:[51,17]},{unified:"1F9D7-1F3FC",sheet:[51,18]},{unified:"1F9D7-1F3FD",sheet:[51,19]},{unified:"1F9D7-1F3FE",sheet:[51,20]},{unified:"1F9D7-1F3FF",sheet:[51,21]}],shortName:"person_climbing",obsoletedBy:"1F9D7-200D-2640-FE0F"},{name:"Man Climbing",unified:"1F9D7-200D-2642-FE0F",keywords:["man_climbing","sports","hobby","man","male","rock"],sheet:[51,10],skinVariations:[{unified:"1F9D7-1F3FB-200D-2642-FE0F",sheet:[51,11]},{unified:"1F9D7-1F3FC-200D-2642-FE0F",sheet:[51,12]},{unified:"1F9D7-1F3FD-200D-2642-FE0F",sheet:[51,13]},{unified:"1F9D7-1F3FE-200D-2642-FE0F",sheet:[51,14]},{unified:"1F9D7-1F3FF-200D-2642-FE0F",sheet:[51,15]}],shortName:"man_climbing"},{name:"Woman Climbing",unified:"1F9D7-200D-2640-FE0F",obsoletes:"1F9D7",keywords:["woman_climbing","sports","hobby","woman","female","rock"],sheet:[51,4],skinVariations:[{unified:"1F9D7-1F3FB-200D-2640-FE0F",sheet:[51,5]},{unified:"1F9D7-1F3FC-200D-2640-FE0F",sheet:[51,6]},{unified:"1F9D7-1F3FD-200D-2640-FE0F",sheet:[51,7]},{unified:"1F9D7-1F3FE-200D-2640-FE0F",sheet:[51,8]},{unified:"1F9D7-1F3FF-200D-2640-FE0F",sheet:[51,9]}],shortName:"woman_climbing"},{name:"Fencer",unified:"1F93A",keywords:["person_fencing","sports","fencing","sword"],sheet:[42,31],shortName:"fencer"},{name:"Horse Racing",unified:"1F3C7",keywords:["horse_racing","animal","betting","competition","gambling","luck"],sheet:[8,52],skinVariations:[{unified:"1F3C7-1F3FB",sheet:[8,53]},{unified:"1F3C7-1F3FC",sheet:[8,54]},{unified:"1F3C7-1F3FD",sheet:[8,55]},{unified:"1F3C7-1F3FE",sheet:[8,56]},{unified:"1F3C7-1F3FF",sheet:[8,57]}],shortName:"horse_racing"},{name:"Skier",unified:"26F7-FE0F",keywords:["skier","sports","winter","snow"],sheet:[58,1],shortName:"skier"},{name:"Snowboarder",unified:"1F3C2",keywords:["snowboarder","sports","winter"],sheet:[8,8],skinVariations:[{unified:"1F3C2-1F3FB",sheet:[8,9]},{unified:"1F3C2-1F3FC",sheet:[8,10]},{unified:"1F3C2-1F3FD",sheet:[8,11]},{unified:"1F3C2-1F3FE",sheet:[8,12]},{unified:"1F3C2-1F3FF",sheet:[8,13]}],shortName:"snowboarder"},{name:"Person Golfing",unified:"1F3CC-FE0F",keywords:["person_golfing","sports","business"],sheet:[9,47],skinVariations:[{unified:"1F3CC-1F3FB",sheet:[9,48]},{unified:"1F3CC-1F3FC",sheet:[9,49]},{unified:"1F3CC-1F3FD",sheet:[9,50]},{unified:"1F3CC-1F3FE",sheet:[9,51]},{unified:"1F3CC-1F3FF",sheet:[9,52]}],shortName:"golfer",obsoletedBy:"1F3CC-FE0F-200D-2642-FE0F"},{name:"Man Golfing",unified:"1F3CC-FE0F-200D-2642-FE0F",obsoletes:"1F3CC-FE0F",keywords:["man_golfing","sport"],sheet:[9,41],hidden:["facebook"],skinVariations:[{unified:"1F3CC-1F3FB-200D-2642-FE0F",sheet:[9,42]},{unified:"1F3CC-1F3FC-200D-2642-FE0F",sheet:[9,43]},{unified:"1F3CC-1F3FD-200D-2642-FE0F",sheet:[9,44]},{unified:"1F3CC-1F3FE-200D-2642-FE0F",sheet:[9,45]},{unified:"1F3CC-1F3FF-200D-2642-FE0F",sheet:[9,46]}],shortName:"man-golfing"},{name:"Woman Golfing",unified:"1F3CC-FE0F-200D-2640-FE0F",keywords:["woman_golfing","sports","business","woman","female"],sheet:[9,35],hidden:["facebook"],skinVariations:[{unified:"1F3CC-1F3FB-200D-2640-FE0F",sheet:[9,3
36]},{unified:"1F3CC-1F3FC-200D-2640-FE0F",sheet:[9,37]},{unified:"1F3CC-1F3FD-200D-2640-FE0F",sheet:[9,38]},{unified:"1F3CC-1F3FE-200D-2640-FE0F",sheet:[9,39]},{unified:"1F3CC-1F3FF-200D-2640-FE0F",sheet:[9,40]}],shortName:"woman-golfing"},{name:"Surfer",unified:"1F3C4",keywords:["person_surfing","sport","sea"],sheet:[8,44],skinVariations:[{unified:"1F3C4-1F3FB",sheet:[8,45]},{unified:"1F3C4-1F3FC",sheet:[8,46]},{unified:"1F3C4-1F3FD",sheet:[8,47]},{unified:"1F3C4-1F3FE",sheet:[8,48]},{unified:"1F3C4-1F3FF",sheet:[8,49]}],shortName:"surfer",obsoletedBy:"1F3C4-200D-2642-FE0F"},{name:"Man Surfing",unified:"1F3C4-200D-2642-FE0F",obsoletes:"1F3C4",keywords:["man_surfing","sports","ocean","sea","summer","beach"],sheet:[8,38],skinVariations:[{unified:"1F3C4-1F3FB-200D-2642-FE0F",sheet:[8,39]},{unified:"1F3C4-1F3FC-200D-2642-FE0F",sheet:[8,40]},{unified:"1F3C4-1F3FD-200D-2642-FE0F",sheet:[8,41]},{unified:"1F3C4-1F3FE-200D-2642-FE0F",sheet:[8,42]},{unified:"1F3C4-1F3FF-200D-2642-FE0F",sheet:[8,43]}],shortName:"man-surfing"},{name:"Woman Surfing",unified:"1F3C4-200D-2640-FE0F",keywords:["woman_surfing","sports","ocean","sea","summer","beach","woman","female"],sheet:[8,32],skinVariations:[{unified:"1F3C4-1F3FB-200D-2640-FE0F",sheet:[8,33]},{unified:"1F3C4-1F3FC-200D-2640-FE0F",sheet:[8,34]},{unified:"1F3C4-1F3FD-200D-2640-FE0F",sheet:[8,35]},{unified:"1F3C4-1F3FE-200D-2640-FE0F",sheet:[8,36]},{unified:"1F3C4-1F3FF-200D-2640-FE0F",sheet:[8,37]}],shortName:"woman-surfing"},{name:"Rowboat",unified:"1F6A3",keywords:["person_rowing_boat","sport","move"],sheet:[36,18],skinVariations:[{unified:"1F6A3-1F3FB",sheet:[36,19]},{unified:"1F6A3-1F3FC",sheet:[36,20]},{unified:"1F6A3-1F3FD",sheet:[36,21]},{unified:"1F6A3-1F3FE",sheet:[36,22]},{unified:"1F6A3-1F3FF",sheet:[36,23]}],shortName:"rowboat",obsoletedBy:"1F6A3-200D-2642-FE0F"},{name:"Man Rowing Boat",unified:"1F6A3-200D-2642-FE0F",obsoletes:"1F6A3",keywords:["man_rowing_boat","sports","hobby","water","ship"],sheet:[36,12],skinVariations:[{unified:"1F6A3-1F3FB-200D-2642-FE0F",sheet:[36,13]},{unified:"1F6A3-1F3FC-200D-2642-FE0F",sheet:[36,14]},{unified:"1F6A3-1F3FD-200D-2642-FE0F",sheet:[36,15]},{unified:"1F6A3-1F3FE-200D-2642-FE0F",sheet:[36,16]},{unified:"1F6A3-1F3FF-200D-2642-FE0F",sheet:[36,17]}],shortName:"man-rowing-boat"},{name:"Woman Rowing Boat",unified:"1F6A3-200D-2640-FE0F",keywords:["woman_rowing_boat","sports","hobby","water","ship","woman","female"],sheet:[36,6],skinVariations:[{unified:"1F6A3-1F3FB-200D-2640-FE0F",sheet:[36,7]},{unified:"1F6A3-1F3FC-200D-2640-FE0F",sheet:[36,8]},{unified:"1F6A3-1F3FD-200D-2640-FE0F",sheet:[36,9]},{unified:"1F6A3-1F3FE-200D-2640-FE0F",sheet:[36,10]},{unified:"1F6A3-1F3FF-200D-2640-FE0F",sheet:[36,11]}],shortName:"woman-rowing-boat"},{name:"Swimmer",unified:"1F3CA",keywords:["person_swimming","sport","pool"],sheet:[9,11],skinVariations:[{unified:"1F3CA-1F3FB",sheet:[9,12]},{unified:"1F3CA-1F3FC",sheet:[9,13]},{unified:"1F3CA-1F3FD",sheet:[9,14]},{unified:"1F3CA-1F3FE",sheet:[9,15]},{unified:"1F3CA-1F3FF",sheet:[9,16]}],shortName:"swimmer",obsoletedBy:"1F3CA-200D-2642-FE0F"},{name:"Man Swimming",unified:"1F3CA-200D-2642-FE0F",obsoletes:"1F3CA",keywords:["man_swimming","sports","exercise","human","athlete","water","summer"],sheet:[9,5],skinVariations:[{unified:"1F3CA-1F3FB-200D-2642-FE0F",sheet:[9,6]},{unified:"1F3CA-1F3FC-200D-2642-FE0F",sheet:[9,7]},{unified:"1F3CA-1F3FD-200D-2642-FE0F",sheet:[9,8]},{unified:"1F3CA-1F3FE-200D-2642-FE0F",sheet:[9,9]},{unified:"1F3CA-1F3FF-200D-2642-FE0F",sheet:[9,10]}],shortName:"man-swimming"},{name:"Woman Swimming",unified:"1F3CA-200D-2640-FE0F",keywords:["woman_swimming","sports","exercise","human","athlete","water","summer","woman","female"],sheet:[8,60],skinVariations:[{unified:"1F3CA-1F3FB-200D-2640-FE0F",sheet:[9,0]},{unified:"1F3CA-1F3FC-200D-2640-FE0F",sheet:[9,1]},{unified:"1F3CA-1F3FD-200D-2640-FE0F",sheet:[9,2]},{unified:"1F3CA-1F3FE-200D-2640-FE0F",sheet:[9,3]},{unified:"1F3CA-1F3FF-200D-2640-FE0F",sheet:[9,4]}],shortName:"woman-swimming"},{name:"Person Bouncing Ball",unified:"26F9-FE0F",keywords:["person_bouncing_ball","sports","human"],sheet:[58,15],skinVariations:[{unified:"26F9-1F3FB",sheet:[58,16]},{unified:"26F9-1F3FC",sheet:[58,17]},{unified:"26F9-1F3FD",sheet:[58,18]},{unified:"26F9-1F3FE",sheet:[58,19]}
3,{unified:"26F9-1F3FF",sheet:[58,20]}],shortName:"person_with_ball",obsoletedBy:"26F9-FE0F-200D-2642-FE0F"},{name:"Man Bouncing Ball",unified:"26F9-FE0F-200D-2642-FE0F",obsoletes:"26F9-FE0F",keywords:["man_bouncing_ball","sport"],sheet:[58,9],hidden:["facebook"],skinVariations:[{unified:"26F9-1F3FB-200D-2642-FE0F",sheet:[58,10]},{unified:"26F9-1F3FC-200D-2642-FE0F",sheet:[58,11]},{unified:"26F9-1F3FD-200D-2642-FE0F",sheet:[58,12]},{unified:"26F9-1F3FE-200D-2642-FE0F",sheet:[58,13]},{unified:"26F9-1F3FF-200D-2642-FE0F",sheet:[58,14]}],shortName:"man-bouncing-ball"},{name:"Woman Bouncing Ball",unified:"26F9-FE0F-200D-2640-FE0F",keywords:["woman_bouncing_ball","sports","human","woman","female"],sheet:[58,3],hidden:["facebook"],skinVariations:[{unified:"26F9-1F3FB-200D-2640-FE0F",sheet:[58,4]},{unified:"26F9-1F3FC-200D-2640-FE0F",sheet:[58,5]},{unified:"26F9-1F3FD-200D-2640-FE0F",sheet:[58,6]},{unified:"26F9-1F3FE-200D-2640-FE0F",sheet:[58,7]},{unified:"26F9-1F3FF-200D-2640-FE0F",sheet:[58,8]}],shortName:"woman-bouncing-ball"},{name:"Person Lifting Weights",unified:"1F3CB-FE0F",keywords:["person_lifting_weights","sports","training","exercise"],sheet:[9,29],skinVariations:[{unified:"1F3CB-1F3FB",sheet:[9,30]},{unified:"1F3CB-1F3FC",sheet:[9,31]},{unified:"1F3CB-1F3FD",sheet:[9,32]},{unified:"1F3CB-1F3FE",sheet:[9,33]},{unified:"1F3CB-1F3FF",sheet:[9,34]}],shortName:"weight_lifter",obsoletedBy:"1F3CB-FE0F-200D-2642-FE0F"},{name:"Man Lifting Weights",unified:"1F3CB-FE0F-200D-2642-FE0F",obsoletes:"1F3CB-FE0F",keywords:["man_lifting_weights","sport"],sheet:[9,23],hidden:["facebook"],skinVariations:[{unified:"1F3CB-1F3FB-200D-2642-FE0F",sheet:[9,24]},{unified:"1F3CB-1F3FC-200D-2642-FE0F",sheet:[9,25]},{unified:"1F3CB-1F3FD-200D-2642-FE0F",sheet:[9,26]},{unified:"1F3CB-1F3FE-200D-2642-FE0F",sheet:[9,27]},{unified:"1F3CB-1F3FF-200D-2642-FE0F",sheet:[9,28]}],shortName:"man-lifting-weights"},{name:"Woman Lifting Weights",unified:"1F3CB-FE0F-200D-2640-FE0F",keywords:["woman_lifting_weights","sports","training","exercise","woman","female"],sheet:[9,17],hidden:["facebook"],skinVariations:[{unified:"1F3CB-1F3FB-200D-2640-FE0F",sheet:[9,18]},{unified:"1F3CB-1F3FC-200D-2640-FE0F",sheet:[9,19]},{unified:"1F3CB-1F3FD-200D-2640-FE0F",sheet:[9,20]},{unified:"1F3CB-1F3FE-200D-2640-FE0F",sheet:[9,21]},{unified:"1F3CB-1F3FF-200D-2640-FE0F",sheet:[9,22]}],shortName:"woman-lifting-weights"},{name:"Bicyclist",unified:"1F6B4",keywords:["person_biking","sport","move"],sheet:[36,52],skinVariations:[{unified:"1F6B4-1F3FB",sheet:[36,53]},{unified:"1F6B4-1F3FC",sheet:[36,54]},{unified:"1F6B4-1F3FD",sheet:[36,55]},{unified:"1F6B4-1F3FE",sheet:[36,56]},{unified:"1F6B4-1F3FF",sheet:[36,57]}],shortName:"bicyclist",obsoletedBy:"1F6B4-200D-2642-FE0F"},{name:"Man Biking",unified:"1F6B4-200D-2642-FE0F",obsoletes:"1F6B4",keywords:["man_biking","sports","bike","exercise","hipster"],sheet:[36,46],skinVariations:[{unified:"1F6B4-1F3FB-200D-2642-FE0F",sheet:[36,47]},{unified:"1F6B4-1F3FC-200D-2642-FE0F",sheet:[36,48]},{unified:"1F6B4-1F3FD-200D-2642-FE0F",sheet:[36,49]},{unified:"1F6B4-1F3FE-200D-2642-FE0F",sheet:[36,50]},{unified:"1F6B4-1F3FF-200D-2642-FE0F",sheet:[36,51]}],shortName:"man-biking"},{name:"Woman Biking",unified:"1F6B4-200D-2640-FE0F",keywords:["woman_biking","sports","bike","exercise","hipster","woman","female"],sheet:[36,40],skinVariations:[{unified:"1F6B4-1F3FB-200D-2640-FE0F",sheet:[36,41]},{unified:"1F6B4-1F3FC-200D-2640-FE0F",sheet:[36,42]},{unified:"1F6B4-1F3FD-200D-2640-FE0F",sheet:[36,43]},{unified:"1F6B4-1F3FE-200D-2640-FE0F",sheet:[36,44]},{unified:"1F6B4-1F3FF-200D-2640-FE0F",sheet:[36,45]}],shortName:"woman-biking"},{name:"Mountain Bicyclist",unified:"1F6B5",keywords:["person_mountain_biking","sport","move"],sheet:[37,9],skinVariations:[{unified:"1F6B5-1F3FB",sheet:[37,10]},{unified:"1F6B5-1F3FC",sheet:[37,11]},{unified:"1F6B5-1F3FD",sheet:[37,12]},{unified:"1F6B5-1F3FE",sheet:[37,13]},{unified:"1F6B5-1F3FF",sheet:[37,14]}],shortName:"mountain_bicyclist",obsoletedBy:"1F6B5-200D-2642-FE0F"},{name:"Man Mountain Biking",unified:"1F6B5-200D-2642-FE0F",obsoletes:"1F6B5",keywords:["man_mountain_biking","transportation","sports","human","race","bike"],sheet:[37,3],skinVariations:[{unified:"1F6B5-1F3FB-200D-2642-FE0F",sheet:[37,4]},{unified:"1F6B5-1F3FC-200D-2642-FE0F",sheet:[37,5]},{unified:"1F6B5-1F3FD-200D-2642-FE0F",sheet:[37,6]},{unified:"1F6B5-1F3FE-200D-2642-FE0F",sheet:[37,7]},{unified:"1F6B5-1F3FF-200D-2642-FE0F",sheet:[37,8]}],shortName:"man-mountain-biking"},{name:"Woman Mountain Biking",unified:"1F6B5-200D-2640-FE0F",keywords:["woman_mountain_biking","transportation","sports","human","race","bike","woman","female"],sheet:[36,58],skinVariations:[{unified:"1F6B5-1F3FB-200D-2640-FE0F",sheet:[36,59]},{unified:"1F6B5-1F3FC-200D-2640-FE0F",sheet:[36,60]},{unified:"1F6B5-1F3FD-200D-2640-FE0F",sheet:[37,0]},{unified:"1F6B5-1F3FE-200D-2640-FE0F",sheet:[37,1]},{unified:"1F6B5-1F3FF-200D-2640-FE0F",sheet:[37,2]}],shortName:"woman-mountain-biking"},{name:"Person Doing Cartwheel",unified:"1F938",keywords:["person_cartwheeling","sport","gymnastic"],sheet:[42,7],skinVariations:[{unified:"1F938-1F3FB",sheet:[42,8]},{unified:"1F938-1F3FC",sheet:[42,9]},{unified:"1F938-1F3FD",sheet:[42,10]},{unified:"1F938-1F3FE",sheet:[42,11]},{unified:"1F938-1F3FF",sheet:[42,12]}],shortName:"person_doing_cartwheel"},{name:"Man Cartwheeling",unified:"1F938-200D-2642-FE0F",keywords:["man_cartwheeling","gymnastics"],sheet:[42,1],skinVariations:[{unified:"1F938-1F3FB-200D-2642-FE0F",sheet:[42,2]},{unified:"1F938-1F3FC-200D-2642-FE0F",sheet:[42,3]},{unified:"1F938-1F3FD-200D-2642-FE0F",sheet:[42,4]},{unified:"1F938-1F3FE-200D-2642-FE0F",sheet:[42,5]},{unified:"1F938-1F3FF-200D-2642-FE0F",sheet:[42,6]}],shortName:"man-cartwheeling"},{name:"Woman Cartwheeling",unified:"1F938-200D-2640-FE0F",keywords:["woman_cartwheeling","gymnastics"],sheet:[41,56],skinVariations:[{unified:"1F938-1F3FB-200D-2640-FE0F",sheet:[41,57]},{unified:"1F938-1F3FC-200D-2640-FE0F",sheet:[41,58]},{unified:"1F938-1F3FD-200D-2640-FE0F",sheet:[41,59]},{unified:"1F938-1F3FE-200D-2640-FE0F",sheet:[41,60]},{unified:"1F938-1F3FF-200D-2640-FE0F",sheet:[42,0]}],shortName:"woman-cartwheeling"},{name:"Wrestlers",unified:"1F93C",keywords:["people_wrestling","sport"],sheet:[42,34],shortName:"wrestlers"},{name:"Men Wrestling",unified:"1F93C-200D-2642-FE0F",keywords:["men_wrestling","sports","wrestlers"],sheet:[42,33],short
3Name:"man-wrestling"},{name:"Women Wrestling",unified:"1F93C-200D-2640-FE0F",keywords:["women_wrestling","sports","wrestlers"],sheet:[42,32],shortName:"woman-wrestling"},{name:"Water Polo",unified:"1F93D",keywords:["person_playing_water_polo","sport"],sheet:[42,47],skinVariations:[{unified:"1F93D-1F3FB",sheet:[42,48]},{unified:"1F93D-1F3FC",sheet:[42,49]},{unified:"1F93D-1F3FD",sheet:[42,50]},{unified:"1F93D-1F3FE",sheet:[42,51]},{unified:"1F93D-1F3FF",sheet:[42,52]}],shortName:"water_polo"},{name:"Man Playing Water Polo",unified:"1F93D-200D-2642-FE0F",keywords:["man_playing_water_polo","sports","pool"],sheet:[42,41],skinVariations:[{unified:"1F93D-1F3FB-200D-2642-FE0F",sheet:[42,42]},{unified:"1F93D-1F3FC-200D-2642-FE0F",sheet:[42,43]},{unified:"1F93D-1F3FD-200D-2642-FE0F",sheet:[42,44]},{unified:"1F93D-1F3FE-200D-2642-FE0F",sheet:[42,45]},{unified:"1F93D-1F3FF-200D-2642-FE0F",sheet:[42,46]}],shortName:"man-playing-water-polo"},{name:"Woman Playing Water Polo",unified:"1F93D-200D-2640-FE0F",keywords:["woman_playing_water_polo","sports","pool"],sheet:[42,35],skinVariations:[{unified:"1F93D-1F3FB-200D-2640-FE0F",sheet:[42,36]},{unified:"1F93D-1F3FC-200D-2640-FE0F",sheet:[42,37]},{unified:"1F93D-1F3FD-200D-2640-FE0F",sheet:[42,38]},{unified:"1F93D-1F3FE-200D-2640-FE0F",sheet:[42,39]},{unified:"1F93D-1F3FF-200D-2640-FE0F",sheet:[42,40]}],shortName:"woman-playing-water-polo"},{name:"Handball",unified:"1F93E",keywords:["person_playing_handball","sport"],sheet:[43,4],skinVariations:[{unified:"1F93E-1F3FB",sheet:[43,5]},{unified:"1F93E-1F3FC",sheet:[43,6]},{unified:"1F93E-1F3FD",sheet:[43,7]},{unified:"1F93E-1F3FE",sheet:[43,8]},{unified:"1F93E-1F3FF",sheet:[43,9]}],shortName:"handball"},{name:"Man Playing Handball",unified:"1F93E-200D-2642-FE0F",keywords:["man_playing_handball","sports"],sheet:[42,59],skinVariations:[{unified:"1F93E-1F3FB-200D-2642-FE0F",sheet:[42,60]},{unified:"1F93E-1F3FC-200D-2642-FE0F",sheet:[43,0]},{unified:"1F93E-1F3FD-200D-2642-FE0F",sheet:[43,1]},{unified:"1F93E-1F3FE-200D-2642-FE0F",sheet:[43,2]},{unified:"1F93E-1F3FF-200D-2642-FE0F",sheet:[43,3]}],shortName:"man-playing-handball"},{name:"Woman Playing Handball",unified:"1F93E-200D-2640-FE0F",keywords:["woman_playing_handball","sports"],sheet:[42,53],skinVariations:[{unified:"1F93E-1F3FB-200D-2640-FE0F",sheet:[42,54]},{unified:"1F93E-1F3FC-200D-2640-FE0F",sheet:[42,55]},{unified:"1F93E-1F3FD-200D-2640-FE0F",sheet:[42,56]},{unified:"1F93E-1F3FE-200D-2640-FE0F",sheet:[42,57]},{unified:"1F93E-1F3FF-200D-2640-FE0F",sheet:[42,58]}],shortName:"woman-playing-handball"},{name:"Juggling",unified:"1F939",keywords:["person_juggling","performance","balance"],sheet:[42,25],skinVariations:[{unified:"1F939-1F3FB",sheet:[42,26]},{unified:"1F939-1F3FC",sheet:[42,27]},{unified:"1F939-1F3FD",sheet:[42,28]},{unified:"1F939-1F3FE",sheet:[42,29]},{unified:"1F939-1F3FF",sheet:[42,30]}],shortName:"juggling"},{name:"Man Juggling",unified:"1F939-200D-2642-FE0F",keywords:["man_juggling","juggle","balance","skill","multitask"],sheet:[42,19],skinVariations:[{unified:"1F939-1F3FB-200D-2642-FE0F",sheet:[42,20]},{unified:"1F939-1F3FC-200D-2642-FE0F",sheet:[42,21]},{unified:"1F939-1F3FD-200D-2642-FE0F",sheet:[42,22]},{unified:"1F939-1F3FE-200D-2642-FE0F",sheet:[42,23]},{unified:"1F939-1F3FF-200D-2642-FE0F",sheet:[42,24]}],shortName:"man-juggling"},{name:"Woman Juggling",unified:"1F939-200D-2640-FE0F",keywords:["woman_juggling","juggle","balance","skill","multitask"],sheet:[42,13],skinVariations:[{unified:"1F939-1F3FB-200D-2640-FE0F",sheet:[42,14]},{unified:"1F939-1F3FC-200D-2640-FE0F",sheet:[42,15]},{unified:"1F939-1F3FD-200D-2640-FE0F",sheet:[42,16]},{unified:"1F939-1F3FE-200D-2640-FE0F",sheet:[42,17]},{unified:"1F939-1F3FF-200D-2640-FE0F",sheet:[42,18]}],shortName:"woman-juggling"},{name:"Person in Lotus Position",unified:"1F9D8",keywords:["person_in_lotus_position","meditate"],sheet:[51,34],skinVariations:[{unified:"1F9D8-1F3FB",sheet:[51,35]},{unified:"1F9D8-1F3FC",sheet:[51,36]},{unified:"1F9D8-1F3FD",sheet:[51,37]},{unified:"1F9D8-1F3FE",sheet:[51,38]},{unified:"1F9D8-1F3FF",sheet:[51,39]}],shortName:"person_in_lotus_position",obsoletedBy:"1F9D8-200D-2640-FE0F"}
3,{name:"Man in Lotus Position",unified:"1F9D8-200D-2642-FE0F",keywords:["man_in_lotus_position","man","male","meditation","yoga","serenity","zen","mindfulness"],sheet:[51,28],skinVariations:[{unified:"1F9D8-1F3FB-200D-2642-FE0F",sheet:[51,29]},{unified:"1F9D8-1F3FC-200D-2642-FE0F",sheet:[51,30]},{unified:"1F9D8-1F3FD-200D-2642-FE0F",sheet:[51,31]},{unified:"1F9D8-1F3FE-200D-2642-FE0F",sheet:[51,32]},{unified:"1F9D8-1F3FF-200D-2642-FE0F",sheet:[51,33]}],shortName:"man_in_lotus_position"},{name:"Woman in Lotus Position",unified:"1F9D8-200D-2640-FE0F",obsoletes:"1F9D8",keywords:["woman_in_lotus_position","woman","female","meditation","yoga","serenity","zen","mindfulness"],sheet:[51,22],skinVariations:[{unified:"1F9D8-1F3FB-200D-2640-FE0F",sheet:[51,23]},{unified:"1F9D8-1F3FC-200D-2640-FE0F",sheet:[51,24]},{unified:"1F9D8-1F3FD-200D-2640-FE0F",sheet:[51,25]},{unified:"1F9D8-1F3FE-200D-2640-FE0F",sheet:[51,26]},{unified:"1F9D8-1F3FF-200D-2640-FE0F",sheet:[51,27]}],shortName:"woman_in_lotus_position"},{name:"Bath",unified:"1F6C0",keywords:["person_taking_bath","clean","shower","bathroom"],sheet:[37,42],skinVariations:[{unified:"1F6C0-1F3FB",sheet:[37,43]},{unified:"1F6C0-1F3FC",sheet:[37,44]},{unified:"1F6C0-1F3FD",sheet:[37,45]},{unified:"1F6C0-1F3FE",sheet:[37,46]},{unified:"1F6C0-1F3FF",sheet:[37,47]}],shortName:"bath"},{name:"Sleeping Accommodation",unified:"1F6CC",keywords:["person_in_bed","bed","rest"],sheet:[37,54],skinVariations:[{unified:"1F6CC-1F3FB",sheet:[37,55]},{unified:"1F6CC-1F3FC",sheet:[37,56]},{unified:"1F6CC-1F3FD",sheet:[37,57]},{unified:"1F6CC-1F3FE",sheet:[37,58]},{unified:"1F6CC-1F3FF",sheet:[37,59]}],shortName:"sleeping_accommodation"},{name:"People Holding Hands",unified:"1F9D1-200D-1F91D-200D-1F9D1",keywords:["people_holding_hands","friendship"],sheet:[48,41],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F91D-200D-1F9D1-1F3FB",sheet:[48,42]},{unified:"1F9D1-1F3FB-200D-1F91D-200D-1F9D1-1F3FC",sheet:[48,43],hidden:["facebook"]},{unified:"1F9D1-1F3FB-200D-1F91D-200D-1F9D1-1F3FD",sheet:[48,44],hidden:["facebook"]},{unified:"1F9D1-1F3FB-200D-1F91D-200D-1F9D1-1F3FE",sheet:[48,45],hidden:["facebook"]},{unified:"1F9D1-1F3FB-200D-1F91D-200D-1F9D1-1F3FF",sheet:[48,46],hidden:["facebook"]},{unified:"1F9D1-1F3FC-200D-1F91D-200D-1F9D1-1F3FB",sheet:[48,47]},{unified:"1F9D1-1F3FC-200D-1F91D-200D-1F9D1-1F3FC",sheet:[48,48]},{unified:"1F9D1-1F3FC-200D-1F91D-200D-1F9D1-1F3FD",sheet:[48,49],hidden:["facebook"]},{unified:"1F9D1-1F3FC-200D-1F91D-200D-1F9D1-1F3FE",sheet:[48,50],hidden:["facebook"]},{unified:"1F9D1-1F3FC-200D-1F91D-200D-1F9D1-1F3FF",sheet:[48,51],hidden:["facebook"]},{unified:"1F9D1-1F3FD-200D-1F91D-200D-1F9D1-1F3FB",sheet:[48,52]},{unified:"1F9D1-1F3FD-200D-1F91D-200D-1F9D1-1F3FC",sheet:[48,53]},{unified:"1F9D1-1F3FD-200D-1F91D-200D-1F9D1-1F3FD",sheet:[48,54]},{unified:"1F9D1-1F3FD-200D-1F91D-200D-1F9D1-1F3FE",sheet:[48,55],hidden:["facebook"]},{unified:"1F9D1-1F3FD-200D-1F91D-200D-1F9D1-1F3FF",sheet:[48,56],hidden:["facebook"]},{unified:"1F9D1-1F3FE-200D-1F91D-200D-1F9D1-1F3FB",sheet:[48,57]},{unified:"1F9D1-1F3FE-200D-1F91D-200D-1F9D1-1F3FC",sheet:[48,58]},{unified:"1F9D1-1F3FE-200D-1F91D-200D-1F9D1-1F3FD",sheet:[48,59]},{unified:"1F9D1-1F3FE-200D-1F91D-200D-1F9D1-1F3FE",sheet:[48,60]},{unified:"1F9D1-1F3FE-200D-1F91D-200D-1F9D1-1F3FF",sheet:[49,0],hidden:["facebook"]},{unified:"1F9D1-1F3FF-200D-1F91D-200D-1F9D1-1F3FB",sheet:[49,1]},{unified:"1F9D1-1F3FF-200D-1F91D-200D-1F9D1-1F3FC",sheet:[49,2]},{unified:"1F9D1-1F3FF-200D-1F91D-200D-1F9D1-1F3FD",sheet:[49,3]},{unified:"1F9D1-1F3FF-200D-1F91D-200D-1F9D1-1F3FE",sheet:[49,4]},{unified:"1F9D1-1F3FF-200D-1F91D-200D-1F9D1-1F3FF",sheet:[49,5]}],shortName:"people_holding_hands"},{name:"Two Women Holding Hands",unified:"1F46D",keywords:["women_holding_hands","pair","friendship","couple","love","like","female","people","human"],sheet:[22,31],skinVariations:[{unified:"1F46D-1F3FB",sheet:[22,32]},{unified:"1F46D-1F3FC",sheet:[22,33]},{unified:"1F46D-1F3FD",sheet:[22,34]},{unified:"1F46D-1F3FE",sheet:[22,35]},{unified:"1F46D-1F3FF",sheet:[22,36]},{unified:"1F469-1F3FB-200D-1F91D-200D-1F469-1F3FC",sheet:[22,37],hidden:["facebook"]},{unified:"1F469-1F3FB-200D-1F91D-200D-1F469-1F3FD",sheet:[22,38],hidden:["facebook"]},{unified:"1F469-1F3FB-200D-1F91D-200D-1F469-1F3FE",sheet:[22,39],hidden:["facebook"]},{unified:"1F469-1F3FB-200D-1F91D-200D-1F469-1F3FF",sheet:[22,40],hidden:["facebook"]},{unified:"1F469-1F3FC-200D-1F91D-200D-1F469-1F3FB",sheet:[22,41]},{unified:"1F469-1F3FC-200D-1F91D-200D-1F469-1F3FD",sheet:[22,42],hidden:["facebook"]},{unified:"1F469-1F3FC-200D-1F91D-200D-1F469-1F3FE",sheet:[22,43],hidden:["facebook"]},{unified:"1F469-1F3FC-200D-1F91D-200D-1F469-1F3FF",sheet:[22,44],hidden:["facebook"]},{unified:"1F469-1F3FD-200D-1F91D-200D-1F469-1F3FB",sheet:[22,45]},{unified:"1F469-1F3FD-200D-1F91D-200D-1F469-1F3FC",sheet:[22,46]},{unified:"1F469-1F3FD-200D-1F91D-200D-1F469-1F3FE",sheet:[22,47],hidden:["facebook"]},{unified:"1F469-1F3FD-200D-1F91D-200D-1F469-1F3FF",sheet:[22,48],hidden:["facebook"]},{unified:"1F469-1F3FE-200D-1F91D-200D-1F469-1F3FB",sheet:[22,49]},{unified:"1F469-1F3FE-200D-1F91D-200D-1F469-1F3FC",sheet:[22,50]},{unified:"1F469-1F3FE-200D-1F91D-200D-1F469-1F3FD",sheet:[22,51]},{unified:"1F469-1F3FE-200D-1F91D-200D-1F469-1F3FF",sheet:[22,52],hidden:["facebook"]},{unified:"1F469-1F3FF-200D-1F91D-200D-1F469-1F3FB",sheet:[22,53]},{unified:"1F469-1F3FF-200D-1F91D-200D-1F469-1F3FC",sheet:[22,54]},{unified:"1F469-1F3FF-200D-1F91D-200D-1F469-1F3FD",sheet:[22,55]},{unified:"1F469-1F3FF-200D-1F91D-200D-1F469-1F3FE",sheet:[22,56]}
3],shortNames:["women_holding_hands"],shortName:"two_women_holding_hands"},{name:"Man and Woman Holding Hands",unified:"1F46B",keywords:["woman_and_man_holding_hands","pair","people","human","love","date","dating","like","affection","valentines","marriage"],sheet:[21,40],skinVariations:[{unified:"1F46B-1F3FB",sheet:[21,41]},{unified:"1F46B-1F3FC",sheet:[21,42]},{unified:"1F46B-1F3FD",sheet:[21,43]},{unified:"1F46B-1F3FE",sheet:[21,44]},{unified:"1F46B-1F3FF",sheet:[21,45]},{unified:"1F469-1F3FB-200D-1F91D-200D-1F468-1F3FC",sheet:[21,46]},{unified:"1F469-1F3FB-200D-1F91D-200D-1F468-1F3FD",sheet:[21,47]},{unified:"1F469-1F3FB-200D-1F91D-200D-1F468-1F3FE",sheet:[21,48]},{unified:"1F469-1F3FB-200D-1F91D-200D-1F468-1F3FF",sheet:[21,49]},{unified:"1F469-1F3FC-200D-1F91D-200D-1F468-1F3FB",sheet:[21,50]},{unified:"1F469-1F3FC-200D-1F91D-200D-1F468-1F3FD",sheet:[21,51]},{unified:"1F469-1F3FC-200D-1F91D-200D-1F468-1F3FE",sheet:[21,52]},{unified:"1F469-1F3FC-200D-1F91D-200D-1F468-1F3FF",sheet:[21,53]},{unified:"1F469-1F3FD-200D-1F91D-200D-1F468-1F3FB",sheet:[21,54]},{unified:"1F469-1F3FD-200D-1F91D-200D-1F468-1F3FC",sheet:[21,55]},{unified:"1F469-1F3FD-200D-1F91D-200D-1F468-1F3FE",sheet:[21,56]},{unified:"1F469-1F3FD-200D-1F91D-200D-1F468-1F3FF",sheet:[21,57]},{unified:"1F469-1F3FE-200D-1F91D-200D-1F468-1F3FB",sheet:[21,58]},{unified:"1F469-1F3FE-200D-1F91D-200D-1F468-1F3FC",sheet:[21,59]},{unified:"1F469-1F3FE-200D-1F91D-200D-1F468-1F3FD",sheet:[21,60]},{unified:"1F469-1F3FE-200D-1F91D-200D-1F468-1F3FF",sheet:[22,0]},{unified:"1F469-1F3FF-200D-1F91D-200D-1F468-1F3FB",sheet:[22,1]},{unified:"1F469-1F3FF-200D-1F91D-200D-1F468-1F3FC",sheet:[22,2]},{unified:"1F469-1F3FF-200D-1F91D-200D-1F468-1F3FD",sheet:[22,3]},{unified:"1F469-1F3FF-200D-1F91D-200D-1F468-1F3FE",sheet:[22,4]}],shortNames:["woman_and_man_holding_hands","couple"],shortName:"man_and_woman_holding_hands"},{name:"Two Men Holding Hands",unified:"1F46C",keywords:["men_holding_hands","pair","couple","love","like","bromance","friendship","people","human"],sheet:[22,5],skinVariations:[{unified:"1F46C-1F3FB",sheet:[22,6]},{unified:"1F46C-1F3FC",sheet:[22,7]},{unified:"1F46C-1F3FD",sheet:[22,8]},{unified:"1F46C-1F3FE",sheet:[22,9]},{unified:"1F46C-1F3FF",sheet:[22,10]},{unified:"1F468-1F3FB-200D-1F91D-200D-1F468-1F3FC",sheet:[22,11],hidden:["facebook"]},{unified:"1F468-1F3FB-200D-1F91D-200D-1F468-1F3FD",sheet:[22,12],hidden:["facebook"]},{unified:"1F468-1F3FB-200D-1F91D-200D-1F468-1F3FE",sheet:[22,13],hidden:["facebook"]},{unified:"1F468-1F3FB-200D-1F91D-200D-1F468-1F3FF",sheet:[22,14],hidden:["facebook"]},{unified:"1F468-1F3FC-200D-1F91D-200D-1F468-1F3FB",sheet:[22,15]},{unified:"1F468-1F3FC-200D-1F91D-200D-1F468-1F3FD",sheet:[22,16],hidden:["facebook"]},{unified:"1F468-1F3FC-200D-1F91D-200D-1F468-1F3FE",sheet:[22,17],hidden:["facebook"]},{unified:"1F468-1F3FC-200D-1F91D-200D-1F468-1F3FF",sheet:[22,18],hidden:["facebook"]},{unified:"1F468-1F3FD-200D-1F91D-200D-1F468-1F3FB",sheet:[22,19]},{unified:"1F468-1F3FD-200D-1F91D-200D-1F468-1F3FC",sheet:[22,20]},{unified:"1F468-1F3FD-200D-1F91D-200D-1F468-1F3FE",sheet:[22,21],hidden:["facebook"]},{unified:"1F468-1F3FD-200D-1F91D-200D-1F468-1F3FF",sheet:[22,22],hidden:["facebook"]},{unified:"1F468-1F3FE-200D-1F91D-200D-1F468-1F3FB",sheet:[22,23]},{unified:"1F468-1F3FE-200D-1F91D-200D-1F468-1F3FC",sheet:[22,24]},{unified:"1F468-1F3FE-200D-1F91D-200D-1F468-1F3FD",sheet:[22,25]},{unified:"1F468-1F3FE-200D-1F91D-200D-1F468-1F3FF",sheet:[22,26],hidden:["facebook"]},{unified:"1F468-1F3FF-200D-1F91D-200D-1F468-1F3FB",sheet:[22,27]},{unified:"1F468-1F3FF-200D-1F91D-200D-1F468-1F3FC",sheet:[22,28]},{unified:"1F468-1F3FF-200D-1F91D-200D-1F468-1F3FD",sheet:[22,29]},{unified:"1F468-1F3FF-200D-1F91D-200D-1F468-1F3FE",sheet:[22,30]}],shortNames:["men_holding_hands"],shortName:"two_men_holding_hands"},{name:"Kiss",unified:"1F48F",keywords:["kiss","pair","valentines","love","like","dating","marriage"],sheet:[26,41],skinVariations:[{unified:"1F48F-1F3FB",sheet:[26,42]},{unified:"1F48F-1F3FC",sheet:[26,43]},{unified:"1F48F-1F3FD",sheet:[26,44]},{unified:"1F48F-1F3FE",sheet:[26,45]},{unified:"1F48F-1F3FF",sheet:[26,46]},{unified:"1F9D1-1F3FB-200D-2764-FE0F-200D-1F48B-200D-1F9D1-1F3FC",sheet:[26,47],hidden:["facebook"]},{unified:"1F9D1-1F3FB-200D-2764-FE0F-200D-1F48B-200D-1F9D1-1F3FD",sheet:[26,48],hidden:["facebook"]},{unified:"1F9D1-1F3FB-200D-2764-FE0F-200D-1F48B-200D-1F9D1-1F3FE",sheet:[26,49],hidden:["facebook"]},{unified:"1F9D1-1F3FB-200D-2764-FE0F-200D-1F48B-200D-1F9D1-1F3FF",sheet:[26,50],hidden:["facebook"]},{unified:"1F9D1-1F3FC-200D-2764-FE0F-200D-1F48B-200D-1F9D1-1F3FB",sheet:[26,51],hidden:["facebook"]},{unified:"1F9D1-1F3FC-200D-2764-FE0F-200D-1F48B-200D-1F9D1-1F3FD",sheet:[26,52],hidden:["facebook"]},{unified:"1F9D1-1F3FC-200D-2764-FE0F-200D-1F48B-200D-1F9D1-1F3FE",sheet:[26,53],hidden:["facebook"]},{unified:"1F9D1-1F3FC-200D-2764-FE0F-200D-1F48B-200D-1F9D1-1F3FF",sheet:[26,54],hidden:["facebook"]},{unified:"1F9D1-1F3FD-200D-2764-FE0F-200D-1F48B-200D-1F9D1-1F3FB",sheet:[26,55],hidden:["facebook"]},{unified:"1F9D1-1F3FD-200D-2764-FE0F-200D-1F48B-200D-1F9D1-1F3FC",sheet:[26,56],hidden:["facebook"]},{unified:"1F9D1-1F3FD-200D-2764-FE0F-200D-1F48B-200D-1F9D1-1F3FE",sheet:[26,57],hidden:["facebook"]},{unified:"1F9D1-1F3FD-200D-2764-FE0F-200D-1F48B-200D-1F9D1-1F3FF",sheet:[26,58],hidden:["facebook"]},{unified:"1F9D1-1F3FE-200D-2764-FE0F-200D-1F48B-200D-1F9D1-1F3FB",sheet:[26,59],hidden:["facebook"]},{unified:"1F9D1-1F3FE-200D-2764-FE0F-200D-1F48B-200D-1F9D1-1F3FC",sheet:[26,60],hidden:["facebook"]},{unified:"1F9D1-1F3FE-200D-2764-FE0F-200D-1F48B-200D-1F9D1-1F3FD",sheet:[27,0],hidden:["facebook"]},{unified:"1F9D1-1F3FE-200D-2764-FE0F-200D-1F48B-200D-1F9D1-1F3FF",sheet:[27,1],hidden:["facebook"]},{unified:"1F9D1-1F3FF-200D-2764-FE0F-200D-1F48B-200D-1F9D1-1F3FB",sheet:[27,2],hidden:["facebook"]},{unified:"1F9D1-1F3FF-200D-2764-FE0F-200D-1F48B-200D-1F9D1-1F3FC",sheet:[27,3],hidden:["facebook"]},{unified:"1F9D1-1F3FF-200D-2764-FE0F-200D-1F48B-200D-1F9D1-1F3FD",sheet:[27,4],hidden:["facebook"]},{unified:"1F9D1-1F3FF-200D-2764-FE0F-200D-1F48B-200D-1F9D1-1F3FE",sheet:[27,5],hidden:["facebook"]}],shortName:"couplekiss"},{name:"Kiss: Woman, Man",unified:"1F469-200D-2764-FE0F-200D-1F48B-200D-1F468",keywords:["kiss_woman_man","love"],sheet:[20,42],skinVariations:[{unified:"1F469-1F3FB-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FB",sheet:[20,43],hidden:["facebook"]},{unified:"1F469-1F3FB-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FC",sheet:[20,44],hidden:["facebook"]},{unified:"1F469-1F3FB-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FD",sheet:[20,45],hidden:["facebook"]},{unified:"1F469-1F3FB-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FE",sheet:[20,46],hidden:["facebook"]},{unified:"1F469-1F3FB-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FF",sheet:[20,47],hidden:["facebook"]},{unified:"1F469-1F3FC-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FB",sheet:[20,48],hidden:["facebook"]},{unified:"1F469-1F3FC-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FC",sheet:[20,49],hidden:["facebook"]},{unified:"1F469-1F3FC-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FD",sheet:[20,50],hidden:["facebook"]},{unified:"1F469-1F3FC-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FE",sheet:[20,51],hidden:["facebook"]},{unified:"1F469-1F3FC-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FF",sheet:[20,52],hidden:["facebook"]},{unified:"1F469-1F3FD-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FB",sheet:[20,53],hidden:["facebook"]},{unified:"1F469-1F3FD-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FC",sheet:[20,54],hidden:["facebook"]},{unified:"1F469-1F3FD-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FD",sheet:[20,55],hidden:["facebook"]},{unified:"1F469-1F3FD-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FE",sheet:[20,56],hidden:["facebook"]},{unified:"1F469-1F3FD-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FF",sheet:[20,57],hidden:["facebook"]},{unified:"1F469-1F3FE-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FB",sheet:[20,58],hidden:["facebook"]},{unified:"1F469-1F3FE-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FC",sheet:[20,59],hidden:["facebook"]},{unified:"1F469-1F3FE-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FD",sheet:[20,60],hidden:["facebook"]},{unified:"1F469-1F3FE-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FE",sheet:[21,0],hidden:["facebook"]},{unified:"1F469-1F3FE-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FF",sheet:[21,1],hidden:["facebook"]},{unified:"1F469-1F3FF-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FB",sheet:[21,2],hidden:["facebook"]},{unified:"1F469-1F3FF-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FC",sheet:[21,3],hidden:["facebook"]},{unified:"1F469-1F3FF-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FD",sheet:[21,4],hidden:["facebook"]},{unified:"1F469-1F3FF-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FE",sheet:[21,5],hidden:["facebook"]},{unified:"1F469-1F3FF-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FF",sheet:[21,6],hidden:["facebook"]}],shortName:"woman-kiss-man"},{name:"Kiss: Man, Man",unified:"1F468-200D-2764-FE0F-200D-1F48B-200D-1F468",keywords:["kiss_man_man","pair","valentines","love","like","dating","marriage"],sheet:[16,48],skinVariations:[{unified:"1F468-1F3FB-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FB",sheet:[16,49],hidden:["facebook"]},{unified:"1F468-1F3FB-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FC",sheet:[16,50],hidden:["facebook"]},{unified:"1F468-1F3FB-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FD",sheet:[16,51],hidden:["facebook"]},{unified:"1F468-1F3FB-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FE",sheet:[16,52],hidden:["facebook"]},{unified:"1F468-1F3FB-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FF",sheet:[16,53],hidden:["facebook"]},{unified:"1F468-1F3FC-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FB",sheet:[16,54],hidden:["facebook"]},{unified:"1F468-1F3FC-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FC",sheet:[16,55],hidden:["facebook"]},{unified:"1F468-1F3FC-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FD",sheet:[16,56],hidden:["facebook"]},{unified:"1F468-1F3FC-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FE",sheet:[16,57],hidden:["facebook"]},{unified:"1F468-1F3FC-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FF",sheet:[16,58],hidden:["facebook"]},{unified:"1F468-1F3FD-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FB",sheet:[16,59],hidden:["facebook"]},{unified:"1F468-1F3FD-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FC",sheet:[16,60],hidden:["facebook"]},{unified:"1F468-1F3FD-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FD",sheet:[17,0],hidden:["facebook"]},{unified:"1F468-1F3FD-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FE",sheet:[17,1],hidden:["facebook"]},{unified:"1F468-1F3FD-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FF",sheet:[17,2],hidden:["facebook"]},{unified:"1F468-1F3FE-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FB",sheet:[17,3],hidden:["facebook"]},{unified:"1F468-1F3FE-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FC",sheet:[17,4],hidden:["facebook"]},{unified:"1F468-1F3FE-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FD",sheet:[17,5],hidden:["facebook"]},{unified:"1F468-1F3FE-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FE",sheet:[17,6],hidden:["facebook"]},{unified:"1F468-1F3FE-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FF",sheet:[17,7],hidden:["facebook"]},{unified:"1F468-1F3FF-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FB",sheet:[17,8],hidden:["facebook"]},{unified:"1F468-1F3FF-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FC",sheet:[17,9],hidden:["facebook"]},{unified:"1F468-1F3FF-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FD",sheet:[17,10],hidden:["facebook"]},{unified:"1F468-1F3FF-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FE",sheet:[17,11],hidden:["facebook"]},{unified:"1F468-1F3FF-200D-2764-FE0F-200D-1F48B-200D-1F468-1F3FF",sheet:[17,12],hidden:["facebook"]}],shortName:"man-kiss-man"},{name:"Kiss: Woman, Woman",unified:"1F469-200D-2764-FE0F-200D-1F48B-200D-1F469",keywords:["kiss_woman_woman","pair","valentines","love","like","dating","marriage"],sheet:[21,7],skinVariations:[{unified:"1F469-1F3FB-200D-2764-FE0F-200D-1F48B-200D-1F469-1F3FB",sheet:[21,8],hidden:["facebook"]},{unified:"1F469-1F3FB-200D-2764-FE0F-200D-1F48B-200D-1F469-1F3FC",sheet:[21,9],hidden:["facebook"]},{unified:"1F469-1F3FB-200D-2764-FE0F-200D-1F48B-200D-1F469-1F3FD",sheet:[21,10],hidden:["facebook"]},{unified:"1F469-1F3FB-200D-2764-FE0F-200D-1F48B-200D-1F469-1F3FE",sheet:[21,11],hidden:["facebook"]},{unified:"1F469-1F3FB-200D-2764-FE0F-200D-1F48B-200D-1F469-1F3FF",sheet:[21,12],hidden:["facebook"]},{unified:"1F469-1F3FC-200D-2764-FE0F-200D-1F48B-200D-1F469-1F3FB",sheet:[21,13],hidden:["facebook"]},{unified:"1F469-1F3FC-200D-2764-FE0F-200D-1F48B-200D-1F469-1F3FC",sheet:[21,14],hidden:["facebook"]},{unified:"1F469-1F3FC-200D-2764-FE0F-200D-1F48B-200D-1F469-1F3FD",sheet:[21,15],hidden:["facebook"]},{unified:"1F469-1F3FC-200D-2764-FE0F-200D-1F48B-200D-1F469-1F3FE",sheet:[21,16],hidden:["facebook"]},{unified:"1F469-1F3FC-200D-2764-FE0F-200D-1F48B-200D-1F469-1F3FF",sheet:[21,17],hidden:["facebook"]},{unified:"1F469-1F3FD-200D-2764-FE0F-200D-1F48B-200D-1F469-1F3FB",sheet:[21,18],hidden:["facebook"]},{unified:"1F469-1F3FD-200D-2764-FE0F-200D-1F48B-200D-1F469-1F3FC",sheet:[21,19],hidden:["facebook"]},{unified:"1F469-1F3FD-200D-2764-FE0F-200D-1F48B-200D-1F469-1F3FD",sheet:[21,20],hidden:["facebook"]},{unified:"1F469-1F3FD-200D-2764-FE0F-200D-1F48B-200D-1F469-1F3FE",sheet:[21,21],hidden:["facebook"]},{unified:"1F469-1F3FD-200D-2764-FE0F-200D-1F48B-200D-1F469-1F3FF",sheet:[21,22],hidden:["facebook"]},{unified:"1F469-1F3FE-200D-2764-FE0F-200D-1F48B-200D-1F469-1F3FB",sheet:[21,23],hidden:["facebook"]},{unified:"1F469-1F3FE-200D-2764-FE0F-200D-1F48B-200D-1F469-1F3FC",sheet:[21,24],hidden:["facebook"]},{unified:"1F469-1F3FE-200D-2764-FE0F-200D-1F48B-200D-1F469-1F3FD",sheet:[21,25],hidden:["facebook"]},{unified:"1F469-1F3FE-200D-2764-FE0F-200D-1F48B-200D-1F469-1F3FE",sheet:[21,26],hidden:["facebook"]},{unified:"1F469-1F3FE-200D-2764-FE0F-200D-1F48B-200D-1F469-1F3FF",sheet:[21,27],hidden:["facebook"]},{unified:"1F469-1F3FF-200D-2764-FE0F-200D-1F48B-200D-1F469-1F3FB",sheet:[21,28],hidden:["facebook"]},{unified:"1F469-1F3FF-200D-2764-FE0F-200D-1F48B-200D-1F469-1F3FC",sheet:[21,29],hidden:["facebook"]},{unified:"1F469-1F3FF-200D-2764-FE0F-200D-1F48B-200D-1F469-1F3FD",sheet:[21,30],hidden:["facebook"]},{unified:"1F469-1F3FF-200D-2764-FE0F-200D-1F48B-200D-1F469-1F3FE",sheet:[21,31],hidden:["facebook"]},{unified:"1F469-1F3FF-200D-2764-FE0F-200D-1F48B-200D-1F469-1F3FF",sheet:[21,32],hidden:["facebook"]}],shortName:"woman-kiss-woman"},{name:"Couple with Heart",unified:"1F491",keywords:["couple_with_heart","pair","love","like","affection","human","dating","valentines","marriage"],sheet:[27,7],skinVariations:[{unified:"1F491-1F3FB",sheet:[27,8]},{unified:"1F491-1F3FC",sheet:[27,9]},{unified:"1F491-1F3FD",sheet:[27,10]},{unified:"1F491-1F3FE",sheet:[27,11]},{unified:"1F491-1F3FF",sheet:[27,12]},{unified:"1F9D1-1F3FB-200D-2764-FE0F-200D-1F9D1-1F3FC",sheet:[27,13],hidden:["facebook"]},{unified:"1F9D1-1F3FB-200D-2764-FE0F-200D-1F9D1-1F3FD",sheet:[27,14],hidden:["facebook"]},{unified:"1F9D1-1F3FB-200D-2764-FE0F-200D-1F9D1-1F3FE",sheet:[27,15],hidden:["facebook"]},{unified:"1F9D1-1F3FB-200D-2764-FE0F-200D-1F9D1-1F3FF",sheet:[27,16],hidden:["facebook"]},{unified:"1F9D1-1F3FC-200D-2764-FE0F-200D-1F9D1-1F3FB",sheet:[27,17],hidden:["facebook"]},{unified:"1F9D1-1F3FC-200D-2764-FE0F-200D-1F9D1-1F3FD",sheet:[27,18],hidden:["facebook"]},{unified:"1F9D1-1F3FC-200D-2764-FE0F-200D-1F9D1-1F3FE",sheet:[27,19],hidden:["facebook"]},{unified:"1F9D1-1F3FC-200D-2764-FE0F-200D-1F9D1-1F3FF",sheet:[27,20],hidden:["facebook"]},{unified:"1F9D1-1F3FD-200D-2764-FE0F-200D-1F9D1-1F3FB",sheet:[27,21],hidden:["facebook"]},{unified:"1F9D1-1F3FD-200D-2764-FE0F-200D-1F9D1-1F3FC",sheet:[27,22],hidden:["facebook"]},{unified:"1F9D1-1F3FD-200D-2764-FE0F-200D-1F9D1-1F3FE",sheet:[27,23],hidden:["facebook"]},{unified:"1F9D1-1F3FD-200D-2764-FE0F-200D-1F9D1-1F3FF",sheet:[27,24],hidden:["facebook"]},{unified:"1F9D1-1F3FE-200D-2764-FE0F-200D-1F9D1-1F3FB",sheet:[27,25],hidden:["facebook"]},{unified:"1F9D1-1F3FE-200D-2764-FE0F-200D-1F9D1-1F3FC",sheet:[27,26],hidden:["facebook"]},{unified:"1F9D1-1F3FE-200D-2764-FE0F-200D-1F9D1-1F3FD",sheet:[27,27],hidden:["facebook"]},{unified:"1F9D1-1F3FE-200D-2764-FE0F-200D-1F9D1-1F3FF",sheet:[27,28],hidden:["facebook"]},{unified:"1F9D1-1F3FF-200D-2764-FE0F-200D-1F9D1-1F3FB",sheet:[27,29],hidden:["facebook"]},{unified:"1F9D1-1F3FF-200D-2764-FE0F-200D-1F9D1-1F3FC",sheet:[27,30],hidden:["facebook"]},{unified:"1F9D1-1F3FF-200D-2764-FE0F-
3200D-1F9D1-1F3FD",sheet:[27,31],hidden:["facebook"]},{unified:"1F9D1-1F3FF-200D-2764-FE0F-200D-1F9D1-1F3FE",sheet:[27,32],hidden:["facebook"]}],shortName:"couple_with_heart"},{name:"Couple with Heart: Woman, Man",unified:"1F469-200D-2764-FE0F-200D-1F468",keywords:["couple_with_heart_woman_man","love"],sheet:[19,51],skinVariations:[{unified:"1F469-1F3FB-200D-2764-FE0F-200D-1F468-1F3FB",sheet:[19,52],hidden:["facebook"]},{unified:"1F469-1F3FB-200D-2764-FE0F-200D-1F468-1F3FC",sheet:[19,53],hidden:["facebook"]},{unified:"1F469-1F3FB-200D-2764-FE0F-200D-1F468-1F3FD",sheet:[19,54],hidden:["facebook"]},{unified:"1F469-1F3FB-200D-2764-FE0F-200D-1F468-1F3FE",sheet:[19,55],hidden:["facebook"]},{unified:"1F469-1F3FB-200D-2764-FE0F-200D-1F468-1F3FF",sheet:[19,56],hidden:["facebook"]},{unified:"1F469-1F3FC-200D-2764-FE0F-200D-1F468-1F3FB",sheet:[19,57],hidden:["facebook"]},{unified:"1F469-1F3FC-200D-2764-FE0F-200D-1F468-1F3FC",sheet:[19,58],hidden:["facebook"]},{unified:"1F469-1F3FC-200D-2764-FE0F-200D-1F468-1F3FD",sheet:[19,59],hidden:["facebook"]},{unified:"1F469-1F3FC-200D-2764-FE0F-200D-1F468-1F3FE",sheet:[19,60],hidden:["facebook"]},{unified:"1F469-1F3FC-200D-2764-FE0F-200D-1F468-1F3FF",sheet:[20,0],hidden:["facebook"]},{unified:"1F469-1F3FD-200D-2764-FE0F-200D-1F468-1F3FB",sheet:[20,1],hidden:["facebook"]},{unified:"1F469-1F3FD-200D-2764-FE0F-200D-1F468-1F3FC",sheet:[20,2],hidden:["facebook"]},{unified:"1F469-1F3FD-200D-2764-FE0F-200D-1F468-1F3FD",sheet:[20,3],hidden:["facebook"]},{unified:"1F469-1F3FD-200D-2764-FE0F-200D-1F468-1F3FE",sheet:[20,4],hidden:["facebook"]},{unified:"1F469-1F3FD-200D-2764-FE0F-200D-1F468-1F3FF",sheet:[20,5],hidden:["facebook"]},{unified:"1F469-1F3FE-200D-2764-FE0F-200D-1F468-1F3FB",sheet:[20,6],hidden:["facebook"]},{unified:"1F469-1F3FE-200D-2764-FE0F-200D-1F468-1F3FC",sheet:[20,7],hidden:["facebook"]},{unified:"1F469-1F3FE-200D-2764-FE0F-200D-1F468-1F3FD",sheet:[20,8],hidden:["facebook"]},{unified:"1F469-1F3FE-200D-2764-FE0F-200D-1F468-1F3FE",sheet:[20,9],hidden:["facebook"]},{unified:"1F469-1F3FE-200D-2764-FE0F-200D-1F468-1F3FF",sheet:[20,10],hidden:["facebook"]},{unified:"1F469-1F3FF-200D-2764-FE0F-200D-1F468-1F3FB",sheet:[20,11],hidden:["facebook"]},{unified:"1F469-1F3FF-200D-2764-FE0F-200D-1F468-1F3FC",sheet:[20,12],hidden:["facebook"]},{unified:"1F469-1F3FF-200D-2764-FE0F-200D-1F468-1F3FD",sheet:[20,13],hidden:["facebook"]},{unified:"1F469-1F3FF-200D-2764-FE0F-200D-1F468-1F3FE",sheet:[20,14],hidden:["facebook"]},{unified:"1F469-1F3FF-200D-2764-FE0F-200D-1F468-1F3FF",sheet:[20,15],hidden:["facebook"]}],shortName:"woman-heart-man"},{name:"Couple with Heart: Man, Man",unified:"1F468-200D-2764-FE0F-200D-1F468",keywords:["couple_with_heart_man_man","pair","love","like","affection","human","dating","valentines","marriage"],sheet:[16,22],skinVariations:[{unified:"1F468-1F3FB-200D-2764-FE0F-200D-1F468-1F3FB",sheet:[16,23],hidden:["facebook"]},{unified:"1F468-1F3FB-200D-2764-FE0F-200D-1F468-1F3FC",sheet:[16,24],hidden:["facebook"]},{unified:"1F468-1F3FB-200D-2764-FE0F-200D-1F468-1F3FD",sheet:[16,25],hidden:["facebook"]},{unified:"1F468-1F3FB-200D-2764-FE0F-200D-1F468-1F3FE",sheet:[16,26],hidden:["facebook"]},{unified:"1F468-1F3FB-200D-2764-FE0F-200D-1F468-1F3FF",sheet:[16,27],hidden:["facebook"]},{unified:"1F468-1F3FC-200D-2764-FE0F-200D-1F468-1F3FB",sheet:[16,28],hidden:["facebook"]},{unified:"1F468-1F3FC-200D-2764-FE0F-200D-1F468-1F3FC",sheet:[16,29],hidden:["facebook"]},{unified:"1F468-1F3FC-200D-2764-FE0F-200D-1F468-1F3FD",sheet:[16,30],hidden:["facebook"]},{unified:"1F468-1F3FC-200D-2764-FE0F-200D-1F468-1F3FE",sheet:[16,31],hidden:["facebook"]},{unified:"1F468-1F3FC-200D-2764-FE0F-200D-1F468-1F3FF",sheet:[16,32],hidden:["facebook"]},{unified:"1F468-1F3FD-200D-2764-FE0F-200D-1F468-1F3FB",sheet:[16,33],hidden:["facebook"]},{unified:"1F468-1F3FD-200D-2764-FE0F-200D-1F468-1F3FC",sheet:[16,34],hidden:["facebook"]},{unified:"1F468-1F3FD-200D-2764-FE0F-200D-1F468-1F3FD",sheet:[16,35],hidden:["facebook"]},{unified:"1F468-1F3FD-200D-2764-FE0F-200D-1F468-1F3FE",sheet:[16,36],hidden:["facebook"]},{unified:"1F468-1F3FD-200D-2764-FE0F-200D-1F468-1F3FF",sheet:[16,37],hidden:["facebook"]},{unified:"1F468-1F3FE-200D-2764-FE0F-200D-1F468-1F3FB",sheet:[16,38],hidden:["facebook"]},{unified:"1F468-1F3FE-200D-2764-FE0F-200D-1F468-1F3FC",sheet:[16,39],hidden:["facebook"]},{unified:"1F468-1F3FE-200D-2764-FE0F-200D-1F468-1F3FD",sheet:[16,40],hidden:["facebook"]},{unified:"1F468-1F3FE-200D-2764-FE0F-200D-1F468-1F3FE",sheet:[16,41],hidden:["facebook"]},{unified:"1F468-1F3FE-200D-2764-FE0F-200D-1F468-1F3FF",sheet:[16,42],hidden:["facebook"]},{unified:"1F468-1F3FF-200D-2764-FE0F-200D-1F468-1F3FB",sheet:[16,43],hidden:["facebook"]},{unified:"1F468-1F3FF-200D-2764-FE0F-200D-1F468-1F3FC",sheet:[16,44],hidden:["facebook"]},{unified:"1F468-1F3FF-200D-2764-FE0F-200D-1F468-1F3FD",sheet:[16,45],hidden:["facebook"]},{unified:"1F468-1F3FF-200D-2764-FE0F-200D-1F468-1F3FE",sheet:[16,46],hidden:["facebook"]},{unified:"1F468-1F3FF-200D-2764-FE0F-200D-1F468-1F3FF",sheet:[16,47],hidden:["facebook"]}],shortName:"man-heart-man"},{name:"Couple with Heart: Woman, Woman",unified:"1F469-200D-2764-FE0F-200D-1F469",keywords:["couple_with_heart_woman_woman","pair","love","like","affection","human","dating","valentines","marriage"],sheet:[20,16],skinVariations:[{unified:"1F469-1F3FB-200D-2764-FE0F-200D-1F469-1F3FB",sheet:[20,17],hidden:["facebook"]},{unified:"1F469-1F3FB-200D-2764-FE0F-200D-1F469-1F3FC",sheet:[20,18],hidden:["facebook"]},{unified:"1F469-1F3FB-200D-2764-FE0F-200D-1F469-1F3FD",sheet:[20,19],hidden:["facebook"]},{unified:"1F469-1F3FB-200D-2764-FE0F-200D-1F469-1F3FE",sheet:[20,20],hidden:["facebook"]},{unified:"1F469-1F3FB-200D-2764-FE0F-200D-1F469-1F3FF",sheet:[20,21],hidden:["facebook"]},{unified:"1F469-1F3FC-200D-2764-FE0F-200D-1F469-1F3FB",sheet:[20,22],hidden:["facebook"]},{unified:"1F469-1F3FC-200D-2764-FE0F-200D-1F469-1F3FC",sheet:[20,23],hidden:["facebook"]},{unified:"1F469-1F3FC-200D-2764-FE0F-200D-1F469-1F3FD",sheet:[20,24],hidden:["facebook"]},{unified:"1F469-1F3FC-200D-2764-FE0F-200D-1F469-1F3FE",sheet:[20,25],hidden:["facebook"]},{unified:"1F469-1F3FC-200D-2764-FE0F-200D-1F469-1F3FF",sheet:[20,26],hidden:["facebook"]},{unified:"1F469-1F3FD-200D-2764-FE0F-200D-1F469-1F3FB",sheet:[20,27],hidden:["facebook"]},{unified:"1F469-1F3FD-200D-2764-FE0F-200D-1F469-1F3FC",sheet:[20,28],hidden:["facebook"]},{unified:"1F469-1F3FD-200D-2764-FE0F-200D-1F469-1F3FD",sheet:[20,29],hidden:["facebook"]},{unified:"1F469-1F3FD-200D-2764-FE0F-200D-1F469-1F3FE",sheet:[20,30],hidden:["facebook"]},{unified:"1F469-1F3FD-200D-2764-FE0F-200D-1F469-1F3FF",sheet:[20,31],hidden:["facebook"]},{unified:"1F469-1F3FE-200D-2764-FE0F-200D-1F469-1F3FB",sheet:[20,32],hidden:["facebook"]},{unified:"1F469-1F3FE-200D-2764-FE0F-200D-1F469-1F3FC",sheet:[20,33],hidden:["facebook"]},{unified:"1F469-1F3FE-200D-2764-FE0F-200D-1F469-1F3FD",sheet:[20,34],hidden:["facebook"]},{unified:"1F469-1F3FE-200D-2764-FE0F-200D-1F469-1F3FE",sheet:[20,35],hidden:["facebook"]},{unified:"1F469-1F3FE-200D-2764-FE0F-200D-1F469-1F3FF",sheet:[20,36],hidden:["facebook"]},{unified:"1F469-1F3FF-200D-2764-FE0F-200D-1F469-1F3FB",sheet:[20,37],hidden:["facebook"]},{unified:"1F469-1F3FF-200D-2764-FE0F-200D-1F469-1F3FC",sheet:[20,38],hidden:["facebook"]},{unified:"1F469-1F3FF-200D-2764-FE0F-200D-1F469-1F3FD",sheet:[20,39],hidden:["facebook"]},{unified:"1F469-1F3FF-200D-2764-FE0F-200D-1F469-1F3FE",sheet:[20,40],hidden:["facebook"]},{unified:"1F469-1F3FF-200D-2764-FE0F-200D-1F469-1F3FF",sheet:[20,41],hidden:["facebook"]}],shortName:"woman-heart-woman"},{name:"Family",unified:"1F46A",keywords:["family","home","parents","child","mom","dad","father","mother","people","human"],sheet:[21,39],short
3Name:"family",obsoletedBy:"1F468-200D-1F469-200D-1F466"},{name:"Family: Man, Woman, Boy",unified:"1F468-200D-1F469-200D-1F466",obsoletes:"1F46A",keywords:["family_man_woman_boy","love"],sheet:[14,43],shortName:"man-woman-boy"},{name:"Family: Man, Woman, Girl",unified:"1F468-200D-1F469-200D-1F467",keywords:["family_man_woman_girl","home","parents","people","human","child"],sheet:[14,45],shortName:"man-woman-girl"},{name:"Family: Man, Woman, Girl, Boy",unified:"1F468-200D-1F469-200D-1F467-200D-1F466",keywords:["family_man_woman_girl_boy","home","parents","people","human","children"],sheet:[14,46],shortName:"man-woman-girl-boy"},{name:"Family: Man, Woman, Boy, Boy",unified:"1F468-200D-1F469-200D-1F466-200D-1F466",keywords:["family_man_woman_boy_boy","home","parents","people","human","children"],sheet:[14,44],shortName:"man-woman-boy-boy"},{name:"Family: Man, Woman, Girl, Girl",unified:"1F468-200D-1F469-200D-1F467-200D-1F467",keywords:["family_man_woman_girl_girl","home","parents","people","human","children"],sheet:[14,47],shortName:"man-woman-girl-girl"},{name:"Family: Man, Man, Boy",unified:"1F468-200D-1F468-200D-1F466",keywords:["family_man_man_boy","home","parents","people","human","children"],sheet:[14,38],shortName:"man-man-boy"},{name:"Family: Man, Man, Girl",unified:"1F468-200D-1F468-200D-1F467",keywords:["family_man_man_girl","home","parents","people","human","children"],sheet:[14,40],shortName:"man-man-girl"},{name:"Family: Man, Man, Girl, Boy",unified:"1F468-200D-1F468-200D-1F467-200D-1F466",keywords:["family_man_man_girl_boy","home","parents","people","human","children"],sheet:[14,41],shortName:"man-man-girl-boy"},{name:"Family: Man, Man, Boy, Boy",unified:"1F468-200D-1F468-200D-1F466-200D-1F466",keywords:["family_man_man_boy_boy","home","parents","people","human","children"],sheet:[14,39],shortName:"man-man-boy-boy"},{name:"Family: Man, Man, Girl, Girl",unified:"1F468-200D-1F468-200D-1F467-200D-1F467",keywords:["family_man_man_girl_girl","home","parents","people","human","children"],sheet:[14,42],shortName:"man-man-girl-girl"},{name:"Family: Woman, Woman, Boy",unified:"1F469-200D-1F469-200D-1F466",keywords:["family_woman_woman_boy","home","parents","people","human","children"],sheet:[18,11],shortName:"woman-woman-boy"},{name:"Family: Woman, Woman, Girl",unified:"1F469-200D-1F469-200D-1F467",keywords:["family_woman_woman_girl","home","parents","people","human","children"],sheet:[18,13],shortName:"woman-woman-girl"},{name:"Family: Woman, Woman, Girl, Boy",unified:"1F469-200D-1F469-200D-1F467-200D-1F466",keywords:["family_woman_woman_girl_boy","home","parents","people","human","children"],sheet:[18,14],shortName:"woman-woman-girl-boy"},{name:"Family: Woman, Woman, Boy, Boy",unified:"1F469-200D-1F469-200D-1F466-200D-1F466",keywords:["family_woman_woman_boy_boy","home","parents","people","human","children"],sheet:[18,12],shortName:"woman-woman-boy-boy"},{name:"Family: Woman, Woman, Girl, Girl",unified:"1F469-200D-1F469-200D-1F467-200D-1F467",keywords:["family_woman_woman_girl_girl","home","parents","people","human","children"],sheet:[18,15],shortName:"woman-woman-girl-girl"},{name:"Family: Man, Boy",unified:"1F468-200D-1F466",keywords:["family_man_boy","home","parent","people","human","child"],sheet:[14,34],shortName:"man-boy"},{name:"Family: Man, Boy, Boy",unified:"1F468-200D-1F466-200D-1F466",keywords:["family_man_boy_boy","home","parent","people","human","children"],sheet:[14,33],shortName:"man-boy-boy"},{name:"Family: Man, Girl",unified:"1F468-200D-1F467",keywords:["family_man_girl","home","parent","people","human","child"],sheet:[14,37],shortName:"man-girl"},{name:"Family: Man, Girl, Boy",unified:"1F468-200D-1F467-200D-1F466",keywords:["family_man_girl_boy","home","parent","people","human","children"],sheet:[14,35],shortName:"man-girl-boy"},{name:"Family: Man, Girl, Girl",unified:"1F468-200D-1F467-200D-1F467",keywords:["family_man_girl_girl","home","parent","people","human","children"],sheet:[14,36],shortName:"man-girl-girl"},{name:"Family: Woman, Boy",unified:"1F469-200D-1F466",keywords:["family_woman_boy","home","parent","people","human","child"],sheet:[18,7],shortName:"woman-boy"},{name:"Family: Woman, Boy, Boy",unified:"1F469-200D-1F466-200D-1F466",keywords:["family_woman_boy_boy","home","parent","people","human","children"],sheet:[18,6],shortName:"woman-boy-boy"},{name:"Family: Woman, Girl",unified:"1F469-200D-1F467",keywords:["family_woman_girl","home","parent","people","human","child"],sheet:[18,10],shortName:"woman-girl"},{name:"Family: Woman, Girl, Boy",unified:"1F469-200D-1F467-200D-1F466",keywords:["family_woman_girl_boy","home","parent","people","human","children"],sheet:[18,8],short
3Name:"woman-girl-boy"},{name:"Family: Woman, Girl, Girl",unified:"1F469-200D-1F467-200D-1F467",keywords:["family_woman_girl_girl","home","parent","people","human","children"],sheet:[18,9],shortName:"woman-girl-girl"},{name:"Speaking Head",unified:"1F5E3-FE0F",keywords:["speaking_head","user","person","human","sing","say","talk"],sheet:[32,10],shortName:"speaking_head_in_silhouette"},{name:"Bust in Silhouette",unified:"1F464",keywords:["bust_in_silhouette","user","person","human"],sheet:[13,32],shortName:"bust_in_silhouette"},{name:"Busts in Silhouette",unified:"1F465",keywords:["busts_in_silhouette","user","person","human","group","team"],sheet:[13,33],shortName:"busts_in_silhouette"},{name:"People Hugging",unified:"1FAC2",keywords:["people hugging","care"],sheet:[54,44],shortName:"people_hugging"},{name:"Footprints",unified:"1F463",keywords:["footprints","feet","tracking","walking","beach"],sheet:[13,31],shortName:"footprints"},{name:"Emoji Modifier Fitzpatrick Type-1-2",unified:"1F3FB",sheet:[10,41],shortName:"skin-tone-2"},{name:"Emoji Modifier Fitzpatrick Type-3",unified:"1F3FC",sheet:[10,42],shortName:"skin-tone-3"},{name:"Emoji Modifier Fitzpatrick Type-4",unified:"1F3FD",sheet:[10,43],shortName:"skin-tone-4"},{name:"Emoji Modifier Fitzpatrick Type-5",unified:"1F3FE",sheet:[10,44],shortName:"skin-tone-5"},{name:"Emoji Modifier Fitzpatrick Type-6",unified:"1F3FF",sheet:[10,45],shortName:"skin-tone-6"},{name:"Monkey Face",unified:"1F435",emoticons:[":o)"],keywords:["monkey_face","animal","nature","circus"],sheet:[11,40],shortName:"monkey_face"},{name:"Monkey",unified:"1F412",keywords:["monkey","animal","nature","banana","circus"],sheet:[11,4],shortName:"monkey"},{name:"Gorilla",unified:"1F98D",keywords:["gorilla","animal","nature","circus"],sheet:[44,31],shortName:"gorilla"},{name:"Orangutan",unified:"1F9A7",keywords:["orangutan","animal"],sheet:[44,57],shortName:"orangutan"},{name:"Dog Face",unified:"1F436",keywords:["dog_face","animal","friend","nature","woof","puppy","pet","faithful"],sheet:[11,41],shortName:"dog"},{name:"Dog",unified:"1F415",keywords:["dog","animal","nature","friend","doge","pet","faithful"],sheet:[11,8],short
3Name:"dog2"},{name:"Guide Dog",unified:"1F9AE",keywords:["guide_dog","animal","blind"],sheet:[45,3],shortName:"guide_dog"},{name:"Service Dog",unified:"1F415-200D-1F9BA",keywords:["service_dog","blind","animal"],sheet:[11,7],shortName:"service_dog"},{name:"Poodle",unified:"1F429",keywords:["poodle","dog","animal","101","nature","pet"],sheet:[11,28],shortName:"poodle"},{name:"Wolf Face",unified:"1F43A",keywords:["wolf","animal","nature","wild"],sheet:[11,45],shortName:"wolf"},{name:"Fox Face",unified:"1F98A",keywords:["fox","animal","nature","face"],sheet:[44,28],shortName:"fox_face"},{name:"Raccoon",unified:"1F99D",keywords:["raccoon","animal","nature"],sheet:[44,47],shortName:"raccoon"},{name:"Cat Face",unified:"1F431",keywords:["cat_face","animal","meow","nature","pet","kitten"],sheet:[11,36],shortName:"cat"},{name:"Cat",unified:"1F408",keywords:["cat","animal","meow","pet","cats"],sheet:[10,55],shortName:"cat2"},{name:"Black Cat",unified:"1F408-200D-2B1B",keywords:["black cat","superstition","luck"],sheet:[10,54],shortName:"black_cat"},{name:"Lion Face",unified:"1F981",keywords:["lion","animal","nature"],sheet:[44,19],shortName:"lion_face"},{name:"Tiger Face",unified:"1F42F",keywords:["tiger_face","animal","cat","danger","wild","nature","roar"],sheet:[11,34],shortName:"tiger"},{name:"Tiger",unified:"1F405",keywords:["tiger","animal","nature","roar"],sheet:[10,51],shortName:"tiger2"},{name:"Leopard",unified:"1F406",keywords:["leopard","animal","nature"],sheet:[10,52],shortName:"leopard"},{name:"Horse Face",unified:"1F434",keywords:["horse_face","animal","brown","nature"],sheet:[11,39],shortName:"horse"},{name:"Horse",unified:"1F40E",keywords:["horse","animal","gamble","luck"],sheet:[11,0],shortName:"racehorse"},{name:"Unicorn Face",unified:"1F984",keywords:["unicorn","animal","nature","mystical"],sheet:[44,22],shortName:"unicorn_face"},{name:"Zebra Face",unified:"1F993",keywords:["zebra","animal","nature","stripes","safari"],sheet:[44,37],shortName:"zebra_face"},{name:"Deer",unified:"1F98C",keywords:["deer","animal","nature","horns","venison"],sheet:[44,30],shortName:"deer"},{name:"Bison",unified:"1F9AC",keywords:["bison","ox"],sheet:[45,1],shortName:"bison"},{name:"Cow Face",unified:"1F42E",keywords:["cow_face","beef","ox","animal","nature","moo","milk"],sheet:[11,33],shortName:"cow"},{name:"Ox",unified:"1F402",keywords:["ox","animal","cow","beef"],sheet:[10,48],shortName:"ox"},{name:"Water Buffalo",unified:"1F403",keywords:["water_buffalo","animal","nature","ox","cow"],sheet:[10,49],shortName:"water_buffalo"},{name:"Cow",unified:"1F404",keywords:["cow","beef","ox","animal","nature","moo","milk"],sheet:[10,50],shortName:"cow2"},{name:"Pig Face",unified:"1F437",keywords:["pig_face","animal","oink","nature"],sheet:[11,42],shortName:"pig"},{name:"Pig",unified:"1F416",keywords:["pig","animal","nature"],sheet:[11,9],shortName:"pig2"},{name:"Boar",unified:"1F417",keywords:["boar","animal","nature"],sheet:[11,10],shortName:"boar"},{name:"Pig Nose",unified:"1F43D",keywords:["pig_nose","animal","oink"],sheet:[11,49],shortName:"pig_nose"},{name:"Ram",unified:"1F40F",keywords:["ram","animal","sheep","nature"],sheet:[11,1],shortName:"ram"},{name:"Sheep",unified:"1F411",keywords:["ewe","animal","nature","wool","shipit"],sheet:[11,3],shortName:"sheep"},{name:"Goat",unified:"1F410",keywords:["goat","animal","nature"],sheet:[11,2],shortName:"goat"},{name:"Dromedary Camel",unified:"1F42A",keywords:["camel","animal","hot","desert","hump"],sheet:[11,29],shortName:"dromedary_camel"},{name:"Bactrian Camel",unified:"1F42B",keywords:["two_hump_camel","animal","nature","hot","desert","hump"],sheet:[11,30],shortName:"camel"},{name:"Llama",unified:"1F999",keywords:["llama","animal","nature","alpaca"],sheet:[44,43],shortName:"llama"},{name:"Giraffe Face",unified:"1F992",keywords:["giraffe","animal","nature","spots","safari"],sheet:[44,36],shortName:"giraffe_face"}
3,{name:"Elephant",unified:"1F418",keywords:["elephant","animal","nature","nose","th","circus"],sheet:[11,11],shortName:"elephant"},{name:"Mammoth",unified:"1F9A3",keywords:["mammoth","elephant","tusks"],sheet:[44,53],shortName:"mammoth"},{name:"Rhinoceros",unified:"1F98F",keywords:["rhinoceros","animal","nature","horn"],sheet:[44,33],shortName:"rhinoceros"},{name:"Hippopotamus",unified:"1F99B",keywords:["hippopotamus","animal","nature"],sheet:[44,45],shortName:"hippopotamus"},{name:"Mouse Face",unified:"1F42D",keywords:["mouse_face","animal","nature","cheese_wedge","rodent"],sheet:[11,32],shortName:"mouse"},{name:"Mouse",unified:"1F401",keywords:["mouse","animal","nature","rodent"],sheet:[10,47],shortName:"mouse2"},{name:"Rat",unified:"1F400",keywords:["rat","animal","mouse","rodent"],sheet:[10,46],shortName:"rat"},{name:"Hamster Face",unified:"1F439",keywords:["hamster","animal","nature"],sheet:[11,44],shortName:"hamster"},{name:"Rabbit Face",unified:"1F430",keywords:["rabbit_face","animal","nature","pet","spring","magic","bunny"],sheet:[11,35],shortName:"rabbit"},{name:"Rabbit",unified:"1F407",keywords:["rabbit","animal","nature","pet","magic","spring"],sheet:[10,53],shortName:"rabbit2"},{name:"Chipmunk",unified:"1F43F-FE0F",keywords:["chipmunk","animal","nature","rodent","squirrel"],sheet:[11,51],shortName:"chipmunk"},{name:"Beaver",unified:"1F9AB",keywords:["beaver","animal","rodent"],sheet:[45,0],shortName:"beaver"},{name:"Hedgehog",unified:"1F994",keywords:["hedgehog","animal","nature","spiny"],sheet:[44,38],shortName:"hedgehog"},{name:"Bat",unified:"1F987",keywords:["bat","animal","nature","blind","vampire"],sheet:[44,25],shortName:"bat"},{name:"Bear Face",unified:"1F43B",keywords:["bear","animal","nature","wild"],sheet:[11,47],shortName:"bear"},{name:"Polar Bear",unified:"1F43B-200D-2744-FE0F",keywords:["polar bear","animal","arctic"],sheet:[11,46],shortName:"polar_bear"},{name:"Koala",unified:"1F428",keywords:["koala","animal","nature"],sheet:[11,27],shortName:"koala"},{name:"Panda Face",unified:"1F43C",keywords:["panda","animal","nature","panda"],sheet:[11,48],shortName:"panda_face"},{name:"Sloth",unified:"1F9A5",keywords:["sloth","animal"],sheet:[44,55],shortName:"sloth"},{name:"Otter",unified:"1F9A6",keywords:["otter","animal"],sheet:[44,56],shortName:"otter"},{name:"Skunk",unified:"1F9A8",keywords:["skunk","animal"],sheet:[44,58],shortName:"skunk"},{name:"Kangaroo",unified:"1F998",keywords:["kangaroo","animal","nature","australia","joey","hop","marsupial"],sheet:[44,42],shortName:"kangaroo"},{name:"Badger",unified:"1F9A1",keywords:["badger","animal","nature","honey"],sheet:[44,51],shortName:"badger"},{name:"Paw Prints",unified:"1F43E",keywords:["paw_prints","animal","tracking","footprints","dog","cat","pet","feet"],sheet:[11,50],shortNames:["paw_prints"],shortName:"feet"},{name:"Turkey",unified:"1F983",keywords:["turkey","animal","bird"],sheet:[44,21],shortName:"turkey"},{name:"Chicken",unified:"1F414",keywords:["chicken","animal","cluck","nature","bird"],sheet:[11,6],shortName:"chicken"},{name:"Rooster",unified:"1F413",keywords:["rooster","animal","nature","chicken"],sheet:[11,5],shortName:"rooster"},{name:"Hatching Chick",unified:"1F423",keywords:["hatching_chick","animal","chicken","egg","born","baby","bird"],sheet:[11,22],shortName:"hatching_chick"},{name:"Baby Chick",unified:"1F424",keywords:["baby_chick","animal","chicken","bird"],sheet:[11,23],shortName:"baby_chick"},{name:"Front-Facing Baby Chick",unified:"1F425",keywords:["front_facing_baby_chick","animal","chicken","baby","bird"],sheet:[11,24],shortName:"hatched_chick"},{name:"Bird",unified:"1F426",keywords:["bird","animal","nature","fly","tweet","spring"],sheet:[11,25],shortName:"bird"},{name:"Penguin",unified:"1F427",keywords:["penguin","animal","nature"],sheet:[11,26],shortName:"penguin"},{name:"Dove",unified:"1F54A-FE0F",keywords:["dove","animal","bird"],sheet:[30,27],shortName:"dove_of_peace"},{name:"Eagle",unified:"1F985",keywords:["eagle","animal","nature","bird"],sheet:[44,23],shortName:"eagle"},{name:"Duck",unified:"1F986",keywords:["duck","animal","nature","bird","mallard"],sheet:[44,24],shortName:"duck"},{name:"Swan",unified:"1F9A2",keywords:["swan","animal","nature","bird"],sheet:[44,52],short
3Name:"swan"},{name:"Owl",unified:"1F989",keywords:["owl","animal","nature","bird","hoot"],sheet:[44,27],shortName:"owl"},{name:"Dodo",unified:"1F9A4",keywords:["dodo","animal","bird"],sheet:[44,54],shortName:"dodo"},{name:"Feather",unified:"1FAB6",keywords:["feather","bird","fly"],sheet:[54,37],shortName:"feather"},{name:"Flamingo",unified:"1F9A9",keywords:["flamingo","animal"],sheet:[44,59],shortName:"flamingo"},{name:"Peacock",unified:"1F99A",keywords:["peacock","animal","nature","peahen","bird"],sheet:[44,44],shortName:"peacock"},{name:"Parrot",unified:"1F99C",keywords:["parrot","animal","nature","bird","pirate","talk"],sheet:[44,46],shortName:"parrot"},{name:"Frog Face",unified:"1F438",keywords:["frog","animal","nature","croak","toad"],sheet:[11,43],shortName:"frog"},{name:"Crocodile",unified:"1F40A",keywords:["crocodile","animal","nature","reptile","lizard","alligator"],sheet:[10,57],shortName:"crocodile"},{name:"Turtle",unified:"1F422",keywords:["turtle","animal","slow","nature","tortoise"],sheet:[11,21],shortName:"turtle"},{name:"Lizard",unified:"1F98E",keywords:["lizard","animal","nature","reptile"],sheet:[44,32],shortName:"lizard"},{name:"Snake",unified:"1F40D",keywords:["snake","animal","evil","nature","hiss","python"],sheet:[10,60],shortName:"snake"},{name:"Dragon Face",unified:"1F432",keywords:["dragon_face","animal","myth","nature","chinese","green"],sheet:[11,37],shortName:"dragon_face"},{name:"Dragon",unified:"1F409",keywords:["dragon","animal","myth","nature","chinese","green"],sheet:[10,56],shortName:"dragon"},{name:"Sauropod",unified:"1F995",keywords:["sauropod","animal","nature","dinosaur","brachiosaurus","brontosaurus","diplodocus","extinct"],sheet:[44,39],shortName:"sauropod"},{name:"T-Rex",unified:"1F996",keywords:["t_rex","animal","nature","dinosaur","tyrannosaurus","extinct"],sheet:[44,40],shortName:"t-rex"},{name:"Spouting Whale",unified:"1F433",keywords:["spouting_whale","animal","nature","sea","ocean"],sheet:[11,38],shortName:"whale"},{name:"Whale",unified:"1F40B",keywords:["whale","animal","nature","sea","ocean"],sheet:[10,58],shortName:"whale2"},{name:"Dolphin",unified:"1F42C",keywords:["dolphin","animal","nature","fish","sea","ocean","flipper","fins","beach"],sheet:[11,31],shortNames:["flipper"],shortName:"dolphin"},{name:"Seal",unified:"1F9AD",keywords:["seal","animal","creature","sea"],sheet:[45,2],shortName:"seal"},{name:"Fish",unified:"1F41F",keywords:["fish","animal","food","nature"],sheet:[11,18],shortName:"fish"},{name:"Tropical Fish",unified:"1F420",keywords:["tropical_fish","animal","swim","ocean","beach","nemo"],sheet:[11,19],shortName:"tropical_fish"},{name:"Blowfish",unified:"1F421",keywords:["blowfish","animal","nature","food","sea","ocean"],sheet:[11,20],shortName:"blowfish"},{name:"Shark",unified:"1F988",keywords:["shark","animal","nature","fish","sea","ocean","jaws","fins","beach"],sheet:[44,26],shortName:"shark"},{name:"Octopus",unified:"1F419",keywords:["octopus","animal","creature","ocean","sea","nature","beach"],sheet:[11,12],shortName:"octopus"},{name:"Spiral Shell",unified:"1F41A",keywords:["spiral_shell","nature","sea","beach"],sheet:[11,13],shortName:"shell"},{name:"Coral",unified:"1FAB8",keywords:["coral","ocean","sea","reef"],sheet:[54,39],hidden:["facebook"],shortName:"coral"},{name:"Snail",unified:"1F40C",keywords:["snail","slow","animal","shell"],sheet:[10,59],shortName:"snail"},{name:"Butterfly",unified:"1F98B",keywords:["butterfly","animal","insect","nature","caterpillar"],sheet:[44,29],shortName:"butterfly"},{name:"Bug",unified:"1F41B",keywords:["bug","animal","insect","nature","worm"],sheet:[11,14],shortName:"bug"},{name:"Ant",unified:"1F41C",keywords:["ant","animal","insect","nature","bug"],sheet:[11,15],shortName:"ant"},{name:"Honeybee",unified:"1F41D",keywords:["honeybee","animal","insect","nature","bug","spring","honey"],sheet:[11,16],shortNames:["honeybee"],shortName:"bee"},{name:"Beetle",unified:"1FAB2",keywords:["beetle","insect"],sheet:[54,33],shortName:"beetle"},{name:"Lady Beetle",unified:"1F41E",keywords:["lady_beetle","animal","insect","nature","ladybug"],sheet:[11,17],shortNames:["lady_beetle"],shortName:"ladybug"},{name:"Cricket",unified:"1F997",keywords:["cricket","animal","cricket","chirp"],sheet:[44,41],shortName:"cricket"},{name:"Cockroach",unified:"1FAB3",keywords:["cockroach","insect","pests"],sheet:[54,34],shortName:"cockroach"},{name:"Spider",unified:"1F577-FE0F",keywords:["spider","animal","arachnid"],sheet:[31,23],short
3Name:"spider"},{name:"Spider Web",unified:"1F578-FE0F",keywords:["spider_web","animal","insect","arachnid","silk"],sheet:[31,24],shortName:"spider_web"},{name:"Scorpion",unified:"1F982",keywords:["scorpion","animal","arachnid"],sheet:[44,20],shortName:"scorpion"},{name:"Mosquito",unified:"1F99F",keywords:["mosquito","animal","nature","insect","malaria"],sheet:[44,49],shortName:"mosquito"},{name:"Fly",unified:"1FAB0",keywords:["fly","insect"],sheet:[54,31],shortName:"fly"},{name:"Worm",unified:"1FAB1",keywords:["worm","animal"],sheet:[54,32],shortName:"worm"},{name:"Microbe",unified:"1F9A0",keywords:["microbe","amoeba","bacteria","germs","virus","covid"],sheet:[44,50],shortName:"microbe"},{name:"Bouquet",unified:"1F490",keywords:["bouquet","flowers","nature","spring"],sheet:[27,6],shortName:"bouquet"},{name:"Cherry Blossom",unified:"1F338",keywords:["cherry_blossom","nature","plant","spring","flower"],sheet:[5,53],shortName:"cherry_blossom"},{name:"White Flower",unified:"1F4AE",keywords:["white_flower","japanese","spring"],sheet:[28,5],shortName:"white_flower"},{name:"Lotus",unified:"1FAB7",keywords:["lotus","flower","calm","meditation"],sheet:[54,38],hidden:["facebook"],shortName:"lotus"},{name:"Rosette",unified:"1F3F5-FE0F",keywords:["rosette","flower","decoration","military"],sheet:[10,36],shortName:"rosette"},{name:"Rose",unified:"1F339",keywords:["rose","flowers","valentines","love","spring"],sheet:[5,54],shortName:"rose"},{name:"Wilted Flower",unified:"1F940",keywords:["wilted_flower","plant","nature","flower","rose"],sheet:[43,11],shortName:"wilted_flower"},{name:"Hibiscus",unified:"1F33A",keywords:["hibiscus","plant","vegetable","flowers","beach"],sheet:[5,55],shortName:"hibiscus"},{name:"Sunflower",unified:"1F33B",keywords:["sunflower","nature","plant","fall"],sheet:[5,56],shortName:"sunflower"},{name:"Blossom",unified:"1F33C",keywords:["blossom","nature","flowers","yellow"],sheet:[5,57],shortName:"blossom"},{name:"Tulip",unified:"1F337",keywords:["tulip","flowers","plant","nature","summer","spring"],sheet:[5,52],shortName:"tulip"},{name:"Seedling",unified:"1F331",keywords:["seedling","plant","nature","grass","lawn","spring"],sheet:[5,46],shortName:"seedling"},{name:"Potted Plant",unified:"1FAB4",keywords:["potted plant","greenery","house"],sheet:[54,35],shortName:"potted_plant"},{name:"Evergreen Tree",unified:"1F332",keywords:["evergreen_tree","plant","nature"],sheet:[5,47],shortName:"evergreen_tree"},{name:"Deciduous Tree",unified:"1F333",keywords:["deciduous_tree","plant","nature"],sheet:[5,48],shortName:"deciduous_tree"},{name:"Palm Tree",unified:"1F334",keywords:["palm_tree","plant","vegetable","nature","summer","beach","mojito","tropical"],sheet:[5,49],shortName:"palm_tree"},{name:"Cactus",unified:"1F335",keywords:["cactus","vegetable","plant","nature"],sheet:[5,50],shortName:"cactus"},{name:"Ear of Rice",unified:"1F33E",keywords:["sheaf_of_rice","nature","plant"],sheet:[5,59],shortName:"ear_of_rice"},{name:"Herb",unified:"1F33F",keywords:["herb","vegetable","plant","medicine","weed","grass","lawn"],sheet:[5,60],shortName:"herb"},{name:"Shamrock",unified:"2618-FE0F",keywords:["shamrock","vegetable","plant","nature","irish","clover"],sheet:[56,49],shortName:"shamrock"},{name:"Four Leaf Clover",unified:"1F340",keywords:["four_leaf_clover","vegetable","plant","nature","lucky","irish"],sheet:[6,0],shortName:"four_leaf_clover"},{name:"Maple Leaf",unified:"1F341",keywords:["maple_leaf","nature","plant","vegetable","ca","fall"],sheet:[6,1],shortName:"maple_leaf"},{name:"Fallen Leaf",unified:"1F342",keywords:["fallen_leaf","nature","plant","vegetable","leaves"],sheet:[6,2],shortName:"fallen_leaf"},{name:"Leaf Fluttering in Wind",unified:"1F343",keywords:["leaf_fluttering_in_wind","nature","plant","tree","vegetable","grass","lawn","spring"],sheet:[6,3],shortName:"leaves"},{name:"Empty Nest",unified:"1FAB9",keywords:["empty nest","bird"],sheet:[54,40],hidden:["facebook"],shortName:"empty_nest"},{name:"Nest with Eggs",unified:"1FABA",keywords:["nest with eggs","bird"],sheet:[54,41],hidden:["facebook"],shortName:"nest_with_eggs"},{name:"Grapes",unified:"1F347",keywords:["grapes","fruit","food","wine"],sheet:[6,7],shortName:"grapes"},{name:"Melon",unified:"1F348",keywords:["melon","fruit","nature","food"],sheet:[6,8],short
3Name:"melon"},{name:"Watermelon",unified:"1F349",keywords:["watermelon","fruit","food","picnic","summer"],sheet:[6,9],shortName:"watermelon"},{name:"Tangerine",unified:"1F34A",keywords:["tangerine","food","fruit","nature","orange"],sheet:[6,10],shortName:"tangerine"},{name:"Lemon",unified:"1F34B",keywords:["lemon","fruit","nature"],sheet:[6,11],shortName:"lemon"},{name:"Banana",unified:"1F34C",keywords:["banana","fruit","food","monkey"],sheet:[6,12],shortName:"banana"},{name:"Pineapple",unified:"1F34D",keywords:["pineapple","fruit","nature","food"],sheet:[6,13],shortName:"pineapple"},{name:"Mango",unified:"1F96D",keywords:["mango","fruit","food","tropical"],sheet:[43,55],shortName:"mango"},{name:"Red Apple",unified:"1F34E",keywords:["red_apple","fruit","mac","school"],sheet:[6,14],shortName:"apple"},{name:"Green Apple",unified:"1F34F",keywords:["green_apple","fruit","nature"],sheet:[6,15],shortName:"green_apple"},{name:"Pear",unified:"1F350",keywords:["pear","fruit","nature","food"],sheet:[6,16],shortName:"pear"},{name:"Peach",unified:"1F351",keywords:["peach","fruit","nature","food"],sheet:[6,17],shortName:"peach"},{name:"Cherries",unified:"1F352",keywords:["cherries","food","fruit"],sheet:[6,18],shortName:"cherries"},{name:"Strawberry",unified:"1F353",keywords:["strawberry","fruit","food","nature"],sheet:[6,19],shortName:"strawberry"},{name:"Blueberries",unified:"1FAD0",keywords:["blueberries","fruit"],sheet:[55,2],shortName:"blueberries"},{name:"Kiwifruit",unified:"1F95D",keywords:["kiwi_fruit","fruit","food"],sheet:[43,39],shortName:"kiwifruit"},{name:"Tomato",unified:"1F345",keywords:["tomato","fruit","vegetable","nature","food"],sheet:[6,5],shortName:"tomato"},{name:"Olive",unified:"1FAD2",keywords:["olive","fruit"],sheet:[55,4],shortName:"olive"},{name:"Coconut",unified:"1F965",keywords:["coconut","fruit","nature","food","palm"],sheet:[43,47],shortName:"coconut"},{name:"Avocado",unified:"1F951",keywords:["avocado","fruit","food"],sheet:[43,27],shortName:"avocado"},{name:"Aubergine",unified:"1F346",keywords:["eggplant","vegetable","nature","food","aubergine"],sheet:[6,6],shortName:"eggplant"},{name:"Potato",unified:"1F954",keywords:["potato","food","tuber","vegatable","starch"],sheet:[43,30],shortName:"potato"},{name:"Carrot",unified:"1F955",keywords:["carrot","vegetable","food","orange"],sheet:[43,31],shortName:"carrot"},{name:"Ear of Maize",unified:"1F33D",keywords:["ear_of_corn","food","vegetable","plant"],sheet:[5,58],shortName:"corn"},{name:"Hot Pepper",unified:"1F336-FE0F",keywords:["hot_pepper","food","spicy","chilli","chili"],sheet:[5,51],shortName:"hot_pepper"},{name:"Bell Pepper",unified:"1FAD1",keywords:["bell pepper","fruit","plant"],sheet:[55,3],shortName:"bell_pepper"},{name:"Cucumber",unified:"1F952",keywords:["cucumber","fruit","food","pickle"],sheet:[43,28],shortName:"cucumber"},{name:"Leafy Green",unified:"1F96C",keywords:["leafy_green","food","vegetable","plant","bok choy","cabbage","kale","lettuce"],sheet:[43,54],shortName:"leafy_green"},{name:"Broccoli",unified:"1F966",keywords:["broccoli","fruit","food","vegetable"],sheet:[43,48],shortName:"broccoli"},{name:"Garlic",unified:"1F9C4",keywords:["garlic","food","spice","cook"],sheet:[46,9],shortName:"garlic"},{name:"Onion",unified:"1F9C5",keywords:["onion","cook","food","spice"],sheet:[46,10],shortName:"onion"},{name:"Mushroom",unified:"1F344",keywords:["mushroom","plant","vegetable"],sheet:[6,4],shortName:"mushroom"},{name:"Peanuts",unified:"1F95C",keywords:["peanuts","food","nut"],sheet:[43,38],short
3Name:"peanuts"},{name:"Beans",unified:"1FAD8",keywords:["beans","food"],sheet:[55,10],hidden:["facebook"],shortName:"beans"},{name:"Chestnut",unified:"1F330",keywords:["chestnut","food","squirrel"],sheet:[5,45],shortName:"chestnut"},{name:"Bread",unified:"1F35E",keywords:["bread","food","wheat","breakfast","toast"],sheet:[6,30],shortName:"bread"},{name:"Croissant",unified:"1F950",keywords:["croissant","food","bread","french"],sheet:[43,26],shortName:"croissant"},{name:"Baguette Bread",unified:"1F956",keywords:["baguette_bread","food","bread","french","france","bakery"],sheet:[43,32],shortName:"baguette_bread"},{name:"Flatbread",unified:"1FAD3",keywords:["flatbread","flour","food","bakery"],sheet:[55,5],shortName:"flatbread"},{name:"Pretzel",unified:"1F968",keywords:["pretzel","food","bread","twisted","germany","bakery"],sheet:[43,50],shortName:"pretzel"},{name:"Bagel",unified:"1F96F",keywords:["bagel","food","bread","bakery","schmear","jewish","bakery"],sheet:[43,57],shortName:"bagel"},{name:"Pancakes",unified:"1F95E",keywords:["pancakes","food","breakfast","flapjacks","hotcakes","brunch"],sheet:[43,40],shortName:"pancakes"},{name:"Waffle",unified:"1F9C7",keywords:["waffle","food","breakfast","brunch"],sheet:[46,12],shortName:"waffle"},{name:"Cheese Wedge",unified:"1F9C0",keywords:["cheese_wedge","food","chadder","swiss"],sheet:[46,5],shortName:"cheese_wedge"},{name:"Meat on Bone",unified:"1F356",keywords:["meat_on_bone","good","food","drumstick"],sheet:[6,22],shortName:"meat_on_bone"},{name:"Poultry Leg",unified:"1F357",keywords:["poultry_leg","food","meat","drumstick","bird","chicken","turkey"],sheet:[6,23],shortName:"poultry_leg"},{name:"Cut of Meat",unified:"1F969",keywords:["cut_of_meat","food","cow","meat","cut","chop","lambchop","porkchop"],sheet:[43,51],shortName:"cut_of_meat"},{name:"Bacon",unified:"1F953",keywords:["bacon","food","breakfast","pork","pig","meat","brunch"],sheet:[43,29],shortName:"bacon"},{name:"Hamburger",unified:"1F354",keywords:["hamburger","meat","fast food","beef","cheeseburger","mcdonalds","burger king"],sheet:[6,20],shortName:"hamburger"},{name:"French Fries",unified:"1F35F",keywords:["french_fries","chips","snack","fast food","potato"],sheet:[6,31],shortName:"fries"},{name:"Slice of Pizza",unified:"1F355",keywords:["pizza","food","party","italy"],sheet:[6,21],shortName:"pizza"},{name:"Hot Dog",unified:"1F32D",keywords:["hot_dog","food","frankfurter","america"],sheet:[5,42],shortName:"hotdog"},{name:"Sandwich",unified:"1F96A",keywords:["sandwich","food","lunch","bread","toast","bakery"],sheet:[43,52],shortName:"sandwich"},{name:"Taco",unified:"1F32E",keywords:["taco","food","mexican"],sheet:[5,43],shortName:"taco"},{name:"Burrito",unified:"1F32F",keywords:["burrito","food","mexican"],sheet:[5,44],shortName:"burrito"},{name:"Tamale",unified:"1FAD4",keywords:["tamale","food","masa"],sheet:[55,6],shortName:"tamale"},{name:"Stuffed Flatbread",unified:"1F959",keywords:["stuffed_flatbread","food","flatbread","stuffed","gyro","mediterranean"],sheet:[43,35],shortName:"stuffed_flatbread"},{name:"Falafel",unified:"1F9C6",keywords:["falafel","food","mediterranean"],sheet:[46,11],shortName:"falafel"},{name:"Egg",unified:"1F95A",keywords:["egg","food","chicken","breakfast"],sheet:[43,36],shortName:"egg"},{name:"Cooking",unified:"1F373",keywords:["cooking","food","breakfast","kitchen","egg","skillet"],sheet:[6,51],shortNames:["cooking"],shortName:"fried_egg"},{name:"Shallow Pan of Food",unified:"1F958",keywords:["shallow_pan_of_food","food","cooking","casserole","paella","skillet"],sheet:[43,34],shortName:"shallow_pan_of_food"},{name:"Pot of Food",unified:"1F372",keywords:["pot_of_food","food","meat","soup","hot pot"],sheet:[6,50],shortName:"stew"},{name:"Fondue",unified:"1FAD5",keywords:["fondue","cheese","pot","food"],sheet:[55,7],shortName:"fondue"},{name:"Bowl with Spoon",unified:"1F963",keywords:["bowl_with_spoon","food","breakfast","cereal","oatmeal","porridge"],sheet:[43,45],shortName:"bowl_with_spoon"},{name:"Green Salad",unified:"1F957",keywords:["green_salad","food","healthy","lettuce","vegetable"],sheet:[43,33],short
3Name:"green_salad"},{name:"Popcorn",unified:"1F37F",keywords:["popcorn","food","movie theater","films","snack","drama"],sheet:[7,2],shortName:"popcorn"},{name:"Butter",unified:"1F9C8",keywords:["butter","food","cook"],sheet:[46,13],shortName:"butter"},{name:"Salt Shaker",unified:"1F9C2",keywords:["salt","condiment","shaker"],sheet:[46,7],shortName:"salt"},{name:"Canned Food",unified:"1F96B",keywords:["canned_food","food","soup","tomatoes"],sheet:[43,53],shortName:"canned_food"},{name:"Bento Box",unified:"1F371",keywords:["bento_box","food","japanese","box","lunch"],sheet:[6,49],shortName:"bento"},{name:"Rice Cracker",unified:"1F358",keywords:["rice_cracker","food","japanese","snack"],sheet:[6,24],shortName:"rice_cracker"},{name:"Rice Ball",unified:"1F359",keywords:["rice_ball","food","japanese"],sheet:[6,25],shortName:"rice_ball"},{name:"Cooked Rice",unified:"1F35A",keywords:["cooked_rice","food","asian"],sheet:[6,26],shortName:"rice"},{name:"Curry and Rice",unified:"1F35B",keywords:["curry_rice","food","spicy","hot","indian"],sheet:[6,27],shortName:"curry"},{name:"Steaming Bowl",unified:"1F35C",keywords:["steaming_bowl","food","japanese","noodle","chopsticks","ramen"],sheet:[6,28],shortName:"ramen"},{name:"Spaghetti",unified:"1F35D",keywords:["spaghetti","food","italian","pasta","noodle"],sheet:[6,29],shortName:"spaghetti"},{name:"Roasted Sweet Potato",unified:"1F360",keywords:["roasted_sweet_potato","food","nature","plant"],sheet:[6,32],shortName:"sweet_potato"},{name:"Oden",unified:"1F362",keywords:["oden","food","japanese"],sheet:[6,34],shortName:"oden"},{name:"Sushi",unified:"1F363",keywords:["sushi","food","fish","japanese","rice"],sheet:[6,35],shortName:"sushi"},{name:"Fried Shrimp",unified:"1F364",keywords:["fried_shrimp","food","animal","appetizer","summer"],sheet:[6,36],shortName:"fried_shrimp"},{name:"Fish Cake with Swirl Design",unified:"1F365",keywords:["fish_cake_with_swirl","food","japan","sea","beach","narutomaki","pink","swirl","kamaboko","surimi","ramen"],sheet:[6,37],shortName:"fish_cake"},{name:"Moon Cake",unified:"1F96E",keywords:["moon_cake","food","autumn","dessert"],sheet:[43,56],shortName:"moon_cake"},{name:"Dango",unified:"1F361",keywords:["dango","food","dessert","sweet","japanese","barbecue","meat"],sheet:[6,33],short
3Name:"dango"},{name:"Dumpling",unified:"1F95F",keywords:["dumpling","food","empanada","pierogi","potsticker","gyoza"],sheet:[43,41],shortName:"dumpling"},{name:"Fortune Cookie",unified:"1F960",keywords:["fortune_cookie","food","prophecy","dessert"],sheet:[43,42],shortName:"fortune_cookie"},{name:"Takeout Box",unified:"1F961",keywords:["takeout_box","food","leftovers"],sheet:[43,43],shortName:"takeout_box"},{name:"Crab",unified:"1F980",keywords:["crab","animal","crustacean"],sheet:[44,18],shortName:"crab"},{name:"Lobster",unified:"1F99E",keywords:["lobster","animal","nature","bisque","claws","seafood"],sheet:[44,48],shortName:"lobster"},{name:"Shrimp",unified:"1F990",keywords:["shrimp","animal","ocean","nature","seafood"],sheet:[44,34],shortName:"shrimp"},{name:"Squid",unified:"1F991",keywords:["squid","animal","nature","ocean","sea"],sheet:[44,35],shortName:"squid"},{name:"Oyster",unified:"1F9AA",keywords:["oyster","food"],sheet:[44,60],shortName:"oyster"},{name:"Soft Ice Cream",unified:"1F366",keywords:["soft_ice_cream","food","hot","dessert","summer"],sheet:[6,38],shortName:"icecream"},{name:"Shaved Ice",unified:"1F367",keywords:["shaved_ice","hot","dessert","summer"],sheet:[6,39],shortName:"shaved_ice"},{name:"Ice Cream",unified:"1F368",keywords:["ice_cream","food","hot","dessert"],sheet:[6,40],shortName:"ice_cream"},{name:"Doughnut",unified:"1F369",keywords:["doughnut","food","dessert","snack","sweet","donut"],sheet:[6,41],shortName:"doughnut"},{name:"Cookie",unified:"1F36A",keywords:["cookie","food","snack","oreo","chocolate","sweet","dessert"],sheet:[6,42],shortName:"cookie"},{name:"Birthday Cake",unified:"1F382",keywords:["birthday_cake","food","dessert","cake"],sheet:[7,5],shortName:"birthday"},{name:"Shortcake",unified:"1F370",keywords:["shortcake","food","dessert"],sheet:[6,48],shortName:"cake"},{name:"Cupcake",unified:"1F9C1",keywords:["cupcake","food","dessert","bakery","sweet"],sheet:[46,6],shortName:"cupcake"},{name:"Pie",unified:"1F967",keywords:["pie","food","dessert","pastry"],sheet:[43,49],shortName:"pie"},{name:"Chocolate Bar",unified:"1F36B",keywords:["chocolate_bar","food","snack","dessert","sweet"],sheet:[6,43],shortName:"chocolate_bar"},{name:"Candy",unified:"1F36C",keywords:["candy","snack","dessert","sweet","lolly"],sheet:[6,44],shortName:"candy"},{name:"Lollipop",unified:"1F36D",keywords:["lollipop","food","snack","candy","sweet"],sheet:[6,45],shortName:"lollipop"},{name:"Custard",unified:"1F36E",keywords:["custard","dessert","food"],sheet:[6,46],shortName:"custard"},{name:"Honey Pot",unified:"1F36F",keywords:["honey_pot","bees","sweet","kitchen"],sheet:[6,47],shortName:"honey_pot"},{name:"Baby Bottle",unified:"1F37C",keywords:["baby_bottle","food","container","milk"],sheet:[6,60],shortName:"baby_bottle"},{name:"Glass of Milk",unified:"1F95B",keywords:["glass_of_milk","beverage","drink","cow"],sheet:[43,37],shortName:"glass_of_milk"},{name:"Hot Beverage",unified:"2615",keywords:["hot_beverage","beverage","caffeine","latte","espresso","coffee","mug"],sheet:[56,48],shortName:"coffee"},{name:"Teapot",unified:"1FAD6",keywords:["teapot","drink","hot"],sheet:[55,8],shortName:"teapot"},{name:"Teacup Without Handle",unified:"1F375",keywords:["teacup_without_handle","drink","bowl","breakfast","green","british"],sheet:[6,53],shortName:"tea"},{name:"Sake Bottle and Cup",unified:"1F376",keywords:["sake","wine","drink","drunk","beverage","japanese","alcohol","booze"],sheet:[6,54],shortName:"sake"},{name:"Bottle with Popping Cork",unified:"1F37E",keywords:["bottle_with_popping_cork","drink","wine","bottle","celebration"],sheet:[7,1],shortName:"champagne"},{name:"Wine Glass",unified:"1F377",keywords:["wine_glass","drink","beverage","drunk","alcohol","booze"],sheet:[6,55],shortName:"wine_glass"},{name:"Cocktail Glass",unified:"1F378",keywords:["cocktail_glass","drink","drunk","alcohol","beverage","booze","mojito"],sheet:[6,56],shortName:"cocktail"},{name:"Tropical Drink",unified:"1F379",keywords:["tropical_drink","beverage","cocktail","summer","beach","alcohol","booze","mojito"],sheet:[6,57],shortName:"tropical_drink"},{name:"Beer Mug",unified:"1F37A",keywords:["beer_mug","relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],sheet:[6,58],shortName:"beer"},{name:"Clinking Beer Mugs",unified:"1F37B",keywords:["clinking_beer_mugs","relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],sheet:[6,59],shortName:"beers"},{name:"Clinking Glasses",unified:"1F942",keywords:["clinking_glasses","beverage","drink","party","alcohol","celebrate","cheers","wine","champagne","toast"],sheet:[43,13],shortName:"clinking_glasses"},{name:"Tumbler Glass",unified:"1F943",keywords:["tumbler_glass","drink","beverage","drunk","alcohol","liquor","booze","bourbon","scotch","whisky","glass","shot"],sheet:[43,14],short
3Name:"tumbler_glass"},{name:"Pouring Liquid",unified:"1FAD7",keywords:["pouring liquid","cup","water"],sheet:[55,9],hidden:["facebook"],shortName:"pouring_liquid"},{name:"Cup with Straw",unified:"1F964",keywords:["cup_with_straw","drink","soda"],sheet:[43,46],shortName:"cup_with_straw"},{name:"Bubble Tea",unified:"1F9CB",keywords:["bubble tea","taiwan","boba","milk tea","straw"],sheet:[46,16],shortName:"bubble_tea"},{name:"Beverage Box",unified:"1F9C3",keywords:["beverage_box","drink"],sheet:[46,8],shortName:"beverage_box"},{name:"Mate Drink",unified:"1F9C9",keywords:["mate","drink","tea","beverage"],sheet:[46,14],shortName:"mate_drink"},{name:"Ice Cube",unified:"1F9CA",keywords:["ice","water","cold"],sheet:[46,15],shortName:"ice_cube"},{name:"Chopsticks",unified:"1F962",keywords:["chopsticks","food"],sheet:[43,44],shortName:"chopsticks"},{name:"Fork and Knife with Plate",unified:"1F37D-FE0F",keywords:["fork_and_knife_with_plate","food","eat","meal","lunch","dinner","restaurant"],sheet:[7,0],shortName:"knife_fork_plate"},{name:"Fork and Knife",unified:"1F374",keywords:["fork_and_knife","cutlery","kitchen"],sheet:[6,52],shortName:"fork_and_knife"},{name:"Spoon",unified:"1F944",keywords:["spoon","cutlery","kitchen","tableware"],sheet:[43,15],shortName:"spoon"},{name:"Hocho",unified:"1F52A",keywords:["kitchen_knife","knife","blade","cutlery","kitchen","weapon"],sheet:[30,6],shortNames:["knife"],shortName:"hocho"},{name:"Jar",unified:"1FAD9",keywords:["jar","container","sauce"],sheet:[55,11],hidden:["facebook"],shortName:"jar"},{name:"Amphora",unified:"1F3FA",keywords:["amphora","vase","jar"],sheet:[10,40],shortName:"amphora"},{name:"Earth Globe Europe-Africa",unified:"1F30D",keywords:["globe_showing_europe_africa","globe","world","international"],sheet:[5,12],shortName:"earth_africa"},{name:"Earth Globe Americas",unified:"1F30E",keywords:["globe_showing_americas","globe","world","USA","international"],sheet:[5,13],shortName:"earth_americas"},{name:"Earth Globe Asia-Australia",unified:"1F30F",keywords:["globe_showing_asia_australia","globe","world","east","international"],sheet:[5,14],shortName:"earth_asia"},{name:"Globe with Meridians",unified:"1F310",keywords:["globe_with_meridians","earth","international","world","internet","interweb","i18n"],sheet:[5,15],shortName:"globe_with_meridians"},{name:"World Map",unified:"1F5FA-FE0F",keywords:["world_map","location","direction"],sheet:[32,14],shortName:"world_map"},{name:"Silhouette of Japan",unified:"1F5FE",keywords:["map_of_japan","nation","country","japanese","asia"],sheet:[32,18],shortName:"japan"},{name:"Compass",unified:"1F9ED",keywords:["compass","magnetic","navigation","orienteering"],sheet:[53,27],shortName:"compass"},{name:"Snow-Capped Mountain",unified:"1F3D4-FE0F",keywords:["snow_capped_mountain","photo","nature","environment","winter","cold"],sheet:[9,60],shortName:"snow_capped_mountain"},{name:"Mountain",unified:"26F0-FE0F",keywords:["mountain","photo","nature","environment"],sheet:[57,56],shortName:"mountain"},{name:"Volcano",unified:"1F30B",keywords:["volcano","photo","nature","disaster"],sheet:[5,10],shortName:"volcano"},{name:"Mount Fuji",unified:"1F5FB",keywords:["mount_fuji","photo","mountain","nature","japanese"],sheet:[32,15],shortName:"mount_fuji"},{name:"Camping",unified:"1F3D5-FE0F",keywords:["camping","photo","outdoors","tent"],sheet:[10,0],shortName:"camping"},{name:"Beach with Umbrella",unified:"1F3D6-FE0F",keywords:["beach_with_umbrella","weather","summer","sunny","sand","mojito"],sheet:[10,1],shortName:"beach_with_umbrella"},{name:"Desert",unified:"1F3DC-FE0F",keywords:["desert","photo","warm","saharah"],sheet:[10,7],shortName:"desert"},{name:"Desert Island",unified:"1F3DD-FE0F",keywords:["desert_island","photo","tropical","mojito"],sheet:[10,8],short
3Name:"desert_island"},{name:"National Park",unified:"1F3DE-FE0F",keywords:["national_park","photo","environment","nature"],sheet:[10,9],shortName:"national_park"},{name:"Stadium",unified:"1F3DF-FE0F",keywords:["stadium","photo","place","sports","concert","venue"],sheet:[10,10],shortName:"stadium"},{name:"Classical Building",unified:"1F3DB-FE0F",keywords:["classical_building","art","culture","history"],sheet:[10,6],shortName:"classical_building"},{name:"Building Construction",unified:"1F3D7-FE0F",keywords:["building_construction","wip","working","progress"],sheet:[10,2],shortName:"building_construction"},{name:"Brick",unified:"1F9F1",keywords:["brick","bricks"],sheet:[53,31],shortName:"bricks"},{name:"Rock",unified:"1FAA8",keywords:["rock","stone"],sheet:[54,26],shortName:"rock"},{name:"Wood",unified:"1FAB5",keywords:["wood","nature","timber","trunk"],sheet:[54,36],shortName:"wood"},{name:"Hut",unified:"1F6D6",keywords:["hut","house","structure"],sheet:[38,6],shortName:"hut"},{name:"Houses",unified:"1F3D8-FE0F",keywords:["houses","buildings","photo"],sheet:[10,3],shortName:"house_buildings"},{name:"Derelict House",unified:"1F3DA-FE0F",keywords:["derelict_house","abandon","evict","broken","building"],sheet:[10,5],shortName:"derelict_house_building"},{name:"House Building",unified:"1F3E0",keywords:["house","building","home"],sheet:[10,11],shortName:"house"},{name:"House with Garden",unified:"1F3E1",keywords:["house_with_garden","home","plant","nature"],sheet:[10,12],shortName:"house_with_garden"},{name:"Office Building",unified:"1F3E2",keywords:["office_building","building","bureau","work"],sheet:[10,13],shortName:"office"},{name:"Japanese Post Office",unified:"1F3E3",keywords:["japanese_post_office","building","envelope","communication"],sheet:[10,14],shortName:"post_office"},{name:"European Post Office",unified:"1F3E4",keywords:["post_office","building","email"],sheet:[10,15],shortName:"european_post_office"},{name:"Hospital",unified:"1F3E5",keywords:["hospital","building","health","surgery","doctor"],sheet:[10,16],shortName:"hospital"},{name:"Bank",unified:"1F3E6",keywords:["bank","building","money","sales","cash","business","enterprise"],sheet:[10,17],shortName:"bank"},{name:"Hotel",unified:"1F3E8",keywords:["hotel","building","accomodation","checkin"],sheet:[10,19],shortName:"hotel"},{name:"Love Hotel",unified:"1F3E9",keywords:["love_hotel","like","affection","dating"],sheet:[10,20],shortName:"love_hotel"},{name:"Convenience Store",unified:"1F3EA",keywords:["convenience_store","building","shopping","groceries"],sheet:[10,21],shortName:"convenience_store"},{name:"School",unified:"1F3EB",keywords:["school","building","student","education","learn","teach"],sheet:[10,22],shortName:"school"},{name:"Department Store",unified:"1F3EC",keywords:["department_store","building","shopping","mall"],sheet:[10,23],shortName:"department_store"},{name:"Factory",unified:"1F3ED",keywords:["factory","building","industry","pollution","smoke"],sheet:[10,24],shortName:"factory"},{name:"Japanese Castle",unified:"1F3EF",keywords:["japanese_castle","photo","building"],sheet:[10,26],shortName:"japanese_castle"},{name:"European Castle",unified:"1F3F0",keywords:["castle","building","royalty","history"],sheet:[10,27],shortName:"european_castle"},{name:"Wedding",unified:"1F492",keywords:["wedding","love","like","affection","couple","marriage","bride","groom"],sheet:[27,33],shortName:"wedding"},{name:"Tokyo Tower",unified:"1F5FC",keywords:["tokyo_tower","photo","japanese"],sheet:[32,16],shortName:"tokyo_tower"},{name:"Statue of Liberty",unified:"1F5FD",keywords:["statue_of_liberty","american","newyork"],sheet:[32,17],shortName:"statue_of_liberty"},{name:"Church",unified:"26EA",keywords:["church","building","religion","christ"],sheet:[57,55],shortName:"church"},{name:"Mosque",unified:"1F54C",keywords:["mosque","islam","worship","minaret"],sheet:[30,29],shortName:"mosque"},{name:"Hindu Temple",unified:"1F6D5",keywords:["hindu_temple","religion"],sheet:[38,5],shortName:"hindu_temple"},{name:"Synagogue",unified:"1F54D",keywords:["synagogue","judaism","worship","temple","jewish"],sheet:[30,30],shortName:"synagogue"}
3,{name:"Shinto Shrine",unified:"26E9-FE0F",keywords:["shinto_shrine","temple","japan","kyoto"],sheet:[57,54],shortName:"shinto_shrine"},{name:"Kaaba",unified:"1F54B",keywords:["kaaba","mecca","mosque","islam"],sheet:[30,28],shortName:"kaaba"},{name:"Fountain",unified:"26F2",keywords:["fountain","photo","summer","water","fresh"],sheet:[57,58],shortName:"fountain"},{name:"Tent",unified:"26FA",keywords:["tent","photo","camping","outdoors"],sheet:[58,21],shortName:"tent"},{name:"Foggy",unified:"1F301",keywords:["foggy","photo","mountain"],sheet:[5,0],shortName:"foggy"},{name:"Night with Stars",unified:"1F303",keywords:["night_with_stars","evening","city","downtown"],sheet:[5,2],shortName:"night_with_stars"},{name:"Cityscape",unified:"1F3D9-FE0F",keywords:["cityscape","photo","night life","urban"],sheet:[10,4],shortName:"cityscape"},{name:"Sunrise over Mountains",unified:"1F304",keywords:["sunrise_over_mountains","view","vacation","photo"],sheet:[5,3],shortName:"sunrise_over_mountains"},{name:"Sunrise",unified:"1F305",keywords:["sunrise","morning","view","vacation","photo"],sheet:[5,4],shortName:"sunrise"},{name:"Cityscape at Dusk",unified:"1F306",keywords:["cityscape_at_dusk","photo","evening","sky","buildings"],sheet:[5,5],shortName:"city_sunset"},{name:"Sunset over Buildings",unified:"1F307",keywords:["sunset","photo","good morning","dawn"],sheet:[5,6],shortName:"city_sunrise"},{name:"Bridge at Night",unified:"1F309",keywords:["bridge_at_night","photo","sanfrancisco"],sheet:[5,8],short
3Name:"bridge_at_night"},{name:"Hot Springs",unified:"2668-FE0F",keywords:["hot_springs","bath","warm","relax"],sheet:[57,24],shortName:"hotsprings"},{name:"Carousel Horse",unified:"1F3A0",keywords:["carousel_horse","photo","carnival"],sheet:[7,35],shortName:"carousel_horse"},{name:"Playground Slide",unified:"1F6DD",keywords:["playground slide","fun","park"],sheet:[38,8],hidden:["facebook"],shortName:"playground_slide"},{name:"Ferris Wheel",unified:"1F3A1",keywords:["ferris_wheel","photo","carnival","londoneye"],sheet:[7,36],shortName:"ferris_wheel"},{name:"Roller Coaster",unified:"1F3A2",keywords:["roller_coaster","carnival","playground","photo","fun"],sheet:[7,37],shortName:"roller_coaster"},{name:"Barber Pole",unified:"1F488",keywords:["barber_pole","hair","salon","style"],sheet:[26,34],shortName:"barber"},{name:"Circus Tent",unified:"1F3AA",keywords:["circus_tent","festival","carnival","party"],sheet:[7,45],shortName:"circus_tent"},{name:"Steam Locomotive",unified:"1F682",keywords:["locomotive","transportation","vehicle","train"],sheet:[35,34],shortName:"steam_locomotive"},{name:"Railway Car",unified:"1F683",keywords:["railway_car","transportation","vehicle"],sheet:[35,35],shortName:"railway_car"},{name:"High-Speed Train",unified:"1F684",keywords:["high_speed_train","transportation","vehicle"],sheet:[35,36],shortName:"bullettrain_side"},{name:"High-Speed Train with Bullet Nose",unified:"1F685",keywords:["bullet_train","transportation","vehicle","speed","fast","public","travel"],sheet:[35,37],shortName:"bullettrain_front"},{name:"Train",unified:"1F686",keywords:["train","transportation","vehicle"],sheet:[35,38],shortName:"train2"},{name:"Metro",unified:"1F687",keywords:["metro","transportation","blue-square","mrt","underground","tube"],sheet:[35,39],shortName:"metro"},{name:"Light Rail",unified:"1F688",keywords:["light_rail","transportation","vehicle"],sheet:[35,40],shortName:"light_rail"},{name:"Station",unified:"1F689",keywords:["station","transportation","vehicle","public"],sheet:[35,41],shortName:"station"},{name:"Tram",unified:"1F68A",keywords:["tram","transportation","vehicle"],sheet:[35,42],shortName:"tram"},{name:"Monorail",unified:"1F69D",keywords:["monorail","transportation","vehicle"],sheet:[36,0],shortName:"monorail"},{name:"Mountain Railway",unified:"1F69E",keywords:["mountain_railway","transportation","vehicle"],sheet:[36,1],shortName:"mountain_railway"},{name:"Tram Car",unified:"1F68B",keywords:["tram_car","transportation","vehicle","carriage","public","travel"],sheet:[35,43],shortName:"train"},{name:"Bus",unified:"1F68C",keywords:["bus","car","vehicle","transportation"],sheet:[35,44],shortName:"bus"},{name:"Oncoming Bus",unified:"1F68D",keywords:["oncoming_bus","vehicle","transportation"],sheet:[35,45],shortName:"oncoming_bus"},{name:"Trolleybus",unified:"1F68E",keywords:["trolleybus","bart","transportation","vehicle"],sheet:[35,46],shortName:"trolleybus"},{name:"Minibus",unified:"1F690",keywords:["minibus","vehicle","car","transportation"],sheet:[35,48],shortName:"minibus"},{name:"Ambulance",unified:"1F691",keywords:["ambulance","health","911","hospital"],sheet:[35,49],shortName:"ambulance"},{name:"Fire Engine",unified:"1F692",keywords:["fire_engine","transportation","cars","vehicle"],sheet:[35,50],shortName:"fire_engine"},{name:"Police Car",unified:"1F693",keywords:["police_car","vehicle","cars","transportation","law","legal","enforcement"],sheet:[35,51],shortName:"police_car"},{name:"Oncoming Police Car",unified:"1F694",keywords:["oncoming_police_car","vehicle","law","legal","enforcement","911"],sheet:[35,52],shortName:"oncoming_police_car"},{name:"Taxi",unified:"1F695",keywords:["taxi","uber","vehicle","cars","transportation"],sheet:[35,53],shortName:"taxi"},{name:"Oncoming Taxi",unified:"1F696",keywords:["oncoming_taxi","vehicle","cars","uber"],sheet:[35,54],shortName:"oncoming_taxi"},{name:"Automobile",unified:"1F697",keywords:["automobile","red","transportation","vehicle"],sheet:[35,55],shortNames:["red_car"],shortName:"car"},{name:"Oncoming Automobile",unified:"1F698",keywords:["oncoming_automobile","car","vehicle","transportation"],sheet:[35,56],shortName:"oncoming_automobile"},{name:"Recreational Vehicle",unified:"1F699",keywords:["sport_utility_vehicle","transportation","vehicle"],sheet:[35,57],shortName:"blue_c
3ar"},{name:"Pickup Truck",unified:"1F6FB",keywords:["pickup truck","car","transportation"],sheet:[38,29],shortName:"pickup_truck"},{name:"Delivery Truck",unified:"1F69A",keywords:["delivery_truck","cars","transportation"],sheet:[35,58],shortName:"truck"},{name:"Articulated Lorry",unified:"1F69B",keywords:["articulated_lorry","vehicle","cars","transportation","express"],sheet:[35,59],shortName:"articulated_lorry"},{name:"Tractor",unified:"1F69C",keywords:["tractor","vehicle","car","farming","agriculture"],sheet:[35,60],shortName:"tractor"},{name:"Racing Car",unified:"1F3CE-FE0F",keywords:["racing_car","sports","race","fast","formula","f1"],sheet:[9,54],shortName:"racing_car"},{name:"Motorcycle",unified:"1F3CD-FE0F",keywords:["motorcycle","race","sports","fast"],sheet:[9,53],shortName:"racing_motorcycle"},{name:"Motor Scooter",unified:"1F6F5",keywords:["motor_scooter","vehicle","vespa","sasha"],sheet:[38,23],shortName:"motor_scooter"},{name:"Manual Wheelchair",unified:"1F9BD",keywords:["manual_wheelchair","accessibility"],sheet:[46,2],shortName:"manual_wheelchair"},{name:"Motorized Wheelchair",unified:"1F9BC",keywords:["motorized_wheelchair","accessibility"],sheet:[46,1],shortName:"motorized_wheelchair"},{name:"Auto Rickshaw",unified:"1F6FA",keywords:["auto_rickshaw","move","transportation"],sheet:[38,28],shortName:"auto_rickshaw"},{name:"Bicycle",unified:"1F6B2",keywords:["bicycle","sports","bicycle","exercise","hipster"],sheet:[36,38],shortName:"bike"},{name:"Scooter",unified:"1F6F4",keywords:["kick_scooter","vehicle","kick","razor"],sheet:[38,22],shortName:"scooter"},{name:"Skateboard",unified:"1F6F9",keywords:["skateboard","board"],sheet:[38,27],shortName:"skateboard"},{name:"Roller Skate",unified:"1F6FC",keywords:["roller skate","footwear","sports"],sheet:[38,30],shortName:"roller_skate"},{name:"Bus Stop",unified:"1F68F",keywords:["bus_stop","transportation","wait"],sheet:[35,47],shortName:"busstop"},{name:"Motorway",unified:"1F6E3-FE0F",keywords:["motorway","road","cupertino","interstate","highway"],sheet:[38,14],shortName:"motorway"},{name:"Railway Track",unified:"1F6E4-FE0F",keywords:["railway_track","train","transportation"],sheet:[38,15],shortName:"railway_track"},{name:"Oil Drum",unified:"1F6E2-FE0F",keywords:["oil_drum","barrell"],sheet:[38,13],shortName:"oil_drum"},{name:"Fuel Pump",unified:"26FD",keywords:["fuel_pump","gas station","petroleum"],sheet:[58,22],shortName:"fuelpump"},{name:"Wheel",unified:"1F6DE",keywords:["wheel","car","transport"],sheet:[38,9],hidden:["facebook"],shortName:"wheel"},{name:"Police Cars Revolving Light",unified:"1F6A8",keywords:["police_car_light","police","ambulance","911","emergency","alert","error","pinged","law","legal"],sheet:[36,28],shortName:"rotating_light"},{name:"Horizontal Traffic Light",unified:"1F6A5",keywords:["horizontal_traffic_light","transportation","signal"],sheet:[36,25],shortName:"traffic_light"},{name:"Vertical Traffic Light",unified:"1F6A6",keywords:["vertical_traffic_light","transportation","driving"],sheet:[36,26],shortName:"vertical_traffic_light"},{name:"Octagonal Sign",unified:"1F6D1",keywords:["stop_sign","stop"],sheet:[38,3],shortName:"octagonal_sign"},{name:"Construction Sign",unified:"1F6A7",keywords:["construction","wip","progress","caution","warning"],sheet:[36,27],shortName:"construction"},{name:"Anchor",unified:"2693",keywords:["anchor","ship","ferry","sea","boat"],sheet:[57,29],shortName:"anchor"},{name:"Ring Buoy",unified:"1F6DF",keywords:["ring buoy","life saver","life preserver"],sheet:[38,10],hidden:["facebook"],shortName:"ring_buoy"},{name:"Sailboat",unified:"26F5",keywords:["sailboat","ship","summer","transportation","water","sailing"],sheet:[58,0],shortNames:["sailboat"],shortName:"boat"},{name:"Canoe",unified:"1F6F6",keywords:["canoe","boat","paddle","water","ship"],sheet:[38,24],shortName:"canoe"},{name:"Speedboat",unified:"1F6A4",keywords:["speedboat","ship","transportation","vehicle","summer"],sheet:[36,24],shortName:"speedboat"},{name:"Passenger Ship",unified:"1F6F3-FE0F",keywords:["passenger_ship","yacht","cruise","ferry"],sheet:[38,21],shortName:"passenger_ship"},{name:"Ferry",unified:"26F4-FE0F",keywords:["ferry","boat","ship","yacht"],sheet:[57,60],shortName:"ferry"},{name:"Motor Boat",unified:"1F6E5-FE0F",keywords:["motor_boat","ship"],sheet:[38,16],shortName:"motor_boat"},{name:"Ship",unified:"1F6A2",keywords:["ship","transportation","titanic","deploy"],sheet:[36,5],shortName:"ship"},{name:"Airplane",unified:"2708-FE0F",keywords:["airplane","vehicle","transportation","flight","fly"],sheet:[58,25],shortName:"airplane"},{name:"Small Airplane",unified:"1F6E9-FE0F",keywords:["small_airplane","flight","transportation","fly","vehicle"],sheet:[38,17],shortName:"small_airplane"},{name:"Airplane Departure",unified:"1F6EB",keywords:["airplane_departure","airport","flight","landing"],sheet:[38,18],shortName:"airplane_departure"},{name:"Airplane Arriving",unified:"1F6EC",keywords:["airplane_arrival","airport","flight","boarding"],sheet:[38,19],shortName:"airplane_arriving"},{name:"Parachute",unified:"1FA82",keywords:["parachute","fly","glide"],sheet:[53,58],shortName:"parachute"},{name:"Seat",unified:"1F4BA",keywords:["seat","sit","airplane","transport","bus","flight","fly"],sheet:[28,17],shortName:"seat"},{name:"Helicopter",unified:"1F681",keywords:["helicopter","transportation","vehicle","fly"],sheet:[35,33],short
3Name:"helicopter"},{name:"Suspension Railway",unified:"1F69F",keywords:["suspension_railway","vehicle","transportation"],sheet:[36,2],shortName:"suspension_railway"},{name:"Mountain Cableway",unified:"1F6A0",keywords:["mountain_cableway","transportation","vehicle","ski"],sheet:[36,3],shortName:"mountain_cableway"},{name:"Aerial Tramway",unified:"1F6A1",keywords:["aerial_tramway","transportation","vehicle","ski"],sheet:[36,4],shortName:"aerial_tramway"},{name:"Satellite",unified:"1F6F0-FE0F",keywords:["satellite","communication","gps","orbit","spaceflight","NASA","ISS"],sheet:[38,20],shortName:"satellite"},{name:"Rocket",unified:"1F680",keywords:["rocket","launch","ship","staffmode","NASA","outer space","outer_space","fly"],sheet:[35,32],shortName:"rocket"},{name:"Flying Saucer",unified:"1F6F8",keywords:["flying_saucer","transportation","vehicle","ufo"],sheet:[38,26],shortName:"flying_saucer"},{name:"Bellhop Bell",unified:"1F6CE-FE0F",keywords:["bellhop_bell","service"],sheet:[38,0],shortName:"bellhop_bell"},{name:"Luggage",unified:"1F9F3",keywords:["luggage","packing","travel"],sheet:[53,33],shortName:"luggage"},{name:"Hourglass",unified:"231B",keywords:["hourglass_done","time","clock","oldschool","limit","exam","quiz","test"],sheet:[56,14],shortName:"hourglass"},{name:"Hourglass with Flowing Sand",unified:"23F3",keywords:["hourglass_not_done","oldschool","time","countdown"],sheet:[56,27],shortName:"hourglass_flowing_sand"},{name:"Watch",unified:"231A",keywords:["watch","time","accessories"],sheet:[56,13],shortName:"watch"},{name:"Alarm Clock",unified:"23F0",keywords:["alarm_clock","time","wake"],sheet:[56,24],shortName:"alarm_clock"},{name:"Stopwatch",unified:"23F1-FE0F",keywords:["stopwatch","time","deadline"],sheet:[56,25],shortName:"stopwatch"},{name:"Timer Clock",unified:"23F2-FE0F",keywords:["timer_clock","alarm"],sheet:[56,26],shortName:"timer_clock"},{name:"Mantelpiece Clock",unified:"1F570-FE0F",keywords:["mantelpiece_clock","time"],sheet:[30,57],shortName:"mantelpiece_clock"},{name:"Clock Face Twelve Oclock",unified:"1F55B",keywords:["twelve_o_clock","12","00:00","0000","12:00","1200","time","noon","midnight","midday","late","early","schedule"],sheet:[30,43],shortName:"clock12"},{name:"Clock Face Twelve-Thirty",unified:"1F567",keywords:["twelve_thirty","00:30","0030","12:30","1230","time","late","early","schedule"],sheet:[30,55],shortName:"clock1230"},{name:"Clock Face One Oclock",unified:"1F550",keywords:["one_o_clock","1","1:00","100","13:00","1300","time","late","early","schedule"],sheet:[30,32],shortName:"clock1"},{name:"Clock Face One-Thirty",unified:"1F55C",keywords:["one_thirty","1:30","130","13:30","1330","time","late","early","schedule"],sheet:[30,44],shortName:"clock130"},{name:"Clock Face Two Oclock",unified:"1F551",keywords:["two_o_clock","2","2:00","200","14:00","1400","time","late","early","schedule"],sheet:[30,33],short
3Name:"clock2"},{name:"Clock Face Two-Thirty",unified:"1F55D",keywords:["two_thirty","2:30","230","14:30","1430","time","late","early","schedule"],sheet:[30,45],shortName:"clock230"},{name:"Clock Face Three Oclock",unified:"1F552",keywords:["three_o_clock","3","3:00","300","15:00","1500","time","late","early","schedule"],sheet:[30,34],shortName:"clock3"},{name:"Clock Face Three-Thirty",unified:"1F55E",keywords:["three_thirty","3:30","330","15:30","1530","time","late","early","schedule"],sheet:[30,46],shortName:"clock330"},{name:"Clock Face Four Oclock",unified:"1F553",keywords:["four_o_clock","4","4:00","400","16:00","1600","time","late","early","schedule"],sheet:[30,35],shortName:"clock4"},{name:"Clock Face Four-Thirty",unified:"1F55F",keywords:["four_thirty","4:30","430","16:30","1630","time","late","early","schedule"],sheet:[30,47],shortName:"clock430"},{name:"Clock Face Five Oclock",unified:"1F554",keywords:["five_o_clock","5","5:00","500","17:00","1700","time","late","early","schedule"],sheet:[30,36],shortName:"clock5"},{name:"Clock Face Five-Thirty",unified:"1F560",keywords:["five_thirty","5:30","530","17:30","1730","time","late","early","schedule"],sheet:[30,48],shortName:"clock530"},{name:"Clock Face Six Oclock",unified:"1F555",keywords:["six_o_clock","6","6:00","600","18:00","1800","time","late","early","schedule","dawn","dusk"],sheet:[30,37],shortName:"clock6"},{name:"Clock Face Six-Thirty",unified:"1F561",keywords:["six_thirty","6:30","630","18:30","1830","time","late","early","schedule"],sheet:[30,49],shortName:"clock630"},{name:"Clock Face Seven Oclock",unified:"1F556",keywords:["seven_o_clock","7","7:00","700","19:00","1900","time","late","early","schedule"],sheet:[30,38],shortName:"clock7"},{name:"Clock Face Seven-Thirty",unified:"1F562",keywords:["seven_thirty","7:30","730","19:30","1930","time","late","early","schedule"],sheet:[30,50],shortName:"clock730"},{name:"Clock Face Eight Oclock",unified:"1F557",keywords:["eight_o_clock","8","8:00","800","20:00","2000","time","late","early","schedule"],sheet:[30,39],shortName:"clock8"},{name:"Clock Face Eight-Thirty",unified:"1F563",keywords:["eight_thirty","8:30","830","20:30","2030","time","late","early","schedule"],sheet:[30,51],shortName:"clock830"},{name:"Clock Face Nine Oclock",unified:"1F558",keywords:["nine_o_clock","9","9:00","900","21:00","2100","time","late","early","schedule"],sheet:[30,40],shortName:"clock9"},{name:"Clock Face Nine-Thirty",unified:"1F564",keywords:["nine_thirty","9:30","930","21:30","2130","time","late","early","schedule"],sheet:[30,52],shortName:"clock930"},{name:"Clock Face Ten Oclock",unified:"1F559",keywords:["ten_o_clock","10","10:00","1000","22:00","2200","time","late","early","schedule"],sheet:[30,41],shortName:"clock10"},{name:"Clock Face Ten-Thirty",unified:"1F565",keywords:["ten_thirty","10:30","1030","22:30","2230","time","late","early","schedule"],sheet:[30,53],shortName:"clock1030"},{name:"Clock Face Eleven Oclock",unified:"1F55A",keywords:["eleven_o_clock","11","11:00","1100","23:00","2300","time","late","early","schedule"],sheet:[30,42],shortName:"clock11"},{name:"Clock Face Eleven-Thirty",unified:"1F566",keywords:["eleven_thirty","11:30","1130","23:30","2330","time","late","early","schedule"],sheet:[30,54],shortName:"clock1130"},{name:"New Moon Symbol",unified:"1F311",keywords:["new_moon","nature","twilight","planet","space","night","evening","sleep"],sheet:[5,16],shortName:"new_moon"},{name:"Waxing Crescent Moon Symbol",unified:"1F312",keywords:["waxing_crescent_moon","nature","twilight","planet","space","night","evening","sleep"],sheet:[5,17],shortName:"waxing_crescent_moon"},{name:"First Quarter Moon Symbol",unified:"1F313",keywords:["first_quarter_moon","nature","twilight","planet","space","night","evening","sleep"],sheet:[5,18],shortName:"first_quarter_moon"},{name:"Waxing Gibbous Moon Symbol",unified:"1F314",keywords:["waxing_gibbous_moon","nature","night","sky","gray","twilight","planet","space","evening","sleep"],sheet:[5,19],shortNames:["waxing_gibbous_moon"],shortName:"moon"},{name:"Full Moon Symbol",unified:"1F315",keywords:["full_moon","nature","yellow","twilight","planet","space","night","evening","sleep"],sheet:[5,20],shortName:"full_moon"},{name:"Waning Gibbous Moon Symbol",unified:"1F316",keywords:["w
3aning_gibbous_moon","nature","twilight","planet","space","night","evening","sleep","waxing_gibbous_moon"],sheet:[5,21],shortName:"waning_gibbous_moon"},{name:"Last Quarter Moon Symbol",unified:"1F317",keywords:["last_quarter_moon","nature","twilight","planet","space","night","evening","sleep"],sheet:[5,22],shortName:"last_quarter_moon"},{name:"Waning Crescent Moon Symbol",unified:"1F318",keywords:["waning_crescent_moon","nature","twilight","planet","space","night","evening","sleep"],sheet:[5,23],shortName:"waning_crescent_moon"},{name:"Crescent Moon",unified:"1F319",keywords:["crescent_moon","night","sleep","sky","evening","magic"],sheet:[5,24],shortName:"crescent_moon"},{name:"New Moon with Face",unified:"1F31A",keywords:["new_moon_face","nature","twilight","planet","space","night","evening","sleep"],sheet:[5,25],shortName:"new_moon_with_face"},{name:"First Quarter Moon with Face",unified:"1F31B",keywords:["first_quarter_moon_face","nature","twilight","planet","space","night","evening","sleep"],sheet:[5,26],shortName:"first_quarter_moon_with_face"},{name:"Last Quarter Moon with Face",unified:"1F31C",keywords:["last_quarter_moon_face","nature","twilight","planet","space","night","evening","sleep"],sheet:[5,27],shortName:"last_quarter_moon_with_face"},{name:"Thermometer",unified:"1F321-FE0F",keywords:["thermometer","weather","temperature","hot","cold"],sheet:[5,32],shortName:"thermometer"},{name:"Black Sun with Rays",unified:"2600-FE0F",keywords:["sun","weather","nature","brightness","summer","beach","spring"],sheet:[56,40],shortName:"sunny"},{name:"Full Moon with Face",unified:"1F31D",keywords:["full_moon_face","nature","twilight","planet","space","night","evening","sleep"],sheet:[5,28],shortName:"full_moon_with_face"},{name:"Sun with Face",unified:"1F31E",keywords:["sun_with_face","nature","morning","sky"],sheet:[5,29],shortName:"sun_with_face"},{name:"Ringed Planet",unified:"1FA90",keywords:["ringed_planet","outerspace"],sheet:[54,2],shortName:"ringed_planet"},{name:"White Medium Star",unified:"2B50",keywords:["star","night","yellow"],sheet:[59,24],shortName:"star"},{name:"Glowing Star",unified:"1F31F",keywords:["glowing_star","night","sparkle","awesome","good","magic"],sheet:[5,30],shortName:"star2"},{name:"Shooting Star",unified:"1F320",keywords:["shooting_star","night","photo"],sheet:[5,31],shortName:"stars"},{name:"Milky Way",unified:"1F30C",keywords:["milky_way","photo","space","stars"],sheet:[5,11],shortName:"milky_way"},{name:"Cloud",unified:"2601-FE0F",keywords:["cloud","weather","sky"],sheet:[56,41],shortName:"cloud"},{name:"Sun Behind Cloud",unified:"26C5",keywords:["sun_behind_cloud","weather","nature","cloudy","morning","fall","spring"],sheet:[57,47],shortName:"partly_sunny"},{name:"Cloud with Lightning and Rain",unified:"26C8-FE0F",keywords:["cloud_with_lightning_and_rain","weather","lightning"],sheet:[57,48],shortName:"thunder_cloud_and_rain"},{name:"Sun Behind Small Cloud",unified:"1F324-FE0F",keywords:["sun_behind_small_cloud","weather"],sheet:[5,33],shortNames:["sun_small_cloud"],short
3Name:"mostly_sunny"},{name:"Sun Behind Large Cloud",unified:"1F325-FE0F",keywords:["sun_behind_large_cloud","weather"],sheet:[5,34],shortNames:["sun_behind_cloud"],shortName:"barely_sunny"},{name:"Sun Behind Rain Cloud",unified:"1F326-FE0F",keywords:["sun_behind_rain_cloud","weather"],sheet:[5,35],shortNames:["sun_behind_rain_cloud"],shortName:"partly_sunny_rain"},{name:"Cloud with Rain",unified:"1F327-FE0F",keywords:["cloud_with_rain","weather"],sheet:[5,36],shortName:"rain_cloud"},{name:"Cloud with Snow",unified:"1F328-FE0F",keywords:["cloud_with_snow","weather"],sheet:[5,37],shortName:"snow_cloud"},{name:"Cloud with Lightning",unified:"1F329-FE0F",keywords:["cloud_with_lightning","weather","thunder"],sheet:[5,38],shortNames:["lightning_cloud"],shortName:"lightning"},{name:"Tornado",unified:"1F32A-FE0F",keywords:["tornado","weather","cyclone","twister"],sheet:[5,39],shortNames:["tornado_cloud"],shortName:"tornado"},{name:"Fog",unified:"1F32B-FE0F",keywords:["fog","weather"],sheet:[5,40],shortName:"fog"},{name:"Wind Face",unified:"1F32C-FE0F",keywords:["wind_face","gust","air"],sheet:[5,41],shortName:"wind_blowing_face"},{name:"Cyclone",unified:"1F300",keywords:["cyclone","weather","swirl","blue","cloud","vortex","spiral","whirlpool","spin","tornado","hurricane","typhoon"],sheet:[4,60],shortName:"cyclone"},{name:"Rainbow",unified:"1F308",keywords:["rainbow","nature","happy","unicorn_face","photo","sky","spring"],sheet:[5,7],shortName:"rainbow"},{name:"Closed Umbrella",unified:"1F302",keywords:["closed_umbrella","weather","rain","drizzle"],sheet:[5,1],shortName:"closed_umbrella"},{name:"Umbrella",unified:"2602-FE0F",keywords:["umbrella","weather","spring"],sheet:[56,42],shortName:"umbrella"},{name:"Umbrella with Rain Drops",unified:"2614",keywords:["umbrella_with_rain_drops","rainy","weather","spring"],sheet:[56,47],shortName:"umbrella_with_rain_drops"},{name:"Umbrella on Ground",unified:"26F1-FE0F",keywords:["umbrella_on_ground","weather","summer"],sheet:[57,57],shortName:"umbrella_on_ground"},{name:"High Voltage Sign",unified:"26A1",keywords:["high_voltage","thunder","weather","lightning bolt","fast"],sheet:[57,38],shortName:"zap"},{name:"Snowflake",unified:"2744-FE0F",keywords:["snowflake","winter","season","cold","weather","christmas","xmas"],sheet:[58,60],shortName:"snowflake"},{name:"Snowman",unified:"2603-FE0F",keywords:["snowman","winter","season","cold","weather","christmas","xmas","frozen"],sheet:[56,43],shortName:"snowman"},{name:"Snowman Without Snow",unified:"26C4",keywords:["snowman_without_snow","winter","season","cold","weather","christmas","xmas","frozen","without_snow"],sheet:[57,46],shortName:"snowman_without_snow"},{name:"Comet",unified:"2604-FE0F",keywords:["comet","space"],sheet:[56,44],shortName:"comet"},{name:"Fire",unified:"1F525",keywords:["fire","hot","cook","flame"],sheet:[30,1],shortName:"fire"},{name:"Droplet",unified:"1F4A7",keywords:["droplet","water","drip","faucet","spring"],sheet:[27,54],shortName:"droplet"},{name:"Water Wave",unified:"1F30A",keywords:["water_wave","sea","water","wave","nature","tsunami","disaster"],sheet:[5,9],shortName:"ocean"},{name:"Jack-O-Lantern",unified:"1F383",keywords:["jack_o_lantern","halloween","light","pumpkin","creepy","fall"],sheet:[7,6],shortName:"jack_o_lantern"},{name:"Christmas Tree",unified:"1F384",keywords:["christmas_tree","festival","vacation","december","xmas","celebration"],sheet:[7,7],shortName:"christmas_tree"},{name:"Fireworks",unified:"1F386",keywords:["fireworks","photo","festival","carnival","congratulations"],sheet:[7,14],shortName:"fireworks"},{name:"Firework Sparkler",unified:"1F387",keywords:["sparkler","stars","night","shine"],sheet:[7,15],shortName:"sparkler"},{name:"Firecracker",unified:"1F9E8",keywords:["firecracker","dynamite","boom","explode","explosion","explosive"],sheet:[53,22],shortName:"firecracker"},{name:"Sparkles",unified:"2728",keywords:["sparkles","stars","shine","shiny","cool","awesome","good","magic"],sheet:[58,57],shortName:"sparkles"},{name:"Balloon",unified:"1F388",keywords:["balloon","party","celebration","birthday","circus"],sheet:[7,16],shortName:"balloon"}
3,{name:"Party Popper",unified:"1F389",keywords:["party_popper","party","congratulations","birthday","magic","circus","celebration","tada"],sheet:[7,17],shortName:"tada"},{name:"Confetti Ball",unified:"1F38A",keywords:["confetti_ball","festival","party","birthday","circus"],sheet:[7,18],shortName:"confetti_ball"},{name:"Tanabata Tree",unified:"1F38B",keywords:["tanabata_tree","plant","nature","branch","summer","bamboo","wish","star_festival","tanzaku"],sheet:[7,19],shortName:"tanabata_tree"},{name:"Pine Decoration",unified:"1F38D",keywords:["pine_decoration","japanese","plant","nature","vegetable","panda","new_years","bamboo"],sheet:[7,21],shortName:"bamboo"},{name:"Japanese Dolls",unified:"1F38E",keywords:["japanese_dolls","japanese","toy","kimono"],sheet:[7,22],shortName:"dolls"},{name:"Carp Streamer",unified:"1F38F",keywords:["carp_streamer","fish","japanese","koinobori","carp","banner"],sheet:[7,23],shortName:"flags"},{name:"Wind Chime",unified:"1F390",keywords:["wind_chime","nature","ding","spring","bell"],sheet:[7,24],shortName:"wind_chime"},{name:"Moon Viewing Ceremony",unified:"1F391",keywords:["moon_viewing_ceremony","photo","japan","asia","tsukimi"],sheet:[7,25],shortName:"rice_scene"},{name:"Red Gift Envelope",unified:"1F9E7",keywords:["red_envelope","gift"],sheet:[53,21],shortName:"red_envelope"},{name:"Ribbon",unified:"1F380",keywords:["ribbon","decoration","pink","girl","bowtie"],sheet:[7,3],shortName:"ribbon"},{name:"Wrapped Present",unified:"1F381",keywords:["wrapped_gift","present","birthday","christmas","xmas"],sheet:[7,4],shortName:"gift"},{name:"Reminder Ribbon",unified:"1F397-FE0F",keywords:["reminder_ribbon","sports","cause","support","awareness"],sheet:[7,29],shortName:"reminder_ribbon"},{name:"Admission Tickets",unified:"1F39F-FE0F",keywords:["admission_tickets","sports","concert","entrance"],sheet:[7,34],shortName:"admission_tickets"},{name:"Ticket",unified:"1F3AB",keywords:["ticket","event","concert","pass"],sheet:[7,46],shortName:"ticket"},{name:"Military Medal",unified:"1F396-FE0F",keywords:["military_medal","award","winning","army"],sheet:[7,28],shortName:"medal"},{name:"Trophy",unified:"1F3C6",keywords:["trophy","win","award","contest","place","ftw","ceremony"],sheet:[8,51],shortName:"trophy"},{name:"Sports Medal",unified:"1F3C5",keywords:["sports_medal","award","winning"],sheet:[8,50],shortName:"sports_medal"},{name:"First Place Medal",unified:"1F947",keywords:["1st_place_medal","award","winning","first"],sheet:[43,17],shortName:"first_place_medal"},{name:"Second Place Medal",unified:"1F948",keywords:["2nd_place_medal","award","second"],sheet:[43,18],shortName:"second_place_medal"},{name:"Third Place Medal",unified:"1F949",keywords:["3rd_place_medal","award","third"],sheet:[43,19],shortName:"third_place_medal"},{name:"Soccer Ball",unified:"26BD",keywords:["soccer_ball","sports","football"],sheet:[57,44],shortName:"soccer"},{name:"Baseball",unified:"26BE",keywords:["baseball","sports","balls"],sheet:[57,45],shortName:"baseball"},{name:"Softball",unified:"1F94E",keywords:["softball","sports","balls"],sheet:[43,24],shortName:"softball"},{name:"Basketball and Hoop",unified:"1F3C0",keywords:["basketball","sports","balls","NBA"],sheet:[8,6],shortName:"basketball"},{name:"Volleyball",unified:"1F3D0",keywords:["volleyball","sports","balls"],sheet:[9,56],shortName:"volleyball"},{name:"American Football",unified:"1F3C8",keywords:["american_football","sports","balls","NFL"],sheet:[8,58],shortName:"football"},{name:"Rugby Football",unified:"1F3C9",keywords:["rugby_football","sports","team"],sheet:[8,59],shortName:"rugby_football"},{name:"Tennis Racquet and Ball",unified:"1F3BE",keywords:["tennis","sports","balls","green"],sheet:[8,4],shortName:"tennis"},{name:"Flying Disc",unified:"1F94F",keywords:["flying_disc","sports","frisbee","ultimate"],sheet:[43,25],shortName:"flying_disc"},{name:"Bowling",unified:"1F3B3",keywords:["bowling","sports","fun","play"],sheet:[7,54],shortName:"bowling"},{name:"Cricket Bat and Ball",unified:"1F3CF",keywords:["cricket_game","sports"],sheet:[9,55],shortName:"cricket_bat_and_ball"},{name:"Field Hockey Stick and Ball",unified:"1F3D1",keywords:["field_hockey","sports"],sheet:[9,57],shortName:"field_hockey_stick_and_ball"},{name:"Ice Hockey Stick and Puck",unified:"1F3D2",keywords:["ice_hockey","sports"],sheet:[9,58],shortName:"ice_hockey_stick_and_puck"},{name:"Lacrosse Stick and Ball",unified:"1F94D",keywords:["lacrosse","sports","ball","stick"],sheet:[43,23],short
3Name:"lacrosse"},{name:"Table Tennis Paddle and Ball",unified:"1F3D3",keywords:["ping_pong","sports","pingpong"],sheet:[9,59],shortName:"table_tennis_paddle_and_ball"},{name:"Badminton Racquet and Shuttlecock",unified:"1F3F8",keywords:["badminton","sports"],sheet:[10,38],shortName:"badminton_racquet_and_shuttlecock"},{name:"Boxing Glove",unified:"1F94A",keywords:["boxing_glove","sports","fighting"],sheet:[43,20],shortName:"boxing_glove"},{name:"Martial Arts Uniform",unified:"1F94B",keywords:["martial_arts_uniform","judo","karate","taekwondo"],sheet:[43,21],shortName:"martial_arts_uniform"},{name:"Goal Net",unified:"1F945",keywords:["goal_net","sports"],sheet:[43,16],shortName:"goal_net"},{name:"Flag in Hole",unified:"26F3",keywords:["flag_in_hole","sports","business","flag","hole","summer"],sheet:[57,59],shortName:"golf"},{name:"Ice Skate",unified:"26F8-FE0F",keywords:["ice_skate","sports"],sheet:[58,2],shortName:"ice_skate"},{name:"Fishing Pole and Fish",unified:"1F3A3",keywords:["fishing_pole","food","hobby","summer"],sheet:[7,38],shortName:"fishing_pole_and_fish"},{name:"Diving Mask",unified:"1F93F",keywords:["diving_mask","sport","ocean"],sheet:[43,10],shortName:"diving_mask"},{name:"Running Shirt with Sash",unified:"1F3BD",keywords:["running_shirt","play","pageant"],sheet:[8,3],shortName:"running_shirt_with_sash"},{name:"Ski and Ski Boot",unified:"1F3BF",keywords:["skis","sports","winter","cold","snow"],sheet:[8,5],shortName:"ski"},{name:"Sled",unified:"1F6F7",keywords:["sled","sleigh","luge","toboggan"],sheet:[38,25],shortName:"sled"},{name:"Curling Stone",unified:"1F94C",keywords:["curling_stone","sports"],sheet:[43,22],shortName:"curling_stone"},{name:"Direct Hit",unified:"1F3AF",keywords:["direct_hit","game","play","bar","target","bullseye"],sheet:[7,50],shortName:"dart"},{name:"Yo-Yo",unified:"1FA80",keywords:["yo_yo","toy"],sheet:[53,56],shortName:"yo-yo"},{name:"Kite",unified:"1FA81",keywords:["kite","wind","fly"],sheet:[53,57],shortName:"kite"},{name:"Billiards",unified:"1F3B1",keywords:["pool_8_ball","pool","hobby","game","luck","magic"],sheet:[7,52],shortName:"8ball"},{name:"Crystal Ball",unified:"1F52E",keywords:["crystal_ball","disco","party","magic","circus","fortune_teller"],sheet:[30,10],shortName:"crystal_ball"},{name:"Magic Wand",unified:"1FA84",keywords:["magic wand","supernature","power"],sheet:[53,60],shortName:"magic_wand"},{name:"Nazar Amulet",unified:"1F9FF",keywords:["nazar_amulet","bead","charm"],sheet:[53,45],shortName:"nazar_amulet"},{name:"Hamsa",unified:"1FAAC",keywords:["hamsa","religion","protection"],sheet:[54,30],hidden:["facebook"],shortName:"hamsa"},{name:"Video Game",unified:"1F3AE",keywords:["video_game","play","console","PS4","controller"],sheet:[7,49],shortName:"video_game"},{name:"Joystick",unified:"1F579-FE0F",keywords:["joystick","game","play"],sheet:[31,25],shortName:"joystick"},{name:"Slot Machine",unified:"1F3B0",keywords:["slot_machine","bet","gamble","vegas","fruit machine","luck","casino"],sheet:[7,51],shortName:"slot_machine"},{name:"Game Die",unified:"1F3B2",keywords:["game_die","dice","random","tabletop","play","luck"],sheet:[7,53],shortName:"game_die"},{name:"Jigsaw Puzzle Piece",unified:"1F9E9",keywords:["puzzle_piece","interlocking","puzzle","piece"],sheet:[53,23],shortName:"jigsaw"},{name:"Teddy Bear",unified:"1F9F8",keywords:["teddy_bear","plush","stuffed"],sheet:[53,38],shortName:"teddy_bear"},{name:"Pinata",unified:"1FA85",keywords:["pinata","mexico","candy","celebration"],sheet:[54,0],shortName:"pinata"},{name:"Mirror Ball",unified:"1FAA9",keywords:["mirror ball","disco","dance","party"],sheet:[54,27],hidden:["facebook"],shortName:"mirror_ball"},{name:"Nesting Dolls",unified:"1FA86",keywords:["nesting dolls","matryoshka","toy"],sheet:[54,1],shortName:"nesting_dolls"},{name:"Black Spade Suit",unified:"2660-FE0F",keywords:["spade_suit","poker","cards","suits","magic"],sheet:[57,20],shortName:"spades"},{name:"Black Heart Suit",unified:"2665-FE0F",keywords:["heart_suit","poker","cards","magic","suits"],sheet:[57,22],shortName:"hearts"},{name:"Black Diamond Suit",unified:"2666-FE0F",keywords:["diamond_suit","poker","cards","magic","suits"],sheet:[57,23],short
3Name:"diamonds"},{name:"Black Club Suit",unified:"2663-FE0F",keywords:["club_suit","poker","cards","magic","suits"],sheet:[57,21],shortName:"clubs"},{name:"Chess Pawn",unified:"265F-FE0F",keywords:["chess_pawn","expendable"],sheet:[57,19],shortName:"chess_pawn"},{name:"Playing Card Black Joker",unified:"1F0CF",keywords:["joker","poker","cards","game","play","magic"],sheet:[0,15],shortName:"black_joker"},{name:"Mahjong Tile Red Dragon",unified:"1F004",keywords:["mahjong_red_dragon","game","play","chinese","kanji"],sheet:[0,14],shortName:"mahjong"},{name:"Flower Playing Cards",unified:"1F3B4",keywords:["flower_playing_cards","game","sunset","red"],sheet:[7,55],shortName:"flower_playing_cards"},{name:"Performing Arts",unified:"1F3AD",keywords:["performing_arts","acting","theater","drama"],sheet:[7,48],shortName:"performing_arts"},{name:"Framed Picture",unified:"1F5BC-FE0F",keywords:["framed_picture","photography"],sheet:[31,60],shortName:"frame_with_picture"},{name:"Artist Palette",unified:"1F3A8",keywords:["artist_palette","design","paint","draw","colors"],sheet:[7,43],shortName:"art"},{name:"Spool of Thread",unified:"1F9F5",keywords:["thread","needle","sewing","spool","string"],sheet:[53,35],shortName:"thread"},{name:"Sewing Needle",unified:"1FAA1",keywords:["sewing needle","stitches"],sheet:[54,19],shortName:"sewing_needle"},{name:"Ball of Yarn",unified:"1F9F6",keywords:["yarn","ball","crochet","knit"],sheet:[53,36],shortName:"yarn"},{name:"Knot",unified:"1FAA2",keywords:["knot","rope","scout"],sheet:[54,20],shortName:"knot"},{name:"Eyeglasses",unified:"1F453",keywords:["glasses","fashion","accessories","eyesight","nerdy","dork","geek"],sheet:[13,15],shortName:"eyeglasses"},{name:"Sunglasses",unified:"1F576-FE0F",keywords:["sunglasses","face","cool","accessories"],sheet:[31,22],shortName:"dark_sunglasses"},{name:"Goggles",unified:"1F97D",keywords:["goggles","eyes","protection","safety"],sheet:[44,15],shortName:"goggles"},{name:"Lab Coat",unified:"1F97C",keywords:["lab_coat","doctor","experiment","scientist","chemist"],sheet:[44,14],shortName:"lab_coat"},{name:"Safety Vest",unified:"1F9BA",keywords:["safety_vest","protection"],sheet:[45,55],shortName:"safety_vest"},{name:"Necktie",unified:"1F454",keywords:["necktie","shirt","suitup","formal","fashion","cloth","business"],sheet:[13,16],shortName:"necktie"},{name:"T-Shirt",unified:"1F455",keywords:["t_shirt","fashion","cloth","casual","shirt","tee"],sheet:[13,17],shortNames:["tshirt"],shortName:"shirt"},{name:"Jeans",unified:"1F456",keywords:["jeans","fashion","shopping"],sheet:[13,18],shortName:"jeans"},{name:"Scarf",unified:"1F9E3",keywords:["scarf","neck","winter","clothes"],sheet:[53,17],shortName:"scarf"},{name:"Gloves",unified:"1F9E4",keywords:["gloves","hands","winter","clothes"],sheet:[53,18],shortName:"gloves"},{name:"Coat",unified:"1F9E5",keywords:["coat","jacket"],sheet:[53,19],shortName:"coat"},{name:"Socks",unified:"1F9E6",keywords:["socks","stockings","clothes"],sheet:[53,20],shortName:"socks"},{name:"Dress",unified:"1F457",keywords:["dress","clothes","fashion","shopping"],sheet:[13,19],shortName:"dress"},{name:"Kimono",unified:"1F458",keywords:["kimono","dress","fashion","women","female","japanese"],sheet:[13,20],shortName:"kimono"},{name:"Sari",unified:"1F97B",keywords:["sari","dress"],sheet:[44,13],shortName:"sari"},{name:"One-Piece Swimsuit",unified:"1FA71",keywords:["one_piece_swimsuit","fashion"],sheet:[53,47],shortName:"one-piece_swimsuit"},{name:"Briefs",unified:"1FA72",keywords:["briefs","clothing"],sheet:[53,48],shortName:"briefs"},{name:"Shorts",unified:"1FA73",keywords:["shorts","clothing"],sheet:[53,49],shortName:"shorts"},{name:"Bikini",unified:"1F459",keywords:["bikini","swimming","female","woman","girl","fashion","beach","summer"],sheet:[13,21],shortName:"bikini"},{name:"Womans Clothes",unified:"1F45A",keywords:["woman_s_clothes","fashion","shopping_bags","female"],sheet:[13,22],shortName:"womans_clothes"},{name:"Purse",unified:"1F45B",keywords:["purse","fashion","accessories","money","sales","shopping"],sheet:[13,23],shortName:"purse"},{name:"Handbag",unified:"1F45C",keywords:["handbag","fashion","accessory","accessories","shopping"],sheet:[13,24],shortName:"handbag"},{name:"Pouch",unified:"1F45D",keywords:["clutch_bag","bag","accessories","shopping"],sheet:[13,25],shortName:"pouch"},{name:"Shopping Bags",unified:"1F6CD-FE0F",keywords:["shopping_bags","mall","buy","purchase"],sheet:[37,60],shortName:"shopping_bags"},{name:"School Satchel",unified:"1F392",keywords:["backpack","student","education","bag","backpack"],sheet:[7,26],shortName:"school_satchel"},{name:"Thong Sandal",unified:"1FA74",keywords:["thong sandal","footwear","summer"],sheet:[53,50],shortName:"thong_sandal"},{name:"Mans Shoe",unified:"1F45E",keywords:["man_s_shoe","fashion","male"],sheet:[13,26],shortNames:["shoe"],shortName:"mans_shoe"},{name:"Athletic Shoe",unified:"1F45F",keywords:["running_shoe","shoes","sports","sneakers"],sheet:[13,27],shortName:"athletic_shoe"},{name:"Hiking Boot",unified:"1F97E",keywords:["hiking_boot","backpacking","camping","hiking"],sheet:[44,16],shortName:"hiking_boot"},{name:"Flat Shoe",unified:"1F97F",keywords:["flat_shoe","ballet","slip-on","slipper"],sheet:[44,17],shortName:"womans_flat_shoe"},{name:"High-Heeled Shoe",unified:"1F460",keywords:["high_heeled_shoe","fashion","shoes","female","pumps","stiletto"],sheet:[13,28],short
3Name:"high_heel"},{name:"Womans Sandal",unified:"1F461",keywords:["woman_s_sandal","shoes","fashion","flip flops"],sheet:[13,29],shortName:"sandal"},{name:"Ballet Shoes",unified:"1FA70",keywords:["ballet_shoes","dance"],sheet:[53,46],shortName:"ballet_shoes"},{name:"Womans Boots",unified:"1F462",keywords:["woman_s_boot","shoes","fashion"],sheet:[13,30],shortName:"boot"},{name:"Crown",unified:"1F451",keywords:["crown","king","kod","leader","royalty","lord"],sheet:[13,13],shortName:"crown"},{name:"Womans Hat",unified:"1F452",keywords:["woman_s_hat","fashion","accessories","female","lady","spring"],sheet:[13,14],shortName:"womans_hat"},{name:"Top Hat",unified:"1F3A9",keywords:["top_hat","magic","gentleman","classy","circus"],sheet:[7,44],shortName:"tophat"},{name:"Graduation Cap",unified:"1F393",keywords:["graduation_cap","school","college","degree","university","graduation","cap","hat","legal","learn","education"],sheet:[7,27],shortName:"mortar_board"},{name:"Billed Cap",unified:"1F9E2",keywords:["billed_cap","cap","baseball"],sheet:[53,16],shortName:"billed_cap"},{name:"Military Helmet",unified:"1FA96",keywords:["military helmet","army","protection"],sheet:[54,8],shortName:"military_helmet"},{name:"Rescue Worker\u2019s Helmet",unified:"26D1-FE0F",keywords:["rescue_worker_s_helmet","construction","build"],sheet:[57,51],shortName:"helmet_with_white_cross"},{name:"Prayer Beads",unified:"1F4FF",keywords:["prayer_beads","dhikr","religious"],sheet:[29,24],shortName:"prayer_beads"},{name:"Lipstick",unified:"1F484",keywords:["lipstick","female","girl","fashion","woman"],sheet:[25,52],shortName:"lipstick"},{name:"Ring",unified:"1F48D",keywords:["ring","wedding","propose","marriage","valentines","diamond","fashion","jewelry","gem","engagement"],sheet:[26,39],shortName:"ring"},{name:"Gem Stone",unified:"1F48E",keywords:["gem_stone","blue","ruby","diamond","jewelry"],sheet:[26,40],shortName:"gem"},{name:"Speaker with Cancellation Stroke",unified:"1F507",keywords:["muted_speaker","sound","volume","silence","quiet"],sheet:[29,32],shortName:"mute"},{name:"Speaker",unified:"1F508",keywords:["speaker_low_volume","sound","volume","silence","broadcast"],sheet:[29,33],shortName:"speaker"},{name:"Speaker with One Sound Wave",unified:"1F509",keywords:["speaker_medium_volume","volume","speaker","broadcast"],sheet:[29,34],shortName:"sound"},{name:"Speaker with Three Sound Waves",unified:"1F50A",keywords:["speaker_high_volume","volume","noise","noisy","speaker","broadcast"],sheet:[29,35],shortName:"loud_sound"},{name:"Public Address Loudspeaker",unified:"1F4E2",keywords:["loudspeaker","volume","sound"],sheet:[28,57],shortName:"loudspeaker"},{name:"Cheering Megaphone",unified:"1F4E3",keywords:["megaphone","sound","speaker","volume"],sheet:[28,58],shortName:"mega"},{name:"Postal Horn",unified:"1F4EF",keywords:["postal_horn","instrument","music"],sheet:[29,9],shortName:"postal_horn"},{name:"Bell",unified:"1F514",keywords:["bell","sound","notification","christmas","xmas","chime"],sheet:[29,45],shortName:"bell"},{name:"Bell with Cancellation Stroke",unified:"1F515",keywords:["bell_with_slash","sound","volume","mute","quiet","silent"],sheet:[29,46],shortName:"no_bell"},{name:"Musical Score",unified:"1F3BC",keywords:["musical_score","treble","clef","compose"],sheet:[8,2],shortName:"musical_score"},{name:"Musical Note",unified:"1F3B5",keywords:["musical_note","score","tone","sound"],sheet:[7,56],shortName:"musical_note"},{name:"Multiple Musical Notes",unified:"1F3B6",keywords:["musical_notes","music","score"],sheet:[7,57],shortName:"notes"},{name:"Studio Microphone",unified:"1F399-FE0F",keywords:["studio_microphone","sing","recording","artist","talkshow"],sheet:[7,30],shortName:"studio_microphone"},{name:"Level Slider",unified:"1F39A-FE0F",keywords:["level_slider","scale"],sheet:[7,31],shortName:"level_slider"},{name:"Control Knobs",unified:"1F39B-FE0F",keywords:["control_knobs","dial"],sheet:[7,32],shortName:"control_knobs"},{name:"Microphone",unified:"1F3A4",keywords:["microphone","sound","music","PA","sing","talkshow"],sheet:[7,39],shortName:"microphone"},{name:"Headphone",unified:"1F3A7",keywords:["headphone","music","score","gadgets"],sheet:[7,42],shortName:"headphones"},{name:"Radio",unified:"1F4FB",keywords:["radio","communication","music","podcast","program"],sheet:[29,21],shortName:"radio"},{name:"Saxophone",unified:"1F3B7",keywords:["saxophone","music","instrument","jazz","blues"],sheet:[7,58],shortName:"saxophone"},{name:"Accordion",unified:"1FA97",keywords:["accordion","music"],sheet:[54,9],short
3Name:"accordion"},{name:"Guitar",unified:"1F3B8",keywords:["guitar","music","instrument"],sheet:[7,59],shortName:"guitar"},{name:"Musical Keyboard",unified:"1F3B9",keywords:["musical_keyboard","piano","instrument","compose"],sheet:[7,60],shortName:"musical_keyboard"},{name:"Trumpet",unified:"1F3BA",keywords:["trumpet","music","brass"],sheet:[8,0],shortName:"trumpet"},{name:"Violin",unified:"1F3BB",keywords:["violin","music","instrument","orchestra","symphony"],sheet:[8,1],shortName:"violin"},{name:"Banjo",unified:"1FA95",keywords:["banjo","music","instructment"],sheet:[54,7],shortName:"banjo"},{name:"Drum with Drumsticks",unified:"1F941",keywords:["drum","music","instrument","drumsticks","snare"],sheet:[43,12],shortName:"drum_with_drumsticks"},{name:"Long Drum",unified:"1FA98",keywords:["long drum","music"],sheet:[54,10],shortName:"long_drum"},{name:"Mobile Phone",unified:"1F4F1",keywords:["mobile_phone","technology","apple","gadgets","dial"],sheet:[29,11],shortName:"iphone"},{name:"Mobile Phone with Rightwards Arrow at Left",unified:"1F4F2",keywords:["mobile_phone_with_arrow","iphone","incoming"],sheet:[29,12],shortName:"calling"},{name:"Black Telephone",unified:"260E-FE0F",keywords:["telephone","technology","communication","dial","telephone"],sheet:[56,45],shortNames:["telephone"],shortName:"phone"},{name:"Telephone Receiver",unified:"1F4DE",keywords:["telephone_receiver","technology","communication","dial"],sheet:[28,53],shortName:"telephone_receiver"},{name:"Pager",unified:"1F4DF",keywords:["pager","bbcall","oldschool","90s"],sheet:[28,54],shortName:"pager"},{name:"Fax Machine",unified:"1F4E0",keywords:["fax_machine","communication","technology"],sheet:[28,55],shortName:"fax"},{name:"Battery",unified:"1F50B",keywords:["battery","power","energy","sustain"],sheet:[29,36],shortName:"battery"},{name:"Low Battery",unified:"1FAAB",keywords:["low battery","drained","dead"],sheet:[54,29],hidden:["facebook"],shortName:"low_battery"},{name:"Electric Plug",unified:"1F50C",keywords:["electric_plug","charger","power"],sheet:[29,37],shortName:"electric_plug"},{name:"Personal Computer",unified:"1F4BB",keywords:["laptop","technology","laptop","screen","display","monitor"],sheet:[28,18],shortName:"computer"},{name:"Desktop Computer",unified:"1F5A5-FE0F",keywords:["desktop_computer","technology","computing","screen"],sheet:[31,56],shortName:"desktop_computer"},{name:"Printer",unified:"1F5A8-FE0F",keywords:["printer","paper","ink"],sheet:[31,57],shortName:"printer"},{name:"Keyboard",unified:"2328-FE0F",keywords:["keyboard","technology","computer","type","input","text"],sheet:[56,15],shortName:"keyboard"},{name:"Computer Mouse",unified:"1F5B1-FE0F",keywords:["computer_mouse","click"],sheet:[31,58],shortName:"three_button_mouse"},{name:"Trackball",unified:"1F5B2-FE0F",keywords:["trackball","technology","trackpad"],sheet:[31,59],shortName:"trackball"},{name:"Minidisc",unified:"1F4BD",keywords:["computer_disk","technology","record","data","disk","90s"],sheet:[28,20],shortName:"minidisc"},{name:"Floppy Disk",unified:"1F4BE",keywords:["floppy_disk","oldschool","technology","save","90s","80s"],sheet:[28,21],shortName:"floppy_disk"},{name:"Optical Disc",unified:"1F4BF",keywords:["optical_disk","technology","dvd","disk","disc","90s"],sheet:[28,22],shortName:"cd"},{name:"Dvd",unified:"1F4C0",keywords:["dvd","cd","disk","disc"],sheet:[28,23],shortName:"dvd"},{name:"Abacus",unified:"1F9EE",keywords:["abacus","calculation"],sheet:[53,28],shortName:"abacus"},{name:"Movie Camera",unified:"1F3A5",keywords:["movie_camera","film","record"],sheet:[7,40],shortName:"movie_camera"},{name:"Film Frames",unified:"1F39E-FE0F",keywords:["film_frames","movie"],sheet:[7,33],shortName:"film_frames"},{name:"Film Projector",unified:"1F4FD-FE0F",keywords:["film_projector","video","tape","record","movie"],sheet:[29,23],shortName:"film_projector"},{name:"Clapper Board",unified:"1F3AC",keywords:["clapper_board","movie","film","record"],sheet:[7,47],shortName:"clapper"},{name:"Television",unified:"1F4FA",keywords:["television","technology","program","oldschool","show","television"],sheet:[29,20],shortName:"tv"},{name:"Camera",unified:"1F4F7",keywords:["camera","gadgets","photography"],sheet:[29,17],shortName:"camera"},{name:"Camera with Flash",unified:"1F4F8",keywords:["camera_with_flash","photography","gadgets"],sheet:[29,18],shortName:"camera_with_flash"},{name:"Video Camera",unified:"1F4F9",keywords:["video_camera","film","record"],sheet:[29,19],shortName:"video_camera"},{name:"Videocassette",unified:"1F4FC",keywords:["videocassette","record","video","oldschool","90s","80s"],sheet:[29,22],shortName:"vhs"},{name:"Left-Pointing Magnifying Glass",unified:"1F50D",keywords:["magnifying_glass_tilted_left","search","zoom","find","detective"],sheet:[29,38],short
3Name:"mag"},{name:"Right-Pointing Magnifying Glass",unified:"1F50E",keywords:["magnifying_glass_tilted_right","search","zoom","find","detective"],sheet:[29,39],shortName:"mag_right"},{name:"Candle",unified:"1F56F-FE0F",keywords:["candle","fire","wax"],sheet:[30,56],shortName:"candle"},{name:"Electric Light Bulb",unified:"1F4A1",keywords:["light_bulb","light","electricity","idea"],sheet:[27,48],shortName:"bulb"},{name:"Electric Torch",unified:"1F526",keywords:["flashlight","dark","camping","sight","night"],sheet:[30,2],shortName:"flashlight"},{name:"Izakaya Lantern",unified:"1F3EE",keywords:["red_paper_lantern","light","paper","halloween","spooky"],sheet:[10,25],shortNames:["lantern"],shortName:"izakaya_lantern"},{name:"Diya Lamp",unified:"1FA94",keywords:["diya_lamp","lighting"],sheet:[54,6],shortName:"diya_lamp"},{name:"Notebook with Decorative Cover",unified:"1F4D4",keywords:["notebook_with_decorative_cover","classroom","notes","record","paper","study"],sheet:[28,43],shortName:"notebook_with_decorative_cover"},{name:"Closed Book",unified:"1F4D5",keywords:["closed_book","read","library","knowledge","textbook","learn"],sheet:[28,44],shortName:"closed_book"},{name:"Open Book",unified:"1F4D6",keywords:["open_book","book","read","library","knowledge","literature","learn","study"],sheet:[28,45],shortNames:["open_book"],shortName:"book"},{name:"Green Book",unified:"1F4D7",keywords:["green_book","read","library","knowledge","study"],sheet:[28,46],shortName:"green_book"},{name:"Blue Book",unified:"1F4D8",keywords:["blue_book","read","library","knowledge","learn","study"],sheet:[28,47],shortName:"blue_book"},{name:"Orange Book",unified:"1F4D9",keywords:["orange_book","read","library","knowledge","textbook","study"],sheet:[28,48],shortName:"orange_book"},{name:"Books",unified:"1F4DA",keywords:["books","literature","library","study"],sheet:[28,49],shortName:"books"},{name:"Notebook",unified:"1F4D3",keywords:["notebook","stationery","record","notes","paper","study"],sheet:[28,42],shortName:"notebook"},{name:"Ledger",unified:"1F4D2",keywords:["ledger","notes","paper"],sheet:[28,41],shortName:"ledger"},{name:"Page with Curl",unified:"1F4C3",keywords:["page_with_curl","documents","office","paper"],sheet:[28,26],shortName:"page_with_curl"},{name:"Scroll",unified:"1F4DC",keywords:["scroll","documents","ancient","history","paper"],sheet:[28,51],shortName:"scroll"},{name:"Page Facing Up",unified:"1F4C4",keywords:["page_facing_up","documents","office","paper","information"],sheet:[28,27],shortName:"page_facing_up"},{name:"Newspaper",unified:"1F4F0",keywords:["newspaper","press","headline"],sheet:[29,10],shortName:"newspaper"},{name:"Rolled-Up Newspaper",unified:"1F5DE-FE0F",keywords:["rolled_up_newspaper","press","headline"],sheet:[32,8],shortName:"rolled_up_newspaper"},{name:"Bookmark Tabs",unified:"1F4D1",keywords:["bookmark_tabs","favorite","save","order","tidy"],sheet:[28,40],shortName:"bookmark_tabs"},{name:"Bookmark",unified:"1F516",keywords:["bookmark","favorite","label","save"],sheet:[29,47],shortName:"bookmark"},{name:"Label",unified:"1F3F7-FE0F",keywords:["label","sale","tag"],sheet:[10,37],shortName:"label"},{name:"Money Bag",unified:"1F4B0",keywords:["money_bag","dollar","payment","coins","sale"],sheet:[28,7],shortName:"moneybag"},{name:"Coin",unified:"1FA99",keywords:["coin","money","currency"],sheet:[54,11],shortName:"coin"},{name:"Banknote with Yen Sign",unified:"1F4B4",keywords:["yen_banknote","money","sales","japanese","dollar","currency"],sheet:[28,11],shortName:"yen"},{name:"Banknote with Dollar Sign",unified:"1F4B5",keywords:["dollar_banknote","money","sales","bill","currency"],sheet:[28,12],shortName:"dollar"},{name:"Banknote with Euro Sign",unified:"1F4B6",keywords:["euro_banknote","money","sales","dollar","currency"],sheet:[28,13],shortName:"euro"},{name:"Banknote with Pound Sign",unified:"1F4B7",keywords:["pound_banknote","british","sterling","money","sales","bills","uk","england","currency"],sheet:[28,14],shortName:"pound"},{name:"Money with Wings",unified:"1F4B8",keywords:["money_with_wings","dollar","bills","payment","sale"],sheet:[28,15],shortName:"money_with_wings"},{name:"Credit Card",unified:"1F4B3",keywords:["credit_card","money","sales","dollar","bill","payment","shopping"],sheet:[28,10],shortName:"credit_card"},{name:"Receipt",unified:"1F9FE",keywords:["receipt","accounting","expenses"],sheet:[53,44],shortName:"receipt"},{name:"Chart with Upwards Trend and Yen Sign",unified:"1F4B9",keywords:["chart_increasing_with_yen","green-square","graph","presentation","stats"],sheet:[28,16],shortName:"chart"},{name:"Envelope",unified:"2709-FE0F",keywords:["envelope","letter","postal","inbox","communication"],sheet:[58,26],shortNames:["envelope"],shortName:"email"},{name:"E-Mail Symbol",unified:"1F4E7",keywords:["e_mail","communication","inbox"],sheet:[29,1],shortName:"e-mail"},{name:"Incoming Envelope",unified:"1F4E8",keywords:["incoming_envelope","email","inbox"],sheet:[29,2],shortName:"incoming_envelope"},{name:"Envelope with Downwards Arrow Above",unified:"1F4E9",keywords:["envelope_with_arrow","email","communication"],sheet:[29,3],short
3Name:"envelope_with_arrow"},{name:"Outbox Tray",unified:"1F4E4",keywords:["outbox_tray","inbox","email"],sheet:[28,59],shortName:"outbox_tray"},{name:"Inbox Tray",unified:"1F4E5",keywords:["inbox_tray","email","documents"],sheet:[28,60],shortName:"inbox_tray"},{name:"Package",unified:"1F4E6",keywords:["package","mail","gift","cardboard","box","moving"],sheet:[29,0],shortName:"package"},{name:"Closed Mailbox with Raised Flag",unified:"1F4EB",keywords:["closed_mailbox_with_raised_flag","email","inbox","communication"],sheet:[29,5],shortName:"mailbox"},{name:"Closed Mailbox with Lowered Flag",unified:"1F4EA",keywords:["closed_mailbox_with_lowered_flag","email","communication","inbox"],sheet:[29,4],shortName:"mailbox_closed"},{name:"Open Mailbox with Raised Flag",unified:"1F4EC",keywords:["open_mailbox_with_raised_flag","email","inbox","communication"],sheet:[29,6],shortName:"mailbox_with_mail"},{name:"Open Mailbox with Lowered Flag",unified:"1F4ED",keywords:["open_mailbox_with_lowered_flag","email","inbox"],sheet:[29,7],shortName:"mailbox_with_no_mail"},{name:"Postbox",unified:"1F4EE",keywords:["postbox","email","letter","envelope"],sheet:[29,8],shortName:"postbox"},{name:"Ballot Box with Ballot",unified:"1F5F3-FE0F",keywords:["ballot_box_with_ballot","election","vote"],sheet:[32,13],shortName:"ballot_box_with_ballot"},{name:"Pencil",unified:"270F-FE0F",keywords:["pencil","stationery","write","paper","writing","school","study"],sheet:[58,51],shortName:"pencil2"},{name:"Black Nib",unified:"2712-FE0F",keywords:["black_nib","pen","stationery","writing","write"],sheet:[58,52],shortName:"black_nib"},{name:"Fountain Pen",unified:"1F58B-FE0F",keywords:["fountain_pen","stationery","writing","write"],sheet:[31,34],shortName:"lower_left_fountain_pen"},{name:"Pen",unified:"1F58A-FE0F",keywords:["pen","stationery","writing","write"],sheet:[31,33],short
3Name:"lower_left_ballpoint_pen"},{name:"Paintbrush",unified:"1F58C-FE0F",keywords:["paintbrush","drawing","creativity","art"],sheet:[31,35],shortName:"lower_left_paintbrush"},{name:"Crayon",unified:"1F58D-FE0F",keywords:["crayon","drawing","creativity"],sheet:[31,36],shortName:"lower_left_crayon"},{name:"Memo",unified:"1F4DD",keywords:["memo","write","documents","stationery","pencil","paper","writing","legal","exam","quiz","test","study","compose"],sheet:[28,52],shortNames:["pencil"],shortName:"memo"},{name:"Briefcase",unified:"1F4BC",keywords:["briefcase","business","documents","work","law","legal","job","career"],sheet:[28,19],shortName:"briefcase"},{name:"File Folder",unified:"1F4C1",keywords:["file_folder","documents","business","office"],sheet:[28,24],shortName:"file_folder"},{name:"Open File Folder",unified:"1F4C2",keywords:["open_file_folder","documents","load"],sheet:[28,25],shortName:"open_file_folder"},{name:"Card Index Dividers",unified:"1F5C2-FE0F",keywords:["card_index_dividers","organizing","business","stationery"],sheet:[32,0],shortName:"card_index_dividers"},{name:"Calendar",unified:"1F4C5",keywords:["calendar","calendar","schedule"],sheet:[28,28],shortName:"date"},{name:"Tear-off Calendar",unified:"1F4C6",keywords:["tear_off_calendar","schedule","date","planning"],sheet:[28,29],shortName:"calendar"},{name:"Spiral Notepad",unified:"1F5D2-FE0F",keywords:["spiral_notepad","memo","stationery"],sheet:[32,4],shortName:"spiral_note_pad"},{name:"Spiral Calendar",unified:"1F5D3-FE0F",keywords:["spiral_calendar","date","schedule","planning"],sheet:[32,5],shortName:"spiral_calendar_pad"},{name:"Card Index",unified:"1F4C7",keywords:["card_index","business","stationery"],sheet:[28,30],shortName:"card_index"},{name:"Chart with Upwards Trend",unified:"1F4C8",keywords:["chart_increasing","graph","presentation","stats","recovery","business","economics","money","sales","good","success"],sheet:[28,31],shortName:"chart_with_upwards_trend"},{name:"Chart with Downwards Trend",unified:"1F4C9",keywords:["chart_decreasing","graph","presentation","stats","recession","business","economics","money","sales","bad","failure"],sheet:[28,32],shortName:"chart_with_downwards_trend"},{name:"Bar Chart",unified:"1F4CA",keywords:["bar_chart","graph","presentation","stats"],sheet:[28,33],shortName:"bar_chart"},{name:"Clipboard",unified:"1F4CB",keywords:["clipboard","stationery","documents"],sheet:[28,34],shortName:"clipboard"},{name:"Pushpin",unified:"1F4CC",keywords:["pushpin","stationery","mark","here"],sheet:[28,35],shortName:"pushpin"},{name:"Round Pushpin",unified:"1F4CD",keywords:["round_pushpin","stationery","location","map","here"],sheet:[28,36],shortName:"round_pushpin"},{name:"Paperclip",unified:"1F4CE",keywords:["paperclip","documents","stationery"],sheet:[28,37],shortName:"paperclip"},{name:"Linked Paperclips",unified:"1F587-FE0F",keywords:["linked_paperclips","documents","stationery"],sheet:[31,32],shortName:"linked_paperclips"},{name:"Straight Ruler",unified:"1F4CF",keywords:["straight_ruler","stationery","calculate","length","math","school","drawing","architect","sketch"],sheet:[28,38],short
3Name:"straight_ruler"},{name:"Triangular Ruler",unified:"1F4D0",keywords:["triangular_ruler","stationery","math","architect","sketch"],sheet:[28,39],shortName:"triangular_ruler"},{name:"Black Scissors",unified:"2702-FE0F",keywords:["scissors","stationery","cut"],sheet:[58,23],shortName:"scissors"},{name:"Card File Box",unified:"1F5C3-FE0F",keywords:["card_file_box","business","stationery"],sheet:[32,1],shortName:"card_file_box"},{name:"File Cabinet",unified:"1F5C4-FE0F",keywords:["file_cabinet","filing","organizing"],sheet:[32,2],shortName:"file_cabinet"},{name:"Wastebasket",unified:"1F5D1-FE0F",keywords:["wastebasket","bin","trash","rubbish","garbage","toss"],sheet:[32,3],shortName:"wastebasket"},{name:"Lock",unified:"1F512",keywords:["locked","security","password","padlock"],sheet:[29,43],shortName:"lock"},{name:"Open Lock",unified:"1F513",keywords:["unlocked","privacy","security"],sheet:[29,44],shortName:"unlock"},{name:"Lock with Ink Pen",unified:"1F50F",keywords:["locked_with_pen","security","secret"],sheet:[29,40],shortName:"lock_with_ink_pen"},{name:"Closed Lock with Key",unified:"1F510",keywords:["locked_with_key","security","privacy"],sheet:[29,41],shortName:"closed_lock_with_key"},{name:"Key",unified:"1F511",keywords:["key","lock","door","password"],sheet:[29,42],shortName:"key"},{name:"Old Key",unified:"1F5DD-FE0F",keywords:["old_key","lock","door","password"],sheet:[32,7],shortName:"old_key"},{name:"Hammer",unified:"1F528",keywords:["hammer","tools","build","create"],sheet:[30,4],shortName:"hammer"},{name:"Axe",unified:"1FA93",keywords:["axe","tool","chop","cut"],sheet:[54,5],shortName:"axe"},{name:"Pick",unified:"26CF-FE0F",keywords:["pick","tools","dig"],sheet:[57,50],shortName:"pick"},{name:"Hammer and Pick",unified:"2692-FE0F",keywords:["hammer_and_pick","tools","build","create"],sheet:[57,28],shortName:"hammer_and_pick"},{name:"Hammer and Wrench",unified:"1F6E0-FE0F",keywords:["hammer_and_wrench","tools","build","create"],sheet:[38,11],shortName:"hammer_and_wrench"},{name:"Dagger",unified:"1F5E1-FE0F",keywords:["dagger","weapon"],sheet:[32,9],shortName:"dagger_knife"},{name:"Crossed Swords",unified:"2694-FE0F",keywords:["crossed_swords","weapon"],sheet:[57,30],shortName:"crossed_swords"},{name:"Pistol",unified:"1F52B",keywords:["pistol","violence","weapon","pistol","revolver"],sheet:[30,7],shortName:"gun"},{name:"Boomerang",unified:"1FA83",keywords:["boomerang","weapon"],sheet:[53,59],shortName:"boomerang"},{name:"Bow and Arrow",unified:"1F3F9",keywords:["bow_and_arrow","sports"],sheet:[10,39],shortName:"bow_and_arrow"},{name:"Shield",unified:"1F6E1-FE0F",keywords:["shield","protection","security"],sheet:[38,12],shortName:"shield"},{name:"Carpentry Saw",unified:"1FA9A",keywords:["carpentry saw","cut","chop"],sheet:[54,12],shortName:"carpentry_saw"},{name:"Wrench",unified:"1F527",keywords:["wrench","tools","diy","ikea","fix","maintainer"],sheet:[30,3],shortName:"wrench"},{name:"Screwdriver",unified:"1FA9B",keywords:["screwdriver","tools"],sheet:[54,13],shortName:"screwdriver"},{name:"Nut and Bolt",unified:"1F529",keywords:["nut_and_bolt","handy","tools","fix"],sheet:[30,5],shortName:"nut_and_bolt"},{name:"Gear",unified:"2699-FE0F",keywords:["gear","cog"],sheet:[57,34],shortName:"gear"},{name:"Clamp",unified:"1F5DC-FE0F",keywords:["clamp","tool"],sheet:[32,6],shortName:"compression"},{name:"Balance Scale",unified:"2696-FE0F",keywords:["balance_scale","law","fairness","weight"],sheet:[57,32],shortName:"scales"},{name:"Probing Cane",unified:"1F9AF",keywords:["probing_cane","accessibility"],sheet:[45,4],shortName:"probing_cane"},{name:"Link Symbol",unified:"1F517",keywords:["link","rings","url"],sheet:[29,48],shortName:"link"},{name:"Chains",unified:"26D3-FE0F",keywords:["chains","lock","arrest"],sheet:[57,52],shortName:"chains"},{name:"Hook",unified:"1FA9D",keywords:["hook","tools"],sheet:[54,15],shortName:"hook"},{name:"Toolbox",unified:"1F9F0",keywords:["toolbox","tools","diy","fix","maintainer","mechanic"],sheet:[53,30],shortName:"toolbox"},{name:"Magnet",unified:"1F9F2",keywords:["magnet","attraction","magnetic"],sheet:[53,32],shortName:"magnet"},{name:"Ladder",unified:"1FA9C",keywords:["ladder","tools"],sheet:[54,14],short
3Name:"ladder"},{name:"Alembic",unified:"2697-FE0F",keywords:["alembic","distilling","science","experiment","chemistry"],sheet:[57,33],shortName:"alembic"},{name:"Test Tube",unified:"1F9EA",keywords:["test_tube","chemistry","experiment","lab","science"],sheet:[53,24],shortName:"test_tube"},{name:"Petri Dish",unified:"1F9EB",keywords:["petri_dish","bacteria","biology","culture","lab"],sheet:[53,25],shortName:"petri_dish"},{name:"Dna Double Helix",unified:"1F9EC",keywords:["dna","biologist","genetics","life"],sheet:[53,26],shortName:"dna"},{name:"Microscope",unified:"1F52C",keywords:["microscope","laboratory","experiment","zoomin","science","study"],sheet:[30,8],shortName:"microscope"},{name:"Telescope",unified:"1F52D",keywords:["telescope","stars","space","zoom","science","astronomy"],sheet:[30,9],shortName:"telescope"},{name:"Satellite Antenna",unified:"1F4E1",keywords:["satellite_antenna","communication","future","radio","space"],sheet:[28,56],shortName:"satellite_antenna"},{name:"Syringe",unified:"1F489",keywords:["syringe","health","hospital","drugs","blood","medicine","needle","doctor","nurse"],sheet:[26,35],shortName:"syringe"},{name:"Drop of Blood",unified:"1FA78",keywords:["drop_of_blood","period","hurt","harm","wound"],sheet:[53,51],shortName:"drop_of_blood"},{name:"Pill",unified:"1F48A",keywords:["pill","health","medicine","doctor","pharmacy","drug"],sheet:[26,36],shortName:"pill"},{name:"Adhesive Bandage",unified:"1FA79",keywords:["adhesive_bandage","heal"],sheet:[53,52],shortName:"adhesive_bandage"},{name:"Crutch",unified:"1FA7C",keywords:["crutch","accessibility","assist"],sheet:[53,55],hidden:["facebook"],shortName:"crutch"},{name:"Stethoscope",unified:"1FA7A",keywords:["stethoscope","health"],sheet:[53,53],shortName:"stethoscope"},{name:"X-Ray",unified:"1FA7B",keywords:["x-ray","skeleton","medicine"],sheet:[53,54],hidden:["facebook"],shortName:"x-ray"},{name:"Door",unified:"1F6AA",keywords:["door","house","entry","exit"],sheet:[36,30],shortName:"door"},{name:"Elevator",unified:"1F6D7",keywords:["elevator","lift"],sheet:[38,7],shortName:"elevator"},{name:"Mirror",unified:"1FA9E",keywords:["mirror","reflection"],sheet:[54,16],shortName:"mirror"},{name:"Window",unified:"1FA9F",keywords:["window","scenery"],sheet:[54,17],shortName:"window"},{name:"Bed",unified:"1F6CF-FE0F",keywords:["bed","sleep","rest"],sheet:[38,1],shortName:"bed"},{name:"Couch and Lamp",unified:"1F6CB-FE0F",keywords:["couch_and_lamp","read","chill"],sheet:[37,53],shortName:"couch_and_lamp"},{name:"Chair",unified:"1FA91",keywords:["chair","sit","furniture"],sheet:[54,3],shortName:"chair"},{name:"Toilet",unified:"1F6BD",keywords:["toilet","restroom","wc","washroom","bathroom","potty"],sheet:[37,39],shortName:"toilet"},{name:"Plunger",unified:"1FAA0",keywords:["plunger","toilet"],sheet:[54,18],shortName:"plunger"},{name:"Shower",unified:"1F6BF",keywords:["shower","clean","water","bathroom"],sheet:[37,41],shortName:"shower"},{name:"Bathtub",unified:"1F6C1",keywords:["bathtub","clean","shower","bathroom"],sheet:[37,48],shortName:"bathtub"},{name:"Mouse Trap",unified:"1FAA4",keywords:["mouse trap","cheese"],sheet:[54,22],shortName:"mouse_trap"},{name:"Razor",unified:"1FA92",keywords:["razor","cut"],sheet:[54,4],shortName:"razor"},{name:"Lotion Bottle",unified:"1F9F4",keywords:["lotion_bottle","moisturizer","sunscreen"],sheet:[53,34],shortName:"lotion_bottle"},{name:"Safety Pin",unified:"1F9F7",keywords:["safety_pin","diaper"],sheet:[53,37],shortName:"safety_pin"},{name:"Broom",unified:"1F9F9",keywords:["broom","cleaning","sweeping","witch"],sheet:[53,39],shortName:"broom"},{name:"Basket",unified:"1F9FA",keywords:["basket","laundry"],sheet:[53,40],shortName:"basket"},{name:"Roll of Paper",unified:"1F9FB",keywords:["roll_of_paper","roll"],sheet:[53,41],shortName:"roll_of_paper"},{name:"Bucket",unified:"1FAA3",keywords:["bucket","water","container"],sheet:[54,21],shortName:"bucket"},{name:"Bar of Soap",unified:"1F9FC",keywords:["soap","bar","bathing","cleaning","lather"],sheet:[53,42],shortName:"soap"},{name:"Bubbles",unified:"1FAE7",keywords:["bubbles","soap","fun","carbonation","sparkling"],sheet:[55,19],hidden:["facebook"],short
3Name:"bubbles"},{name:"Toothbrush",unified:"1FAA5",keywords:["toothbrush","hygiene","dental"],sheet:[54,23],shortName:"toothbrush"},{name:"Sponge",unified:"1F9FD",keywords:["sponge","absorbing","cleaning","porous"],sheet:[53,43],shortName:"sponge"},{name:"Fire Extinguisher",unified:"1F9EF",keywords:["fire_extinguisher","quench"],sheet:[53,29],shortName:"fire_extinguisher"},{name:"Shopping Trolley",unified:"1F6D2",keywords:["shopping_cart","trolley"],sheet:[38,4],shortName:"shopping_trolley"},{name:"Smoking Symbol",unified:"1F6AC",keywords:["cigarette","kills","tobacco","cigarette","joint","smoke"],sheet:[36,32],shortName:"smoking"},{name:"Coffin",unified:"26B0-FE0F",keywords:["coffin","vampire","dead","die","death","rip","graveyard","cemetery","casket","funeral","box"],sheet:[57,42],shortName:"coffin"},{name:"Headstone",unified:"1FAA6",keywords:["headstone","death","rip","grave"],sheet:[54,24],shortName:"headstone"},{name:"Funeral Urn",unified:"26B1-FE0F",keywords:["funeral_urn","dead","die","death","rip","ashes"],sheet:[57,43],shortName:"funeral_urn"},{name:"Moyai",unified:"1F5FF",keywords:["moai","rock","easter island","moai"],sheet:[32,19],shortName:"moyai"},{name:"Placard",unified:"1FAA7",keywords:["placard","announcement"],sheet:[54,25],shortName:"placard"},{name:"Identification Card",unified:"1FAAA",keywords:["identification card","document"],sheet:[54,28],hidden:["facebook"],shortName:"identification_card"},{name:"Automated Teller Machine",unified:"1F3E7",keywords:["atm_sign","money","sales","cash","blue-square","payment","bank"],sheet:[10,18],shortName:"atm"},{name:"Put Litter in Its Place Symbol",unified:"1F6AE",keywords:["litter_in_bin_sign","blue-square","sign","human","info"],sheet:[36,34],shortName:"put_litter_in_its_place"},{name:"Potable Water Symbol",unified:"1F6B0",keywords:["potable_water","blue-square","liquid","restroom","cleaning","faucet"],sheet:[36,36],shortName:"potable_water"},{name:"Wheelchair Symbol",unified:"267F",keywords:["wheelchair_symbol","blue-square","disabled","accessibility"],sheet:[57,27],shortName:"wheelchair"},{name:"Mens Symbol",unified:"1F6B9",keywords:["men_s_room","toilet","restroom","wc","blue-square","gender","male"],sheet:[37,35],shortName:"mens"},{name:"Womens Symbol",unified:"1F6BA",keywords:["women_s_room","purple-square","woman","female","toilet","loo","restroom","gender"],sheet:[37,36],shortName:"womens"},{name:"Restroom",unified:"1F6BB",keywords:["restroom","blue-square","toilet","refresh","wc","gender"],sheet:[37,37],shortName:"restroom"},{name:"Baby Symbol",unified:"1F6BC",keywords:["baby_symbol","orange-square","child"],sheet:[37,38],shortName:"baby_symbol"},{name:"Water Closet",unified:"1F6BE",keywords:["water_closet","toilet","restroom","blue-square"],sheet:[37,40],shortName:"wc"},{name:"Passport Control",unified:"1F6C2",keywords:["passport_control","custom","blue-square"],sheet:[37,49],shortName:"passport_control"},{name:"Customs",unified:"1F6C3",keywords:["customs","passport","border","blue-square"],sheet:[37,50],shortName:"customs"},{name:"Baggage Claim",unified:"1F6C4",keywords:["baggage_claim","blue-square","airport","transport"],sheet:[37,51],shortName:"baggage_claim"},{name:"Left Luggage",unified:"1F6C5",keywords:["left_luggage","blue-square","travel"],sheet:[37,52],shortName:"left_luggage"},{name:"Warning Sign",unified:"26A0-FE0F",keywords:["warning","exclamation","wip","alert","error","problem","issue"],sheet:[57,37],shortName:"warning"},{name:"Children Crossing",unified:"1F6B8",keywords:["children_crossing","school","warning","danger","sign","driving","yellow-diamond"],sheet:[37,34],shortName:"children_crossing"},{name:"No Entry",unified:"26D4",keywords:["no_entry","limit","security","privacy","bad","denied","stop","circle"],sheet:[57,53],shortName:"no_entry"},{name:"No Entry Sign",unified:"1F6AB",keywords:["prohibited","forbid","stop","limit","denied","disallow","circle"],sheet:[36,31],shortName:"no_entry_sign"},{name:"No Bicycles",unified:"1F6B3",keywords:["no_bicycles","cyclist","prohibited","circle"],sheet:[36,39],shortName:"no_bicycles"},{name:"No Smoking Symbol",unified:"1F6AD",keywords:["no_smoking","cigarette","blue-square","smell","smoke"],sheet:[36,33],short
3Name:"no_smoking"},{name:"Do Not Litter Symbol",unified:"1F6AF",keywords:["no_littering","trash","bin","garbage","circle"],sheet:[36,35],shortName:"do_not_litter"},{name:"Non-Potable Water Symbol",unified:"1F6B1",keywords:["non_potable_water","drink","faucet","tap","circle"],sheet:[36,37],shortName:"non-potable_water"},{name:"No Pedestrians",unified:"1F6B7",keywords:["no_pedestrians","rules","crossing","walking","circle"],sheet:[37,33],shortName:"no_pedestrians"},{name:"No Mobile Phones",unified:"1F4F5",keywords:["no_mobile_phones","iphone","mute","circle"],sheet:[29,15],shortName:"no_mobile_phones"},{name:"No One Under Eighteen Symbol",unified:"1F51E",keywords:["no_one_under_eighteen","18","drink","pub","night","minor","circle"],sheet:[29,55],shortName:"underage"},{name:"Radioactive",unified:"2622-FE0F",keywords:["radioactive","nuclear","danger"],sheet:[56,57],shortName:"radioactive_sign"},{name:"Biohazard",unified:"2623-FE0F",keywords:["biohazard","danger"],sheet:[56,58],shortName:"biohazard_sign"},{name:"Upwards Black Arrow",unified:"2B06-FE0F",keywords:["up_arrow","blue-square","continue","top","direction"],sheet:[59,20],shortName:"arrow_up"},{name:"North East Arrow",unified:"2197-FE0F",keywords:["up_right_arrow","blue-square","point","direction","diagonal","northeast"],sheet:[56,8],shortName:"arrow_upper_right"},{name:"Black Rightwards Arrow",unified:"27A1-FE0F",keywords:["right_arrow","blue-square","next"],sheet:[59,14],shortName:"arrow_right"},{name:"South East Arrow",unified:"2198-FE0F",keywords:["down_right_arrow","blue-square","direction","diagonal","southeast"],sheet:[56,9],shortName:"arrow_lower_right"},{name:"Downwards Black Arrow",unified:"2B07-FE0F",keywords:["down_arrow","blue-square","direction","bottom"],sheet:[59,21],shortName:"arrow_down"},{name:"South West Arrow",unified:"2199-FE0F",keywords:["down_left_arrow","blue-square","direction","diagonal","southwest"],sheet:[56,10],shortName:"arrow_lower_left"},{name:"Leftwards Black Arrow",unified:"2B05-FE0F",keywords:["left_arrow","blue-square","previous","back"],sheet:[59,19],shortName:"arrow_left"},{name:"North West Arrow",unified:"2196-FE0F",keywords:["up_left_arrow","blue-square","point","direction","diagonal","northwest"],sheet:[56,7],shortName:"arrow_upper_left"},{name:"Up Down Arrow",unified:"2195-FE0F",keywords:["up_down_arrow","blue-square","direction","way","vertical"],sheet:[56,6],shortName:"arrow_up_down"},{name:"Left Right Arrow",unified:"2194-FE0F",keywords:["left_right_arrow","shape","direction","horizontal","sideways"],sheet:[56,5],shortName:"left_right_arrow"},{name:"Leftwards Arrow with Hook",unified:"21A9-FE0F",keywords:["right_arrow_curving_left","back","return","blue-square","undo","enter"],sheet:[56,11],shortName:"leftwards_arrow_with_hook"},{name:"Rightwards Arrow with Hook",unified:"21AA-FE0F",keywords:["left_arrow_curving_right","blue-square","return","rotate","direction"],sheet:[56,12],shortName:"arrow_right_hook"},{name:"Arrow Pointing Rightwards Then Curving Upwards",unified:"2934-FE0F",keywords:["right_arrow_curving_up","blue-square","direction","top"],sheet:[59,17],shortName:"arrow_heading_up"},{name:"Arrow Pointing Rightwards Then Curving Downwards",unified:"2935-FE0F",keywords:["right_arrow_curving_down","blue-square","direction","bottom"],sheet:[59,18],shortName:"arrow_heading_down"},{name:"Clockwise Downwards and Upwards Open Circle Arrows",unified:"1F503",keywords:["clockwise_vertical_arrows","sync","cycle","round","repeat"],sheet:[29,28],shortName:"arrows_clockwise"},{name:"Anticlockwise Downwards and Upwards Open Circle Arrows",unified:"1F504",keywords:["counterclockwise_arrows_button","blue-square","sync","cycle"],sheet:[29,29],shortName:"arrows_counterclockwise"},{name:"Back with Leftwards Arrow Above",unified:"1F519",keywords:["back_arrow","arrow","words","return"],sheet:[29,50],shortName:"back"},{name:"End with Leftwards Arrow Above",unified:"1F51A",keywords:["end_arrow","words","arrow"],sheet:[29,51],shortName:"end"},{name:"On with Exclamation Mark with Left Right Arrow Above",unified:"1F51B",keywords:["on_arrow","arrow","words"],sheet:[29,52],short
3Name:"on"},{name:"Soon with Rightwards Arrow Above",unified:"1F51C",keywords:["soon_arrow","arrow","words"],sheet:[29,53],shortName:"soon"},{name:"Top with Upwards Arrow Above",unified:"1F51D",keywords:["top_arrow","words","blue-square"],sheet:[29,54],shortName:"top"},{name:"Place of Worship",unified:"1F6D0",keywords:["place_of_worship","religion","church","temple","prayer"],sheet:[38,2],shortName:"place_of_worship"},{name:"Atom Symbol",unified:"269B-FE0F",keywords:["atom_symbol","science","physics","chemistry"],sheet:[57,35],shortName:"atom_symbol"},{name:"Om",unified:"1F549-FE0F",keywords:["om","hinduism","buddhism","sikhism","jainism"],sheet:[30,26],shortName:"om_symbol"},{name:"Star of David",unified:"2721-FE0F",keywords:["star_of_david","judaism"],sheet:[58,56],shortName:"star_of_david"},{name:"Wheel of Dharma",unified:"2638-FE0F",keywords:["wheel_of_dharma","hinduism","buddhism","sikhism","jainism"],sheet:[57,2],shortName:"wheel_of_dharma"},{name:"Yin Yang",unified:"262F-FE0F",keywords:["yin_yang","balance"],sheet:[57,1],shortName:"yin_yang"},{name:"Latin Cross",unified:"271D-FE0F",keywords:["latin_cross","christianity"],sheet:[58,55],shortName:"latin_cross"},{name:"Orthodox Cross",unified:"2626-FE0F",keywords:["orthodox_cross","suppedaneum","religion"],sheet:[56,59],shortName:"orthodox_cross"},{name:"Star and Crescent",unified:"262A-FE0F",keywords:["star_and_crescent","islam"],sheet:[56,60],shortName:"star_and_crescent"},{name:"Peace Symbol",unified:"262E-FE0F",keywords:["peace_symbol","hippie"],sheet:[57,0],shortName:"peace_symbol"},{name:"Menorah with Nine Branches",unified:"1F54E",keywords:["menorah","hanukkah","candles","jewish"],sheet:[30,31],shortName:"menorah_with_nine_branches"},{name:"Six Pointed Star with Middle Dot",unified:"1F52F",keywords:["dotted_six_pointed_star","purple-square","religion","jewish","hexagram"],sheet:[30,11],shortName:"six_pointed_star"},{name:"Aries",unified:"2648",keywords:["aries","sign","purple-square","zodiac","astrology"],sheet:[57,7],shortName:"aries"},{name:"Taurus",unified:"2649",keywords:["taurus","purple-square","sign","zodiac","astrology"],sheet:[57,8],shortName:"taurus"},{name:"Gemini",unified:"264A",keywords:["gemini","sign","zodiac","purple-square","astrology"],sheet:[57,9],shortName:"gemini"},{name:"Cancer",unified:"264B",keywords:["cancer","sign","zodiac","purple-square","astrology"],sheet:[57,10],shortName:"cancer"},{name:"Leo",unified:"264C",keywords:["leo","sign","purple-square","zodiac","astrology"],sheet:[57,11],shortName:"leo"},{name:"Virgo",unified:"264D",keywords:["virgo","sign","zodiac","purple-square","astrology"],sheet:[57,12],shortName:"virgo"},{name:"Libra",unified:"264E",keywords:["libra","sign","purple-square","zodiac","astrology"],sheet:[57,13],shortName:"libra"},{name:"Scorpius",unified:"264F",keywords:["scorpio","sign","zodiac","purple-square","astrology","scorpio"],sheet:[57,14],short
3Name:"scorpius"},{name:"Sagittarius",unified:"2650",keywords:["sagittarius","sign","zodiac","purple-square","astrology"],sheet:[57,15],shortName:"sagittarius"},{name:"Capricorn",unified:"2651",keywords:["capricorn","sign","zodiac","purple-square","astrology"],sheet:[57,16],shortName:"capricorn"},{name:"Aquarius",unified:"2652",keywords:["aquarius","sign","purple-square","zodiac","astrology"],sheet:[57,17],shortName:"aquarius"},{name:"Pisces",unified:"2653",keywords:["pisces","purple-square","sign","zodiac","astrology"],sheet:[57,18],shortName:"pisces"},{name:"Ophiuchus",unified:"26CE",keywords:["ophiuchus","sign","purple-square","constellation","astrology"],sheet:[57,49],shortName:"ophiuchus"},{name:"Twisted Rightwards Arrows",unified:"1F500",keywords:["shuffle_tracks_button","blue-square","shuffle","music","random"],sheet:[29,25],shortName:"twisted_rightwards_arrows"},{name:"Clockwise Rightwards and Leftwards Open Circle Arrows",unified:"1F501",keywords:["repeat_button","loop","record"],sheet:[29,26],shortName:"repeat"},{name:"Clockwise Rightwards and Leftwards Open Circle Arrows with Circled One Overlay",unified:"1F502",keywords:["repeat_single_button","blue-square","loop"],sheet:[29,27],shortName:"repeat_one"},{name:"Black Right-Pointing Triangle",unified:"25B6-FE0F",keywords:["play_button","blue-square","right","direction","play"],sheet:[56,34],shortName:"arrow_forward"},{name:"Black Right-Pointing Double Triangle",unified:"23E9",keywords:["fast_forward_button","blue-square","play","speed","continue"],sheet:[56,17],shortName:"fast_forward"},{name:"Next Track Button",unified:"23ED-FE0F",keywords:["next_track_button","forward","next","blue-square"],sheet:[56,21],shortName:"black_right_pointing_double_triangle_with_vertical_bar"},{name:"Play or Pause Button",unified:"23EF-FE0F",keywords:["play_or_pause_button","blue-square","play","pause"],sheet:[56,23],shortName:"black_right_pointing_triangle_with_double_vertical_bar"},{name:"Black Left-Pointing Triangle",unified:"25C0-FE0F",keywords:["reverse_button","blue-square","left","direction"],sheet:[56,35],shortName:"arrow_backward"},{name:"Black Left-Pointing Double Triangle",unified:"23EA",keywords:["fast_reverse_button","play","blue-square"],sheet:[56,18],shortName:"rewind"},{name:"Last Track Button",unified:"23EE-FE0F",keywords:["last_track_button","backward"],sheet:[56,22],shortName:"black_left_pointing_double_triangle_with_vertical_bar"},{name:"Up-Pointing Small Red Triangle",unified:"1F53C",keywords:["upwards_button","blue-square","triangle","direction","point","forward","top"],sheet:[30,24],shortName:"arrow_up_small"},{name:"Black Up-Pointing Double Triangle",unified:"23EB",keywords:["fast_up_button","blue-square","direction","top"],sheet:[56,19],shortName:"arrow_double_up"},{name:"Down-Pointing Small Red Triangle",unified:"1F53D",keywords:["downwards_button","blue-square","direction","bottom"],sheet:[30,25],shortName:"arrow_down_small"},{name:"Black Down-Pointing Double Triangle",unified:"23EC",keywords:["fast_down_button","blue-square","direction","bottom"],sheet:[56,20],shortName:"arrow_double_down"},{name:"Pause Button",unified:"23F8-FE0F",keywords:["pause_button","pause","blue-square"],sheet:[56,28],shortName:"double_vertical_bar"},{name:"Stop Button",unified:"23F9-FE0F",keywords:["stop_button","blue-square"],sheet:[56,29],short
3Name:"black_square_for_stop"},{name:"Record Button",unified:"23FA-FE0F",keywords:["record_button","blue-square"],sheet:[56,30],shortName:"black_circle_for_record"},{name:"Eject Button",unified:"23CF-FE0F",keywords:["eject_button","blue-square"],sheet:[56,16],shortName:"eject"},{name:"Cinema",unified:"1F3A6",keywords:["cinema","blue-square","record","film","movie","curtain","stage","theater"],sheet:[7,41],shortName:"cinema"},{name:"Low Brightness Symbol",unified:"1F505",keywords:["dim_button","sun","afternoon","warm","summer"],sheet:[29,30],shortName:"low_brightness"},{name:"High Brightness Symbol",unified:"1F506",keywords:["bright_button","sun","light"],sheet:[29,31],shortName:"high_brightness"},{name:"Antenna with Bars",unified:"1F4F6",keywords:["antenna_bars","blue-square","reception","phone","internet","connection","wifi","bluetooth","bars"],sheet:[29,16],shortName:"signal_strength"},{name:"Vibration Mode",unified:"1F4F3",keywords:["vibration_mode","orange-square","phone"],sheet:[29,13],shortName:"vibration_mode"},{name:"Mobile Phone off",unified:"1F4F4",keywords:["mobile_phone_off","mute","orange-square","silence","quiet"],sheet:[29,14],shortName:"mobile_phone_off"},{name:"Female Sign",unified:"2640-FE0F",keywords:["female_sign","woman","women","lady","girl"],sheet:[57,5],hidden:["apple"],shortName:"female_sign"},{name:"Male Sign",unified:"2642-FE0F",keywords:["male_sign","man","boy","men"],sheet:[57,6],hidden:["apple"],shortName:"male_sign"},{name:"Transgender Symbol",unified:"26A7-FE0F",keywords:["transgender symbol","lgbtq"],sheet:[57,39],shortName:"transgender_symbol"},{name:"Heavy Multiplication X",unified:"2716-FE0F",keywords:["multiplication_sign","math","calculation"],sheet:[58,54],shortName:"heavy_multiplication_x"},{name:"Heavy Plus Sign",unified:"2795",keywords:["plus_sign","math","calculation","addition","more","increase"],sheet:[59,11],shortName:"heavy_plus_sign"},{name:"Heavy Minus Sign",unified:"2796",keywords:["minus_sign","math","calculation","subtract","less"],sheet:[59,12],shortName:"heavy_minus_sign"},{name:"Heavy Division Sign",unified:"2797",keywords:["division_sign","divide","math","calculation"],sheet:[59,13],shortName:"heavy_division_sign"},{name:"Heavy Equals Sign",unified:"1F7F0",keywords:["heavy equals sign","math"],sheet:[38,43],hidden:["facebook"],shortName:"heavy_equals_sign"},{name:"Infinity",unified:"267E-FE0F",keywords:["infinity","forever"],sheet:[57,26],shortName:"infinity"},{name:"Double Exclamation Mark",unified:"203C-FE0F",keywords:["double_exclamation_mark","exclamation","surprise"],sheet:[56,1],shortName:"bangbang"},{name:"Exclamation Question Mark",unified:"2049-FE0F",keywords:["exclamation_question_mark","wat","punctuation","surprise"],sheet:[56,2],shortName:"interrobang"},{name:"Black Question Mark Ornament",unified:"2753",keywords:["question_mark","doubt","confused"],sheet:[59,3],shortName:"question"},{name:"White Question Mark Ornament",unified:"2754",keywords:["white_question_mark","doubts","gray","huh","confused"],sheet:[59,4],shortName:"grey_question"},{name:"White Exclamation Mark Ornament",unified:"2755",keywords:["white_exclamation_mark","surprise","punctuation","gray","wow","warning"],sheet:[59,5],shortName:"grey_exclamation"},{name:"Heavy Exclamation Mark Symbol",unified:"2757",keywords:["exclamation_mark","heavy_exclamation_mark","danger","surprise","punctuation","wow","warning"],sheet:[59,6],shortNames:["heavy_exclamation_mark"],shortName:"exclamation"},{name:"Wavy Dash",unified:"3030-FE0F",keywords:["wavy_dash","draw","line","moustache","mustache","squiggle","scribble"],sheet:[59,26],shortName:"wavy_dash"},{name:"Currency Exchange",unified:"1F4B1",keywords:["currency_exchange","money","sales","dollar","travel"],sheet:[28,8],shortName:"currency_exchange"},{name:"Heavy Dollar Sign",unified:"1F4B2",keywords:["heavy_dollar_sign","money","sales","payment","currency","buck"],sheet:[28,9],shortName:"heavy_dollar_sign"},{name:"Medical Symbol",unified:"2695-FE0F",keywords:["medical_symbol","health","hospital"],sheet:[57,31],hidden:["apple"],shortNames:["staff_of_aesculapius"],short
3Name:"medical_symbol"},{name:"Black Universal Recycling Symbol",unified:"267B-FE0F",keywords:["recycling_symbol","arrow","environment","garbage","trash"],sheet:[57,25],shortName:"recycle"},{name:"Fleur-De-Lis",unified:"269C-FE0F",keywords:["fleur_de_lis","decorative","scout"],sheet:[57,36],shortName:"fleur_de_lis"},{name:"Trident Emblem",unified:"1F531",keywords:["trident_emblem","weapon","spear"],sheet:[30,13],shortName:"trident"},{name:"Name Badge",unified:"1F4DB",keywords:["name_badge","fire","forbid"],sheet:[28,50],shortName:"name_badge"},{name:"Japanese Symbol for Beginner",unified:"1F530",keywords:["japanese_symbol_for_beginner","badge","shield"],sheet:[30,12],shortName:"beginner"},{name:"Heavy Large Circle",unified:"2B55",keywords:["hollow_red_circle","circle","round"],sheet:[59,25],shortName:"o"},{name:"White Heavy Check Mark",unified:"2705",keywords:["check_mark_button","green-square","ok","agree","vote","election","answer","tick"],sheet:[58,24],shortName:"white_check_mark"},{name:"Ballot Box with Check",unified:"2611-FE0F",keywords:["check_box_with_check","ok","agree","confirm","black-square","vote","election","yes","tick"],sheet:[56,46],shortName:"ballot_box_with_check"},{name:"Heavy Check Mark",unified:"2714-FE0F",keywords:["check_mark","ok","nike","answer","yes","tick"],sheet:[58,53],shortName:"heavy_check_mark"},{name:"Cross Mark",unified:"274C",keywords:["cross_mark","no","delete","remove","cancel","red"],sheet:[59,1],shortName:"x"},{name:"Negative Squared Cross Mark",unified:"274E",keywords:["cross_mark_button","x","green-square","no","deny"],sheet:[59,2],shortName:"negative_squared_cross_mark"},{name:"Curly Loop",unified:"27B0",keywords:["curly_loop","scribble","draw","shape","squiggle"],sheet:[59,15],shortName:"curly_loop"},{name:"Double Curly Loop",unified:"27BF",keywords:["double_curly_loop","tape","cassette"],sheet:[59,16],shortName:"loop"},{name:"Part Alternation Mark",unified:"303D-FE0F",keywords:["part_alternation_mark","graph","presentation","stats","business","economics","bad"],sheet:[59,27],shortName:"part_alternation_mark"},{name:"Eight Spoked Asterisk",unified:"2733-FE0F",keywords:["eight_spoked_asterisk","star","sparkle","green-square"],sheet:[58,58],shortName:"eight_spoked_asterisk"},{name:"Eight Pointed Black Star",unified:"2734-FE0F",keywords:["eight_pointed_star","orange-square","shape","polygon"],sheet:[58,59],shortName:"eight_pointed_black_star"},{name:"Sparkle",unified:"2747-FE0F",keywords:["sparkle","stars","green-square","awesome","good","fireworks"],sheet:[59,0],shortName:"sparkle"},{name:"Copyright Sign",unified:"00A9-FE0F",keywords:["copyright","ip","license","circle","law","legal"],sheet:[0,12],hidden:["facebook"],shortName:"copyright"},{name:"Registered Sign",unified:"00AE-FE0F",keywords:["registered","alphabet","circle"],sheet:[0,13],hidden:["facebook"],shortName:"registered"},{name:"Trade Mark Sign",unified:"2122-FE0F",keywords:["trade_mark","trademark","brand","law","legal"],sheet:[56,3],shortName:"tm"},{name:"Hash Key",unified:"0023-FE0F-20E3",keywords:["keycap_","symbol","blue-square","twitter"],sheet:[0,0],hidden:["facebook"],shortName:"hash"},{name:"Keycap: *",unified:"002A-FE0F-20E3",keywords:["keycap_","star","keycap"],sheet:[0,1],hidden:["facebook"],shortName:"keycap_star"},{name:"Keycap 0",unified:"0030-FE0F-20E3",keywords:["keycap_0","0","numbers","blue-square","null"],sheet:[0,2],hidden:["facebook"],shortName:"zero"},{name:"Keycap 1",unified:"0031-FE0F-20E3",keywords:["keycap_1","blue-square","numbers","1"],sheet:[0,3],hidden:["facebook"],shortName:"one"},{name:"Keycap 2",unified:"0032-FE0F-20E3",keywords:["keycap_2","numbers","2","prime","blue-square"],sheet:[0,4],hidden:["facebook"],shortName:"two"},{name:"Keycap 3",unified:"0033-FE0F-20E3",keywords:["keycap_3","3","numbers","prime","blue-square"],sheet:[0,5],hidden:["facebook"],shortName:"three"},{name:"Keycap 4",unified:"0034-FE0F-20E3",keywords:["keycap_4","4","numbers","blue-square"],sheet:[0,6],hidden:["facebook"],shortName:"four"},{name:"Keycap 5",unified:"0035-FE0F-20E3",keywords:["keycap_5","5","numbers","blue-square","prime"],sheet:[0,7],hidden:["facebook"],short
3Name:"five"},{name:"Keycap 6",unified:"0036-FE0F-20E3",keywords:["keycap_6","6","numbers","blue-square"],sheet:[0,8],hidden:["facebook"],shortName:"six"},{name:"Keycap 7",unified:"0037-FE0F-20E3",keywords:["keycap_7","7","numbers","blue-square","prime"],sheet:[0,9],hidden:["facebook"],shortName:"seven"},{name:"Keycap 8",unified:"0038-FE0F-20E3",keywords:["keycap_8","8","blue-square","numbers"],sheet:[0,10],hidden:["facebook"],shortName:"eight"},{name:"Keycap 9",unified:"0039-FE0F-20E3",keywords:["keycap_9","blue-square","numbers","9"],sheet:[0,11],hidden:["facebook"],shortName:"nine"},{name:"Keycap Ten",unified:"1F51F",keywords:["keycap_10","numbers","10","blue-square"],sheet:[29,56],shortName:"keycap_ten"},{name:"Input Symbol for Latin Capital Letters",unified:"1F520",keywords:["input_latin_uppercase","alphabet","words","blue-square"],sheet:[29,57],shortName:"capital_abcd"},{name:"Input Symbol for Latin Small Letters",unified:"1F521",keywords:["input_latin_lowercase","blue-square","alphabet"],sheet:[29,58],shortName:"abcd"},{name:"Input Symbol for Numbers",unified:"1F522",keywords:["input_numbers","numbers","blue-square","1234","1","2","3","4"],sheet:[29,59],shortName:"1234"},{name:"Input Symbol for Symbols",unified:"1F523",keywords:["input_symbols","blue-square","music","note","ampersand","percent","glyphs","characters"],sheet:[29,60],shortName:"symbols"},{name:"Input Symbol for Latin Letters",unified:"1F524",keywords:["input_latin_letters","blue-square","alphabet"],sheet:[30,0],shortName:"abc"},{name:"Negative Squared Latin Capital Letter a",unified:"1F170-FE0F",keywords:["a_button","red-square","alphabet","letter"],sheet:[0,16],shortName:"a"},{name:"Negative Squared Ab",unified:"1F18E",keywords:["ab_button","red-square","alphabet"],sheet:[0,20],shortName:"ab"},{name:"Negative Squared Latin Capital Letter B",unified:"1F171-FE0F",keywords:["b_button","red-square","alphabet","letter"],sheet:[0,17],shortName:"b"},{name:"Squared Cl",unified:"1F191",keywords:["cl_button","alphabet","words","red-square"],sheet:[0,21],shortName:"cl"},{name:"Squared Cool",unified:"1F192",keywords:["cool_button","words","blue-square"],sheet:[0,22],shortName:"cool"},{name:"Squared Free",unified:"1F193",keywords:["free_button","blue-square","words"],sheet:[0,23],shortName:"free"},{name:"Information Source",unified:"2139-FE0F",keywords:["information","blue-square","alphabet","letter"],sheet:[56,4],shortName:"information_source"},{name:"Squared Id",unified:"1F194",keywords:["id_button","purple-square","words"],sheet:[0,24],shortName:"id"},{name:"Circled Latin Capital Letter M",unified:"24C2-FE0F",keywords:["circled_m","alphabet","blue-circle","letter"],sheet:[56,31],shortName:"m"},{name:"Squared New",unified:"1F195",keywords:["new_button","blue-square","words","start"],sheet:[0,25],shortName:"new"},{name:"Squared Ng",unified:"1F196",keywords:["ng_button","blue-square","words","shape","icon"],sheet:[0,26],shortName:"ng"},{name:"Negative Squared Latin Capital Letter O",unified:"1F17E-FE0F",keywords:["o_button","alphabet","red-square","letter"],sheet:[0,18],shortName:"o2"},{name:"Squared Ok",unified:"1F197",keywords:["ok_button","good","agree","yes","blue-square"],sheet:[0,27],shortName:"ok"},{name:"Negative Squared Latin Capital Letter P",unified:"1F17F-FE0F",keywords:["p_button","cars","blue-square","alphabet","letter"],sheet:[0,19],shortName:"parking"},{name:"Squared Sos",unified:"1F198",keywords:["sos_button","help","red-square","words","emergency","911"],sheet:[0,28],shortName:"sos"},{name:"Squared Up with Exclamation Mark",unified:"1F199",keywords:["up_button","blue-square","above","high"],sheet:[0,29],shortName:"up"},{name:"Squared Vs",unified:"1F19A",keywords:["vs_button","words","orange-square"],sheet:[0,30],shortName:"vs"},{name:"Squared Katakana Koko",unified:"1F201",keywords:["japanese_here_button","blue-square","here","katakana","japanese","destination"],sheet:[4,45],shortName:"koko"},{name:"Squared Katakana Sa",unified:"1F202-FE0F",keywords:["japanese_service_charge_button","japanese","blue-square","katakana"],sheet:[4,46],shortName:"sa"},{name:"Squared Cjk Unified Ideograph-6708",unified:"1F237-FE0F",keywords:["japanese_monthly_amount_button","chinese","month","moon","japanese","orange-square","kanji"],sheet:[4,54],short
3Name:"u6708"},{name:"Squared Cjk Unified Ideograph-6709",unified:"1F236",keywords:["japanese_not_free_of_charge_button","orange-square","chinese","have","kanji"],sheet:[4,53],shortName:"u6709"},{name:"Squared Cjk Unified Ideograph-6307",unified:"1F22F",keywords:["japanese_reserved_button","chinese","point","green-square","kanji"],sheet:[4,48],shortName:"u6307"},{name:"Circled Ideograph Advantage",unified:"1F250",keywords:["japanese_bargain_button","chinese","kanji","obtain","get","circle"],sheet:[4,58],shortName:"ideograph_advantage"},{name:"Squared Cjk Unified Ideograph-5272",unified:"1F239",keywords:["japanese_discount_button","cut","divide","chinese","kanji","pink-square"],sheet:[4,56],shortName:"u5272"},{name:"Squared Cjk Unified Ideograph-7121",unified:"1F21A",keywords:["japanese_free_of_charge_button","nothing","chinese","kanji","japanese","orange-square"],sheet:[4,47],shortName:"u7121"},{name:"Squared Cjk Unified Ideograph-7981",unified:"1F232",keywords:["japanese_prohibited_button","kanji","japanese","chinese","forbidden","limit","restricted","red-square"],sheet:[4,49],shortName:"u7981"},{name:"Circled Ideograph Accept",unified:"1F251",keywords:["japanese_acceptable_button","ok","good","chinese","kanji","agree","yes","orange-circle"],sheet:[4,59],shortName:"accept"},{name:"Squared Cjk Unified Ideograph-7533",unified:"1F238",keywords:["japanese_application_button","chinese","japanese","kanji","orange-square"],sheet:[4,55],shortName:"u7533"},{name:"Squared Cjk Unified Ideograph-5408",unified:"1F234",keywords:["japanese_passing_grade_button","japanese","chinese","join","kanji","red-square"],sheet:[4,51],shortName:"u5408"},{name:"Squared Cjk Unified Ideograph-7a7a",unified:"1F233",keywords:["japanese_vacancy_button","kanji","japanese","chinese","empty","sky","blue-square"],sheet:[4,50],shortName:"u7a7a"},{name:"Circled Ideograph Congratulation",unified:"3297-FE0F",keywords:["japanese_congratulations_button","chinese","kanji","japanese","red-circle"],sheet:[59,28],shortName:"congratulations"},{name:"Circled Ideograph Secret",unified:"3299-FE0F",keywords:["japanese_secret_button","privacy","chinese","sshh","kanji","red-circle"],sheet:[59,29],shortName:"secret"},{name:"Squared Cjk Unified Ideograph-55b6",unified:"1F23A",keywords:["japanese_open_for_business_button","japanese","opening hours","orange-square"],sheet:[4,57],shortName:"u55b6"},{name:"Squared Cjk Unified Ideograph-6e80",unified:"1F235",keywords:["japanese_no_vacancy_button","full","chinese","japanese","red-square","kanji"],sheet:[4,52],shortName:"u6e80"},{name:"Large Red Circle",unified:"1F534",keywords:["red_circle","shape","error","danger"],sheet:[30,16],shortName:"red_circle"},{name:"Large Orange Circle",unified:"1F7E0",keywords:["orange_circle","round"],sheet:[38,31],shortName:"large_orange_circle"},{name:"Large Yellow Circle",unified:"1F7E1",keywords:["yellow_circle","round"],sheet:[38,32],shortName:"large_yellow_circle"},{name:"Large Green Circle",unified:"1F7E2",keywords:["green_circle","round"],sheet:[38,33],shortName:"large_green_circle"},{name:"Large Blue Circle",unified:"1F535",keywords:["blue_circle","shape","icon","button"],sheet:[30,17],shortName:"large_blue_circle"},{name:"Large Purple Circle",unified:"1F7E3",keywords:["purple_circle","round"],sheet:[38,34],shortName:"large_purple_circle"},{name:"Large Brown Circle",unified:"1F7E4",keywords:["brown_circle","round"],sheet:[38,35],shortName:"large_brown_circle"},{name:"Medium Black Circle",unified:"26AB",keywords:["black_circle","shape","button","round"],sheet:[57,41],shortName:"black_circle"},{name:"Medium White Circle",unified:"26AA",keywords:["white_circle","shape","round"],sheet:[57,40],shortName:"white_circle"},{name:"Large Red Square",unified:"1F7E5",keywords:["red_square"],sheet:[38,36],shortName:"large_red_square"},{name:"Large Orange Square",unified:"1F7E7",keywords:["orange_square"],sheet:[38,38],shortName:"large_orange_square"},{name:"Large Yellow Square",unified:"1F7E8",keywords:["yellow_square"],sheet:[38,39],shortName:"large_yellow_square"},{name:"Large Green Square",unified:"1F7E9",keywords:["green_square"],sheet:[38,40],shortName:"large_green_square"},{name:"Large Blue Square",unified:"1F7E6",keywords:["blue_square"],sheet:[38,37],shortName:"large_blue_square"},{name:"Large Purple Square",unified:"1F7EA",keywords:["purple_square"],sheet:[38,41],shortName:"large_purple_square"},{name:"Large Brown Square",unified:"1F7EB",keywords:["brown_square"],sheet:[38,42],shortName:"large_brown_square"},{name:"Black Large Square",unified:"2B1B",keywords:["black_large_square","shape","icon","button"],sheet:[59,22],shortName:"black_large_square"},{name:"White Large Square",unified:"2B1C",keywords:["white_large_square","shape","icon","stone","button"],sheet:[59,23],short
3Name:"white_large_square"},{name:"Black Medium Square",unified:"25FC-FE0F",keywords:["black_medium_square","shape","button","icon"],sheet:[56,37],shortName:"black_medium_square"},{name:"White Medium Square",unified:"25FB-FE0F",keywords:["white_medium_square","shape","stone","icon"],sheet:[56,36],shortName:"white_medium_square"},{name:"Black Medium Small Square",unified:"25FE",keywords:["black_medium_small_square","icon","shape","button"],sheet:[56,39],shortName:"black_medium_small_square"},{name:"White Medium Small Square",unified:"25FD",keywords:["white_medium_small_square","shape","stone","icon","button"],sheet:[56,38],shortName:"white_medium_small_square"},{name:"Black Small Square",unified:"25AA-FE0F",keywords:["black_small_square","shape","icon"],sheet:[56,32],shortName:"black_small_square"},{name:"White Small Square",unified:"25AB-FE0F",keywords:["white_small_square","shape","icon"],sheet:[56,33],shortName:"white_small_square"},{name:"Large Orange Diamond",unified:"1F536",keywords:["large_orange_diamond","shape","jewel","gem"],sheet:[30,18],shortName:"large_orange_diamond"},{name:"Large Blue Diamond",unified:"1F537",keywords:["large_blue_diamond","shape","jewel","gem"],sheet:[30,19],shortName:"large_blue_diamond"},{name:"Small Orange Diamond",unified:"1F538",keywords:["small_orange_diamond","shape","jewel","gem"],sheet:[30,20],shortName:"small_orange_diamond"},{name:"Small Blue Diamond",unified:"1F539",keywords:["small_blue_diamond","shape","jewel","gem"],sheet:[30,21],shortName:"small_blue_diamond"},{name:"Up-Pointing Red Triangle",unified:"1F53A",keywords:["red_triangle_pointed_up","shape","direction","up","top"],sheet:[30,22],shortName:"small_red_triangle"},{name:"Down-Pointing Red Triangle",unified:"1F53B",keywords:["red_triangle_pointed_down","shape","direction","bottom"],sheet:[30,23],shortName:"small_red_triangle_down"},{name:"Diamond Shape with a Dot Inside",unified:"1F4A0",keywords:["diamond_with_a_dot","jewel","blue","gem","crystal","fancy"],sheet:[27,47],shortName:"diamond_shape_with_a_dot_inside"},{name:"Radio Button",unified:"1F518",keywords:["radio_button","input","old","music","circle"],sheet:[29,49],short
3Name:"radio_button"},{name:"White Square Button",unified:"1F533",keywords:["white_square_button","shape","input"],sheet:[30,15],shortName:"white_square_button"},{name:"Black Square Button",unified:"1F532",keywords:["black_square_button","shape","input","frame"],sheet:[30,14],shortName:"black_square_button"},{name:"Chequered Flag",unified:"1F3C1",keywords:["chequered_flag","contest","finishline","race","gokart"],sheet:[8,7],shortName:"checkered_flag"},{name:"Triangular Flag on Post",unified:"1F6A9",keywords:["triangular_flag","mark","milestone","place"],sheet:[36,29],shortName:"triangular_flag_on_post"},{name:"Crossed Flags",unified:"1F38C",keywords:["crossed_flags","japanese","nation","country","border"],sheet:[7,20],shortName:"crossed_flags"},{name:"Waving Black Flag",unified:"1F3F4",keywords:["black_flag","pirate"],sheet:[10,35],shortName:"waving_black_flag"},{name:"White Flag",unified:"1F3F3-FE0F",keywords:["white_flag","losing","loser","lost","surrender","give up","fail"],sheet:[10,30],shortName:"waving_white_flag"},{name:"Rainbow Flag",unified:"1F3F3-FE0F-200D-1F308",keywords:["rainbow_flag","flag","rainbow","pride","gay","lgbt","glbt","queer","homosexual","lesbian","bisexual","transgender"],sheet:[10,28],shortName:"rainbow-flag"},{name:"Transgender Flag",unified:"1F3F3-FE0F-200D-26A7-FE0F",keywords:["transgender flag","lgbtq"],sheet:[10,29],hidden:["facebook"],shortName:"transgender_flag"},{name:"Pirate Flag",unified:"1F3F4-200D-2620-FE0F",keywords:["pirate_flag","skull","crossbones","flag","banner"],sheet:[10,31],shortName:"pirate_flag"},{name:"Ascension Island Flag",unified:"1F1E6-1F1E8",keywords:["flag_ascension_island"],sheet:[0,31],shortName:"flag-ac"},{name:"Andorra Flag",unified:"1F1E6-1F1E9",keywords:["flag_andorra","ad","flag","nation","country","banner","andorra"],sheet:[0,32],shortName:"flag-ad"},{name:"United Arab Emirates Flag",unified:"1F1E6-1F1EA",keywords:["flag_united_arab_emirates","united","arab","emirates","flag","nation","country","banner","united_arab_emirates"],sheet:[0,33],short
3Name:"flag-ae"},{name:"Afghanistan Flag",unified:"1F1E6-1F1EB",keywords:["flag_afghanistan","af","flag","nation","country","banner","afghanistan"],sheet:[0,34],shortName:"flag-af"},{name:"Antigua & Barbuda Flag",unified:"1F1E6-1F1EC",keywords:["flag_antigua_barbuda","antigua","barbuda","flag","nation","country","banner","antigua_barbuda"],sheet:[0,35],shortName:"flag-ag"},{name:"Anguilla Flag",unified:"1F1E6-1F1EE",keywords:["flag_anguilla","ai","flag","nation","country","banner","anguilla"],sheet:[0,36],shortName:"flag-ai"},{name:"Albania Flag",unified:"1F1E6-1F1F1",keywords:["flag_albania","al","flag","nation","country","banner","albania"],sheet:[0,37],shortName:"flag-al"},{name:"Armenia Flag",unified:"1F1E6-1F1F2",keywords:["flag_armenia","am","flag","nation","country","banner","armenia"],sheet:[0,38],shortName:"flag-am"},{name:"Angola Flag",unified:"1F1E6-1F1F4",keywords:["flag_angola","ao","flag","nation","country","banner","angola"],sheet:[0,39],shortName:"flag-ao"},{name:"Antarctica Flag",unified:"1F1E6-1F1F6",keywords:["flag_antarctica","aq","flag","nation","country","banner","antarctica"],sheet:[0,40],shortName:"flag-aq"},{name:"Argentina Flag",unified:"1F1E6-1F1F7",keywords:["flag_argentina","ar","flag","nation","country","banner","argentina"],sheet:[0,41],shortName:"flag-ar"},{name:"American Samoa Flag",unified:"1F1E6-1F1F8",keywords:["flag_american_samoa","american","ws","flag","nation","country","banner","american_samoa"],sheet:[0,42],shortName:"flag-as"},{name:"Austria Flag",unified:"1F1E6-1F1F9",keywords:["flag_austria","at","flag","nation","country","banner","austria"],sheet:[0,43],shortName:"flag-at"},{name:"Australia Flag",unified:"1F1E6-1F1FA",keywords:["flag_australia","au","flag","nation","country","banner","australia"],sheet:[0,44],shortName:"flag-au"},{name:"Aruba Flag",unified:"1F1E6-1F1FC",keywords:["flag_aruba","aw","flag","nation","country","banner","aruba"],sheet:[0,45],shortName:"flag-aw"},{name:"\xc5land Islands Flag",unified:"1F1E6-1F1FD",keywords:["flag_aland_islands","\xc5land","islands","flag","nation","country","banner","aland_islands"],sheet:[0,46],shortName:"flag-ax"},{name:"Azerbaijan Flag",unified:"1F1E6-1F1FF",keywords:["flag_azerbaijan","az","flag","nation","country","banner","azerbaijan"],sheet:[0,47],shortName:"flag-az"},{name:"Bosnia & Herzegovina Flag",unified:"1F1E7-1F1E6",keywords:["flag_bosnia_herzegovina","bosnia","herzegovina","flag","nation","country","banner","bosnia_herzegovina"],sheet:[0,48],shortName:"flag-ba"},{name:"Barbados Flag",unified:"1F1E7-1F1E7",keywords:["flag_barbados","bb","flag","nation","country","banner","barbados"],sheet:[0,49],shortName:"flag-bb"},{name:"Bangladesh Flag",unified:"1F1E7-1F1E9",keywords:["flag_bangladesh","bd","flag","nation","country","banner","bangladesh"],sheet:[0,50],shortName:"flag-bd"},{name:"Belgium Flag",unified:"1F1E7-1F1EA",keywords:["flag_belgium","be","flag","nation","country","banner","belgium"],sheet:[0,51],shortName:"flag-be"},{name:"Burkina Faso Flag",unified:"1F1E7-1F1EB",keywords:["flag_burkina_faso","burkina","faso","flag","nation","country","banner","burkina_faso"],sheet:[0,52],shortName:"flag-bf"},{name:"Bulgaria Flag",unified:"1F1E7-1F1EC",keywords:["flag_bulgaria","bg","flag","nation","country","banner","bulgaria"],sheet:[0,53],shortName:"flag-bg"},{name:"Bahrain Flag",unified:"1F1E7-1F1ED",keywords:["flag_bahrain","bh","flag","nation","country","banner","bahrain"],sheet:[0,54],shortName:"flag-bh"},{name:"Burundi Flag",unified:"1F1E7-1F1EE",keywords:["flag_burundi","bi","flag","nation","country","banner","burundi"],sheet:[0,55],shortName:"flag-bi"},{name:"Benin Flag",unified:"1F1E7-1F1EF",keywords:["flag_benin","bj","flag","nation","country","banner","benin"],sheet:[0,56],shortName:"flag-bj"},{name:"St. Barth\xe9lemy Flag",unified:"1F1E7-1F1F1",keywords:["flag_st_barthelemy","saint","barth\xe9lemy","flag","nation","country","banner","st_barthelemy"],sheet:[0,57],shortName:"flag-bl"},{name:"Bermuda Flag",unified:"1F1E7-1F1F2",keywords:["flag_bermuda","bm","flag","nation","country","banner","bermuda"],sheet:[0,58],shortName:"flag-bm"},{name:"Brunei Flag",unified:"1F1E7-1F1F3",keywords:["flag_brunei","bn","darussalam","flag","nation","country","banner","brunei"],sheet:[0,59],shortName:"flag-bn"},{name:"Bolivia Flag",unified:"1F1E7-1F1F4",keywords:["flag_bolivia","bo","flag","nation","country","banner","bolivia"],sheet:[0,60],shortName:"flag-bo"},{name:"Caribbean Netherlands Flag",unified:"1F1E7-1F1F6",keywords:["flag_caribbean_netherlands","bonaire","flag","nation","country","banner","caribbean_netherlands"],sheet:[1,0],shortName:"flag-bq"},{name:"Brazil Flag",unified:"1F1E7-1F1F7",keywords:["flag_brazil","br","flag","nation","country","banner","brazil"],sheet:[1,1],shortName:"flag-br"},{name:"Bahamas Flag",unified:"1F1E7-1F1F8",keywords:["flag_bahamas","bs","flag","nation","country","banner","bahamas"],sheet:[1,2],shortName:"flag-bs"},{name:"Bhutan Flag",unified:"1F1E7-1F1F9",keywords:["flag_bhutan","bt","flag","nation","country","banner","bhutan"],sheet:[1,3],short
3Name:"flag-bt"},{name:"Bouvet Island Flag",unified:"1F1E7-1F1FB",keywords:["flag_bouvet_island","norway"],sheet:[1,4],shortName:"flag-bv"},{name:"Botswana Flag",unified:"1F1E7-1F1FC",keywords:["flag_botswana","bw","flag","nation","country","banner","botswana"],sheet:[1,5],shortName:"flag-bw"},{name:"Belarus Flag",unified:"1F1E7-1F1FE",keywords:["flag_belarus","by","flag","nation","country","banner","belarus"],sheet:[1,6],shortName:"flag-by"},{name:"Belize Flag",unified:"1F1E7-1F1FF",keywords:["flag_belize","bz","flag","nation","country","banner","belize"],sheet:[1,7],shortName:"flag-bz"},{name:"Canada Flag",unified:"1F1E8-1F1E6",keywords:["flag_canada","ca","flag","nation","country","banner","canada"],sheet:[1,8],shortName:"flag-ca"},{name:"Cocos (keeling) Islands Flag",unified:"1F1E8-1F1E8",keywords:["flag_cocos_islands","cocos","keeling","islands","flag","nation","country","banner","cocos_islands"],sheet:[1,9],shortName:"flag-cc"},{name:"Congo - Kinshasa Flag",unified:"1F1E8-1F1E9",keywords:["flag_congo_kinshasa","congo","democratic","republic","flag","nation","country","banner","congo_kinshasa"],sheet:[1,10],shortName:"flag-cd"},{name:"Central African Republic Flag",unified:"1F1E8-1F1EB",keywords:["flag_central_african_republic","central","african","republic","flag","nation","country","banner","central_african_republic"],sheet:[1,11],shortName:"flag-cf"},{name:"Congo - Brazzaville Flag",unified:"1F1E8-1F1EC",keywords:["flag_congo_brazzaville","congo","flag","nation","country","banner","congo_brazzaville"],sheet:[1,12],shortName:"flag-cg"},{name:"Switzerland Flag",unified:"1F1E8-1F1ED",keywords:["flag_switzerland","ch","flag","nation","country","banner","switzerland"],sheet:[1,13],shortName:"flag-ch"},{name:"C\xf4te D\u2019ivoire Flag",unified:"1F1E8-1F1EE",keywords:["flag_cote_d_ivoire","ivory","co
3ast","flag","nation","country","banner","cote_d_ivoire"],sheet:[1,14],shortName:"flag-ci"},{name:"Cook Islands Flag",unified:"1F1E8-1F1F0",keywords:["flag_cook_islands","cook","islands","flag","nation","country","banner","cook_islands"],sheet:[1,15],shortName:"flag-ck"},{name:"Chile Flag",unified:"1F1E8-1F1F1",keywords:["flag_chile","flag","nation","country","banner","chile"],sheet:[1,16],shortName:"flag-cl"},{name:"Cameroon Flag",unified:"1F1E8-1F1F2",keywords:["flag_cameroon","cm","flag","nation","country","banner","cameroon"],sheet:[1,17],shortName:"flag-cm"},{name:"China Flag",unified:"1F1E8-1F1F3",keywords:["flag_china","china","chinese","prc","flag","country","nation","banner","china"],sheet:[1,18],shortNames:["flag-cn"],shortName:"cn"},{name:"Colombia Flag",unified:"1F1E8-1F1F4",keywords:["flag_colombia","co","flag","nation","country","banner","colombia"],sheet:[1,19],shortName:"flag-co"},{name:"Clipperton Island Flag",unified:"1F1E8-1F1F5",keywords:["flag_clipperton_island"],sheet:[1,20],shortName:"flag-cp"},{name:"Costa Rica Flag",unified:"1F1E8-1F1F7",keywords:["flag_costa_rica","costa","rica","flag","nation","country","banner","costa_rica"],sheet:[1,21],shortName:"flag-cr"},{name:"Cuba Flag",unified:"1F1E8-1F1FA",keywords:["flag_cuba","cu","flag","nation","country","banner","cuba"],sheet:[1,22],shortName:"flag-cu"},{name:"Cape Verde Flag",unified:"1F1E8-1F1FB",keywords:["flag_cape_verde","cabo","verde","flag","nation","country","banner","cape_verde"],sheet:[1,23],shortName:"flag-cv"},{name:"Cura\xe7ao Flag",unified:"1F1E8-1F1FC",keywords:["flag_curacao","cura\xe7ao","flag","nation","country","banner","curacao"],sheet:[1,24],shortName:"flag-cw"},{name:"Christmas Island Flag",unified:"1F1E8-1F1FD",keywords:["flag_christmas_island","christmas","island","flag","nation","country","banner","christmas_island"],sheet:[1,25],shortName:"flag-cx"},{name:"Cyprus Flag",unified:"1F1E8-1F1FE",keywords:["flag_cyprus","cy","flag","nation","country","banner","cyprus"],sheet:[1,26],shortName:"flag-cy"},{name:"Czechia Flag",unified:"1F1E8-1F1FF",keywords:["flag_czechia","cz","flag","nation","country","banner","czechia"],sheet:[1,27],shortName:"flag-cz"},{name:"Germany Flag",unified:"1F1E9-1F1EA",keywords:["flag_germany","german","nation","flag","country","banner","germany"],sheet:[1,28],shortNames:["flag-de"],shortName:"de"},{name:"Diego Garcia Flag",unified:"1F1E9-1F1EC",keywords:["flag_diego_garcia"],sheet:[1,29],shortName:"flag-dg"},{name:"Djibouti Flag",unified:"1F1E9-1F1EF",keywords:["flag_djibouti","dj","flag","nation","country","banner","djibouti"],sheet:[1,30],shortName:"flag-dj"},{name:"Denmark Flag",unified:"1F1E9-1F1F0",keywords:["flag_denmark","dk","flag","nation","country","banner","denmark"],sheet:[1,31],shortName:"flag-dk"},{name:"Dominica Flag",unified:"1F1E9-1F1F2",keywords:["flag_dominica","dm","flag","nation","country","banner","dominica"],sheet:[1,32],shortName:"flag-dm"},{name:"Dominican Republic Flag",unified:"1F1E9-1F1F4",keywords:["flag_dominican_republic","dominican","republic","flag","nation","country","banner","dominican_republic"],sheet:[1,33],short
3Name:"flag-do"},{name:"Algeria Flag",unified:"1F1E9-1F1FF",keywords:["flag_algeria","dz","flag","nation","country","banner","algeria"],sheet:[1,34],shortName:"flag-dz"},{name:"Ceuta & Melilla Flag",unified:"1F1EA-1F1E6",keywords:["flag_ceuta_melilla"],sheet:[1,35],shortName:"flag-ea"},{name:"Ecuador Flag",unified:"1F1EA-1F1E8",keywords:["flag_ecuador","ec","flag","nation","country","banner","ecuador"],sheet:[1,36],shortName:"flag-ec"},{name:"Estonia Flag",unified:"1F1EA-1F1EA",keywords:["flag_estonia","ee","flag","nation","country","banner","estonia"],sheet:[1,37],shortName:"flag-ee"},{name:"Egypt Flag",unified:"1F1EA-1F1EC",keywords:["flag_egypt","eg","flag","nation","country","banner","egypt"],sheet:[1,38],shortName:"flag-eg"},{name:"Western Sahara Flag",unified:"1F1EA-1F1ED",keywords:["flag_western_sahara","western","sahara","flag","nation","country","banner","western_sahara"],sheet:[1,39],shortName:"flag-eh"},{name:"Eritrea Flag",unified:"1F1EA-1F1F7",keywords:["flag_eritrea","er","flag","nation","country","banner","eritrea"],sheet:[1,40],shortName:"flag-er"},{name:"Spain Flag",unified:"1F1EA-1F1F8",keywords:["flag_spain","spain","flag","nation","country","banner","spain"],sheet:[1,41],shortNames:["flag-es"],shortName:"es"},{name:"Ethiopia Flag",unified:"1F1EA-1F1F9",keywords:["flag_ethiopia","et","flag","nation","country","banner","ethiopia"],sheet:[1,42],shortName:"flag-et"},{name:"European Union Flag",unified:"1F1EA-1F1FA",keywords:["flag_european_union","european","union","flag","banner"],sheet:[1,43],shortName:"flag-eu"},{name:"Finland Flag",unified:"1F1EB-1F1EE",keywords:["flag_finland","fi","flag","nation","country","banner","finland"],sheet:[1,44],shortName:"flag-fi"},{name:"Fiji Flag",unified:"1F1EB-1F1EF",keywords:["flag_fiji","fj","flag","nation","country","banner","fiji"],sheet:[1,45],shortName:"flag-fj"},{name:"Falkland Islands Flag",unified:"1F1EB-1F1F0",keywords:["flag_falkland_islands","falkland","islands","malvinas","flag","nation","country","banner","falkland_islands"],sheet:[1,46],shortName:"flag-fk"},{name:"Micronesia Flag",unified:"1F1EB-1F1F2",keywords:["flag_micronesia","micronesia","federated","states","flag","nation","country","banner","micronesia"],sheet:[1,47],shortName:"flag-fm"},{name:"Faroe Islands Flag",unified:"1F1EB-1F1F4",keywords:["flag_faroe_islands","faroe","islands","flag","nation","country","banner","faroe_islands"],sheet:[1,48],shortName:"flag-fo"},{name:"France Flag",unified:"1F1EB-1F1F7",keywords:["flag_france","banner","flag","nation","france","french","country","france"],sheet:[1,49],shortNames:["flag-fr"],shortName:"fr"},{name:"Gabon Flag",unified:"1F1EC-1F1E6",keywords:["flag_gabon","ga","flag","nation","country","banner","gabon"],sheet:[1,50],shortName:"flag-ga"},{name:"United Kingdom Flag",unified:"1F1EC-1F1E7",keywords:["flag_united_kingdom","united","kingdom","great","britain","northern","ireland","flag","nation","country","banner","british","UK","english","england","union jack","united_kingdom"],sheet:[1,51],shortNames:["uk","flag-gb"],shortName:"gb"},{name:"Grenada Flag",unified:"1F1EC-1F1E9",keywords:["flag_grenada","gd","flag","nation","country","banner","grenada"],sheet:[1,52],shortName:"flag-gd"},{name:"Georgia Flag",unified:"1F1EC-1F1EA",keywords:["flag_georgia","ge","flag","nation","country","banner","georgia"],sheet:[1,53],shortName:"flag-ge"},{name:"French Guiana Flag",unified:"1F1EC-1F1EB",keywords:["flag_french_guiana","french","guiana","flag","nation","country","banner","french_guiana"],sheet:[1,54],shortName:"flag-gf"},{name:"Guernsey Flag",unified:"1F1EC-1F1EC",keywords:["flag_guernsey","gg","flag","nation","country","banner","guernsey"],sheet:[1,55],shortName:"flag-gg"},{name:"Ghana Flag",unified:"1F1EC-1F1ED",keywords:["flag_ghana","gh","flag","nation","country","banner","ghana"],sheet:[1,56],shortName:"flag-gh"},{name:"Gibraltar Flag",unified:"1F1EC-1F1EE",keywords:["flag_gibraltar","gi","flag","nation","country","banner","gibraltar"],sheet:[1,57],shortName:"flag-gi"},{name:"Greenland Flag",unified:"1F1EC-1F1F1",keywords:["flag_greenland","gl","flag","nation","country","banner","greenland"],sheet:[1,58],shortName:"flag-gl"}
3,{name:"Gambia Flag",unified:"1F1EC-1F1F2",keywords:["flag_gambia","gm","flag","nation","country","banner","gambia"],sheet:[1,59],shortName:"flag-gm"},{name:"Guinea Flag",unified:"1F1EC-1F1F3",keywords:["flag_guinea","gn","flag","nation","country","banner","guinea"],sheet:[1,60],shortName:"flag-gn"},{name:"Guadeloupe Flag",unified:"1F1EC-1F1F5",keywords:["flag_guadeloupe","gp","flag","nation","country","banner","guadeloupe"],sheet:[2,0],shortName:"flag-gp"},{name:"Equatorial Guinea Flag",unified:"1F1EC-1F1F6",keywords:["flag_equatorial_guinea","equatorial","gn","flag","nation","country","banner","equatorial_guinea"],sheet:[2,1],shortName:"flag-gq"},{name:"Greece Flag",unified:"1F1EC-1F1F7",keywords:["flag_greece","gr","flag","nation","country","banner","greece"],sheet:[2,2],shortName:"flag-gr"},{name:"South Georgia & South Sandwich Islands Flag",unified:"1F1EC-1F1F8",keywords:["flag_south_georgia_south_sandwich_islands","south","georgia","sandwich","islands","flag","nation","country","banner","south_georgia_south_sandwich_islands"],sheet:[2,3],shortName:"flag-gs"},{name:"Guatemala Flag",unified:"1F1EC-1F1F9",keywords:["flag_guatemala","gt","flag","nation","country","banner","guatemala"],sheet:[2,4],shortName:"flag-gt"},{name:"Guam Flag",unified:"1F1EC-1F1FA",keywords:["flag_guam","gu","flag","nation","country","banner","guam"],sheet:[2,5],shortName:"flag-gu"},{name:"Guinea-Bissau Flag",unified:"1F1EC-1F1FC",keywords:["flag_guinea_bissau","gw","bissau","flag","nation","country","banner","guinea_bissau"],sheet:[2,6],shortName:"flag-gw"},{name:"Guyana Flag",unified:"1F1EC-1F1FE",keywords:["flag_guyana","gy","flag","nation","country","banner","guyana"],sheet:[2,7],shortName:"flag-gy"},{name:"Hong Kong Sar China Flag",unified:"1F1ED-1F1F0",keywords:["flag_hong_kong_sar_china","hong","kong","flag","nation","country","banner","hong_kong_sar_china"],sheet:[2,8],shortName:"flag-hk"},{name:"Heard & Mcdonald Islands Flag",unified:"1F1ED-1F1F2",keywords:["flag_heard_mcdonald_islands"],sheet:[2,9],short
3Name:"flag-hm"},{name:"Honduras Flag",unified:"1F1ED-1F1F3",keywords:["flag_honduras","hn","flag","nation","country","banner","honduras"],sheet:[2,10],shortName:"flag-hn"},{name:"Croatia Flag",unified:"1F1ED-1F1F7",keywords:["flag_croatia","hr","flag","nation","country","banner","croatia"],sheet:[2,11],shortName:"flag-hr"},{name:"Haiti Flag",unified:"1F1ED-1F1F9",keywords:["flag_haiti","ht","flag","nation","country","banner","haiti"],sheet:[2,12],shortName:"flag-ht"},{name:"Hungary Flag",unified:"1F1ED-1F1FA",keywords:["flag_hungary","hu","flag","nation","country","banner","hungary"],sheet:[2,13],shortName:"flag-hu"},{name:"Canary Islands Flag",unified:"1F1EE-1F1E8",keywords:["flag_canary_islands","canary","islands","flag","nation","country","banner","canary_islands"],sheet:[2,14],shortName:"flag-ic"},{name:"Indonesia Flag",unified:"1F1EE-1F1E9",keywords:["flag_indonesia","flag","nation","country","banner","indonesia"],sheet:[2,15],shortName:"flag-id"},{name:"Ireland Flag",unified:"1F1EE-1F1EA",keywords:["flag_ireland","ie","flag","nation","country","banner","ireland"],sheet:[2,16],shortName:"flag-ie"},{name:"Israel Flag",unified:"1F1EE-1F1F1",keywords:["flag_israel","il","flag","nation","country","banner","israel"],sheet:[2,17],shortName:"flag-il"},{name:"Isle of Man Flag",unified:"1F1EE-1F1F2",keywords:["flag_isle_of_man","isle","man","flag","nation","country","banner","isle_of_man"],sheet:[2,18],shortName:"flag-im"},{name:"India Flag",unified:"1F1EE-1F1F3",keywords:["flag_india","in","flag","nation","country","banner","india"],sheet:[2,19],shortName:"flag-in"},{name:"British Indian Ocean Territory Flag",unified:"1F1EE-1F1F4",keywords:["flag_british_indian_ocean_territory","british","indian","ocean","territory","flag","nation","country","banner","british_indian_ocean_territory"],sheet:[2,20],shortName:"flag-io"},{name:"Iraq Flag",unified:"1F1EE-1F1F6",keywords:["flag_iraq","iq","flag","nation","country","banner","iraq"],sheet:[2,21],shortName:"flag-iq"},{name:"Iran Flag",unified:"1F1EE-1F1F7",keywords:["flag_iran","iran","islamic","republic","flag","nation","country","banner","iran"],sheet:[2,22],shortName:"flag-ir"},{name:"Iceland Flag",unified:"1F1EE-1F1F8",keywords:["flag_iceland","is","flag","nation","country","banner","iceland"],sheet:[2,23],shortName:"flag-is"},{name:"Italy Flag",unified:"1F1EE-1F1F9",keywords:["flag_italy","italy","flag","nation","country","banner","italy"],sheet:[2,24],shortNames:["flag-it"],shortName:"it"},{name:"Jersey Flag",unified:"1F1EF-1F1EA",keywords:["flag_jersey","je","flag","nation","country","banner","jersey"],sheet:[2,25],shortName:"flag-je"},{name:"Jamaica Flag",unified:"1F1EF-1F1F2",keywords:["flag_jamaica","jm","flag","nation","country","banner","jamaica"],sheet:[2,26],shortName:"flag-jm"},{name:"Jordan Flag",unified:"1F1EF-1F1F4",keywords:["flag_jordan","jo","flag","nation","country","banner","jordan"],sheet:[2,27],shortName:"flag-jo"},{name:"Japan Flag",unified:"1F1EF-1F1F5",keywords:["flag_japan","japanese","nation","flag","country","banner","japan","jp","ja"],sheet:[2,28],shortNames:["flag-jp"],shortName:"jp"},{name:"Kenya Flag",unified:"1F1F0-1F1EA",keywords:["flag_kenya","ke","flag","nation","country","banner","kenya"],sheet:[2,29],shortName:"flag-ke"},{name:"Kyrgyzstan Flag",unified:"1F1F0-1F1EC",keywords:["flag_kyrgyzstan","kg","flag","nation","country","banner","kyrgyzstan"],sheet:[2,30],shortName:"flag-kg"},{name:"Cambodia Flag",unified:"1F1F0-1F1ED",keywords:["flag_cambodia","kh","flag","nation","country","banner","cambodia"],sheet:[2,31],shortName:"flag-kh"},{name:"Kiribati Flag",unified:"1F1F0-1F1EE",keywords:["flag_kiribati","ki","flag","nation","country","banner","kiribati"],sheet:[2,32],shortName:"flag-ki"},{name:"Comoros Flag",unified:"1F1F0-1F1F2",keywords:["flag_comoros","km","flag","nation","country","banner","comoros"],sheet:[2,33],shortName:"flag-km"},{name:"St. Kitts & Nevis Flag",unified:"1F1F0-1F1F3",keywords:["flag_st_kitts_nevis","saint","kitts","nevis","flag","nation","country","banner","st_kitts_nevis"],sheet:[2,34],shortName:"flag-kn"},{name:"North Korea Flag",unified:"1F1F0-1F1F5",keywords:["flag_north_korea","north","korea","nation","flag","country","banner","north_korea"],sheet:[2,35],shortName:"flag-kp"},{name:"South Korea Flag",unified:"1F1F0-1F1F7",keywords:["flag_south_korea","south","korea","nation","flag","country","banner","south_korea"],sheet:[2,36],shortNames:["flag-kr"],shortName:"kr"}
3,{name:"Kuwait Flag",unified:"1F1F0-1F1FC",keywords:["flag_kuwait","kw","flag","nation","country","banner","kuwait"],sheet:[2,37],shortName:"flag-kw"},{name:"Cayman Islands Flag",unified:"1F1F0-1F1FE",keywords:["flag_cayman_islands","cayman","islands","flag","nation","country","banner","cayman_islands"],sheet:[2,38],shortName:"flag-ky"},{name:"Kazakhstan Flag",unified:"1F1F0-1F1FF",keywords:["flag_kazakhstan","kz","flag","nation","country","banner","kazakhstan"],sheet:[2,39],shortName:"flag-kz"},{name:"Laos Flag",unified:"1F1F1-1F1E6",keywords:["flag_laos","lao","democratic","republic","flag","nation","country","banner","laos"],sheet:[2,40],shortName:"flag-la"},{name:"Lebanon Flag",unified:"1F1F1-1F1E7",keywords:["flag_lebanon","lb","flag","nation","country","banner","lebanon"],sheet:[2,41],shortName:"flag-lb"},{name:"St. Lucia Flag",unified:"1F1F1-1F1E8",keywords:["flag_st_lucia","saint","lucia","flag","nation","country","banner","st_lucia"],sheet:[2,42],shortName:"flag-lc"},{name:"Liechtenstein Flag",unified:"1F1F1-1F1EE",keywords:["flag_liechtenstein","li","flag","nation","country","banner","liechtenstein"],sheet:[2,43],shortName:"flag-li"},{name:"Sri Lanka Flag",unified:"1F1F1-1F1F0",keywords:["flag_sri_lanka","sri","lanka","flag","nation","country","banner","sri_lanka"],sheet:[2,44],shortName:"flag-lk"},{name:"Liberia Flag",unified:"1F1F1-1F1F7",keywords:["flag_liberia","lr","flag","nation","country","banner","liberia"],sheet:[2,45],shortName:"flag-lr"},{name:"Lesotho Flag",unified:"1F1F1-1F1F8",keywords:["flag_lesotho","ls","flag","nation","country","banner","lesotho"],sheet:[2,46],shortName:"flag-ls"},{name:"Lithuania Flag",unified:"1F1F1-1F1F9",keywords:["flag_lithuania","lt","flag","nation","country","banner","lithuania"],sheet:[2,47],shortName:"flag-lt"},{name:"Luxembourg Flag",unified:"1F1F1-1F1FA",keywords:["flag_luxembourg","lu","flag","nation","country","banner","luxembourg"],sheet:[2,48],shortName:"flag-lu"},{name:"Latvia Flag",unified:"1F1F1-1F1FB",keywords:["flag_latvia","lv","flag","nation","country","banner","latvia"],sheet:[2,49],shortName:"flag-lv"},{name:"Libya Flag",unified:"1F1F1-1F1FE",keywords:["flag_libya","ly","flag","nation","country","banner","libya"],sheet:[2,50],shortName:"flag-ly"},{name:"Morocco Flag",unified:"1F1F2-1F1E6",keywords:["flag_morocco","ma","flag","nation","country","banner","morocco"],sheet:[2,51],shortName:"flag-ma"},{name:"Monaco Flag",unified:"1F1F2-1F1E8",keywords:["flag_monaco","mc","flag","nation","country","banner","monaco"],sheet:[2,52],short
3Name:"flag-mc"},{name:"Moldova Flag",unified:"1F1F2-1F1E9",keywords:["flag_moldova","moldova","republic","flag","nation","country","banner","moldova"],sheet:[2,53],shortName:"flag-md"},{name:"Montenegro Flag",unified:"1F1F2-1F1EA",keywords:["flag_montenegro","me","flag","nation","country","banner","montenegro"],sheet:[2,54],shortName:"flag-me"},{name:"St. Martin Flag",unified:"1F1F2-1F1EB",keywords:["flag_st_martin"],sheet:[2,55],shortName:"flag-mf"},{name:"Madagascar Flag",unified:"1F1F2-1F1EC",keywords:["flag_madagascar","mg","flag","nation","country","banner","madagascar"],sheet:[2,56],shortName:"flag-mg"},{name:"Marshall Islands Flag",unified:"1F1F2-1F1ED",keywords:["flag_marshall_islands","marshall","islands","flag","nation","country","banner","marshall_islands"],sheet:[2,57],shortName:"flag-mh"},{name:"North Macedonia Flag",unified:"1F1F2-1F1F0",keywords:["flag_north_macedonia","macedonia","flag","nation","country","banner","north_macedonia"],sheet:[2,58],shortName:"flag-mk"},{name:"Mali Flag",unified:"1F1F2-1F1F1",keywords:["flag_mali","ml","flag","nation","country","banner","mali"],sheet:[2,59],shortName:"flag-ml"},{name:"Myanmar (burma) Flag",unified:"1F1F2-1F1F2",keywords:["flag_myanmar","mm","flag","nation","country","banner","myanmar"],sheet:[2,60],shortName:"flag-mm"},{name:"Mongolia Flag",unified:"1F1F2-1F1F3",keywords:["flag_mongolia","mn","flag","nation","country","banner","mongolia"],sheet:[3,0],shortName:"flag-mn"},{name:"Macao Sar China Flag",unified:"1F1F2-1F1F4",keywords:["flag_macao_sar_china","macao","flag","nation","country","banner","macao_sar_china"],sheet:[3,1],shortName:"flag-mo"},{name:"Northern Mariana Islands Flag",unified:"1F1F2-1F1F5",keywords:["flag_northern_mariana_islands","northern","mariana","islands","flag","nation","country","banner","northern_mariana_islands"],sheet:[3,2],shortName:"flag-mp"},{name:"Martinique Flag",unified:"1F1F2-1F1F6",keywords:["flag_martinique","mq","flag","nation","country","banner","martinique"],sheet:[3,3],shortName:"flag-mq"},{name:"Mauritania Flag",unified:"1F1F2-1F1F7",keywords:["flag_mauritania","mr","flag","nation","country","banner","mauritania"],sheet:[3,4],shortName:"flag-mr"},{name:"Montserrat Flag",unified:"1F1F2-1F1F8",keywords:["flag_montserrat","ms","flag","nation","country","banner","montserrat"],sheet:[3,5],shortName:"flag-ms"},{name:"Malta Flag",unified:"1F1F2-1F1F9",keywords:["flag_malta","mt","flag","nation","country","banner","malta"],sheet:[3,6],shortName:"flag-mt"},{name:"Mauritius Flag",unified:"1F1F2-1F1FA",keywords:["flag_mauritius","mu","flag","nation","country","banner","mauritius"],sheet:[3,7],shortName:"flag-mu"},{name:"Maldives Flag",unified:"1F1F2-1F1FB",keywords:["flag_maldives","mv","flag","nation","country","banner","maldives"],sheet:[3,8],shortName:"flag-mv"},{name:"Malawi Flag",unified:"1F1F2-1F1FC",keywords:["flag_malawi","mw","flag","nation","country","banner","malawi"],sheet:[3,9],shortName:"flag-mw"},{name:"Mexico Flag",unified:"1F1F2-1F1FD",keywords:["flag_mexico","mx","flag","nation","country","banner","mexico"],sheet:[3,10],shortName:"flag-mx"},{name:"Malaysia Flag",unified:"1F1F2-1F1FE",keywords:["flag_malaysia","my","flag","nation","country","banner","malaysia"],sheet:[3,11],shortName:"flag-my"},{name:"Mozambique Flag",unified:"1F1F2-1F1FF",keywords:["flag_mozambique","mz","flag","nation","country","banner","mozambique"],sheet:[3,12],shortName:"flag-mz"},{name:"Namibia Flag",unified:"1F1F3-1F1E6",keywords:["flag_namibia","na","flag","nation","country","banner","namibia"],sheet:[3,13],shortName:"flag-na"},{name:"New Caledonia Flag",unified:"1F1F3-1F1E8",keywords:["flag_new_caledonia","new","caledonia","flag","nation","country","banner","new_caledonia"],sheet:[3,14],shortName:"flag-nc"},{name:"Niger Flag",unified:"1F1F3-1F1EA",keywords:["flag_niger","ne","flag","nation","country","banner","niger"],sheet:[3,15],shortName:"flag-ne"},{name:"Norfolk Island Flag",unified:"1F1F3-1F1EB",keywords:["flag_norfolk_island","norfolk","island","flag","nation","country","banner","norfolk_island"],sheet:[3,16],shortName:"flag-nf"},{name:"Nigeria Flag",unified:"1F1F3-1F1EC",keywords:["flag_nigeria","flag","nation","country","banner","nigeria"],sheet:[3,17],shortName:"flag-ng"},{name:"Nicaragua Flag",unified:"1F1F3-1F1EE",keywords:["flag_nicaragua","ni","flag","nation","country","banner","nicaragua"],sheet:[3,18],shortName:"flag-ni"},{name:"Netherlands Flag",unified:"1F1F3-1F1F1",keywords:["flag_netherlands","nl","flag","nation","country","banner","netherlands"],sheet:[3,19],shortName:"flag-nl"},{name:"Norway Flag",unified:"1F1F3-1F1F4",keywords:["flag_norway","no","flag","nation","country","banner","norway"],sheet:[3,20],shortName:"flag-no"},{name:"Nepal Flag",unified:"1F1F3-1F1F5",keywords:["flag_nepal","np","flag","nation","country","banner","nepal"],sheet:[3,21],shortName:"flag-np"},{name:"Nauru Flag",unified:"1F1F3-1F1F7",keywords:["flag_nauru","nr","flag","nation","country","banner","nauru"],sheet:[3,22],shortName:"flag-nr"},{name:"Niue Flag",unified:"1F1F3-1F1FA",keywords:["flag_niue","nu","flag","nation","country","banner","niue"],sheet:[3,23],short
3Name:"flag-nu"},{name:"New Zealand Flag",unified:"1F1F3-1F1FF",keywords:["flag_new_zealand","new","zealand","flag","nation","country","banner","new_zealand"],sheet:[3,24],shortName:"flag-nz"},{name:"Oman Flag",unified:"1F1F4-1F1F2",keywords:["flag_oman","om_symbol","flag","nation","country","banner","oman"],sheet:[3,25],shortName:"flag-om"},{name:"Panama Flag",unified:"1F1F5-1F1E6",keywords:["flag_panama","pa","flag","nation","country","banner","panama"],sheet:[3,26],shortName:"flag-pa"},{name:"Peru Flag",unified:"1F1F5-1F1EA",keywords:["flag_peru","pe","flag","nation","country","banner","peru"],sheet:[3,27],shortName:"flag-pe"},{name:"French Polynesia Flag",unified:"1F1F5-1F1EB",keywords:["flag_french_polynesia","french","polynesia","flag","nation","country","banner","french_polynesia"],sheet:[3,28],shortName:"flag-pf"},{name:"Papua New Guinea Flag",unified:"1F1F5-1F1EC",keywords:["flag_papua_new_guinea","papua","new","guinea","flag","nation","country","banner","papua_new_guinea"],sheet:[3,29],shortName:"flag-pg"},{name:"Philippines Flag",unified:"1F1F5-1F1ED",keywords:["flag_philippines","ph","flag","nation","country","banner","philippines"],sheet:[3,30],shortName:"flag-ph"},{name:"Pakistan Flag",unified:"1F1F5-1F1F0",keywords:["flag_pakistan","pk","flag","nation","country","banner","pakistan"],sheet:[3,31],shortName:"flag-pk"},{name:"Poland Flag",unified:"1F1F5-1F1F1",keywords:["flag_poland","pl","flag","nation","country","banner","poland"],sheet:[3,32],shortName:"flag-pl"},{name:"St. Pierre & Miquelon Flag",unified:"1F1F5-1F1F2",keywords:["flag_st_pierre_miquelon","saint","pierre","miquelon","flag","nation","country","banner","st_pierre_miquelon"],sheet:[3,33],shortName:"flag-pm"},{name:"Pitcairn Islands Flag",unified:"1F1F5-1F1F3",keywords:["flag_pitcairn_islands","pitcairn","flag","nation","country","banner","pitcairn_islands"],sheet:[3,34],shortName:"flag-pn"},{name:"Puerto Rico Flag",unified:"1F1F5-1F1F7",keywords:["flag_puerto_rico","puerto","rico","flag","nation","country","banner","puerto_rico"],sheet:[3,35],shortName:"flag-pr"},{name:"Palestinian Territories Flag",unified:"1F1F5-1F1F8",keywords:["flag_palestinian_territories","palestine","palestinian","territories","flag","nation","country","banner","palestinian_territories"],sheet:[3,36],shortName:"flag-ps"},{name:"Portugal Flag",unified:"1F1F5-1F1F9",keywords:["flag_portugal","pt","flag","nation","country","banner","portugal"],sheet:[3,37],shortName:"flag-pt"},{name:"Palau Flag",unified:"1F1F5-1F1FC",keywords:["flag_palau","pw","flag","nation","country","banner","palau"],sheet:[3,38],shortName:"flag-pw"},{name:"Paraguay Flag",unified:"1F1F5-1F1FE",keywords:["flag_paraguay","py","flag","nation","country","banner","paraguay"],sheet:[3,39],shortName:"flag-py"},{name:"Qatar Flag",unified:"1F1F6-1F1E6",keywords:["flag_qatar","qa","flag","nation","country","banner","qatar"],sheet:[3,40],shortName:"flag-qa"},{name:"R\xe9union Flag",unified:"1F1F7-1F1EA",keywords:["flag_reunion","r\xe9union","flag","nation","country","banner","reunion"],sheet:[3,41],shortName:"flag-re"},{name:"Romania Flag",unified:"1F1F7-1F1F4",keywords:["flag_romania","ro","flag","nation","country","banner","romania"],sheet:[3,42],shortName:"flag-ro"},{name:"Serbia Flag",unified:"1F1F7-1F1F8",keywords:["flag_serbia","rs","flag","nation","country","banner","serbia"],sheet:[3,43],shortName:"flag-rs"},{name:"Russia Flag",unified:"1F1F7-1F1FA",keywords:["flag_russia","russian","federation","flag","nation","country","banner","russia"],sheet:[3,44],shortNames:["flag-ru"],shortName:"ru"},{name:"Rwanda Flag",unified:"1F1F7-1F1FC",keywords:["flag_rwanda","rw","flag","nation","country","banner","rwanda"],sheet:[3,45],shortName:"flag-rw"},{name:"Saudi Arabia Flag",unified:"1F1F8-1F1E6",keywords:["flag_saudi_arabia","flag","nation","country","banner","saudi_arabia"],sheet:[3,46],shortName:"flag-sa"},{name:"Solomon Islands Flag",unified:"1F1F8-1F1E7",keywords:["flag_solomon_islands","solomon","islands","flag","nation","country","banner","solomon_islands"],sheet:[3,47],shortName:"flag-sb"},{name:"Seychelles Flag",unified:"1F1F8-1F1E8",keywords:["flag_seychelles","sc","flag","nation","country","banner","seychelles"],sheet:[3,48],short
3Name:"flag-sc"},{name:"Sudan Flag",unified:"1F1F8-1F1E9",keywords:["flag_sudan","sd","flag","nation","country","banner","sudan"],sheet:[3,49],shortName:"flag-sd"},{name:"Sweden Flag",unified:"1F1F8-1F1EA",keywords:["flag_sweden","se","flag","nation","country","banner","sweden"],sheet:[3,50],shortName:"flag-se"},{name:"Singapore Flag",unified:"1F1F8-1F1EC",keywords:["flag_singapore","sg","flag","nation","country","banner","singapore"],sheet:[3,51],shortName:"flag-sg"},{name:"St. Helena Flag",unified:"1F1F8-1F1ED",keywords:["flag_st_helena","saint","helena","ascension","tristan","cunha","flag","nation","country","banner","st_helena"],sheet:[3,52],shortName:"flag-sh"},{name:"Slovenia Flag",unified:"1F1F8-1F1EE",keywords:["flag_slovenia","si","flag","nation","country","banner","slovenia"],sheet:[3,53],shortName:"flag-si"},{name:"Svalbard & Jan Mayen Flag",unified:"1F1F8-1F1EF",keywords:["flag_svalbard_jan_mayen"],sheet:[3,54],shortName:"flag-sj"},{name:"Slovakia Flag",unified:"1F1F8-1F1F0",keywords:["flag_slovakia","sk","flag","nation","country","banner","slovakia"],sheet:[3,55],shortName:"flag-sk"},{name:"Sierra Leone Flag",unified:"1F1F8-1F1F1",keywords:["flag_sierra_leone","sierra","leone","flag","nation","country","banner","sierra_leone"],sheet:[3,56],shortName:"flag-sl"},{name:"San Marino Flag",unified:"1F1F8-1F1F2",keywords:["flag_san_marino","san","marino","flag","nation","country","banner","san_marino"],sheet:[3,57],shortName:"flag-sm"},{name:"Senegal Flag",unified:"1F1F8-1F1F3",keywords:["flag_senegal","sn","flag","nation","country","banner","senegal"],sheet:[3,58],shortName:"flag-sn"},{name:"Somalia Flag",unified:"1F1F8-1F1F4",keywords:["flag_somalia","so","flag","nation","country","banner","somalia"],sheet:[3,59],shortName:"flag-so"},{name:"Suriname Flag",unified:"1F1F8-1F1F7",keywords:["flag_suriname","sr","flag","nation","country","banner","suriname"],sheet:[3,60],shortName:"flag-sr"},{name:"South Sudan Flag",unified:"1F1F8-1F1F8",keywords:["flag_south_sudan","south","sd","flag","nation","country","banner","south_sudan"],sheet:[4,0],shortName:"flag-ss"},{name:"S\xe3o Tom\xe9 & Pr\xedncipe Flag",unified:"1F1F8-1F1F9",keywords:["flag_sao_tome_principe","sao","tome","principe","flag","nation","country","banner","sao_tome_principe"],sheet:[4,1],shortName:"flag-st"},{name:"El Salvador Flag",unified:"1F1F8-1F1FB",keywords:["flag_el_salvador","el","salvador","flag","nation","country","banner","el_salvador"],sheet:[4,2],shortName:"flag-sv"},{name:"Sint Maarten Flag",unified:"1F1F8-1F1FD",keywords:["flag_sint_maarten","sint","maarten","dutch","flag","nation","country","banner","sint_maarten"],sheet:[4,3],shortName:"flag-sx"},{name:"Syria Flag",unified:"1F1F8-1F1FE",keywords:["flag_syria","syrian","arab","republic","flag","nation","country","banner","syria"],sheet:[4,4],shortName:"flag-sy"},{name:"Eswatini Flag",unified:"1F1F8-1F1FF",keywords:["flag_eswatini","sz","flag","nation","country","banner","eswatini"],sheet:[4,5],shortName:"flag-sz"},{name:"Tristan Da Cunha Flag",unified:"1F1F9-1F1E6",keywords:["flag_tristan_da_cunha"],sheet:[4,6],shortName:"flag-ta"},{name:"Turks & Caicos Islands Flag",unified:"1F1F9-1F1E8",keywords:["flag_turks_caicos_islands","turks","caicos","islands","flag","nation","country","banner","turks_caicos_islands"],sheet:[4,7],shortName:"flag-tc"},{name:"Chad Flag",unified:"1F1F9-1F1E9",keywords:["flag_chad","td","flag","nation","country","banner","chad"],sheet:[4,8],shortName:"flag-td"},{name:"French Southern Territories Flag",unified:"1F1F9-1F1EB",keywords:["flag_french_southern_territories","french","southern","territories","flag","nation","country","banner","french_southern_territories"],sheet:[4,9],shortName:"flag-tf"},{name:"Togo Flag",unified:"1F1F9-1F1EC",keywords:["flag_togo","tg","flag","nation","country","banner","togo"],sheet:[4,10],shortName:"flag-tg"},{name:"Thailand Flag",unified:"1F1F9-1F1ED",keywords:["flag_thailand","th","flag","nation","country","banner","thailand"],sheet:[4,11],shortName:"flag-th"},{name:"Tajikistan Flag",unified:"1F1F9-1F1EF",keywords:["flag_tajikistan","tj","flag","nation","country","banner","tajikistan"],sheet:[4,12],short
3Name:"flag-tj"},{name:"Tokelau Flag",unified:"1F1F9-1F1F0",keywords:["flag_tokelau","tk","flag","nation","country","banner","tokelau"],sheet:[4,13],shortName:"flag-tk"},{name:"Timor-Leste Flag",unified:"1F1F9-1F1F1",keywords:["flag_timor_leste","timor","leste","flag","nation","country","banner","timor_leste"],sheet:[4,14],shortName:"flag-tl"},{name:"Turkmenistan Flag",unified:"1F1F9-1F1F2",keywords:["flag_turkmenistan","flag","nation","country","banner","turkmenistan"],sheet:[4,15],shortName:"flag-tm"},{name:"Tunisia Flag",unified:"1F1F9-1F1F3",keywords:["flag_tunisia","tn","flag","nation","country","banner","tunisia"],sheet:[4,16],shortName:"flag-tn"},{name:"Tonga Flag",unified:"1F1F9-1F1F4",keywords:["flag_tonga","to","flag","nation","country","banner","tonga"],sheet:[4,17],shortName:"flag-to"},{name:"Turkey Flag",unified:"1F1F9-1F1F7",keywords:["flag_turkey","turkey","flag","nation","country","banner","turkey"],sheet:[4,18],shortName:"flag-tr"},{name:"Trinidad & Tobago Flag",unified:"1F1F9-1F1F9",keywords:["flag_trinidad_tobago","trinidad","tobago","flag","nation","country","banner","trinidad_tobago"],sheet:[4,19],shortName:"flag-tt"},{name:"Tuvalu Flag",unified:"1F1F9-1F1FB",keywords:["flag_tuvalu","flag","nation","country","banner","tuvalu"],sheet:[4,20],shortName:"flag-tv"},{name:"Taiwan Flag",unified:"1F1F9-1F1FC",keywords:["flag_taiwan","tw","flag","nation","country","banner","taiwan"],sheet:[4,21],shortName:"flag-tw"},{name:"Tanzania Flag",unified:"1F1F9-1F1FF",keywords:["flag_tanzania","tanzania","united","republic","flag","nation","country","banner","tanzania"],sheet:[4,22],shortName:"flag-tz"},{name:"Ukraine Flag",unified:"1F1FA-1F1E6",keywords:["flag_ukraine","ua","flag","nation","country","banner","ukraine"],sheet:[4,23],shortName:"flag-ua"},{name:"Uganda Flag",unified:"1F1FA-1F1EC",keywords:["flag_uganda","ug","flag","nation","country","banner","uganda"],sheet:[4,24],shortName:"flag-ug"},{name:"U.s. Outlying Islands Flag",unified:"1F1FA-1F1F2",keywords:["flag_u_s_outlying_islands"],sheet:[4,25],shortName:"flag-um"},{name:"United Nations Flag",unified:"1F1FA-1F1F3",keywords:["flag_united_nations","un","flag","banner"],sheet:[4,26],shortName:"flag-un"},{name:"United States Flag",unified:"1F1FA-1F1F8",keywords:["flag_united_states","united","states","america","flag","nation","country","banner","united_states"],sheet:[4,27],shortNames:["flag-us"],shortName:"us"},{name:"Uruguay Flag",unified:"1F1FA-1F1FE",keywords:["flag_uruguay","uy","flag","nation","country","banner","uruguay"],sheet:[4,28],shortName:"flag-uy"},{name:"Uzbekistan Flag",unified:"1F1FA-1F1FF",keywords:["flag_uzbekistan","uz","flag","nation","country","banner","uzbekistan"],sheet:[4,29],shortName:"flag-uz"},{name:"Vatican City Flag",unified:"1F1FB-1F1E6",keywords:["flag_vatican_city","vatican","city","flag","nation","country","banner","vatican_city"],sheet:[4,30],shortName:"flag-va"},{name:"St. Vincent & Grenadines Flag",unified:"1F1FB-1F1E8",keywords:["flag_st_vincent_grenadines","saint","vincent","grenadines","flag","nation","country","banner","st_vincent_grenadines"],sheet:[4,31],shortName:"flag-vc"},{name:"Venezuela Flag",unified:"1F1FB-1F1EA",keywords:["flag_venezuela","ve","bolivarian","republic","flag","nation","country","banner","venezuela"],sheet:[4,32],shortName:"flag-ve"},{name:"British Virgin Islands Flag",unified:"1F1FB-1F1EC",keywords:["flag_british_virgin_islands","british","virgin","islands","bvi","flag","nation","country","banner","british_virgin_islands"],sheet:[4,33],shortName:"flag-vg"},{name:"U.s. Virgin Islands Flag",unified:"1F1FB-1F1EE",keywords:["flag_u_s_virgin_islands","virgin","islands","us","flag","nation","country","banner","u_s_virgin_islands"],sheet:[4,34],shortName:"flag-vi"},{name:"Vietnam Flag",unified:"1F1FB-1F1F3",keywords:["flag_vietnam","viet","nam","flag","nation","country","banner","vietnam"],sheet:[4,35],shortName:"flag-vn"},{name:"Vanuatu Flag",unified:"1F1FB-1F1FA",keywords:["flag_vanuatu","vu","flag","nation","country","banner","vanuatu"],sheet:[4,36],shortName:"flag-vu"},{name:"Wallis & Futuna Flag",unified:"1F1FC-1F1EB",keywords:["flag_wallis_futuna","wallis","futuna","flag","nation","country","banner","wallis_futuna"],sheet:[4,37],shortName:"flag-wf"},{name:"Samoa Flag",unified:"1F1FC-1F1F8",keywords:["flag_samoa","ws","flag","nation","country","banner","samoa"],sheet:[4,38],short
3Name:"flag-ws"},{name:"Kosovo Flag",unified:"1F1FD-1F1F0",keywords:["flag_kosovo","xk","flag","nation","country","banner","kosovo"],sheet:[4,39],shortName:"flag-xk"},{name:"Yemen Flag",unified:"1F1FE-1F1EA",keywords:["flag_yemen","ye","flag","nation","country","banner","yemen"],sheet:[4,40],shortName:"flag-ye"},{name:"Mayotte Flag",unified:"1F1FE-1F1F9",keywords:["flag_mayotte","yt","flag","nation","country","banner","mayotte"],sheet:[4,41],shortName:"flag-yt"},{name:"South Africa Flag",unified:"1F1FF-1F1E6",keywords:["flag_south_africa","south","africa","flag","nation","country","banner","south_africa"],sheet:[4,42],shortName:"flag-za"},{name:"Zambia Flag",unified:"1F1FF-1F1F2",keywords:["flag_zambia","zm","flag","nation","country","banner","zambia"],sheet:[4,43],shortName:"flag-zm"},{name:"Zimbabwe Flag",unified:"1F1FF-1F1FC",keywords:["flag_zimbabwe","zw","flag","nation","country","banner","zimbabwe"],sheet:[4,44],shortName:"flag-zw"},{name:"England Flag",unified:"1F3F4-E0067-E0062-E0065-E006E-E0067-E007F",keywords:["flag_england","flag","english"],sheet:[10,32],shortName:"flag-england"},{name:"Scotland Flag",unified:"1F3F4-E0067-E0062-E0073-E0063-E0074-E007F",keywords:["flag_scotland","flag","scottish"],sheet:[10,33],shortName:"flag-scotland"},{name:"Wales Flag",unified:"1F3F4-E0067-E0062-E0077-E006C-E0073-E007F",keywords:["flag_wales","flag","welsh"],sheet:[10,34],shortName:"flag-wales"}],Le=/^(?:\:([^\:]+)\:)(?:\:skin-tone-(\d)\:)?$/,Ie=["1F3FA","1F3FB","1F3FC","1F3FD","1F3FE","1F3FF"],xe=(Dt,xn)=>`https://cdn.jsdelivr.net/npm/emoji-datasource-${Dt}@14.0.0/img/${Dt}/sheets-256/${xn}.png`;let Te=(()=>{class Dt{uncompressed=!1;names={};emojis=[];constructor(){this.uncompressed||(this.uncompress(le),this.uncompressed=!0)}uncompress(Oe){this.emojis=Oe.map(Ye=>{const vt={...Ye};if(vt.shortNames||(vt.shortNames=[]),vt.shortNames.unshift(vt.shortName),vt.id=vt.shortName,vt.native=this.unifiedToNative(vt.unified),vt.skinVariations||(vt.skinVariations=[]),vt.keywords||(vt.keywords=[]),vt.emoticons||(vt.emoticons=[]),vt.hidden||(vt.hidden=[]),vt.text||(vt.text=""),vt.obsoletes){const tn=Oe.find(zn=>zn.unified===vt.obsoletes);tn&&(vt.keywords=tn.keywords?[...vt.keywords,...tn.keywords,tn.shortName]:[...vt.keywords,tn.shortName])}this.names[vt.unified]=vt;for(const tn of vt.shortNames)this.names[tn]=vt;return vt})}getData(Oe,Ye,vt){let tn;if("string"==typeof Oe){const Qn=Oe.match(Le);if(Qn&&(Oe=Qn[1],Qn[2]&&(Ye=parseInt(Qn[2],10))),!this.names.hasOwnProperty(Oe))return null;tn=this.names[Oe]}else Oe.id?tn=this.names[Oe.id]:Oe.unified&&(tn=this.names[Oe.unified.toUpperCase()]);if(tn||(tn=Oe,tn.custom=!0),tn.skinVariations&&tn.skinVariations.length&&Ye&&Ye>1&&vt){tn={...tn};const Qn=Ie[Ye-1],si=tn.skinVariations.find(gr=>gr.unified.includes(Qn));(!si.hidden||!si.hidden.includes(vt))&&(tn.skinTone=Ye,tn={...tn,...si}),tn.native=this.unifiedToNative(tn.unified)}return tn.set=vt||"",tn}unifiedToNative(Oe){const Ye=Oe.split("-").map(vt=>parseInt(`0x${vt}`,16));return String.fromCodePoint(...Ye)}emojiSpriteStyles(Oe,Ye="apple",vt=24,tn=64,zn=60,Qn=xe,si=61,gr){const xt=!!gr;return{width:`${vt}px`,height:`${vt}px`,display:"inline-block","background-image":`url(${gr=gr||Qn(Ye,tn)})`,"background-size":xt?"100% 100%":`${100*si}% ${100*zn}%`,"background-position":xt?void 0:this.getSpritePosition(Oe,si)}}getSpritePosition(Oe,Ye){const[vt,tn]=Oe,zn=100/(Ye-1);return`${zn*vt}% ${zn*tn}%`}sanitize(Oe){if(null===Oe)return null;let vt=`:${Oe.id||Oe.shortNames[0]}:`;return Oe.skinTone&&(vt+=`:skin-tone-${Oe.skinTone}:`),Oe.colons=vt,{...Oe}}getSanitizedData(Oe,Ye,vt){return this.sanitize(this.getData(Oe,Ye,vt))}static \u0275fac=function(Ye){return new(Ye||Dt)};static \u0275prov=h.jDH({token:Dt,factory:Dt.\u0275fac,providedIn:"root"})}return Dt})(),Ne=(()=>{class Dt{skin=1;set="apple";sheetSize=64;isNative=!1;forceSize=!1;tooltip=!1;size=24;emoji="";fallback;hideObsolete=!1;sheetRows;sheetColumns;useButton;emojiOver=new h.bkB;emojiOverOutsideAngular=new h.bkB;emojiLeave=new h.bkB;emojiLeaveOutsideAngular=new h.bkB;emojiClick=new h.bkB;emojiClickOutsideAngular=new h.bkB;style;title=void 0;label="";unified;custom=!1;isVisible=!0;backgroundImageFn=xe;imageUrlFn;set button(Oe){this.ngZone.runOutsideAngular(()=>this.button$.next(Oe?.nativeElement))}button$=new H.B;destroy$=new H.B;ngZone=(0,h.WQX)(h.SKi);emojiService=(0,h.WQX)(Te);constructor(){this.setupMouseListeners()}ngOnChanges(){if(!this.emoji)return this.isVisible=!1;const Oe=this.getData();if(!Oe)return this.isVisible=!1;if(this.unified=Oe.native||null,Oe.custom&&(this.custom=Oe.custom),
3!Oe.unified&&!Oe.custom)return this.isVisible=!1;if(this.tooltip&&(this.title=Oe.shortNames[0]),Oe.obsoletedBy&&this.hideObsolete)return this.isVisible=!1;if(this.label=[Oe.native].concat(Oe.shortNames).filter(Boolean).join(", "),this.isNative&&Oe.unified&&Oe.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(Oe.custom)this.style={width:`${this.size}px`,height:`${this.size}px`,display:"inline-block"},this.style=Oe.spriteUrl&&this.sheetRows&&this.sheetColumns?{...this.style,backgroundImage:`url(${Oe.spriteUrl})`,backgroundSize:`${100*this.sheetColumns}% ${100*this.sheetRows}%`,backgroundPosition:this.emojiService.getSpritePosition(Oe.sheet,this.sheetColumns)}:{...this.style,backgroundImage:`url(${Oe.imageUrl})`,backgroundSize:"contain"};else if(Oe.hidden.length&&Oe.hidden.includes(this.set)){if(!this.fallback)return this.isVisible=!1;this.style={fontSize:`${this.size}px`},this.unified=this.fallback(Oe,this)}else this.style=this.emojiService.emojiSpriteStyles(Oe.sheet,this.set,this.size,this.sheetSize,this.sheetRows,this.backgroundImageFn,this.sheetColumns,this.imageUrlFn?.(this.getData()));return this.isVisible=!0}ngOnDestroy(){this.destroy$.next()}getData(){return this.emojiService.getData(this.emoji,this.skin,this.set)}getSanitizedData(){return this.emojiService.getSanitizedData(this.emoji,this.skin,this.set)}setupMouseListeners(){const Oe=Ye=>this.button$.pipe((0,z.n)(vt=>vt?(0,P.R)(vt,Ye):C.w),(0,B.Q)(this.destroy$));Oe("click").subscribe(Ye=>{const vt=this.getSanitizedData();this.emojiClickOutsideAngular.emit({emoji:vt,$event:Ye}),this.emojiClick.observed&&this.ngZone.run(()=>this.emojiClick.emit({emoji:vt,$event:Ye}))}),Oe("mouseenter").subscribe(Ye=>{const vt=this.getSanitizedData();this.emojiOverOutsideAngular.emit({emoji:vt,$event:Ye}),this.emojiOver.observed&&this.ngZone.run(()=>this.emojiOver.emit({emoji:vt,$event:Ye}))}),Oe("mouseleave").subscribe(Ye=>{const vt=this.getSanitizedData();this.emojiLeaveOutsideAngular.emit({emoji:vt,$event:Ye}),this.emojiLeave.observed&&this.ngZone.run(()=>this.emojiLeave.emit({emoji:vt,$event:Ye}))})}static \u0275fac=function(Ye){return new(Ye||Dt)};static \u0275cmp=h.VBU({type:Dt,selectors:[["ngx-emoji"]],viewQuery:function(Ye,vt){if(1&Ye&&h.GBs(_,5),2&Ye){let tn;h.mGM(tn=h.lsd())&&(vt.button=tn.first)}},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",emojiOverOutsideAngular:"emojiOverOutsideAngular",emojiLeave:"emojiLeave",emojiLeaveOutsideAngular:"emojiLeaveOutsideAngular",emojiClick:"emojiClick",emojiClickOutsideAngular:"emojiClickOutsideAngular"},standalone:!0,features:[h.OA$,h.aNF],ngContentSelectors:q,decls:3,vars:1,consts:[["spanTpl",""],["button",""],[3,"ngIf"],["type","button","class","emoji-mart-emoji",3,"emoji-mart-emoji-native","emoji-mart-emoji-custom",4,"ngIf","ngIfElse"],["type","button",1,"emoji-mart-emoji"],[3,"ngStyle"],[1,"emoji-mart-emoji"]],template:function(Ye,vt){1&Ye&&(h.NAR(q),h.DNE(0,R,1,2,"ng-template",2)(1,se,5,8,"ng-template",null,0,h.C5r)),2&Ye&&h.Y8G("ngIf",vt.isVisible)},dependencies:[a.MD,a.bT,a.B3],encapsulation:2,changeDetection:0})}return Dt})();var Me=g(56106);function ct(Dt,xn){if(1&Dt){const Oe=h.RV6();h.j41(0,"span",3),h.bIt("click",function(vt){h.eBV(Oe);const tn=h.XpG().index,zn=h.XpG();return h.Njj(zn.handleClick(vt,tn))}),h.j41(1,"div"),h.qSk(),h.j41(2,"svg",4),h.nrm(3,"path"),h.k0s()(),h.joV(),h.nrm(4,"span",5),h.k0s()}if(2&Dt){const Oe=h.XpG().$implicit,Ye=h.XpG();h.xc7("color",Oe.name===Ye.selected?Ye.color:null),h.AVh("emoji-mart-anchor-selected",Oe.name===Ye.selected),h.BMQ("title",Ye.i18n.categories[Oe.id]),h.R7$(3),h.BMQ("d",Ye.icons[Oe.id]),h.R7$(),h.xc7("background-color",Ye.color)}}function yt(Dt,xn){1&Dt&&h.DNE(0,ct,5,8,"span",2),2&Dt&&h.Y8G("ngIf",!1!==xn.$implicit.anchor)}const Se=["container"],ke=["label"];function Ze(Dt,xn){if(1&Dt){const Oe=h.RV6();h.j41(0,"ngx-emoji",9),h.bIt("emojiOverOutsideAngular",function(vt){h.eBV(Oe);const tn=h.XpG(3);return h.Njj(tn.emojiOverOutsideAngular.emit(vt))})("emojiLeaveOutsideAngular",function(vt){h.eBV(Oe);const tn=h.XpG(3);return h.Njj(tn.emojiLeaveOutsideAngular.emit(vt))})("emojiClickOutsideAngular",function(vt){h.eBV(Oe);const tn=h.XpG(3);return h.Njj(tn.emojiClickOutsideAngular.emit(vt))}),h.k0s()}if(2&Dt){const Oe=xn.$implicit,Ye=h.XpG(3);h.Y8G("emoji",Oe)("size",Ye.emojiSize)("skin",Ye.emojiSkin)("isNative",Ye.emojiIsNative)("set",Ye.emojiSet)("sheetSize",Ye.emojiSheetSize)("forceSize",Ye.emojiF
3orceSize)("tooltip",Ye.emojiTooltip)("backgroundImageFn",Ye.emojiBackgroundImageFn)("imageUrlFn",Ye.emojiImageUrlFn)("hideObsolete",Ye.hideObsolete)("useButton",Ye.emojiUseButton)}}function Ve(Dt,xn){if(1&Dt&&(h.j41(0,"div"),h.DNE(1,Ze,1,12,"ngx-emoji",8),h.k0s()),2&Dt){const Oe=xn.ngIf,Ye=h.XpG(2);h.R7$(),h.Y8G("ngForOf",Oe)("ngForTrackBy",Ye.trackById)}}function Be(Dt,xn){if(1&Dt&&(h.j41(0,"div"),h.DNE(1,Ve,2,2,"div",7),h.nI1(2,"async"),h.k0s()),2&Dt){const Oe=h.XpG();h.R7$(),h.Y8G("ngIf",h.bMT(2,1,Oe.filteredEmojis$))}}function ge(Dt,xn){if(1&Dt&&(h.j41(0,"div")(1,"div"),h.nrm(2,"ngx-emoji",10),h.k0s(),h.j41(3,"div",11),h.EFF(4),h.k0s()()),2&Dt){const Oe=h.XpG();h.R7$(2),h.Y8G("emoji",Oe.notFoundEmoji)("size",38)("skin",Oe.emojiSkin)("isNative",Oe.emojiIsNative)("set",Oe.emojiSet)("sheetSize",Oe.emojiSheetSize)("forceSize",Oe.emojiForceSize)("tooltip",Oe.emojiTooltip)("backgroundImageFn",Oe.emojiBackgroundImageFn)("useButton",Oe.emojiUseButton),h.R7$(2),h.SpI(" ",Oe.i18n.notfound," ")}}function Pe(Dt,xn){if(1&Dt){const Oe=h.RV6();h.j41(0,"ngx-emoji",9),h.bIt("emojiOverOutsideAngular",function(vt){h.eBV(Oe);const tn=h.XpG(2);return h.Njj(tn.emojiOverOutsideAngular.emit(vt))})("emojiLeaveOutsideAngular",function(vt){h.eBV(Oe);const tn=h.XpG(2);return h.Njj(tn.emojiLeaveOutsideAngular.emit(vt))})("emojiClickOutsideAngular",function(vt){h.eBV(Oe);const tn=h.XpG(2);return h.Njj(tn.emojiClickOutsideAngular.emit(vt))}),h.k0s()}if(2&Dt){const Oe=xn.$implicit,Ye=h.XpG(2);h.Y8G("emoji",Oe)("size",Ye.emojiSize)("skin",Ye.emojiSkin)("isNative",Ye.emojiIsNative)("set",Ye.emojiSet)("sheetSize",Ye.emojiSheetSize)("forceSize",Ye.emojiForceSize)("tooltip",Ye.emojiTooltip)("backgroundImageFn",Ye.emojiBackgroundImageFn)("imageUrlFn",Ye.emojiImageUrlFn)("hideObsolete",Ye.hideObsolete)("useButton",Ye.emojiUseButton)}}function He(Dt,xn){if(1&Dt&&h.DNE(0,Pe,1,12,"ngx-emoji",8),2&Dt){const Oe=h.XpG();h.Y8G("ngForOf",Oe.emojisToDisplay)("ngForTrackBy",Oe.trackById)}}function bt(Dt,xn){if(1&Dt){const Oe=h.RV6();h.j41(0,"span",2)(1,"span",3),h.bIt("click",function(){const vt=h.eBV(Oe).$implicit,tn=h.XpG();return h.Njj(tn.handleClick(vt))})("keyup.enter",function(){const vt=h.eBV(Oe).$implicit,tn=h.XpG();return h.Njj(tn.handleClick(vt))})("keyup.space",function(){const vt=h.eBV(Oe).$implicit,tn=h.XpG();return h.Njj(tn.handleClick(vt))}),h.k0s()()}if(2&Dt){const Oe=xn.$implicit,Ye=h.XpG();h.AVh("selected",Oe===Ye.skin),h.R7$(),h.ZvI("emoji-mart-skin emoji-mart-skin-tone-",Oe,""),h.Y8G("tabIndex",Ye.tabIndex(Oe)),h.BMQ("aria-hidden",!Ye.isVisible(Oe))("aria-pressed",Ye.pressed(Oe))("aria-haspopup",!!Ye.isSelected(Oe))("aria-expanded",Ye.expanded(Oe))("aria-label",Ye.i18n.skintones[Oe])("title",Ye.i18n.skintones[Oe])}}function Yt(Dt,xn){if(1&Dt&&(h.j41(0,"span",11),h.EFF(1),h.k0s()),2&Dt){const Oe=xn.$implicit;h.R7$(),h.SpI(" :",Oe,": ")}}function sn(Dt,xn){if(1&Dt&&(h.j41(0,"span",15),h.EFF(1),h.k0s()),2&Dt){const Oe=xn.$implicit;h.R7$(),h.SpI(" ",Oe," ")}}function ft(Dt,xn){if(1&Dt&&(h.j41(0,"div",8)(1,"div",2),h.nrm(2,"ngx-emoji",9),h.k0s(),h.j41(3,"div",4)(4,"div",10),h.EFF(5),h.k0s(),h.j41(6,"div",11),h.DNE(7,Yt,2,1,"span",12),h.k0s(),h.j41(8,"div",13),h.DNE(9,sn,2,1,"span",14),h.k0s()()()),2&Dt){const Oe=h.XpG();h.R7$(2),h.Y8G("emoji",Oe.emoji)("size",38)("isNative",Oe.emojiIsNative)("skin",Oe.emojiSkin)("size",Oe.emojiSize)("set",Oe.emojiSet)("sheetSize",Oe.emojiSheetSize)("backgroundImageFn",Oe.emojiBackgroundImageFn)("imageUrlFn",Oe.emojiImageUrlFn),h.R7$(3),h.JRh(Oe.emojiData.name),h.R7$(2),h.Y8G("ngForOf",Oe.emojiData.shortNames),h.R7$(2),h.Y8G("ngForOf",Oe.listedEmoticons)}}function Tt(Dt,xn){if(1&Dt&&h.nrm(0,"ngx-emoji",16),2&Dt){const Oe=h.XpG();h.Y8G("isNative",Oe.emojiIsNative)("skin",Oe.emojiSkin)("set",Oe.emojiSet)("emoji",Oe.idleEmoji)("backgroundImageFn",Oe.emojiBackgroundImageFn)("size",38)("imageUrlFn",Oe.emojiImageUrlFn)}}const $e=["inputRef"],rt=["scrollRef"];function tt(Dt,xn){if(1&Dt){const Oe=h.RV6();h.j41(0,"emoji-search",8),h.bIt("searchResults",function(vt){h.eBV(Oe);const tn=h.XpG();return h.Njj(tn.handleSearch(vt))})("enterKeyOutsideAngular",function(vt){h.eBV(Oe);const tn=h.XpG();return h.Njj(tn.handleEnterKey(vt))}),h.k0s()}if(2&Dt){const Oe=h.XpG();h.Y8G("i18n",Oe.i18n)("include",Oe.include)("exclude",Oe.exclude)("custom",Oe.custom)("autoFocus",Oe.autoFocus)("icons",Oe.searchIcons)("emojisToShowFilter",Oe.emojisToShowFilter)}}function nt(Dt,xn){if(1&Dt){const Oe=h.RV6();h.j41(0,"emoji-category",9),h.bIt("emojiOverOutsideAngular",function(vt){h.eBV(Oe);const tn=h.XpG();return h.Njj(tn.handleEmojiOver(vt))})("emojiLeaveOutsideAngular",function(){h.eBV(Oe);const vt=h.XpG();return h.Njj(vt.handleEmojiLeave())})("emojiClickOutsideAngular",function(vt){h.eBV(Oe);const tn=h.XpG();return h.Njj(tn.handleEmojiClick(vt))}),h.k0s()}if(2&Dt){const Oe=xn.$implicit,Ye=h.XpG();h.Y8G("id",Oe.id)("name",Oe.name)("emojis",Oe.emojis)("perLine",Ye.perLine)("totalFrequentLines",Ye.totalFrequentLines)("hasStickyPosition",Ye.isNative)("i18n",Ye.i18n)("hideObsolete",Ye.hideObsolete)("notFoundEmoji",Ye.notFoundEmoji)("custom",Oe.id===Ye.RECENT_CATEGORY.id?Ye.CUSTOM_CATEGORY.emojis:void 0)("recent",Oe.id===Ye.RECENT_CATEGORY.id?Ye.recent:void 0)("virtualize",Ye.virtualize)("virtualizeOffset",Ye.virtualizeOffset)("emojiIsNative",Ye.isNative)("emojiSkin",Ye.skin)("emojiSize",Ye.emojiSize)("emojiSet",Ye.set)("emojiSheetSize",Ye.sheetSize)("emojiForceSize",Ye.isNative)("emojiTooltip",Ye.emojiTooltip)("emojiBackgroun
3dImageFn",Ye.backgroundImageFn)("emojiImageUrlFn",Ye.imageUrlFn)("emojiUseButton",Ye.useButton)}}function _t(Dt,xn){if(1&Dt){const Oe=h.RV6();h.j41(0,"div",2)(1,"emoji-preview",10),h.bIt("skinChange",function(vt){h.eBV(Oe);const tn=h.XpG();return h.Njj(tn.handleSkinChange(vt))}),h.k0s()()}if(2&Dt){const Oe=h.XpG();h.R7$(),h.Y8G("emoji",Oe.previewEmoji)("idleEmoji",Oe.emoji)("emojiIsNative",Oe.isNative)("emojiSize",38)("emojiSkin",Oe.skin)("emojiSet",Oe.set)("i18n",Oe.i18n)("emojiSheetSize",Oe.sheetSize)("emojiBackgroundImageFn",Oe.backgroundImageFn)("emojiImageUrlFn",Oe.imageUrlFn),h.BMQ("title",Oe.title)}}let on=(()=>{class Dt{categories=[];color;selected;i18n;icons={};anchorClick=new h.bkB;trackByFn(Oe,Ye){return Ye.id}handleClick(Oe,Ye){this.anchorClick.emit({category:this.categories[Ye],index:Ye})}static \u0275fac=function(Ye){return new(Ye||Dt)};static \u0275cmp=h.VBU({type:Dt,selectors:[["emoji-mart-anchors"]],inputs:{categories:"categories",color:"color",selected:"selected",i18n:"i18n",icons:"icons"},outputs:{anchorClick:"anchorClick"},standalone:!0,features:[h.aNF],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(Ye,vt){1&Ye&&(h.j41(0,"div",0),h.DNE(1,yt,1,1,"ng-template",1),h.k0s()),2&Ye&&(h.R7$(),h.Y8G("ngForOf",vt.categories)("ngForTrackBy",vt.trackByFn))},dependencies:[a.MD,a.Sq,a.bT],encapsulation:2,changeDetection:0})}return Dt})(),Hn=(()=>{class Dt{platformId;NAMESPACE="emoji-mart";frequently=null;defaults={};initialized=!1;DEFAULTS=["+1","grinning","kissing_heart","heart_eyes","laughing","stuck_out_tongue_winking_eye","sweat_smile","joy","scream","disappointed","unamused","weary","sob","sunglasses","heart","poop"];constructor(Oe){this.platformId=Oe}init(){this.frequently=JSON.parse((0,a.UE)(this.platformId)&&localStorage.getItem(`${this.NAMESPACE}.frequently`)||"null"),this.initialized=!0}add(Oe){this.initialized||this.init(),this.frequently||(this.frequently=this.defaults),this.frequently[Oe.id]||(this.frequently[Oe.id]=0),this.frequently[Oe.id]+=1,(0,a.UE)(this.platformId)&&(localStorage.setItem(`${this.NAMESPACE}.last`,Oe.id),localStorage.setItem(`${this.NAMESPACE}.frequently`,JSON.stringify(this.frequently)))}get(Oe,Ye){if(this.initialized||this.init(),null===this.frequently){this.defaults={};const gr=[];for(let xt=0;xt<Oe;xt++)this.defaults[this.DEFAULTS[xt]]=Oe-xt,gr.push(this.DEFAULTS[xt]);return gr}const vt=Oe*Ye,Qn=Object.keys(this.frequently).sort((gr,xt)=>this.frequently[gr]-this.frequently[xt]).reverse().slice(0,vt),si=(0,a.UE)(this.platformId)&&localStorage.getItem(`${this.NAMESPACE}.last`);return si&&!Qn.includes(si)&&(Qn.pop(),Qn.push(si)),Qn}static \u0275fac=function(Ye){return new(Ye||Dt)(h.KVO(h.Agw))};static \u0275prov=h.jDH({token:Dt,factory:Dt.\u0275fac,providedIn:"root"})}return Dt})(),_n=(()=>{class Dt{ref;emojiService;frequently;emojis=null;hasStickyPosition=!0;name="";perLine=9;totalFrequentLines=4;recent=[];custom=[];i18n;id;hideObsolete=!0;notFoundEmoji;virtualize=!1;virtualizeOffset=0;emojiIsNative;emojiSkin;emojiSize;emojiSet;emojiSheetSize;emojiForceSize;emojiTooltip;emojiBackgroundImageFn;emojiImageUrlFn;emojiUseButton;emojiOverOutsideAngular=new h.bkB;emojiLeaveOutsideAngular=new h.bkB;emojiClickOutsideAngular=new h.bkB;container;label;containerStyles={};emojisToDisplay=[];filteredEmojisSubject=new H.B;filteredEmojis$=this.filteredEmojisSubject.asObservable();labelStyles={};labelSpanStyles={};margin=0;minMargin=0;maxMargin=0;top=0;rows=0;constructor(Oe,Ye,vt){this.ref=Oe,this.emojiService=Ye,this.frequently=vt}ngOnInit(){this.updateRecentEmojis(),this.emojisToDisplay=this.filterEmojis(),this.noEmojiToDisplay&&(this.containerStyles={display:"none"}),this.hasStickyPosition||(this.labelStyles={height:28})}ngOnChanges(Oe){Oe.emojis?.currentValue?.length!==Oe.emojis?.previousValue?.length&&(this.emojisToDisplay=this.filterEmojis(),this.ngAfterViewInit())}ngAfterViewInit(){if(!this.virtualize)return;const{width:Oe}=this.container.nativeElement.getBoundingClientRect(),Ye=Math.floor(Oe/(this.emojiSize+12));this.rows=Math.ceil(this.emojisToDisplay.length/Ye),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 Oe=this.container.nativeElement.parentNode.parentNode,{top:Ye,height:vt}=this.container.nativeElement.getBoundingClientRect(),tn=Oe.getBoundingClientRect().top,zn=this.label.nativeElement.getBoundingClientRect().height;this.top=Ye-tn+Oe.scrollTop,this.maxMargin=0===vt?0:vt-zn}handleScroll(Oe){let Ye=Oe-this.top;if(Ye=Ye<this.minMargin?this.minMargin:Ye,Ye=Ye>this.maxMargin?this.maxMargin:Ye,this.virtualize){const{top:vt,height:tn}=this.container.nativeElement.getBoundingClientRect(),zn=this.container.nativeElement.parentNode.parentNode.clientHeight;this.filteredEmojisSubject.next(zn+(zn+this.virtualizeOffset)>=vt&&-tn-(zn+this.virtualizeOffset)<=vt?this.emojisToDisplay:[])}return Ye===this.margin?(this.ref.detectChanges(),!1):(this.hasStickyPosition||(this.label.nativeElement.style.top=`${Ye}px`),this.margin=Ye,this.ref.detectChanges(),!0)}updateRecentEmojis(){if("Recent"!==this.name)return;let Oe=this.recent||this.frequently.get(this.perLine,this.totalFrequentLines);(!Oe||!Oe.length)&&(Oe=this.frequently.get(this.perLine,this.totalFrequentLines)),Oe.length&&(this.emojis=Oe.map(Ye=>this.custom.filter(tn=>tn.id===Ye)[0]||Ye).filter(Ye=>!!this.emojiService.getData(Ye)))}updateDisplay(Oe){this.containerStyles.display=Oe,this.updateRecentEmojis(),this.ref.detectChanges()}trackById(Oe,Ye){return Ye}filterEmojis(){const Oe=[];for(const Ye of this.emojis||[]){if(!Ye)continue;const vt=this.emojiService.getData(Ye);!vt||vt.obsoletedBy&&this.hideObsolete||!vt.unified&&!vt.custom||Oe.push(Ye)}return Oe}static \u0275fac=function(Ye){return new(Ye||Dt)(h.rXU(h.gRc),h.rXU(Te),h.rXU(Hn))};static \u0275cmp=h.VBU({type:Dt,selectors:[["emoji-category"]],viewQuery:function(Ye,vt){if(1&Ye&&(h.GBs(Se,7),h.GBs(ke,7)),2&Ye){let tn;h.mGM(tn=h.lsd())&&(vt.container=tn.first),h.mGM(tn=h.lsd())&&(vt.label=tn.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",emojiBackgroun
3dImageFn:"emojiBackgroundImageFn",emojiImageUrlFn:"emojiImageUrlFn",emojiUseButton:"emojiUseButton"},outputs:{emojiOverOutsideAngular:"emojiOverOutsideAngular",emojiLeaveOutsideAngular:"emojiLeaveOutsideAngular",emojiClickOutsideAngular:"emojiClickOutsideAngular"},standalone:!0,features:[h.OA$,h.aNF],decls:10,vars:11,consts:[["container",""],["label",""],["normalRenderTemplate",""],[1,"emoji-mart-category",3,"ngStyle"],[1,"emoji-mart-category-label",3,"ngStyle"],["aria-hidden","true",3,"ngStyle"],[4,"ngIf","ngIfElse"],[4,"ngIf"],[3,"emoji","size","skin","isNative","set","sheetSize","forceSize","tooltip","backgroundImageFn","imageUrlFn","hideObsolete","useButton","emojiOverOutsideAngular","emojiLeaveOutsideAngular","emojiClickOutsideAngular",4,"ngFor","ngForOf","ngForTrackBy"],[3,"emojiOverOutsideAngular","emojiLeaveOutsideAngular","emojiClickOutsideAngular","emoji","size","skin","isNative","set","sheetSize","forceSize","tooltip","backgroundImageFn","imageUrlFn","hideObsolete","useButton"],[3,"emoji","size","skin","isNative","set","sheetSize","forceSize","tooltip","backgroundImageFn","useButton"],[1,"emoji-mart-no-results-label"]],template:function(Ye,vt){if(1&Ye&&(h.j41(0,"section",3,0)(2,"div",4)(3,"span",5,1),h.EFF(5),h.k0s()(),h.DNE(6,Be,3,3,"div",6)(7,ge,5,11,"div",7),h.k0s(),h.DNE(8,He,1,2,"ng-template",null,2,h.C5r)),2&Ye){const tn=h.sdS(9);h.AVh("emoji-mart-no-results",vt.noEmojiToDisplay),h.Y8G("ngStyle",vt.containerStyles),h.BMQ("aria-label",vt.i18n.categories[vt.id]),h.R7$(2),h.Y8G("ngStyle",vt.labelStyles),h.BMQ("data-name",vt.name),h.R7$(),h.Y8G("ngStyle",vt.labelSpanStyles),h.R7$(2),h.SpI(" ",vt.i18n.categories[vt.id]," "),h.R7$(),h.Y8G("ngIf",vt.virtualize)("ngIfElse",tn),h.R7$(),h.Y8G("ngIf",vt.noEmojiToDisplay)}},dependencies:[a.MD,a.Sq,a.bT,a.B3,a.Jj,Ne],encapsulation:2,changeDetection:0})}return Dt})();function hn(Dt){return Dt.reduce((xn,Oe)=>(xn.includes(Oe)||xn.push(Oe),xn),[])}function en(Dt,xn){const Oe=hn(Dt),Ye=hn(xn);return Oe.filter(vt=>Ye.indexOf(vt)>=0)}let Gt=(()=>{class Dt{emojiService;originalPool={};index={};emojisList={};emoticonsList={};emojiSearch={};constructor(Oe){this.emojiService=Oe;for(const Ye of this.emojiService.emojis){const{shortNames:vt,emoticons:tn}=Ye,zn=vt[0];for(const Qn of tn)this.emoticonsList[Qn]||(this.emoticonsList[Qn]=zn);this.emojisList[zn]=this.emojiService.getSanitizedData(zn),this.originalPool[zn]=Ye}}addCustomToPool(Oe,Ye){for(const vt of Oe){const tn=vt.id||vt.shortNames[0];tn&&!Ye[tn]&&(Ye[tn]=this.emojiService.getData(vt),this.emojisList[tn]=this.emojiService.getSanitizedData(vt))}}search(Oe,Ye,vt=75,tn=[],zn=[],Qn=[]){this.addCustomToPool(Qn,this.originalPool);let si,gr=this.originalPool;if(Oe.length){if("-"===Oe||"-1"===Oe)return[this.emojisList[-1]];if("+"===Oe||"+1"===Oe)return[this.emojisList["+1"]];let xt=Oe.toLowerCase().split(/[\s|,|\-|_]+/),Sn=[];if(xt.length>2&&(xt=[xt[0],xt[1]]),tn.length||zn.length){gr={};for(const qt of _e||[]){const Cn=!tn||!tn.length||tn.indexOf(qt.id)>-1,ai=!(!zn||!zn.length)&&zn.indexOf(qt.id)>-1;if(Cn&&!ai)for(const gi of qt.emojis||[]){const Pt=this.emojiService.getData(gi);gr[Pt?.id??""]=Pt}}if(Qn.length){const qt=!tn||!tn.length||tn.indexOf("custom")>-1,Cn=!(!zn||!zn.length)&&zn.indexOf("custom")>-1;qt&&!Cn&&this.addCustomToPool(Qn,gr)}}Sn=xt.map(qt=>{let Cn=gr,ai=this.index,gi=0;for(let Pt=0;Pt<qt.length;Pt++){const Et=qt[Pt];if(gi++,ai[Et]||(ai[Et]={}),ai=ai[Et],!ai.results){const ot={};ai.results=[],ai.pool={};for(const pt of Object.keys(Cn)){const rn=Cn[pt];this.emojiSearch[pt]||(this.emojiSearch[pt]=this.buildSearch(rn.short_names,rn.name,rn.id,rn.keywords,rn.emoticons));const Vn=this.emojiSearch[pt],oi=qt.substr(0,gi),hi=Vn.indexOf(oi);if(-1!==hi){let Oi=hi+1;oi===pt&&(Oi=0),ai.results.push(this.emojisList[pt]),ai.pool[pt]=rn,ot[pt]=Oi}}ai.results.sort((pt,rn)=>ot[pt.id]-ot[rn.id])}Cn=ai.pool}return ai.results}).filter(qt=>qt),si=Sn.length>1?en.apply(null,Sn):Sn.length?Sn[0]:[]}return si&&(Ye&&(si=si.filter(xt=>!(!xt||!xt.id)&&Ye(this.emojiService.names[xt.id]))),si&&si.length>vt&&(si=si.slice(0,vt))),si||null}buildSearch(Oe,Ye,vt,tn,zn){const Qn=[],si=(gr,xt)=>{if(!gr)return;const Sn=Array.isArray(gr)?gr:[gr];for(const qt of Sn){const Cn=xt?qt.split(/[-|_|\s]+/):[qt];for(let ai of Cn)ai=ai.toLowerCase(),Qn.includes(ai)||Qn.push(ai)}};return si(Oe,!0),si(Ye,!0),si(vt,!0),si(tn,!0),si(zn,!1),Qn.join(",")}static \u0275fac=function(Ye){return new(Ye||Dt)(h.KVO(Te))};static \u0275prov=h.jDH({token:Dt,factory:Dt.\u0275fac,providedIn:"root"})}return Dt})(),Wt=(()=>{class Dt{skin;i18n;changeSkin=new h.bkB;opened=!1;
3skinTones=[1,2,3,4,5,6];toggleOpen(){this.opened=!this.opened}isSelected(Oe){return Oe===this.skin}isVisible(Oe){return this.opened||this.isSelected(Oe)}pressed(Oe){return this.opened?!!this.isSelected(Oe):""}tabIndex(Oe){return this.isVisible(Oe)?"0":""}expanded(Oe){return this.isSelected(Oe)?this.opened:""}handleClick(Oe){this.opened?(this.opened=!1,Oe!==this.skin&&this.changeSkin.emit(Oe)):this.opened=!0}static \u0275fac=function(Ye){return new(Ye||Dt)};static \u0275cmp=h.VBU({type:Dt,selectors:[["emoji-skins"]],inputs:{skin:"skin",i18n:"i18n"},outputs:{changeSkin:"changeSkin"},standalone:!0,features:[h.aNF],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,"click","keyup.enter","keyup.space","tabIndex"]],template:function(Ye,vt){1&Ye&&(h.j41(0,"section",0),h.DNE(1,bt,2,12,"span",1),h.k0s()),2&Ye&&(h.AVh("opened",vt.opened),h.R7$(),h.Y8G("ngForOf",vt.skinTones))},dependencies:[a.MD,a.Sq],encapsulation:2,changeDetection:0})}return Dt})(),Wn=(()=>{class Dt{ref;emojiService;title;emoji;idleEmoji;i18n;emojiIsNative;emojiSkin;emojiSize;emojiSet;emojiSheetSize;emojiBackgroundImageFn;emojiImageUrlFn;skinChange=new h.bkB;emojiData={};listedEmoticons;constructor(Oe,Ye){this.ref=Oe,this.emojiService=Ye}ngOnChanges(){if(!this.emoji)return;this.emojiData=this.emojiService.getData(this.emoji,this.emojiSkin,this.emojiSet);const Oe=[],Ye=[];(this.emojiData.emoticons||[]).forEach(tn=>{Oe.indexOf(tn.toLowerCase())>=0||(Oe.push(tn.toLowerCase()),Ye.push(tn))}),this.listedEmoticons=Ye,this.ref?.detectChanges()}static \u0275fac=function(Ye){return new(Ye||Dt)(h.rXU(h.gRc),h.rXU(Te))};static \u0275cmp=h.VBU({type:Dt,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"},standalone:!0,features:[h.OA$,h.aNF],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,"changeSkin","skin","i18n"],[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(Ye,vt){1&Ye&&(h.DNE(0,ft,10,12,"div",0),h.j41(1,"div",1)(2,"div",2),h.DNE(3,Tt,1,7,"ngx-emoji",3),h.k0s(),h.j41(4,"div",4)(5,"span",5),h.EFF(6),h.k0s()(),h.j41(7,"div",6)(8,"emoji-skins",7),h.bIt("changeSkin",function(zn){return vt.skinChange.emit(zn)}),h.k0s()()()),2&Ye&&(h.Y8G("ngIf",vt.emoji&&vt.emojiData),h.R7$(),h.Y8G("hidden",vt.emoji),h.R7$(2),h.Y8G("ngIf",vt.idleEmoji&&vt.idleEmoji.length),h.R7$(3),h.JRh(vt.title),h.R7$(2),h.Y8G("skin",vt.emojiSkin)("i18n",vt.i18n))},dependencies:[a.MD,a.Sq,a.bT,Ne,Wt],encapsulation:2,changeDetection:0})}return Dt})(),qn=0,Fn=(()=>{class Dt{ngZone;emojiSearch;maxResults=75;autoFocus=!1;i18n;include=[];exclude=[];custom=[];icons;emojisToShowFilter;searchResults=new h.bkB;enterKeyOutsideAngular=new h.bkB;inputRef;isSearching=!1;icon;query="";inputId="emoji-mart-search-"+ ++qn;destroy$=new H.B;constructor(Oe,Ye){this.ngZone=Oe,this.emojiSearch=Ye}ngOnInit(){this.icon=this.icons.search,this.setupKeyupListener()}ngAfterViewInit(){this.autoFocus&&this.inputRef.nativeElement.focus()}ngOnDestroy(){this.destroy$.next()}clear(){this.query="",this.handleSearch(""),this.inputRef.nativeElement.focus()}handleSearch(Oe){""===Oe?(this.icon=this.icons.search,this.isSearching=!1):(this.icon=this.icons.delete,this.isSearching=!0);const Ye=this.emojiSearch.search(this.query,this.emojisToShowFilter,this.maxResults,this.include,this.exclude,this.custom);this.searchResults.emit(Ye)}handleChange(){this.handleSearch(this.query)}setupKeyupListener(){this.ngZone.runOutsideAngular(()=>(0,P.R)(this.inputRef.nativeElement,"keyup").pipe((0,B.Q)(this.destroy$)).subscribe(Oe=>{!this.query||"Enter"!==Oe.key||(this.enterKeyOutsideAngular.emit(Oe),Oe.preventDefault())}))}static \u0275fac=function(Ye){return new(Ye||Dt)(h.rXU(h.SKi),h.rXU(Gt))};static \u0275cmp=h.VBU({type:Dt,selectors:[["emoji-search"]],viewQuery:function(Ye,vt){if(1&Ye&&h.GBs($e,7),2&Ye){let tn;h.mGM(tn=h.lsd())&&(vt.inputRef=tn.first)}}
3,inputs:{maxResults:"maxResults",autoFocus:"autoFocus",i18n:"i18n",include:"include",exclude:"exclude",custom:"custom",icons:"icons",emojisToShowFilter:"emojisToShowFilter"},outputs:{searchResults:"searchResults",enterKeyOutsideAngular:"enterKeyOutsideAngular"},standalone:!0,features:[h.aNF],decls:8,vars:9,consts:[["inputRef",""],[1,"emoji-mart-search"],["type","search",3,"ngModelChange","id","placeholder","autofocus","ngModel"],[1,"emoji-mart-sr-only",3,"htmlFor"],["type","button",1,"emoji-mart-search-icon",3,"click","keyup.enter","disabled"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 20 20","width","13","height","13","opacity","0.5"]],template:function(Ye,vt){if(1&Ye){const tn=h.RV6();h.j41(0,"div",1)(1,"input",2,0),h.mxI("ngModelChange",function(Qn){return h.eBV(tn),h.DH7(vt.query,Qn)||(vt.query=Qn),h.Njj(Qn)}),h.bIt("ngModelChange",function(){return h.eBV(tn),h.Njj(vt.handleChange())}),h.k0s(),h.j41(3,"label",3),h.EFF(4),h.k0s(),h.j41(5,"button",4),h.bIt("click",function(){return h.eBV(tn),h.Njj(vt.clear())})("keyup.enter",function(){return h.eBV(tn),h.Njj(vt.clear())}),h.qSk(),h.j41(6,"svg",5),h.nrm(7,"path"),h.k0s()()()}2&Ye&&(h.R7$(),h.Y8G("id",vt.inputId)("placeholder",vt.i18n.search)("autofocus",vt.autoFocus),h.R50("ngModel",vt.query),h.R7$(2),h.Y8G("htmlFor",vt.inputId),h.R7$(),h.SpI(" ",vt.i18n.search," "),h.R7$(),h.Y8G("disabled",!vt.isSearching),h.BMQ("aria-label",vt.i18n.clear),h.R7$(2),h.BMQ("d",vt.icon))},dependencies:[Me.YN,Me.me,Me.BC,Me.vS],encapsulation:2})}return Dt})();const Mi={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.
36-.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"},zi={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"},Yi={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 ni=(()=>{class Dt{ngZone;renderer;ref;frequently;platformId;perLine=9;totalFrequentLines=4;i18n={};style={};title="Emoji Mart\u2122";emoji="department_store";darkMode=!("function"!=typeof matchMedia||!matchMedia("(prefers-color-scheme: dark)").matches);color="#ae65c5";hideObsolete=!0;categories=[];activeCategories=[];set="apple";skin=1;isNative=!1;emojiSize=24;sheetSize=64;emojisToShowFilter;showPreview=!0;emojiTooltip=!1;autoFocus=!1;custom=[];hideRecent=!0;imageUrlFn;include;exclude;notFoundEmoji="sleuth_or_spy";categoriesIcons=Mi;searchIcons=zi;useButton=!1;enableFrequentEmojiSort=!1;enableSearch=!0;showSingleCategory=!1;virtualize=!1;virtualizeOffset=0;recent;emojiClick=new h.bkB;emojiSelect=new h.bkB;skinChange=new h.bkB;scrollRef;previewRef;searchRef;categoryRefs;scrollHeight=0;clientHeight=0;clientWidth=0;selected;nextScroll;scrollTop;firstRender=!0;previewEmoji=null;animationFrameRequestId=null;NAMESPACE="emoji-mart";measureScrollbar=0;RECENT_CATEGORY={id:"recent",name:"Recent",emojis:null};SEARCH_CATEGORY={id:"search",name:"Search",emojis:null,anchor:!1};CUSTOM_CATEGORY={id:"custom",name:"Custom",emojis:[]};scrollListener;backgroundImageFn=(Oe,Ye)=>`https://cdn.jsdelivr.net/npm/emoji-datasource-${Oe}@14.0.0/img/${Oe}/sheets-256/${Ye}.png`;constructor(Oe,Ye,vt,tn,zn){this.ngZone=Oe,this.renderer=Ye,this.ref=vt,this.frequently=tn,this.platformId=zn}ngOnInit(){this.measureScrollbar=function Ot(){if(typeof document>"u")return 0;const Dt=document.createElement("div");Dt.style.width="100px",Dt.style.height="100px",Dt.style.overflow="scroll",Dt.style.position="absolute",Dt.style.top="-9999px",document.body.appendChild(Dt);const xn=Dt.offsetWidth-Dt.clientWidth;return document.body.removeChild(Dt),xn}(),this.i18n={...Yi,...this.i18n},this.i18n.categories={...Yi.categories,...this.i18n.categories},this.skin=JSON.parse((0,a.UE)(this.platformId)&&localStorage.getItem(`${this.NAMESPACE}.skin`)||"null")||this.skin;const Oe=[..._e];this.custom.length>0&&(this.CUSTOM_CATEGORY.emojis=this.custom.map(Qn=>({...Qn,id:Qn.shortNames[0],custom:!0})),Oe.push(this.CUSTOM_CATEGORY)),void 0!==this.include&&Oe.sort((Qn,si)=>this.include.indexOf(Qn.id)>this.include.indexOf(si.id)?1:-1);for(const Qn of Oe){const si=!this.include||!this.include.length||this.include.indexOf(Qn.id)>-1,gr=!(!this.exclude||!this.exclude.length)&&this.exclude.indexOf(Qn.id)>-1;if(si&&!gr){if(this.emojisToShowFilter){const xt=[],{emojis:Sn}=Qn;for(let qt=0;qt<Sn.length;qt++){const Cn=Sn[qt];this.emojisToShowFilter(Cn)&&xt.push(Cn)}xt.length&&this.categories.push({emojis:xt,name:Qn.name,id:Qn.id})}else this.categories.push(Qn);this.categoriesIcons={...Mi,...this.categoriesIcons},this.searchIcons={...zi,...this.searchIcons}}}const Ye=!this.include||!this.include.length||this.include.indexOf(this.RECENT_CATEGORY.id)>-1,vt=!(!this.exclude||!this.exclude.length)&&this.exclude.indexOf(this.RECENT_CATEGORY.id)>-1;Ye&&!vt&&(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(Qn=>Qn.first)[0].name;const tn=Math.min(this.categories.length,3);this.setActiveCategories(this.activeCategories=this.categories.slice(0,tn));const zn=this.categories[tn-1].emojis.slice();this.categories[tn-1].emojis=zn.slice(0,60),setTimeout(()=>{this.categories[tn-1].emojis=zn,this.setActiveCategories(this.categories),this.ref.detectChanges(),(0,a.UE)(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(Oe){this.activeCategories=this.showSingleCategory?Oe.filter(Ye=>Ye.name===this.selected||Ye===this.SEARCH_CATEGORY):Oe}
3updateCategoriesSize(){if(this.categoryRefs.forEach(Oe=>Oe.memoizeSize()),this.scrollRef){const Oe=this.scrollRef.nativeElement;this.scrollHeight=Oe.scrollHeight,this.clientHeight=Oe.clientHeight,this.clientWidth=Oe.clientWidth}}handleAnchorClick(Oe){if(this.updateCategoriesSize(),this.selected=Oe.category.name,this.setActiveCategories(this.categories),this.SEARCH_CATEGORY.emojis)return this.handleSearch(null),this.searchRef?.clear(),void this.handleAnchorClick(Oe);const Ye=this.categoryRefs.find(vt=>vt.id===Oe.category.id);if(Ye){let{top:vt}=Ye;Oe.category.first?vt=0:vt+=1,this.scrollRef.nativeElement.scrollTop=vt}this.nextScroll=Oe.category.name;for(const vt of this.categories)this.categoryRefs.find(({id:zn})=>zn===vt.id)?.handleScroll(this.scrollRef.nativeElement.scrollTop)}categoryTrack(Oe,Ye){return Ye.id}handleScroll(Oe=!1){if(this.nextScroll)return this.selected=this.nextScroll,this.nextScroll=void 0,void this.ref.detectChanges();if(!this.scrollRef||this.showSingleCategory)return;let Ye;if(this.SEARCH_CATEGORY.emojis)Ye=this.SEARCH_CATEGORY;else{const vt=this.scrollRef.nativeElement;if(0===vt.scrollTop)Ye=this.categories.find(tn=>!0===tn.first);else if(vt.scrollHeight-vt.scrollTop===this.clientHeight)Ye=this.categories[this.categories.length-1];else for(const tn of this.categories)this.categoryRefs.find(({id:si})=>si===tn.id)?.handleScroll(vt.scrollTop)&&(Ye=tn);this.scrollTop=vt.scrollTop}!Oe&&Ye&&Ye.name!==this.selected?(this.selected=Ye.name,this.ref.detectChanges()):Oe&&this.ref.detectChanges()}handleSearch(Oe){this.SEARCH_CATEGORY.emojis=Oe;for(const Ye of this.categoryRefs.toArray())"Search"===Ye.name?(Ye.emojis=Oe,Ye.updateDisplay(Oe?"block":"none")):Ye.updateDisplay(Oe?"none":"block");this.scrollRef.nativeElement.scrollTop=0,this.handleScroll()}handleEnterKey(Oe,Ye){if(!Ye&&null!==this.SEARCH_CATEGORY.emojis&&this.SEARCH_CATEGORY.emojis.length){if(!(Ye=this.SEARCH_CATEGORY.emojis[0]))return;wi(this.emojiSelect,this.ngZone,{$event:Oe,emoji:Ye})}!this.hideRecent&&!this.recent&&Ye&&this.frequently.add(Ye);const vt=this.categoryRefs.toArray()[1];vt&&this.enableFrequentEmojiSort&&this.ngZone.run(()=>{vt.updateRecentEmojis(),vt.ref.markForCheck()})}handleEmojiOver(Oe){if(!this.showPreview||!this.previewRef)return;const Ye=this.CUSTOM_CATEGORY.emojis.find(vt=>vt.id===Oe.emoji.id);Ye&&(Oe.emoji={...Ye}),this.previewEmoji=Oe.emoji,this.cancelAnimationFrame(),this.ref.detectChanges()}handleEmojiLeave(){!this.showPreview||!this.previewRef||(this.animationFrameRequestId=requestAnimationFrame(()=>{this.previewEmoji=null,this.ref.detectChanges()}))}handleEmojiClick(Oe){wi(this.emojiClick,this.ngZone,Oe),wi(this.emojiSelect,this.ngZone,Oe),this.handleEnterKey(Oe.$event,Oe.emoji)}handleSkinChange(Oe){this.skin=Oe,localStorage.setItem(`${this.NAMESPACE}.skin`,String(Oe)),this.skinChange.emit(Oe)}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)}static \u0275fac=function(Ye){return new(Ye||Dt)(h.rXU(h.SKi),h.rXU(h.sFG),h.rXU(h.gRc),h.rXU(Hn),h.rXU(h.Agw))};static \u0275cmp=h.VBU({type:Dt,selectors:[["emoji-mart"]],viewQuery:function(Ye,vt){if(1&Ye&&(h.GBs(rt,7),h.GBs(Wn,5),h.GBs(Fn,5),h.GBs(_n,5)),2&Ye){let tn;h.mGM(tn=h.lsd())&&(vt.scrollRef=tn.first),h.mGM(tn=h.lsd())&&(vt.previewRef=tn.first),h.mGM(tn=h.lsd())&&(vt.searchRef=tn.first),h.mGM(tn=h.lsd())&&(vt.categoryRefs=tn)}},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"},standalone:!0,features:[h.aNF],decls:8,vars:16,consts:[["scrollRef",""],[3,"ngStyle"],[1,"emoji-mart-bar"],[3,"anchorClick","categories","color","selected","i18n","icons"],[3,"i18n","include","exclude","custom","autoF
3ocus","icons","emojisToShowFilter","searchResults","enterKeyOutsideAngular",4,"ngIf"],[1,"emoji-mart-scroll"],[3,"id","name","emojis","perLine","totalFrequentLines","hasStickyPosition","i18n","hideObsolete","notFoundEmoji","custom","recent","virtualize","virtualizeOffset","emojiIsNative","emojiSkin","emojiSize","emojiSet","emojiSheetSize","emojiForceSize","emojiTooltip","emojiBackgroundImageFn","emojiImageUrlFn","emojiUseButton","emojiOverOutsideAngular","emojiLeaveOutsideAngular","emojiClickOutsideAngular",4,"ngFor","ngForOf","ngForTrackBy"],["class","emoji-mart-bar",4,"ngIf"],[3,"searchResults","enterKeyOutsideAngular","i18n","include","exclude","custom","autoFocus","icons","emojisToShowFilter"],[3,"emojiOverOutsideAngular","emojiLeaveOutsideAngular","emojiClickOutsideAngular","id","name","emojis","perLine","totalFrequentLines","hasStickyPosition","i18n","hideObsolete","notFoundEmoji","custom","recent","virtualize","virtualizeOffset","emojiIsNative","emojiSkin","emojiSize","emojiSet","emojiSheetSize","emojiForceSize","emojiTooltip","emojiBackgroundImageFn","emojiImageUrlFn","emojiUseButton"],[3,"skinChange","emoji","idleEmoji","emojiIsNative","emojiSize","emojiSkin","emojiSet","i18n","emojiSheetSize","emojiBackgroundImageFn","emojiImageUrlFn"]],template:function(Ye,vt){if(1&Ye){const tn=h.RV6();h.j41(0,"section",1)(1,"div",2)(2,"emoji-mart-anchors",3),h.bIt("anchorClick",function(Qn){return h.eBV(tn),h.Njj(vt.handleAnchorClick(Qn))}),h.k0s()(),h.DNE(3,tt,1,7,"emoji-search",4),h.j41(4,"section",5,0),h.DNE(6,nt,1,23,"emoji-category",6),h.k0s(),h.DNE(7,_t,2,11,"div",7),h.k0s()}2&Ye&&(h.ZvI("emoji-mart ",vt.darkMode?"emoji-mart-dark":"",""),h.xc7("width",vt.getWidth()),h.Y8G("ngStyle",vt.style),h.R7$(2),h.Y8G("categories",vt.categories)("color",vt.color)("selected",vt.selected)("i18n",vt.i18n)("icons",vt.categoriesIcons),h.R7$(),h.Y8G("ngIf",vt.enableSearch),h.R7$(),h.BMQ("aria-label",vt.i18n.emojilist),h.R7$(2),h.Y8G("ngForOf",vt.activeCategories)("ngForTrackBy",vt.categoryTrack),h.R7$(),h.Y8G("ngIf",vt.showPreview))},dependencies:[a.MD,a.Sq,a.bT,a.B3,on,Fn,Wn,_n],encapsulation:2,changeDetection:0})}return Dt})();function wi(Dt,xn,Oe){Dt.observed&&xn.run(()=>Dt.emit(Oe))}const Rt=[ni,on,_n,Fn,Wn,Wt];let Xt=(()=>{class Dt{static \u0275fac=function(Ye){return new(Ye||Dt)};static \u0275mod=h.$C({type:Dt});static \u0275inj=h.G2t({imports:[Rt]})}return Dt})()},94236:(st,Q,g)=>{"use strict";g.d(Q,{En:()=>$e,Vm:()=>tn,EH:()=>ke,gp:()=>rt});var a=g(60825),h=g(18718),H=g(77392),z=g(98130),P=g(80560),C=g(17796),B=g(15463),_=g(13858);class A{constructor(Sn,qt,Cn){this.kind=Sn,this.value=qt,this.error=Cn,this.hasValue="N"===Sn}observe(Sn){return X(this,Sn)}do(Sn,qt,Cn){const{kind:ai,value:gi,error:Pt}=this;return"N"===ai?Sn?.(gi):"E"===ai?qt?.(Pt):Cn?.()}accept(Sn,qt,Cn){var ai;return(0,_.T)(null===(ai=Sn)||void 0===ai?void 0:ai.next)?this.observe(Sn):this.do(Sn,qt,Cn)}toObservable(){const{kind:Sn,value:qt,error:Cn}=this,ai="N"===Sn?(0,C.of)(qt):"E"===Sn?(0,B.$)(()=>Cn):"C"===Sn?P.w:0;if(!ai)throw new TypeError(`Unexpected notification kind ${Sn}`);return ai}static createNext(Sn){return new A("N",Sn)}static createError(Sn){return new A("E",void 0,Sn)}static createComplete(){return A.completeNotification}}function X(xt,Sn){var qt,Cn,ai;const{kind:gi,value:Pt,error:Et}=xt;if("string"!=typeof gi)throw new TypeError('Invalid notification, missing "kind"');"N"===gi?null===(qt=Sn.next)||void 0===qt||qt.call(Sn,Pt):"E"===gi?null===(Cn=Sn.error)||void 0===Cn||Cn.call(Sn,Et):null===(ai=Sn.complete)||void 0===ai||ai.call(Sn)}A.completeNotification=new A("C");var R=g(92411),ne=g(20223),_e=g(6663),le=g(60494),Re=g(85687),Le=g(97293);function Ie(xt,Sn,qt,Cn){return(0,R.N)((ai,gi)=>{let Pt;Sn&&"function"!=typeof Sn?({duration:qt,element:Pt,connector:Cn}=Sn):Pt=Sn;const Et=new Map,ot=Oi=>{Et.forEach(Oi),Oi(gi)},pt=Oi=>ot(Dr=>Dr.error(Oi));let rn=0,Vn=!1;const oi=new ne.H(gi,Oi=>{try{const Dr=xt(Oi);let mr=Et.get(Dr);if(!mr){Et.set(Dr,mr=Cn?Cn():new H.B);const yr=function hi(Oi,Dr){const mr=new h.c(yr=>{rn++;const ss=Dr.subscribe(yr);return()=>{ss.unsubscribe(),0==--rn&&Vn&&oi.unsubscribe()}});return mr.key=Oi,mr}(Dr,mr);if(gi.next(yr),qt){const ss=(0,ne._)(mr,()=>{mr.complete(),ss?.unsubscribe()},void 0,void 0,()=>Et.delete(Dr));oi.add((0,Le.Tg)(qt(yr)).subscribe(ss))}}mr.next(Pt?Pt(Oi):Oi)}catch(Dr){pt(Dr)}},()=>ot(Oi=>Oi.complete()),pt,()=>Et.clear(),()=>(Vn=!0,0===rn));ai.subscribe(oi)})}var xe=g(43614),Te=g(26377),he=g(78374),Me=g(58527),ct=g(52713);const yt={dispatch:!0,functional:!1,useEffectsErrorHandler:!0},Se="__@ngrx/effects_create__";function ke(xt,Sn={}
3){const qt=Sn.functional?xt:xt(),Cn={...yt,...Sn};return Object.defineProperty(qt,Se,{value:Cn}),qt}function ge(xt){return Object.getPrototypeOf(xt)}function He(xt){return"function"==typeof xt}function bt(xt){return xt.filter(He)}function sn(xt,Sn,qt){const Cn=ge(xt),gi=Cn&&"Object"!==Cn.constructor.name?Cn.constructor.name:null,Pt=function Be(xt){return function Ze(xt){return Object.getOwnPropertyNames(xt).filter(Cn=>!(!xt[Cn]||!xt[Cn].hasOwnProperty(Se))&&xt[Cn][Se].hasOwnProperty("dispatch")).map(Cn=>({propertyName:Cn,...xt[Cn][Se]}))}(xt)}(xt).map(({propertyName:Et,dispatch:ot,useEffectsErrorHandler:pt})=>{const rn="function"==typeof xt[Et]?xt[Et]():xt[Et],Vn=pt?qt(rn,Sn):rn;return!1===ot?Vn.pipe((0,z.w)()):Vn.pipe(function se(){return(0,R.N)((xt,Sn)=>{xt.subscribe((0,ne._)(Sn,qt=>{Sn.next(A.createNext(qt))},()=>{Sn.next(A.createComplete()),Sn.complete()},qt=>{Sn.next(A.createError(qt)),Sn.complete()}))})}()).pipe((0,_e.T)(hi=>({effect:xt[Et],notification:hi,propertyName:Et,sourceName:gi,sourceInstance:xt})))});return(0,a.h)(...Pt)}function Tt(xt,Sn,qt=10){return xt.pipe((0,le.W)(Cn=>(Sn&&Sn.handleError(Cn),qt<=1?xt:Tt(xt,Sn,qt-1))))}let $e=(()=>{class xt extends h.c{constructor(qt){super(),qt&&(this.source=qt)}lift(qt){const Cn=new xt;return Cn.source=this,Cn.operator=qt,Cn}static{this.\u0275fac=function(Cn){return new(Cn||xt)(Me.KVO(ct.sA))}}static{this.\u0275prov=Me.jDH({token:xt,factory:xt.\u0275fac,providedIn:"root"})}}return xt})();function rt(...xt){return(0,Re.p)(Sn=>xt.some(qt=>"string"==typeof qt?qt===Sn.type:qt.type===Sn.type))}const tt=new Me.nKC("@ngrx/effects Internal Root Guard"),nt=new Me.nKC("@ngrx/effects User Provided Effects"),_t=new Me.nKC("@ngrx/effects Internal Root Effects"),on=new Me.nKC("@ngrx/effects Internal Root Effects Instances"),Hn=new Me.nKC("@ngrx/effects Internal Feature Effects"),_n=new Me.nKC("@ngrx/effects Internal Feature Effects Instance Groups"),hn=new Me.nKC("@ngrx/effects Effects Error Handler",{providedIn:"root",factory:()=>Tt}),en="@ngrx/effects/init";(0,ct.VP)(en);function wi(xt){return Rt(xt,"ngrxOnInitEffects")}function Rt(xt,Sn){return xt&&Sn in xt&&"function"==typeof xt[Sn]}let Xt=(()=>{class xt extends H.B{constructor(qt,Cn){super(),this.errorHandler=qt,this.effectsErrorHandler=Cn}addEffects(qt){this.next(qt)}toActions(){return this.pipe(Ie(qt=>function Pe(xt){return!!xt.constructor&&"Object"!==xt.constructor.name&&"Function"!==xt.constructor.name}(qt)?ge(qt):qt),(0,xe.Z)(qt=>qt.pipe(Ie(Dt))),(0,xe.Z)(qt=>{const Cn=qt.pipe((0,Te.p)(gi=>function xn(xt,Sn){return qt=>{const Cn=sn(qt,xt,Sn);return function Yi(xt){return Rt(xt,"ngrxOnRunEffects")}(qt)?qt.ngrxOnRunEffects(Cn):Cn}}(this.errorHandler,this.effectsErrorHandler)(gi)),(0,_e.T)(gi=>(function Gt(xt,Sn){if("N"===xt.notification.kind){const qt=xt.notification.value;!function Wt(xt){return"function"!=typeof xt&&xt&&xt.type&&"string"==typeof xt.type}(qt)&&Sn.handleError(new Error(`Effect ${function Wn({propertyName:xt,sourceInstance:Sn,sourceName:qt}){const Cn="function"==typeof Sn[xt];return qt?`"${qt}.${String(xt)}${Cn?"()":""}"`:`"${String(xt)}()"`}(xt)} dispatched an invalid action: ${function qn(xt){try{return JSON.stringify(xt)}catch{return xt}}(qt)}`))}}(gi,this.errorHandler),gi.notification)),(0,Re.p)(gi=>"N"===gi.kind&&null!=gi.value),function Ne(){return(0,R.N)((xt,Sn)=>{xt.subscribe((0,ne._)(Sn,qt=>X(qt,Sn)))})}()),ai=qt.pipe((0,he.s)(1),(0,Re.p)(wi),(0,_e.T)(gi=>gi.ngrxOnInitEffects()));return(0,a.h)(Cn,ai)}))}static{this.\u0275fac=function(Cn){return new(Cn||xt)(Me.KVO(Me.zcH),Me.KVO(hn))}}static{this.\u0275prov=Me.jDH({token:xt,factory:xt.\u0275fac,providedIn:"root"})}}return xt})();function Dt(xt){return function Mi(xt){return Rt(xt,"ngrxOnIdentifyEffects")}(xt)?xt.ngrxOnIdentifyEffects():""}let Oe=(()=>{class xt{get isStarted(){return!!this.effectsSubscription}constructor(qt,Cn){this.effectSources=qt,this.store=Cn,this.effectsSubscription=null}start(){this.effectsSubscription||(this.effectsSubscription=this.effectSources.toActions().subscribe(this.store))}ngOnDestroy(){this.effectsSubscription&&(this.effectsSubscription.unsubscribe(),this.effectsSubscription=null)}static{this.\u0275fac=function(Cn){return new(Cn||xt)(Me.KVO(Xt),Me.KVO(ct.il))}}static{this.\u0275prov=Me.jDH({token:xt,factory:xt.\u0275fac,providedIn:"root"})}}return xt})(),Ye=(()=>{class xt{constructor(qt,Cn,ai,gi,Pt,Et,ot){this.sources=qt,Cn.start();for(const pt of gi)qt.addEffects(pt);ai.dispatch({type:en})}addEffects(qt){this.sources.addEffects(qt)}static{this.\u0275fac=function(Cn){return new(Cn||xt)(Me.KVO(Xt),Me.KVO(Oe),Me.KVO(ct.il),Me.KVO(on),Me.KVO(ct.wc,8),Me.KVO(ct.ae,8),Me.KVO(tt,8))}}static{this.\u0275mod=Me.$C({type:xt})}static{this.\u0275inj=Me.G2t({})}}return xt})(),vt=(()=>{class xt{constructor(qt,Cn,ai,gi){const Pt=Cn.flat();for(const Et of Pt)qt.addEffects(Et)}static{this.\u0275fac=function(Cn){return new(Cn||xt)(Me.KVO(Ye),Me.KVO(_n),Me.KVO(ct.wc,8),Me.KVO(ct.ae,8))}}static{this.\u0275mod=Me.$C({type:xt})}static{this.\u0275inj=Me.G2t({})}}return xt})(),tn=(()=>
3{class xt{static forFeature(...qt){const Cn=qt.flat(),ai=bt(Cn);return{ngModule:vt,providers:[ai,{provide:Hn,multi:!0,useValue:Cn},{provide:nt,multi:!0,useValue:[]},{provide:_n,multi:!0,useFactory:zn,deps:[Hn,nt]}]}}static forRoot(...qt){const Cn=qt.flat(),ai=bt(Cn);return{ngModule:Ye,providers:[ai,{provide:_t,useValue:[Cn]},{provide:tt,useFactory:Qn},{provide:nt,multi:!0,useValue:[]},{provide:on,useFactory:zn,deps:[_t,nt]}]}}static{this.\u0275fac=function(Cn){return new(Cn||xt)}}static{this.\u0275mod=Me.$C({type:xt})}static{this.\u0275inj=Me.G2t({})}}return xt})();function zn(xt,Sn){const qt=[];for(const Cn of xt)qt.push(...Cn);for(const Cn of Sn)qt.push(...Cn);return qt.map(Cn=>function Yt(xt){return xt instanceof Me.nKC||He(xt)}(Cn)?(0,Me.WQX)(Cn):Cn)}function Qn(){const xt=(0,Me.WQX)(Oe,{optional:!0,skipSelf:!0}),Sn=(0,Me.WQX)(_t,{self:!0});if((1!==Sn.length||0!==Sn[0].length)&&xt)throw new TypeError("EffectsModule.forRoot() called twice. Feature modules should use EffectsModule.forFeature() instead.");return"guarded"}},52713:(st,Q,g)=>{"use strict";g.d(Q,{SS:()=>yt,Zz:()=>ct,N_:()=>Ve,Bh:()=>zi,QU:()=>Mi,sA:()=>Rt,h1:()=>Dt,il:()=>vt,ae:()=>as,md:()=>Pi,wc:()=>jr,q6:()=>Yi,VP:()=>_e,VG:()=>nn,UX:()=>ds,vy:()=>Es,Mz:()=>yr,on:()=>xr,xk:()=>le,Lt:()=>zn});var a=g(58527),h=g(83485),H=g(18718),z=g(77392),P=g(42576),C=g(50728),B=g(7738),_=g(89800),q=g(6663),X=g(64785),R=g(45768);const ne={};function _e(it,Nt){if(ne[it]=(ne[it]||0)+1,"function"==typeof Nt)return Le(it,(...Kt)=>({...Nt(...Kt),type:it}));switch(Nt?Nt._as:"empty"){case"empty":return Le(it,()=>({type:it}));case"props":return Le(it,Kt=>({...Kt,type:it}));default:throw new Error("Unexpected config.")}}function le(){return{_as:"props",_p:void 0}}function Le(it,Nt){return Object.defineProperty(Nt,"type",{value:it,writable:!1})}function Ie(it){return it.charAt(0).toUpperCase()+it.substring(1)}const ct="@ngrx/store/init";let yt=(()=>{class it extends h.t{constructor(){super({type:ct})}next(Bt){if("function"==typeof Bt)throw new TypeError("\n        Dispatch expected an object, instead it received a function.\n        If you're using the createAction function, make sure to invoke the function\n        before dispatching the action. For example, someAction should be someAction().");if(typeof Bt>"u")throw new TypeError("Actions must be objects");if(typeof Bt.type>"u")throw new TypeError("Actions must have a type property");super.next(Bt)}complete(){}ngOnDestroy(){super.complete()}static{this.\u0275fac=function(Kt){return new(Kt||it)}}static{this.\u0275prov=a.jDH({token:it,factory:it.\u0275fac})}}return it})();const Se=[yt],ke=new a.nKC("@ngrx/store Internal Root Guard"),Ze=new a.nKC("@ngrx/store Internal Initial State"),Ve=new a.nKC("@ngrx/store Initial State"),Be=new a.nKC("@ngrx/store Reducer Factory"),ge=new a.nKC("@ngrx/store Internal Reducer Factory Provider"),Pe=new a.nKC("@ngrx/store Initial Reducers"),He=new a.nKC("@ngrx/store Internal Initial Reducers"),bt=new a.nKC("@ngrx/store Store Features"),Yt=new a.nKC("@ngrx/store Internal Store Reducers"),sn=new a.nKC("@ngrx/store Internal Feature Reducers"),ft=new a.nKC("@ngrx/store Internal Feature Configs"),Tt=new a.nKC("@ngrx/store Internal Store Features"),$e=new a.nKC("@ngrx/store Internal Feature Reducers Token"),rt=new a.nKC("@ngrx/store Feature Reducers"),tt=new a.nKC("@ngrx/store User Provided Meta Reducers"),nt=new a.nKC("@ngrx/store Meta Reducers"),_t=new a.nKC("@ngrx/store Internal Resolved Meta Reducers"),on=new a.nKC("@ngrx/store User Runtime Checks Config"),Hn=new a.nKC("@ngrx/store Internal User Runtime Checks Config"),_n=new a.nKC("@ngrx/store Internal Runtime Checks"),hn=new a.nKC("@ngrx/store Check if Action types are unique");function Gt(it,Nt={}){const Bt=Object.keys(it),Kt={};for(let Jn=0;Jn<Bt.length;Jn++){const Gi=Bt[Jn];"function"==typeof it[Gi]&&(Kt[Gi]=it[Gi])}const Gn=Object.keys(Kt);return function(Gi,vr){Gi=void 0===Gi?Nt:Gi;let ki=!1;const Rs={};for(let Ki=0;Ki<Gn.length;Ki++){const kr=Gn[Ki],la=Gi[kr],Lc=(0,Kt[kr])(la,vr);Rs[kr]=Lc,ki=ki||Lc!==la}return ki?Rs:Gi}}function Wn(...it){return function(Nt){if(0===it.length)return Nt;const Bt=it[it.length-1];return it.slice(0,-1).reduceRight((Gn,Jn)=>Jn(Gn),Bt(Nt))}}function qn(it,Nt){return Array.isArray(Nt)&&Nt.length>0&&(it=Wn.apply(null,[...Nt,it])),(Bt,Kt)=>{const Gn=it(Bt);return(Jn,Gi)=>Gn(Jn=void 0===Jn?Kt:Jn,Gi)}}new a.nKC("@ngrx/store Root Store Provider"),new a.nKC("@ngrx/store Feature State Provider");class Mi extends H.c{}class zi extends yt{}const Yi="@ngrx/store/update-reducers";let ni=(()=>{class it extends h.t{get currentReducers(){return this.reducers}constructor(Bt,Kt,Gn,Jn){super(Jn(Gn,Kt)),this.dispatcher=Bt,this.initialState=Kt,this.reducers=Gn,this.reducerFactory=Jn}addFeature(Bt){this.addFeatures([Bt])}addFeatures(Bt){const Kt=Bt.reduce((Gn,{reducers:Jn,reducerFactory:Gi,metaReducers:vr,initialState:ki,key:Rs})=>{const Ki="function"==typeof Jn?function Fn(it){const Nt=Array.isArray(it)&&it.length>0?Wn(...it):Bt=>Bt;return(Bt,Kt)=>(Bt=Nt(Bt),(Gn,Jn)=>Bt(Gn=void 0===Gn?Kt:Gn,Jn))}(vr)(Jn,ki):qn(Gi,vr)(Jn,ki);return Gn[Rs]=Ki,Gn},{});this.addReducers(Kt)}
3removeFeature(Bt){this.removeFeatures([Bt])}removeFeatures(Bt){this.removeReducers(Bt.map(Kt=>Kt.key))}addReducer(Bt,Kt){this.addReducers({[Bt]:Kt})}addReducers(Bt){this.reducers={...this.reducers,...Bt},this.updateReducers(Object.keys(Bt))}removeReducer(Bt){this.removeReducers([Bt])}removeReducers(Bt){Bt.forEach(Kt=>{this.reducers=function Wt(it,Nt){return Object.keys(it).filter(Bt=>Bt!==Nt).reduce((Bt,Kt)=>Object.assign(Bt,{[Kt]:it[Kt]}),{})}(this.reducers,Kt)}),this.updateReducers(Bt)}updateReducers(Bt){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:Yi,features:Bt})}ngOnDestroy(){this.complete()}static{this.\u0275fac=function(Kt){return new(Kt||it)(a.KVO(zi),a.KVO(Ve),a.KVO(Pe),a.KVO(Be))}}static{this.\u0275prov=a.jDH({token:it,factory:it.\u0275fac})}}return it})();const wi=[ni,{provide:Mi,useExisting:ni},{provide:zi,useExisting:yt}];let Rt=(()=>{class it extends z.B{ngOnDestroy(){this.complete()}static{this.\u0275fac=(()=>{let Bt;return function(Gn){return(Bt||(Bt=a.xGo(it)))(Gn||it)}})()}static{this.\u0275prov=a.jDH({token:it,factory:it.\u0275fac})}}return it})();const Xt=[Rt];class Dt extends H.c{}let xn=(()=>{class it extends h.t{static{this.INIT=ct}constructor(Bt,Kt,Gn,Jn){super(Jn);const Rs=Bt.pipe((0,C.Q)(P.T)).pipe((0,B.E)(Kt)).pipe((0,_.S)(Oe,{state:Jn}));this.stateSubscription=Rs.subscribe(({state:Ki,action:kr})=>{this.next(Ki),Gn.next(kr)}),this.state=(0,R.ot)(this,{manualCleanup:!0,requireSync:!0})}ngOnDestroy(){this.stateSubscription.unsubscribe(),this.complete()}static{this.\u0275fac=function(Kt){return new(Kt||it)(a.KVO(yt),a.KVO(Mi),a.KVO(Rt),a.KVO(Ve))}}static{this.\u0275prov=a.jDH({token:it,factory:it.\u0275fac})}}return it})();function Oe(it={state:void 0},[Nt,Bt]){const{state:Kt}=it;return{state:Bt(Kt,Nt),action:Nt}}const Ye=[xn,{provide:Dt,useExisting:xn}];let vt=(()=>{class it extends H.c{constructor(Bt,Kt,Gn){super(),this.actionsObserver=Kt,this.reducerManager=Gn,this.source=Bt,this.state=Bt.state}select(Bt,...Kt){return zn.call(null,Bt,...Kt)(this)}selectSignal(Bt,Kt){return(0,a.EWP)(()=>Bt(this.state()),Kt)}lift(Bt){const Kt=new it(this,this.actionsObserver,this.reducerManager);return Kt.operator=Bt,Kt}dispatch(Bt){this.actionsObserver.next(Bt)}next(Bt){this.actionsObserver.next(Bt)}error(Bt){this.actionsObserver.error(Bt)}complete(){this.actionsObserver.complete()}addReducer(Bt,Kt){this.reducerManager.addReducer(Bt,Kt)}removeReducer(Bt){this.reducerManager.removeReducer(Bt)}static{this.\u0275fac=function(Kt){return new(Kt||it)(a.KVO(Dt),a.KVO(yt),a.KVO(ni))}}static{this.\u0275prov=a.jDH({token:it,factory:it.\u0275fac})}}return it})();const tn=[vt];function zn(it,Nt,...Bt){return function(Gn){let Jn;if("string"==typeof it){const Gi=[Nt,...Bt].filter(Boolean);Jn=Gn.pipe(function A(...it){const Nt=it.length;if(0===Nt)throw new Error("list of properties cannot be empty.");return(0,q.T)(Bt=>{let Kt=Bt;for(let Gn=0;Gn<Nt;Gn++){const Jn=Kt?.[it[Gn]];if(!(typeof Jn<"u"))return;Kt=Jn}return Kt})}(it,...Gi))}else{if("function"!=typeof it)throw new TypeError(`Unexpected type '${typeof it}' in select operator, expected 'string' or 'function'`);Jn=Gn.pipe((0,q.T)(Gi=>it(Gi,Nt)))}return Jn.pipe((0,X.F)())}}const Qn="https://ngrx.io/guide/store/configuration/runtime-checks";function si(it){return void 0===it}function gr(it){return null===it}function xt(it){return Array.isArray(it)}function ai(it){return"object"==typeof it&&null!==it}function Pt(it){if(!function gi(it){return ai(it)&&!xt(it)}(it))return!1;const Nt=Object.getPrototypeOf(it);return Nt===Object.prototype||null===Nt}function Et(it){return"function"==typeof it}let rn=!1;function hi(it,Nt){return it===Nt}function mr(it,Nt=hi,Bt=hi){let Jn,Kt=null,Gn=null;return{memoized:function Rs(){if(void 0!==Jn)return Jn.result;if(!Kt)return Gn=it.apply(null,arguments),Kt=arguments,Gn;if(!function Oi(it,Nt,Bt){for(let Kt=0;Kt<it.length;Kt++)if(!Bt(it[Kt],Nt[Kt]))return!0;return!1}(arguments,Kt,Nt))return Gn;const Ki=it.apply(null,arguments);return Kt=arguments,Bt(Gn,Ki)?Gn:(Gn=Ki,Ki)},reset:function Gi(){Kt=null,Gn=null},setResult:function vr(Ki=void 0){Jn={result:Ki}},clearResult:function ki(){Jn=void 0}}}function yr(...it){return function Di(it,Nt={stateFn:ss}){return function(...Bt){let Kt=Bt;if(Array.isArray(Kt[0])){const[Ki,...kr]=Kt;Kt=[...Ki,...kr]}else 1===Kt.length&&function cr(it){return!!it&&"object"==typeof it&&Object.values(it).every(Nt=>"function"==typeof Nt)}(Kt[0])&&(Kt=function jt(it){const Nt=Object.values(it),Bt=Object.keys(it);return[...Nt,(...Gn)=>Bt.reduce((Jn,Gi,vr)=>({...Jn,[Gi]:Gn[vr]}),{})]}(Kt[0]));const Gn=Kt.slice(0,Kt.length-1),Jn=Kt[Kt.length-1],Gi=Gn.filter(Ki=>Ki.release&&"function"==typeof Ki.release),vr=it(function(...Ki){return Jn.apply(null,Ki)}),ki=mr(function(Ki,kr){return Nt.stateFn.apply(null,[Ki,Gn,kr,vr])});return Object.assign(ki.memoized,{release:function Rs(){ki.reset(),vr.reset(),Gi.forEac
3h(Ki=>Ki.release())},projector:vr.memoized,setResult:ki.setResult,clearResult:ki.clearResult})}}(mr)(...it)}function ss(it,Nt,Bt,Kt){if(void 0===Bt){const Jn=Nt.map(Gi=>Gi(it));return Kt.memoized.apply(null,Jn)}const Gn=Nt.map(Jn=>Jn(it,Bt));return Kt.memoized.apply(null,[...Gn,Bt])}function ds(it){return yr(Nt=>{const Bt=Nt[it];return!function oi(){return rn}()&&(0,a.naY)()&&!(it in Nt)&&console.warn(`@ngrx/store: The feature name "${it}" does not exist in the state, therefore createFeatureSelector cannot access it.  Be sure it is imported in a loaded module using StoreModule.forRoot('${it}', ...) or StoreModule.forFeature('${it}', ...).  If the default state is intended to be undefined, as is the case with router state, this development-only warning message can be ignored.`),Bt},Nt=>Nt)}function nn(it){const{name:Nt,reducer:Bt,extraSelectors:Kt}=it,Gn=ds(Nt),Jn=function et(it,Nt){const Bt=function Zt(it){return it(void 0,{type:"@ngrx/feature/init"})}(Nt);return(Pt(Bt)?Object.keys(Bt):[]).reduce((Gn,Jn)=>({...Gn,[`select${Ie(Jn)}`]:yr(it,Gi=>Gi?.[Jn])}),{})}(Gn,Bt),Gi={[`select${Ie(Nt)}State`]:Gn,...Jn},vr=Kt?Kt(Gi):{};return{name:Nt,reducer:Bt,...Gi,...vr}}function At(it){return it instanceof a.nKC?(0,a.WQX)(it):it}function Yn(it,Nt){return Nt.map((Bt,Kt)=>{if(it[Kt]instanceof a.nKC){const Gn=(0,a.WQX)(it[Kt]);return{key:Bt.key,reducerFactory:Gn.reducerFactory?Gn.reducerFactory:Gt,metaReducers:Gn.metaReducers?Gn.metaReducers:[],initialState:Gn.initialState}}return Bt})}function Wi(it){return it.map(Nt=>Nt instanceof a.nKC?(0,a.WQX)(Nt):Nt)}function ii(it){return"function"==typeof it?it():it}function Ur(it,Nt){return it.concat(Nt)}function sr(){if((0,a.WQX)(vt,{optional:!0,skipSelf:!0}))throw new TypeError("The root Store has been provided more than once. Feature modules should provide feature states instead.");return"guarded"}function us(it){Object.freeze(it);const Nt=Et(it);return Object.getOwnPropertyNames(it).forEach(Bt=>{if(!Bt.startsWith("\u0275")&&function pt(it,Nt){return Object.prototype.hasOwnProperty.call(it,Nt)}(it,Bt)&&(!Nt||"caller"!==Bt&&"callee"!==Bt&&"arguments"!==Bt)){const Kt=it[Bt];(ai(Kt)||Et(Kt))&&!Object.isFrozen(Kt)&&us(Kt)}}),it}function ho(it,Nt=[]){return(si(it)||gr(it))&&0===Nt.length?{path:["root"],value:it}:Object.keys(it).reduce((Kt,Gn)=>{if(Kt)return Kt;const Jn=it[Gn];return function ot(it){return Et(it)&&it.hasOwnProperty("\u0275cmp")}(Jn)?Kt:!(si(Jn)||gr(Jn)||function Cn(it){return"number"==typeof it}(Jn)||function qt(it){return"boolean"==typeof it}(Jn)||function Sn(it){return"string"==typeof it}(Jn)||xt(Jn))&&(Pt(Jn)?ho(Jn,[...Nt,Gn]):{path:[...Nt,Gn],value:Jn})},!1)}function _o(it,Nt){if(!1===it)return;const Bt=it.path.join("."),Kt=new Error(`Detected unserializable ${Nt} at "${Bt}". ${Qn}#strict${Nt}serializability`);throw Kt.value=it.value,Kt.unserializablePath=Bt,Kt}function We(it){return(0,a.naY)()?{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!0,strictActionImmutability:!0,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1,...it}:{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!1,strictActionImmutability:!1,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1}}function be({strictActionSerializability:it,strictStateSerializability:Nt}){return Bt=>it||Nt?function Cs(it,Nt){return function(Bt,Kt){Nt.action(Kt)&&_o(ho(Kt),"action");const Gn=it(Bt,Kt);return Nt.state()&&_o(ho(Gn),"state"),Gn}}(Bt,{action:Kt=>it&&!Ee(Kt),state:()=>Nt}):Bt}function we({strictActionImmutability:it,strictStateImmutability:Nt}){return Bt=>it||Nt?function lr(it,Nt){return function(Bt,Kt){const Gn=Nt.action(Kt)?us(Kt):Kt,Jn=it(Bt,Gn);return Nt.state()?us(Jn):Jn}}(Bt,{action:Kt=>it&&!Ee(Kt),state:()=>Nt}):Bt}function Ee(it){return it.type.startsWith("@ngrx")}function ue({strictActionWithinNgZone:it}){return Nt=>it?function ko(it,Nt){return function(Bt,Kt){if(Nt.action(Kt)&&!a.SKi.isInAngularZone())throw new Error(`Action '${Kt.type}' running outside NgZone. ${Qn}#strictactionwithinngzone`);return it(Bt,Kt)}}(Nt,{action:Bt=>it&&!Ee(Bt)}):Nt}function Xe(it){return[{provide:Hn,useValue:it},{provide:on,useFactory:kt,deps:[Hn]},{provide:_n,deps:[on],useFactory:We},{provide:nt,multi:!0,deps:[_n],useFactory:we},{provide:nt,multi:!0,deps:[_n],useFactory:be},{provide:nt,multi:!0,deps:[_n],useFactory:ue}]}function qe(){return[{provide:hn,multi:!0,deps:[_n],useFactory:Qt}]}function kt(it){return it}function Qt(it){if(!it.strictActionTypeUniqueness)return;const Nt=Object.entries(ne).filter(([,Bt])=>Bt>1).map(([Bt])=>Bt);if(Nt.length)throw new Error(`Action types are registered more than once, ${Nt.map(Bt=>`"${Bt}"`).join(", ")}. ${Qn}#strictactiontypeuniqueness`)}function Bn(it={},Nt={}){return[{provide:ke,useFactory:sr},{provide:Ze,useValue:Nt.initialState},{provide:Ve,useFactory:ii,deps:[Ze]},{provide:He,useValue:it},{provide:Yt,useExisting:it instanceof a.nKC?it:He},{provide:Pe,deps:[He,[new a.y_5(Yt)]],useFactory:At},{provide:tt,useValue:Nt.metaReducers?Nt.metaReducers:[]},{provide:_t,deps:[nt,tt],useFactory:Ur},{provide:ge,useValue:Nt.reducerFactory?Nt.reducerFactory:Gt},{provide:Be,deps:[ge,_t],useFactory:qn}
3,Se,wi,Xt,Ye,tn,Xe(Nt.runtimeChecks),qe()]}function os(it,Nt,Bt={}){return[{provide:ft,multi:!0,useValue:it instanceof Object?{}:Bt},{provide:bt,multi:!0,useValue:{key:it instanceof Object?it.name:it,reducerFactory:Bt instanceof a.nKC||!Bt.reducerFactory?Gt:Bt.reducerFactory,metaReducers:Bt instanceof a.nKC||!Bt.metaReducers?[]:Bt.metaReducers,initialState:Bt instanceof a.nKC||!Bt.initialState?void 0:Bt.initialState}},{provide:Tt,deps:[ft,bt],useFactory:Yn},{provide:sn,multi:!0,useValue:it instanceof Object?it.reducer:Nt},{provide:$e,multi:!0,useExisting:Nt instanceof a.nKC?Nt:sn},{provide:rt,multi:!0,deps:[sn,[new a.y_5($e)]],useFactory:Wi},qe()]}let jr=(()=>{class it{constructor(Bt,Kt,Gn,Jn,Gi,vr){}static{this.\u0275fac=function(Kt){return new(Kt||it)(a.KVO(yt),a.KVO(Mi),a.KVO(Rt),a.KVO(vt),a.KVO(ke,8),a.KVO(hn,8))}}static{this.\u0275mod=a.$C({type:it})}static{this.\u0275inj=a.G2t({})}}return it})(),as=(()=>{class it{constructor(Bt,Kt,Gn,Jn,Gi){this.features=Bt,this.featureReducers=Kt,this.reducerManager=Gn;const vr=Bt.map((ki,Rs)=>{const kr=Kt.shift()[Rs];return{...ki,reducers:kr,initialState:ii(ki.initialState)}});Gn.addFeatures(vr)}ngOnDestroy(){this.reducerManager.removeFeatures(this.features)}static{this.\u0275fac=function(Kt){return new(Kt||it)(a.KVO(Tt),a.KVO(rt),a.KVO(ni),a.KVO(jr),a.KVO(hn,8))}}static{this.\u0275mod=a.$C({type:it})}static{this.\u0275inj=a.G2t({})}}return it})(),Pi=(()=>{class it{static forRoot(Bt,Kt){return{ngModule:jr,providers:[...Bn(Bt,Kt)]}}static forFeature(Bt,Kt,Gn={}){return{ngModule:as,providers:[...os(Bt,Kt,Gn)]}}static{this.\u0275fac=function(Kt){return new(Kt||it)}}static{this.\u0275mod=a.$C({type:it})}static{this.\u0275inj=a.G2t({})}}return it})();function xr(...it){return{reducer:it.pop(),types:it.map(Kt=>Kt.type)}}function Es(it,...Nt){const Bt=new Map;for(const Kt of Nt)for(const Gn of Kt.types){const Jn=Bt.get(Gn);Bt.set(Gn,Jn?(vr,ki)=>Kt.reducer(Jn(vr,ki),ki):Kt.reducer)}return function(Kt=it,Gn){const Jn=Bt.get(Gn.type);return Jn?Jn(Kt,Gn):Kt}}},20629:(st,Q,g)=>{"use strict";g.d(Q,{Lf:()=>P,sY:()=>h,zW:()=>z});var a=g(40262);const h=(0,a.hZ)("expandCollapse",[(0,a.wk)("expanded",(0,a.iF)({height:"*",opacity:1,marginTop:"{{marginTopPx}}",visibility:"visible"}),{params:{marginTopPx:"8px"}}),(0,a.wk)("collapsed",(0,a.iF)({height:0,opacity:0,marginTop:0,visibility:"hidden"})),(0,a.kY)("expanded <=> collapsed",[(0,a.i0)("0.2s ease-in-out")])]),z=function H(se=400,_e=400){return(0,a.hZ)("fade",[(0,a.wk)("in",(0,a.iF)({opacity:1})),(0,a.kY)("* => in",[(0,a.iF)({opacity:0}),(0,a.i0)(`${se}ms ease`)]),(0,a.wk)("out",(0,a.iF)({opacity:0})),(0,a.kY)("in => out",[(0,a.iF)({opacity:1}),(0,a.i0)(`${_e}ms ease`)])])}(),P=(0,a.hZ)("slideAndFade",[(0,a.wk)("in",(0,a.iF)({transform:"translateY(0)",opacity:1})),(0,a.kY)("* => in",[(0,a.iF)({transform:"translateY(100px)",opacity:0}),(0,a.i0)("600ms ease")]),(0,a.wk)("out",(0,a.iF)({transform:"translateY(100px)",opacity:0})),(0,a.kY)("in => out",[(0,a.iF)({transform:"translateY(0)",opacity:1}),(0,a.i0)("600ms ease")])]);Math},85837:(st,Q,g)=>{"use strict";g.d(Q,{s:()=>z});class a extends Error{}function z(P,C){if("string"!=typeof P)throw new a("Invalid token specified: must be a string");C||(C={});const B=!0===C.header?0:1,_=P.split(".")[B];if("string"!=typeof _)throw new a(`Invalid token specified: missing part #${B+1}`);let q;try{q=function H(P){let C=P.replace(/-/g,"+").replace(/_/g,"/");switch(C.length%4){case 0:break;case 2:C+="==";break;case 3:C+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return function h(P){return decodeURIComponent(atob(P).replace(/(.)/g,(C,B)=>{let _=B.charCodeAt(0).toString(16).toUpperCase();return _.length<2&&(_="0"+_),"%"+_}))}(C)}catch{return atob(C)}}(_)}catch(A){throw new a(`Invalid token specified: invalid base64 for part #${B+1} (${A.message})`)}try{return JSON.parse(q)}catch(A){throw new a(`Invalid token specified: invalid json for part #${B+1} (${A.message})`)}}a.prototype.name="InvalidTokenError"},22199:(st,Q,g)=>{"use strict";g.d(Q,{A:()=>Re});var H=g(72148);const P=function z(Le,Ie){for(var xe=Le.length;xe--;)if((0,H.A)(Le[xe][0],Ie))return xe;return-1};var B=Array.prototype.splice;function le(Le){var Ie=-1,xe=null==Le?0:Le.length;for(this.clear();++Ie<xe;){var Te=Le[Ie];this.set(Te[0],Te[1])}}le.prototype.clear=function a(){this.__data__=[],this.size=0},le.prototype.delete=function _(Le){var Ie=this.__data__,xe=P(Ie,Le);return!(xe<0||(xe==Ie.length-1?Ie.pop():B.call(Ie,xe,1),--this.size,0))},le.prototype.get=function A(Le){var Ie=this.__data__,xe=P(Ie,Le);return xe<0?void 0:Ie[xe][1]},le.prototype.has=function R(Le){return P(this.__data__,Le)>-1},le.prototype.set=function se(Le,Ie){var xe=this.__data__,Te=P(xe,Le);return Te<0?(++this.size,xe.push([Le,Ie])):xe[Te][1]=Ie,this};const Re=le},2899:(st,Q,g)=>{"use strict";g.d(Q,{A:()=>z});var a=g(58221),h=g(2777);const z=(0,a.A)(h.A,"Map")},89046:(st,Q,g)=>{"use strict";g.d(Q,{A:()=>Tt});const H=(0,g(58221).A)(Object,"create");var A=Object.prototype.hasOwnProperty;var se=Object.prototype.hasOwnProperty;
3function xe($e){var rt=-1,tt=null==$e?0:$e.length;for(this.clear();++rt<tt;){var nt=$e[rt];this.set(nt[0],nt[1])}}xe.prototype.clear=function z(){this.__data__=H?H(null):{},this.size=0},xe.prototype.delete=function C($e){var rt=this.has($e)&&delete this.__data__[$e];return this.size-=rt?1:0,rt},xe.prototype.get=function X($e){var rt=this.__data__;if(H){var tt=rt[$e];return"__lodash_hash_undefined__"===tt?void 0:tt}return A.call(rt,$e)?rt[$e]:void 0},xe.prototype.has=function _e($e){var rt=this.__data__;return H?void 0!==rt[$e]:se.call(rt,$e)},xe.prototype.set=function Le($e,rt){var tt=this.__data__;return this.size+=this.has($e)?0:1,tt[$e]=H&&void 0===rt?"__lodash_hash_undefined__":rt,this};const Te=xe;var Ne=g(22199),he=g(2899);const Ze=function ke($e,rt){var tt=$e.__data__;return function yt($e){var rt=typeof $e;return"string"==rt||"number"==rt||"symbol"==rt||"boolean"==rt?"__proto__"!==$e:null===$e}(rt)?tt["string"==typeof rt?"string":"hash"]:tt.map};function ft($e){var rt=-1,tt=null==$e?0:$e.length;for(this.clear();++rt<tt;){var nt=$e[rt];this.set(nt[0],nt[1])}}ft.prototype.clear=function Me(){this.size=0,this.__data__={hash:new Te,map:new(he.A||Ne.A),string:new Te}},ft.prototype.delete=function Ve($e){var rt=Ze(this,$e).delete($e);return this.size-=rt?1:0,rt},ft.prototype.get=function ge($e){return Ze(this,$e).get($e)},ft.prototype.has=function He($e){return Ze(this,$e).has($e)},ft.prototype.set=function Yt($e,rt){var tt=Ze(this,$e),nt=tt.size;return tt.set($e,rt),this.size+=tt.size==nt?0:1,this};const Tt=ft},58573:(st,Q,g)=>{"use strict";g.d(Q,{A:()=>H});const H=g(2777).A.Symbol},88225:(st,Q,g)=>{"use strict";g.d(Q,{A:()=>le});var a=g(58573),h=Object.prototype,H=h.hasOwnProperty,z=h.toString,P=a.A?a.A.toStringTag:void 0;var q=Object.prototype.toString;var se=a.A?a.A.toStringTag:void 0;const le=function _e(Re){return null==Re?void 0===Re?"[object Undefined]":"[object Null]":se&&se in Object(Re)?function C(Re){var Le=H.call(Re,P),Ie=Re[P];try{Re[P]=void 0;var xe=!0}catch{}var Te=z.call(Re);return xe&&(Le?Re[P]=Ie:delete Re[P]),Te}(Re):function A(Re){return q.call(Re)}(Re)}},68276:(st,Q,g)=>{"use strict";g.d(Q,{A:()=>h});const h="object"==typeof global&&global&&global.Object===Object&&global},58221:(st,Q,g)=>{"use strict";g.d(Q,{A:()=>Ne});var he,a=g(51214),H=g(2777).A["__core-js_shared__"],P=(he=/[^.]+$/.exec(H&&H.keys&&H.keys.IE_PROTO||""))?"Symbol(src)_1."+he:"";var _=g(29801),q=g(85421),X=/^\[object .+?Constructor\]$/,le=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const Le=function Re(he){return!(!(0,_.A)(he)||function C(he){return!!P&&P in he}(he))&&((0,a.A)(he)?le:X).test((0,q.A)(he))},Ne=function Te(he,Me){var ct=function Ie(he,Me){return he?.[Me]}(he,Me);return Le(ct)?ct:void 0}},2777:(st,Q,g)=>{"use strict";g.d(Q,{A:()=>z});var a=g(68276),h="object"==typeof self&&self&&self.Object===Object&&self;const z=a.A||h||Function("return this")()},85421:(st,Q,g)=>{"use strict";g.d(Q,{A:()=>z});var h=Function.prototype.toString;const z=function H(P){if(null!=P){try{return h.call(P)}catch{}try{return P+""}catch{}}return""}},72148:(st,Q,g)=>{"use strict";g.d(Q,{A:()=>h});const h=function a(H,z){return H===z||H!=H&&z!=z}},86421:(st,Q,g)=>{"use strict";g.d(Q,{A:()=>$e});var a=g(48541),h=g(88225),H=g(87670);const C=function P(rt){return"symbol"==typeof rt||(0,H.A)(rt)&&"[object Symbol]"==(0,h.A)(rt)};var B=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,_=/^\w*$/;var X=g(89046);function ne(rt,tt){if("function"!=typeof rt||null!=tt&&"function"!=typeof tt)throw new TypeError("Expected a function");var nt=function(){var _t=arguments,on=tt?tt.apply(this,_t):_t[0],Hn=nt.cache;if(Hn.has(on))return Hn.get(on);var _n=rt.apply(this,_t);return nt.cache=Hn.set(on,_n)||Hn,_n};return nt.cache=new(ne.Cache||X.A),nt}ne.Cache=X.A;const se=ne;var Le=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ie=/\\(\\)?/g;const Te=function le(rt){var tt=se(rt,function(_t){return 500===nt.size&&nt.clear(),_t}),nt=tt.cache;return tt}(function(rt){var tt=[];return 46===rt.charCodeAt(0)&&tt.push(""),rt.replace(Le,function(nt,_t,on,Hn){tt.push(on?Hn.replace(Ie,"$1"):_t||nt)}),tt});var Ne=g(58573);var yt=Ne.A?Ne.A.prototype:void 0,Se=yt?yt.toString:void 0;const Ze=function ke(rt){if("string"==typeof rt)return rt;if((0,a.A)(rt))return function he(rt,tt){for(var nt=-1,_t=null==rt?0:rt.length,on=Array(_t);++nt<_t;)on[nt]=tt(rt[nt],nt,rt);return on}(rt,ke)+"";if(C(rt))return Se?Se.call(rt):"";var tt=rt+"";return"0"==tt&&1/rt==-1/0?"-0":tt},Pe=function ge(rt,tt){return(0,a.A)(rt)?rt:function q(rt,tt){if((0,a.A)(rt))return!1;var nt=typeof rt;return!("number"!=nt&&"symbol"!=nt&&"boolean"!=nt&&null!=rt&&!C(rt))||_.test(rt)||!B.test(rt)||null!=tt&&rt in Object(tt)}(rt,tt)?[rt]:Te(function Ve(rt){return null==rt?"":Ze(rt)}(rt))},Yt=function bt(rt){if("string"==typeof rt||C(rt))return rt;var tt=rt+"";return"0"==tt&&1/rt==-1/0?"-0":tt},$e=function Tt(rt,tt,nt){var _t=null==rt?void 0:function sn(rt,tt){for(var nt=0,_t=(tt=Pe(tt,rt)).length;null!=rt&&nt<_t;)rt=rt[Yt(tt[nt++])];return nt&&nt==_t?rt:void 0}(rt,tt);return void 0===_t?nt:_t}},48541:(st,Q,g)=>{"use strict";g.d(Q,{A:()=>h});const h=Array.isArray},51214:(st,Q,g)=>{"use strict";g.d(Q,{A:()=>_});var a=g(88225),h=g(29801);const _=function B(q){if(!(0,h.A)(q))return!1;var A=(0,a.A)(q);return"[object Function]"==A||"[object GeneratorFunction]"==A||"[object AsyncFunction]"==A||"[object Proxy]"==A}},29801:(st,Q,g)=>{"use strict";g.d(Q,{A:()=>h});const h=function a(H){var z=typeof H;return null!=H&&("object"==z||"function"==z)}},87670:(st,Q,g)=>{"use strict";g.d(Q,{A:()=>h});const h=function a(H){return null!=H&&"object"==typeof H}},11857:(st,Q,g)=>{"use strict";g.d(Q,{c6:()=>qC,Lk:()=>QC});var a={};g.r(a),g.d(a,{AbortException:()=>ac,AnnotationEditorLayer:()=>jl,AnnotationEditorParamsType:()=>Oc,AnnotationEditorType:()=>il,AnnotationEditorUIManager:()=>Ta,AnnotationLayer:()=>_i,AnnotationMode:()=>yu,ColorPicker:()=>wc,DOMSVGFactory:()=>cc,DrawLayer:()=>$c,FeatureTest:()=>bl,GlobalWorkerOptions:()=>vo,ImageKind:()=>Vl,InvalidPDFException:()=>Ir,MissingPDFException:()=>ua,OPS:()=>zl,OutputScale:()=>Hc,PDFDataRangeTransport:()=>rl,PDFDateString:()=>za,PDFWorker:()=>Wc,PasswordResponses:()=>kd,PermissionFlag:()=>od,PixelsPerInch:()=>Hd,RenderingCancelledException:()=>$l,TextLayer:()=>Wd,UnexpectedResponseException:()=>Hl,Util:()=>bu,VerbosityLevel:()=>Sd,XfaLayer:()=>sl,build:()=>Bu,createValidAbsoluteUrl:()=>Lu,fetchData:()=>N,getDocument:()=>Z,getFilenameFromUrl:()=>j,getPdfFilenameFromUrl:()=>te,getXfaPageViewport:()=>ve,isDataScheme:()=>Ke,isPdfFile:()=>ht,noContextMenu:()=>cn,normalizeUnicode:()=>$t,setLayerDimensions:()=>li,shadow:()=>tr,version:()=>Bi});var h={};g.r(h),g.d(h,{AnnotationLayerBuilder:()=>J0,DownloadManager:()=>ey,EventBus:()=>ty,FindState:()=>ny,GenericL10n:()=>iy,LinkTarget:()=>fh,PDFFindController:()=>ry,PDFHistory:()=>yv,PDFLinkService:()=>Hg,PDFPageView:()=>KC,PDFScriptingManager:()=>sy,PDFSinglePageViewer:()=>oy,PDFViewer:()=>ay,ProgressBar:()=>XC,RenderingStates:()=>bv,ScrollMode:()=>cy,SimpleLinkService:()=>Wg,SpreadMode:()=>vv,StructTreeLayerBuilder:()=>Su,TextLayerBuilder:()=>tp,XfaLayerBuilder:()=>_v,parseQueryString:()=>ly});var H=g(58527),z=g(23329),P=g(77392),C=g(40450),B=g(58468),_=g(47943),q=g(85687),A=g(70650),X={d:(x,t)=>{for(var r in t)X.o(t,r)&&!X.o(x,r)&&Object.defineProperty(x,r,{enumerable:!0,get:t[r]})},o:(x,t)=>Object.prototype.hasOwnProperty.call(x,t)},R=globalThis.pdfjsLib={};X.d(R,{AbortException:()=>Mi,AnnotationEditorLayer:()=>is,AnnotationEditorParamsType:()=>Me,AnnotationEditorType:()=>he,AnnotationEditorUIManager:()=>we,AnnotationLayer:()=>wn,AnnotationMode:()=>Te,ColorPicker:()=>Ti,DOMSVGFactory:()=>nl,DrawLayer:()=>zo,FeatureTest:()=>xn,GlobalWorkerOptions:()=>wo,ImageKind:()=>Se,InvalidPDFException:()=>Wt,MissingPDFException:()=>Wn,OPS:()=>sn,OutputScale:()=>Ur,PDFDataRangeTransport:()=>ml,PDFDateString:()=>nn,PDFWorker:()=>Ts,PasswordResponses:()=>ft,PermissionFlag:()=>ct,PixelsPerInch:()=>rn,RenderingCancelledException:()=>Oi,TextLayer:()=>Br,UnexpectedResponseException:()=>qn,Util:()=>Ye,VerbosityLevel:()=>Yt,XfaLayer:()=>Yo,build:()=>Vc,createValidAbsoluteUrl:()=>_n,fetchData:()=>Vn,getDocument:()=>xo,getFilenameFromUrl:()=>yr,getPdfFilenameFromUrl:()=>ss,getXfaPageViewport:()=>et,isDataScheme:()=>Dr,isPdfFile:()=>mr,noContextMenu:()=>cr,normalizeUnicode:()=>qt,setLayerDimensions:()=>ii,shadow:()=>hn,version:()=>Co});const ne=!("object"!=typeof process||process+""!="[object process]"||process.versions.nw||process.versions.electron&&process.type&&"browser"!==process.type),se=[1,0,0,1,0,0],_e=[.001,0,0,.001,0,0],Te={DISABLE:0,ENABLE:1,ENABLE_FORMS:2,ENABLE_STORAGE:3},he={DISABLE:-1,NONE:0,FREETEXT:3,HIGHLIGHT:9,STAMP:13,INK:15}
3,Me={RESIZE:1,CREATE:2,FREETEXT_SIZE:11,FREETEXT_COLOR:12,FREETEXT_OPACITY:13,INK_COLOR:21,INK_THICKNESS:22,INK_OPACITY:23,HIGHLIGHT_COLOR:31,HIGHLIGHT_DEFAULT_COLOR:32,HIGHLIGHT_THICKNESS:33,HIGHLIGHT_FREE:34,HIGHLIGHT_SHOW_ALL:35},ct={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048},Se={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},Yt={ERRORS:0,WARNINGS:1,INFOS:5},sn={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotation:80,endAnnotation:81,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91,setStrokeTransparent:92,setFillTransparent:93},ft={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};let Tt=Yt.WARNINGS;function rt(){return Tt}function tt(x){Tt>=Yt.INFOS&&console.log(`Info: ${x}`)}function nt(x){Tt>=Yt.WARNINGS&&console.log(`Warning: ${x}`)}function _t(x){throw new Error(x)}function on(x,t){x||_t(t)}function _n(x,t=null,r=null){if(!x)return null;try{if(r&&"string"==typeof x&&(r.addDefaultProtocol&&x.startsWith("www.")&&x.match(/\./g)?.length>=2&&(x=`http://${x}`),r.tryConvertEncoding))try{x=function zn(x){return decodeURIComponent(escape(x))}(x)}catch{}const d=t?new URL(x,t):new URL(x);if(function Hn(x){switch(x?.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}(d))return d}catch{}return null}function hn(x,t,r,d=!1){return Object.defineProperty(x,t,{value:r,enumerable:!d,configurable:!0,writable:!1}),r}const en=function(){function t(r,d){this.message=r,this.name=d}return t.prototype=new Error,t.constructor=t,t}();class Ot extends en{constructor(t,r){super(t,"PasswordException"),this.code=r}}class Gt extends en{constructor(t,r){super(t,"UnknownErrorException"),this.details=r}}class Wt extends en{constructor(t){super(t,"InvalidPDFException")}}class Wn extends en{constructor(t){super(t,"MissingPDFException")}}class qn extends en{constructor(t,r){super(t,"UnexpectedResponseException"),this.status=r}}class Fn extends en{constructor(t){super(t,"FormatError")}}class Mi extends en{constructor(t){super(t,"AbortException")}}function zi(x){("object"!=typeof x||void 0===x?.length)&&_t("Invalid argument for bytesToString");const t=x.length,r=8192;if(t<r)return String.fromCharCode.apply(null,x);const d=[];for(let p=0;p<t;p+=r){const m=Math.min(p+r,t),v=x.subarray(p,m);d.push(String.fromCharCode.apply(null,v))}return d.join("")}function Yi(x){"string"!=typeof x&&_t("Invalid argument for stringToBytes");const t=x.length,r=new Uint8Array(t);for(let d=0;d<t;++d)r[d]=255&x.charCodeAt(d);return r}function Rt(x){const t=Object.create(null);for(const[r,d]of x)t[r]=d;return t}class xn{static get isLittleEndian(){return hn(this,"isLittleEndian",function Xt(){const x=new Uint8Array(4);return x[0]=1,1===new Uint32Array(x.buffer,0,1)[0]}())}static get isEvalSupported(){return hn(this,"isEvalSupported",function Dt(){try{return new Function(""),!0}catch{return!1}}())}static get isOffscreenCanvasSupported(){return hn(this,"isOffscreenCanvasSupported",typeof OffscreenCanvas<"u")}static get platform(){return typeof navigator<"u"&&"string"==typeof navigator?.platform?hn(this,"platform",{isMac:navigator.platform.includes("Mac"),isWindows:navigator.platform.includes("Win"),isFirefox:"string"==typeof navigator?.userAgent&&navigator.userAgent.includes("Firefox")}):hn(this,"platform",{isMac:!1,isWindows:!1,isFirefox:!1})}static get isCSSRoundSupported(){return hn(this,"isCSSRoundSupported",globalThis.CSS?.supports?.("width: round(1.5px, 1px)"))}}const Oe=Array.from(Array(256).keys(),x=>x.toString(16).padStart(2,"0"));class Ye{static makeHexColor(t,r,d){return`#${Oe[t]}${Oe[r]}${Oe[d]}`}static scaleMinMax(t,r){let d;t[0]?(t[0]<0&&(d=r[0],r[0]=r[2],r[2]=d),r[0]*=t[0],r[2]*=t[0],t[3]<0&&(d=r[1],r[1]=r[3],r[3]=d),r[1]*=t[3],r[3]*=t[3]):(d=r[0],r[0]=r[1],r[1]=d,d=r[2],r[2]=r[3],r[3]=d,t[1]<0&&(d=r[1],r[1]=r[3],r[3]=d),r[1]*=t[1],r[3]*=t[1],t[2]<0&&(d=r[0],r[0]=r[2],r[2]=d),r[0]*=t[2],r[2]*=t[2]),r[0]+=t[4],r[1]+=t[5],r[2]+=t[4],r[3]+=t[5]}static transform(t,r){return[t[0]*r[0]+t[2]*r[1],t[1]*r[0]+t[3]*r[1],t[0]*r[2]+t[2]*r[3],t[1]*r[2]+t[3]*r[3],t[0]*r[4]+t[2]*r[5]+t[4],t[1]*r[4]+t[3]*r[5]+t[5]]}static applyTransform(t,r){return[t[0]*r[0]+t[1]*r[2]+r[4],t[0]*r[1]+t[1]*r[3]+r[5]]}static applyInverseTransform(t,r){const d=r[0]*r[3]-r[1]*r[2];return[(t[0]*r[3]-t[1]*r[2]+r[2]*r[5]-r[4]*r[3])/d,(-t[0]*r[1]+t[1]*r[0]+r[4]*r[1]-r[5]*r[0])/d]}static getAxialAlignedBoundingBox(t,r){const d=this.applyTransform(t,r),p=this.applyTransform(t.slice(2,4),r),m=this.applyTransform([t[0],t[3]],r),v=this.applyTransform([t[2],t[1]],r);return[Math.min(d[0],p[0],m[0],v[0]),Math.min(d[1],p[1],m[1],v[1]),Math.max(d[0],p[0],m[0],v[0]),Math.max(d[1],p[1],m[1],v[1])]}static inverseTransform(t){const r=t[0]*t[3]-t[1]*t[2];return[t[3]/r,-t[1]/r,-t[2]/r,t[0]/r,(t[2]*t[5]-t[4]*t[3])/r,(t[4]*t[1]-t[5]*t[0])/r]}static singularValueDecompose2dScale(t){const r=[t[0],t[2],t[1],t[3]],d=t[0]*r[0]+t[1]*r[2],v=t[2]*r[1]+t[3]*r[3],w=(d+v)/2,M=Math.sqrt((d+v)*
3*2-4*(d*v-(t[2]*r[0]+t[3]*r[2])*(t[0]*r[1]+t[1]*r[3])))/2,K=w-M||1;return[Math.sqrt(w+M||1),Math.sqrt(K)]}static normalizeRect(t){const r=t.slice(0);return t[0]>t[2]&&(r[0]=t[2],r[2]=t[0]),t[1]>t[3]&&(r[1]=t[3],r[3]=t[1]),r}static intersect(t,r){const d=Math.max(Math.min(t[0],t[2]),Math.min(r[0],r[2])),p=Math.min(Math.max(t[0],t[2]),Math.max(r[0],r[2]));if(d>p)return null;const m=Math.max(Math.min(t[1],t[3]),Math.min(r[1],r[3])),v=Math.min(Math.max(t[1],t[3]),Math.max(r[1],r[3]));return m>v?null:[d,m,p,v]}static#e(t,r,d,p,m,v,w,M,$,K){if($<=0||$>=1)return;const re=1-$,me=$*$,Ue=me*$,Qe=re*(re*(re*t+3*$*r)+3*me*d)+Ue*p,gt=re*(re*(re*m+3*$*v)+3*me*w)+Ue*M;K[0]=Math.min(K[0],Qe),K[1]=Math.min(K[1],gt),K[2]=Math.max(K[2],Qe),K[3]=Math.max(K[3],gt)}static#t(t,r,d,p,m,v,w,M,$,K,re,me){if(Math.abs($)<1e-12)return void(Math.abs(K)>=1e-12&&this.#e(t,r,d,p,m,v,w,M,-re/K,me));const Ue=K**2-4*re*$;if(Ue<0)return;const Qe=Math.sqrt(Ue),gt=2*$;this.#e(t,r,d,p,m,v,w,M,(-K+Qe)/gt,me),this.#e(t,r,d,p,m,v,w,M,(-K-Qe)/gt,me)}static bezierBoundingBox(t,r,d,p,m,v,w,M,$){return $?($[0]=Math.min($[0],t,w),$[1]=Math.min($[1],r,M),$[2]=Math.max($[2],t,w),$[3]=Math.max($[3],r,M)):$=[Math.min(t,w),Math.min(r,M),Math.max(t,w),Math.max(r,M)],this.#t(t,d,m,w,r,p,v,M,3*(3*(d-m)-t+w),6*(t-2*d+m),3*(d-t),$),this.#t(t,d,m,w,r,p,v,M,3*(3*(p-v)-r+M),6*(r-2*p+v),3*(p-r),$),$}}let xt=null,Sn=null;function qt(x){return xt||(xt=/([\u00a0\u00b5\u037e\u0eb3\u2000-\u200a\u202f\u2126\ufb00-\ufb04\ufb06\ufb20-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufba1\ufba4-\ufba9\ufbae-\ufbb1\ufbd3-\ufbdc\ufbde-\ufbe7\ufbea-\ufbf8\ufbfc-\ufbfd\ufc00-\ufc5d\ufc64-\ufcf1\ufcf5-\ufd3d\ufd88\ufdf4\ufdfa-\ufdfb\ufe71\ufe77\ufe79\ufe7b\ufe7d]+)|(\ufb05+)/gu,Sn=new Map([["\ufb05","\u017ft"]])),x.replaceAll(xt,(t,r,d)=>r?r.normalize("NFKC"):Sn.get(d))}const ai="pdfjs_internal_id_",pt="http://www.w3.org/2000/svg";class rn{static CSS=96;static PDF=72;static PDF_TO_CSS_UNITS=this.CSS/this.PDF}function Vn(x){return oi.apply(this,arguments)}function oi(){return(oi=(0,A.A)(function*(x,t="text"){if(ds(x,document.baseURI)){const r=yield fetch(x);if(!r.ok)throw new Error(r.statusText);switch(t){case"arraybuffer":return r.arrayBuffer();case"blob":return r.blob();case"json":return r.json()}return r.text()}return new Promise((r,d)=>{const p=new XMLHttpRequest;p.open("GET",x,!0),p.responseType=t,p.onreadystatechange=()=>{if(p.readyState===XMLHttpRequest.DONE){if(200===p.status||0===p.status){switch(t){case"arraybuffer":case"blob":case"json":return void r(p.response)}return void r(p.responseText)}d(new Error(p.statusText))}},p.send(null)})})).apply(this,arguments)}class hi{constructor({viewBox:t,scale:r,rotation:d,offsetX:p=0,offsetY:m=0,dontFlip:v=!1}){this.viewBox=t,this.scale=r,this.rotation=d,this.offsetX=p,this.offsetY=m;const w=(t[2]+t[0])/2,M=(t[3]+t[1])/2;let $,K,re,me,Ue,Qe,gt,It;switch((d%=360)<0&&(d+=360),d){case 180:$=-1,K=0,re=0,me=1;break;case 90:$=0,K=1,re=1,me=0;break;case 270:$=0,K=-1,re=-1,me=0;break;case 0:$=1,K=0,re=0,me=-1;break;default:throw new Error("PageViewport: Invalid rotation, must be a multiple of 90 degrees.")}v&&(re=-re,me=-me),0===$?(Ue=Math.abs(M-t[1])*r+p,Qe=Math.abs(w-t[0])*r+m,gt=(t[3]-t[1])*r,It=(t[2]-t[0])*r):(Ue=Math.abs(w-t[0])*r+p,Qe=Math.abs(M-t[1])*r+m,gt=(t[2]-t[0])*r,It=(t[3]-t[1])*r),this.transform=[$*r,K*r,re*r,me*r,Ue-$*r*w-re*r*M,Qe-K*r*w-me*r*M],this.width=gt,this.height=It}get rawDims(){const{viewBox:t}=this;return hn(this,"rawDims",{pageWidth:t[2]-t[0],pageHeight:t[3]-t[1],pageX:t[0],pageY:t[1]})}clone({scale:t=this.scale,rotation:r=this.rotation,offsetX:d=this.offsetX,offsetY:p=this.offsetY,dontFlip:m=!1}={}){return new hi({viewBox:this.viewBox.slice(),scale:t,rotation:r,offsetX:d,offsetY:p,dontFlip:m})}convertToViewportPoint(t,r){return Ye.applyTransform([t,r],this.transform)}convertToViewportRectangle(t){const r=Ye.applyTransform([t[0],t[1]],this.transform),d=Ye.applyTransform([t[2],t[3]],this.transform);return[r[0],r[1],d[0],d[1]]}convertToPdfPoint(t,r){return Ye.applyInverseTransform([t,r],this.transform)}}class Oi extends en{constructor(t,r=0){super(t,"RenderingCancelledException"),this.extraDelay=r}}function Dr(x){const t=x.length;let r=0;for(;r<t&&""===x[r].trim();)r++;return"data:"===x.substring(r,r+5).toLowerCase()}function mr(x){return"string"==typeof x&&/\.pdf$/i.test(x)}function yr(x){return[x]=x.split(/[#?]/,1),x.substring(x.lastIndexOf("/")+1)}function ss(x,t="document.pdf"){if("string"!=typeof x)return t;if(Dr(x))return nt('getPdfFilenameFromUrl: ignore "data:"-URL for performance reasons.'),t;const d=/[^/?#=]+\.pdf\b(?!.*\.pdf\b)/i,p=/^(?:(?:[^:]+:)?\/\/[^/]+)?([^?#]*)(\?[^#]*)?(#.*)?$/.exec(x);let m=d.exec(p[1])||d.exec(p[2])||d.exec(p[3]);if(m&&(m=m[0],m.includes("%")))try{m=d.exec(decodeURIComponent(m))[0]}catch{}return m||t}class Di{started=Object.create(null);times=[];time(t){t in this.started&&nt(`Timer is already running for ${t}`),this.started[t]=Date.now()}timeEnd(t){t in this.started||nt(`Timer has not been started for ${t}`),this.times.push({name:t,start:this.started[t],end:Date.now()}),delete this.started[t]}toString(){const t=[];let r=0;for(const{name:d}of this.times)r=Math.max(d.length,r);for(const{name:d,start:p,end:m}of this.times)t.push(`${d.padEnd(r)} ${m-p}ms\n`);return t.join("")}}function ds(x,t){try{const{protocol:r}=t?new URL(x,t):new URL(x);return"http:"===r||"https:"===r}catch{return!1}}function cr(x){x.preventDefault()}function jt(x){console.log("Deprecated API usage: "+x)}class nn{static#e;static toDateObject(t){if(!t||"string"!=typeof t)return null;this.#e||=new RegExp("^D:(\\d{4})(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?([Z|+|-])?(\\d{2})?'?(\\d{2})?'?");const r=this.#e.exec(t);if(!r)return null;const d=parseInt(r[1],10);let p=parseInt(r[2],10);p=p>=1&&p<=12?p-1:0;let m=parseInt(r[3],10);m=m>=1&&m<=31?m:1;let v=parseInt(r[4],10);v=v>=0&&v<=23?v:0;let w=parseInt(r[5],10);w=w>=0&&w<=59?w:0;let M=parseInt(r[6],10);M=M>=0&&M<=59?M:0;const $=r[7]||"Z";let K=parseInt(r[8],10);K=K>=0&&K<=23?K:0;let re=parseInt(r[9],10)||0;return re=re>=0&&re<=59?re:0,"-"===$?(v+=K,w+=re):"+"===$&&(v-=K,w-=re),new Date(Date.UTC(d,p,m,v,w,M))}}function et(x,{scale:t=1,rotation:r=0}){const{width:d,height:p}=x.attributes.style,m=[0,0,parseInt(d),parseInt(p)];return new hi({viewBox:m,scale:t,rotation:r})}function Zt(x){if(x.startsWith("#")){const t=parseInt(x.slice(1),16);return[(16711680&t)>>16,(65280&t)>>8,255&t]}return x.startsWith("rgb(")?x.slice(4,-1).split(",").map(t=>parseInt(t)):x.startsWith("rgba(")?x.slice(5,-1).split(",").map(t=>parseInt(t)).slice(0,3):(nt(`Not a valid color format: "${x}"`),[0,0,0])}function Yn(x){const{a:t,b:r,c:d,d:p,e:m,f:v}=x.getTransform();return[t,r,d,p,m,v]}function Wi(x){const{a:t,b:r,c:d,d:p,e:m,f:v}=x.getTransform().invertSelf();return[t,r,d,p,m,v]}function ii(x,t,r=!1,d=!0){if(t instanceof hi){const{pageWidth:p,pageHeight:m}=t.rawDims,{style:v}=x,w=xn.isCSSRoundSupported,M=`var(--scale-factor) * ${p}px`,$=`var(--scale-factor) * ${m}px`,K=w?`round(down, ${M}, var(--scale-round-x, 1px))`:`calc(${M})`,re=w?`round(down, ${$}, var(--scale-round-y, 1px))`:`calc(${$})`;r&&t.rotation%180!=0?(v.width=re,v.height=K):(v.width=K,v.height=re)}d&&x.setAttribute("data-main-rotation",t.rotation)}
3class Ur{constructor(){const t=window.devicePixelRatio||1;this.sx=t,this.sy=t}get scaled(){return 1!==this.sx||1!==this.sy}get symmetric(){return this.sx===this.sy}}class sr{#e=null;#t=null;#n;#i=null;#r=null;static#s=null;constructor(t){this.#n=t,sr.#s||=Object.freeze({freetext:"pdfjs-editor-remove-freetext-button",highlight:"pdfjs-editor-remove-highlight-button",ink:"pdfjs-editor-remove-ink-button",stamp:"pdfjs-editor-remove-stamp-button"})}render(){const t=this.#e=document.createElement("div");t.classList.add("editToolbar","hidden"),t.setAttribute("role","toolbar");const r=this.#n._uiManager._signal;t.addEventListener("contextmenu",cr,{signal:r}),t.addEventListener("pointerdown",sr.#c,{signal:r});const d=this.#i=document.createElement("div");d.className="buttons",t.append(d);const p=this.#n.toolbarPosition;if(p){const{style:m}=t,v="ltr"===this.#n._uiManager.direction?1-p[0]:p[0];m.insetInlineEnd=100*v+"%",m.top=`calc(${100*p[1]}% + var(--editor-toolbar-vert-offset))`}return this.#u(),t}get div(){return this.#e}static#c(t){t.stopPropagation()}#l(t){this.#n._focusEventsAllowed=!1,t.preventDefault(),t.stopPropagation()}#d(t){this.#n._focusEventsAllowed=!0,t.preventDefault(),t.stopPropagation()}#a(t){const r=this.#n._uiManager._signal;t.addEventListener("focusin",this.#l.bind(this),{capture:!0,signal:r}),t.addEventListener("focusout",this.#d.bind(this),{capture:!0,signal:r}),t.addEventListener("contextmenu",cr,{signal:r})}hide(){this.#e.classList.add("hidden"),this.#t?.hideDropdown()}show(){this.#e.classList.remove("hidden"),this.#r?.shown()}#u(){const{editorType:t,_uiManager:r}=this.#n,d=document.createElement("button");d.className="delete",d.tabIndex=0,d.setAttribute("data-l10n-id",sr.#s[t]),this.#a(d),d.addEventListener("click",p=>{r.delete()},{signal:r._signal}),this.#i.append(d)}get#o(){const t=document.createElement("div");return t.className="divider",t}addAltText(t){var r=this;return(0,A.A)(function*(){const d=yield t.render();r.#a(d),r.#i.prepend(d,r.#o),r.#r=t})()}addColorPicker(t){this.#t=t;const r=t.renderButton();this.#a(r),this.#i.prepend(r,this.#o)}remove(){this.#e.remove(),this.#t?.destroy(),this.#t=null}}class lr{#e=null;#t=null;#n;constructor(t){this.#n=t}#i(){const t=this.#t=document.createElement("div");t.className="editToolbar",t.setAttribute("role","toolbar"),t.addEventListener("contextmenu",cr,{signal:this.#n._signal});const r=this.#e=document.createElement("div");return r.className="buttons",t.append(r),this.#s(),t}#r(t,r){let d=0,p=0;for(const m of t){const v=m.y+m.height;if(v<d)continue;const w=m.x+(r?m.width:0);v>d?(p=w,d=v):r?w>p&&(p=w):w<p&&(p=w)}return[r?1-p:p,d]}show(t,r,d){const[p,m]=this.#r(r,d),{style:v}=this.#t||=this.#i();t.append(this.#t),v.insetInlineEnd=100*p+"%",v.top=`calc(${100*m}% + var(--editor-toolbar-vert-offset))`}hide(){this.#t.remove()}#s(){const t=document.createElement("button");t.className="highlightButton",t.tabIndex=0,t.setAttribute("data-l10n-id","pdfjs-highlight-floating-button1");const r=document.createElement("span");t.append(r),r.className="visuallyHidden",r.setAttribute("data-l10n-id","pdfjs-highlight-floating-button-label");const d=this.#n._signal;t.addEventListener("contextmenu",cr,{signal:d}),t.addEventListener("click",()=>{this.#n.highlightSelection("floating_button")},{signal:d}),this.#e.append(t)}}function us(x,t,r){for(const d of r)t.addEventListener(d,x[d].bind(x))}class ho{#e=0;get id(){return"pdfjs_internal_editor_"+this.#e++}}class _o{#e=function Cn(){if(typeof crypto<"u"&&"function"==typeof crypto?.randomUUID)return crypto.randomUUID();const x=new Uint8Array(32);if(typeof crypto<"u"&&"function"==typeof crypto?.getRandomValues)crypto.getRandomValues(x);else for(let t=0;t<32;t++)x[t]=Math.floor(255*Math.random());return zi(x)}();#t=0;#n=null;static get _isSVGFittingCanvas(){const d=new OffscreenCanvas(1,3).getContext("2d",{willReadFrequently:!0}),p=new Image;return p.src='data:image/svg+xml;charset=UTF-8,<svg viewBox="0 0 1 1" width="1" height="1" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" style="fill:red;"/></svg>',hn(this,"_isSVGFittingCanvas",p.decode().then(()=>(d.drawImage(p,0,0,1,1,0,0,1,3),0===new Uint32Array(d.getImageData(0,0,1,1).data.buffer)[0])))}#i(t,r){var d=this;return(0,A.A)(function*(){d.#n||=new Map;let p=d.#n.get(t);if(null===p)return null;if(p?.bitmap)return p.refCounter+=1,p;try{let m;if(p||={bitmap:null,id:`image_${d.#e}_${d.#t++}`,refCounter:0,isSvg:!1},"string"==typeof r?(p.url=r,m=yield Vn(r,"blob")):r instanceof File?m=p.file=r:r instanceof Blob&&(m=r),"image/svg+xml"===m.type){const v=_o._isSVGFittingCanvas,w=new FileReader,M=new Image,$=new Promise((K,re)=>{M.onload=()=>{p.bitmap=M,p.isSvg=!0,K()},w.onload=(0,A.A)(function*(){const me=p.svgUrl=w.result;M.src=(yield v)?`${me}#svgView(preserveAspectRatio(none))`:me}),M.onerror=w.onerror=re});w.readAsDataURL(m),yield $}else p.bitmap=yield createImageBitmap(m);p.refCounter=1}catch(m){console.error(m),p=null}return d.#n.set(t,p),p&&d.#n.set(p.id,p),p})()}getFromFile(t){var r=this;return(0,A.A)(function*(){const{lastModified:d,name:p,size:m,type:v}=t;return r.#i(`${d}_${p}_${m}_${v}`,t)})()}getFromUrl(t){var r=this;return(0,A.A)(function*(){return r.#i(t,t)})()}getFromBlob(t,r){var d=this;return(0,A.A)(function*(){const p=yield r;return d.#i(t,p)})()}getFromId(t){var r=this;return(0,A.A)(function*(){r.#n||=new Map;const d=r.#n.get(t);if(!d)return null;if(d.bitmap)return d.refCounter+=1,d;if(d.file)return r.getFromFile(d.file);if(d.blobPromise){const{blobPromise:p}=d;return delete d.blobPromise,r.getFromBlob(d.id,p)}return r.getFromUrl(d.url)})()}getFromCanvas(t,r){this.#n||=new Map;let d=this.#n.get(t);if(d?.bitmap)return d.refCounter+=1,d;const p=new OffscreenCanvas(r.width,r.height);return p.getContext("2d").drawImage(r,0,0),d={bitmap:p.transferToImageBitmap(),id:`image_${this.#e}_${this.#t++}`,refCounter:1,isSvg:!1},this.#n.set(t,d),this.#n.set(d.id,d),d}getSvgUrl(t){const r=this.#n.get(t);return r?.isSvg?r.svgUrl:null}deleteId(t){this.#n||=new Map;const r=this.#n.get(t);if(!r||(r.refCounter-=1,0!==r.refCounter))return;const{bitmap:d}=r;if(!r.url&&!r.file){const p=new OffscreenCanvas(d.width,d.height);p.getContext("bitmaprenderer").transferFromImageBitmap(d),r.blobPromise=p.convertToBlob()}d.close?.(),r.bitmap=null}isValidId(t){return t.startsWith(`image_${this.#e}_`)}}class ko{#e=[];#t=!1;#n;#i=-1;constructor(t=128){this.#n=t}add({cmd:t,undo:r,post:d,mustExec:p,type:m=NaN,overwriteIfSameType:v=!1,keepUndo:w=!1}){if(p&&t(),this.#t)return;const M={cmd:t,undo:r,post:d,type:m};if(-1===this.#i)return this.#e.length>0&&(this.#e.length=0),this.#i=0,void this.#e.push(M);if(v&&this.#e[this.#i].type===m)return w&&(M.undo=this.#e[this.#i].undo),void(this.#e[this.#i]=M);const $=this.#i+1;$===this.#n?this.#e.splice(0,1):(this.#i=$,$<this.#e.length&&this.#e.splice($)),this.#e.push(M)}undo(){if(-1===this.#i)return;this.#t=!0;const{undo:t,post:r}=this.#e[this.#i];t(),r?.(),this.#t=!1,this.#i-=1}redo(){if(this.#i<this.#e.length-1){this.#i+=1,this.#t=!0;const{cmd:t,post:r}=this.#e[this.#i];t(),r?.(),this.#t=!1}}hasSomethingToUndo(){return-1!==this.#i}hasSomethingToRedo(){return this.#i<this.#e.length-1}destroy(){this.#e=null}}class We{constructor(t){this.buffer=[],this.callbacks=new Map,this.allKeys=new Set;const{isMac:r}=xn.platform;for(const[d,p,m={}]of t)for(const v of d){const w=v.startsWith("mac+");r&&w?(this.callbacks.set(v.slice(4),{callback:p,options:m}),this.allKeys.add(v.split("+").at(-1))):!r&&!w&&(this.callbacks.set(v,{callback:p,options:m}),this.allKeys.add(v.split("+").at(-1)))}}#e(t){t.altKey&&this.buffer.push("alt"),t.ctrlKey&&this.buffer.push("ctrl"),t.metaKey&&this.buffer.push("meta"),t.shiftKey&&this.buffer.push("shift"),this.buffer.push(t.key);const r=this.buffer.join("+");return this.buffer.length=0,r}exec(t,r){if(!this.allKeys.has(r.key))return;const d=this.callbacks.get(this.#e(r));if(!d)return;const{callback:p,options:{bubbles:m=!1,args:v=[],checker:w=null}}=d;w&&!w(t,r)||(p.bind(t,...v,r)(),m||(r.stopPropagation(),r.preventDefault()))}}class be{static _colorsMapping=new Map([["CanvasText",[0,0,0]],["Canvas",[255,255,255]]]);get _colors(){const t=new Map([["CanvasText",null],["Canvas",null]]);return function At(x){const t=document.createElement("span");t.style.visibility="hidden",document.body.append(t);for(const r of x.keys()){t.style.color=r;const d=window.getComputedStyle(t).color;x.set(r,Zt(d))}t.remove()}(t),hn(this,"_colors",t)}convert(t){const r=Zt(t);if(!window.matchMedia("(forced-colors: active)").matches)return r;for(const[d,p]of this._colors)if(p.every((m,v)=>m===r[v]))return be._colorsMapping.get(d);return r}getHexCode(t){const r=this._colors.get(t);return r?Ye.makeHexColor(...r):t}}let we=(()=>{class x{#e=new AbortController;#t=null;#n=new Map;#i=new Map;#r=null;#s=null;#c=null;#l=new ko;#d=null;#a=0;
vendor: 4,983 bytes, line 3
3#u=new Set;#o=null;#h=null;#p=new Set;#f=!1;#g=!1;#y=!1;#m=null;#b=null;#_=null;#C=null;#F=!1;#w=null;#A=new ho;#D=!1;#E=!1;#x=null;#S=null;#T=null;#P=null;#k=he.NONE;#v=new Set;#M=null;#O=null;#B=null;#V={isEditing:!1,isEmpty:!0,hasSomethingToUndo:!1,hasSomethingToRedo:!1,hasSelectedEditor:!1,hasSelectedText:!1};#j=[0,0];#R=null;#L=null;#U=null;#I=null;static TRANSLATE_SMALL=1;static TRANSLATE_BIG=10;static get _keyboardManager(){const r=x.prototype,d=w=>w.#L.contains(document.activeElement)&&"BUTTON"!==document.activeElement.tagName&&w.hasSomethingToControl(),p=(w,{target:M})=>{if(M instanceof HTMLInputElement){const{type:$}=M;return"text"!==$&&"number"!==$}return!0},m=this.TRANSLATE_SMALL,v=this.TRANSLATE_BIG;return hn(this,"_keyboardManager",new We([[["ctrl+a","mac+meta+a"],r.selectAll,{checker:p}],[["ctrl+z","mac+meta+z"],r.undo,{checker:p}],[["ctrl+y","ctrl+shift+z","mac+meta+shift+z","ctrl+shift+Z","mac+meta+shift+Z"],r.redo,{checker:p}],[["Backspace","alt+Backspace","ctrl+Backspace","shift+Backspace","mac+Backspace","mac+alt+Backspace","mac+ctrl+Backspace","Delete","ctrl+Delete","shift+Delete","mac+Delete"],r.delete,{checker:p}],[["Enter","mac+Enter"],r.addNewEditorFromKeyboard,{checker:(w,{target:M})=>!(M instanceof HTMLButtonElement)&&w.#L.contains(M)&&!w.isEnterHandled}],[[" ","mac+ "],r.addNewEditorFromKeyboard,{checker:(w,{target:M})=>!(M instanceof HTMLButtonElement)&&w.#L.contains(document.activeElement)}],[["Escape","mac+Escape"],r.unselectAll],[["ArrowLeft","mac+ArrowLeft"],r.translateSelectedEditors,{args:[-m,0],checker:d}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],r.translateSelectedEditors,{args:[-v,0],checker:d}],[["ArrowRight","mac+ArrowRight"],r.translateSelectedEditors,{args:[m,0],checker:d}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],r.translateSelectedEditors,{args:[v,0],checker:d}],[["ArrowUp","mac+ArrowUp"],r.translateSelectedEditors,{args:[0,-m],checker:d}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],r.translateSelectedEditors,{args:[0,-v],checker:d}],[["ArrowDown","mac+ArrowDown"],r.translateSelectedEditors,{args:[0,m],checker:d}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],r.translateSelectedEditors,{args:[0,v],checker:d}]]))}constructor(r,d,p,m,v,w,M,$,K,re,me){const Ue=this._signal=this.#e.signal;this.#L=r,this.#U=d,this.#r=p,this._eventBus=m,m._on("editingaction",this.onEditingAction.bind(this),{signal:Ue}),m._on("pagechanging",this.onPageChanging.bind(this),{signal:Ue}),m._on("scalechanging",this.onScaleChanging.bind(this),{signal:Ue}),m._on("rotationchanging",this.onRotationChanging.bind(this),{signal:Ue}),m._on("setpreference",this.onSetPreference.bind(this),{signal:Ue}),m._on("switchannotationeditorparams",Qe=>this.updateParams(Qe.type,Qe.value),{signal:Ue}),this.#ee(),this.#re(),this.#K(),this.#s=v.annotationStorage,this.#m=v.filterFactory,this.#O=w,this.#C=M||null,this.#f=$,this.#g=K,this.#y=re,this.#P=me||null,this.viewParameters={realScale:rn.PDF_TO_CSS_UNITS,rotation:0},this.isShiftKeyDown=!1}destroy(){this.#I?.resolve(),this.#I=null,this.#e?.abort(),this.#e=null,this._signal=null;for(const r of this.#i.values())r.destroy();this.#i.clear(),this.#n.clear(),this.#p.clear(),this.#t=null,this.#v.clear(),this.#l.destroy(),this.#r?.destroy(),this.#w?.hide(),this.#w=null,this.#b&&(clearTimeout(this.#b),this.#b=null),this.#R&&(clearTimeout(this.#R),this.#R=null)}combinedSignal(r){return AbortSignal.any([this._signal,r.signal])}get mlManager(){return this.#P}get useNewAltTextFlow(){return this.#g}get useNewAltTextWhenAddingImage(){return this.#y}get hcmFilter(){return hn(this,"hcmFilter",this.#O?this.#m.addHCMFilter(this.#O.foreground,this.#O.background):"none")}get direction(){return hn(this,"direction",getComputedStyle(this.#L).direction)}get highlightColors(){return hn(this,"highlightColors",this.#C?new Map(this.#C.split(",").map(r=>r.split("=").map(d=>d.trim()))):null)}get highlightColorNames(){return hn(this,"highlightColorNames",this.highlightColors?new Map(Array.from(this.highlightColors,r=>r.reverse())):null)}setMainHighlightColorPicker(r){this.#T=r}editAltText(r,d=!1){this.#r?.editAltText(this,r,d)}switchToMode(r,d){this._eventBus.on("annotationeditormodechanged",d,{once:!0,signal:this._signal}),this._eventBus.dispatch("showannotationeditorui",{source:this,mode:r})}setPreference(r,d){this._eventBus.dispatch("setpreference",{source:this,name:r,value:d})}onSetPreference({name:r,value:d}){"enableNewAltTextWhenAddingImage"===r&&(this.#y=d)}onPageChanging({pageNumber:r}){this.#a=r-1}focusMainContainer(){this.#L.focus()}findParent(r,d){for(const p of this.#i.values()){const{x:m,y:v,width:w,height:M}=p.div.getBoundingClientRect();if(r>=m&&r<=m+w&&d>=v&&d<=v+M)return p}return null}disableUserSelect(r=!1){this.#U.classList.toggle("noUserSelect",r)}addShouldRescale(r){this.#p.add(r)}removeShouldRescale(r){this.#p.delete(r)}onScaleChanging({scale:r}){this.commitOrRemove(),this.viewParameters.realScale=r*rn.PDF_TO_CSS_UNITS;for(const d of this.#p)d.onScaleChanging()}
3onRotationChanging({pagesRotation:r}){this.commitOrRemove(),this.viewParameters.rotation=r}#H({anchorNode:r}){return r.nodeType===Node.TEXT_NODE?r.parentElement:r}#G(r){const{currentLayer:d}=this;if(d.hasTextLayer(r))return d;for(const p of this.#i.values())if(p.hasTextLayer(r))return p;return null}highlightSelection(r=""){const d=document.getSelection();if(!d||d.isCollapsed)return;const{anchorNode:p,anchorOffset:m,focusNode:v,focusOffset:w}=d,M=d.toString(),K=this.#H(d).closest(".textLayer"),re=this.getSelectionBoxes(K);if(!re)return;d.empty();const me=this.#G(K),Ue=this.#k===he.NONE,Qe=()=>{me?.createAndAddNewEditor({x:0,y:0},!1,{methodOfCreation:r,boxes:re,anchorNode:p,anchorOffset:m,focusNode:v,focusOffset:w,text:M}),Ue&&this.showAllEditors("highlight",!0,!0)};Ue?this.switchToMode(he.HIGHLIGHT,Qe):Qe()}#Z(){const r=document.getSelection();if(!r||r.isCollapsed)return;const p=this.#H(r).closest(".textLayer"),m=this.getSelectionBoxes(p);m&&(this.#w||=new lr(this),this.#w.show(p,m,"ltr"===this.direction))}addToAnnotationStorage(r){!r.isEmpty()&&this.#s&&!this.#s.has(r.id)&&this.#s.setValue(r.id,r)}#J(){const r=document.getSelection();if(!r||r.isCollapsed)return void(this.#M&&(this.#w?.hide(),this.#M=null,this.#N({hasSelectedText:!1})));const{anchorNode:d}=r;if(d===this.#M)return;const m=this.#H(r).closest(".textLayer");if(m){if(this.#w?.hide(),this.#M=d,this.#N({hasSelectedText:!0}),(this.#k===he.HIGHLIGHT||this.#k===he.NONE)&&(this.#k===he.HIGHLIGHT&&this.showAllEditors("highlight",!0,!0),this.#F=this.isShiftKeyDown,!this.isShiftKeyDown)){const v=this.#k===he.HIGHLIGHT?this.#G(m):null;v?.toggleDrawing();const w=new AbortController,M=this.combinedSignal(w),$=K=>{"pointerup"===K.type&&0!==K.button||(w.abort(),v?.toggleDrawing(!0),"pointerup"===K.type&&this.#W("main_toolbar"))};window.addEventListener("pointerup",$,{signal:M}),window.addEventListener("blur",$,{signal:M})}}else this.#M&&(this.#w?.hide(),this.#M=null,this.#N({hasSelectedText:!1}))}#W(r=""){this.#k===he.HIGHLIGHT?this.highlightSelection(r):this.#f&&this.#Z()}#ee(){document.addEventListener("selectionchange",this.#J.bind(this),{signal:this._signal})}#te(){if(this.#_)return;this.#_=new AbortController;const r=this.combinedSignal(this.#_);window.addEventListener("focus",this.focus.bind(this),{signal:r}),window.addEventListener("blur",this.blur.bind(this),{signal:r})}#ne(){this.#_?.abort(),this.#_=null}blur(){if(this.isShiftKeyDown=!1,this.#F&&(this.#F=!1,this.#W("main_toolbar")),!this.hasSelection)return;const{activeElement:r}=document;for(const d of this.#v)if(d.div.contains(r)){this.#S=[d,r],d._focusEventsAllowed=!1;break}}focus(){if(!this.#S)return;const[r,d]=this.#S;this.#S=null,d.addEventListener("focusin",()=>{r._focusEventsAllowed=!0},{once:!0,signal:this._signal}),d.focus()}#K(){if(this.#x)return;this.#x=new AbortController;const r=this.combinedSignal(this.#x);window.addEventListener("keydown",this.keydown.bind(this),{signal:r}),window.addEventListener("keyup",this.keyup.bind(this),{signal:r})}#ie(){this.#x?.abort(),this.#x=null}#X(){if(this.#d)return;this.#d=new AbortController;const r=this.combinedSignal(this.#d);document.addEventListener("copy",this.copy.bind(this),{signal:r}),document.addEventListener("cut",this.cut.bind(this),{signal:r}),document.addEventListener("paste",this.paste.bind(this),{signal:r})}#Y(){this.#d?.abort(),this.#d=null}#re(){const r=this._signal;document.addEventListener("dragover",this.dragOver.bind(this),{signal:r}),document.addEventListener("drop",this.drop.bind(this),{signal:r})}addEditListeners(){this.#K(),this.#X()}removeEditListeners(){this.#ie(),this.#Y()}dragOver(r){for(const{type:d}of r.dataTransfer.items)for(const p of this.#h)if(p.isHandlingMimeForPasting(d))return r.dataTransfer.dropEffect="copy",void r.preventDefault()}drop(r){for(const d of r.dataTransfer.items)for(const p of this.#h)if(p.isHandlingMimeForPasting(d.type))return p.paste(d,this.currentLayer),void r.preventDefault()}copy(r){if(r.preventDefault(),this.#t?.commitOrRemove(),!this.hasSelection)return;const d=[];for(const p of this.#v){const m=p.serialize(!0);m&&d.push(m)}0!==d.length&&r.clipboardData.setData("application/pdfjs",JSON.stringify(d))}cut(r){this.copy(r),this.delete()}paste(r){var d=this;return(0,A.A)(function*(){r.preventDefault();const{clipboardData:p}=r;for(const w of p.items)for(const M of d.#h)if(M.isHandlingMimeForPasting(w.type))return void M.paste(w,d.currentLayer);let m=p.getData("application/pdfjs");if(!m)return;try{m=JSON.parse(m)}catch(w){return void nt(`paste: "${w.message}".`)}if(!Array.isArray(m))return;d.unselectAll();const v=d.currentLayer;try{const w=[];for(const K of m){const re=yield v.deserialize(K);if(!re)return;w.push(re)}const M=()=>{for(const K of w)d.#q(K);d.#Q(w)};d.addCommands({cmd:M,undo:()=>{for(const K of w)K.remove()},mustExec:!0})}catch(w){nt(`paste: "${w.message}".`)}})()}keydown(r){!this.isShiftKeyDown&&"Shift"===r.key&&(this.isShiftKeyDown=!0),this.#k!==he.NONE&&!this.isEditorHandlingKeyboard&&x._keyboardManager.exec(this,r)}keyup(r){this.isShiftKeyDown&&"Shift"===r.key&&(this.isShiftKeyDown=!1,this.#F&&(this.#F=!1,this.#W("main_toolbar")))}onEditingAction({name:r}){switch(r){case"undo":case"redo":case"delete":case"selectAll":this[r]();break;case"highlightSelection":this.highlightSelection("context_menu")}}#N(r){Object.entries(r).some(([p,m])=>this.#V[p]!==m)&&(this._eventBus.dispatch("annotationeditorstateschanged",{source:this,details:Object.assign(this.#V,r)}),this.#k===he.HIGHLIGHT&&!1===r.hasSelectedEditor&&this.#z([[Me.HIGHLIGHT_FREE,!0]]))}#z(r){this._eventBus.dispatch("annotationeditorparamschanged",{source:this,details:r})}setEditingState(r){r?(this.#te(),this.#X(),this.#N({isEditing:this.#k!==he.NONE,isEmpty:this.#$(),hasSomethingToUndo:this.#l.hasSomethingToUndo(),hasSomethingToRedo:this.#l.hasSomethingToRedo(),hasSelectedEditor:!1})):(this.#ne(),this.#Y(),this.#N({isEditing:!1}),this.disableUserSelect(!1))}
3registerEditorTypes(r){if(!this.#h){this.#h=r;for(const d of this.#h)this.#z(d.defaultPropertiesToUpdate)}}getId(){return this.#A.id}get currentLayer(){return this.#i.get(this.#a)}getLayer(r){return this.#i.get(r)}get currentPageIndex(){return this.#a}addLayer(r){this.#i.set(r.pageIndex,r),this.#D?r.enable():r.disable()}removeLayer(r){this.#i.delete(r.pageIndex)}updateMode(r){var d=this;return(0,A.A)(function*(p,m=null,v=!1){if(d.#k!==p&&(!d.#I||(yield d.#I.promise,d.#I))){if(d.#I=Promise.withResolvers(),d.#k=p,p===he.NONE)return d.setEditingState(!1),d.#oe(),void d.#I.resolve();d.setEditingState(!0),yield d.#se(),d.unselectAll();for(const w of d.#i.values())w.updateMode(p);if(!m)return v&&d.addNewEditorFromKeyboard(),void d.#I.resolve();for(const w of d.#n.values())w.annotationElementId===m?(d.setSelected(w),w.enterInEditMode()):w.unselect();d.#I.resolve()}}).apply(this,arguments)}addNewEditorFromKeyboard(){this.currentLayer.canCreateNewEmptyEditor()&&this.currentLayer.addNewEditor()}updateToolbar(r){r!==this.#k&&this._eventBus.dispatch("switchannotationeditormode",{source:this,mode:r})}updateParams(r,d){if(this.#h){switch(r){case Me.CREATE:return void this.currentLayer.addNewEditor();case Me.HIGHLIGHT_DEFAULT_COLOR:this.#T?.updateColor(d);break;case Me.HIGHLIGHT_SHOW_ALL:this._eventBus.dispatch("reporttelemetry",{source:this,details:{type:"editing",data:{type:"highlight",action:"toggle_visibility"}}}),(this.#B||=new Map).set(r,d),this.showAllEditors("highlight",d)}for(const p of this.#v)p.updateParams(r,d);for(const p of this.#h)p.updateDefaultParams(r,d)}}showAllEditors(r,d,p=!1){for(const v of this.#n.values())v.editorType===r&&v.show(d);(this.#B?.get(Me.HIGHLIGHT_SHOW_ALL)??!0)!==d&&this.#z([[Me.HIGHLIGHT_SHOW_ALL,d]])}enableWaiting(r=!1){if(this.#E!==r){this.#E=r;for(const d of this.#i.values())r?d.disableClick():d.enableClick(),d.div.classList.toggle("waiting",r)}}#se(){var r=this;return(0,A.A)(function*(){if(!r.#D){r.#D=!0;const d=[];for(const p of r.#i.values())d.push(p.enable());yield Promise.all(d);for(const p of r.#n.values())p.enable()}})()}#oe(){if(this.unselectAll(),this.#D){this.#D=!1;for(const r of this.#i.values())r.disable();for(const r of this.#n.values())r.disable()}}getEditors(r){const d=[];for(const p of this.#n.values())p.pageIndex===r&&d.push(p);return d}getEditor(r){return this.#n.get(r)}addEditor(r){this.#n.set(r.id,r)}removeEditor(r){r.div.contains(document.activeElement)&&(this.#b&&clearTimeout(this.#b),this.#b=setTimeout(()=>{this.focusMainContainer(),this.#b=null},0)),this.#n.delete(r.id),this.unselect(r),(!r.annotationElementId||!this.#u.has(r.annotationElementId))&&this.#s?.remove(r.id)}addDeletedAnnotationElement(r){this.#u.add(r.annotationElementId),this.addChangedExistingAnnotation(r),r.deleted=!0}isDeletedAnnotationElement(r){return this.#u.has(r)}removeDeletedAnnotationElement(r){this.#u.delete(r.annotationElementId),this.removeChangedExistingAnnotation(r),r.deleted=!1}#q(r){const d=this.#i.get(r.pageIndex);d?d.addOrRebuild(r):(this.addEditor(r),this.addToAnnotationStorage(r))}setActiveEditor(r){this.#t!==r&&(this.#t=r,r&&this.#z(r.propertiesToUpdate))}get#ae(){let r=null;for(r of this.#v);return r}updateUI(r){this.#ae===r&&this.#z(r.propertiesToUpdate)}toggleSelected(r){if(this.#v.has(r))return this.#v.delete(r),r.unselect(),void this.#N({hasSelectedEditor:this.hasSelection});this.#v.add(r),r.select(),this.#z(r.propertiesToUpdate),this.#N({hasSelectedEditor:!0})}setSelected(r){for(const d of this.#v)d!==r&&d.unselect();this.#v.clear(),this.#v.add(r),r.select(),this.#z(r.propertiesToUpdate),this.#N({hasSelectedEditor:!0})}isSelected(r){return this.#v.has(r)}get firstSelectedEditor(){return this.#v.values().next().value}unselect(r){r.unselect(),this.#v.delete(r),this.#N({hasSelectedEditor:this.hasSelection})}get hasSelection(){return 0!==this.#v.size}get isEnterHandled(){return 1===this.#v.size&&this.firstSelectedEditor.isEnterHandled}undo(){this.#l.undo(),this.#N({hasSomethingToUndo:this.#l.hasSomethingToUndo(),hasSomethingToRedo:!0,isEmpty:this.#$()})}redo(){this.#l.redo(),this.#N({hasSomethingToUndo:!0,hasSomethingToRedo:this.#l.hasSomethingToRedo(),isEmpty:this.#$()})}addCommands(r){this.#l.add(r),this.#N({hasSomethingToUndo:!0,hasSomethingToRedo:!1,isEmpty:this.#$()})}#$(){if(0===this.#n.size)return!0;
3if(1===this.#n.size)for(const r of this.#n.values())return r.isEmpty();return!1}delete(){if(this.commitOrRemove(),!this.hasSelection)return;const r=[...this.#v];this.addCommands({cmd:()=>{for(const m of r)m.remove()},undo:()=>{for(const m of r)this.#q(m)},mustExec:!0})}commitOrRemove(){this.#t?.commitOrRemove()}hasSomethingToControl(){return this.#t||this.hasSelection}#Q(r){for(const d of this.#v)d.unselect();this.#v.clear();for(const d of r)d.isEmpty()||(this.#v.add(d),d.select());this.#N({hasSelectedEditor:this.hasSelection})}selectAll(){for(const r of this.#v)r.commit();this.#Q(this.#n.values())}unselectAll(){if((!this.#t||(this.#t.commitOrRemove(),this.#k===he.NONE))&&this.hasSelection){for(const r of this.#v)r.unselect();this.#v.clear(),this.#N({hasSelectedEditor:!1})}}translateSelectedEditors(r,d,p=!1){if(p||this.commitOrRemove(),!this.hasSelection)return;this.#j[0]+=r,this.#j[1]+=d;const[m,v]=this.#j,w=[...this.#v];this.#R&&clearTimeout(this.#R),this.#R=setTimeout(()=>{this.#R=null,this.#j[0]=this.#j[1]=0,this.addCommands({cmd:()=>{for(const $ of w)this.#n.has($.id)&&$.translateInPage(m,v)},undo:()=>{for(const $ of w)this.#n.has($.id)&&$.translateInPage(-m,-v)},mustExec:!1})},1e3);for(const $ of w)$.translateInPage(r,d)}setUpDragSession(){if(this.hasSelection){this.disableUserSelect(!0),this.#o=new Map;for(const r of this.#v)this.#o.set(r,{savedX:r.x,savedY:r.y,savedPageIndex:r.pageIndex,newX:0,newY:0,newPageIndex:-1})}}endDragSession(){if(!this.#o)return!1;this.disableUserSelect(!1);const r=this.#o;this.#o=null;let d=!1;for(const[{x:m,y:v,pageIndex:w},M]of r)M.newX=m,M.newY=v,M.newPageIndex=w,d||=m!==M.savedX||v!==M.savedY||w!==M.savedPageIndex;if(!d)return!1;const p=(m,v,w,M)=>{if(this.#n.has(m.id)){const $=this.#i.get(M);$?m._setParentAndPosition($,v,w):(m.pageIndex=M,m.x=v,m.y=w)}};return this.addCommands({cmd:()=>{for(const[m,{newX:v,newY:w,newPageIndex:M}]of r)p(m,v,w,M)},undo:()=>{for(const[m,{savedX:v,savedY:w,savedPageIndex:M}]of r)p(m,v,w,M)},mustExec:!0}),!0}dragSelectedEditors(r,d){if(this.#o)for(const p of this.#o.keys())p.drag(r,d)}rebuild(r){if(null===r.parent){const d=this.getLayer(r.pageIndex);d?(d.changeParent(r),d.addOrRebuild(r)):(this.addEditor(r),this.addToAnnotationStorage(r),r.rebuild())}else r.parent.addOrRebuild(r)}get isEditorHandlingKeyboard(){return this.getActive()?.shouldGetKeyboardEvents()||1===this.#v.size&&this.firstSelectedEditor.shouldGetKeyboardEvents()}isActive(r){return this.#t===r}getActive(){return this.#t}getMode(){return this.#k}get imageManager(){return hn(this,"imageManager",new _o)}getSelectionBoxes(r){if(!r)return null;const d=document.getSelection();for(let K=0,re=d.rangeCount;K<re;K++)if(!r.contains(d.getRangeAt(K).commonAncestorContainer))return null;const{x:p,y:m,width:v,height:w}=r.getBoundingClientRect();let M;switch(r.getAttribute("data-main-rotation")){case"90":M=(K,re,me,Ue)=>({x:(re-m)/w,y:1-(K+me-p)/v,width:Ue/w,height:me/v});break;case"180":M=(K,re,me,Ue)=>({x:1-(K+me-p)/v,y:1-(re+Ue-m)/w,width:me/v,height:Ue/w});break;case"270":M=(K,re,me,Ue)=>({x:1-(re+Ue-m)/w,y:(K-p)/v,width:Ue/w,height:me/v});break;default:M=(K,re,me,Ue)=>({x:(K-p)/v,y:(re-m)/w,width:me/v,height:Ue/w})}const $=[];for(let K=0,re=d.rangeCount;K<re;K++){const me=d.getRangeAt(K);if(!me.collapsed)for(const{x:Ue,y:Qe,width:gt,height:It}of me.getClientRects())0===gt||0===It||$.push(M(Ue,Qe,gt,It))}return 0===$.length?null:$}addChangedExistingAnnotation({annotationElementId:r,id:d}){(this.#c||=new Map).set(r,d)}removeChangedExistingAnnotation({annotationElementId:r}){this.#c?.delete(r)}renderAnnotationElement(r){const d=this.#c?.get(r.data.id);if(!d)return;const p=this.#s.getRawValue(d);p&&(this.#k===he.NONE&&!p.hasBeenModified||p.renderAnnotationElement(r))}}return x})(),Ee=(()=>{class x{#e=null;#t=!1;#n=null;#i=null;#r=null;#s=null;#c=!1;#l=null;#d=null;#a=null;#u=null;#o=!1;static#h=null;static _l10n=null;constructor(r){this.#d=r,this.#o=r._uiManager.useNewAltTextFlow,x.#h||=Object.freeze({added:"pdfjs-editor-new-alt-text-added-button","added-label":"pdfjs-editor-new-alt-text-added-button-label",missing:"pdfjs-editor-new-alt-text-missing-button","missing-label":"pdfjs-editor-new-alt-text-missing-button-label",review:"pdfjs-editor-new-alt-text-to-review-button","review-label":"pdfjs-editor-new-alt-text-to-review-button-label"})}static initialize(r){x._l10n??=r}render(){var r=this;return(0,A.A)(function*(){const d=r.#n=document.createElement("button");d.className="altText",d.tabIndex="0";
3const p=r.#i=document.createElement("span");d.append(p),r.#o?(d.classList.add("new"),d.setAttribute("data-l10n-id",x.#h.missing),p.setAttribute("data-l10n-id",x.#h["missing-label"])):(d.setAttribute("data-l10n-id","pdfjs-editor-alt-text-button"),p.setAttribute("data-l10n-id","pdfjs-editor-alt-text-button-label"));const m=r.#d._uiManager._signal;d.addEventListener("contextmenu",cr,{signal:m}),d.addEventListener("pointerdown",w=>w.stopPropagation(),{signal:m});const v=w=>{w.preventDefault(),r.#d._uiManager.editAltText(r.#d),r.#o&&r.#d._reportTelemetry({action:"pdfjs.image.alt_text.image_status_label_clicked",data:{label:r.#p}})};return d.addEventListener("click",v,{capture:!0,signal:m}),d.addEventListener("keydown",w=>{w.target===d&&"Enter"===w.key&&(r.#c=!0,v(w))},{signal:m}),yield r.#f(),d})()}get#p(){return(this.#e?"added":null===this.#e&&this.guessedText&&"review")||"missing"}finish(){this.#n&&(this.#n.focus({focusVisible:this.#c}),this.#c=!1)}isEmpty(){return this.#o?null===this.#e:!this.#e&&!this.#t}hasData(){return this.#o?null!==this.#e||!!this.#a:this.isEmpty()}get guessedText(){return this.#a}setGuessedText(r){var d=this;return(0,A.A)(function*(){null===d.#e&&(d.#a=r,d.#u=yield x._l10n.get("pdfjs-editor-new-alt-text-generated-alt-text-with-disclaimer",{generatedAltText:r}),d.#f())})()}toggleAltTextBadge(r=!1){if(!this.#o||this.#e)return this.#l?.remove(),void(this.#l=null);if(!this.#l){const d=this.#l=document.createElement("div");d.className="noAltTextBadge",this.#d.div.append(d)}this.#l.classList.toggle("hidden",!r)}serialize(r){let d=this.#e;return!r&&this.#a===d&&(d=this.#u),{altText:d,decorative:this.#t,guessedText:this.#a,textWithDisclaimer:this.#u}}get data(){return{altText:this.#e,decorative:this.#t}}set data({altText:r,decorative:d,guessedText:p,textWithDisclaimer:m,cancel:v=!1}){p&&(this.#a=p,this.#u=m),(this.#e!==r||this.#t!==d)&&(v||(this.#e=r,this.#t=d),this.#f())}toggle(r=!1){this.#n&&(!r&&this.#s&&(clearTimeout(this.#s),this.#s=null),this.#n.disabled=!r)}shown(){this.#d._reportTelemetry({action:"pdfjs.image.alt_text.image_status_label_displayed",data:{label:this.#p}})}destroy(){this.#n?.remove(),this.#n=null,this.#i=null,this.#r=null,this.#l?.remove(),this.#l=null}#f(){var r=this;return(0,A.A)(function*(){const d=r.#n;if(!d)return;if(r.#o){if(d.classList.toggle("done",!!r.#e),d.setAttribute("data-l10n-id",x.#h[r.#p]),r.#i?.setAttribute("data-l10n-id",x.#h[`${r.#p}-label`]),!r.#e)return void r.#r?.remove()}else{if(!r.#e&&!r.#t)return d.classList.remove("done"),void r.#r?.remove();d.classList.add("done"),d.setAttribute("data-l10n-id","pdfjs-editor-alt-text-edit-button")}let p=r.#r;if(!p){r.#r=p=document.createElement("span"),p.className="tooltip",p.setAttribute("role","tooltip"),p.id=`alt-text-tooltip-${r.#d.id}`;const v=100,w=r.#d._uiManager._signal;w.addEventListener("abort",()=>{clearTimeout(r.#s),r.#s=null},{once:!0}),d.addEventListener("mouseenter",()=>{r.#s=setTimeout(()=>{r.#s=null,r.#r.classList.add("show"),r.#d._reportTelemetry({action:"alt_text_tooltip"})},v)},{signal:w}),d.addEventListener("mouseleave",()=>{r.#s&&(clearTimeout(r.#s),r.#s=null),r.#r?.classList.remove("show")},{signal:w})}r.#t?p.setAttribute("data-l10n-id","pdfjs-editor-alt-text-decorative-tooltip"):(p.removeAttribute("data-l10n-id"),p.textContent=r.#e),p.parentNode||d.append(p),r.#d.getImageForAltText()?.setAttribute("aria-describedby",p.id)})()}}return x})();class ue{#e=null;#t=null;#n=null;#i=!1;#r=!1;#s=null;#c=null;#l=null;#d="";#a=!1;#u=null;#o=!1;#h=!1;#p=!1;#f=null;#g=0;#y=0;#m=null;_editToolbar=null;_initialOptions=Object.create(null);_initialData=null;_isVisible=!0;_uiManager=null;_focusEventsAllowed=!0;static _l10n=null;static _l10nResizer=null;#b=!1;#_=ue._zIndex++;static _borderLineWidth=-1;static _colorManager=new be;static _zIndex=1;static _telemetryTimeout=1e3;static get _resizerKeyboardManager(){const t=ue.prototype._resizeWithKeyboard,r=we.TRANSLATE_SMALL,d=we.TRANSLATE_BIG;return hn(this,"_resizerKeyboardManager",new We([[["ArrowLeft","mac+ArrowLeft"],t,{args:[-r,0]}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],t,{args:[-d,0]}],[["ArrowRight","mac+ArrowRight"],t,{args:[r,0]}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],t,{args:[d,0]}],[["ArrowUp","mac+ArrowUp"],t,{args:[0,-r]}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],t,{args:[0,-d]}],[["ArrowDown","mac+ArrowDown"],t,{args:[0,r]}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],t,{args:[0,d]}],[["Escape","mac+Escape"],ue.prototype._stopResizingWithKeyboard]]))}constructor(t){this.parent=t.parent,this.id=t.id,this.width=this.height=null,this.pageIndex=t.parent.pageIndex,this.name=t.name,this.div=null,this._uiManager=t.uiManager,this.annotationElementId=null,this._willKeepAspectRatio=!1,this._initialOptions.isCentered=t.isCentered,this._structTreeParentId=null;const{rotation:r,rawDims:{pageWidth:d,pageHeight:p,pageX:m,pageY:v}}=this.parent.viewport;this.rotation=r,this.pageRotation=(360+r-this._uiManager.viewParameters.rotation)%360,this.pageDimensions=[d,p],this.pageTranslation=[m,v];const[w,M]=this.parentDimensions;this.x=t.x/w,this.y=t.y/M,this.isAttachedToDOM=!1,this.deleted=!1}get editorType(){return Object.getPrototypeOf(this).constructor._type}static get _defaultLineColor(){return hn(this,"_defaultLineColor",this._colorManager.getHexCode("CanvasText"))}static deleteAnnotationElement(t){const r=new Xe({id:t.parent.getNextId(),parent:t.parent,uiManager:t._uiManager});
3r.annotationElementId=t.annotationElementId,r.deleted=!0,r._uiManager.addToAnnotationStorage(r)}static initialize(t,r){if(ue._l10n??=t,ue._l10nResizer||=Object.freeze({topLeft:"pdfjs-editor-resizer-top-left",topMiddle:"pdfjs-editor-resizer-top-middle",topRight:"pdfjs-editor-resizer-top-right",middleRight:"pdfjs-editor-resizer-middle-right",bottomRight:"pdfjs-editor-resizer-bottom-right",bottomMiddle:"pdfjs-editor-resizer-bottom-middle",bottomLeft:"pdfjs-editor-resizer-bottom-left",middleLeft:"pdfjs-editor-resizer-middle-left"}),-1!==ue._borderLineWidth)return;const d=getComputedStyle(document.documentElement);ue._borderLineWidth=parseFloat(d.getPropertyValue("--outline-width"))||0}static updateDefaultParams(t,r){}static get defaultPropertiesToUpdate(){return[]}static isHandlingMimeForPasting(t){return!1}static paste(t,r){_t("Not implemented")}get propertiesToUpdate(){return[]}get _isDraggable(){return this.#b}set _isDraggable(t){this.#b=t,this.div?.classList.toggle("draggable",t)}get isEnterHandled(){return!0}center(){const[t,r]=this.pageDimensions;switch(this.parentRotation){case 90:this.x-=this.height*r/(2*t),this.y+=this.width*t/(2*r);break;case 180:this.x+=this.width/2,this.y+=this.height/2;break;case 270:this.x+=this.height*r/(2*t),this.y-=this.width*t/(2*r);break;default:this.x-=this.width/2,this.y-=this.height/2}this.fixAndSetPosition()}addCommands(t){this._uiManager.addCommands(t)}get currentLayer(){return this._uiManager.currentLayer}setInBackground(){this.div.style.zIndex=0}setInForeground(){this.div.style.zIndex=this.#_}setParent(t){null!==t?(this.pageIndex=t.pageIndex,this.pageDimensions=t.pageDimensions):this.#B(),this.parent=t}focusin(t){this._focusEventsAllowed&&(this.#a?this.#a=!1:this.parent.setSelected(this))}focusout(t){!this._focusEventsAllowed||!this.isAttachedToDOM||t.relatedTarget?.closest(`#${this.id}`)||(t.preventDefault(),this.parent?.isMultipleSelection||this.commitOrRemove())}commitOrRemove(){this.isEmpty()?this.remove():this.commit()}commit(){this.addToAnnotationStorage()}addToAnnotationStorage(){this._uiManager.addToAnnotationStorage(this)}setAt(t,r,d,p){const[m,v]=this.parentDimensions;[d,p]=this.screenToPageTranslation(d,p),this.x=(t+d)/m,this.y=(r+p)/v,this.fixAndSetPosition()}#C([t,r],d,p){[d,p]=this.screenToPageTranslation(d,p),this.x+=d/t,this.y+=p/r,this.fixAndSetPosition()}translate(t,r){this.#C(this.parentDimensions,t,r)}translateInPage(t,r){this.#u||=[this.x,this.y],this.#C(this.pageDimensions,t,r),this.div.scrollIntoView({block:"nearest"})}drag(t,r){this.#u||=[this.x,this.y];const[d,p]=this.parentDimensions;if(this.x+=t/d,this.y+=r/p,this.parent&&(this.x<0||this.x>1||this.y<0||this.y>1)){const{x:$,y:K}=this.div.getBoundingClientRect();this.parent.findNewParent(this,$,K)&&(this.x-=Math.floor(this.x),this.y-=Math.floor(this.y))}let{x:m,y:v}=this;const[w,M]=this.getBaseTranslation();m+=w,v+=M,this.div.style.left=`${(100*m).toFixed(2)}%`,this.div.style.top=`${(100*v).toFixed(2)}%`,this.div.scrollIntoView({block:"nearest"})}get _hasBeenMoved(){return!!this.#u&&(this.#u[0]!==this.x||this.#u[1]!==this.y)}getBaseTranslation(){const[t,r]=this.parentDimensions,{_borderLineWidth:d}=ue,p=d/t,m=d/r;switch(this.rotation){case 90:return[-p,m];case 180:return[p,m];case 270:return[p,-m];default:return[-p,-m]}}get _mustFixPosition(){return!0}fixAndSetPosition(t=this.rotation){const[r,d]=this.pageDimensions;let{x:p,y:m,width:v,height:w}=this;if(v*=r,w*=d,p*=r,m*=d,this._mustFixPosition)switch(t){case 0:p=Math.max(0,Math.min(r-v,p)),m=Math.max(0,Math.min(d-w,m));break;case 90:p=Math.max(0,Math.min(r-w,p)),m=Math.min(d,Math.max(v,m));break;case 180:p=Math.min(r,Math.max(v,p)),m=Math.min(d,Math.max(w,m));break;case 270:p=Math.min(r,Math.max(w,p)),m=Math.max(0,Math.min(d-v,m))}this.x=p/=r,this.y=m/=d;const[M,$]=this.getBaseTranslation();p+=M,m+=$;const{style:K}=this.div;K.left=`${(100*p).toFixed(2)}
3%`,K.top=`${(100*m).toFixed(2)}%`,this.moveInDOM()}static#F(t,r,d){switch(d){case 90:return[r,-t];case 180:return[-t,-r];case 270:return[-r,t];default:return[t,r]}}screenToPageTranslation(t,r){return ue.#F(t,r,this.parentRotation)}pageTranslationToScreen(t,r){return ue.#F(t,r,360-this.parentRotation)}#w(t){switch(t){case 90:{const[r,d]=this.pageDimensions;return[0,-r/d,d/r,0]}case 180:return[-1,0,0,-1];case 270:{const[r,d]=this.pageDimensions;return[0,r/d,-d/r,0]}default:return[1,0,0,1]}}get parentScale(){return this._uiManager.viewParameters.realScale}get parentRotation(){return(this._uiManager.viewParameters.rotation+this.pageRotation)%360}get parentDimensions(){const{parentScale:t,pageDimensions:[r,d]}=this;return[r*t,d*t]}setDims(t,r){const[d,p]=this.parentDimensions;this.div.style.width=`${(100*t/d).toFixed(2)}%`,this.#r||(this.div.style.height=`${(100*r/p).toFixed(2)}%`)}fixDims(){const{style:t}=this.div,{height:r,width:d}=t,p=d.endsWith("%"),m=!this.#r&&r.endsWith("%");if(p&&m)return;const[v,w]=this.parentDimensions;p||(t.width=`${(100*parseFloat(d)/v).toFixed(2)}%`),!this.#r&&!m&&(t.height=`${(100*parseFloat(r)/w).toFixed(2)}%`)}getInitialTranslation(){return[0,0]}#A(){if(this.#s)return;this.#s=document.createElement("div"),this.#s.classList.add("resizers");const t=this._willKeepAspectRatio?["topLeft","topRight","bottomRight","bottomLeft"]:["topLeft","topMiddle","topRight","middleRight","bottomRight","bottomMiddle","bottomLeft","middleLeft"],r=this._uiManager._signal;for(const d of t){const p=document.createElement("div");this.#s.append(p),p.classList.add("resizer",d),p.setAttribute("data-resizer-name",d),p.addEventListener("pointerdown",this.#D.bind(this,d),{signal:r}),p.addEventListener("contextmenu",cr,{signal:r}),p.tabIndex=-1}this.div.prepend(this.#s)}#D(t,r){r.preventDefault();const{isMac:d}=xn.platform;if(0!==r.button||r.ctrlKey&&d)return;this.#n?.toggle(!1);const p=this._isDraggable;this._isDraggable=!1;const m=new AbortController,v=this._uiManager.combinedSignal(m);this.parent.togglePointerEvents(!1),window.addEventListener("pointermove",this.#x.bind(this,t),{passive:!0,capture:!0,signal:v}),window.addEventListener("contextmenu",cr,{signal:v});const w=this.x,M=this.y,$=this.width,K=this.height,re=this.parent.div.style.cursor,me=this.div.style.cursor;this.div.style.cursor=this.parent.div.style.cursor=window.getComputedStyle(r.target).cursor;const Ue=()=>{m.abort(),this.parent.togglePointerEvents(!0),this.#n?.toggle(!0),this._isDraggable=p,this.parent.div.style.cursor=re,this.div.style.cursor=me,this.#E(w,M,$,K)};window.addEventListener("pointerup",Ue,{signal:v}),window.addEventListener("blur",Ue,{signal:v})}#E(t,r,d,p){const m=this.x,v=this.y,w=this.width,M=this.height;m===t&&v===r&&w===d&&M===p||this.addCommands({cmd:()=>{this.width=w,this.height=M,this.x=m,this.y=v;const[$,K]=this.parentDimensions;this.setDims($*w,K*M),this.fixAndSetPosition()},undo:()=>{this.width=d,this.height=p,this.x=t,this.y=r;const[$,K]=this.parentDimensions;this.setDims($*d,K*p),this.fixAndSetPosition()},mustExec:!0})}#x(t,r){const[d,p]=this.parentDimensions,m=this.x,v=this.y,w=this.width,M=this.height,$=ue.MIN_SIZE/d,K=ue.MIN_SIZE/p,re=Zi=>Math.round(1e4*Zi)/1e4,me=this.#w(this.rotation),Ue=(Zi,Jr)=>[me[0]*Zi+me[2]*Jr,me[1]*Zi+me[3]*Jr],Qe=this.#w(360-this.rotation);let It,St,Jt=!1,un=!1;switch(t){case"topLeft":Jt=!0,It=(Zi,Jr)=>[0,0],St=(Zi,Jr)=>[Zi,Jr];break;case"topMiddle":It=(Zi,Jr)=>[Zi/2,0],St=(Zi,Jr)=>[Zi/2,Jr];break;case"topRight":Jt=!0,It=(Zi,Jr)=>[Zi,0],St=(Zi,Jr)=>[0,Jr];break;case"middleRight":un=!0,It=(Zi,Jr)=>[Zi,Jr/2],St=(Zi,Jr)=>[0,Jr/2];break;case"bottomRight":Jt=!0,It=(Zi,Jr)=>[Zi,Jr],St=(Zi,Jr)=>[0,0];break;case"bottomMiddle":It=(Zi,Jr)=>[Zi/2,Jr],St=(Zi,Jr)=>[Zi/2,0];break;case"bottomLeft":Jt=!0,It=(Zi,Jr)=>[0,Jr],St=(Zi,Jr)=>[Zi,0];break;case"middleLeft":un=!0,It=(Zi,Jr)=>[0,Jr/2],St=(Zi,Jr)=>[Zi,Jr/2]}const fn=It(w,M),pn=St(w,M);let An=Ue(...pn);const Zn=re(m+An[0]),Xn=re(v+An[1]);let dn=1,Tn=1,[ui,Ps]=this.screenToPageTranslation(r.movementX,r.movementY);if([ui,Ps]=[Qe[0]*(Zi=ui/d)+Qe[2]*(Jr=Ps/p),Qe[1]*Zi+Qe[3]*Jr],Jt){const Zi=Math.hypot(w,M);dn=Tn=Math.max(Math.min(Math.hypot(pn[0]-fn[0]-ui,pn[1]-fn[1]-Ps)/Zi,1/w,1/M),$/w,K/M)}else un?dn=Math.max($,Math.min(1,Math.abs(pn[0]-fn[0]-ui)))/w:Tn=Math.max(K,Math.min(1,Math.abs(pn[1]-fn[1]-Ps)))/M;var Zi,Jr;const Is=re(w*dn),Vs=re(M*Tn);An=Ue(...St(Is,Vs));const lo=Zn-An[0],Oa=Xn-An[1];this.width=Is,this.height=Vs,this.x=lo,this.y=Oa,this.setDims(d*Is,p*Vs),this.fixAndSetPosition()}altTextFinish(){this.#n?.finish()}addEditToolbar(){var t=this;return(0,A.A)(function*(){return t._editToolbar||t.#h||(t._editToolbar=ne
3w sr(t),t.div.append(t._editToolbar.render()),t.#n&&(yield t._editToolbar.addAltText(t.#n))),t._editToolbar})()}removeEditToolbar(){this._editToolbar&&(this._editToolbar.remove(),this._editToolbar=null,this.#n?.destroy())}addContainer(t){const r=this._editToolbar?.div;r?r.before(t):this.div.append(t)}getClientDimensions(){return this.div.getBoundingClientRect()}addAltTextButton(){var t=this;return(0,A.A)(function*(){t.#n||(Ee.initialize(ue._l10n),t.#n=new Ee(t),t.#e&&(t.#n.data=t.#e,t.#e=null),yield t.addEditToolbar())})()}get altTextData(){return this.#n?.data}set altTextData(t){this.#n&&(this.#n.data=t)}get guessedAltText(){return this.#n?.guessedText}setGuessedAltText(t){var r=this;return(0,A.A)(function*(){yield r.#n?.setGuessedText(t)})()}serializeAltText(t){return this.#n?.serialize(t)}hasAltText(){return!!this.#n&&!this.#n.isEmpty()}hasAltTextData(){return this.#n?.hasData()??!1}render(){this.div=document.createElement("div"),this.div.setAttribute("data-editor-rotation",(360-this.rotation)%360),this.div.className=this.name,this.div.setAttribute("id",this.id),this.div.tabIndex=this.#i?-1:0,this._isVisible||this.div.classList.add("hidden"),this.setInForeground(),this.#P();const[t,r]=this.parentDimensions;this.parentRotation%180!=0&&(this.div.style.maxWidth=`${(100*r/t).toFixed(2)}%`,this.div.style.maxHeight=`${(100*t/r).toFixed(2)}%`);const[d,p]=this.getInitialTranslation();return this.translate(d,p),us(this,this.div,["pointerdown"]),this.div}pointerdown(t){const{isMac:r}=xn.platform;0!==t.button||t.ctrlKey&&r?t.preventDefault():(this.#a=!0,this._isDraggable?this.#T(t):this.#S(t))}get isSelected(){return this._uiManager.isSelected(this)}#S(t){const{isMac:r}=xn.platform;t.ctrlKey&&!r||t.shiftKey||t.metaKey&&r?this.parent.toggleSelected(this):this.parent.setSelected(this)}#T(t){const{isSelected:r}=this;this._uiManager.setUpDragSession();const d=new AbortController,p=this._uiManager.combinedSignal(d);r&&(this.div.classList.add("moving"),this.#g=t.clientX,this.#y=t.clientY,window.addEventListener("pointermove",w=>{const{clientX:M,clientY:$}=w,[K,re]=this.screenToPageTranslation(M-this.#g,$-this.#y);this.#g=M,this.#y=$,this._uiManager.dragSelectedEditors(K,re)},{passive:!0,capture:!0,signal:p}));const m=()=>{d.abort(),r&&this.div.classList.remove("moving"),this.#a=!1,this._uiManager.endDragSession()||this.#S(t)};window.addEventListener("pointerup",m,{signal:p}),window.addEventListener("blur",m,{signal:p})}moveInDOM(){this.#f&&clearTimeout(this.#f),this.#f=setTimeout(()=>{this.#f=null,this.parent?.moveEditorInDOM(this)},0)}_setParentAndPosition(t,r,d){t.changeParent(this),this.x=r,this.y=d,this.fixAndSetPosition()}getRect(t,r,d=this.rotation){const p=this.parentScale,[m,v]=this.pageDimensions,[w,M]=this.pageTranslation,$=t/p,K=r/p,re=this.x*m,me=this.y*v,Ue=this.width*m,Qe=this.height*v;switch(d){case 0:return[re+$+w,v-me-K-Qe+M,re+$+Ue+w,v-me-K+M];case 90:return[re+K+w,v-me+$+M,re+K+Qe+w,v-me+$+Ue+M];case 180:return[re-$-Ue+w,v-me+K+M,re-$+w,v-me+K+Qe+M];case 270:return[re-K-Qe+w,v-me-$-Ue+M,re-K+w,v-me-$+M];default:throw new Error("Invalid rotation")}}getRectInCurrentCoords(t,r){const[d,p,m,v]=t,w=m-d,M=v-p;switch(this.rotation){case 0:return[d,r-v,w,M];case 90:return[d,r-p,M,w];case 180:return[m,r-p,w,M];case 270:return[m,r-v,M,w];default:throw new Error("Invalid rotation")}}onceAdded(){}isEmpty(){return!1}enableEditMode(){this.#h=!0}disableEditMode(){this.#h=!1}isInEditMode(){return this.#h}shouldGetKeyboardEvents(){return this.#p}needsToBeRebuilt(){return this.div&&!this.isAttachedToDOM}#P(){if(this.#l||!this.div)return;this.#l=new AbortController;const t=this._uiManager.combinedSignal(this.#l);this.div.addEventListener("focusin",this.focusin.bind(this),{signal:t}),this.div.addEventListener("focusout",this.focusout.bind(this),{signal:t})}rebuild(){this.#P()}rotate(t){}serializeDeleted(){return{id:this.annotationElementId,deleted:!0,pageIndex:this.pageIndex,popupRef:this._initialData?.popupRef||""}}serialize(t=!1,r=null){_t("An editor must be serializable")}static deserialize(t,r,d){var p=this;return(0,A.A)(function*(){const m=new p.prototype.constructor({parent:r,id:r.getNextId(),uiManager:d});m.rotation=t.rotation,m.#e=t.accessibilityData;const[v,w]=m.pageDimensions,[M,$,K,re]=m.getRectInCurrentCoords(t.rect,w);return m.x=M/v,m.y=$/w,m.width=K/v,m.height=re/w,m})()}get hasBeenModified(){return!!this.annotationElementId&&(this.deleted||null!==this.serialize())}remove(){if(this.#l?.abort(),this.#l=null,this.isEmpty()||this.commit(),this.parent?this.parent.remove(this):this._uiManager.removeEditor(this),this.#f&&(clearTimeout(this.#f),this.#f=null),this.#B(),this.removeEditToolbar(),this.#m){for(const t of this.#m.values())clearTimeout(t);this.#m=null}this.parent=null}get isResizable(){return!1}makeResizable(){this.isResizable&&(this.#A(),this.#s.classList.remove("hidden"),us(this,this.div,["keydown"]))}get toolbarPosition(){return null}keydown(t){if(!this.isResizable||t.target!==this.div||"Enter"!==t.key)return;this._uiManager.setSelected(this),this.#c={savedX:this.x,savedY:this.y,savedWidth:this.width,savedHeight:this.height};const r=this.#s.children;if(!this.#t){this.#t=Array.from(r);const v=this.#k.bind(this),w=this.#v.bind(this),M=this._uiManager._signal;for(const $ of this.#t){const K=$.getAttribute("data-resizer-name");$.setAttribute("role","spinbutton"),$.addEventListener("keydown",v,{signal:M}),$.addEventListener("blur",w,{signal:M}),$.addEventListener("focus",this.#M.bind(this,K),{signal:M}),$.setAttribute("data-l10n-id",ue._l10nResizer[K])}}const d=this.#t[0];let p=0;for(const v of r){if(v===d)break;p++}const m=(360-this.rotation+this.parentRotation)%360/90*(this.#t.length/4);if(m!==p){if(m<p)for(let w=0;w<p-m;w++)this.#s.append(this.#s.firstChild);else if(m>p)for(let w=0;w<m-p;w++)this.#s.firstChild.before(this.#s.lastChild);let v=0;for(const w of r){const $=this.#t[v++].getAttribute("data-resizer-name");w.setAttribute("data-l10n-id",ue._l10nResizer[$])}}this.#O(0),this.#p=!0,this.#s.firstChild.focus({focusVisible:!0}),t.preventDefault(),t.stopImmediatePropagation()}#k(t){ue._resizerKeyboardManager.exec(this,t)}#v(t){this.#p&&t.relatedTarget?.parentNode!==this.#s&&this.#B()}#M(t){this.#d=this.#p?t:""}#O(t){if(this.#t)for(const r of this.#t)r.tabIndex=t}_resizeWithKeyboard(t,r){this.#p&&this.#x(this.#d,{movementX:t,movementY:r})}#B(){if(this.#p=!1,this.#O(-1),this.#c){const{savedX:t,savedY:r,savedWidth:d,savedHeight:p}=this.#c;this.#E(t,r,d,p),this.#c=null}}_stopResizingWithKeyboard(){this.#B(),this.div.focus()}select(){this.makeResizable(),this.div?.classList.add("selectedEditor"),this._editToolbar?(this._editToolbar?.show(),this.#n?.toggleAltTextBadge(!1)):this.addEditToolbar().then(()=>{this.div?.classList.contains("selectedEditor")&&this._editToolbar?.show()})}unselect(){this.#s?.classList.add("hidden"),this.div?.classList.remove("selectedEditor"),this.div?.contains(document.activeElement)&&this._uiManager.currentLayer.div.focus({preventScroll:!0}),this._editToolbar?.hide(),this.#n?.toggleAltTextBadge(!0)}updateParams(t,r){}disableEditing(){}enableEditing(){}enterInEditMode(){}getImageForAltText(){return null}get contentDiv(){return this.div}get isEditing(){return this.#o}set isEditing(t){this.#o=t,this.parent&&(t?(this.parent.setSelected(this),this.parent.setActiveEditor(this)):this.parent.setActiveEditor(null))}setAspectRatio(t,r){this.#r=!0;const d=t/r,{style:p}=this.div;p.aspectRatio=d,p.height="auto"}static get MIN_SIZE(){return 16}static canCreateNewEmptyEditor(){return!0}get telemetryInitialData(){return{action:"added"}}get telemetryFinalData(){return null}_reportTelemetry(t,r=!1){if(r){this.#m||=new Map;const{action:d}=t;let p=this.#m.get(d);
3return p&&clearTimeout(p),p=setTimeout(()=>{this._reportTelemetry(t),this.#m.delete(d),0===this.#m.size&&(this.#m=null)},ue._telemetryTimeout),void this.#m.set(d,p)}t.type||=this.editorType,this._uiManager._eventBus.dispatch("reporttelemetry",{source:this,details:{type:"editing",data:t}})}show(t=this._isVisible){this.div.classList.toggle("hidden",!t),this._isVisible=t}enable(){this.div&&(this.div.tabIndex=0),this.#i=!1}disable(){this.div&&(this.div.tabIndex=-1),this.#i=!0}renderAnnotationElement(t){let r=t.container.querySelector(".annotationContent");if(r){if("CANVAS"===r.nodeName){const d=r;r=document.createElement("div"),r.classList.add("annotationContent",this.editorType),d.before(r)}}else r=document.createElement("div"),r.classList.add("annotationContent",this.editorType),t.container.prepend(r);return r}resetAnnotationElement(t){const{firstChild:r}=t.container;"DIV"===r?.nodeName&&r.classList.contains("annotationContent")&&r.remove()}}class Xe extends ue{constructor(t){super(t),this.annotationElementId=t.annotationElementId,this.deleted=!0}serialize(){return this.serializeDeleted()}}const qe=3285377520,kt=4294901760,Qt=65535;class En{constructor(t){this.h1=t?4294967295&t:qe,this.h2=t?4294967295&t:qe}update(t){let r,d;if("string"==typeof t){r=new Uint8Array(2*t.length),d=0;for(let gt=0,It=t.length;gt<It;gt++){const St=t.charCodeAt(gt);St<=255?r[d++]=St:(r[d++]=St>>>8,r[d++]=255&St)}}else{if(!ArrayBuffer.isView(t))throw new Error("Invalid data format, must be a string or TypedArray.");r=t.slice(),d=r.byteLength}const p=d>>2,m=d-4*p,v=new Uint32Array(r.buffer,0,p);let w=0,M=0,$=this.h1,K=this.h2;const re=3432918353,me=461845907;for(let gt=0;gt<p;gt++)1&gt?(w=v[gt],w=w*re&kt|11601*w&Qt,w=w<<15|w>>>17,w=w*me&kt|13715*w&Qt,$^=w,$=$<<13|$>>>19,$=5*$+3864292196):(M=v[gt],M=M*re&kt|11601*M&Qt,M=M<<15|M>>>17,M=M*me&kt|13715*M&Qt,K^=M,K=K<<13|K>>>19,K=5*K+3864292196);switch(w=0,m){case 3:w^=r[4*p+2]<<16;case 2:w^=r[4*p+1]<<8;case 1:w^=r[4*p],w=w*re&kt|11601*w&Qt,w=w<<15|w>>>17,w=w*me&kt|13715*w&Qt,1&p?$^=w:K^=w}this.h1=$,this.h2=K}hexdigest(){let t=this.h1,r=this.h2;return t^=r>>>1,t=3981806797*t&kt|36045*t&Qt,r=4283543511*r&kt|(2950163797*(r<<16|t>>>16)&kt)>>>16,t^=r>>>1,t=444984403*t&kt|60499*t&Qt,r=3301882366*r&kt|(3120437893*(r<<16|t>>>16)&kt)>>>16,t^=r>>>1,(t>>>0).toString(16).padStart(8,"0")+(r>>>0).toString(16).padStart(8,"0")}}const Bn=Object.freeze({map:null,hash:"",transfer:void 0});class Ci{#e=!1;#t=null;#n=new Map;constructor(){this.onSetModified=null,this.onResetModified=null,this.onAnnotationEditor=null}getValue(t,r){const d=this.#n.get(t);return void 0===d?r:Object.assign(r,d)}getRawValue(t){return this.#n.get(t)}remove(t){if(this.#n.delete(t),0===this.#n.size&&this.resetModified(),"function"==typeof this.onAnnotationEditor){for(const r of this.#n.values())if(r instanceof ue)return;this.onAnnotationEditor(null)}}setValue(t,r){const d=this.#n.get(t);let p=!1;if(void 0!==d)for(const[m,v]of Object.entries(r))d[m]!==v&&(p=!0,d[m]=v);else p=!0,this.#n.set(t,r);p&&this.#i(),r instanceof ue&&"function"==typeof this.onAnnotationEditor&&this.onAnnotationEditor(r.constructor._type)}has(t){return this.#n.has(t)}getAll(){return this.#n.size>0?Rt(this.#n):null}setAll(t){for(const[r,d]of Object.entries(t))this.setValue(r,d)}get size(){return this.#n.size}#i(){this.#e||(this.#e=!0,"function"==typeof this.onSetModified&&this.onSetModified())}resetModified(){this.#e&&(this.#e=!1,"function"==typeof this.onResetModified&&this.onResetModified())}get print(){return new ei(this)}get serializable(){if(0===this.#n.size)return Bn;const t=new Map,r=new En,d=[],p=Object.create(null);let m=!1;for(const[v,w]of this.#n){const M=w instanceof ue?w.serialize(!1,p):w;M&&(t.set(v,M),r.update(`${v}:${JSON.stringify(M)}`),m||=!!M.bitmap)}if(m)for(const v of t.values())v.bitmap&&d.push(v.bitmap);return t.size>0?{map:t,hash:r.hexdigest(),transfer:d}:Bn}get editorStats(){let t=null;const r=new Map;for(const d of this.#n.values()){if(!(d instanceof ue))continue;const p=d.telemetryFinalData;if(!p)continue;const{type:m}=p;r.has(m)||r.set(m,Object.getPrototypeOf(d).constructor),t||=Object.create(null);const v=t[m]||=new Map;for(const[w,M]of Object.entries(p)){if("type"===w)continue;let $=v.get(w);$||($=new Map,v.set(w,$));const K=$.get(M)??0;$.set(M,K+1)}}for(const[d,p]of r)t[d]=p.computeTelemetryFinalData(t[d]);return t}resetModifiedIds(){this.#t=null}get modifiedIds(){if(this.#t)return this.#t;const t=[];for(const r of this.#n.values())!(r instanceof ue)||!r.annotationElementId||!r.serialize()||t.pu
3sh(r.annotationElementId);return this.#t={ids:new Set(t),hash:t.join(",")}}}class ei extends Ci{#e;constructor(t){super();const{map:r,hash:d,transfer:p}=t.serializable,m=structuredClone(r,p?{transfer:p}:null);this.#e={map:m,hash:d,transfer:p}}get print(){_t("Should not call PrintAnnotationStorage.print")}get serializable(){return this.#e}get modifiedIds(){return hn(this,"modifiedIds",{ids:new Set,hash:""})}}class qi{#e=new Set;constructor({ownerDocument:t=globalThis.document,styleElement:r=null}){this._document=t,this.nativeFontFaces=new Set,this.styleElement=null,this.loadingRequests=[],this.loadTestFontId=0}addNativeFontFace(t){this.nativeFontFaces.add(t),this._document.fonts.add(t)}removeNativeFontFace(t){this.nativeFontFaces.delete(t),this._document.fonts.delete(t)}insertRule(t){this.styleElement||(this.styleElement=this._document.createElement("style"),this._document.documentElement.getElementsByTagName("head")[0].append(this.styleElement));const r=this.styleElement.sheet;r.insertRule(t,r.cssRules.length)}clear(){for(const t of this.nativeFontFaces)this._document.fonts.delete(t);this.nativeFontFaces.clear(),this.#e.clear(),this.styleElement&&(this.styleElement.remove(),this.styleElement=null)}loadSystemFont(t){var r=this;return(0,A.A)(function*({systemFontInfo:d,_inspectFont:p}){if(d&&!r.#e.has(d.loadedName)){if(on(!r.disableFontFace,"loadSystemFont shouldn't be called when `disableFontFace` is set."),r.isFontLoadingAPISupported){const{loadedName:m,src:v,style:w}=d,M=new FontFace(m,v,w);r.addNativeFontFace(M);try{yield M.load(),r.#e.add(m),p?.(d)}catch{nt(`Cannot load system font: ${d.baseFontName}, installing it could help to improve PDF rendering.`),r.removeNativeFontFace(M)}return}_t("Not implemented: loadSystemFont without the Font Loading API.")}}).apply(this,arguments)}bind(t){var r=this;return(0,A.A)(function*(){if(t.attached||t.missingFile&&!t.systemFontInfo)return;if(t.attached=!0,t.systemFontInfo)return void(yield r.loadSystemFont(t));if(r.isFontLoadingAPISupported){const p=t.createNativeFontFace();if(p){r.addNativeFontFace(p);try{yield p.loaded}catch(m){throw nt(`Failed to load font '${p.family}': '${m}'.`),t.disableFontFace=!0,m}}return}const d=t.createFontFaceRule();if(d){if(r.insertRule(d),r.isSyncFontLoadingSupported)return;yield new Promise(p=>{const m=r._queueLoadingCallback(p);r._prepareFontLoadEvent(t,m)})}})()}get isFontLoadingAPISupported(){return hn(this,"isFontLoadingAPISupported",!!this._document?.fonts)}get isSyncFontLoadingSupported(){let t=!1;return(ne||typeof navigator<"u"&&"string"==typeof navigator?.userAgent&&/Mozilla\/5.0.*?rv:\d+.*? Gecko/.test(navigator.userAgent))&&(t=!0),hn(this,"isSyncFontLoadingSupported",t)}_queueLoadingCallback(t){const{loadingRequests:d}=this,p={done:!1,complete:function r(){for(on(!p.done,"completeRequest() cannot be called twice."),p.done=!0;d.length>0&&d[0].done;){const m=d.shift();setTimeout(m.callback,0)}},callback:t};return d.push(p),p}get _loadTestFont(){return hn(this,"_loadTestFont",atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAEAAAAAAAEAAQAAAAEAAAAAAAIAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAQAAQAAAAEAAAAAAAUAAQAAAAEAAAAAAAYAAQAAAAMAAQQJAAAAAgABAAMAAQQJAAEAAgABAAMAAQQJAAIAAgABAAMAAQQJAAMAAgABAAMAAQQJAAQAAgABAAMAAQQJAAUAAgABAAMAAQQJAAYAAgABWABYAAAAAAAAAwAAAAMAAAAcAAEAAAAAADwAAwABAAAAHAAEACAAAAAEAAQAAQAAAC7//wAAAC7////TAAEAAAAAAAABBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAD/gwAyAAAAAQAAAAAAAAAAAAAAAAAAAAABAAQEAAEBAQJYAAEBASH4DwD4GwHEAvgcA/gXBIwMAYuL+nz5tQXkD5j3CBLnEQACAQEBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA=="))}
3_prepareFontLoadEvent(t,r){function d(fn,pn){return fn.charCodeAt(pn)<<24|fn.charCodeAt(pn+1)<<16|fn.charCodeAt(pn+2)<<8|255&fn.charCodeAt(pn+3)}function p(fn,pn,An,Zn){return fn.substring(0,pn)+Zn+fn.substring(pn+An)}let m,v;const w=this._document.createElement("canvas");w.width=1,w.height=1;const M=w.getContext("2d");let $=0;const re=`lt${Date.now()}${this.loadTestFontId++}`;let me=this._loadTestFont;me=p(me,976,re.length,re);const gt=1482184792;let It=d(me,16);for(m=0,v=re.length-3;m<v;m+=4)It=It-gt+d(re,m)|0;m<re.length&&(It=It-gt+d(re+"XXX",m)|0),me=p(me,16,4,function ni(x){return String.fromCharCode(x>>24&255,x>>16&255,x>>8&255,255&x)}(It));const St=`url(data:font/opentype;base64,${btoa(me)});`;this.insertRule(`@font-face {font-family:"${re}";src:${St}}`);const un=this._document.createElement("div");un.style.visibility="hidden",un.style.width=un.style.height="10px",un.style.position="absolute",un.style.top=un.style.left="0px";for(const fn of[t.loadedName,re]){const pn=this._document.createElement("span");pn.textContent="Hi",pn.style.fontFamily=fn,un.append(pn)}this._document.body.append(un),function K(fn,pn){if(++$>30)return nt("Load test font never loaded."),void pn();M.font="30px "+fn,M.fillText(".",0,20),M.getImageData(0,0,1,1).data[3]>0?pn():setTimeout(K.bind(null,fn,pn))}(re,()=>{un.remove(),r.complete()})}}class br{constructor(t,{disableFontFace:r=!1,inspectFont:d=null}){this.compiledGlyphs=Object.create(null);for(const p in t)this[p]=t[p];this.disableFontFace=!0===r,this._inspectFont=d}createNativeFontFace(){if(!this.data||this.disableFontFace)return null;let t;if(this.cssFontInfo){const r={weight:this.cssFontInfo.fontWeight};this.cssFontInfo.italicAngle&&(r.style=`oblique ${this.cssFontInfo.italicAngle}deg`),t=new FontFace(this.cssFontInfo.fontFamily,this.data,r)}else t=new FontFace(this.loadedName,this.data,{});return this._inspectFont?.(this),t}createFontFaceRule(){if(!this.data||this.disableFontFace)return null;const t=`url(data:${this.mimetype};base64,${function Et(x){return Uint8Array.prototype.toBase64?x.toBase64():btoa(zi(x))}(this.data)});`;let r;if(this.cssFontInfo){let d=`font-weight: ${this.cssFontInfo.fontWeight};`;this.cssFontInfo.italicAngle&&(d+=`font-style: oblique ${this.cssFontInfo.italicAngle}deg;`),r=`@font-face {font-family:"${this.cssFontInfo.fontFamily}";${d}src:${t}}`}else r=`@font-face {font-family:"${this.loadedName}";src:${t}}`;return this._inspectFont?.(this,t),r}getPathGenerator(t,r){if(void 0!==this.compiledGlyphs[r])return this.compiledGlyphs[r];let d;try{d=t.get(this.loadedName+"_path_"+r)}catch(m){nt(`getPathGenerator - ignoring character: "${m}".`)}if(!Array.isArray(d)||0===d.length)return this.compiledGlyphs[r]=function(m,v){};const p=[];for(let m=0,v=d.length;m<v;)switch(d[m++]){case 0:{const[w,M,$,K,re,me]=d.slice(m,m+6);p.push(Ue=>Ue.bezierCurveTo(w,M,$,K,re,me)),m+=6}break;case 1:{const[w,M]=d.slice(m,m+2);p.push($=>$.moveTo(w,M)),m+=2}break;case 2:{const[w,M]=d.slice(m,m+2);p.push($=>$.lineTo(w,M)),m+=2}break;case 3:{const[w,M,$,K]=d.slice(m,m+4);p.push(re=>re.quadraticCurveTo(w,M,$,K)),m+=4}break;case 4:p.push(w=>w.restore());break;case 5:p.push(w=>w.save());break;case 6:on(2===p.length,"Scale command is only valid at the third position.");break;case 7:{const[w,M,$,K,re,me]=d.slice(m,m+6);p.push(Ue=>Ue.transform(w,M,$,K,re,me)),m+=6}break;case 8:{const[w,M]=d.slice(m,m+2);p.push($=>$.translate(w,M)),m+=2}}return this.compiledGlyphs[r]=function(v,w){p[0](v),p[1](v),v.scale(w,-w);for(let M=2,$=p.length;M<$;M++)p[M](v)}}}class pr{#e=!1;constructor({enableHWA:t=!1}){this.#e=t}create(t,r){if(t<=0||r<=0)throw new Error("Invalid canvas size");const d=this._createCanvas(t,r);return{canvas:d,context:d.getContext("2d",{willReadFrequently:!this.#e})}}reset(t,r,d){if(!t.canvas)throw new Error("Canvas is not specified");if(r<=0||d<=0)throw new Error("Invalid canvas size");t.canvas.width=r,t.canvas.height=d}destroy(t){if(!t.canvas)throw new Error("Canvas is not specified");t.canvas.width=0,t.canvas.height=0,t.canvas=null,t.context=null}_createCanvas(t,r){_t("Abstract method `_createCanvas` called.")}}class jr{constructor({baseUrl:t=null,isCompressed:r=!0}){this.baseUrl=t,this.isCompressed=r}fetch(t){var r=this;return(0,A.A)(function*({name:d}){if(!r.baseUrl)throw new Error("Ensure that the `cMapUrl` and `cMapPacked` API parameters are provided.");if(!d)throw new Error("CMap name must be specified.");const p=r.baseUrl+d+(r.isCompressed?".bcmap":"");return r._fetch(p).then(m=>({cMapData:m,isCompressed:r.isCompressed})).catch(m=>{throw new Error(`Unable to load ${r.isCompressed?"binary ":""}CMap at: ${p}`)})}).apply(this,arguments)}_fetch(t){return(0,A.A)(function*(){_t("Abstract method `_fetch` called.")})()}}class as extends jr{_fetch(t){var r=this;return(0,A.A)(function*(){const d=yield Vn(t,r.isCompressed?"arraybuffer":"text");return d instanceof ArrayBuffer?new Uint8Array(d):Yi(d)})()}}class Pi{addFilter(t){return"none"}addHCMFilter(t,r){return"none"}addAlphaFilter(t){return"none"}addLuminosityFilter(t){return"none"}addHighlightHCMFilter(t,r,d,p,m){return"none"}destroy(t=!1){}}class Es{constructor({baseUrl:t=null}){this.baseUrl=t}fetch(t){var r=this;return(0,A.A)(function*({filename:d}){if(!r.baseUrl)throw new Error("Ensure that the `standardFontDataUrl` API parameter is provided.");if(!d)throw new Error("Font filename must be specified.");const p=`${r.baseUrl}${d}`;
3return r._fetch(p).catch(m=>{throw new Error(`Unable to load font data at: ${p}`)})}).apply(this,arguments)}_fetch(t){return(0,A.A)(function*(){_t("Abstract method `_fetch` called.")})()}}class it extends Es{_fetch(t){return(0,A.A)(function*(){const r=yield Vn(t,"arraybuffer");return new Uint8Array(r)})()}}if(ne){var Nt=Promise.withResolvers(),Bt=null;(function(){var t=(0,A.A)(function*(){const r=yield import("fs"),d=yield import("http"),p=yield import("https"),m=yield import("url");return new Map(Object.entries({fs:r,http:d,https:p,url:m,canvas:void 0,path2d:void 0}))});return function(){return t.apply(this,arguments)}})()().then(t=>{Bt=t,Nt.resolve()},t=>{nt(`loadPackages: ${t}`),Bt=new Map,Nt.resolve()})}class Kt{static get promise(){return Nt.promise}static get(t){return Bt?.get(t)}}function Gn(x){return Jn.apply(this,arguments)}function Jn(){return(Jn=(0,A.A)(function*(x){const r=yield Kt.get("fs").promises.readFile(x);return new Uint8Array(r)})).apply(this,arguments)}function kr(x,t){if(!t)return;const r=t[2]-t[0],d=t[3]-t[1],p=new Path2D;p.rect(t[0],t[1],r,d),x.clip(p)}class Na{getPattern(){_t("Abstract method `getPattern` called.")}}class la extends Na{constructor(t){super(),this._type=t[1],this._bbox=t[2],this._colorStops=t[3],this._p0=t[4],this._p1=t[5],this._r0=t[6],this._r1=t[7],this.matrix=null}_createGradient(t){let r;"axial"===this._type?r=t.createLinearGradient(this._p0[0],this._p0[1],this._p1[0],this._p1[1]):"radial"===this._type&&(r=t.createRadialGradient(this._p0[0],this._p0[1],this._r0,this._p1[0],this._p1[1],this._r1));for(const d of this._colorStops)r.addColorStop(d[0],d[1]);return r}getPattern(t,r,d,p){let m;if("Stroke"===p||"Fill"===p){const v=r.current.getClippedPathBoundingBox(p,Yn(t))||[0,0,0,0],w=Math.ceil(v[2]-v[0])||1,M=Math.ceil(v[3]-v[1])||1,$=r.cachedCanvases.getCanvas("pattern",w,M),K=$.context;K.clearRect(0,0,K.canvas.width,K.canvas.height),K.beginPath(),K.rect(0,0,K.canvas.width,K.canvas.height),K.translate(-v[0],-v[1]),d=Ye.transform(d,[1,0,0,1,v[0],v[1]]),K.transform(...r.baseTransform),this.matrix&&K.transform(...this.matrix),kr(K,this._bbox),K.fillStyle=this._createGradient(K),K.fill(),m=t.createPattern($.canvas,"no-repeat");const re=new DOMMatrix(d);m.setTransform(re)}else kr(t,this._bbox),m=this._createGradient(t);return m}}function Lc(x,t,r,d,p,m,v,w){const M=t.coords,$=t.colors,K=x.data,re=4*x.width;let me;M[r+1]>M[d+1]&&(me=r,r=d,d=me,me=m,m=v,v=me),M[d+1]>M[p+1]&&(me=d,d=p,p=me,me=v,v=w,w=me),M[r+1]>M[d+1]&&(me=r,r=d,d=me,me=m,m=v,v=me);const Ue=(M[r]+t.offsetX)*t.scaleX,Qe=(M[r+1]+t.offsetY)*t.scaleY,gt=(M[d]+t.offsetX)*t.scaleX,It=(M[d+1]+t.offsetY)*t.scaleY,St=(M[p]+t.offsetX)*t.scaleX,Jt=(M[p+1]+t.offsetY)*t.scaleY;if(Qe>=Jt)return;const un=$[m],fn=$[m+1],pn=$[m+2],An=$[v],Zn=$[v+1],Xn=$[v+2],dn=$[w],Tn=$[w+1],ui=$[w+2],Ps=Math.round(Qe),Is=Math.round(Jt);let Vs,lo,Oa,Zi,Jr,lu,Ku,Rl;for(let ic=Ps;ic<=Is;ic++){if(ic<It){const oa=ic<Qe?0:(Qe-ic)/(Qe-It);Vs=Ue-(Ue-gt)*oa,lo=un-(un-An)*oa,Oa=fn-(fn-Zn)*oa,Zi=pn-(pn-Xn)*oa}else{let oa;oa=ic>Jt?1:It===Jt?0:(It-ic)/(It-Jt),Vs=gt-(gt-St)*oa,lo=An-(An-dn)*oa,Oa=Zn-(Zn-Tn)*oa,Zi=Xn-(Xn-ui)*oa}let Wa;Wa=ic<Qe?0:ic>Jt?1:(Qe-ic)/(Qe-Jt),Jr=Ue-(Ue-St)*Wa,lu=un-(un-dn)*Wa,Ku=fn-(fn-Tn)*Wa,Rl=pn-(pn-ui)*Wa;const Zl=Math.round(Math.min(Vs,Jr)),ph=Math.round(Math.max(Vs,Jr));let hl=re*ic+4*Zl;for(let oa=Zl;oa<=ph;oa++)Wa=(Vs-oa)/(Vs-Jr),Wa<0?Wa=0:Wa>1&&(Wa=1),K[hl++]=lo-(lo-lu)*Wa|0,K[hl++]=Oa-(Oa-Ku)*Wa|0,K[hl++]=Zi-(Zi-Rl)*Wa|0,K[hl++]=255}}function ka(x,t,r){const d=t.coords,p=t.colors;let m,v;switch(t.type){case"lattice":const w=t.verticesPerRow,M=Math.floor(d.length/w)-1,$=w-1;for(m=0;m<M;m++){let K=m*w;for(let re=0;re<$;re++,K++)Lc(x,r,d[K],d[K+1],d[K+w],p[K],p[K+1],p[K+w]),Lc(x,r,d[K+w+1],d[K+1],d[K+w],p[K+w+1],p[K+1],p[K+w])}break;case"triangles":for(m=0,v=d.length;m<v;m+=3)Lc(x,r,d[m],d[m+1],d[m+2],p[m],p[m+1],p[m+2]);break;default:throw new Error("illegal figure")}}class ba extends Na{constructor(t){super(),this._coords=t[2],this._colors=t[3],this._figures=t[4],this._bounds=t[5],this._bbox=t[7],this._background=t[8],this.matrix=null}_createMeshCanvas(t,r,d){const w=Math.floor(this._bounds[0]),M=Math.floor(this._bounds[1]),$=Math.ceil(this._bounds[2])-w,K=Math.ceil(this._bounds[3])-M,re=Math.min(Math.ceil(Math.abs($*t[0]*1.1)),3e3),me=Math.min(Math.ceil(Math.abs(K*t[1]*1.1)),3e3),Ue=$/re,Qe=K/me,gt={coords:this._coords,colors:this._colors,offsetX:-w,offsetY:-M,scaleX:1/Ue,scaleY:1/Qe},Jt=d.getCanvas("mesh",re+4,me+4),un=Jt.context,fn=un.createImageData(re,me);if(r){const An=fn.data;for(let Zn=0,Xn=An.length;Zn<Xn;Zn+=4)An[Zn]=r[0],An[Zn+1]=r[1],An[Zn+2]=r[2],An[Zn+3]=255}for(const An of this._figures)ka(fn,An,gt);return un.putImageData(fn,2,2),{canvas:Jt.canvas,offsetX:w-2*Ue,offsetY:M-2*Qe,scaleX:Ue,scaleY:Qe}}getPattern(t,r,d,p){let m;
3if(kr(t,this._bbox),"Shading"===p)m=Ye.singularValueDecompose2dScale(Yn(t));else if(m=Ye.singularValueDecompose2dScale(r.baseTransform),this.matrix){const w=Ye.singularValueDecompose2dScale(this.matrix);m=[m[0]*w[0],m[1]*w[1]]}const v=this._createMeshCanvas(m,"Shading"===p?null:this._background,r.cachedCanvases);return"Shading"!==p&&(t.setTransform(...r.baseTransform),this.matrix&&t.transform(...this.matrix)),t.translate(v.offsetX,v.offsetY),t.scale(v.scaleX,v.scaleY),t.createPattern(v.canvas,"no-repeat")}}class va extends Na{getPattern(){return"hotpink"}}let Ka=(()=>{class x{static MAX_PATTERN_SIZE=3e3;constructor(r,d,p,m,v){this.operatorList=r[2],this.matrix=r[3],this.bbox=r[4],this.xstep=r[5],this.ystep=r[6],this.paintType=r[7],this.tilingType=r[8],this.color=d,this.ctx=p,this.canvasGraphicsFactory=m,this.baseTransform=v}createPatternCanvas(r){const{bbox:d,operatorList:p,paintType:m,tilingType:v,color:w,canvasGraphicsFactory:M}=this;let{xstep:$,ystep:K}=this;$=Math.abs($),K=Math.abs(K),tt("TilingType: "+v);const re=d[0],me=d[1],Ue=d[2],Qe=d[3],gt=Ue-re,It=Qe-me,St=Ye.singularValueDecompose2dScale(this.matrix),Jt=Ye.singularValueDecompose2dScale(this.baseTransform),un=St[0]*Jt[0],fn=St[1]*Jt[1];let pn=gt,An=It,Zn=!1,Xn=!1;const dn=Math.ceil($*un),Tn=Math.ceil(K*fn);dn>=Math.ceil(gt*un)?pn=$:Zn=!0,Tn>=Math.ceil(It*fn)?An=K:Xn=!0;const Is=this.getSizeAndScale(pn,this.ctx.canvas.width,un),Vs=this.getSizeAndScale(An,this.ctx.canvas.height,fn),lo=r.cachedCanvases.getCanvas("pattern",Is.size,Vs.size),Oa=lo.context,Zi=M.createCanvasGraphics(Oa);if(Zi.groupLevel=r.groupLevel,this.setFillAndStrokeStyleToContext(Zi,m,w),Oa.translate(-Is.scale*re,-Vs.scale*me),Zi.transform(Is.scale,0,0,Vs.scale,0,0),Oa.save(),this.clipBbox(Zi,re,me,Ue,Qe),Zi.baseTransform=Yn(Zi.ctx),Zi.executeOperatorList(p),Zi.endDrawing(),Oa.restore(),Zn||Xn){const Jr=lo.canvas;Zn&&(pn=$),Xn&&(An=K);const lu=this.getSizeAndScale(pn,this.ctx.canvas.width,un),Ku=this.getSizeAndScale(An,this.ctx.canvas.height,fn),Rl=lu.size,ic=Ku.size,Wa=r.cachedCanvases.getCanvas("pattern-workaround",Rl,ic),Zl=Wa.context,ph=Zn?Math.floor(gt/$):0,hl=Xn?Math.floor(It/K):0;for(let oa=0;oa<=ph;oa++)for(let Nd=0;Nd<=hl;Nd++)Zl.drawImage(Jr,Rl*oa,ic*Nd,Rl,ic,0,0,Rl,ic);return{canvas:Wa.canvas,scaleX:lu.scale,scaleY:Ku.scale,offsetX:re,offsetY:me}}return{canvas:lo.canvas,scaleX:Is.scale,scaleY:Vs.scale,offsetX:re,offsetY:me}}getSizeAndScale(r,d,p){const m=Math.max(x.MAX_PATTERN_SIZE,d);let v=Math.ceil(r*p);return v>=m?v=m:p=v/r,{scale:p,size:v}}clipBbox(r,d,p,m,v){r.ctx.rect(d,p,m-d,v-p),r.current.updateRectMinMax(Yn(r.ctx),[d,p,m,v]),r.clip(),r.endPath()}setFillAndStrokeStyleToContext(r,d,p){const m=r.ctx,v=r.current;switch(d){case 1:const w=this.ctx;m.fillStyle=w.fillStyle,m.strokeStyle=w.strokeStyle,v.fillColor=w.fillStyle,v.strokeColor=w.strokeStyle;break;case 2:const M=Ye.makeHexColor(p[0],p[1],p[2]);m.fillStyle=M,m.strokeStyle=M,v.fillColor=M,v.strokeColor=M;break;default:throw new Fn(`Unsupported paint type: ${d}`)}}getPattern(r,d,p,m){let v=p;"Shading"!==m&&(v=Ye.transform(v,d.baseTransform),this.matrix&&(v=Ye.transform(v,this.matrix)));const w=this.createPatternCanvas(d);let M=new DOMMatrix(v);M=M.translate(w.offsetX,w.offsetY),M=M.scale(1/w.scaleX,1/w.scaleY);const $=r.createPattern(w.canvas,"repeat");return $.setTransform(M),$}}return x})();function No({src:x,srcPos:t=0,dest:r,width:d,height:p,nonBlackColor:m=4294967295,inverseDecode:v=!1}){const w=xn.isLittleEndian?4278190080:255,[M,$]=v?[m,w]:[w,m],K=d>>3,re=7&d,me=x.length;r=new Uint32Array(r.buffer);let Ue=0;for(let Qe=0;Qe<p;Qe++){for(const It=t+K;t<It;t++){const St=t<me?x[t]:255;r[Ue++]=128&St?$:M,r[Ue++]=64&St?$:M,r[Ue++]=32&St?$:M,r[Ue++]=16&St?$:M,r[Ue++]=8&St?$:M,r[Ue++]=4&St?$:M,r[Ue++]=2&St?$:M,r[Ue++]=1&St?$:M}if(0===re)continue;const gt=t<me?x[t++]:255;for(let It=0;It<re;It++)r[Ue++]=gt&1<<7-It?$:M}return{srcPos:t,destPos:Ue}}class fi{constructor(t){this.canvasFactory=t,this.cache=Object.create(null)}getCanvas(t,r,d){let p;return void 0!==this.cache[t]?(p=this.cache[t],this.canvasFactory.reset(p,r,d)):(p=this.canvasFactory.create(r,d),this.cache[t]=p),p}delete(t){delete this.cache[t]}clear(){for(const t in this.cache)this.canvasFactory.destroy(this.cache[t]),delete this.cache[t]}}function Or(x,t,r,d,p,m,v,w,M,$){const[K,re,me,Ue,Qe,gt]=Yn(x);if(0===re&&0===me){const un=Math.round(v*K+Qe),pn=Math.round(w*Ue+gt),Zn=Math.abs(Math.round((v+M)*K+Qe)-un)||1,dn=Math.abs(Math.round((w+$)*Ue+gt)-pn)||1;return x.setTransform(Math.sign(K),0,0,Math.sign(Ue),un,pn),x.drawImage(t,r,d,p,m,0,0,Zn,dn),x.setTransform(K,re,me,Ue,Qe,gt),[Zn,dn]}
3if(0===K&&0===Ue){const un=Math.round(w*me+Qe),pn=Math.round(v*re+gt),Zn=Math.abs(Math.round((w+$)*me+Qe)-un)||1,dn=Math.abs(Math.round((v+M)*re+gt)-pn)||1;return x.setTransform(0,Math.sign(re),Math.sign(me),0,un,pn),x.drawImage(t,r,d,p,m,0,0,dn,Zn),x.setTransform(K,re,me,Ue,Qe,gt),[dn,Zn]}return x.drawImage(t,r,d,p,m,v,w,M,$),[Math.hypot(K,re)*M,Math.hypot(me,Ue)*$]}class Bo{constructor(t,r){this.alphaIsShape=!1,this.fontSize=0,this.fontSizeScale=1,this.textMatrix=se,this.textMatrixScale=1,this.fontMatrix=_e,this.leading=0,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRenderingMode=0,this.textRise=0,this.fillColor="#000000",this.strokeColor="#000000",this.patternFill=!1,this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.activeSMask=null,this.transferMaps="none",this.startNewPathAndClipBox([0,0,t,r])}clone(){const t=Object.create(this);return t.clipBox=this.clipBox.slice(),t}setCurrentPoint(t,r){this.x=t,this.y=r}updatePathMinMax(t,r,d){[r,d]=Ye.applyTransform([r,d],t),this.minX=Math.min(this.minX,r),this.minY=Math.min(this.minY,d),this.maxX=Math.max(this.maxX,r),this.maxY=Math.max(this.maxY,d)}updateRectMinMax(t,r){const d=Ye.applyTransform(r,t),p=Ye.applyTransform(r.slice(2),t),m=Ye.applyTransform([r[0],r[3]],t),v=Ye.applyTransform([r[2],r[1]],t);this.minX=Math.min(this.minX,d[0],p[0],m[0],v[0]),this.minY=Math.min(this.minY,d[1],p[1],m[1],v[1]),this.maxX=Math.max(this.maxX,d[0],p[0],m[0],v[0]),this.maxY=Math.max(this.maxY,d[1],p[1],m[1],v[1])}updateScalingPathMinMax(t,r){Ye.scaleMinMax(t,r),this.minX=Math.min(this.minX,r[0]),this.minY=Math.min(this.minY,r[1]),this.maxX=Math.max(this.maxX,r[2]),this.maxY=Math.max(this.maxY,r[3])}updateCurvePathMinMax(t,r,d,p,m,v,w,M,$,K){const re=Ye.bezierBoundingBox(r,d,p,m,v,w,M,$,K);K||this.updateRectMinMax(t,re)}getPathBoundingBox(t="Fill",r=null){const d=[this.minX,this.minY,this.maxX,this.maxY];if("Stroke"===t){r||_t("Stroke bounding box must include transform.");const p=Ye.singularValueDecompose2dScale(r),m=p[0]*this.lineWidth/2,v=p[1]*this.lineWidth/2;d[0]-=m,d[1]-=v,d[2]+=m,d[3]+=v}return d}updateClipFromPath(){const t=Ye.intersect(this.clipBox,this.getPathBoundingBox());this.startNewPathAndClipBox(t||[0,0,0,0])}isEmptyClip(){return this.minX===1/0}startNewPathAndClipBox(t){this.clipBox=t,this.minX=1/0,this.minY=1/0,this.maxX=0,this.maxY=0}getClippedPathBoundingBox(t="Fill",r=null){return Ye.intersect(this.clipBox,this.getPathBoundingBox(t,r))}}function mc(x,t){if(typeof ImageData<"u"&&t instanceof ImageData)return void x.putImageData(t,0,0);const r=t.height,d=t.width,p=r%16,m=(r-p)/16,v=0===p?m:m+1,w=x.createImageData(d,16);let $,M=0;const K=t.data,re=w.data;let me,Ue,Qe,gt;if(t.kind===Se.GRAYSCALE_1BPP){const It=K.byteLength,St=new Uint32Array(re.buffer,0,re.byteLength>>2),Jt=St.length,un=d+7>>3,fn=4294967295,pn=xn.isLittleEndian?4278190080:255;for(me=0;me<v;me++){for(Qe=me<m?16:p,$=0,Ue=0;Ue<Qe;Ue++){const An=It-M;let Zn=0;const Xn=An>un?d:8*An-7,dn=-8&Xn;let Tn=0,ui=0;for(;Zn<dn;Zn+=8)ui=K[M++],St[$++]=128&ui?fn:pn,St[$++]=64&ui?fn:pn,St[$++]=32&ui?fn:pn,St[$++]=16&ui?fn:pn,St[$++]=8&ui?fn:pn,St[$++]=4&ui?fn:pn,St[$++]=2&ui?fn:pn,St[$++]=1&ui?fn:pn;for(;Zn<Xn;Zn++)0===Tn&&(ui=K[M++],Tn=128),St[$++]=ui&Tn?fn:pn,Tn>>=1}for(;$<Jt;)St[$++]=0;x.putImageData(w,0,16*me)}}else if(t.kind===Se.RGBA_32BPP){for(Ue=0,gt=16*d*4,me=0;me<m;me++)re.set(K.subarray(M,M+gt)),M+=gt,x.putImageData(w,0,Ue),Ue+=16;me<v&&(gt=d*p*4,re.set(K.subarray(M,M+gt)),x.putImageData(w,0,Ue))}else{if(t.kind!==Se.RGB_24BPP)throw new Error(`bad image kind: ${t.kind}`);for(Qe=16,gt=d*Qe,me=0;me<v;me++){for(me>=m&&(Qe=p,gt=d*Qe),$=0,Ue=gt;Ue--;)re[$++]=K[M++],re[$++]=K[M++],re[$++]=K[M++],re[$++]=255;x.putImageData(w,0,16*me)}}}function Ai(x,t){if(t.bitmap)return void x.drawImage(t.bitmap,0,0);const r=t.height,d=t.width,p=r%16,m=(r-p)/16,v=0===p?m:m+1,w=x.createImageData(d,16);let M=0;const $=t.data,K=w.data;for(let re=0;re<v;re++){const me=re<m?16:p;({srcPos:M}=No({src:$,srcPos:M,dest:K,width:d,height:me,nonBlackColor:0})),x.putImageData(w,0,16*re)}}function Ys(x,t){const r=["strokeStyle","fillStyle","fillRule","globalAlpha","lineWidth","lineCap","lineJoin","miterLimit","globalCompositeOperation","font","filter"];for(const d of r)void 0!==x[d]&&(t[d]=x[d]);void 0!==x.setLineDash&&(t.setLineDash(x.getLineDash()),t.lineDashOffset=x.lineDashOffset)}function oc(x){if(x.strokeStyle=x.fillStyle="#000000",x.fillRule="nonzero",x.globalAlpha=1,x.lineWidth=1,x.lineCap="butt",x.lineJoin="miter",x.miterLimit=10,x.globalCompositeOperation="source-over",x.font="10px sans-serif",void 0!==x.setLineDash&&(x.setLineDash([]),x.lineDashOffset=0),!ne){const{filter:t}=x;"none"!==t&&""!==t&&(x.filter="none")}}function fo(x,t){if(t)return!0;const r=Ye.singularValueDecompose2dScale(x);r[0]=Math.fround(r[0]),r[1]=Math.fround(r[1]);const d=Math.fround((globalThis.devicePixelRatio||1)*rn.PDF_TO_CSS_UNITS);return r[0]<=d&&r[1]<=d}const Xa=["butt","round","square"],xs=["miter","round","bevel"],qs={},Qs={};class es{constructor(t,r,d,p,m,{optionalContentConfig:v,markedContentStack:w=null}
3,M,$){this.ctx=t,this.current=new Bo(this.ctx.canvas.width,this.ctx.canvas.height),this.stateStack=[],this.pendingClip=null,this.pendingEOFill=!1,this.res=null,this.xobjs=null,this.commonObjs=r,this.objs=d,this.canvasFactory=p,this.filterFactory=m,this.groupStack=[],this.processingType3=null,this.baseTransform=null,this.baseTransformStack=[],this.groupLevel=0,this.smaskStack=[],this.smaskCounter=0,this.tempSMask=null,this.suspendedCtx=null,this.contentVisible=!0,this.markedContentStack=w||[],this.optionalContentConfig=v,this.cachedCanvases=new fi(this.canvasFactory),this.cachedPatterns=new Map,this.annotationCanvasMap=M,this.viewportScale=1,this.outputScaleX=1,this.outputScaleY=1,this.pageColors=$,this._cachedScaleForStroking=[-1,0],this._cachedGetSinglePixelWidth=null,this._cachedBitmapsMap=new Map}getObject(t,r=null){return"string"==typeof t?t.startsWith("g_")?this.commonObjs.get(t):this.objs.get(t):r}beginDrawing({transform:t,viewport:r,transparency:d=!1,background:p=null}){const m=this.ctx.canvas.width,v=this.ctx.canvas.height,w=this.ctx.fillStyle;if(this.ctx.fillStyle=p||"#ffffff",this.ctx.fillRect(0,0,m,v),this.ctx.fillStyle=w,d){const M=this.cachedCanvases.getCanvas("transparent",m,v);this.compositeCtx=this.ctx,this.transparentCanvas=M.canvas,this.ctx=M.context,this.ctx.save(),this.ctx.transform(...Yn(this.compositeCtx))}this.ctx.save(),oc(this.ctx),t&&(this.ctx.transform(...t),this.outputScaleX=t[0],this.outputScaleY=t[0]),this.ctx.transform(...r.transform),this.viewportScale=r.scale,this.baseTransform=Yn(this.ctx)}executeOperatorList(t,r,d,p){const m=t.argsArray,v=t.fnArray;let w=r||0;const M=m.length;if(M===w)return w;const $=M-w>10&&"function"==typeof d,K=$?Date.now()+15:0;let re=0;const me=this.commonObjs,Ue=this.objs;let Qe;for(;;){if(void 0!==p&&w===p.nextBreakPoint)return p.breakIt(w,d),w;if(Qe=v[w],Qe!==sn.dependency)this[Qe].apply(this,m[w]);else for(const gt of m[w]){const It=gt.startsWith("g_")?me:Ue;if(!It.has(gt))return It.get(gt,d),w}if(w++,w===M)return w;if($&&++re>10){if(Date.now()>K)return d(),w;re=0}}}#e(){for(;this.stateStack.length||this.inSMaskMode;)this.restore();this.current.activeSMask=null,this.ctx.restore(),this.transparentCanvas&&(this.ctx=this.compositeCtx,this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.drawImage(this.transparentCanvas,0,0),this.ctx.restore(),this.transparentCanvas=null)}endDrawing(){this.#e(),this.cachedCanvases.clear(),this.cachedPatterns.clear();for(const t of this._cachedBitmapsMap.values()){for(const r of t.values())typeof HTMLCanvasElement<"u"&&r instanceof HTMLCanvasElement&&(r.width=r.height=0);t.clear()}this._cachedBitmapsMap.clear(),this.#t()}#t(){if(this.pageColors){const t=this.filterFactory.addHCMFilter(this.pageColors.foreground,this.pageColors.background);if("none"!==t){const r=this.ctx.filter;this.ctx.filter=t,this.ctx.drawImage(this.ctx.canvas,0,0),this.ctx.filter=r}}}_scaleImage(t,r){const d=t.width??t.displayWidth,p=t.height??t.displayHeight;let K,re,m=Math.max(Math.hypot(r[0],r[1]),1),v=Math.max(Math.hypot(r[2],r[3]),1),w=d,M=p,$="prescale1";for(;m>2&&w>1||v>2&&M>1;){let me=w,Ue=M;m>2&&w>1&&(me=w>=16384?Math.floor(w/2)-1||1:Math.ceil(w/2),m/=w/me),v>2&&M>1&&(Ue=M>=16384?Math.floor(M/2)-1||1:Math.ceil(M)/2,v/=M/Ue),K=this.cachedCanvases.getCanvas($,me,Ue),re=K.context,re.clearRect(0,0,me,Ue),re.drawImage(t,0,0,w,M,0,0,me,Ue),t=K.canvas,w=me,M=Ue,$="prescale1"===$?"prescale2":"prescale1"}return{img:t,paintWidth:w,paintHeight:M}}_createMaskCanvas(t){const r=this.ctx,{width:d,height:p}=t,m=this.current.fillColor,v=this.current.patternFill,w=Yn(r);let M,$,K,re;if((t.bitmap||t.data)&&t.count>1){const Xn=t.bitmap||t.data.buffer;$=JSON.stringify(v?w:[w.slice(0,4),m]),M=this._cachedBitmapsMap.get(Xn),M||(M=new Map,this._cachedBitmapsMap.set(Xn,M));const dn=M.get($);if(dn&&!v)return{canvas:dn,offsetX:Math.round(Math.min(w[0],w[2])+w[4]),offsetY:Math.round(Math.min(w[1],w[3])+w[5])};K=dn}K||(re=this.cachedCanvases.getCanvas("maskCanvas",d,p),Ai(re.context,t));let me=Ye.transform(w,[1/d,0,0,-1/p,0,0]);me=Ye.transform(me,[1,0,0,1,0,-p]);const[Ue,Qe,gt,It]=Ye.getAxialAlignedBoundingBox([0,0,d,p],me),St=Math.round(gt-Ue)||1,Jt=Math.round(It-Qe)||1,un=this.cachedCanvases.getCanvas("fillCanvas",St,Jt),fn=un.context,pn=Ue,An=Qe;fn.translate(-pn,-An),fn.transform(...me),K||(K=this._scaleImage(re.canvas,Wi(fn)),K=K.img,M&&v&&M.set($,K)),fn.imageSmoothingEnabled=fo(Yn(fn),t.interpolate),Or(fn,K,0,0,K.width,K.height,0,0,d,p),fn.globalCompositeOperation="source-in";const Zn=Ye.transform(Wi(fn),[1,0,0,1,-pn,-An]);return fn.fillStyle=v?m.getPattern(r,this,Zn,"Fill"):m,fn.fillRect(0,0,d,p),M&&!v&&(this.cachedCanvases.delete("fillCanvas"),M.set($,un.canvas)),{canvas:un.c
3anvas,offsetX:Math.round(pn),offsetY:Math.round(An)}}setLineWidth(t){t!==this.current.lineWidth&&(this._cachedScaleForStroking[0]=-1),this.current.lineWidth=t,this.ctx.lineWidth=t}setLineCap(t){this.ctx.lineCap=Xa[t]}setLineJoin(t){this.ctx.lineJoin=xs[t]}setMiterLimit(t){this.ctx.miterLimit=t}setDash(t,r){const d=this.ctx;void 0!==d.setLineDash&&(d.setLineDash(t),d.lineDashOffset=r)}setRenderingIntent(t){}setFlatness(t){}setGState(t){for(const[r,d]of t)switch(r){case"LW":this.setLineWidth(d);break;case"LC":this.setLineCap(d);break;case"LJ":this.setLineJoin(d);break;case"ML":this.setMiterLimit(d);break;case"D":this.setDash(d[0],d[1]);break;case"RI":this.setRenderingIntent(d);break;case"FL":this.setFlatness(d);break;case"Font":this.setFont(d[0],d[1]);break;case"CA":this.current.strokeAlpha=d;break;case"ca":this.current.fillAlpha=d,this.ctx.globalAlpha=d;break;case"BM":this.ctx.globalCompositeOperation=d;break;case"SMask":this.current.activeSMask=d?this.tempSMask:null,this.tempSMask=null,this.checkSMaskState();break;case"TR":this.ctx.filter=this.current.transferMaps=this.filterFactory.addFilter(d)}}get inSMaskMode(){return!!this.suspendedCtx}checkSMaskState(){const t=this.inSMaskMode;this.current.activeSMask&&!t?this.beginSMaskMode():!this.current.activeSMask&&t&&this.endSMaskMode()}beginSMaskMode(){if(this.inSMaskMode)throw new Error("beginSMaskMode called while already in smask mode");const p=this.cachedCanvases.getCanvas("smaskGroupAt"+this.groupLevel,this.ctx.canvas.width,this.ctx.canvas.height);this.suspendedCtx=this.ctx,this.ctx=p.context;const m=this.ctx;m.setTransform(...Yn(this.suspendedCtx)),Ys(this.suspendedCtx,m),function io(x,t){if(x._removeMirroring)throw new Error("Context is already forwarding operations.");x.__originalSave=x.save,x.__originalRestore=x.restore,x.__originalRotate=x.rotate,x.__originalScale=x.scale,x.__originalTranslate=x.translate,x.__originalTransform=x.transform,x.__originalSetTransform=x.setTransform,x.__originalResetTransform=x.resetTransform,x.__originalClip=x.clip,x.__originalMoveTo=x.moveTo,x.__originalLineTo=x.lineTo,x.__originalBezierCurveTo=x.bezierCurveTo,x.__originalRect=x.rect,x.__originalClosePath=x.closePath,x.__originalBeginPath=x.beginPath,x._removeMirroring=()=>{x.save=x.__originalSave,x.restore=x.__originalRestore,x.rotate=x.__originalRotate,x.scale=x.__originalScale,x.translate=x.__originalTranslate,x.transform=x.__originalTransform,x.setTransform=x.__originalSetTransform,x.resetTransform=x.__originalResetTransform,x.clip=x.__originalClip,x.moveTo=x.__originalMoveTo,x.lineTo=x.__originalLineTo,x.bezierCurveTo=x.__originalBezierCurveTo,x.rect=x.__originalRect,x.closePath=x.__originalClosePath,x.beginPath=x.__originalBeginPath,delete x._removeMirroring},x.save=function(){t.save(),this.__originalSave()},x.restore=function(){t.restore(),this.__originalRestore()},x.translate=function(d,p){t.translate(d,p),this.__originalTranslate(d,p)},x.scale=function(d,p){t.scale(d,p),this.__originalScale(d,p)},x.transform=function(d,p,m,v,w,M){t.transform(d,p,m,v,w,M),this.__originalTransform(d,p,m,v,w,M)},x.setTransform=function(d,p,m,v,w,M){t.setTransform(d,p,m,v,w,M),this.__originalSetTransform(d,p,m,v,w,M)},x.resetTransform=function(){t.resetTransform(),this.__originalResetTransform()},x.rotate=function(d){t.rotate(d),this.__originalRotate(d)},x.clip=function(d){t.clip(d),this.__originalClip(d)},x.moveTo=function(r,d){t.moveTo(r,d),this.__originalMoveTo(r,d)},x.lineTo=function(r,d){t.lineTo(r,d),this.__originalLineTo(r,d)},x.bezierCurveTo=function(r,d,p,m,v,w){t.bezierCurveTo(r,d,p,m,v,w),this.__originalBezierCurveTo(r,d,p,m,v,w)},x.rect=function(r,d,p,m){t.rect(r,d,p,m),this.__originalRect(r,d,p,m)},x.closePath=function(){t.closePath(),this.__originalClosePath()},x.beginPath=function(){t.beginPath(),this.__originalBeginPath()}}(m,this.suspendedCtx),this.setGState([["BM","source-over"],["ca",1],["CA",1]])}endSMaskMode(){if(!this.inSMaskMode)throw new Error("endSMaskMode called while not in smask mode");this.ctx._removeMirroring(),Ys(this.ctx,this.suspendedCtx),this.ctx=this.suspendedCtx,this.suspendedCtx=null}compose(t){this.current.activeSMask&&(t?(t[0]=Math.floor(t[0]),t[1]=Math.floor(t[1]),t[2]=Math.ceil(t[2]),t[3]=Math.ceil(t[3])):t=[0,0,this.ctx.canvas.width,this.ctx.canvas.height],this.composeSMask(this.suspendedCtx,this.current.activeSMask,this.ctx,t),this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.clearRect(0,0,this.ctx.canvas.width,this.ctx.canvas.height),this.ctx.restore(
3))}composeSMask(t,r,d,p){const m=p[0],v=p[1],w=p[2]-m,M=p[3]-v;0===w||0===M||(this.genericComposeSMask(r.context,d,w,M,r.subtype,r.backdrop,r.transferMap,m,v,r.offsetX,r.offsetY),t.save(),t.globalAlpha=1,t.globalCompositeOperation="source-over",t.setTransform(1,0,0,1,0,0),t.drawImage(d.canvas,0,0),t.restore())}genericComposeSMask(t,r,d,p,m,v,w,M,$,K,re){let me=t.canvas,Ue=M-K,Qe=$-re;if(v){const It=Ye.makeHexColor(...v);if(Ue<0||Qe<0||Ue+d>me.width||Qe+p>me.height){const St=this.cachedCanvases.getCanvas("maskExtension",d,p),Jt=St.context;Jt.drawImage(me,-Ue,-Qe),Jt.globalCompositeOperation="destination-atop",Jt.fillStyle=It,Jt.fillRect(0,0,d,p),Jt.globalCompositeOperation="source-over",me=St.canvas,Ue=Qe=0}else{t.save(),t.globalAlpha=1,t.setTransform(1,0,0,1,0,0);const St=new Path2D;St.rect(Ue,Qe,d,p),t.clip(St),t.globalCompositeOperation="destination-atop",t.fillStyle=It,t.fillRect(Ue,Qe,d,p),t.restore()}}r.save(),r.globalAlpha=1,r.setTransform(1,0,0,1,0,0),"Alpha"===m&&w?r.filter=this.filterFactory.addAlphaFilter(w):"Luminosity"===m&&(r.filter=this.filterFactory.addLuminosityFilter(w));const gt=new Path2D;gt.rect(M,$,d,p),r.clip(gt),r.globalCompositeOperation="destination-in",r.drawImage(me,Ue,Qe,d,p,M,$,d,p),r.restore()}save(){this.inSMaskMode?(Ys(this.ctx,this.suspendedCtx),this.suspendedCtx.save()):this.ctx.save();const t=this.current;this.stateStack.push(t),this.current=t.clone()}restore(){0===this.stateStack.length&&this.inSMaskMode&&this.endSMaskMode(),0!==this.stateStack.length&&(this.current=this.stateStack.pop(),this.inSMaskMode?(this.suspendedCtx.restore(),Ys(this.suspendedCtx,this.ctx)):this.ctx.restore(),this.checkSMaskState(),this.pendingClip=null,this._cachedScaleForStroking[0]=-1,this._cachedGetSinglePixelWidth=null)}transform(t,r,d,p,m,v){this.ctx.transform(t,r,d,p,m,v),this._cachedScaleForStroking[0]=-1,this._cachedGetSinglePixelWidth=null}constructPath(t,r,d){const p=this.ctx,m=this.current;let M,$,v=m.x,w=m.y;const K=Yn(p),re=0===K[0]&&0===K[3]||0===K[1]&&0===K[2],me=re?d.slice(0):null;for(let Ue=0,Qe=0,gt=t.length;Ue<gt;Ue++)switch(0|t[Ue]){case sn.rectangle:v=r[Qe++],w=r[Qe++];const It=r[Qe++],St=r[Qe++],Jt=v+It,un=w+St;p.moveTo(v,w),0===It||0===St?p.lineTo(Jt,un):(p.lineTo(Jt,w),p.lineTo(Jt,un),p.lineTo(v,un)),re||m.updateRectMinMax(K,[v,w,Jt,un]),p.closePath();break;case sn.moveTo:v=r[Qe++],w=r[Qe++],p.moveTo(v,w),re||m.updatePathMinMax(K,v,w);break;case sn.lineTo:v=r[Qe++],w=r[Qe++],p.lineTo(v,w),re||m.updatePathMinMax(K,v,w);break;case sn.curveTo:M=v,$=w,v=r[Qe+4],w=r[Qe+5],p.bezierCurveTo(r[Qe],r[Qe+1],r[Qe+2],r[Qe+3],v,w),m.updateCurvePathMinMax(K,M,$,r[Qe],r[Qe+1],r[Qe+2],r[Qe+3],v,w,me),Qe+=6;break;case sn.curveTo2:M=v,$=w,p.bezierCurveTo(v,w,r[Qe],r[Qe+1],r[Qe+2],r[Qe+3]),m.updateCurvePathMinMax(K,M,$,v,w,r[Qe],r[Qe+1],r[Qe+2],r[Qe+3],me),v=r[Qe+2],w=r[Qe+3],Qe+=4;break;case sn.curveTo3:M=v,$=w,v=r[Qe+2],w=r[Qe+3],p.bezierCurveTo(r[Qe],r[Qe+1],v,w,v,w),m.updateCurvePathMinMax(K,M,$,r[Qe],r[Qe+1],v,w,v,w,me),Qe+=4;break;case sn.closePath:p.closePath()}re&&m.updateScalingPathMinMax(K,me),m.setCurrentPoint(v,w)}closePath(){this.ctx.closePath()}stroke(t=!0){const r=this.ctx,d=this.current.strokeColor;r.globalAlpha=this.current.strokeAlpha,this.contentVisible&&("object"==typeof d&&d?.getPattern?(r.save(),r.strokeStyle=d.getPattern(r,this,Wi(r),"Stroke"),this.rescaleAndStroke(!1),r.restore()):this.rescaleAndStroke(!0)),t&&this.consumePath(this.current.getClippedPathBoundingBox()),r.globalAlpha=this.current.fillAlpha}closeStroke(){this.closePath(),this.stroke()}fill(t=!0){const r=this.ctx,d=this.current.fillColor;let m=!1;this.current.patternFill&&(r.save(),r.fillStyle=d.getPattern(r,this,Wi(r),"Fill"),m=!0);const v=this.current.getClippedPathBoundingBox();this.contentVisible&&null!==v&&(this.pendingEOFill?(r.fill("evenodd"),this.pendingEOFill=!1):r.fill()),m&&r.restore(),t&&this.consumePath(v)}eoFill(){this.pendingEOFill=!0,this.fill()}fillStroke(){this.fill(!1),this.stroke(!1),this.consumePath()}eoFillStroke(){this.pendingEOFill=!0,this.fillStroke()}closeFillStroke(){this.closePath(),this.fillStroke()}closeEOFillStroke(){this.pendingEOFill=!0,this.closePath(),this.fillStroke()}endPath(){this.consumePath()}clip(){this.pendingClip=qs}eoClip(){this.pendingClip=Qs}beginText(){this.current.textMatrix=se,this.current.textMatrixScale=1,this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0}endText(){const t=this.pendingTextPaths,r=this.ctx;if(void 0!==t){r.save(),r.beginPath();for(const d of t)r.setTransform(...d.transform),r.translate(d.x,d.y),d.addToPath(r,d.fontSize);
3r.restore(),r.clip(),r.beginPath(),delete this.pendingTextPaths}else r.beginPath()}setCharSpacing(t){this.current.charSpacing=t}setWordSpacing(t){this.current.wordSpacing=t}setHScale(t){this.current.textHScale=t/100}setLeading(t){this.current.leading=-t}setFont(t,r){const d=this.commonObjs.get(t),p=this.current;if(!d)throw new Error(`Can't find font for ${t}`);if(p.fontMatrix=d.fontMatrix||_e,(0===p.fontMatrix[0]||0===p.fontMatrix[3])&&nt("Invalid font matrix for font "+t),r<0?(r=-r,p.fontDirection=-1):p.fontDirection=1,this.current.font=d,this.current.fontSize=r,d.isType3Font)return;const m=d.loadedName||"sans-serif",v=d.systemFontInfo?.css||`"${m}", ${d.fallbackName}`;let w="normal";d.black?w="900":d.bold&&(w="bold");const M=d.italic?"italic":"normal";let $=r;r<16?$=16:r>100&&($=100),this.current.fontSizeScale=r/$,this.ctx.font=`${M} ${w} ${$}px ${v}`}setTextRenderingMode(t){this.current.textRenderingMode=t}setTextRise(t){this.current.textRise=t}moveText(t,r){this.current.x=this.current.lineX+=t,this.current.y=this.current.lineY+=r}setLeadingMoveText(t,r){this.setLeading(-r),this.moveText(t,r)}setTextMatrix(t,r,d,p,m,v){this.current.textMatrix=[t,r,d,p,m,v],this.current.textMatrixScale=Math.hypot(t,r),this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0}nextLine(){this.moveText(0,this.current.leading)}paintChar(t,r,d,p){const m=this.ctx,v=this.current,w=v.font,M=v.textRenderingMode,$=v.fontSize/v.fontSizeScale,K=3&M,re=!!(4&M),me=v.patternFill&&!w.missingFile;let Ue;(w.disableFontFace||re||me)&&(Ue=w.getPathGenerator(this.commonObjs,t)),w.disableFontFace||me?(m.save(),m.translate(r,d),m.beginPath(),Ue(m,$),p&&m.setTransform(...p),(0===K||2===K)&&m.fill(),(1===K||2===K)&&m.stroke(),m.restore()):((0===K||2===K)&&m.fillText(t,r,d),(1===K||2===K)&&m.strokeText(t,r,d)),re&&(this.pendingTextPaths||=[]).push({transform:Yn(m),x:r,y:d,fontSize:$,addToPath:Ue})}get isFontSubpixelAAEnabled(){const{context:t}=this.cachedCanvases.getCanvas("isFontSubpixelAAEnabled",10,10);t.scale(1.5,1),t.fillText("I",0,10);const r=t.getImageData(0,0,10,10).data;let d=!1;for(let p=3;p<r.length;p+=4)if(r[p]>0&&r[p]<255){d=!0;break}return hn(this,"isFontSubpixelAAEnabled",d)}showText(t){const r=this.current,d=r.font;if(d.isType3Font)return this.showType3Text(t);const p=r.fontSize;if(0===p)return;const m=this.ctx,v=r.fontSizeScale,w=r.charSpacing,M=r.wordSpacing,$=r.fontDirection,K=r.textHScale*$,re=t.length,me=d.vertical,Ue=me?1:-1,Qe=d.defaultVMetrics,gt=p*r.fontMatrix[0],It=0===r.textRenderingMode&&!d.disableFontFace&&!r.patternFill;let St;if(m.save(),m.transform(...r.textMatrix),m.translate(r.x,r.y+r.textRise),m.scale(K,$>0?-1:1),r.patternFill){m.save();const An=r.fillColor.getPattern(m,this,Wi(m),"Fill");St=Yn(m),m.restore(),m.fillStyle=An}let Jt=r.lineWidth;const un=r.textMatrixScale;if(0===un||0===Jt){const An=3&r.textRenderingMode;(1===An||2===An)&&(Jt=this.getSinglePixelWidth())}else Jt/=un;if(1!==v&&(m.scale(v,v),Jt/=v),m.lineWidth=Jt,d.isInvalidPDFjsFont){const An=[];let Zn=0;for(const Xn of t)An.push(Xn.unicode),Zn+=Xn.width;return m.fillText(An.join(""),0,0),r.x+=Zn*gt*K,m.restore(),void this.compose()}let pn,fn=0;for(pn=0;pn<re;++pn){const An=t[pn];if("number"==typeof An){fn+=Ue*An*p/1e3;continue}let Zn=!1;const Xn=(An.isSpace?M:0)+w,dn=An.fontChar,Tn=An.accent;let ui,Ps,Is=An.width;if(me){const lo=An.vmetric||Qe,Oa=-(An.vmetric?lo[1]:.5*Is)*gt;Is=lo?-lo[0]:Is,ui=Oa/v,Ps=(fn+lo[2]*gt)/v}else ui=fn/v,Ps=0;if(d.remeasure&&Is>0){const lo=1e3*m.measureText(dn).width/p*v;if(Is<lo&&this.isFontSubpixelAAEnabled){const Oa=Is/lo;Zn=!0,m.save(),m.scale(Oa,1),ui/=Oa}else Is!==lo&&(ui+=(Is-lo)/2e3*p/v)}this.contentVisible&&(An.isInFont||d.missingFile)&&(It&&!Tn?m.fillText(dn,ui,Ps):(this.paintChar(dn,ui,Ps,St),Tn&&this.paintChar(Tn.fontChar,ui+p*Tn.offset.x/v,Ps-p*Tn.offset.y/v,St))),fn+=me?Is*gt-Xn*$:Is*gt+Xn*$,Zn&&m.restore()}me?r.y-=fn:r.x+=fn*K,m.restore(),this.compose()}showType3Text(t){const r=this.ctx,d=this.current,p=d.font,m=d.fontSize,v=d.fontDirection,w=p.vertical?1:-1,M=d.charSpacing,$=d.wordSpacing,K=d.textHScale*v,re=d.fontMatrix||_e,me=t.length;let Qe,gt,It,St;if(3!==d.textRenderingMode&&0!==m){for(this._cachedScaleForStroking[0]=-1,this._cachedGetSinglePixelWidth=null,r.save(),r.transform(...d.textMatrix),r.translate(d.x,d.y),r.scale(K,v),Qe=0;Qe<me;++Qe){if(gt=t[Qe],"number"==typeof gt){St=w*gt*m/1e3,this.ctx.translate(St,0),d.x+=St*K;continue}const Jt=(gt.isSpace?$:0)+M,un=p.charProcOperatorList[gt.operatorListId];un?(this.contentVisible&&(this.processingType3=gt,this.save(),r.scale(m,m),r.transform(...re),this.executeOperatorList(un),this.restore(
3)),It=Ye.applyTransform([gt.width,0],re)[0]*m+Jt,r.translate(It,0),d.x+=It*K):nt(`Type3 character "${gt.operatorListId}" is not available.`)}r.restore(),this.processingType3=null}}setCharWidth(t,r){}setCharWidthAndBounds(t,r,d,p,m,v){this.ctx.rect(d,p,m-d,v-p),this.ctx.clip(),this.endPath()}getColorN_Pattern(t){let r;if("TilingPattern"===t[0]){const d=t[1],p=this.baseTransform||Yn(this.ctx);r=new Ka(t,d,this.ctx,{createCanvasGraphics:v=>new es(v,this.commonObjs,this.objs,this.canvasFactory,this.filterFactory,{optionalContentConfig:this.optionalContentConfig,markedContentStack:this.markedContentStack})},p)}else r=this._getPattern(t[1],t[2]);return r}setStrokeColorN(){this.current.strokeColor=this.getColorN_Pattern(arguments)}setFillColorN(){this.current.fillColor=this.getColorN_Pattern(arguments),this.current.patternFill=!0}setStrokeRGBColor(t,r,d){this.ctx.strokeStyle=this.current.strokeColor=Ye.makeHexColor(t,r,d)}setStrokeTransparent(){this.ctx.strokeStyle=this.current.strokeColor="transparent"}setFillRGBColor(t,r,d){this.ctx.fillStyle=this.current.fillColor=Ye.makeHexColor(t,r,d),this.current.patternFill=!1}setFillTransparent(){this.ctx.fillStyle=this.current.fillColor="transparent",this.current.patternFill=!1}_getPattern(t,r=null){let d;return this.cachedPatterns.has(t)?d=this.cachedPatterns.get(t):(d=function ea(x){switch(x[0]){case"RadialAxial":return new la(x);case"Mesh":return new ba(x);case"Dummy":return new va}throw new Error(`Unknown IR type: ${x[0]}`)}(this.getObject(t)),this.cachedPatterns.set(t,d)),r&&(d.matrix=r),d}shadingFill(t){if(!this.contentVisible)return;const r=this.ctx;this.save();const d=this._getPattern(t);r.fillStyle=d.getPattern(r,this,Wi(r),"Shading");const p=Wi(r);if(p){const{width:m,height:v}=r.canvas,[w,M,$,K]=Ye.getAxialAlignedBoundingBox([0,0,m,v],p);this.ctx.fillRect(w,M,$-w,K-M)}else this.ctx.fillRect(-1e10,-1e10,2e10,2e10);this.compose(this.current.getClippedPathBoundingBox()),this.restore()}beginInlineImage(){_t("Should not call beginInlineImage")}beginImageData(){_t("Should not call beginImageData")}paintFormXObjectBegin(t,r){this.contentVisible&&(this.save(),this.baseTransformStack.push(this.baseTransform),t&&this.transform(...t),this.baseTransform=Yn(this.ctx),r)&&(this.ctx.rect(r[0],r[1],r[2]-r[0],r[3]-r[1]),this.current.updateRectMinMax(Yn(this.ctx),r),this.clip(),this.endPath())}paintFormXObjectEnd(){this.contentVisible&&(this.restore(),this.baseTransform=this.baseTransformStack.pop())}beginGroup(t){if(!this.contentVisible)return;this.save(),this.inSMaskMode&&(this.endSMaskMode(),this.current.activeSMask=null);const r=this.ctx;
3t.isolated||tt("TODO: Support non-isolated groups."),t.knockout&&nt("Knockout groups not supported.");const d=Yn(r);if(t.matrix&&r.transform(...t.matrix),!t.bbox)throw new Error("Bounding box is required.");let p=Ye.getAxialAlignedBoundingBox(t.bbox,Yn(r));p=Ye.intersect(p,[0,0,r.canvas.width,r.canvas.height])||[0,0,0,0];const v=Math.floor(p[0]),w=Math.floor(p[1]),M=Math.max(Math.ceil(p[2])-v,1),$=Math.max(Math.ceil(p[3])-w,1);this.current.startNewPathAndClipBox([0,0,M,$]);let K="groupAt"+this.groupLevel;t.smask&&(K+="_smask_"+this.smaskCounter++%2);const re=this.cachedCanvases.getCanvas(K,M,$),me=re.context;me.translate(-v,-w),me.transform(...d),t.smask?this.smaskStack.push({canvas:re.canvas,context:me,offsetX:v,offsetY:w,subtype:t.smask.subtype,backdrop:t.smask.backdrop,transferMap:t.smask.transferMap||null,startTransformInverse:null}):(r.setTransform(1,0,0,1,0,0),r.translate(v,w),r.save()),Ys(r,me),this.ctx=me,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(r),this.groupLevel++}endGroup(t){if(!this.contentVisible)return;this.groupLevel--;const r=this.ctx,d=this.groupStack.pop();if(this.ctx=d,this.ctx.imageSmoothingEnabled=!1,t.smask)this.tempSMask=this.smaskStack.pop(),this.restore();else{this.ctx.restore();const p=Yn(this.ctx);this.restore(),this.ctx.save(),this.ctx.setTransform(...p);const m=Ye.getAxialAlignedBoundingBox([0,0,r.canvas.width,r.canvas.height],p);this.ctx.drawImage(r.canvas,0,0),this.ctx.restore(),this.compose(m)}}beginAnnotation(t,r,d,p,m){if(this.#e(),oc(this.ctx),this.ctx.save(),this.save(),this.baseTransform&&this.ctx.setTransform(...this.baseTransform),r){const v=r[2]-r[0],w=r[3]-r[1];if(m&&this.annotationCanvasMap){(d=d.slice())[4]-=r[0],d[5]-=r[1],(r=r.slice())[0]=r[1]=0,r[2]=v,r[3]=w;const[M,$]=Ye.singularValueDecompose2dScale(Yn(this.ctx)),{viewportScale:K}=this,re=Math.ceil(v*this.outputScaleX*K),me=Math.ceil(w*this.outputScaleY*K);this.annotationCanvas=this.canvasFactory.create(re,me);const{canvas:Ue,context:Qe}=this.annotationCanvas;this.annotationCanvasMap.set(t,Ue),this.annotationCanvas.savedCtx=this.ctx,this.ctx=Qe,this.ctx.save(),this.ctx.setTransform(M,0,0,-$,0,w*$),oc(this.ctx)}else oc(this.ctx),this.endPath(),this.ctx.rect(r[0],r[1],v,w),this.ctx.clip(),this.ctx.beginPath()}this.current=new Bo(this.ctx.canvas.width,this.ctx.canvas.height),this.transform(...d),this.transform(...p)}endAnnotation(){this.annotationCanvas&&(this.ctx.restore(),this.#t(),this.ctx=this.annotationCanvas.savedCtx,delete this.annotationCanvas.savedCtx,delete this.annotationCanvas)}paintImageMaskXObject(t){if(!this.contentVisible)return;const r=t.count;(t=this.getObject(t.data,t)).count=r;const d=this.ctx,p=this.processingType3;if(p&&(void 0===p.compiled&&(p.compiled=function _a(x){const{width:t,height:r}=x;if(t>1e3||r>1e3)return null;const p=new Uint8Array([0,2,4,0,1,0,5,4,8,10,0,8,0,2,1,0]),m=t+1;let w,M,$,v=new Uint8Array(m*(r+1));const K=t+7&-8;let re=new Uint8Array(K*r),me=0;for(const St of x.data){let Jt=128;for(;Jt>0;)re[me++]=St&Jt?0:255,Jt>>=1}let Ue=0;for(me=0,0!==re[me]&&(v[0]=1,++Ue),M=1;M<t;M++)re[me]!==re[me+1]&&(v[M]=re[me]?2:1,++Ue),me++;for(0!==re[me]&&(v[M]=2,++Ue),w=1;w<r;w++){me=w*K,$=w*m,re[me-K]!==re[me]&&(v[$]=re[me]?1:8,++Ue);let St=(re[me]?4:0)+(re[me-K]?8:0);for(M=1;M<t;M++)St=(St>>2)+(re[me+1]?4:0)+(re[me-K+1]?8:0),p[St]&&(v[$+M]=p[St],++Ue),me++;if(re[me-K]!==re[me]&&(v[$+M]=re[me]?2:4,++Ue),Ue>1e3)return null}for(me=K*(r-1),$=w*m,0!==re[me]&&(v[$]=8,++Ue),M=1;M<t;M++)re[me]!==re[me+1]&&(v[$+M]=re[me]?4:8,++Ue),me++;if(0!==re[me]&&(v[$+M]=4,++Ue),Ue>1e3)return null;const Qe=new Int32Array([0,m,-1,0,-m,0,0,0,1]),gt=new Path2D;for(w=0;Ue&&w<=r;w++){let St=w*m;const Jt=St+t;for(;St<Jt&&!v[St];)St++;if(St===Jt)continue;gt.moveTo(St%m,w);const un=St;let fn=v[St];do{const pn=Qe[fn];do{St+=pn}while(!v[St]);const An=v[St];5!==An&&10!==An?(fn=An,v[St]=0):(fn=An&51*fn>>4,v[St]&=fn>>2|fn<<2),gt.lineTo(St%m,St/m|0),v[St]||--Ue}while(un!==St);--w}return re=null,v=null,function(St){St.save(),St.scale(1/t,-1/r),St.translate(0,-r),St.fill(gt),St.beginPath(),St.restore()}}(t)),p.compiled))return void p.compiled(d);const m=this._createMaskCanvas(t),v=m.canvas;d.save(),d.setTransform(1,0,0,1,0,0),d.drawImage(v,m.offsetX,m.offsetY),d.restore(
3),this.compose()}paintImageMaskXObjectRepeat(t,r,d=0,p=0,m,v){if(!this.contentVisible)return;t=this.getObject(t.data,t);const w=this.ctx;w.save();const M=Yn(w);w.transform(r,d,p,m,0,0);const $=this._createMaskCanvas(t);w.setTransform(1,0,0,1,$.offsetX-M[4],$.offsetY-M[5]);for(let K=0,re=v.length;K<re;K+=2){const me=Ye.transform(M,[r,d,p,m,v[K],v[K+1]]),[Ue,Qe]=Ye.applyTransform([0,0],me);w.drawImage($.canvas,Ue,Qe)}w.restore(),this.compose()}paintImageMaskXObjectGroup(t){if(!this.contentVisible)return;const r=this.ctx,d=this.current.fillColor,p=this.current.patternFill;for(const m of t){const{data:v,width:w,height:M,transform:$}=m,K=this.cachedCanvases.getCanvas("maskCanvas",w,M),re=K.context;re.save(),Ai(re,this.getObject(v,m)),re.globalCompositeOperation="source-in",re.fillStyle=p?d.getPattern(re,this,Wi(r),"Fill"):d,re.fillRect(0,0,w,M),re.restore(),r.save(),r.transform(...$),r.scale(1,-1),Or(r,K.canvas,0,0,w,M,0,-1,1,1),r.restore()}this.compose()}paintImageXObject(t){if(!this.contentVisible)return;const r=this.getObject(t);r?this.paintInlineImageXObject(r):nt("Dependent image isn't ready yet")}paintImageXObjectRepeat(t,r,d,p){if(!this.contentVisible)return;const m=this.getObject(t);if(!m)return void nt("Dependent image isn't ready yet");const v=m.width,w=m.height,M=[];for(let $=0,K=p.length;$<K;$+=2)M.push({transform:[r,0,0,d,p[$],p[$+1]],x:0,y:0,w:v,h:w});this.paintInlineImageXObjectGroup(m,M)}applyTransferMapsToCanvas(t){return"none"!==this.current.transferMaps&&(t.filter=this.current.transferMaps,t.drawImage(t.canvas,0,0),t.filter="none"),t.canvas}applyTransferMapsToBitmap(t){if("none"===this.current.transferMaps)return t.bitmap;const{bitmap:r,width:d,height:p}=t,m=this.cachedCanvases.getCanvas("inlineImage",d,p),v=m.context;return v.filter=this.current.transferMaps,v.drawImage(r,0,0),v.filter="none",m.canvas}paintInlineImageXObject(t){if(!this.contentVisible)return;const r=t.width,d=t.height,p=this.ctx;if(this.save(),!ne){const{filter:w}=p;"none"!==w&&""!==w&&(p.filter="none")}let m;if(p.scale(1/r,-1/d),t.bitmap)m=this.applyTransferMapsToBitmap(t);else if("function"==typeof HTMLElement&&t instanceof HTMLElement||!t.data)m=t;else{const M=this.cachedCanvases.getCanvas("inlineImage",r,d).context;mc(M,t),m=this.applyTransferMapsToCanvas(M)}
3const v=this._scaleImage(m,Wi(p));p.imageSmoothingEnabled=fo(Yn(p),t.interpolate),Or(p,v.img,0,0,v.paintWidth,v.paintHeight,0,-d,r,d),this.compose(),this.restore()}paintInlineImageXObjectGroup(t,r){if(!this.contentVisible)return;const d=this.ctx;let p;if(t.bitmap)p=t.bitmap;else{const M=this.cachedCanvases.getCanvas("inlineImage",t.width,t.height).context;mc(M,t),p=this.applyTransferMapsToCanvas(M)}for(const m of r)d.save(),d.transform(...m.transform),d.scale(1,-1),Or(d,p,m.x,m.y,m.w,m.h,0,-1,1,1),d.restore();this.compose()}paintSolidColorImageMask(){this.contentVisible&&(this.ctx.fillRect(0,0,1,1),this.compose())}markPoint(t){}markPointProps(t,r){}beginMarkedContent(t){this.markedContentStack.push({visible:!0})}beginMarkedContentProps(t,r){this.markedContentStack.push("OC"===t?{visible:this.optionalContentConfig.isVisible(r)}:{visible:!0}),this.contentVisible=this.isContentVisible()}endMarkedContent(){this.markedContentStack.pop(),this.contentVisible=this.isContentVisible()}beginCompat(){}endCompat(){}consumePath(t){const r=this.current.isEmptyClip();this.pendingClip&&this.current.updateClipFromPath(),this.pendingClip||this.compose(t);const d=this.ctx;this.pendingClip&&(r||(this.pendingClip===Qs?d.clip("evenodd"):d.clip()),this.pendingClip=null),this.current.startNewPathAndClipBox(this.current.clipBox),d.beginPath()}getSinglePixelWidth(){if(!this._cachedGetSinglePixelWidth){const t=Yn(this.ctx);if(0===t[1]&&0===t[2])this._cachedGetSinglePixelWidth=1/Math.min(Math.abs(t[0]),Math.abs(t[3]));else{const r=Math.abs(t[0]*t[3]-t[2]*t[1]),d=Math.hypot(t[0],t[2]),p=Math.hypot(t[1],t[3]);this._cachedGetSinglePixelWidth=Math.max(d,p)/r}}return this._cachedGetSinglePixelWidth}getScaleForStroking(){if(-1===this._cachedScaleForStroking[0]){const{lineWidth:t}=this.current,{a:r,b:d,c:p,d:m}=this.ctx.getTransform();let v,w;if(0===d&&0===p){const M=Math.abs(r),$=Math.abs(m);if(M===$)if(0===t)v=w=1/M;else{const K=M*t;v=w=K<1?1/K:1}else if(0===t)v=1/M,w=1/$;else{const K=M*t,re=$*t;v=K<1?1/K:1,w=re<1?1/re:1}}else{const M=Math.abs(r*m-d*p),$=Math.hypot(r,d),K=Math.hypot(p,m);if(0===t)v=K/M,w=$/M;else{const re=t*M;v=K>re?K/re:1,w=$>re?$/re:1}}this._cachedScaleForStroking[0]=v,this._cachedScaleForStroking[1]=w}return this._cachedScaleForStroking}rescaleAndStroke(t){const{ctx:r}=this,{lineWidth:d}=this.current,[p,m]=this.getScaleForStroking();if(r.lineWidth=d||1,1===p&&1===m)return void r.stroke();const v=r.getLineDash();if(t&&r.save(),r.scale(p,m),v.length>0){const w=Math.max(p,m);r.setLineDash(v.map(M=>M/w)),r.lineDashOffset/=w}r.stroke(),t&&r.restore()}isContentVisible(){for(let t=this.markedContentStack.length-1;t>=0;t--)if(!this.markedContentStack[t].visible)return!1;return!0}}for(const x in sn)void 0!==es.prototype[x]&&(es.prototype[sn[x]]=es.prototype[x]);class wo{static#e=null;static#t="";static get workerPort(){return this.#e}static set workerPort(t){if(!(typeof Worker<"u"&&t instanceof Worker)&&null!==t)throw new Error("Invalid `workerPort` type.");this.#e=t}static get workerSrc(){return this.#t}static set workerSrc(t){if("string"!=typeof t)throw new Error("Invalid `workerSrc` type.");this.#t=t}}function Ms(x){switch(x instanceof Error||"object"==typeof x&&null!==x||_t('wrapReason: Expected "reason" to be a (possibly cloned) Error.'),x.name){case"AbortException":return new Mi(x.message);case"MissingPDFException":return new Wn(x.message);case"PasswordException":return new Ot(x.message,x.code);case"UnexpectedResponseException":return new qn(x.message,x.status);case"UnknownErrorException":return new Gt(x.message,x.details);default:return new Gt(x.message,x.toString())}}class Lo{#e=new AbortController;constructor(t,r,d){this.sourceName=t,this.targetName=r,this.comObj=d,this.callbackId=1,this.streamId=1,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null),this.callbackCapabilities=Object.create(null),this.actionHandler=Object.create(null),d.addEventListener("message",this.#t.bind(this),{signal:this.#e.signal})}#t({data:t}){if(t.targetName!==this.sourceName)return;if(t.stream)return void this.#i(t);if(t.callback){const d=t.callbackId,p=this.callbackCapabilities[d];if(!p)throw new Error(`Cannot resolve callback ${d}`);if(delete this.callbackCapabilities[d],1===t.callback)p.resolve(t.data);else{if(2!==t.callback)throw new Error("Unexpected callback case");p.reject(Ms(t.reason))}return}const r=this.actionHandler[t.action];if(!r)throw new Error(`Unknown action from worker: ${t.action}`);if(t.callbackId){const d=this.sourceName,p=t.sourceName,m=this.comObj;new Promise(function(v){v(r(t.data))}).then(function(v){m.postMessage({sourceName:d,targetName:p,callback:1,callbackId:t.callbackId,data:v})},function(v){m.postMessage({sourceName:d,targetName:p,callback:2,callbackId:t.callbackId,reason:Ms(v)})})}else t.streamId?this.#n(t):r(t.data)}on(t,r){const d=this.actionHandler;if(d[t])throw new Error(`There is already an actionName called "${t}"`);d[t]=r}send(t,r,d){this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:t,data:r},d)}
3sendWithPromise(t,r,d){const p=this.callbackId++,m=Promise.withResolvers();this.callbackCapabilities[p]=m;try{this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:t,callbackId:p,data:r},d)}catch(v){m.reject(v)}return m.promise}sendWithStream(t,r,d,p){const m=this.streamId++,v=this.sourceName,w=this.targetName,M=this.comObj;return new ReadableStream({start:$=>{const K=Promise.withResolvers();return this.streamControllers[m]={controller:$,startCall:K,pullCall:null,cancelCall:null,isClosed:!1},M.postMessage({sourceName:v,targetName:w,action:t,streamId:m,data:r,desiredSize:$.desiredSize},p),K.promise},pull:$=>{const K=Promise.withResolvers();return this.streamControllers[m].pullCall=K,M.postMessage({sourceName:v,targetName:w,stream:6,streamId:m,desiredSize:$.desiredSize}),K.promise},cancel:$=>{on($ instanceof Error,"cancel must have a valid reason");const K=Promise.withResolvers();return this.streamControllers[m].cancelCall=K,this.streamControllers[m].isClosed=!0,M.postMessage({sourceName:v,targetName:w,stream:1,streamId:m,reason:Ms($)}),K.promise}},d)}#n(t){const r=t.streamId,d=this.sourceName,p=t.sourceName,m=this.comObj,v=this,w=this.actionHandler[t.action],M={enqueue($,K=1,re){if(this.isCancelled)return;const me=this.desiredSize;this.desiredSize-=K,me>0&&this.desiredSize<=0&&(this.sinkCapability=Promise.withResolvers(),this.ready=this.sinkCapability.promise),m.postMessage({sourceName:d,targetName:p,stream:4,streamId:r,chunk:$},re)},close(){this.isCancelled||(this.isCancelled=!0,m.postMessage({sourceName:d,targetName:p,stream:3,streamId:r}),delete v.streamSinks[r])},error($){on($ instanceof Error,"error must have a valid reason"),!this.isCancelled&&(this.isCancelled=!0,m.postMessage({sourceName:d,targetName:p,stream:5,streamId:r,reason:Ms($)}))},sinkCapability:Promise.withResolvers(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:t.desiredSize,ready:null};M.sinkCapability.resolve(),M.ready=M.sinkCapability.promise,this.streamSinks[r]=M,new Promise(function($){$(w(t.data,M))}).then(function(){m.postMessage({sourceName:d,targetName:p,stream:8,streamId:r,success:!0})},function($){m.postMessage({sourceName:d,targetName:p,stream:8,streamId:r,reason:Ms($)})})}#i(t){const r=t.streamId,d=this.sourceName,p=t.sourceName,m=this.comObj,v=this.streamControllers[r],w=this.streamSinks[r];switch(t.stream){case 8:t.success?v.startCall.resolve():v.startCall.reject(Ms(t.reason));break;case 7:t.success?v.pullCall.resolve():v.pullCall.reject(Ms(t.reason));break;case 6:if(!w){m.postMessage({sourceName:d,targetName:p,stream:7,streamId:r,success:!0});break}w.desiredSize<=0&&t.desiredSize>0&&w.sinkCapability.resolve(),w.desiredSize=t.desiredSize,new Promise(function(M){M(w.onPull?.())}).then(function(){m.postMessage({sourceName:d,targetName:p,stream:7,streamId:r,success:!0})},function(M){m.postMessage({sourceName:d,targetName:p,stream:7,streamId:r,reason:Ms(M)})});break;case 4:if(on(v,"enqueue should have stream controller"),v.isClosed)break;v.controller.enqueue(t.chunk);break;case 3:if(on(v,"close should have stream controller"),v.isClosed)break;v.isClosed=!0,v.controller.close(),this.#r(v,r);break;case 5:on(v,"error should have stream controller"),v.controller.error(Ms(t.reason)),this.#r(v,r);break;case 2:t.success?v.cancelCall.resolve():v.cancelCall.reject(Ms(t.reason)),this.#r(v,r);break;case 1:if(!w)break;new Promise(function(M){M(w.onCancel?.(Ms(t.reason)))}).then(function(){m.postMessage({sourceName:d,targetName:p,stream:2,streamId:r,success:!0})},function(M){m.postMessage({sourceName:d,targetName:p,stream:2,streamId:r,reason:Ms(M)})}),w.sinkCapability.reject(Ms(t.reason)),w.isCancelled=!0,delete this.streamSinks[r];break;default:throw new Error("Unexpected stream case")}}#r(t,r){var d=this;return(0,A.A)(function*(){yield Promise.allSettled([t.startCall?.promise,t.pullCall?.promise,t.cancelCall?.promise]),delete d.streamControllers[r]})()}destroy(){this.#e?.abort(),this.#e=null}}class po{#e;#t;constructor({parsedData:t,rawData:r}){this.#e=t,this.#t=r}getRaw(){return this.#t}get(t){return this.#e.get(t)??null}getAll(){return Rt(this.#e)}has(t){return this.#e.has(t)}}const Hs=Symbol("INTERNAL");class Da{#e=!1;#t=!1;#n=!1;#i=!0;constructor(t,{name:r,intent:d,usage:p,rbGroups:m}){this.#e=!!(2&t),this.#t=!!(4&t),this.name=r,this.intent=d,this.usage=p,this.rbGroups=m}get visible(){if(this.#n)return this.#i;if(!this.#i)return!1;const{print:t,view:r}=this.usage;return this.#e?"OFF"!==r?.viewState:!this.#t||"OFF"!==t?.printState}_setVisible(t,r,d=!1){t!==Hs&&_t("Internal method `_setVisible` called."),this.#n=d,this.#i=r}}class Ml{#e=null;#t=new Map;#n=null;#i=null;constructor(t,r=2){if(this.renderingIntent=r,this.name=null,this.creator=null,null!==t){this.name=t.name,this.creator=t.creator,this.#i=t.order;for(const d of t.groups)this.#t.set(d.id,new Da(r,d));if("OFF"===t.baseState)for(const d of this.#t.values())d._setVisible(Hs,!1);for(const d of t.on)this.#t.get(d)._setVisible(Hs,!0);for(const d of t.off)this.#t.get(d)._setVisible(Hs,!1);this.#n=this.getHash()}}#r(t){const r=t.length;if(r<2)return!0;const d=t[0];for(let p=1;p<r;p++){const m=t[p];let v;if(Array.isArray(m))v=this.#r(m);else{if(!this.#t.has(m))return nt(`Optional content group not found: ${m}`),!0;v=this.#t.get(m).visible}switch(d){case"And":if(!v)return!1;break;case"Or":if(v)return!0;break;case"Not":return!v;default:return!0}}return"And"===d}isVisible(t){if(0===this.#t.size)return!0;
vendor: 4,429 bytes, line 3
3if(!t)return tt("Optional content group not defined."),!0;if("OCG"===t.type)return this.#t.has(t.id)?this.#t.get(t.id).visible:(nt(`Optional content group not found: ${t.id}`),!0);if("OCMD"===t.type){if(t.expression)return this.#r(t.expression);if(!t.policy||"AnyOn"===t.policy){for(const r of t.ids){if(!this.#t.has(r))return nt(`Optional content group not found: ${r}`),!0;if(this.#t.get(r).visible)return!0}return!1}if("AllOn"===t.policy){for(const r of t.ids){if(!this.#t.has(r))return nt(`Optional content group not found: ${r}`),!0;if(!this.#t.get(r).visible)return!1}return!0}if("AnyOff"===t.policy){for(const r of t.ids){if(!this.#t.has(r))return nt(`Optional content group not found: ${r}`),!0;if(!this.#t.get(r).visible)return!0}return!1}if("AllOff"===t.policy){for(const r of t.ids){if(!this.#t.has(r))return nt(`Optional content group not found: ${r}`),!0;if(this.#t.get(r).visible)return!1}return!0}return nt(`Unknown optional content policy ${t.policy}.`),!0}return nt(`Unknown group type ${t.type}.`),!0}setVisibility(t,r=!0,d=!0){const p=this.#t.get(t);if(p){if(d&&r&&p.rbGroups.length)for(const m of p.rbGroups)for(const v of m)v!==t&&this.#t.get(v)?._setVisible(Hs,!1,!0);p._setVisible(Hs,!!r,!0),this.#e=null}else nt(`Optional content group not found: ${t}`)}setOCGState({state:t,preserveRB:r}){let d;for(const p of t){switch(p){case"ON":case"OFF":case"Toggle":d=p;continue}const m=this.#t.get(p);if(m)switch(d){case"ON":this.setVisibility(p,!0,r);break;case"OFF":this.setVisibility(p,!1,r);break;case"Toggle":this.setVisibility(p,!m.visible,r)}}this.#e=null}get hasInitialVisibility(){return null===this.#n||this.getHash()===this.#n}getOrder(){return this.#t.size?this.#i?this.#i.slice():[...this.#t.keys()]:null}getGroups(){return this.#t.size>0?Rt(this.#t):null}getGroup(t){return this.#t.get(t)||null}getHash(){if(null!==this.#e)return this.#e;const t=new En;for(const[r,d]of this.#t)t.update(`${r}:${d.visible}`);return this.#e=t.hexdigest()}}class Zs{constructor(t,{disableRange:r=!1,disableStream:d=!1}){on(t,'PDFDataTransportStream - missing required "pdfDataRangeTransport" argument.');const{length:p,initialData:m,progressiveDone:v,contentDispositionFilename:w}=t;if(this._queuedChunks=[],this._progressiveDone=v,this._contentDispositionFilename=w,m?.length>0){const M=m instanceof Uint8Array&&m.byteLength===m.buffer.byteLength?m.buffer:new Uint8Array(m).buffer;this._queuedChunks.push(M)}this._pdfDataRangeTransport=t,this._isStreamingSupported=!d,this._isRangeSupported=!r,this._contentLength=p,this._fullRequestReader=null,this._rangeReaders=[],t.addRangeListener((M,$)=>{this._onReceiveData({begin:M,chunk:$})}),t.addProgressListener((M,$)=>{this._onProgress({loaded:M,total:$})}),t.addProgressiveReadListener(M=>{this._onReceiveData({chunk:M})}),t.addProgressiveDoneListener(()=>{this._onProgressiveDone()}),t.transportReady()}_onReceiveData({begin:t,chunk:r}){const d=r instanceof Uint8Array&&r.byteLength===r.buffer.byteLength?r.buffer:new Uint8Array(r).buffer;void 0===t?this._fullRequestReader?this._fullRequestReader._enqueue(d):this._queuedChunks.push(d):on(this._rangeReaders.some(function(m){return m._begin===t&&(m._enqueue(d),!0)}),"_onReceiveData - no `PDFDataTransportStreamRangeReader` instance found.")}get _progressiveDataLength(){return this._fullRequestReader?._loaded??0}_onProgress(t){void 0===t.total?this._rangeReaders[0]?.onProgress?.({loaded:t.loaded}):this._fullRequestReader?.onProgress?.({loaded:t.loaded,total:t.total})}_onProgressiveDone(){this._fullRequestReader?.progressiveDone(),this._progressiveDone=!0}_removeRangeReader(t){const r=this._rangeReaders.indexOf(t);r>=0&&this._rangeReaders.splice(r,1)}getFullReader(){on(!this._fullRequestReader,"PDFDataTransportStream.getFullReader can only be called once.");const t=this._queuedChunks;return this._queuedChunks=null,new fs(this,t,this._progressiveDone,this._contentDispositionFilename)}getRangeReader(t,r){if(r<=this._progressiveDataLength)return null;const d=new Pr(this,t,r);return this._pdfDataRangeTransport.requestDataRange(t,r),this._rangeReaders.push(d),d}cancelAllRequests(t){this._fullRequestReader?.cancel(t);for(const r of this._rangeReaders.slice(0))r.cancel(t);this._pdfDataRangeTransport.abort()}}class fs{constructor(t,r,d=!1,p=null){this._stream=t,this._done=d||!1,this._filename=mr(p)?p:null,this._queuedChunks=r||[],this._loaded=0;for(const m of this._queuedChunks)this._loaded+=m.byteLength;
3this._requests=[],this._headersReady=Promise.resolve(),t._fullRequestReader=this,this.onProgress=null}_enqueue(t){this._done||(this._requests.length>0?this._requests.shift().resolve({value:t,done:!1}):this._queuedChunks.push(t),this._loaded+=t.byteLength)}get headersReady(){return this._headersReady}get filename(){return this._filename}get isRangeSupported(){return this._stream._isRangeSupported}get isStreamingSupported(){return this._stream._isStreamingSupported}get contentLength(){return this._stream._contentLength}read(){var t=this;return(0,A.A)(function*(){if(t._queuedChunks.length>0)return{value:t._queuedChunks.shift(),done:!1};if(t._done)return{value:void 0,done:!0};const r=Promise.withResolvers();return t._requests.push(r),r.promise})()}cancel(t){this._done=!0;for(const r of this._requests)r.resolve({value:void 0,done:!0});this._requests.length=0}progressiveDone(){this._done||(this._done=!0)}}class Pr{constructor(t,r,d){this._stream=t,this._begin=r,this._end=d,this._queuedChunk=null,this._requests=[],this._done=!1,this.onProgress=null}_enqueue(t){if(!this._done){if(0===this._requests.length)this._queuedChunk=t;else{this._requests.shift().resolve({value:t,done:!1});for(const d of this._requests)d.resolve({value:void 0,done:!0});this._requests.length=0}this._done=!0,this._stream._removeRangeReader(this)}}get isStreamingSupported(){return!1}read(){var t=this;return(0,A.A)(function*(){if(t._queuedChunk){const d=t._queuedChunk;return t._queuedChunk=null,{value:d,done:!1}}if(t._done)return{value:void 0,done:!0};const r=Promise.withResolvers();return t._requests.push(r),r.promise})()}cancel(t){this._done=!0;for(const r of this._requests)r.resolve({value:void 0,done:!0});this._requests.length=0,this._stream._removeRangeReader(this)}}function Wr(x,t){const r=new Headers;if(!x||!t||"object"!=typeof t)return r;for(const d in t){const p=t[d];void 0!==p&&r.append(d,p)}return r}function Ba({responseHeaders:x,isHttp:t,rangeChunkSize:r,disableRange:d}){const p={allowRangeRequests:!1,suggestedLength:void 0},m=parseInt(x.get("Content-Length"),10);return!Number.isInteger(m)||(p.suggestedLength=m,m<=2*r)||d||!t||"bytes"!==x.get("Accept-Ranges")||"identity"!==(x.get("Content-Encoding")||"identity")||(p.allowRangeRequests=!0),p}function ro(x){const t=x.get("Content-Disposition");if(t){let r=function ms(x){let t=!0,r=d("filename\\*","i").exec(x);if(r){r=r[1];let K=w(r);return K=unescape(K),K=M(K),K=$(K),m(K)}if(r=function v(K){const re=[];let me;const Ue=d("filename\\*((?!0\\d)\\d+)(\\*?)","ig");for(;null!==(me=Ue.exec(K));){let[,gt,It,St]=me;if(gt=parseInt(gt,10),gt in re){if(0===gt)break}else re[gt]=[It,St]}const Qe=[];for(let gt=0;gt<re.length&&gt in re;++gt){let[It,St]=re[gt];St=w(St),It&&(St=unescape(St),0===gt&&(St=M(St))),Qe.push(St)}return Qe.join("")}(x),r)return m($(r));if(r=d("filename","i").exec(x),r){r=r[1];let K=w(r);return K=$(K),m(K)}function d(K,re){return new RegExp("(?:^|;)\\s*"+K+'\\s*=\\s*([^";\\s][^;\\s]*|"(?:[^"\\\\]|\\\\"?)+"?)',re)}function p(K,re){if(K){if(!/^[\x00-\xFF]+$/.test(re))return re;try{const me=new TextDecoder(K,{fatal:!0}),Ue=Yi(re);re=me.decode(Ue),t=!1}catch{}}return re}function m(K){return t&&/[\x80-\xff]/.test(K)&&(K=p("utf-8",K),t&&(K=p("iso-8859-1",K))),K}function w(K){if(K.startsWith('"')){const re=K.slice(1).split('\\"');for(let me=0;me<re.length;++me){const Ue=re[me].indexOf('"');-1!==Ue&&(re[me]=re[me].slice(0,Ue),re.length=me+1),re[me]=re[me].replaceAll(/\\(.)/g,"$1")}K=re.join('"')}return K}function M(K){const re=K.indexOf("'");return-1===re?K:p(K.slice(0,re),K.slice(re+1).replace(/^[^']*'/,""))}function $(K){return!K.startsWith("=?")||/[\x00-\x19\x80-\xff]/.test(K)?K:K.replaceAll(/=\?([\w-]*)\?([QqBb])\?((?:[^?]|\?(?!=))*)\?=/g,function(re,me,Ue,Qe){if("q"===Ue||"Q"===Ue)return p(me,Qe=(Qe=Qe.replaceAll("_"," ")).replaceAll(/=([0-9a-fA-F]{2})/g,function(gt,It){return String.fromCharCode(parseInt(It,16))}));try{Qe=atob(Qe)}catch{}return p(me,Qe)})}return""}(t);if(r.includes("%"))try{r=decodeURIComponent(r)}catch{}if(mr(r))return r}return null}function Uo(x,t){return 404===x||0===x&&t.startsWith("file:")?new Wn('Missing PDF "'+t+'".'):new qn(`Unexpected server response 
3(${x}) while retrieving PDF "${t}".`,x)}function da(x){return 200===x||206===x}function go(x,t,r){return{method:"GET",headers:x,signal:r.signal,mode:"cors",credentials:t?"include":"same-origin",redirect:"follow"}}function Ri(x){return x instanceof Uint8Array?x.buffer:x instanceof ArrayBuffer?x:(nt(`getArrayBuffer - unexpected data format: ${x}`),new Uint8Array(x).buffer)}class ts{constructor(t){this.source=t,this.isHttp=/^https?:/i.test(t.url),this.headers=Wr(this.isHttp,t.httpHeaders),this._fullRequestReader=null,this._rangeRequestReaders=[]}get _progressiveDataLength(){return this._fullRequestReader?._loaded??0}getFullReader(){return on(!this._fullRequestReader,"PDFFetchStream.getFullReader can only be called once."),this._fullRequestReader=new Bs(this),this._fullRequestReader}getRangeReader(t,r){if(r<=this._progressiveDataLength)return null;const d=new Qc(this,t,r);return this._rangeRequestReaders.push(d),d}cancelAllRequests(t){this._fullRequestReader?.cancel(t);for(const r of this._rangeRequestReaders.slice(0))r.cancel(t)}}class Bs{constructor(t){this._stream=t,this._reader=null,this._loaded=0,this._filename=null;const r=t.source;this._withCredentials=r.withCredentials||!1,this._contentLength=r.length,this._headersCapability=Promise.withResolvers(),this._disableRange=r.disableRange||!1,this._rangeChunkSize=r.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._abortController=new AbortController,this._isStreamingSupported=!r.disableStream,this._isRangeSupported=!r.disableRange;const d=new Headers(t.headers),p=r.url;fetch(p,go(d,this._withCredentials,this._abortController)).then(m=>{if(!da(m.status))throw Uo(m.status,p);this._reader=m.body.getReader(),this._headersCapability.resolve();const v=m.headers,{allowRangeRequests:w,suggestedLength:M}=Ba({responseHeaders:v,isHttp:t.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});this._isRangeSupported=w,this._contentLength=M||this._contentLength,this._filename=ro(v),!this._isStreamingSupported&&this._isRangeSupported&&this.cancel(new Mi("Streaming is disabled."))}).catch(this._headersCapability.reject),this.onProgress=null}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}read(){var t=this;return(0,A.A)(function*(){yield t._headersCapability.promise;const{value:r,done:d}=yield t._reader.read();return d?{value:r,done:d}:(t._loaded+=r.byteLength,t.onProgress?.({loaded:t._loaded,total:t._contentLength}),{value:Ri(r),done:!1})})()}cancel(t){this._reader?.cancel(t),this._abortController.abort()}}class Qc{constructor(t,r,d){this._stream=t,this._reader=null,this._loaded=0;const p=t.source;this._withCredentials=p.withCredentials||!1,this._readCapability=Promise.withResolvers(),this._isStreamingSupported=!p.disableStream,this._abortController=new AbortController;const m=new Headers(t.headers);m.append("Range",`bytes=${r}-${d-1}`);const v=p.url;fetch(v,go(m,this._withCredentials,this._abortController)).then(w=>{if(!da(w.status))throw Uo(w.status,v);this._readCapability.resolve(),this._reader=w.body.getReader()}).catch(this._readCapability.reject),this.onProgress=null}get isStreamingSupported(){return this._isStreamingSupported}read(){var t=this;return(0,A.A)(function*(){yield t._readCapability.promise;const{value:r,done:d}=yield t._reader.read();return d?{value:r,done:d}:(t._loaded+=r.byteLength,t.onProgress?.({loaded:t._loaded}),{value:Ri(r),done:!1})})()}cancel(t){this._reader?.cancel(t),this._abortController.abort()}}class nd{constructor({url:t,httpHeaders:r,withCredentials:d}){this.url=t,this.isHttp=/^https?:/i.test(t),this.headers=Wr(this.isHttp,r),this.withCredentials=d||!1,this.currXhrId=0,this.pendingRequests=Object.create(null)}requestRange(t,r,d){const p={begin:t,end:r};for(const m in d)p[m]=d[m];return this.request(p)}requestFull(t){return this.request(t)}request(t){const r=new XMLHttpRequest,d=this.currXhrId++,p=this.pendingRequests[d]={xhr:r};r.open("GET",this.url),r.withCredentials=this.withCredentials;for(const[m,v]of this.headers)r.setRequestHeader(m,v);return this.isHttp&&"begin"in t&&"end"in t?(r.setRequestHeader("Range",`bytes=${t.begin}-${t.end-1}`),p.expectedStatus=206):p.expectedStatus=200,r.responseType="arraybuffer",t.onError&&(r.onerror=function(m){t.onError(r.status)}),r.onreadystatechange=this.onStateChange.bind(this,d),r.onprogress=this.onProgress.bind(this,d),p.onHeadersReceived=t.onHeadersReceived,p.onDone=t.onDone,p.onError=t.onError,p.onProgress=t.onProgress,r.send(null),d}onProgress(t,r){const d=this.pendingRequests[t];d&&d.onProgress?.(r)}onStateChange(t,r){const d=this.pendingRequests[t];if(!d)return;const p=d.xhr;if(p.readyState>=2&&d.onHeadersReceived&&(d.onHeadersReceived(),delete d.onHeadersReceived),4!==p.readyState||!(t in this.pendingRequests))return;if(delete this.pendingRequests[t],0===p.status&&this.isHttp)return void d.onError?.(p.status);const m=p.status||200;if((200!==m||206!==d.expectedStatus)&&m!==d.expectedStatus)return void d.onError?.(p.status);const w=function gl(x){const t=x.response;return"string"!=typeof t?t:Yi(t).buffer}(p);if(206===m){const M=p.getResponseHeader("Content-Range"),$=/bytes (\d+)-(\d+)\/(\d+)/.exec(M);d.onDone({begin:parseInt($[1],10),chunk:w})}else w?d.onDone({begin:0,chunk:w}):d.onError?.(p.status)}getRequestXhr(t){return this.pendingRequests[t].xhr}isPendingRequest(t){return t in this.pendingRequests}
3abortRequest(t){const r=this.pendingRequests[t].xhr;delete this.pendingRequests[t],r.abort()}}class xc{constructor(t){this._source=t,this._manager=new nd(t),this._rangeChunkSize=t.rangeChunkSize,this._fullRequestReader=null,this._rangeRequestReaders=[]}_onRangeRequestReaderClosed(t){const r=this._rangeRequestReaders.indexOf(t);r>=0&&this._rangeRequestReaders.splice(r,1)}getFullReader(){return on(!this._fullRequestReader,"PDFNetworkStream.getFullReader can only be called once."),this._fullRequestReader=new Zc(this._manager,this._source),this._fullRequestReader}getRangeReader(t,r){const d=new fe(this._manager,t,r);return d.onClosed=this._onRangeRequestReaderClosed.bind(this),this._rangeRequestReaders.push(d),d}cancelAllRequests(t){this._fullRequestReader?.cancel(t);for(const r of this._rangeRequestReaders.slice(0))r.cancel(t)}}class Zc{constructor(t,r){this._manager=t;const d={onHeadersReceived:this._onHeadersReceived.bind(this),onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=r.url,this._fullRequestId=t.requestFull(d),this._headersCapability=Promise.withResolvers(),this._disableRange=r.disableRange||!1,this._contentLength=r.length,this._rangeChunkSize=r.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._isStreamingSupported=!1,this._isRangeSupported=!1,this._cachedChunks=[],this._requests=[],this._done=!1,this._storedError=void 0,this._filename=null,this.onProgress=null}_onHeadersReceived(){const t=this._fullRequestId,r=this._manager.getRequestXhr(t),d=new Headers(r.getAllResponseHeaders().trim().split(/[\r\n]+/).map(v=>{const[w,...M]=v.split(": ");return[w,M.join(": ")]})),{allowRangeRequests:p,suggestedLength:m}=Ba({responseHeaders:d,isHttp:this._manager.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});p&&(this._isRangeSupported=!0),this._contentLength=m||this._contentLength,this._filename=ro(d),this._isRangeSupported&&this._manager.abortRequest(t),this._headersCapability.resolve()}_onDone(t){if(t&&(this._requests.length>0?this._requests.shift().resolve({value:t.chunk,done:!1}):this._cachedChunks.push(t.chunk)),this._done=!0,!(this._cachedChunks.length>0)){for(const r of this._requests)r.resolve({value:void 0,done:!0});this._requests.length=0}}_onError(t){this._storedError=Uo(t,this._url),this._headersCapability.reject(this._storedError);for(const r of this._requests)r.reject(this._storedError);this._requests.length=0,this._cachedChunks.length=0}_onProgress(t){this.onProgress?.({loaded:t.loaded,total:t.lengthComputable?t.total:this._contentLength})}get filename(){return this._filename}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}get contentLength(){return this._contentLength}get headersReady(){return this._headersCapability.promise}read(){var t=this;return(0,A.A)(function*(){if(t._storedError)throw t._storedError;if(t._cachedChunks.length>0)return{value:t._cachedChunks.shift(),done:!1};if(t._done)return{value:void 0,done:!0};const r=Promise.withResolvers();return t._requests.push(r),r.promise})()}cancel(t){this._done=!0,this._headersCapability.reject(t);for(const r of this._requests)r.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._fullRequestId)&&this._manager.abortRequest(this._fullRequestId),this._fullRequestReader=null}}class fe{constructor(t,r,d){this._manager=t;const p={onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=t.url,this._requestId=t.requestRange(r,d,p),this._requests=[],this._queuedChunk=null,this._done=!1,this._storedError=void 0,this.onProgress=null,this.onClosed=null}_close(){this.onClosed?.(this)}_onDone(t){const r=t.chunk;this._requests.length>0?this._requests.shift().resolve({value:r,done:!1}):this._queuedChunk=r,this._done=!0;for(const d of this._requests)d.resolve({value:void 0,done:!0});this._requests.length=0,this._close()}_onError(t){this._storedError=Uo(t,this._url);for(const r of this._requests)r.reject(this._storedError);this._requests.length=0,this._queuedChunk=null}_onProgress(t){this.isStreamingSupported||this.onProgress?.({loaded:t.loaded})}get isStreamingSupported(){return!1}read(){var t=this;return(0,A.A)(function*(){if(t._storedError)throw t._storedError;if(null!==t._queuedChunk){const d=t._queuedChunk;return t._queuedChunk=null,{value:d,done:!1}}if(t._done)return{value:void 0,done:!0};const r=Promise.withResolvers();return t._requests.push(r),r.promise})()}cancel(t){this._done=!0;for(const r of this._requests)r.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._requestId)&&this._manager.abortRequest
3(this._requestId),this._close()}}const ye=/^[a-z][a-z0-9\-+.]+:/i;function ze(x,t,r){return"http:"===x.protocol?Kt.get("http").request(x,{headers:t},r):Kt.get("https").request(x,{headers:t},r)}class Ft{constructor(t){this.source=t,this.url=function ee(x){if(ye.test(x))return new URL(x);const t=Kt.get("url");return new URL(t.pathToFileURL(x))}(t.url),this.isHttp="http:"===this.url.protocol||"https:"===this.url.protocol,this.isFsUrl="file:"===this.url.protocol,this.headers=Wr(this.isHttp,t.httpHeaders),this._fullRequestReader=null,this._rangeRequestReaders=[]}get _progressiveDataLength(){return this._fullRequestReader?._loaded??0}getFullReader(){return on(!this._fullRequestReader,"PDFNodeStream.getFullReader can only be called once."),this._fullRequestReader=this.isFsUrl?new La(this):new Ma(this),this._fullRequestReader}getRangeReader(t,r){if(r<=this._progressiveDataLength)return null;const d=this.isFsUrl?new yc(this,t,r):new Rr(this,t,r);return this._rangeRequestReaders.push(d),d}cancelAllRequests(t){this._fullRequestReader?.cancel(t);for(const r of this._rangeRequestReaders.slice(0))r.cancel(t)}}class Kn{constructor(t){this._url=t.url,this._done=!1,this._storedError=null,this.onProgress=null;const r=t.source;this._contentLength=r.length,this._loaded=0,this._filename=null,this._disableRange=r.disableRange||!1,this._rangeChunkSize=r.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._isStreamingSupported=!r.disableStream,this._isRangeSupported=!r.disableRange,this._readableStream=null,this._readCapability=Promise.withResolvers(),this._headersCapability=Promise.withResolvers()}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}read(){var t=this;return(0,A.A)(function*(){if(yield t._readCapability.promise,t._done)return{value:void 0,done:!0};if(t._storedError)throw t._storedError;const r=t._readableStream.read();return null===r?(t._readCapability=Promise.withResolvers(),t.read()):(t._loaded+=r.length,t.onProgress?.({loaded:t._loaded,total:t._contentLength}),{value:new Uint8Array(r).buffer,done:!1})})()}cancel(t){this._readableStream?this._readableStream.destroy(t):this._error(t)}_error(t){this._storedError=t,this._readCapability.resolve()}_setReadableStream(t){this._readableStream=t,t.on("readable",()=>{this._readCapability.resolve()}),t.on("end",()=>{t.destroy(),this._done=!0,this._readCapability.resolve()}),t.on("error",r=>{this._error(r)}),!this._isStreamingSupported&&this._isRangeSupported&&this._error(new Mi("streaming is disabled")),this._storedError&&this._readableStream.destroy(this._storedError)}}class ur{constructor(t){this._url=t.url,this._done=!1,this._storedError=null,this.onProgress=null,this._loaded=0,this._readableStream=null,this._readCapability=Promise.withResolvers(),this._isStreamingSupported=!t.source.disableStream}get isStreamingSupported(){return this._isStreamingSupported}read(){var t=this;return(0,A.A)(function*(){if(yield t._readCapability.promise,t._done)return{value:void 0,done:!0};if(t._storedError)throw t._storedError;const r=t._readableStream.read();return null===r?(t._readCapability=Promise.withResolvers(),t.read()):(t._loaded+=r.length,t.onProgress?.({loaded:t._loaded}),{value:new Uint8Array(r).buffer,done:!1})})()}cancel(t){this._readableStream?this._readableStream.destroy(t):this._error(t)}_error(t){this._storedError=t,this._readCapability.resolve()}_setReadableStream(t){this._readableStream=t,t.on("readable",()=>{this._readCapability.resolve()}),t.on("end",()=>{t.destroy(),this._done=!0,this._readCapability.resolve()}),t.on("error",r=>{this._error(r)}),this._storedError&&this._readableStream.destroy(this._storedError)}}class Ma extends Kn{constructor(t){super(t);const r=Object.fromEntries(t.headers);this._request=ze(this._url,r,p=>{if(404===p.statusCode){const M=new Wn(`Missing PDF "${this._url}".`);return this._storedError=M,void this._headersCapability.reject(M)}this._headersCapability.resolve(),this._setReadableStream(p);const m=new Headers(this._readableStream.headers),{allowRangeRequests:v,suggestedLength:w}=Ba({responseHeaders:m,isHttp:t.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});this._isRangeSupported=v,this._contentLength=w||this._contentLength,this._filename=ro(m)}),this._request.on("error",p=>{this._storedError=p,this._headersCapability.reject(p)}),this._request.end()}}class Rr extends ur{constructor(t,r,d){super(t);const p=Object.fromEntries(t.headers);p.Range=`bytes=${r}-${d-1}`,this._request=ze(this._url,p,v=>{if(404!==v.statusCode)this._setReadableStream(v);else{const w=new Wn(`Missing PDF "${this._url}".`);this._storedError=w}}),this._request.on("error",v=>{this._storedError=v}),this._request.end()}}class La extends Kn{constructor(t){super(t);const r=Kt.get("fs");r.promises.lstat(this._url).then(d=>{this._contentLength=d.size,this._setReadableStream(r.createReadStream(this._url)),this._headersCapability.resolve()},d=>{"ENOENT"===d.code&&(d=new Wn(`Missing PDF "${this._url}".`)),this._storedError=d,this._headersCapability.reject(d)})}}class yc extends ur{constructor(t,r,d){super(t);const p=Kt.get("fs");this._setReadableStream(p.createReadStream(this._url,{start:r,end:d-1}))}}class Br{#e=Promise.withResolvers();#t=null;#n=!1;#i=!!globalThis.FontInspector?.enabled;#r=null;#s=null;#c=0;#l=0;#d=null;#a=null;#u=0;#o=0;#h=Object.create(null);#p=[];#f=null;#g=[];#y=new WeakMap;#m=null;static#b=new Map;static#_=new Map;static#C=new WeakMap;static#F=null;static#w=new Set;constructor({textContentSource:t,container:r,viewport:d}){if(t instanceof ReadableStream)this.#f=t;else{if("object"!=typeof t)throw new Error('No "textContentSource" parameter specified.');this.#f=new ReadableStream({start(M){M.enqueue(t),M.close()}})}this.#t=this.#a=r,this.#o=d.scale*(globalThis.devicePixelRatio||1),this.#u=d.rotation,this.#s={div:null,properties:null,ctx:null};const{pageWidth:p,pageHeight:m,pageX:v,pageY:w}=d.rawDims;this.#m=[1,0,0,-1,-v,w+m],this.#l=p,this.#c=m,Br.#T(),ii(r,d),this.#e.promise.finally(()=>{Br.#w.delete(this),this.#s=null,this.#h=null}).catch(()=>{})}static get fontFamilyMap(){const{isWindows:t,isFirefox:r}=xn.platform;return hn(this,"fontFamilyMap",new Map([["sans-serif",(t&&r?"Calibri, ":"")+"sans-serif"],["monospace",(t&&r?"Lucida Console, ":"")+"monospace"]]))}render(){const t=()=>{this.#d.read().then(({value:r,done:d})=>{d?this.#e.resolve():(this.#r??=r.lang,Object.assign(this.#h,r.styles),this.#A(r.items),t())},this.#e.reject)};return this.#d=this.#f.getReader(),Br.#w.add(this),t(),this.#e.promise}update({viewport:t,onBefore:r=null}){const d=t.scale*(globalThis.devicePixelRatio||1),p=t.rotation;if(p!==this.#u&&(r?.(),this.#u=p,ii(this.#a,{rotation:p})),d!==this.#o){r?.(),this.#o=d;const m={div:null,properties:null,ctx:Br.#x(this.#r)};for(const v of this.#g)m.properties=this.#y.get(v),m.div=v,this.#E(m)}}cancel(){const t=new Mi("TextLayer task cancelled.");this.#d?.cancel(t).catch(()=>{}),this.#d=null,this.#e.reject(t)}get textDivs(){return this.#g}get textContentItemsStr(){return this.#p}#A(t){if(this.#n)return;this.#s.ctx??=Br.#x(this.#r);const r=this.#g,d=this.#p;for(const p of t){if(r.length>1e5)return nt("Ignoring additional textDivs for performance reasons."),void(this.#n=!0);if(void 0!==p.str)d.push(p.str),this.#D(p);else if("beginMarkedContentProps"===p.type||"beginMarkedContent"===p.type){const m=this.#t;this.#t=document.createElement("span"),this.#t.classList.add("markedContent"),null!==p.id&&this.#t.setAttribute("id",`${p.id}`),m.append(this.#t)}else"endMarkedContent"===p.type&&(this.#t=this.#t.parentNode)}}#D(t){const r=document.createElement("span"),d={angle:0,canvasWidth:0,hasText:""!==t.str,hasEOL:t.hasEOL,fontSize:0};this.#g.push(r);const p=Ye.transform(this.#m,t.transform);let m=Math.atan2(p[1],p[0]);const v=this.#h[t.fontName];v.vertical&&(m+=Math.PI/2);let w=this.#i&&v.fontSubstitution||v.fontFamily;w=Br.fontFamilyMap.get(w)||w;const M=Math.hypot(p[2],p[3]),$=M*Br.#P(w,this.#r);let K,re;0===m?(K=p[4],re=p[5]-$):(K=p[4]+$*Math.sin(m),re=p[5]-$*Math.cos(m));const me="calc(var(--scale-factor)*",Ue=r.style;this.#t===this.#a?(Ue.left=`${(100*K/this.#l).toFixed(2)}%`,Ue.top=`${(100*re/this.#c).toFixed(2)}%`):(Ue.left=`${me}${K.toFixed(2)}px)`,Ue.top=`${me}${re.toFixed(2)}px)`),Ue.fontSize=`${me}${(Br.#F*M).toFixed(2)}px)`,Ue.fontFamily=w,d.fontSize=M,r.setAttribute("role","presentation"),r.textContent=t.str,r.dir=t.dir,this.#i&&(r.dataset.fontName=v.fontSubstitutionLoadedName||t.fontName),0!==m&&(d.angle=m*(180/Math.PI));let Qe=!1;if(t.str.length>1)Qe=!0;else if(" "!==t.str&&t.transform[0]!==t.transform[3]){const gt=Math.abs(t.transform[0]),It=Math.abs(t.transform[3]);gt!==It&&Math.max(gt,It)/Math.min(gt,It)>1.5&&(Qe=!0)}
3if(Qe&&(d.canvasWidth=v.vertical?t.height:t.width),this.#y.set(r,d),this.#s.div=r,this.#s.properties=d,this.#E(this.#s),d.hasText&&this.#t.append(r),d.hasEOL){const gt=document.createElement("br");gt.setAttribute("role","presentation"),this.#t.append(gt)}}#E(t){const{div:r,properties:d,ctx:p}=t,{style:m}=r;let v="";if(Br.#F>1&&(v=`scale(${1/Br.#F})`),0!==d.canvasWidth&&d.hasText){const{fontFamily:w}=m,{canvasWidth:M,fontSize:$}=d;Br.#S(p,$*this.#o,w);const{width:K}=p.measureText(r.textContent);K>0&&(v=`scaleX(${M*this.#o/K}) ${v}`)}0!==d.angle&&(v=`rotate(${d.angle}deg) ${v}`),v.length>0&&(m.transform=v)}static cleanup(){if(!(this.#w.size>0)){this.#b.clear();for(const{canvas:t}of this.#_.values())t.remove();this.#_.clear()}}static#x(t=null){let r=this.#_.get(t||="");if(!r){const d=document.createElement("canvas");d.className="hiddenCanvasElement",d.lang=t,document.body.append(d),r=d.getContext("2d",{alpha:!1,willReadFrequently:!0}),this.#_.set(t,r),this.#C.set(r,{size:0,family:""})}return r}static#S(t,r,d){const p=this.#C.get(t);r===p.size&&d===p.family||(t.font=`${r}px ${d}`,p.size=r,p.family=d)}static#T(){if(null!==this.#F)return;const t=document.createElement("div");t.style.opacity=0,t.style.lineHeight=1,t.style.fontSize="1px",t.style.position="absolute",t.textContent="X",document.body.append(t),this.#F=t.getBoundingClientRect().height,t.remove()}static#P(t,r){const d=this.#b.get(t);if(d)return d;const p=this.#x(r);p.canvas.width=p.canvas.height=30,this.#S(p,30,t);const m=p.measureText("");let v=m.fontBoundingBoxAscent,w=Math.abs(m.fontBoundingBoxDescent);if(v){const K=v/(v+w);return this.#b.set(t,K),p.canvas.width=p.canvas.height=0,K}p.strokeStyle="red",p.clearRect(0,0,30,30),p.strokeText("g",0,0);let M=p.getImageData(0,0,30,30).data;w=0;for(let K=M.length-1-3;K>=0;K-=4)if(M[K]>0){w=Math.ceil(K/4/30);break}p.clearRect(0,0,30,30),p.strokeText("A",0,30),M=p.getImageData(0,0,30,30).data,v=0;for(let K=0,re=M.length;K<re;K+=4)if(M[K]>0){v=30-Math.floor(K/4/30);break}p.canvas.width=p.canvas.height=0;const $=v?v/(v+w):.8;return this.#b.set(t,$),$}}class mo{static textContent(t){const r=[],d={items:r,styles:Object.create(null)};return function p(m){if(!m)return;let v=null;const w=m.name;if("#text"===w)v=m.value;else{if(!mo.shouldBuildText(w))return;m?.attributes?.textContent?v=m.attributes.textContent:m.value&&(v=m.value)}if(null!==v&&r.push({str:v}),m.children)for(const M of m.children)p(M)}(t),d}static shouldBuildText(t){return!("textarea"===t||"input"===t||"option"===t||"select"===t)}}const Xo=65536,wr=ne?class vr extends pr{_createCanvas(t,r){return Kt.get("canvas").createCanvas(t,r)}}:class os extends pr{constructor({ownerDocument:t=globalThis.document,enableHWA:r=!1}){super({enableHWA:r}),this._document=t}_createCanvas(t,r){const d=this._document.createElement("canvas");return d.width=t,d.height=r,d}},Ws=ne?class ki extends jr{_fetch(t){return(0,A.A)(function*(){return Gn(t)})()}}:as,So=ne?class Gi extends Pi{}:class xr extends Pi{#e;#t;#n;#i;#r;#s;#c=0;constructor({docId:t,ownerDocument:r=globalThis.document}){super(),this.#i=t,this.#r=r}get#l(){return this.#t||=new Map}get#d(){return this.#s||=new Map}get#a(){if(!this.#n){const t=this.#r.createElement("div"),{style:r}=t;r.visibility="hidden",r.contain="strict",r.width=r.height=0,r.position="absolute",r.top=r.left=0,r.zIndex=-1;const d=this.#r.createElementNS(pt,"svg");d.setAttribute("width",0),d.setAttribute("height",0),this.#n=this.#r.createElementNS(pt,"defs"),t.append(d),d.append(this.#n),this.#r.body.append(t)}return this.#n}#u(t){if(1===t.length){const M=t[0],$=new Array(256);for(let re=0;re<256;re++)$[re]=M[re]/255;const K=$.join(",");return[K,K,K]}const[r,d,p]=t,m=new Array(256),v=new Array(256),w=new Array(256);for(let M=0;M<256;M++)m[M]=r[M]/255,v[M]=d[M]/255,w[M]=p[M]/255;return[m.join(","),v.join(","),w.join(",")]}#o(t){if(void 0===this.#e){this.#e="";const r=this.#r.URL;r!==this.#r.baseURI&&(Dr(r)?nt('#createUrl: ignore "data:"-URL for performance reasons.'):this.#e=r.split("#",1)[0])}return`url(${this.#e}#${t})`}addFilter(t){if(!t)return"none";let r=this.#l.get(t);if(r)return r;const[d,p,m]=this.#u(t),v=1===t.length?d:`${d}${p}${m}`;if(r=this.#l.get(v),r)return this.#l.set(t,r),r;const w=`g_${this.#i}_transfer_map_${this.#c++}`,M=this.#o(w);this.#l.set(t,M),this.#l.set(v,M);const $=this.#f(w);return this.#y(d,p,m,$),M}addHCMFilter(t,r){const d=`${t}-${r}`,p="base";let m=this.#d.get(p);if(m?.key===d||(m?(m.filter?.remove(),m.key=d,m.url="none",m.filter=null):(m={key:d,url:"none",filter:null},this.#d.set(p,m)),!t||!r))return m.url;const v=this.#b(t);t=Ye.makeHexColor(...v);const w=this.#b(r);if(r=Ye.makeHexColor(...w),this.#a.style.color="","#000000"===t&&"#ffffff"===r||t===r)return m.url;const M=new Array(256);for(let Ue=0;Ue<=255;Ue++){const Qe=Ue/255;M[Ue]=Qe<=.03928?Qe/12.92:((Qe+.055)/1.055)**2.4}const $=M.join(","),K=`g_${this.#i}_hcm_filter`,re=m.filter=this.#f(K);this.#y($,$,$,re),this.#p(re);const me=(Ue,Qe)=>
3{const gt=v[Ue]/255,It=w[Ue]/255,St=new Array(Qe+1);for(let Jt=0;Jt<=Qe;Jt++)St[Jt]=gt+Jt/Qe*(It-gt);return St.join(",")};return this.#y(me(0,5),me(1,5),me(2,5),re),m.url=this.#o(K),m.url}addAlphaFilter(t){let r=this.#l.get(t);if(r)return r;const[d]=this.#u([t]),p=`alpha_${d}`;if(r=this.#l.get(p),r)return this.#l.set(t,r),r;const m=`g_${this.#i}_alpha_map_${this.#c++}`,v=this.#o(m);this.#l.set(t,v),this.#l.set(p,v);const w=this.#f(m);return this.#m(d,w),v}addLuminosityFilter(t){let d,p,r=this.#l.get(t||"luminosity");if(r)return r;if(t?([d]=this.#u([t]),p=`luminosity_${d}`):p="luminosity",r=this.#l.get(p),r)return this.#l.set(t,r),r;const m=`g_${this.#i}_luminosity_map_${this.#c++}`,v=this.#o(m);this.#l.set(t,v),this.#l.set(p,v);const w=this.#f(m);return this.#h(w),t&&this.#m(d,w),v}addHighlightHCMFilter(t,r,d,p,m){const v=`${r}-${d}-${p}-${m}`;let w=this.#d.get(t);if(w?.key===v||(w?(w.filter?.remove(),w.key=v,w.url="none",w.filter=null):(w={key:v,url:"none",filter:null},this.#d.set(t,w)),!r||!d))return w.url;const[M,$]=[r,d].map(this.#b.bind(this));let K=Math.round(.2126*M[0]+.7152*M[1]+.0722*M[2]),re=Math.round(.2126*$[0]+.7152*$[1]+.0722*$[2]),[me,Ue]=[p,m].map(this.#b.bind(this));re<K&&([K,re,me,Ue]=[re,K,Ue,me]),this.#a.style.color="";const Qe=(St,Jt,un)=>{const fn=new Array(256),pn=(re-K)/un,An=St/255,Zn=(Jt-St)/(255*un);let Xn=0;for(let dn=0;dn<=un;dn++){const Tn=Math.round(K+dn*pn),ui=An+dn*Zn;for(let Ps=Xn;Ps<=Tn;Ps++)fn[Ps]=ui;Xn=Tn+1}for(let dn=Xn;dn<256;dn++)fn[dn]=fn[Xn-1];return fn.join(",")},gt=`g_${this.#i}_hcm_${t}_filter`,It=w.filter=this.#f(gt);return this.#p(It),this.#y(Qe(me[0],Ue[0],5),Qe(me[1],Ue[1],5),Qe(me[2],Ue[2],5),It),w.url=this.#o(gt),w.url}destroy(t=!1){t&&0!==this.#d.size||(this.#n&&(this.#n.parentNode.parentNode.remove(),this.#n=null),this.#t&&(this.#t.clear(),this.#t=null),this.#c=0)}#h(t){const r=this.#r.createElementNS(pt,"feColorMatrix");r.setAttribute("type","matrix"),r.setAttribute("values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0.59 0.11 0 0"),t.append(r)}#p(t){const r=this.#r.createElementNS(pt,"feColorMatrix");r.setAttribute("type","matrix"),r.setAttribute("values","0.2126 0.7152 0.0722 0 0 0.2126 0.7152 0.0722 0 0 0.2126 0.7152 0.0722 0 0 0 0 0 1 0"),t.append(r)}#f(t){const r=this.#r.createElementNS(pt,"filter");return r.setAttribute("color-interpolation-filters","sRGB"),r.setAttribute("id",t),this.#a.append(r),r}#g(t,r,d){const p=this.#r.createElementNS(pt,r);p.setAttribute("type","discrete"),p.setAttribute("tableValues",d),t.append(p)}#y(t,r,d,p){const m=this.#r.createElementNS(pt,"feComponentTransfer");p.append(m),this.#g(m,"feFuncR",t),this.#g(m,"feFuncG",r),this.#g(m,"feFuncB",d)}#m(t,r){const d=this.#r.createElementNS(pt,"feComponentTransfer");r.append(d),this.#g(d,"feFuncA",t)}#b(t){return this.#a.style.color=t,Zt(getComputedStyle(this.#a).getPropertyValue("color"))}},Do=ne?class Rs extends Es{_fetch(t){return(0,A.A)(function*(){return Gn(t)})()}}:it;function xo(x={}){"string"==typeof x||x instanceof URL?x={url:x}:(x instanceof ArrayBuffer||ArrayBuffer.isView(x))&&(x={data:x});const t=new Ua,{docId:r}=t,d=x.url?function jc(x){if(x instanceof URL)return x.href;try{return new URL(x,window.location).href}catch{if(ne&&"string"==typeof x)return x}throw new Error("Invalid PDF url data: either string or URL-object is expected in the url property.")}(x.url):null,p=x.data?function Jc(x){if(ne&&typeof Buffer<"u"&&x instanceof Buffer)throw new Error("Please provide binary data as `Uint8Array`, rather than `Buffer`.");if(x instanceof Uint8Array&&x.byteLength===x.buffer.byteLength)return x;if("string"==typeof x)return Yi(x);if(x instanceof ArrayBuffer||ArrayBuffer.isView(x)||"object"==typeof x&&!isNaN(x?.length))return new Uint8Array(x);throw new Error("Invalid PDF binary data: either TypedArray, string, or array-like object is expected in the data property.")}(x.data):null,m=x.httpHeaders||null,v=!0===x.withCredentials,w=x.password??null,M=x.range instanceof ml?x.range:null,$=Number.isInteger(x.rangeChunkSize)&&x.rangeChunkSize>0?x.rangeChunkSize:Xo;let K=x.worker instanceof Ts?x.worker:null;const re=x.verbosity,me="string"!=typeof x.docBaseUrl||Dr(x.docBaseUrl)?null:x.docBaseUrl,Ue="string"==typeof x.cMapUrl?x.cMapUrl:null,Qe=!1!==x.cMapPacked,gt=x.CMapReaderFactory||Ws,It="string"==typeof x.standardFontDataUrl?x.standardFontDataUrl:null,St=x.StandardFontDataFactory||Do,Jt=!0!==x.stopAtErrors,un=Number.isInteger(x.maxImageSize)&&x.maxImageSize>-1?x.maxImageSize:-1,fn=!1!==x.isEvalSupported,pn="boolean"==typeof x.isOffscreenCanvasSupported?x.isOffscreenCanvasSupported:!ne,An="boolean"==typeof x.isChrome?x.isChrome:!xn.platform.isFirefox&&typeof window<"u"&&!!window?.chrome,Zn=Number.isInteger(x.canvasMaxAreaInBytes)?x.canvasMaxAreaInBytes:-1,Xn="boolean"==typeof x.disableFontFace?x.disableFontFace:ne,dn=!0===x.fontExtraProperties,Tn=!0===x.enableXfa,ui=x.ownerDocument||globalThis.document,Ps=!0===x.disableRange,Is=!0===x.disableStream,Vs=!0===x.disableAutoFetch,lo=!0===x.pdfBug,Oa=x.CanvasFactory||wr,Zi=x.FilterFactory||So,Jr=!0===x.enableHWA,lu=M?M.length:x.length??NaN,Ku="boolean"==typeof x.useSystemFonts?x.useSystemFonts:!ne&&!Xn,Rl="boolean"==typeof x.useWorkerFetch?x.useWorkerFetch:gt===as&&St===it&&Ue&&It&&ds(Ue,document.baseURI)&&ds(It,document.baseURI);x.canvasFactory&&jt("`canvasFactory`-instance option, please use `CanvasFactory` instead."),x.filterFactory&&jt("`filterFactory`-instance option, please use `FilterFactory` instead."),function $e(x){Number.isInteger(x)&&(Tt=x)}(re);const Wa={canvasFactory:new Oa({ownerDocument:ui,enableHWA:Jr}),filterFactory:new Zi({docId:r,ownerDocument:ui}),cMapReaderFactory:Rl?null:new gt({baseUrl:Ue,isCompressed:Qe}),standardFontDataFactory:Rl?null:new St({baseUrl:It})};if(!K){const hl={verbosity:re,port:wo.workerPort};K=hl.port?Ts.fromPort(hl):new Ts(hl),t._worker=K}const Zl={docId:r,apiVersion:"4.8.69",data:p,password:w,disableAutoFetch:Vs,rangeChunkSize:$,length:lu,docBaseUrl:me,enableXfa:Tn,evaluatorOptions:{maxImageSize:un,disableFontFace:Xn,ignoreErrors:Jt,isEvalSupported:fn,isOffscreenCanvasSupported:pn,isChrome:An,canvasMaxAreaInBytes:Zn,fontExtraProperties:dn,useSystemFonts:Ku,cMapUrl:Rl?Ue:null,standardFontDataUrl:Rl?It:null}},ph={disableFontFace:Xn,fontExtraProperties:dn,ownerDocument:ui,pdfBug:lo,styleElement:null,loadingParams:{disableAutoFetch:Vs,enableXfa:Tn}};return K.promise.then(function(){if(t.destroyed)throw new Error("Loading aborted");if(K.destroyed)throw new Error("Worker was destroyed");
3const hl=K.messageHandler.sendWithPromise("GetDocRequest",Zl,p?[p.buffer]:null);let oa;if(M)oa=new Zs(M,{disableRange:Ps,disableStream:Is});else if(!p){if(!d)throw new Error("getDocument - no `url` parameter provided.");let Nd;Nd=ne?typeof fetch<"u"&&typeof Response<"u"&&"body"in Response.prototype&&ds(d)?ts:Ft:ds(d)?ts:xc,oa=new Nd({url:d,length:lu,httpHeaders:m,withCredentials:v,rangeChunkSize:$,disableRange:Ps,disableStream:Is})}return hl.then(Nd=>{if(t.destroyed)throw new Error("Loading aborted");if(K.destroyed)throw new Error("Worker was destroyed");const ip=new Lo(r,Nd,K.port),Xg=new _c(ip,t,oa,ph,Wa);t._transport=Xg,ip.send("Ready",null)})}).catch(t._capability.reject),t}function Ya(x){return"object"==typeof x&&Number.isInteger(x?.num)&&x.num>=0&&Number.isInteger(x?.gen)&&x.gen>=0}class Ua{static#e=0;constructor(){this._capability=Promise.withResolvers(),this._transport=null,this._worker=null,this.docId="d"+Ua.#e++,this.destroyed=!1,this.onPassword=null,this.onProgress=null}get promise(){return this._capability.promise}destroy(){var t=this;return(0,A.A)(function*(){t.destroyed=!0;try{t._worker?.port&&(t._worker._pendingDestroy=!0),yield t._transport?.destroy()}catch(r){throw t._worker?.port&&delete t._worker._pendingDestroy,r}t._transport=null,t._worker&&(t._worker.destroy(),t._worker=null)})()}}class ml{constructor(t,r,d=!1,p=null){this.length=t,this.initialData=r,this.progressiveDone=d,this.contentDispositionFilename=p,this._rangeListeners=[],this._progressListeners=[],this._progressiveReadListeners=[],this._progressiveDoneListeners=[],this._readyCapability=Promise.withResolvers()}addRangeListener(t){this._rangeListeners.push(t)}addProgressListener(t){this._progressListeners.push(t)}addProgressiveReadListener(t){this._progressiveReadListeners.push(t)}addProgressiveDoneListener(t){this._progressiveDoneListeners.push(t)}onDataRange(t,r){for(const d of this._rangeListeners)d(t,r)}onDataProgress(t,r){this._readyCapability.promise.then(()=>{for(const d of this._progressListeners)d(t,r)})}onDataProgressiveRead(t){this._readyCapability.promise.then(()=>{for(const r of this._progressiveReadListeners)r(t)})}onDataProgressiveDone(){this._readyCapability.promise.then(()=>{for(const t of this._progressiveDoneListeners)t()})}transportReady(){this._readyCapability.resolve()}requestDataRange(t,r){_t("Abstract method PDFDataRangeTransport.requestDataRange")}abort(){}}class Ss{constructor(t,r){this._pdfInfo=t,this._transport=r}get annotationStorage(){return this._transport.annotationStorage}get canvasFactory(){return this._transport.canvasFactory}get filterFactory(){return this._transport.filterFactory}get numPages(){return this._pdfInfo.numPages}get fingerprints(){return this._pdfInfo.fingerprints}get isPureXfa(){return hn(this,"isPureXfa",!!this._transport._htmlForXfa)}get allXfaHtml(){return this._transport._htmlForXfa}getPage(t){return this._transport.getPage(t)}getPageIndex(t){return this._transport.getPageIndex(t)}getDestinations(){return this._transport.getDestinations()}getDestination(t){return this._transport.getDestination(t)}getPageLabels(){return this._transport.getPageLabels()}getPageLayout(){return this._transport.getPageLayout()}getPageMode(){return this._transport.getPageMode()}getViewerPreferences(){return this._transport.getViewerPreferences()}getOpenAction(){return this._transport.getOpenAction()}getAttachments(){return this._transport.getAttachments()}getJSActions(){return this._transport.getDocJSActions()}getOutline(){return this._transport.getOutline()}getOptionalContentConfig({intent:t="display"}={}){const{renderingIntent:r}=this._transport.getRenderingIntent(t);return this._transport.getOptionalContentConfig(r)}getPermissions(){return this._transport.getPermissions()}getMetadata(){return this._transport.getMetadata()}getMarkInfo(){return this._transport.getMarkInfo()}getData(){return this._transport.getData()}saveDocument(){return this._transport.saveDocument()}getDownloadInfo(){return this._transport.downloadInfoCapability.promise}cleanup(t=!1){return this._transport.startCleanup(t||this.isPureXfa)}destroy(){return this.loadingTask.destroy()}cachedPageNumber(t){return this._transport.cachedPageNumber(t)}get loadingParams(){return this._transport.loadingParams}get loadingTask(){return this._transport.loadingTask}getFieldObjects(){return this._transport.getFieldObjects()}hasJSActions(){return this._transport.hasJSActions()}getCalculationOrderIds(){return this._transport.getCalculationOrderIds()}}class el{#e=null;#t=!1;constructor(t,r,d,p=!1){this._pageIndex=t,this._pageInfo=r,this._transport=d,this._stats=p?new Di:null,this._pdfBug=p,this.commonObjs=d.commonObjs,this.objs=new tl,this._maybeCleanupAfterRender=!1,this._intentStates=new Map,this.destroyed=!1}get pageNumber(){return this._pageIndex+1}get rotate(){return this._pageInfo.rotate}get ref(){return this._pageInfo.ref}get userUnit(){return this._pageInfo.userUnit}get view(){return this._pageInfo.view}getViewport({scale:t,rotation:r=this.rotate,offsetX:d=0,offsetY:p=0,dontFlip:m=!1}={}){return new hi({viewBox:this.view,scale:t,rotation:r,offsetX:d,offsetY:p,dontFlip:m})}getAnnotations({intent:t="display"}={}){const{renderingIntent:r}
3=this._transport.getRenderingIntent(t);return this._transport.getAnnotations(this._pageIndex,r)}getJSActions(){return this._transport.getPageJSActions(this._pageIndex)}get filterFactory(){return this._transport.filterFactory}get isPureXfa(){return hn(this,"isPureXfa",!!this._transport._htmlForXfa)}getXfa(){var t=this;return(0,A.A)(function*(){return t._transport._htmlForXfa?.children[t._pageIndex]||null})()}render({canvasContext:t,viewport:r,intent:d="display",annotationMode:p=Te.ENABLE,transform:m=null,background:v=null,optionalContentConfigPromise:w=null,annotationCanvasMap:M=null,pageColors:$=null,printAnnotationStorage:K=null,isEditing:re=!1}){this._stats?.time("Overall");const me=this._transport.getRenderingIntent(d,p,K,re),{renderingIntent:Ue,cacheKey:Qe}=me;this.#t=!1,this.#i(),w||=this._transport.getOptionalContentConfig(Ue);let gt=this._intentStates.get(Qe);gt||(gt=Object.create(null),this._intentStates.set(Qe,gt)),gt.streamReaderCancelTimeout&&(clearTimeout(gt.streamReaderCancelTimeout),gt.streamReaderCancelTimeout=null);const It=!!(4&Ue);gt.displayReadyCapability||(gt.displayReadyCapability=Promise.withResolvers(),gt.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},this._stats?.time("Page Request"),this._pumpOperatorList(me));const St=fn=>{gt.renderTasks.delete(Jt),(this._maybeCleanupAfterRender||It)&&(this.#t=!0),this.#n(!It),fn?(Jt.capability.reject(fn),this._abortOperatorList({intentState:gt,reason:fn instanceof Error?fn:new Error(fn)})):Jt.capability.resolve(),this._stats&&(this._stats.timeEnd("Rendering"),this._stats.timeEnd("Overall"),globalThis.Stats?.enabled&&globalThis.Stats.add(this.pageNumber,this._stats))},Jt=new Aa({callback:St,params:{canvasContext:t,viewport:r,transform:m,background:v},objs:this.objs,commonObjs:this.commonObjs,annotationCanvasMap:M,operatorList:gt.operatorList,pageIndex:this._pageIndex,canvasFactory:this._transport.canvasFactory,filterFactory:this._transport.filterFactory,useRequestAnimationFrame:!It,pdfBug:this._pdfBug,pageColors:$});(gt.renderTasks||=new Set).add(Jt);const un=Jt.task;return Promise.all([gt.displayReadyCapability.promise,w]).then(([fn,pn])=>{if(this.destroyed)St();else{if(this._stats?.time("Rendering"),!(pn.renderingIntent&Ue))throw new Error("Mu
3st use the same `intent`-argument when calling the `PDFPageProxy.render` and `PDFDocumentProxy.getOptionalContentConfig` methods.");Jt.initializeGraphics({transparency:fn,optionalContentConfig:pn}),Jt.operatorListChanged()}}).catch(St),un}getOperatorList({intent:t="display",annotationMode:r=Te.ENABLE,printAnnotationStorage:d=null,isEditing:p=!1}={}){const v=this._transport.getRenderingIntent(t,r,d,p,!0);let M,w=this._intentStates.get(v.cacheKey);return w||(w=Object.create(null),this._intentStates.set(v.cacheKey,w)),w.opListReadCapability||(M=Object.create(null),M.operatorListChanged=function m(){w.operatorList.lastChunk&&(w.opListReadCapability.resolve(w.operatorList),w.renderTasks.delete(M))},w.opListReadCapability=Promise.withResolvers(),(w.renderTasks||=new Set).add(M),w.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},this._stats?.time("Page Request"),this._pumpOperatorList(v)),w.opListReadCapability.promise}streamTextContent({includeMarkedContent:t=!1,disableNormalization:r=!1}={}){return this._transport.messageHandler.sendWithStream("GetTextContent",{pageIndex:this._pageIndex,includeMarkedContent:!0===t,disableNormalization:!0===r},{highWaterMark:100,size:p=>p.items.length})}getTextContent(t={}){if(this._transport._htmlForXfa)return this.getXfa().then(d=>mo.textContent(d));const r=this.streamTextContent(t);return new Promise(function(d,p){const v=r.getReader(),w={items:[],styles:Object.create(null),lang:null};!function m(){v.read().then(function({value:M,done:$}){$?d(w):(w.lang??=M.lang,Object.assign(w.styles,M.styles),w.items.push(...M.items),m())},p)}()})}getStructTree(){return this._transport.getStructTree(this._pageIndex)}_destroy(){this.destroyed=!0;const t=[];for(const r of this._intentStates.values())if(this._abortOperatorList({intentState:r,reason:new Error("Page was destroyed."),force:!0}),!r.opListReadCapability)for(const d of r.renderTasks)t.push(d.completed),d.cancel();return this.objs.clear(),this.#t=!1,this.#i(),Promise.all(t)}cleanup(t=!1){this.#t=!0;const r=this.#n(!1);return t&&r&&(this._stats&&=new Di),r}#n(t=!1){if(this.#i(),!this.#t||this.destroyed)return!1;if(t)return this.#e=setTimeout(()=>{this.#e=null,this.#n(!1)},5e3),!1;for(const{renderTasks:r,operatorList:d}of this._intentStates.values())if(r.size>0||!d.lastChunk)return!1;return this._intentStates.clear(),this.objs.clear(),this.#t=!1,!0}#i(){this.#e&&(clearTimeout(this.#e),this.#e=null)}_startRenderPage(t,r){const d=this._intentStates.get(r);d&&(this._stats?.timeEnd("Page Request"),d.displayReadyCapability?.resolve(t))}_renderPageChunk(t,r){for(let d=0,p=t.length;d<p;d++)r.operatorList.fnArray.push(t.fnArray[d]),r.operatorList.argsArray.push(t.argsArray[d]);r.operatorList.lastChunk=t.lastChunk,r.operatorList.separateAnnots=t.separateAnnots;for(const d of r.renderTasks)d.operatorListChanged();t.lastChunk&&this.#n(!0)}_pumpOperatorList({renderingIntent:t,cacheKey:r,annotationStorageSerializable:d,modifiedIds:p}){const{map:m,transfer:v}=d,M=this._transport.messageHandler.sendWithStream("GetOperatorList",{pageIndex:this._pageIndex,intent:t,cacheKey:r,annotationStorage:m,modifiedIds:p},v).getReader(),$=this._intentStates.get(r);$.streamReader=M;const K=()=>{M.read().then(({value:re,done:me})=>{me?$.streamReader=null:this._transport.destroyed||(this._renderPageChunk(re,$),K())},re=>{if($.streamReader=null,!this._transport.destroyed){if($.operatorList){$.operatorList.lastChunk=!0;for(const me of $.renderTasks)me.operatorListChanged();this.#n(!0)}if($.displayReadyCapability)$.displayReadyCapability.reject(re);else{if(!$.opListReadCapability)throw re;$.opListReadCapability.reject(re)}}})};K()}_abortOperatorList({intentState:t,reason:r,force:d=!1}){if(t.streamReader){if(t.streamReaderCancelTimeout&&(clearTimeout(t.streamReaderCancelTimeout),t.streamReaderCancelTimeout=null),!d){if(t.renderTasks.size>0)return;if(r instanceof Oi){let p=100;return r.extraDelay>0&&r.extraDelay<1e3&&(p+=r.extraDelay),void(t.streamReaderCancelTimeout=setTimeout(()=>{t.streamReaderCancelTimeout=null,this._abortOperatorList({intentState:t,reason:r,force:!0})},p))}}if(t.streamReader.cancel(new Mi(r.message)).catch(()=>{}),t.streamReader=null,!this._transport.destroyed){for(const[p,m]of this._intentStates)if(m===t){this._intentStates.delete(p);break}this.cleanup()}}}get stats(){return this._stats}}class vc{#e=new Map;#t=Promise.resolve();postMessage(t,r){const d={data:structuredClone(t,r?{transfer:r}:null)};this.#t.then(()=>{for(const[p]of this.#e)p.call(this,d)})}addEventListener(t,r,d=null){let p=null;if(d?.signal instanceof AbortSignal){const{signal:m}=d;if(m.aborted)return void nt("LoopbackPort - cannot use an `aborted` signal.");const v=()=>this.removeEventListener(t,r);p=()=>m.removeEventListener("abort",v),m.addEventListener("abort",v)}this.#e.set(r,p)}removeEventListener(t,r){this.#e.get(r)?.(),this.#e.delete(r)}terminate(){for(const[,t]of this.#e)t?.();this.#e.clear()}}class Ts{static#e=0;static#t=!1;static#n;static{ne&&(this.#t=!0,wo.workerSrc||="./pdf.worker.mjs"),this._isSameOrigin=(t,r)=>{let d;try{if(d=new URL(t),!d.origin||"null"===d.origin)return!1}catch{return!1}const p=new URL(r,d);return d.origin===p.origin},this._createCDNWrapper=t=>URL.createObjectURL(new Blob([`await import("${t}");`],{type:"text/javascript"}))}constructor({name:t=null,port:r=null,verbosity:d=rt()}={}){if(this.name=t,this.destroyed=!1,this.verbosity=d,this._readyCapability=Promise.withResolvers(),this._port=null,this._webWorker=null,this._messageHandler=null,r){if(Ts.#n?.has(r))throw new Error("Cannot use more than one PDFWorker per port.");return(Ts.#n||=new WeakMap).set(r,this),void this._initializeFromPort(r)}this._initialize()}get promise(){return ne?Promise.all([Kt.promise,this._readyCapability.promise]):this._readyCapability.promise}#i(){this._readyCapability.resolve(),this._messageHandler.send("configure",{verbosity:this.verbosity})}get port(){return this._port}get messageHandler(){return this._messageHandler}_initializeFromPort(t){this._port=t,this._messageHandler=new Lo("main","worker",t),this._messageHandler.on("ready",function(){}),this.#i()}_initialize(){if(Ts.#t||Ts.#r)return void this._setupFakeWorker();let{workerSrc:t}=Ts;try{Ts._isSameOrigin(window.location.href,t)||(t=Ts._createCDNWrapper(new URL(t,window.location).href));const r=new Worker(t,{type:"module"}),d=new Lo("main","worker",r),p=()=>{m.abort(),d.destroy(),r.terminate(),this.destroyed?this._readyCapability.reject(new Error("Worker was destroyed")):this._setupFakeWorker()},m=new AbortController;r.addEventListener("error",()=>{this._webWorker||p()},{signal:m.signal}),d.on("test",w=>{m.abort(),!this.destroyed&&w?(this._messageHandler=d,this._port=r,this._webWorker=r,this.#i()):p()}),d.on("ready",w=>{if(m.abort(),this.destroyed)p();else try{v()}catch{this._setupFakeWorker()}});const v=()=>{const w=new Uint8Array;d.send("test",w,[w.buffer])};return void v()}catch{tt("The worker has been disabled.")}this._setupFakeWorker()}_setupFakeWorker(){Ts.#t||(nt("Setting up fake worker."),Ts.#t=!0),Ts._setupFakeWorkerGlobal.then(t=>{if(this.destroyed)return void this._readyCapability.reject(new Error("Worker was destroyed"));const r=new vc;this._port=r;const d="fake"+Ts.#e++,p=new Lo(d+"_worker",d,r);t.setup(p,r),this._messageHandler=new Lo(d,d+"_worker",r),this.#i()}).catch(t=>{this._readyCapability.reject(new Error(`Setting up fake worker failed: "${t.message}".`))})}destroy(){this.destroyed=!0,this._webWorker&&(this._webWorker.terminate(),this._webWorker=null),Ts.#n?.delete(this._port),this._port=null,this._messageHandler&&(this._messageHandler.destroy(),this._messageHandler=null)}static fromPort(t){if(!t?.port)throw new Error("PDFWorker.fromPort - invalid method signature.");const r=this.#n?.get(t.port);
3if(r){if(r._pendingDestroy)throw new Error("PDFWorker.fromPort - the worker is being destroyed.\nPlease remember to await `PDFDocumentLoadingTask.destroy()`-calls.");return r}return new Ts(t)}static get workerSrc(){if(wo.workerSrc)return wo.workerSrc;throw new Error('No "GlobalWorkerOptions.workerSrc" specified.')}static get#r(){try{return globalThis.pdfjsWorker?.WorkerMessageHandler||null}catch{return null}}static get _setupFakeWorkerGlobal(){var t=this;return hn(this,"_setupFakeWorkerGlobal",function(){var d=(0,A.A)(function*(){return t.#r?t.#r:(yield import(t.workerSrc)).WorkerMessageHandler});return function(){return d.apply(this,arguments)}}()())}}class _c{#e=new Map;#t=new Map;#n=new Map;#i=new Map;#r=null;constructor(t,r,d,p,m){this.messageHandler=t,this.loadingTask=r,this.commonObjs=new tl,this.fontLoader=new qi({ownerDocument:p.ownerDocument,styleElement:p.styleElement}),this.loadingParams=p.loadingParams,this._params=p,this.canvasFactory=m.canvasFactory,this.filterFactory=m.filterFactory,this.cMapReaderFactory=m.cMapReaderFactory,this.standardFontDataFactory=m.standardFontDataFactory,this.destroyed=!1,this.destroyCapability=null,this._networkStream=d,this._fullReader=null,this._lastProgress=null,this.downloadInfoCapability=Promise.withResolvers(),this.setupMessageHandler()}#s(t,r=null){const d=this.#e.get(t);if(d)return d;const p=this.messageHandler.sendWithPromise(t,r);return this.#e.set(t,p),p}get annotationStorage(){return hn(this,"annotationStorage",new Ci)}getRenderingIntent(t,r=Te.ENABLE,d=null,p=!1,m=!1){let v=2,w=Bn;switch(t){case"any":v=1;break;case"display":break;case"print":v=4;break;default:nt(`getRenderingIntent - invalid intent: ${t}`)}const M=4&v&&d instanceof ei?d:this.annotationStorage;switch(r){case Te.DISABLE:v+=64;break;case Te.ENABLE:break;case Te.ENABLE_FORMS:v+=16;break;case Te.ENABLE_STORAGE:v+=32,w=M.serializable;break;default:nt(`getRenderingIntent - invalid annotationMode: ${r}`)}p&&(v+=128),m&&(v+=256);const{ids:$,hash:K}=M.modifiedIds;return{renderingIntent:v,cacheKey:[v,w.hash,K].join("_"),annotationStorageSerializable:w,modifiedIds:$}}destroy(){if(this.destroyCapability)return this.destroyCapability.promise;this.destroyed=!0,this.destroyCapability=Promise.withResolvers(),this.#r?.reject(new Error("Worker was destroyed during onPassword callback"));const t=[];for(const d of this.#t.values())t.push(d._destroy());this.#t.clear(),this.#n.clear(),this.#i.clear(),this.hasOwnProperty("annotationStorage")&&this.annotationStorage.resetModified();const r=this.messageHandler.sendWithPromise("Terminate",null);return t.push(r),Promise.all(t).then(()=>{this.commonObjs.clear(),this.fontLoader.clear(),this.#e.clear(),this.filterFactory.destroy(),Br.cleanup(),this._networkStream?.cancelAllRequests(new Mi("Worker was terminated.")),this.messageHandler&&(this.messageHandler.destroy(),this.messageHandler=null),this.destroyCapability.resolve()},this.destroyCapability.reject),this.destroyCapability.promise}setupMessageHandler(){var t=this;const{messageHandler:r,loadingTask:d}=this;r.on("GetReader",(p,m)=>{on(this._networkStream,"GetReader - no `IPDFStream` instance available."),this._fullReader=this._networkStream.getFullReader(),this._fullReader.onProgress=v=>{this._lastProgress={loaded:v.loaded,total:v.total}},m.onPull=()=>{this._fullReader.read().then(function({value:v,done:w}){w?m.close():(on(v instanceof ArrayBuffer,"GetReader - expected an ArrayBuffer."),m.enqueue(new Uint8Array(v),1,[v]))}).catch(v=>{m.error(v)})},m.onCancel=v=>{this._fullReader.cancel(v),m.ready.catch(w=>{if(!this.destroyed)throw w})}}),r.on("ReaderHeadersReady",function(){var p=(0,A.A)(function*(m){yield t._fullReader.headersReady;const{isStreamingSupported:v,isRangeSupported:w,contentLength:M}=t._fullReader;return(!v||!w)&&(t._lastProgress&&d.onProgress?.(t._lastProgress),t._fullReader.onProgress=$=>{d.onProgress?.({loaded:$.loaded,total:$.total})}),{isStreamingSupported:v,isRangeSupported:w,contentLength:M}});return function(m){return p.apply(this,arguments)}}()),r.on("GetRangeReader",(p,m)=>{on(this._networkStream,"GetRangeReader - no `IPDFStream` instance available.");const v=this._networkStream.getRangeReader(p.begin,p.end);v?(m.onPull=()=>{v.read().then(function({value:w,done:M}){M?m.close():(on(w instanceof ArrayBuffer,"GetRangeReader - expected an ArrayBuffer."),m.enqueue(new Uint8Array(w),1,[w]))}).catch(w=>{m.error(w)})},m.onCancel=w=>{v.cancel(w),m.ready.catch(M=>
3{if(!this.destroyed)throw M})}):m.close()}),r.on("GetDoc",({pdfInfo:p})=>{this._numPages=p.numPages,this._htmlForXfa=p.htmlForXfa,delete p.htmlForXfa,d._capability.resolve(new Ss(p,this))}),r.on("DocException",function(p){let m;switch(p.name){case"PasswordException":m=new Ot(p.message,p.code);break;case"InvalidPDFException":m=new Wt(p.message);break;case"MissingPDFException":m=new Wn(p.message);break;case"UnexpectedResponseException":m=new qn(p.message,p.status);break;case"UnknownErrorException":m=new Gt(p.message,p.details);break;default:_t("DocException - expected a valid Error.")}d._capability.reject(m)}),r.on("PasswordRequest",p=>{if(this.#r=Promise.withResolvers(),d.onPassword){const m=v=>{v instanceof Error?this.#r.reject(v):this.#r.resolve({password:v})};try{d.onPassword(m,p.code)}catch(v){this.#r.reject(v)}}else this.#r.reject(new Ot(p.message,p.code));return this.#r.promise}),r.on("DataLoaded",p=>{d.onProgress?.({loaded:p.length,total:p.length}),this.downloadInfoCapability.resolve(p)}),r.on("StartRenderPage",p=>{this.destroyed||this.#t.get(p.pageIndex)._startRenderPage(p.transparency,p.cacheKey)}),r.on("commonobj",([p,m,v])=>{if(this.destroyed||this.commonObjs.has(p))return null;switch(m){case"Font":const{disableFontFace:w,fontExtraProperties:M,pdfBug:$}=this._params;if("error"in v){const Ue=v.error;nt(`Error during font loading: ${Ue}`),this.commonObjs.resolve(p,Ue);break}const K=$&&globalThis.FontInspector?.enabled?(Ue,Qe)=>globalThis.FontInspector.fontAdded(Ue,Qe):null,re=new br(v,{disableFontFace:w,inspectFont:K});this.fontLoader.bind(re).catch(()=>r.sendWithPromise("FontFallback",{id:p})).finally(()=>{!M&&re.data&&(re.data=null),this.commonObjs.resolve(p,re)});break;case"CopyLocalImage":const{imageRef:me}=v;on(me,"The imageRef must be defined.");for(const Ue of this.#t.values())for(const[,Qe]of Ue.objs)if(Qe?.ref===me)return Qe.dataLen?(this.commonObjs.resolve(p,structuredClone(Qe)),Qe.dataLen):null;break;case"FontPath":case"Image":case"Pattern":this.commonObjs.resolve(p,v);break;default:throw new Error(`Got unknown common object type ${m}`)}return null}),r.on("obj",([p,m,v,w])=>{if(this.destroyed)return;const M=this.#t.get(m);if(!M.objs.has(p)){if(0===M._intentStates.size)return void w?.bitmap?.close();switch(v){case"Image":M.objs.resolve(p,w),w?.dataLen>1e7&&(M._maybeCleanupAfterRender=!0);break;case"Pattern":M.objs.resolve(p,w);break;default:throw new Error(`Got unknown object type ${v}`)}}}),r.on("DocProgress",p=>{this.destroyed||d.onProgress?.({loaded:p.loaded,total:p.total})}),r.on("FetchBuiltInCMap",function(){var p=(0,A.A)(function*(m){if(t.destroyed)throw new Error("Worker was destroyed.");if(!t.cMapReaderFactory)throw new Error("CMapReaderFactory not initialized, see the `useWorkerFetch` parameter.");return t.cMapReaderFactory.fetch(m)});return function(m){return p.apply(this,arguments)}}()),r.on("FetchStandardFontData",function(){var p=(0,A.A)(function*(m){if(t.destroyed)throw new Error("Worker was destroyed.");if(!t.standardFontDataFactory)throw new Error("StandardFontDataFactory not initialized, see the `useWorkerFetch` parameter.");return t.standardFontDataFactory.fetch(m)});return function(m){return p.apply(this,arguments)}}())}getData(){return this.messageHandler.sendWithPromise("GetData",null)}saveDocument(){this.annotationStorage.size<=0&&nt("saveDocument called while `annotationStorage` is empty, please use the getData-method instead.");const{map:t,transfer:r}=this.annotationStorage.serializable;return this.messageHandler.sendWithPromise("SaveDocument",{isPureXfa:!!this._htmlForXfa,numPages:this._numPages,annotationStorage:t,filename:this._fullReader?.filename??null},r).finally(()=>{this.annotationStorage.resetModified()})}getPage(t){if(!Number.isInteger(t)||t<=0||t>this._numPages)return Promise.reject(new Error("Invalid page request."));const r=t-1,d=this.#n.get(r);if(d)return d;const p=this.messageHandler.sendWithPromise("GetPage",{pageIndex:r}).then(m=>{if(this.destroyed)throw new Error("Transport destroyed");m.refStr&&this.#i.set(m.refStr,t);const v=new el(r,m,this,this._params.pdfBug);return this.#t.set(r,v),v});return this.#n.set(r,p),p}
3getPageIndex(t){return Ya(t)?this.messageHandler.sendWithPromise("GetPageIndex",{num:t.num,gen:t.gen}):Promise.reject(new Error("Invalid pageIndex request."))}getAnnotations(t,r){return this.messageHandler.sendWithPromise("GetAnnotations",{pageIndex:t,intent:r})}getFieldObjects(){return this.#s("GetFieldObjects")}hasJSActions(){return this.#s("HasJSActions")}getCalculationOrderIds(){return this.messageHandler.sendWithPromise("GetCalculationOrderIds",null)}getDestinations(){return this.messageHandler.sendWithPromise("GetDestinations",null)}getDestination(t){return"string"!=typeof t?Promise.reject(new Error("Invalid destination request.")):this.messageHandler.sendWithPromise("GetDestination",{id:t})}getPageLabels(){return this.messageHandler.sendWithPromise("GetPageLabels",null)}getPageLayout(){return this.messageHandler.sendWithPromise("GetPageLayout",null)}getPageMode(){return this.messageHandler.sendWithPromise("GetPageMode",null)}getViewerPreferences(){return this.messageHandler.sendWithPromise("GetViewerPreferences",null)}getOpenAction(){return this.messageHandler.sendWithPromise("GetOpenAction",null)}getAttachments(){return this.messageHandler.sendWithPromise("GetAttachments",null)}getDocJSActions(){return this.#s("GetDocJSActions")}getPageJSActions(t){return this.messageHandler.sendWithPromise("GetPageJSActions",{pageIndex:t})}getStructTree(t){return this.messageHandler.sendWithPromise("GetStructTree",{pageIndex:t})}getOutline(){return this.messageHandler.sendWithPromise("GetOutline",null)}getOptionalContentConfig(t){return this.#s("GetOptionalContentConfig").then(r=>new Ml(r,t))}getPermissions(){return this.messageHandler.sendWithPromise("GetPermissions",null)}getMetadata(){const t="GetMetadata",r=this.#e.get(t);if(r)return r;const d=this.messageHandler.sendWithPromise(t,null).then(p=>({info:p[0],metadata:p[1]?new po(p[1]):null,contentDispositionFilename:this._fullReader?.filename??null,contentLength:this._fullReader?.contentLength??null}));return this.#e.set(t,d),d}getMarkInfo(){return this.messageHandler.sendWithPromise("GetMarkInfo",null)}startCleanup(){var t=this;return(0,A.A)(function*(r=!1){if(!t.destroyed){yield t.messageHandler.sendWithPromise("Cleanup",null);for(const d of t.#t.values())if(!d.cleanup())throw new Error(`startCleanup: Page ${d.pageNumber} is currently rendering.`);t.commonObjs.clear(),r||t.fontLoader.clear(),t.#e.clear(),t.filterFactory.destroy(!0),Br.cleanup()}}).apply(this,arguments)}cachedPageNumber(t){return Ya(t)?this.#i.get(0===t.gen?`${t.num}R`:`${t.num}R${t.gen}`)??null:null}}const qa=Symbol("INITIAL_DATA");class tl{#e=Object.create(null);#t(t){return this.#e[t]||={...Promise.withResolvers(),data:qa}}get(t,r=null){if(r){const p=this.#t(t);return p.promise.then(()=>r(p.data)),null}const d=this.#e[t];if(!d||d.data===qa)throw new Error(`Requesting object that isn't resolved yet ${t}.`);return d.data}has(t){const r=this.#e[t];return!!r&&r.data!==qa}resolve(t,r=null){const d=this.#t(t);d.data=r,d.resolve()}clear(){for(const t in this.#e){const{data:r}=this.#e[t];r?.bitmap?.close()}this.#e=Object.create(null)}*[Symbol.iterator](){for(const t in this.#e){const{data:r}=this.#e[t];r!==qa&&(yield[t,r])}}}class rd{#e=null;constructor(t){this.#e=t,this.onContinue=null}get promise(){return this.#e.capability.promise}cancel(t=0){this.#e.cancel(null,t)}get separateAnnots(){const{separateAnnots:t}=this.#e.operatorList;if(!t)return!1;const{annotationCanvasMap:r}=this.#e;return t.form||t.canvas&&r?.size>0}}class Aa{#e=null;static#t=new WeakSet;constructor({callback:t,params:r,objs:d,commonObjs:p,annotationCanvasMap:m,operatorList:v,pageIndex:w,canvasFactory:M,filterFactory:$,useRequestAnimationFrame:K=!1,pdfBug:re=!1,pageColors:me=null}){this.callback=t,this.params=r,this.objs=d,this.commonObjs=p,this.annotationCanvasMap=m,this.operatorListIdx=null,this.operatorList=v,this._pageIndex=w,this.canvasFactory=M,this.filterFactory=$,this._pdfBug=re,this.pageColors=me,this.running=!1,this.graphicsReadyCallback=null,this.graphicsReady=!1,this._useRequestAnimationFrame=!0===K&&typeof window<"u",this.cancelled=!1,this.capability=Promise.withResolvers(),this.task=new rd(this),this._cancelBound=this.cancel.bind(this),this._continueBound=this._continue.bind(this),this._scheduleNextBound=this._scheduleNext.bind(this),this._nextBound=this._next.bind(this),this._canvas=r.canvasContext.canvas}get completed(){return this.capability.promise.catch(function(){})}initializeGraphics({transparency:t=!1,optionalContentConfig:r}){if(this.cancelled)return;
3if(this._canvas){if(Aa.#t.has(this._canvas))throw new Error("Cannot use the same canvas during multiple render() operations. Use different canvas or ensure previous operations were cancelled or completed.");Aa.#t.add(this._canvas)}this._pdfBug&&globalThis.StepperManager?.enabled&&(this.stepper=globalThis.StepperManager.create(this._pageIndex),this.stepper.init(this.operatorList),this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint());const{canvasContext:d,viewport:p,transform:m,background:v}=this.params;this.gfx=new es(d,this.commonObjs,this.objs,this.canvasFactory,this.filterFactory,{optionalContentConfig:r},this.annotationCanvasMap,this.pageColors),this.gfx.beginDrawing({transform:m,viewport:p,transparency:t,background:v}),this.operatorListIdx=0,this.graphicsReady=!0,this.graphicsReadyCallback?.()}cancel(t=null,r=0){this.running=!1,this.cancelled=!0,this.gfx?.endDrawing(),this.#e&&(window.cancelAnimationFrame(this.#e),this.#e=null),Aa.#t.delete(this._canvas),this.callback(t||new Oi(`Rendering cancelled, page ${this._pageIndex+1}`,r))}operatorListChanged(){this.graphicsReady?(this.stepper?.updateOperatorList(this.operatorList),!this.running&&this._continue()):this.graphicsReadyCallback||=this._continueBound}_continue(){this.running=!0,!this.cancelled&&(this.task.onContinue?this.task.onContinue(this._scheduleNextBound):this._scheduleNext())}_scheduleNext(){this._useRequestAnimationFrame?this.#e=window.requestAnimationFrame(()=>{this.#e=null,this._nextBound().catch(this._cancelBound)}):Promise.resolve().then(this._nextBound).catch(this._cancelBound)}_next(){var t=this;return(0,A.A)(function*(){t.cancelled||(t.operatorListIdx=t.gfx.executeOperatorList(t.operatorList,t.operatorListIdx,t._continueBound,t.stepper),t.operatorListIdx===t.operatorList.argsArray.length&&(t.running=!1,t.operatorList.lastChunk&&(t.gfx.endDrawing(),Aa.#t.delete(t._canvas),t.callback())))})()}}const Co="4.8.69",Vc="3634dab10";function jo(x){return Math.floor(255*Math.max(0,Math.min(1,x))).toString(16).padStart(2,"0")}function ci(x){return Math.max(0,Math.min(255,255*x))}class cs{static CMYK_G([t,r,d,p]){return["G",1-Math.min(1,.3*t+.59*d+.11*r+p)]}static G_CMYK([t]){return["CMYK",0,0,0,1-t]}static G_RGB([t]){return["RGB",t,t,t]}static G_rgb([t]){return[t=ci(t),t,t]}static G_HTML([t]){const r=jo(t);return`#${r}${r}${r}`}static RGB_G([t,r,d]){return["G",.3*t+.59*r+.11*d]}static RGB_rgb(t){return t.map(ci)}static RGB_HTML(t){return`#${t.map(jo).join("")}`}static T_HTML(){return"#00000000"}static T_rgb(){return[null]}static CMYK_RGB([t,r,d,p]){return["RGB",1-Math.min(1,t+p),1-Math.min(1,d+p),1-Math.min(1,r+p)]}static CMYK_rgb([t,r,d,p]){return[ci(1-Math.min(1,t+p)),ci(1-Math.min(1,d+p)),ci(1-Math.min(1,r+p))]}static CMYK_HTML(t){const r=this.CMYK_RGB(t).slice(1);return this.RGB_HTML(r)}static RGB_CMYK([t,r,d]){const p=1-t,m=1-r,v=1-d;return["CMYK",p,m,v,Math.min(p,m,v)]}}class zc{create(t,r,d=!1){if(t<=0||r<=0)throw new Error("Invalid SVG dimensions");const p=this._createSVG("svg:svg");return p.setAttribute("version","1.1"),d||(p.setAttribute("width",`${t}px`),p.setAttribute("height",`${r}px`)),p.setAttribute("preserveAspectRatio","none"),p.setAttribute("viewBox",`0 0 ${t} ${r}`),p}createElement(t){if("string"!=typeof t)throw new Error("Invalid SVG element type");return this._createSVG(t)}_createSVG(t){_t("Abstract method `_createSVG` called.")}}class nl extends zc{_createSVG(t){return document.createElementNS(pt,t)}}class Yo{static setupStorage(t,r,d,p,m){const v=p.getValue(r,{value:null});switch(d.name){case"textarea":if(null!==v.value&&(t.textContent=v.value),"print"===m)break;t.addEventListener("input",w=>{p.setValue(r,{value:w.target.value})});break;case"input":if("radio"===d.attributes.type||"checkbox"===d.attributes.type){if(v.value===d.attributes.xfaOn?t.setAttribute("checked",!0):v.value===d.attributes.xfaOff&&t.removeAttribute("checked"),"print"===m)break;t.addEventListener("change",w=>{p.setValue(r,{value:w.target.getAttribute(w.target.checked?"xfaOn":"xfaOff")})})}else{if(null!==v.value&&t.setAttribute("value",v.value),"print"===m)break;t.addEventListener("input",w=>{p.setValue(r,{value:w.target.value})})}break;case"select":if(null!==v.value){t.setAttribute("value",v.value);for(const w of d.children)w.attributes.value===v.value?w.attributes.selected=!0:w.attributes.hasOwnProperty("selected")&&delete w.attributes.selected}t.addEventListener("input",w=>{const M=w.target.options;p.setValue(r,{value:-1===M.selectedIndex?"":M[M.selectedIndex].value})})}}static setAttributes({html:t,element:r,storage:d=null,intent:p,linkService:m}){const{attributes:v}=r,w=t instanceof HTMLAnchorElement;"radio"===v.type&&(v.name=`${v.name}-${p}`);for(const[M,$]of Object.entries(v))if(null!=$)switch(M){case"class":$.length&&t.setAttribute(M,$.join(" "));break;case"dataId":break;case"id":t.setAttribute("data-element-id",$);break;case"style":Object.assign(t.style,$);break;case"textContent":t.textContent=$;break;default:(!w||"href"!==M&&"newWindow"!==M)&&t.setAttribute(M,$)}w&&m.addLinkAttributes(t,v.href,v.newWindow),d&&v.dataId&&this.setupStorage(t,v.dataId,r,d)}static render(t){const r=t.annotationStorage,d=t.linkService,p=t.xfaHtml,m=t.intent||"display",v=document.createElement(p.name);p.attributes&&this.setAttributes({html:v,element:p,intent:m,linkService:d});const w="richText"!==m,M=t.div;if(M.append(v),t.viewport){const re=`matrix(${t.viewport.transform.join(",")})`;M.style.transform=re}w&&M.setAttribute("class","xfaLayer xfaFont");const $=[];if(0===p.children.length){if(p.value){const re=document.createTextNode(p.value);v.append(re),w&&mo.shouldBuildText(p.name)&&$.push(re)}return{textDivs:$}}const K=[[p,-1,v]];for(;K.length>0;){const[re,me,Ue]=K.at(-1);if(me+1===re.children.length){K.pop();continue}const Qe=re.children[++K.at(-1)[1]];if(null===Qe)continue;const{name:gt}=Qe;if("#text"===gt){const St=document.createTextNode(Qe.value);$.push(St),Ue.append(St);continue}const It=Qe?.attributes?.xmlns?document.createElementNS(Qe.attributes.xmlns,gt):document.createElement(gt);if(Ue.append(It),Qe.attributes&&this.setAttributes({html:It,element:Qe,storage:r,intent:m,linkService:d}),Qe.children?.length>0)K.push([Qe,-1,It]);else if(Qe.value){const St=document.createTextNode(Qe.value);w&&mo.shouldBuildText(gt)&&$.push(St),It.append(St)}}for(const re of M.querySelectorAll(".xfaNonInteractive input, .xfaNonInteractive textarea"))re.setAttribute("readOnly",!0);return{textDivs:$}}static update(t){const r=`matrix(${t.viewport.transform.join(",")})`;t.div.style.transform=r,t.div.hidden=!1}}const ta=1e3,qo=new WeakSet;function Fa(x){return{width:x[2]-x[0],height:x[3]-x[1]}}class Mc{static create(t){switch(t.data.annotationType){case 2:return new Fc(t);case 1:return new wa(t);case 20:switch(t.data.fieldType){case"Tx":return new yl(t);case"Btn":return t.data.radioButton?new Qa(t):t.data.checkBox?new Ac(t):new Tc(t);case"Ch":return new Za(t);case"Sig":return new Ul(t)}return new Vo(t);case 16:return new oo(t);case 3:return new W(t);case 4:return new k(t);case 5:return new ae(t);case 6:return new Ce(t);case 8:return new lt(t);case 14:return new kn(t);case 15:return new vi(t);case 7:return new an(t);case 9:return new _r(t);case 10:return new ns(t);case 11:return new xi(t);case 12:return new Sr(t);case 13:return new ys(t);case 17:return new $i(t);default:return new so(t)}}}class so{#e=null;#t=!1;#n=null;constructor(t,{isRenderable:r=!1,ignoreBorder:d=!1,createQuadrilaterals:p=!1}={}){this.isRenderable=r,this.data=t.data,this.layer=t.layer,this.linkService=t.linkService,this.downloadManager=t.downloadManager,this.imageResourcesPath=t.imageResourcesPath,this.renderForms=t.renderForms,this.svgFactory=t.svgFactory,this.annotationStorage=t.annotationStorage,this.enableScripting=t.enableScripting,this.hasJSActions=t.hasJSActions,this._fieldObjects=t.fieldObjects,this.parent=t.parent,r&&(this.container=this._createContainer(d)),p&&this._createQuadrilaterals()}
3static _hasPopupData({titleObj:t,contentsObj:r,richText:d}){return!!(t?.str||r?.str||d?.str)}get _isEditable(){return this.data.isEditable}get hasPopupData(){return so._hasPopupData(this.data)}updateEdited(t){if(!this.container)return;this.#e||={rect:this.data.rect.slice(0)};const{rect:r}=t;r&&this.#i(r),this.#n?.popup.updateEdited(t)}resetEdited(){this.#e&&(this.#i(this.#e.rect),this.#n?.popup.resetEdited(),this.#e=null)}#i(t){const{container:{style:r},data:{rect:d,rotation:p},parent:{viewport:{rawDims:{pageWidth:m,pageHeight:v,pageX:w,pageY:M}}}}=this;d?.splice(0,4,...t);const{width:$,height:K}=Fa(t);r.left=100*(t[0]-w)/m+"%",r.top=100*(v-t[3]+M)/v+"%",0===p?(r.width=100*$/m+"%",r.height=100*K/v+"%"):this.setRotation(p)}_createContainer(t){const{data:r,parent:{page:d,viewport:p}}=this,m=document.createElement("section");m.setAttribute("data-annotation-id",r.id),this instanceof Vo||(m.tabIndex=ta);const{style:v}=m;if(v.zIndex=this.parent.zIndex++,r.alternativeText&&(m.title=r.alternativeText),r.noRotate&&m.classList.add("norotate"),!r.rect||this instanceof oo){const{rotation:gt}=r;return!r.hasOwnCanvas&&0!==gt&&this.setRotation(gt,m),m}const{width:w,height:M}=Fa(r.rect);if(!t&&r.borderStyle.width>0){v.borderWidth=`${r.borderStyle.width}px`;const gt=r.borderStyle.horizontalCornerRadius,It=r.borderStyle.verticalCornerRadius;switch(gt>0||It>0?v.borderRadius=`calc(${gt}px * var(--scale-factor)) / calc(${It}px * var(--scale-factor))`:this instanceof Qa&&(v.borderRadius=`calc(${w}px * var(--scale-factor)) / calc(${M}px * var(--scale-factor))`),r.borderStyle.style){case 1:v.borderStyle="solid";break;case 2:v.borderStyle="dashed";break;case 3:nt("Unimplemented border style: beveled");break;case 4:nt("Unimplemented border style: inset");break;case 5:v.borderBottomStyle="solid"}const St=r.borderColor||null;St?(this.#t=!0,v.borderColor=Ye.makeHexColor(0|St[0],0|St[1],0|St[2])):v.borderWidth=0}const $=Ye.normalizeRect([r.rect[0],d.view[3]-r.rect[1]+d.view[1],r.rect[2],d.view[3]-r.rect[3]+d.view[1]]),{pageWidth:K,pageHeight:re,pageX:me,pageY:Ue}=p.rawDims;v.left=100*($[0]-me)/K+"%",v.top=100*($[1]-Ue)/re+"%";const{rotation:Qe}=r;return r.hasOwnCanvas||0===Qe?(v.width=100*w/K+"%",v.height=100*M/re+"%"):this.setRotation(Qe,m),m}setRotation(t,r=this.container){if(!this.data.rect)return;const{pageWidth:d,pageHeight:p}=this.parent.viewport.rawDims,{width:m,height:v}=Fa(this.data.rect);let w,M;t%180==0?(w=100*m/d,M=100*v/p):(w=100*v/d,M=100*m/p),r.style.width=`${w}%`,r.style.height=`${M}%`,r.setAttribute("data-main-rotation",(360-t)%360)}get _commonActions(){const t=(r,d,p)=>{const m=p.detail[r],v=m[0],w=m.slice(1);p.target.style[d]=cs[`${v}_HTML`](w),this.annotationStorage.setValue(this.data.id,{[d]:cs[`${v}_rgb`](w)})};return hn(this,"_commonActions",{display:r=>{const{display:d}=r.detail,p=d%2==1;this.container.style.visibility=p?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{noView:p,noPrint:1===d||2===d})},print:r=>{this.annotationStorage.setValue(this.data.id,{noPrint:!r.detail.print})},hidden:r=>{const{hidden:d}=r.detail;this.container.style.visibility=d?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{noPrint:d,noView:d})},focus:r=>{setTimeout(()=>r.target.focus({preventScroll:!1}),0)},userName:r=>{r.target.title=r.detail.userName},readonly:r=>{r.target.disabled=r.detail.readonly},required:r=>{this._setRequired(r.target,r.detail.required)},bgColor:r=>{t("bgColor","backgroundColor",r)},fillColor:r=>{t("fillColor","backgroundColor",r)},fgColor:r=>{t("fgColor","color",r)},textColor:r=>{t("textColor","color",r)},borderColor:r=>{t("borderColor","borderColor",r)},strokeColor:r=>{t("strokeColor","borderColor",r)},rotation:r=>{const d=r.detail.rotation;this.setRotation(d),this.annotationStorage.setValue(this.data.id,{rotation:d})}})}_dispatchEventFromSandbox(t,r){const d=this._commonActions;for(const p of Object.keys(r.detail))(t[p]||d[p])?.(r)}_setDefaultPropertiesFromJS(t){if(!this.enableScripting)return;const r=this.annotationStorage.getRawValue(this.data.id);if(!r)return;const d=this._commonActions;for(const[p,m]of Object.entries(r)){const v=d[p];
3v&&(v({detail:{[p]:m},target:t}),delete r[p])}}_createQuadrilaterals(){if(!this.container)return;const{quadPoints:t}=this.data;if(!t)return;const[r,d,p,m]=this.data.rect.map(gt=>Math.fround(gt));if(8===t.length){const[gt,It,St,Jt]=t.subarray(2,6);if(p===gt&&m===It&&r===St&&d===Jt)return}const{style:v}=this.container;let w;if(this.#t){const{borderColor:gt,borderWidth:It}=v;v.borderWidth=0,w=["url('data:image/svg+xml;utf8,",'<svg xmlns="http://www.w3.org/2000/svg"',' preserveAspectRatio="none" viewBox="0 0 1 1">',`<g fill="transparent" stroke="${gt}" stroke-width="${It}">`],this.container.classList.add("hasBorder")}const M=p-r,$=m-d,{svgFactory:K}=this,re=K.createElement("svg");re.classList.add("quadrilateralsContainer"),re.setAttribute("width",0),re.setAttribute("height",0);const me=K.createElement("defs");re.append(me);const Ue=K.createElement("clipPath"),Qe=`clippath_${this.data.id}`;Ue.setAttribute("id",Qe),Ue.setAttribute("clipPathUnits","objectBoundingBox"),me.append(Ue);for(let gt=2,It=t.length;gt<It;gt+=8){const St=t[gt],Jt=t[gt+1],un=t[gt+2],fn=t[gt+3],pn=K.createElement("rect"),An=(un-r)/M,Zn=(m-Jt)/$,Xn=(St-un)/M,dn=(Jt-fn)/$;pn.setAttribute("x",An),pn.setAttribute("y",Zn),pn.setAttribute("width",Xn),pn.setAttribute("height",dn),Ue.append(pn),w?.push(`<rect vector-effect="non-scaling-stroke" x="${An}" y="${Zn}" width="${Xn}" height="${dn}"/>`)}this.#t&&(w.push("</g></svg>')"),v.backgroundImage=w.join("")),this.container.append(re),this.container.style.clipPath=`url(#${Qe})`}_createPopup(){const{data:t}=this,r=this.#n=new oo({data:{color:t.color,titleObj:t.titleObj,modificationDate:t.modificationDate,contentsObj:t.contentsObj,richText:t.richText,parentRect:t.rect,borderStyle:0,id:`popup_${t.id}`,rotation:t.rotation},parent:this.parent,elements:[this]});this.parent.div.append(r.render())}render(){_t("Abstract method `AnnotationElement.render` called")}_getElementsByName(t,r=null){const d=[];if(this._fieldObjects){const p=this._fieldObjects[t];if(p)for(const{page:m,id:v,exportValues:w}of p){if(-1===m||v===r)continue;const M="string"==typeof w?w:null,$=document.querySelector(`[data-element-id="${v}"]`);!$||qo.has($)?d.push({id:v,exportValue:M,domElement:$}):nt(`_getElementsByName - element not allowed: ${v}`)}return d}for(const p of document.getElementsByName(t)){const{exportValue:m}=p,v=p.getAttribute("data-element-id");v!==r&&qo.has(p)&&d.push({id:v,exportValue:m,domElement:p})}return d}show(){this.container&&(this.container.hidden=!1),this.popup?.maybeShow()}hide(){this.container&&(this.container.hidden=!0),this.popup?.forceHide()}getElementsToTriggerPopup(){return this.container}addHighlightArea(){const t=this.getElementsToTriggerPopup();if(Array.isArray(t))for(const r of t)r.classList.add("highlightArea");else t.classList.add("highlightArea")}_editOnDoubleClick(){if(!this._isEditable)return;const{annotationEditorType:t,data:{id:r}}=this;this.container.addEventListener("dblclick",()=>{this.linkService.eventBus?.dispatch("switchannotationeditormode",{source:this,mode:t,editId:r})})}}class Fc extends so{constructor(t,r=null){super(t,{isRenderable:!0,ignoreBorder:!!r?.ignoreBorder,createQuadrilaterals:!0}),this.isTooltipOnly=t.data.isTooltipOnly}render(){const{data:t,linkService:r}=this,d=document.createElement("a");d.setAttribute("data-element-id",t.id);let p=!1;return t.url?(r.addLinkAttributes(d,t.url,t.newWindow),p=!0):t.action?(this._bindNamedAction(d,t.action),p=!0):t.attachment?(this.#t(d,t.attachment,t.attachmentDest),p=!0):t.setOCGState?(this.#n(d,t.setOCGState),p=!0):t.dest?(this._bindLink(d,t.dest),p=!0):(t.actions&&(t.actions.Action||t.actions["Mouse Up"]||t.actions["Mouse Down"])&&this.enableScripting&&this.hasJSActions&&(this._bindJSAction(d,t),p=!0),t.resetForm?(this._bindResetFormAction(d,t.resetForm),p=!0):this.isTooltipOnly&&!p&&(this._bindLink(d,""),p=!0)),this.container.classList.add("linkAnnotation"),p&&this.container.append(d),this.container}#e(){this.container.setAttribute("data-internal-link","")}_bindLink(t,r){t.href=this.linkService.getDestinationHash(r),t.onclick=()=>(r&&this.linkService.goToDestination(r),!1),(r||""===r)&&this.#e()}_bindNamedAction(t,r){t.href=this.linkService.getAnchorUrl(""),t.onclick=()=>(this.linkService.executeNamedAction(r),!1),this.#e()}#t(t,r,d=null){t.href=this.linkService.getAnchorUrl(""),r.description&&(t.title=r.description),t.onclick=()=>(this.downloadManager?.openOrDownloadData(r.content,r.filename,d),!1),this.#e()}#n(t,r){t.href=this.linkService.getAnchorUrl(""),t.onclick=()=>(this.linkService.executeSetOCGState(r),!1),this.#e()}_bindJSAction(t,r){t.href=this.linkService.getAnchorUrl("");const d=new Map([["Action","onclick"],["Mouse Up","onmouseup"],["Mouse Down","onmousedown"]]);for(const p of Object.keys(r.actions)){const m=d.get(p);m&&(t[m]=()=>(this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:r.id,name:p}}),!1))}t.onclick||(t.onclick=()=>!1),this.#e()}_bindResetFormAction(t,r){const d=t.onclick;if(d||(t.href=this.linkService.getAnchorUrl("")),this.#e(),!this._fieldObjects)return nt('_bindResetFormAction - "resetForm" action not supported, ensure that the `fieldObjects` parameter is provided.'),void(d||(t.onclick=()=>!1));t.onclick=()=>{d?.();const{fields:p,refs:m,include:v}=r,w=[];if(0!==p.length||0!==m.length){const K=new Set(m);for(const re of p){const me=this._fieldObjects[re]||[];for(const{id:Ue}of me)K.add(Ue)}
3for(const re of Object.values(this._fieldObjects))for(const me of re)K.has(me.id)===v&&w.push(me)}else for(const K of Object.values(this._fieldObjects))w.push(...K);const M=this.annotationStorage,$=[];for(const K of w){const{id:re}=K;switch($.push(re),K.type){case"text":case"combobox":case"listbox":M.setValue(re,{value:K.defaultValue||""});break;case"checkbox":case"radiobutton":M.setValue(re,{value:K.defaultValue===K.exportValues});break;default:continue}const me=document.querySelector(`[data-element-id="${re}"]`);me&&(qo.has(me)?me.dispatchEvent(new Event("resetform")):nt(`_bindResetFormAction - element not allowed: ${re}`))}return this.enableScripting&&this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:"app",ids:$,name:"ResetForm"}}),!1}}}class wa extends so{constructor(t){super(t,{isRenderable:!0})}render(){this.container.classList.add("textAnnotation");const t=document.createElement("img");return t.src=this.imageResourcesPath+"annotation-"+this.data.name.toLowerCase()+".svg",t.setAttribute("data-l10n-id","pdfjs-text-annotation-type"),t.setAttribute("data-l10n-args",JSON.stringify({type:this.data.name})),!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container.append(t),this.container}}class Vo extends so{render(){return this.container}showElementAndHideCanvas(t){this.data.hasOwnCanvas&&("CANVAS"===t.previousSibling?.nodeName&&(t.previousSibling.hidden=!0),t.hidden=!1)}_getKeyModifier(t){return xn.platform.isMac?t.metaKey:t.ctrlKey}_setEventListener(t,r,d,p,m){d.includes("mouse")?t.addEventListener(d,v=>{this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:p,value:m(v),shift:v.shiftKey,modifier:this._getKeyModifier(v)}})}):t.addEventListener(d,v=>{if("blur"===d){if(!r.focused||!v.relatedTarget)return;r.focused=!1}else if("focus"===d){if(r.focused)return;r.focused=!0}m&&this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:p,value:m(v)}})})}_setEventListeners(t,r,d,p){for(const[m,v]of d)("Action"===v||this.data.actions?.[v])&&(("Focus"===v||"Blur"===v)&&(r||={focused:!1}),this._setEventListener(t,r,m,v,p),"Focus"!==v||this.data.actions?.Blur?"Blur"===v&&!this.data.actions?.Focus&&this._setEventListener(t,r,"focus","Focus",null):this._setEventListener(t,r,"blur","Blur",null))}_setBackgroundColor(t){const r=this.data.backgroundColor||null;t.style.backgroundColor=null===r?"transparent":Ye.makeHexColor(r[0],r[1],r[2])}_setTextStyle(t){const{fontColor:d}=this.data.defaultAppearanceData,p=this.data.defaultAppearanceData.fontSize||9,m=t.style;let v;const M=$=>Math.round(10*$)/10;if(this.data.multiLine){const $=Math.abs(this.data.rect[3]-this.data.rect[1]-2),K=Math.round($/(1.35*p))||1;v=Math.min(p,M($/K/1.35))}else{const $=Math.abs(this.data.rect[3]-this.data.rect[1]-2);v=Math.min(p,M($/1.35))}m.fontSize=`calc(${v}px * var(--scale-factor))`,m.color=Ye.makeHexColor(d[0],d[1],d[2]),null!==this.data.textAlignment&&(m.textAlign=["left","center","right"][this.data.textAlignment])}_setRequired(t,r){r?t.setAttribute("required",!0):t.removeAttribute("required"),t.setAttribute("aria-required",r)}}class yl extends Vo{constructor(t){super(t,{isRenderable:t.renderForms||t.data.hasOwnCanvas||!t.data.hasAppearance&&!!t.data.fieldValue})}setPropertyOnSiblings(t,r,d,p){const m=this.annotationStorage;
vendor: 7,952 bytes, line 3
3for(const v of this._getElementsByName(t.name,t.id))v.domElement&&(v.domElement[r]=d),m.setValue(v.id,{[p]:d})}render(){const t=this.annotationStorage,r=this.data.id;this.container.classList.add("textWidgetAnnotation");let d=null;if(this.renderForms){const p=t.getValue(r,{value:this.data.fieldValue});let m=p.value||"";const v=t.getValue(r,{charLimit:this.data.maxLen}).charLimit;v&&m.length>v&&(m=m.slice(0,v));let w=p.formattedValue||this.data.textContent?.join("\n")||null;w&&this.data.comb&&(w=w.replaceAll(/\s+/g,""));const M={userValue:m,formattedValue:w,lastCommittedValue:null,commitKey:1,focused:!1};this.data.multiLine?(d=document.createElement("textarea"),d.textContent=w??m,this.data.doNotScroll&&(d.style.overflowY="hidden")):(d=document.createElement("input"),d.type="text",d.setAttribute("value",w??m),this.data.doNotScroll&&(d.style.overflowX="hidden")),this.data.hasOwnCanvas&&(d.hidden=!0),qo.add(d),d.setAttribute("data-element-id",r),d.disabled=this.data.readOnly,d.name=this.data.fieldName,d.tabIndex=ta,this._setRequired(d,this.data.required),v&&(d.maxLength=v),d.addEventListener("input",K=>{t.setValue(r,{value:K.target.value}),this.setPropertyOnSiblings(d,"value",K.target.value,"value"),M.formattedValue=null}),d.addEventListener("resetform",K=>{d.value=M.userValue=this.data.defaultFieldValue??"",M.formattedValue=null});let $=K=>{const{formattedValue:re}=M;null!=re&&(K.target.value=re),K.target.scrollLeft=0};if(this.enableScripting&&this.hasJSActions){d.addEventListener("focus",re=>{if(M.focused)return;const{target:me}=re;M.userValue&&(me.value=M.userValue),M.lastCommittedValue=me.value,M.commitKey=1,this.data.actions?.Focus||(M.focused=!0)}),d.addEventListener("updatefromsandbox",re=>{this.showElementAndHideCanvas(re.target),this._dispatchEventFromSandbox({value(Ue){M.userValue=Ue.detail.value??"",t.setValue(r,{value:M.userValue.toString()}),Ue.target.value=M.userValue},formattedValue(Ue){const{formattedValue:Qe}=Ue.detail;M.formattedValue=Qe,null!=Qe&&Ue.target!==document.activeElement&&(Ue.target.value=Qe),t.setValue(r,{formattedValue:Qe})},selRange(Ue){Ue.target.setSelectionRange(...Ue.detail.selRange)},charLimit:Ue=>{const{charLimit:Qe}=Ue.detail,{target:gt}=Ue;if(0===Qe)return void gt.removeAttribute("maxLength");gt.setAttribute("maxLength",Qe);let It=M.userValue;!It||It.length<=Qe||(It=It.slice(0,Qe),gt.value=M.userValue=It,t.setValue(r,{value:It}),this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:r,name:"Keystroke",value:It,willCommit:!0,commitKey:1,selStart:gt.selectionStart,selEnd:gt.selectionEnd}}))}},re)}),d.addEventListener("keydown",re=>{M.commitKey=1;let me=-1;if("Escape"===re.key?me=0:"Enter"!==re.key||this.data.multiLine?"Tab"===re.key&&(M.commitKey=3):me=2,-1===me)return;const{value:Ue}=re.target;M.lastCommittedValue!==Ue&&(M.lastCommittedValue=Ue,M.userValue=Ue,this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:r,name:"Keystroke",value:Ue,willCommit:!0,commitKey:me,selStart:re.target.selectionStart,selEnd:re.target.selectionEnd}}))});const K=$;$=null,d.addEventListener("blur",re=>{if(!M.focused||!re.relatedTarget)return;this.data.actions?.Blur||(M.focused=!1);const{value:me}=re.target;M.userValue=me,M.lastCommittedValue!==me&&this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:r,name:"Keystroke",value:me,willCommit:!0,commitKey:M.commitKey,selStart:re.target.selectionStart,selEnd:re.target.selectionEnd}}),K(re)}),this.data.actions?.Keystroke&&d.addEventListener("beforeinput",re=>{M.lastCommittedValue=null;const{data:me,target:Ue}=re,{value:Qe,selectionStart:gt,selectionEnd:It}=Ue;let St=gt,Jt=It;switch(re.inputType){case"deleteWordBackward":{const un=Qe.substring(0,gt).match(/\w*[^\w]*$/);un&&(St-=un[0].length);break}case"deleteWordForward":{const un=Qe.substring(gt).match(/^[^\w]*\w*/);un&&(Jt+=un[0].length);break}case"deleteContentBackward":gt===It&&(St-=1);break;case"deleteContentForward":gt===It&&(Jt+=1)}re.preventDefault(),this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:r,name:"Keystroke",value:Qe,change:me||"",willCommit:!1,selStart:St,selEnd:Jt}})}),this._setEventListeners(d,M,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],re=>re.target.value)}if($&&d.addEventListener("blur",$),this.data.comb){const re=(this.data.rect[2]-this.data.rect[0])/v;d.classList.add("comb"),d.style.letterSpacing=`calc(${re}px * var(--scale-factor) - 1ch)`}}else d=document.createElement("div"),d.textContent=this.data.fieldValue,d.style.verticalAlign="middle",d.style.display="table-cell",this.data.hasOwnCanvas&&(d.hidden=!0);return this._setTextStyle(d),this._setBackgroundColor(d),this._setDefaultPropertiesFromJS(d),this.container.append(d),this.container}}class Ul extends Vo{constructor(t){super(t,{isRenderable:!!t.data.hasOwnCanvas})}}class Ac extends Vo{constructor(t){super(t,{isRenderable:t.renderForms})}render(){const t=this.annotationStorage,r=this.data,d=r.id;let p=t.getValue(d,{value:r.exportValue===r.fieldValue}).value;"string"==typeof p&&(p="Off"!==p,t.setValue(d,{value:p})),this.container.classList.add("buttonWidgetAnnotation","checkBox");const m=document.createElement("input");return qo.add(m),m.setAttribute("data-element-id",d),m.disabled=r.readOnly,this._setRequired(m,this.data.required),m.type="checkbox",m.name=r.fieldName,p&&m.setAttribute("checked",!0),m.setAttribute("exportValue",r.exportValue),m.tabIndex=ta,m.addEventListener("change",v=>{const{name:w,checked:M}=v.target;for(const $ of this._getElementsByName(w,d)){const K=M&&$.exportValue===r.exportValue;$.domElement&&($.domElement.checked=K),t.setValue($.id,{value:K})}t.setValue(d,{value:M})}),m.addEventListener("resetform",v=>{v.target.checked=(r.defaultFieldValue||"Off")===r.exportValue}),this.enableScripting&&this.hasJSActions&&(m.addEventListener("updatefromsandbox",v=>{this._dispatchEventFromSandbox({value(M){M.target.checked="Off"!==M.detail.value,t.setValue(d,{value:M.target.checked})}},v)}),this._setEventListeners(m,null,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],v=>v.target.checked)),this._setBackgroundColor(m),this._setDefaultPropertiesFromJS(m),this.container.append(m),this.container}}class Qa extends Vo{constructor(t){super(t,{isRenderable:t.renderForms})}render(){this.container.classList.add("buttonWidgetAnnotation","radioButton");const t=this.annotationStorage,r=this.data,d=r.id;let p=t.getValue(d,{value:r.fieldValue===r.buttonValue}).value;if("string"==typeof p&&(p=p!==r.buttonValue,t.setValue(d,{value:p})),p)for(const v of this._getElementsByName(r.fieldName,d))t.setValue(v.id,{value:!1});const m=document.createElement("input");if(qo.add(m),m.setAttribute("data-element-id",d),m.disabled=r.readOnly,this._setRequired(m,this.data.required),m.type="radio",m.name=r.fieldName,p&&m.setAttribute("checked",!0),m.tabIndex=ta,m.addEventListener("change",v=>{const{name:w,checked:M}=v.target;for(const $ of this._getElementsByName(w,d))t.setValue($.id,{value:!1});t.setValue(d,{value:M})}),m.addEventListener("resetform",v=>{const w=r.defaultFieldValue;v.target.checked=null!=w&&w===r.buttonValue}),this.enableScripting&&this.hasJSActions){const v=r.buttonValue;m.addEventListener("updatefromsandbox",w=>{this._dispatchEventFromSandbox({value:$=>{const K=v===$.detail.value;for(const re of this._getElementsByName($.target.name)){const me=K&&re.id===d;re.domElement&&(re.domElement.checked=me),t.setValue(re.id,{value:me})}}},w)}),this._setEventListeners(m,null,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],w=>w.target.checked)}
vendor: 4,136 bytes, line 3
3return this._setBackgroundColor(m),this._setDefaultPropertiesFromJS(m),this.container.append(m),this.container}}class Tc extends Fc{constructor(t){super(t,{ignoreBorder:t.data.hasAppearance})}render(){const t=super.render();t.classList.add("buttonWidgetAnnotation","pushButton");const r=t.lastChild;return this.enableScripting&&this.hasJSActions&&r&&(this._setDefaultPropertiesFromJS(r),r.addEventListener("updatefromsandbox",d=>{this._dispatchEventFromSandbox({},d)})),t}}class Za extends Vo{constructor(t){super(t,{isRenderable:t.renderForms})}render(){this.container.classList.add("choiceWidgetAnnotation");const t=this.annotationStorage,r=this.data.id,d=t.getValue(r,{value:this.data.fieldValue}),p=document.createElement("select");qo.add(p),p.setAttribute("data-element-id",r),p.disabled=this.data.readOnly,this._setRequired(p,this.data.required),p.name=this.data.fieldName,p.tabIndex=ta;let m=this.data.combo&&this.data.options.length>0;this.data.combo||(p.size=this.data.options.length,this.data.multiSelect&&(p.multiple=!0)),p.addEventListener("resetform",K=>{const re=this.data.defaultFieldValue;for(const me of p.options)me.selected=me.value===re});for(const K of this.data.options){const re=document.createElement("option");re.textContent=K.displayValue,re.value=K.exportValue,d.value.includes(K.exportValue)&&(re.setAttribute("selected",!0),m=!1),p.append(re)}let v=null;if(m){const K=document.createElement("option");K.value=" ",K.setAttribute("hidden",!0),K.setAttribute("selected",!0),p.prepend(K),v=()=>{K.remove(),p.removeEventListener("input",v),v=null},p.addEventListener("input",v)}const w=K=>{const re=K?"value":"textContent",{options:me,multiple:Ue}=p;return Ue?Array.prototype.filter.call(me,Qe=>Qe.selected).map(Qe=>Qe[re]):-1===me.selectedIndex?null:me[me.selectedIndex][re]};let M=w(!1);const $=K=>Array.prototype.map.call(K.target.options,me=>({displayValue:me.textContent,exportValue:me.value}));return this.enableScripting&&this.hasJSActions?(p.addEventListener("updatefromsandbox",K=>{this._dispatchEventFromSandbox({value(me){v?.();const Ue=me.detail.value,Qe=new Set(Array.isArray(Ue)?Ue:[Ue]);for(const gt of p.options)gt.selected=Qe.has(gt.value);t.setValue(r,{value:w(!0)}),M=w(!1)},multipleSelection(me){p.multiple=!0},remove(me){const Ue=p.options,Qe=me.detail.remove;Ue[Qe].selected=!1,p.remove(Qe),Ue.length>0&&-1===Array.prototype.findIndex.call(Ue,It=>It.selected)&&(Ue[0].selected=!0),t.setValue(r,{value:w(!0),items:$(me)}),M=w(!1)},clear(me){for(;0!==p.length;)p.remove(0);t.setValue(r,{value:null,items:[]}),M=w(!1)},insert(me){const{index:Ue,displayValue:Qe,exportValue:gt}=me.detail.insert,It=p.children[Ue],St=document.createElement("option");St.textContent=Qe,St.value=gt,It?It.before(St):p.append(St),t.setValue(r,{value:w(!0),items:$(me)}),M=w(!1)},items(me){const{items:Ue}=me.detail;for(;0!==p.length;)p.remove(0);for(const Qe of Ue){const{displayValue:gt,exportValue:It}=Qe,St=document.createElement("option");St.textContent=gt,St.value=It,p.append(St)}p.options.length>0&&(p.options[0].selected=!0),t.setValue(r,{value:w(!0),items:$(me)}),M=w(!1)},indices(me){const Ue=new Set(me.detail.indices);for(const Qe of me.target.options)Qe.selected=Ue.has(Qe.index);t.setValue(r,{value:w(!0)}),M=w(!1)},editable(me){me.target.disabled=!me.detail.editable}},K)}),p.addEventListener("input",K=>{const re=w(!0),me=w(!1);t.setValue(r,{value:re}),K.preventDefault(),this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:r,name:"Keystroke",value:M,change:me,changeEx:re,willCommit:!1,commitKey:1,keyDown:!1}})}),this._setEventListeners(p,null,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"],["input","Action"],["input","Validate"]],K=>K.target.value)):p.addEventListener("input",function(K){t.setValue(r,{value:w(!0)})}),this.data.combo&&this._setTextStyle(p),this._setBackgroundColor(p),this._setDefaultPropertiesFromJS(p),this.container.append(p),this.container}}class oo extends so{constructor(t){const{data:r,elements:d}=t;super(t,{isRenderable:so._hasPopupData(r)}
3),this.elements=d,this.popup=null}render(){this.container.classList.add("popupAnnotation");const t=this.popup=new ja({container:this.container,color:this.data.color,titleObj:this.data.titleObj,modificationDate:this.data.modificationDate,contentsObj:this.data.contentsObj,richText:this.data.richText,rect:this.data.rect,parentRect:this.data.parentRect||null,parent:this.parent,elements:this.elements,open:this.data.open}),r=[];for(const d of this.elements)d.popup=t,d.container.ariaHasPopup="dialog",r.push(d.data.id),d.addHighlightArea();return this.container.setAttribute("aria-controls",r.map(d=>`${ai}${d}`).join(",")),this.container}}class ja{#e=this.#A.bind(this);#t=this.#S.bind(this);#n=this.#x.bind(this);#i=this.#E.bind(this);#r=null;#s=null;#c=null;#l=null;#d=null;#a=null;#u=null;#o=!1;#h=null;#p=null;#f=null;#g=null;#y=null;#m=null;#b=!1;constructor({container:t,color:r,elements:d,titleObj:p,modificationDate:m,contentsObj:v,richText:w,parent:M,rect:$,parentRect:K,open:re}){this.#s=t,this.#y=p,this.#c=v,this.#g=w,this.#a=M,this.#r=r,this.#f=$,this.#u=K,this.#d=d,this.#l=nn.toDateObject(m),this.trigger=d.flatMap(me=>me.getElementsToTriggerPopup());for(const me of this.trigger)me.addEventListener("click",this.#i),me.addEventListener("mouseenter",this.#n),me.addEventListener("mouseleave",this.#t),me.classList.add("popupTriggerArea");for(const me of d)me.container?.addEventListener("keydown",this.#e);this.#s.hidden=!0,re&&this.#E()}render(){if(this.#h)return;const t=this.#h=document.createElement("div");if(t.className="popup",this.#r){const m=t.style.outlineColor=Ye.makeHexColor(...this.#r);t.style.backgroundColor=CSS.supports("background-color","color-mix(in srgb, red 30%, white)")?`color-mix(in srgb, ${m} 30%, white)`:Ye.makeHexColor(...this.#r.map(w=>Math.floor(.7*(255-w)+w)))}const r=document.createElement("span");r.className="header";const d=document.createElement("h1");if(r.append(d),({dir:d.dir,str:d.textContent}=this.#y),t.append(r),this.#l){const m=document.createElement("span");m.classList.add("popupDate"),m.setAttribute("data-l10n-id","pdfjs-annotation-date-time-string"),m.setAttribute("data-l10n-args",JSON.stringify({dateObj:this.#l.valueOf()})),r.append(m)}const p=this.#_;if(p)Yo.render({xfaHtml:p,intent:"richText",div:t}),t.lastChild.classList.add("richText","popupContent");else{const m=this._formatContents(this.#c);t.append(m)}this.#s.append(t)}get#_(){const t=this.#g,r=this.#c;return t?.str&&(!r?.str||r.str===t.str)&&this.#g.html||null}get#C(){return this.#_?.attributes?.style?.fontSize||0}get#F(){return this.#_?.attributes?.style?.color||null}#w(t){const r=[],d={str:t,html:{name:"div",attributes:{dir:"auto"},children:[{name:"p",children:r}]}},p={style:{color:this.#F,fontSize:this.#C?`calc(${this.#C}px * var(--scale-factor))`:""}};for(const m of t.split("\n"))r.push({name:"span",value:m,attributes:p});return d}_formatContents({str:t,dir:r}){const d=document.createElement("p");d.classList.add("popupContent"),d.dir=r;const p=t.split(/(?:\r\n?|\n)/);for(let m=0,v=p.length;m<v;++m)d.append(document.createTextNode(p[m])),m<v-1&&d.append(document.createElement("br"));return d}#A(t){t.altKey||t.shiftKey||t.ctrlKey||t.metaKey||("Enter"===t.key||"Escape"===t.key&&this.#o)&&this.#E()}updateEdited({rect:t,popupContent:r}){this.#m||={contentsObj:this.#c,richText:this.#g},t&&(this.#p=null),r&&(this.#g=this.#w(r),this.#c=null),this.#h?.remove(),this.#h=null}resetEdited(){this.#m&&(({contentsObj:this.#c,richText:this.#g}=this.#m),this.#m=null,this.#h?.remove(),this.#h=null,this.#p=null)}#D(){if(null!==this.#p)return;const{page:{view:t},viewport:{rawDims:{pageWidth:r,pageHeight:d,pageX:p,pageY:m}}}=this.#a;let v=!!this.#u,w=v?this.#u:this.#f;for(const Qe of this.#d)if(!w||null!==Ye.intersect(Qe.data.rect,w)){w=Qe.data.rect,v=!0;break}const M=Ye.normalizeRect([w[0],t[3]-w[1]+t[1],w[2],t[3]-w[3]+t[1]]);this.#p=[100*(M[0]+(v?w[2]-w[0]+5:0)-p)/r,100*(M[1]-m)/d];const{style:Ue}=this.#s;Ue.left=`${this.#p[0]}%`,Ue.top=`${this.#p[1]}%`}#E(){this.#o=!this.#o,this.#o?(this.#x(),this.#s.addEventListener("click",this.#i),this.#s.addEventListener("keydown",this.#e)):(this.#S(),this.#s.removeEventListener("click",this.#i),this.#s.removeEventListener("keydown",this.#e))}#x(){this.#h||this.render(),this.isVisible?this.#o&&this.#s.classList.add("focused"):(this.#D(),this.#s.hidden=!1,this.#s.style.zIndex=parseInt(this.#s.style.zIndex)+1e3)}#S(){this.#s.classList.remove("focused"),!this.#o&&this.isVisible&&(this.#s.hidden=!0,this.#s.style.zIndex=parseInt(this.#s.style.zIndex)-1e3)}forceHide(){this.#b=this.isVisible,this.#b&&(this.#s.hidden=!0)}maybeShow(){this.#b&&(this.#h||this.#x(),this.#b=!1,this.#s.hidden=!1)}get isVisible(){return!1===this.#s.hidden}}class W extends so{constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0}),this.textContent=t.data.textContent,this.textPosition=t.data.textPosition,this.annotationEditorType=he.FREETEXT}
3render(){if(this.container.classList.add("freeTextAnnotation"),this.textContent){const t=document.createElement("div");t.classList.add("annotationTextContent"),t.setAttribute("role","comment");for(const r of this.textContent){const d=document.createElement("span");d.textContent=r,t.append(d)}this.container.append(t)}return!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this._editOnDoubleClick(),this.container}}class k extends so{#e=null;constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0})}render(){this.container.classList.add("lineAnnotation");const t=this.data,{width:r,height:d}=Fa(t.rect),p=this.svgFactory.create(r,d,!0),m=this.#e=this.svgFactory.createElement("svg:line");return m.setAttribute("x1",t.rect[2]-t.lineCoordinates[0]),m.setAttribute("y1",t.rect[3]-t.lineCoordinates[1]),m.setAttribute("x2",t.rect[2]-t.lineCoordinates[2]),m.setAttribute("y2",t.rect[3]-t.lineCoordinates[3]),m.setAttribute("stroke-width",t.borderStyle.width||1),m.setAttribute("stroke","transparent"),m.setAttribute("fill","transparent"),p.append(m),this.container.append(p),!t.popupRef&&this.hasPopupData&&this._createPopup(),this.container}getElementsToTriggerPopup(){return this.#e}addHighlightArea(){this.container.classList.add("highlightArea")}}class ae extends so{#e=null;constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0})}render(){this.container.classList.add("squareAnnotation");const t=this.data,{width:r,height:d}=Fa(t.rect),p=this.svgFactory.create(r,d,!0),m=t.borderStyle.width,v=this.#e=this.svgFactory.createElement("svg:rect");return v.setAttribute("x",m/2),v.setAttribute("y",m/2),v.setAttribute("width",r-m),v.setAttribute("height",d-m),v.setAttribute("stroke-width",m||1),v.setAttribute("stroke","transparent"),v.setAttribute("fill","transparent"),p.append(v),this.container.append(p),!t.popupRef&&this.hasPopupData&&this._createPopup(),this.container}getElementsToTriggerPopup(){return this.#e}addHighlightArea(){this.container.classList.add("highlightArea")}}class Ce extends so{#e=null;constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0})}render(){this.container.classList.add("circleAnnotation");const t=this.data,{width:r,height:d}=Fa(t.rect),p=this.svgFactory.create(r,d,!0),m=t.borderStyle.width,v=this.#e=this.svgFactory.createElement("svg:ellipse");return v.setAttribute("cx",r/2),v.setAttribute("cy",d/2),v.setAttribute("rx",r/2-m/2),v.setAttribute("ry",d/2-m/2),v.setAttribute("stroke-width",m||1),v.setAttribute("stroke","transparent"),v.setAttribute("fill","transparent"),p.append(v),this.container.append(p),!t.popupRef&&this.hasPopupData&&this._createPopup(),this.container}getElementsToTriggerPopup(){return this.#e}addHighlightArea(){this.container.classList.add("highlightArea")}}class lt extends so{#e=null;constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0}),this.containerClassName="polylineAnnotation",this.svgElementName="svg:polyline"}render(){this.container.classList.add(this.containerClassName);const{data:{rect:t,vertices:r,borderStyle:d,popupRef:p}}=this;if(!r)return this.container;const{width:m,height:v}=Fa(t),w=this.svgFactory.create(m,v,!0);let M=[];for(let K=0,re=r.length;K<re;K+=2)M.push(`${r[K]-t[0]},${t[3]-r[K+1]}`);M=M.join(" ");const $=this.#e=this.svgFactory.createElement(this.svgElementName);return $.setAttribute("points",M),$.setAttribute("stroke-width",d.width||1),$.setAttribute("stroke","transparent"),$.setAttribute("fill","transparent"),w.append($),this.container.append(w),!p&&this.hasPopupData&&this._createPopup(),this.container}getElementsToTriggerPopup(){return this.#e}addHighlightArea(){this.container.classList.add("highlightArea")}}class an extends lt{constructor(t){super(t),this.containerClassName="polygonAnnotation",this.svgElementName="svg:polygon"}}class kn extends so{constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0})}render(){return this.container.classList.add("caretAnnotation"),!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container}}class vi extends so{#e=[];constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0}),this.containerClassName="inkAnnotation",this.svgElementName="svg:polyline",this.annotationEditorType="InkHighlight"===this.data.it?he.HIGHLIGHT:he.INK}render(){this.container.classList.add(this.containerClassName);const{data:{rect:t,inkLists:r,borderStyle:d,popupRef:p}}=this,{width:m,height:v}=Fa(t),w=this.svgFactory.create(m,v,!0);for(const M of r){let $=[];for(let re=0,me=M.length;re<me;re+=2)$.push(`${M[re]-t[0]},${t[3]-M[re+1]}`);$=$.join(" ");const K=this.svgFactory.createElement(this.svgElementName);this.#e.push(K),K.setAttribute("points",$),K.setAttribute("stroke-width",d.width||1),K.setAttribute("stroke","transparent"),K.setAttribute("fill","transparent"),w.append(K)}return!p&&this.hasPopupData&&this._createPopup(),this.container.append(w),this._editOnDoubleClick(),this.container}getElementsToTriggerPopup(){return this.#e}addHighlightArea(){this.container.classList.add("highlightArea")}}class _r extends so{constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0,createQuadrilaterals:!0}),this.annotationEditorType=he.HIGHLIGHT}render(){return!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container.classList.add("highlightAnnotation"),this._editOnDoubleClick(),this.container}}
3class ns extends so{constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0,createQuadrilaterals:!0})}render(){return!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container.classList.add("underlineAnnotation"),this.container}}class xi extends so{constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0,createQuadrilaterals:!0})}render(){return!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container.classList.add("squigglyAnnotation"),this.container}}class Sr extends so{constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0,createQuadrilaterals:!0})}render(){return!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container.classList.add("strikeoutAnnotation"),this.container}}class ys extends so{constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0}),this.annotationEditorType=he.STAMP}render(){return this.container.classList.add("stampAnnotation"),this.container.setAttribute("role","img"),!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this._editOnDoubleClick(),this.container}}class $i extends so{#e=null;constructor(t){super(t,{isRenderable:!0});const{file:r}=this.data;this.filename=r.filename,this.content=r.content,this.linkService.eventBus?.dispatch("fileattachmentannotation",{source:this,...r})}render(){this.container.classList.add("fileAttachmentAnnotation");const{container:t,data:r}=this;let d;r.hasAppearance||0===r.fillAlpha?d=document.createElement("div"):(d=document.createElement("img"),d.src=`${this.imageResourcesPath}annotation-${/paperclip/i.test(r.name)?"paperclip":"pushpin"}.svg`,r.fillAlpha&&r.fillAlpha<1&&(d.style=`filter: opacity(${Math.round(100*r.fillAlpha)}%);`)),d.addEventListener("dblclick",this.#t.bind(this)),this.#e=d;const{isMac:p}=xn.platform;return t.addEventListener("keydown",m=>{"Enter"===m.key&&(p?m.metaKey:m.ctrlKey)&&this.#t()}),!r.popupRef&&this.hasPopupData?this._createPopup():d.classList.add("popupTriggerArea"),t.append(d),t}getElementsToTriggerPopup(){return this.#e}addHighlightArea(){this.container.classList.add("highlightArea")}#t(){this.downloadManager?.openOrDownloadData(this.content,this.filename)}}class wn{#e=null;#t=null;#n=new Map;#i=null;constructor({div:t,accessibilityManager:r,annotationCanvasMap:d,annotationEditorUIManager:p,page:m,viewport:v,structTreeLayer:w}){this.div=t,this.#e=r,this.#t=d,this.#i=w||null,this.page=m,this.viewport=v,this.zIndex=0,this._annotationEditorUIManager=p}hasEditableAnnotations(){return this.#n.size>0}#r(t,r){var d=this;return(0,A.A)(function*(){const p=t.firstChild||t,m=p.id=`${ai}${r}`,v=yield d.#i?.getAriaAttributes(m);if(v)for(const[w,M]of v)p.setAttribute(w,M);d.div.append(t),d.#e?.moveElementInDOM(d.div,t,p,!1)})()}render(t){var r=this;return(0,A.A)(function*(){const{annotations:d}=t,p=r.div;ii(p,r.viewport);const m=new Map,v={data:null,layer:p,linkService:t.linkService,downloadManager:t.downloadManager,imageResourcesPath:t.imageResourcesPath||"",renderForms:!1!==t.renderForms,svgFactory:new nl,annotationStorage:t.annotationStorage||new Ci,enableScripting:!0===t.enableScripting,hasJSActions:t.hasJSActions,fieldObjects:t.fieldObjects,parent:r,elements:null};for(const w of d){if(w.noHTML)continue;const M=16===w.annotationType;if(M){const re=m.get(w.id);if(!re)continue;v.elements=re}else{const{width:re,height:me}=Fa(w.rect);if(re<=0||me<=0)continue}v.data=w;const $=Mc.create(v);if(!$.isRenderable)continue;if(!M&&w.popupRef){const re=m.get(w.popupRef);re?re.push($):m.set(w.popupRef,[$])}const K=$.render();w.hidden&&(K.style.visibility="hidden"),yield r.#r(K,w.id),$._isEditable&&(r.#n.set($.data.id,$),r._annotationEditorUIManager?.renderAnnotationElement($))}r.#s()})()}update({viewport:t}){const r=this.div;this.viewport=t,ii(r,{rotation:t.rotation}),this.#s(),r.hidden=!1}#s(){if(!this.#t)return;const t=this.div;for(const[r,d]of this.#t){const p=t.querySelector(`[data-annotation-id="${r}"]`);if(!p)continue;d.className="annotationContent";const{firstChild:m}=p;m?"CANVAS"===m.nodeName?m.replaceWith(d):m.classList.contains("annotationContent")?m.after(d):m.before(d):p.append(d)}this.#t.clear()}getEditableAnnotations(){return Array.from(this.#n.values())}getEditableAnnotation(t){return this.#n.get(t)}}const Ei=/\r\n?|\n/g;class Ui extends ue{#e;#t="";#n=`${this.id}-editor`;#i=null;#r;static _freeTextDefaultContent="";static _internalPadding=0;static _defaultColor=null;static _defaultFontSize=10;static get _keyboardManager(){const t=Ui.prototype,r=m=>m.isEmpty(),d=we.TRANSLATE_SMALL,p=we.TRANSLATE_BIG;return hn(this,"_keyboardManager",new We([[["ctrl+s","mac+meta+s","ctrl+p","mac+meta+p"],t.commitOrRemove,{bubbles:!0}],[["ctrl+Enter","mac+meta+Enter","Escape","mac+Escape"],t.commitOrRemove],[["ArrowLeft","mac+ArrowLeft"],t._translateEmpty,{args:[-d,0],checker:r}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],t._translateEmpty,{args:[-p,0],checker:r}],[["ArrowRight","mac+ArrowRight"],t._translateEmpty,{args:[d,0],checker:r}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],t._translateEmpty,{args:[p,0],checker:r}],[["ArrowUp","mac+ArrowUp"],t._translateEmpty,{args:[0,-d],checker:r}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],t._translateEmpty,{args:[0,-p],checker:r}],[["ArrowDown","mac+ArrowDown"],t._translateEmpty,{args:[0,d],checker:r}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],t._translateEmpty,{args:[0,p],checker:r}]]))}static _type="freetext";static _editorType=he.FREETEXT;constructor(t){super({...t,name:"freeTextEditor"}),this.#e=t.color||Ui._defaultColor||ue._defaultLineColor,this.#r=t.fontSize||Ui._defaultFontSize}static initialize(t,r){ue.initialize(t,r);const d=getComputedStyle(document.documentElement);this._internalPadding=parseFloat(d.getPropertyValue("--freetext-padding"))}
vendor: 4,664 bytes, line 3
3static updateDefaultParams(t,r){switch(t){case Me.FREETEXT_SIZE:Ui._defaultFontSize=r;break;case Me.FREETEXT_COLOR:Ui._defaultColor=r}}updateParams(t,r){switch(t){case Me.FREETEXT_SIZE:this.#s(r);break;case Me.FREETEXT_COLOR:this.#c(r)}}static get defaultPropertiesToUpdate(){return[[Me.FREETEXT_SIZE,Ui._defaultFontSize],[Me.FREETEXT_COLOR,Ui._defaultColor||ue._defaultLineColor]]}get propertiesToUpdate(){return[[Me.FREETEXT_SIZE,this.#r],[Me.FREETEXT_COLOR,this.#e]]}#s(t){const r=p=>{this.editorDiv.style.fontSize=`calc(${p}px * var(--scale-factor))`,this.translate(0,-(p-this.#r)*this.parentScale),this.#r=p,this.#d()},d=this.#r;this.addCommands({cmd:r.bind(this,t),undo:r.bind(this,d),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:Me.FREETEXT_SIZE,overwriteIfSameType:!0,keepUndo:!0})}#c(t){const r=p=>{this.#e=this.editorDiv.style.color=p},d=this.#e;this.addCommands({cmd:r.bind(this,t),undo:r.bind(this,d),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:Me.FREETEXT_COLOR,overwriteIfSameType:!0,keepUndo:!0})}_translateEmpty(t,r){this._uiManager.translateSelectedEditors(t,r,!0)}getInitialTranslation(){const t=this.parentScale;return[-Ui._internalPadding*t,-(Ui._internalPadding+this.#r)*t]}rebuild(){this.parent&&(super.rebuild(),null!==this.div&&(this.isAttachedToDOM||this.parent.add(this)))}enableEditMode(){if(this.isInEditMode())return;this.parent.setEditingState(!1),this.parent.updateToolbar(he.FREETEXT),super.enableEditMode(),this.overlayDiv.classList.remove("enabled"),this.editorDiv.contentEditable=!0,this._isDraggable=!1,this.div.removeAttribute("aria-activedescendant"),this.#i=new AbortController;const t=this._uiManager.combinedSignal(this.#i);this.editorDiv.addEventListener("keydown",this.editorDivKeydown.bind(this),{signal:t}),this.editorDiv.addEventListener("focus",this.editorDivFocus.bind(this),{signal:t}),this.editorDiv.addEventListener("blur",this.editorDivBlur.bind(this),{signal:t}),this.editorDiv.addEventListener("input",this.editorDivInput.bind(this),{signal:t}),this.editorDiv.addEventListener("paste",this.editorDivPaste.bind(this),{signal:t})}disableEditMode(){this.isInEditMode()&&(this.parent.setEditingState(!0),super.disableEditMode(),this.overlayDiv.classList.add("enabled"),this.editorDiv.contentEditable=!1,this.div.setAttribute("aria-activedescendant",this.#n),this._isDraggable=!0,this.#i?.abort(),this.#i=null,this.div.focus({preventScroll:!0}),this.isEditing=!1,this.parent.div.classList.add("freetextEditing"))}focusin(t){this._focusEventsAllowed&&(super.focusin(t),t.target!==this.editorDiv&&this.editorDiv.focus())}onceAdded(){this.width||(this.enableEditMode(),this.editorDiv.focus(),this._initialOptions?.isCentered&&this.center(),this._initialOptions=null)}isEmpty(){return!this.editorDiv||""===this.editorDiv.innerText.trim()}remove(){this.isEditing=!1,this.parent&&(this.parent.setEditingState(!0),this.parent.div.classList.add("freetextEditing")),super.remove()}#l(){const t=[];this.editorDiv.normalize();let r=null;for(const d of this.editorDiv.childNodes)r?.nodeType===Node.TEXT_NODE&&"BR"===d.nodeName||(t.push(Ui.#a(d)),r=d);return t.join("\n")}#d(){const[t,r]=this.parentDimensions;let d;if(this.isAttachedToDOM)d=this.div.getBoundingClientRect();else{const{currentLayer:p,div:m}=this,v=m.style.display,w=m.classList.contains("hidden");m.classList.remove("hidden"),m.style.display="hidden",p.div.append(this.div),d=m.getBoundingClientRect(),m.remove(),m.style.display=v,m.classList.toggle("hidden",w)}this.rotation%180==this.parentRotation%180?(this.width=d.width/t,this.height=d.height/r):(this.width=d.height/t,this.height=d.width/r),this.fixAndSetPosition()}commit(){if(!this.isInEditMode())return;super.commit(),this.disableEditMode();const t=this.#t,r=this.#t=this.#l().trimEnd();if(t===r)return;const d=p=>{this.#t=p,p?(this.#u(),this._uiManager.rebuild(this),this.#d()):this.remove()};this.addCommands({cmd:()=>{d(r)},undo:()=>{d(t)},mustExec:!1}),this.#d()}shouldGetKeyboardEvents(){return this.isInEditMode()}enterInEditMode(){this.enableEditMode(),this.editorDiv.focus()}dblclick(t){this.enterInEditMode()}keydown(t){t.target===this.div&&"Enter"===t.key&&(this.enterInEditMode(),t.preventDefault())}editorDivKeydown(t){Ui._keyboardManager.exec(this,t)}editorDivFocus(t){this.isEditing=!0}editorDivBlur(t){this.isEditing=!1}editorDivInput(t){this.parent.div.classList.toggle("freetextEditing",this.isEmpty())}disableEditing(){this.editorDiv.setAttribute("role","comment"),this.editorDiv.removeAttribute("aria-multiline")}enableEditing(){this.editorDiv.setAttribute("role","textbox"),this.editorDiv.setAttribute("aria-multiline",!0)}
3render(){if(this.div)return this.div;let t,r;this.width&&(t=this.x,r=this.y),super.render(),this.editorDiv=document.createElement("div"),this.editorDiv.className="internal",this.editorDiv.setAttribute("id",this.#n),this.editorDiv.setAttribute("data-l10n-id","pdfjs-free-text2"),this.editorDiv.setAttribute("data-l10n-attrs","default-content"),this.enableEditing(),this.editorDiv.contentEditable=!0;const{style:d}=this.editorDiv;if(d.fontSize=`calc(${this.#r}px * var(--scale-factor))`,d.color=this.#e,this.div.append(this.editorDiv),this.overlayDiv=document.createElement("div"),this.overlayDiv.classList.add("overlay","enabled"),this.div.append(this.overlayDiv),us(this,this.div,["dblclick","keydown"]),this.width){const[p,m]=this.parentDimensions;if(this.annotationElementId){const{position:v}=this._initialData;let[w,M]=this.getInitialTranslation();[w,M]=this.pageTranslationToScreen(w,M);const[$,K]=this.pageDimensions,[re,me]=this.pageTranslation;let Ue,Qe;switch(this.rotation){case 0:Ue=t+(v[0]-re)/$,Qe=r+this.height-(v[1]-me)/K;break;case 90:Ue=t+(v[0]-re)/$,Qe=r-(v[1]-me)/K,[w,M]=[M,-w];break;case 180:Ue=t-this.width+(v[0]-re)/$,Qe=r-(v[1]-me)/K,[w,M]=[-w,-M];break;case 270:Ue=t+(v[0]-re-this.height*K)/$,Qe=r+(v[1]-me-this.width*$)/K,[w,M]=[-M,w]}this.setAt(Ue*p,Qe*m,w,M)}else this.setAt(t*p,r*m,this.width*p,this.height*m);this.#u(),this._isDraggable=!0,this.editorDiv.contentEditable=!1}else this._isDraggable=!1,this.editorDiv.contentEditable=!0;return this.div}static#a(t){return(t.nodeType===Node.TEXT_NODE?t.nodeValue:t.innerText).replaceAll(Ei,"")}editorDivPaste(t){const r=t.clipboardData||window.clipboardData,{types:d}=r;if(1===d.length&&"text/plain"===d[0])return;t.preventDefault();const p=Ui.#h(r.getData("text")||"").replaceAll(Ei,"\n");if(!p)return;const m=window.getSelection();if(!m.rangeCount)return;this.editorDiv.normalize(),m.deleteFromDocument();const v=m.getRangeAt(0);if(!p.includes("\n"))return v.insertNode(document.createTextNode(p)),this.editorDiv.normalize(),void m.collapseToStart();const{startContainer:w,startOffset:M}=v,$=[],K=[];if(w.nodeType===Node.TEXT_NODE){const Ue=w.parentElement;if(K.push(w.nodeValue.slice(M).replaceAll(Ei,"")),Ue!==this.editorDiv){let Qe=$;for(const gt of this.editorDiv.childNodes)gt!==Ue?Qe.push(Ui.#a(gt)):Qe=K}$.push(w.nodeValue.slice(0,M).replaceAll(Ei,""))}else if(w===this.editorDiv){let Ue=$,Qe=0;for(const gt of this.editorDiv.childNodes)Qe++===M&&(Ue=K),Ue.push(Ui.#a(gt))}this.#t=`${$.join("\n")}${p}${K.join("\n")}`,this.#u();const re=new Range;let me=$.reduce((Ue,Qe)=>Ue+Qe.length,0);for(const{firstChild:Ue}of this.editorDiv.childNodes)if(Ue.nodeType===Node.TEXT_NODE){const Qe=Ue.nodeValue.length;if(me<=Qe){re.setStart(Ue,me),re.setEnd(Ue,me);break}me-=Qe}m.removeAllRanges(),m.addRange(re)}#u(){if(this.editorDiv.replaceChildren(),this.#t)for(const t of this.#t.split("\n")){const r=document.createElement("div");r.append(t?document.createTextNode(t):document.createElement("br")),this.editorDiv.append(r)}}#o(){return this.#t.replaceAll("\xa0"," ")}static#h(t){return t.replaceAll(" ","\xa0")}get contentDiv(){return this.editorDiv}static deserialize(t,r,d){var p=()=>super.deserialize,m=this;return(0,A.A)(function*(){let v=null;if(t instanceof W){const{data:{defaultAppearanceData:{fontSize:M,fontColor:$},rect:K,rotation:re,id:me,popupRef:Ue},textContent:Qe,textPosition:gt,parent:{page:{pageNumber:It}}}=t;if(!Qe||0===Qe.length)return null;v=t={annotationType:he.FREETEXT,color:Array.from($),fontSize:M,value:Qe.join("\n"),position:gt,pageIndex:It-1,rect:K.slice(0),rotation:re,id:me,deleted:!1,popupRef:Ue}}const w=yield p().call(m,t,r,d);return w.#r=t.fontSize,w.#e=Ye.makeHexColor(...t.color),w.#t=Ui.#h(t.value),w.annotationElementId=t.id||null,w._initialData=v,w})()}serialize(t=!1){if(this.isEmpty())return null;if(this.deleted)return this.serializeDeleted();const r=Ui._internalPadding*this.parentScale,d=this.getRect(r,r),p=ue._colorManager.convert(this.isAttachedToDOM?getComputedStyle(this.editorDiv).color:this.#e),m={annotationType:he.FREETEXT,color:p,fontSize:this.#r,value:this.#o(),pageIndex:this.pageIndex,rect:d,rotation:this.rotation,structTreeParentId:this._structTreeParentId};return t?m:this.annotationElementId&&!this.#p(m)?null:(m.id=this.annotationElementId,m)}#p(t){const{value:r,fontSize:d,color:p,pageIndex:m}=this._initialData;return this._hasBeenMoved||t.value!==r||t.fontSize!==d||t.color.some((v,w)=>v!==p[w])||t.pageIndex!==m}renderAnnotationElement(t){const r=super.renderAnnotationElement(t);if(this.deleted)return r;const{style:d}=r;d.fontSize=`calc(${this.#r}px * var(--scale-factor))`,d.color=this.#e,r.replaceChildren();for(const m of this.#t.split("\n")){const v=document.createElement("div");v.append(m?document.createTextNode(m):document.createElement("br")),r.append(v)}const p=Ui._internalPadding*this.parentScale;return t.updateEdited({rect:this.getRect(p,p),popupContent:this.#t}),r}resetAnnotationElement(t){super.resetAnnotationElement(t),t.resetEdited()}}class Gs{toSVGPath(){_t("Abstract method `toSVGPath` must be implemented.")}get box(){_t("Abstract getter `box` must be implemented.")}serialize(t,r){_t("Abstract method `serialize` must be implemented.")}get classNamesForDrawing(){_t("Abstract getter `classNamesForDrawing` must be implemented.")}get classNamesForOutlining(){_t("Abstract getter `classNamesForOutlining` must be implemented.")}get mustRemoveSelfIntersections(){return!1}}class Vr{#e;#t=[];#n;#i;#r=[];#s=new Float64Array(18);#c;#l;#d;#a;#u;#o;#h=[];static#p=8;static#f=2;static#g=Vr.#p+Vr.#f;constructor({x:t,y:r},d,p,m,v,w=0){this.#e=d,this.#o=m*p,this.#i=v,this.#s.set([NaN,NaN,NaN,NaN,t,r],6),this.#n=w,this.#a=Vr.#p*p,this.#d=Vr.#g*p,this.#u=p,this.#h.push(t,r)}isEmpty(){return isNaN(this.#s[8])}#y(){const t=this.#s.subarray(4,6),r=this.#s.subarray(16,18),[d,p,m,v]=this.#e;return[(this.#c+(t[0]-r[0])/2-d)/m,(this.#l+(t[1]-r[1])/2-p)/v,(this.#c+(r[0]-t[0])/2-d)/m,(this.#l+(r[1]-t[1])/2-p)/v]}add({x:t,y:r}){this.#c=t,this.#l=r;const[d,p,m,v]=this.#e;let[w,M,$,K]=this.#s.subarray(8,12);const re=t-$,me=r-K,Ue=Math.hypot(re,me);if(Ue<this.#d)return!1;const Qe=Ue-this.#a,gt=Qe/Ue,It=gt*re,St=gt*me;let Jt=w,un=M;w=$,M=K,$+=It,K+=St,this.#h?.push(t,r);const An=-St/Qe*this.#o,Zn=It/Qe*this.#o;return this.#s.set(this.#s.subarray(2,8),0),this.#s.set([$+An,K+Zn],4),this.#s.set(this.#s.subarray(14,18),12),this.#s.set([$-An,K-Zn],16),isNaN(this.#s[6])?(0===this.#r.length&&(this.#s.set([w+An,M+Zn],2),this.#r.push(NaN,NaN,NaN,NaN,(w+An-d)/m,(M+Zn-p)/v),this.#s.set([w-An,M-Zn],14),this.#t.push(NaN,NaN,NaN,NaN,(w-An-d)/m,(M-Zn-p)/v)),this.#s.set([Jt,un,w,M,$,K],6),!this.isEmpty()):(this.#s.set([Jt,un,w,M,$,K],6),Math.abs(Math.atan2(un-M,Jt-w)-Math.atan2(St,It))<Math.PI/2?([w,M,$,K]=this.#s.subarray(2,6),this.#r.push(NaN,NaN,NaN,NaN,((w+$)/2-d)/m,((M+K)/2-p)/v),[w,M,Jt,un]=this.#s.subarray(14,18),this.#t.push(NaN,NaN,NaN,NaN,((Jt+w)/2-d)/m,((un+M)/2-p)/v),!0):([Jt,un,w,M,$,K]=this.#s.subarray(0,6),this.#r.push(((Jt+5*w)/6-d)/m,((un+5*M)/6-p)/v,((5*w+$)/6-d)/m,((5*M+K)/6-p)/v,((w+$)/2-d)/m,((M+K)/2-p)/v),[$,K,w,M,Jt,un]=this.#s.subarray(12,18),this.#t.push(((Jt+5*w)/6-d)/m,((un+5*M)/6-p)/v,((5*w+$)/6-d)/m,((5*M+K)/6-p)/v,((w+$)/2-d)/m,((M+K)/2-p)/v),!0))}toSVGPath(){if(this.isEmpty())return"";const t=this.#r,r=this.#t;if(isNaN(this.#s[6])&&!this.isEmpty())return this.#m();const d=[];d.push(`M${t[4]} ${t[5]}`);for(let p=6;p<t.length;
3p+=6)isNaN(t[p])?d.push(`L${t[p+4]} ${t[p+5]}`):d.push(`C${t[p]} ${t[p+1]} ${t[p+2]} ${t[p+3]} ${t[p+4]} ${t[p+5]}`);this.#_(d);for(let p=r.length-6;p>=6;p-=6)isNaN(r[p])?d.push(`L${r[p+4]} ${r[p+5]}`):d.push(`C${r[p]} ${r[p+1]} ${r[p+2]} ${r[p+3]} ${r[p+4]} ${r[p+5]}`);return this.#b(d),d.join(" ")}#m(){const[t,r,d,p]=this.#e,[m,v,w,M]=this.#y();return`M${(this.#s[2]-t)/d} ${(this.#s[3]-r)/p} L${(this.#s[4]-t)/d} ${(this.#s[5]-r)/p} L${m} ${v} L${w} ${M} L${(this.#s[16]-t)/d} ${(this.#s[17]-r)/p} L${(this.#s[14]-t)/d} ${(this.#s[15]-r)/p} Z`}#b(t){const r=this.#t;t.push(`L${r[4]} ${r[5]} Z`)}#_(t){const[r,d,p,m]=this.#e,v=this.#s.subarray(4,6),w=this.#s.subarray(16,18),[M,$,K,re]=this.#y();t.push(`L${(v[0]-r)/p} ${(v[1]-d)/m} L${M} ${$} L${K} ${re} L${(w[0]-r)/p} ${(w[1]-d)/m}`)}newFreeDrawOutline(t,r,d,p,m,v){return new Eo(t,r,d,p,m,v)}getOutlines(){const t=this.#r,r=this.#t,d=this.#s,[p,m,v,w]=this.#e,M=new Float64Array((this.#h?.length??0)+2);for(let re=0,me=M.length-2;re<me;re+=2)M[re]=(this.#h[re]-p)/v,M[re+1]=(this.#h[re+1]-m)/w;if(M[M.length-2]=(this.#c-p)/v,M[M.length-1]=(this.#l-m)/w,isNaN(d[6])&&!this.isEmpty())return this.#C(M);const $=new Float64Array(this.#r.length+24+this.#t.length);let K=t.length;for(let re=0;re<K;re+=2)isNaN(t[re])?$[re]=$[re+1]=NaN:($[re]=t[re],$[re+1]=t[re+1]);K=this.#w($,K);for(let re=r.length-6;re>=6;re-=6)for(let me=0;me<6;me+=2)isNaN(r[re+me])?($[K]=$[K+1]=NaN,K+=2):($[K]=r[re+me],$[K+1]=r[re+me+1],K+=2);return this.#F($,K),this.newFreeDrawOutline($,M,this.#e,this.#u,this.#n,this.#i)}#C(t){const r=this.#s,[d,p,m,v]=this.#e,[w,M,$,K]=this.#y(),re=new Float64Array(36);return re.set([NaN,NaN,NaN,NaN,(r[2]-d)/m,(r[3]-p)/v,NaN,NaN,NaN,NaN,(r[4]-d)/m,(r[5]-p)/v,NaN,NaN,NaN,NaN,w,M,NaN,NaN,NaN,NaN,$,K,NaN,NaN,NaN,NaN,(r[16]-d)/m,(r[17]-p)/v,NaN,NaN,NaN,NaN,(r[14]-d)/m,(r[15]-p)/v],0),this.newFreeDrawOutline(re,t,this.#e,this.#u,this.#n,this.#i)}#F(t,r){const d=this.#t;return t.set([NaN,NaN,NaN,NaN,d[4],d[5]],r),r+6}#w(t,r){const d=this.#s.subarray(4,6),p=this.#s.subarray(16,18),[m,v,w,M]=this.#e,[$,K,re,me]=this.#y();return t.set([NaN,NaN,NaN,NaN,(d[0]-m)/w,(d[1]-v)/M,NaN,NaN,NaN,NaN,$,K,NaN,NaN,NaN,NaN,re,me,NaN,NaN,NaN,NaN,(p[0]-m)/w,(p[1]-v)/M],r),r+24}}class Eo extends Gs{#e;#t=null;#n;#i;#r;#s;#c;constructor(t,r,d,p,m,v){super(),this.#c=t,this.#r=r,this.#e=d,this.#s=p,this.#n=m,this.#i=v,this.#a(v);const{x:w,y:M,width:$,height:K}=this.#t;for(let re=0,me=t.length;re<me;re+=2)t[re]=(t[re]-w)/$,t[re+1]=(t[re+1]-M)/K;for(let re=0,me=r.length;re<me;re+=2)r[re]=(r[re]-w)/$,r[re+1]=(r[re+1]-M)/K}toSVGPath(){const t=[`M${this.#c[4]} ${this.#c[5]}`];for(let r=6,d=this.#c.length;r<d;r+=6)isNaN(this.#c[r])?t.push(`L${this.#c[r+4]} ${this.#c[r+5]}`):t.push(`C${this.#c[r]} ${this.#c[r+1]} ${this.#c[r+2]} ${this.#c[r+3]} ${this.#c[r+4]} ${this.#c[r+5]}`);return t.push("Z"),t.join(" ")}serialize([t,r,d,p],m){const v=d-t,w=p-r;let M,$;switch(m){case 0:M=this.#l(this.#c,t,p,v,-w),$=this.#l(this.#r,t,p,v,-w);break;case 90:M=this.#d(this.#c,t,r,v,w),$=this.#d(this.#r,t,r,v,w);break;case 180:M=this.#l(this.#c,d,r,-v,w),$=this.#l(this.#r,d,r,-v,w);break;case 270:M=this.#d(this.#c,d,p,-v,-w),$=this.#d(this.#r,d,p,-v,-w)}return{outline:Array.from(M),points:[Array.from($)]}}#l(t,r,d,p,m){const v=new Float64Array(t.length);for(let w=0,M=t.length;w<M;w+=2)v[w]=r+t[w]*p,v[w+1]=d+t[w+1]*m;return v}#d(t,r,d,p,m){const v=new Float64Array(t.length);for(let w=0,M=t.length;w<M;w+=2)v[w]=r+t[w+1]*p,v[w+1]=d+t[w]*m;return v}#a(t){const r=this.#c;let d=r[4],p=r[5],m=d,v=p,w=d,M=p,$=d,K=p;const re=t?Math.max:Math.min;for(let It=6,St=r.length;It<St;It+=6){if(isNaN(r[It]))m=Math.min(m,r[It+4]),v=Math.min(v,r[It+5]),w=Math.max(w,r[It+4]),M=Math.max(M,r[It+5]),K<r[It+5]?($=r[It+4],K=r[It+5]):K===r[It+5]&&($=re($,r[It+4]));else{const Jt=Ye.bezierBoundingBox(d,p,...r.slice(It,It+6));m=Math.min(m,Jt[0]),v=Math.min(v,Jt[1]),w=Math.max(w,Jt[2]),M=Math.max(M,Jt[3]),K<Jt[3]?($=Jt[2],K=Jt[3]):K===Jt[3]&&($=re($,Jt[2]))}d=r[It+4],p=r[It+5]}const me=m-this.#n,Ue=v-this.#n,Qe=w-m+2*this.#n,gt=M-v+2*this.#n;this.#t={x:me,y:Ue,width:Qe,height:gt,lastPoint:[$,K]}}get box(){return this.#t}newOutliner(t,r,d,p,m,v=0){return new Vr(t,r,d,p,m,v)}
3getNewOutline(t,r){const{x:d,y:p,width:m,height:v}=this.#t,[w,M,$,K]=this.#e,re=m*$,me=v*K,Ue=d*$+w,Qe=p*K+M,gt=this.newOutliner({x:this.#r[0]*re+Ue,y:this.#r[1]*me+Qe},this.#e,this.#s,t,this.#i,r??this.#n);for(let It=2;It<this.#r.length;It+=2)gt.add({x:this.#r[It]*re+Ue,y:this.#r[It+1]*me+Qe});return gt.getOutlines()}get mustRemoveSelfIntersections(){return!0}}class ao{#e;#t=[];#n=[];constructor(t,r=0,d=0,p=!0){let m=1/0,v=-1/0,w=1/0,M=-1/0;const K=1e-4;for(const{x:St,y:Jt,width:un,height:fn}of t){const pn=Math.floor((St-r)/K)*K,An=Math.ceil((St+un+r)/K)*K,Zn=Math.floor((Jt-r)/K)*K,Xn=Math.ceil((Jt+fn+r)/K)*K;this.#t.push([pn,Zn,Xn,!0],[An,Zn,Xn,!1]),m=Math.min(m,pn),v=Math.max(v,An),w=Math.min(w,Zn),M=Math.max(M,Xn)}const re=v-m+2*d,me=M-w+2*d,Ue=m-d,Qe=w-d,gt=this.#t.at(p?-1:-2),It=[gt[0],gt[2]];for(const St of this.#t){const[Jt,un,fn]=St;St[0]=(Jt-Ue)/re,St[1]=(un-Qe)/me,St[2]=(fn-Qe)/me}this.#e={x:Ue,y:Qe,width:re,height:me,lastPoint:It}}getOutlines(){this.#t.sort((r,d)=>r[0]-d[0]||r[1]-d[1]||r[2]-d[2]);const t=[];for(const r of this.#t)r[3]?(t.push(...this.#l(r)),this.#s(r)):(this.#c(r),t.push(...this.#l(r)));return this.#i(t)}#i(t){const r=[],d=new Set;for(const v of t){const[w,M,$]=v;r.push([w,M,v],[w,$,v])}r.sort((v,w)=>v[1]-w[1]||v[0]-w[0]);for(let v=0,w=r.length;v<w;v+=2){const M=r[v][2],$=r[v+1][2];M.push($),$.push(M),d.add(M),d.add($)}const p=[];let m;for(;d.size>0;){const v=d.values().next().value;let[w,M,$,K,re]=v;d.delete(v);let me=w,Ue=M;for(m=[w,$],p.push(m);;){let Qe;if(d.has(K))Qe=K;else{if(!d.has(re))break;Qe=re}d.delete(Qe),[w,M,$,K,re]=Qe,me!==w&&(m.push(me,Ue,w,Ue===M?M:$),me=w),Ue=Ue===M?$:M}m.push(me,Ue)}return new Zr(p,this.#e)}#r(t){const r=this.#n;let d=0,p=r.length-1;for(;d<=p;){const m=d+p>>1,v=r[m][0];if(v===t)return m;v<t?d=m+1:p=m-1}return p+1}#s([,t,r]){const d=this.#r(t);this.#n.splice(d,0,[t,r])}#c([,t,r]){const d=this.#r(t);for(let p=d;p<this.#n.length;p++){const[m,v]=this.#n[p];if(m!==t)break;if(m===t&&v===r)return void this.#n.splice(p,1)}for(let p=d-1;p>=0;p--){const[m,v]=this.#n[p];if(m!==t)break;if(m===t&&v===r)return void this.#n.splice(p,1)}}#l(t){const[r,d,p]=t,m=[[r,d,p]],v=this.#r(p);for(let w=0;w<v;w++){const[M,$]=this.#n[w];for(let K=0,re=m.length;K<re;K++){const[,me,Ue]=m[K];if(!($<=me||Ue<=M)){if(me>=M){if(Ue>$)m[K][1]=$;else{if(1===re)return[];m.splice(K,1),K--,re--}continue}m[K][2]=M,Ue>$&&m.push([r,$,Ue])}}}return m}}class Zr extends Gs{#e;#t;constructor(t,r){super(),this.#t=t,this.#e=r}toSVGPath(){const t=[];for(const r of this.#t){let[d,p]=r;t.push(`M${d} ${p}`);for(let m=2;m<r.length;m+=2){const v=r[m],w=r[m+1];v===d?(t.push(`V${w}`),p=w):w===p&&(t.push(`H${v}`),d=v)}t.push("Z")}return t.join(" ")}serialize([t,r,d,p],m){const v=[],w=d-t,M=p-r;for(const $ of this.#t){const K=new Array($.length);for(let re=0;re<$.length;re+=2)K[re]=t+$[re]*w,K[re+1]=p-$[re+1]*M;v.push(K)}return v}get box(){return this.#e}get classNamesForDrawing(){return["highlight"]}get classNamesForOutlining(){return["highlightOutline"]}}class Ds extends Vr{newFreeDrawOutline(t,r,d,p,m,v){return new Va(t,r,d,p,m,v)}get classNamesForDrawing(){return["highlight","free"]}}class Va extends Eo{get classNamesForDrawing(){return["highlight","free"]}get classNamesForOutlining(){return["highlightOutline","free"]}newOutliner(t,r,d,p,m,v=0){return new Ds(t,r,d,p,m,v)}}class Ti{#e=null;#t=null;#n;#i=null;#r=!1;#s=!1;#c=null;#l;#d=null;#a=null;#u;static#o=null;static get _keyboardManager(){return hn(this,"_keyboardManager",new We([[["Escape","mac+Escape"],Ti.prototype._hideDropdownFromKeyboard],[[" ","mac+ "],Ti.prototype._colorSelectFromKeyboard],[["ArrowDown","ArrowRight","mac+ArrowDown","mac+ArrowRight"],Ti.prototype._moveToNext],[["ArrowUp","ArrowLeft","mac+ArrowUp","mac+ArrowLeft"],Ti.prototype._moveToPrevious],[["Home","mac+Home"],Ti.prototype._moveToBeginning],[["End","mac+End"],Ti.prototype._moveToEnd]]))}constructor({editor:t=null,uiManager:r=null}){t?(this.#s=!1,this.#u=Me.HIGHLIGHT_COLOR,this.#c=t):(this.#s=!0,this.#u=Me.HIGHLIGHT_DEFAULT_COLOR),this.#a=t?._uiManager||r,this.#l=this.#a._eventBus,this.#n=t?.color||this.#a?.highlightColors.values().next().value||"#FFFF98",Ti.#o||=Object.freeze({blue:"pdfjs-editor-colorpicker-blue",green:"pdfjs-editor-colorpicker-green",pink:"pdfjs-editor-colorpicker-pink",red:"pdfjs-editor-colorpicker-red",yellow:"pdfjs-editor-colorpicker-yellow"})}renderButton(){const t=this.#e=document.createElement("button");
3t.className="colorPicker",t.tabIndex="0",t.setAttribute("data-l10n-id","pdfjs-editor-colorpicker-button"),t.setAttribute("aria-haspopup",!0);const r=this.#a._signal;t.addEventListener("click",this.#g.bind(this),{signal:r}),t.addEventListener("keydown",this.#f.bind(this),{signal:r});const d=this.#t=document.createElement("span");return d.className="swatch",d.setAttribute("aria-hidden",!0),d.style.backgroundColor=this.#n,t.append(d),t}renderMainDropdown(){const t=this.#i=this.#h();return t.setAttribute("aria-orientation","horizontal"),t.setAttribute("aria-labelledby","highlightColorPickerLabel"),t}#h(){const t=document.createElement("div"),r=this.#a._signal;t.addEventListener("contextmenu",cr,{signal:r}),t.className="dropdown",t.role="listbox",t.setAttribute("aria-multiselectable",!1),t.setAttribute("aria-orientation","vertical"),t.setAttribute("data-l10n-id","pdfjs-editor-colorpicker-dropdown");for(const[d,p]of this.#a.highlightColors){const m=document.createElement("button");m.tabIndex="0",m.role="option",m.setAttribute("data-color",p),m.title=d,m.setAttribute("data-l10n-id",Ti.#o[d]);const v=document.createElement("span");
3m.append(v),v.className="swatch",v.style.backgroundColor=p,m.setAttribute("aria-selected",p===this.#n),m.addEventListener("click",this.#p.bind(this,p),{signal:r}),t.append(m)}return t.addEventListener("keydown",this.#f.bind(this),{signal:r}),t}#p(t,r){r.stopPropagation(),this.#l.dispatch("switchannotationeditorparams",{source:this,type:this.#u,value:t})}_colorSelectFromKeyboard(t){if(t.target===this.#e)return void this.#g(t);const r=t.target.getAttribute("data-color");r&&this.#p(r,t)}_moveToNext(t){this.#m?t.target!==this.#e?t.target.nextSibling?.focus():this.#i.firstChild?.focus():this.#g(t)}_moveToPrevious(t){t.target!==this.#i?.firstChild&&t.target!==this.#e?(this.#m||this.#g(t),t.target.previousSibling?.focus()):this.#m&&this._hideDropdownFromKeyboard()}_moveToBeginning(t){this.#m?this.#i.firstChild?.focus():this.#g(t)}_moveToEnd(t){this.#m?this.#i.lastChild?.focus():this.#g(t)}#f(t){Ti._keyboardManager.exec(this,t)}#g(t){if(this.#m)return void this.hideDropdown();if(this.#r=0===t.detail,this.#d||(this.#d=new AbortController,window.addEventListener("pointerdown",this.#y.bind(this),{signal:this.#a.combinedSignal(this.#d)})),this.#i)return void this.#i.classList.remove("hidden");const r=this.#i=this.#h();this.#e.append(r)}#y(t){this.#i?.contains(t.target)||this.hideDropdown()}hideDropdown(){this.#i?.classList.add("hidden"),this.#d?.abort(),this.#d=null}get#m(){return this.#i&&!this.#i.classList.contains("hidden")}_hideDropdownFromKeyboard(){if(!this.#s){if(!this.#m)return void this.#c?.unselect();this.hideDropdown(),this.#e.focus({preventScroll:!0,focusVisible:this.#r})}}updateColor(t){if(this.#t&&(this.#t.style.backgroundColor=t),!this.#i)return;const r=this.#a.highlightColors.values();for(const d of this.#i.children)d.setAttribute("aria-selected",r.next().value===t)}destroy(){this.#e?.remove(),this.#e=null,this.#t=null,this.#i?.remove(),this.#i=null}}class Cr extends ue{#e=null;#t=0;#n;#i=null;#r=null;#s=null;#c=null;#l=0;#d=null;#a=null;#u=null;#o=!1;#h=null;#p;#f=null;#g="";#y;#m="";static _defaultColor=null;static _defaultOpacity=1;static _defaultThickness=12;static _type="highlight";static _editorType=he.HIGHLIGHT;static _freeHighlightId=-1;static _freeHighlight=null;static _freeHighlightClipId="";static get _keyboardManager(){const t=Cr.prototype;return hn(this,"_keyboardManager",new We([[["ArrowLeft","mac+ArrowLeft"],t._moveCaret,{args:[0]}],[["ArrowRight","mac+ArrowRight"],t._moveCaret,{args:[1]}],[["ArrowUp","mac+ArrowUp"],t._moveCaret,{args:[2]}],[["ArrowDown","mac+ArrowDown"],t._moveCaret,{args:[3]}]]))}constructor(t){super({...t,name:"highlightEditor"}),this.color=t.color||Cr._defaultColor,this.#y=t.thickness||Cr._defaultThickness,this.#p=t.opacity||Cr._defaultOpacity,this.#n=t.boxes||null,this.#m=t.methodOfCreation||"",this.#g=t.text||"",this._isDraggable=!1,t.highlightId>-1?(this.#o=!0,this.#_(t),this.#D()):this.#n&&(this.#e=t.anchorNode,this.#t=t.anchorOffset,this.#c=t.focusNode,this.#l=t.focusOffset,this.#b(),this.#D(),this.rotate(this.rotation))}get telemetryInitialData(){return{action:"added",type:this.#o?"free_highlight":"highlight",color:this._uiManager.highlightColorNames.get(this.color),thickness:this.#y,methodOfCreation:this.#m}}get telemetryFinalData(){return{type:"highlight",color:this._uiManager.highlightColorNames.get(this.color)}}static computeTelemetryFinalData(t){return{numberOfColors:t.get("color").size}}#b(){const t=new ao(this.#n,.001);this.#a=t.getOutlines(),({x:this.x,y:this.y,width:this.width,height:this.height}=this.#a.box);const r=new ao(this.#n,.0025,.001,"ltr"===this._uiManager.direction);this.#s=r.getOutlines();const{lastPoint:d}=this.#s.box;this.#h=[(d[0]-this.x)/this.width,(d[1]-this.y)/this.height]}#_({highlightOutlines:t,highlightId:r,clipPathId:d}){if(this.#a=t,this.#s=t.getNewOutline(this.#y/2+1.5,.0025),r>=0)this.#u=r,this.#i=d,this.parent.drawLayer.finalizeLine(r,t),this.#f=this.parent.drawLayer.drawOutline(this.#s);else if(this.parent){const K=this.parent.viewport.rotation;this.parent.drawLayer.updateLine(this.#u,t),this.parent.drawLayer.updateBox(this.#u,Cr.#E(this.#a.box,(K-this.rotation+360)%360)),this.parent.drawLayer.updateLine(this.#f,this.#s),this.parent.drawLayer.updateBox(this.#f,Cr.#E(this.#s.box,K))}const{x:m,y:v,width:w,height:M}=t.box;switch(this.rotation){case 0:this.x=m,this.y=v,this.width=w,this.height=M;break;case 90:{const[K,re]=this.parentDimensions;this.x=v,this.y=1-m,this.width=w*re/K,this.height=M*K/re;break}case 180:this.x=1-m,this.y=1-v,this.width=w,this.height=M;break;case 270:{const[K,re]=this.parentDimensions;this.x=1-v,this.y=m,this.width=w*re/K,this.height=M*K/re;break}}const{lastPoint:$}=this.#s.box;this.#h=[($[0]-m)/w,($[1]-v)/M]}static initialize(t,r){ue.initialize(t,r),Cr._defaultColor||=r.highlightColors?.values().next().value||"#fff066"}static updateDefaultParams(t,r){switch(t){case Me.HIGHLIGHT_DEFAULT_COLOR:Cr._defaultColor=r;break;case Me.HIGHLIGHT_THICKNESS:Cr._defaultThickness=r}}translateInPage(t,r){}get toolbarPosition(){return this.#h}updateParams(t,r){switch(t){case Me.HIGHLIGHT_COLOR:this.#C(r);break;case Me.HIGHLIGHT_THICKNESS:this.#F(r)}}static get defaultPropertiesToUpdate(){return[[Me.HIGHLIGHT_DEFAULT_COLOR,Cr._defaultColor],[Me.HIGHLIGHT_THICKNESS,Cr._defaultThickness]]}get propertiesToUpdate(){return[[Me.HIGHLIGHT_COLOR,this.color||Cr._defaultColor],[Me.HIGHLIGHT_THICKNESS,this.#y||Cr._defaultThickness],[Me.HIGHLIGHT_FREE,this.#o]]}#C(t){const r=(m,v)=>{this.color=m,this.parent?.drawLayer.changeColor(this.#u,m),this.#r?.updateColor(m),this.#p=v,this.parent?.drawLayer.changeOpacity(this.#u,v)},d=this.color,p=this.#p;this.addCommands({cmd:r.bind(this,t,Cr._defaultOpacity),undo:r.bind(this,d,p),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:Me.HIGHLIGHT_COLOR,overwriteIfSameType:!0,keepUndo:!0}),this._reportTelemetry({action:"color_changed",color:this._uiManager.highlightColorNames.get(t)},!0)}#F(t){const r=this.#y,d=p=>{this.#y=p,this.#w(p)};this.addCommands({cmd:d.bind(this,t),undo:d.bind(this,r),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:Me.INK_THICKNESS,overwriteIfSameType:!0,keepUndo:!0}),this._reportTelemetry({action:"thickness_changed",thickness:t},!0)}addEditToolbar(){var t=()=>super.addEditToolbar,r=this;return(0,A.A)(function*(){const d=yield t().call(r);return d?(r._uiManager.highlightColors&&(r.#r=new Ti({editor:r}),d.addColorPicker(r.#r)),d):null})()}disableEditing(){super.disableEditing(),this.div.classList.toggle("disabled",!0)}enableEditing(){super.enableEditing(),this.div.classList.toggle("disabled",!1)}fixAndSetPosition(){return super.fixAndSetPosition(this.#T())}getBaseTranslation(){return[0,0]}getRect(t,r){return super.getRect(t,r,this.#T())}onceAdded(){this.annotationElementId||this.parent.addUndoableEditor(this),this.div.focus()}remove(){this.#A(),this._reportTelemetry({action:"deleted"}),super.remove()}rebuild(){this.parent&&(super.rebuild(),null!==this.div&&(this.#D(),this.isAttachedToDOM||this.parent.add(this)))}setParent(t){let r=!1;this.parent&&!t?this.#A():t&&(this.#D(t),r=!this.parent&&this.div?.classList.contains("selectedEditor")),super.setParent(t),this.show(this._isVisible),r&&this.select()}#w(t){if(!this.#o)return;this.#_({highlightOutlines:this.#a.getNewOutline(t/2)}),this.fixAndSetPosition();const[r,d]=this.parentDimensions;this.setDims(this.width*r,this.height*d)}#A(){null===this.#u||!this.parent||(this.parent.drawLayer.remove(this.#u),this.#u=null,this.parent.drawLayer.remove(this.#f),this.#f=null)}#D(t=this.parent){null===this.#u&&(({id:this.#u,clipPathId:this.#i}=t.drawLayer.draw(this.#a,this.color,this.#p)),this.#f=t.drawLayer.drawOutline(this.#s),this.#d&&(this.#d.style.clipPath=this.#i))}static#E({x:t,y:r,width:d,height:p},m){switch(m){case 90:return{x:1-r-p,y:t,width:p,height:d};case 180:return{x:1-t-d,y:1-r-p,width:d,height:p};case 270:return{x:r,y:1-t-d,width:p,height:d}}return{x:t,y:r,width:d,height:p}}rotate(t){const{drawLayer:r}=this.parent;let d;d=this.#o?Cr.#E(this.#a.box,t=(t-this.rotation+360)%360):Cr.#E(this,t),r.rotate(this.#u,t),r.rotate(this.#f,t),r.updateBox(this.#u,d),r.updateBox(this.#f,Cr.#E(this.#s.box,t))}
3render(){if(this.div)return this.div;const t=super.render();this.#g&&(t.setAttribute("aria-label",this.#g),t.setAttribute("role","mark")),this.#o?t.classList.add("free"):this.div.addEventListener("keydown",this.#x.bind(this),{signal:this._uiManager._signal});const r=this.#d=document.createElement("div");t.append(r),r.setAttribute("aria-hidden","true"),r.className="internal",r.style.clipPath=this.#i;const[d,p]=this.parentDimensions;return this.setDims(this.width*d,this.height*p),us(this,this.#d,["pointerover","pointerleave"]),this.enableEditing(),t}pointerover(){this.isSelected||this.parent.drawLayer.addClass(this.#f,"hovered")}pointerleave(){this.isSelected||this.parent.drawLayer.removeClass(this.#f,"hovered")}#x(t){Cr._keyboardManager.exec(this,t)}_moveCaret(t){switch(this.parent.unselect(this),t){case 0:case 2:this.#S(!0);break;case 1:case 3:this.#S(!1)}}#S(t){if(!this.#e)return;const r=window.getSelection();t?r.setPosition(this.#e,this.#t):r.setPosition(this.#c,this.#l)}select(){super.select(),this.#f&&(this.parent?.drawLayer.removeClass(this.#f,"hovered"),this.parent?.drawLayer.addClass(this.#f,"selected"))}unselect(){super.unselect(),this.#f&&(this.parent?.drawLayer.removeClass(this.#f,"selected"),this.#o||this.#S(!1))}get _mustFixPosition(){return!this.#o}show(t=this._isVisible){super.show(t),this.parent&&(this.parent.drawLayer.show(this.#u,t),this.parent.drawLayer.show(this.#f,t))}#T(){return this.#o?this.rotation:0}#P(){if(this.#o)return null;const[t,r]=this.pageDimensions,[d,p]=this.pageTranslation,m=this.#n,v=new Float32Array(8*m.length);let w=0;for(const{x:M,y:$,width:K,height:re}of m){const me=M*t+d,Ue=(1-$-re)*r+p;v[w]=v[w+4]=me,v[w+1]=v[w+3]=Ue,v[w+2]=v[w+6]=me+K*t,v[w+5]=v[w+7]=Ue+re*r,w+=8}return v}#k(t){return this.#a.serialize(t,this.#T())}static startHighlighting(t,r,{target:d,x:p,y:m}){const{x:v,y:w,width:M,height:$}=d.getBoundingClientRect(),K=new AbortController,re=t.combinedSignal(K),Ue=Qe=>{K.abort(),this.#M(t,Qe)};window.addEventListener("blur",Ue,{signal:re}),window.addEventListener("pointerup",Ue,{signal:re}),window.addEventListener("pointerdown",Qe=>{Qe.preventDefault(),Qe.stopPropagation()},{capture:!0,passive:!1,signal:re}),window.addEventListener("contextmenu",cr,{signal:re}),d.addEventListener("pointermove",this.#v.bind(this,t),{signal:re}),this._freeHighlight=new Ds({x:p,y:m},[v,w,M,$],t.scale,this._defaultThickness/2,r,.001),({id:this._freeHighlightId,clipPathId:this._freeHighlightClipId}=t.drawLayer.draw(this._freeHighlight,this._defaultColor,this._defaultOpacity,!0))}static#v(t,r){this._freeHighlight.add(r)&&t.drawLayer.updatePath(this._freeHighlightId,this._freeHighlight)}static#M(t,r){this._freeHighlight.isEmpty()?t.drawLayer.remove(this._freeHighlightId):t.createAndAddNewEditor(r,!1,{highlightId:this._freeHighlightId,highlightOutlines:this._freeHighlight.getOutlines(),clipPathId:this._freeHighlightClipId,methodOfCreation:"main_toolbar"}),this._freeHighlightId=-1,this._freeHighlight=null,this._freeHighlightClipId=""}static deserialize(t,r,d){var p=()=>super.deserialize,m=this;return(0,A.A)(function*(){let v=null;if(t instanceof _r){const{data:{quadPoints:It,rect:St,rotation:Jt,id:un,color:fn,opacity:pn,popupRef:An},parent:{page:{pageNumber:Zn}}}=t;v=t={annotationType:he.HIGHLIGHT,color:Array.from(fn),opacity:pn,quadPoints:It,boxes:null,pageIndex:Zn-1,rect:St.slice(0),rotation:Jt,id:un,deleted:!1,popupRef:An}}else if(t instanceof vi){const{data:{inkLists:It,rect:St,rotation:Jt,id:un,color:fn,borderStyle:{rawWidth:pn},popupRef:An},parent:{page:{pageNumber:Zn}}}=t;v=t={annotationType:he.HIGHLIGHT,color:Array.from(fn),thickness:pn,inkLists:It,boxes:null,pageIndex:Zn-1,rect:St.slice(0),rotation:Jt,id:un,deleted:!1,popupRef:An}}const{color:w,quadPoints:M,inkLists:$,opacity:K}=t,re=yield p().call(m,t,r,d);re.color=Ye.makeHexColor(...w),re.#p=K||1,$&&(re.#y=t.thickness),re.annotationElementId=t.id||null,re._initialData=v;const[me,Ue]=re.pageDimensions,[Qe,gt]=re.pageTranslation;if(M){const It=re.#n=[];for(let St=0;St<M.length;St+=8)It.push({x:(M[St]-Qe)/me,y:1-(M[St+1]-gt)/Ue,width:(M[St+2]-M[St])/me,height:(M[St+1]-M[St+5])/Ue});re.#b(),re.#D(),re.rotate(re.rotation)}else if($){re.#o=!0;const It=$[0],St={x:It[0]-Qe,y:Ue-(It[1]-gt)},Jt=new Ds(St,[0,0,me,Ue],1,re.#y/2,!0,.001);for(let pn=0,An=It.length;pn<An;pn+=2)St.x=It[pn]-Qe,St.y=Ue-(It[pn+1]-gt),Jt.add(St);const{id:un,clipPathId:fn}=r.drawLayer.draw(Jt,re.color,re._defaultOpacity,!0);re.#_({highlightOutlines:Jt.getOutlines(),highlightId:un,clipPathId:fn}),re.#D()}return re})()}serialize(t=!1){if(this.isEmpty()||t)return null;if(this.deleted)return this.serializeDeleted();const r=this.getRect(0,0),d=ue._colorManager.convert(this.color),p={annotationType:he.HIGHLIGHT,color:d,opacity:this.#p,thickness:this.#y,quadPoints:this.#P(),outlines:this.#k(r),pageIndex:this.pageIndex,rect:r,rotation:this.#T(),structTreeParentId:this._structTreeParentId};return this.annotationElementId&&!this.#O(p)?null:(p.id=this.annotationElementId,p)}#O(t){const{color:r}=this._initialData;return t.color.some((d,p)=>d!==r[p])}renderAnnotationElement(t){return t.updateEdited({rect:this.getRect(0,0)}),null}static canCreateNewEmptyEditor(){return!1}}class na extends ue{#e=0;#t=0;#n=null;#i=new Path2D;#r=!1;#s=null;#c=!1;#l=!1;#d=null;#a=null;#u=0;#o=0;#h=null;static _defaultColor=null;static _defaultOpacity=1;static _defaultThickness=1;static _type="ink";static _editorType=he.INK;constructor(t){super({...t,name:"inkEditor"}),this.color=t.color||null,this.thickness=t.thickness||null,this.opacity=t.opacity||null,this.paths=[],this.bezierPath2D=[],this.allRawPaths=[],this.currentPath=[],this.scaleFactor=1,this.translationX=this.translationY=0,this.x=0,this.y=0,this._willKeepAspectRatio=!0}static initialize(t,r){ue.initialize(t,r)}static updateDefaultParams(t,r){switch(t){case Me.INK_THICKNESS:na._defaultThickness=r;break;case Me.INK_COLOR:na._defaultColor=r;break;case Me.INK_OPACITY:na._defaultOpacity=r/100}}updateParams(t,r){switch(t){case Me.INK_THICKNESS:this.#p(r);break;case Me.INK_COLOR:this.#f(r);break;case Me.INK_OPACITY:this.#g(r)}}static get defaultPropertiesToUpdate(){return[[Me.INK_THICKNESS,na._defaultThickness],[Me.INK_COLOR,na._defaultColor||ue._defaultLineColor],[Me.INK_OPACITY,Math.round(100*na._defaultOpacity)]]}get propertiesToUpdate(){return[[Me.INK_THICKNESS,this.thickness||na._defaultThickness],[Me.INK_COLOR,this.color||na._defaultColor||ue._defaultLineColor],[Me.INK_OPACITY,Math.round(100*(this.opacity??na._defaultOpacity))]]}#p(t){const r=p=>{this.thickness=p,this.#I()},d=this.thickness;this.addCommands({cmd:r.bind(this,t),undo:r.bind(this,d),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:Me.INK_THICKNESS,overwriteIfSameType:!0,keepUndo:!0})}#f(t){const r=p=>{this.color=p,this.#E()},d=this.color;this.addCommands({cmd:r.bind(this,t),undo:r.bind(this,d),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:Me.INK_COLOR,overwriteIfSameType:!0,keepUndo:!0})}#g(t){const r=p=>{this.opacity=p,this.#E()},d=this.opacity;this.addCommands({cmd:r.bind(this,t/=100),undo:r.bind(this,d),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:Me.INK_OPACITY,overwriteIfSameType:!0,keepUndo:!0})}rebuild(){this.parent&&(super.rebuild(),null!==this.div&&(this.canvas||(this.#P(),this.#k()),this.isAttachedToDOM||(this.parent.add(this),this.#v()),this.#I()))}remove(){null!==this.canvas&&(this.isEmpty()||this.commit(),this.canvas.width=this.canvas.height=0,this.canvas.remove(),this.canvas=null,this.#n&&(clearTimeout(this.#n),this.#n=null),this.#d?.disconnect(),this.#d=null,super.remove())}setParent(t){!this.parent&&t?this._uiManager.removeShouldRescale(this):this.parent&&null===t&&this._uiManager.addShouldRescale(this),super.setParent(t)}onScaleChanging(){const[t,r]=this.parentDimensions;this.setDimensions(this.width*t,this.height*r)}
3enableEditMode(){this.#r||null===this.canvas||(super.enableEditMode(),this._isDraggable=!1,this.#x())}disableEditMode(){!this.isInEditMode()||null===this.canvas||(super.disableEditMode(),this._isDraggable=!this.isEmpty(),this.div.classList.remove("editing"),this.#S())}onceAdded(){this._isDraggable=!this.isEmpty()}isEmpty(){return 0===this.paths.length||1===this.paths.length&&0===this.paths[0].length}#y(){const{parentRotation:t,parentDimensions:[r,d]}=this;switch(t){case 90:return[0,d,d,r];case 180:return[r,d,r,d];case 270:return[r,0,d,r];default:return[0,0,r,d]}}#m(){const{ctx:t,color:r,opacity:d,thickness:p,parentScale:m,scaleFactor:v}=this;t.lineWidth=p*m/v,t.lineCap="round",t.lineJoin="round",t.miterLimit=10,t.strokeStyle=`${r}${function Cs(x){return Math.round(Math.min(255,Math.max(1,255*x))).toString(16).padStart(2,"0")}(d)}`}#b(t,r){this.canvas.addEventListener("contextmenu",cr,{signal:this._uiManager._signal}),this.#S(),this.#s=new AbortController;const d=this._uiManager.combinedSignal(this.#s);this.canvas.addEventListener("pointerleave",this.canvasPointerleave.bind(this),{signal:d}),this.canvas.addEventListener("pointermove",this.canvasPointermove.bind(this),{signal:d}),this.canvas.addEventListener("pointerup",this.canvasPointerup.bind(this),{signal:d}),this.isEditing=!0,this.#l||(this.#l=!0,this.#v(),this.thickness||=na._defaultThickness,this.color||=na._defaultColor||ue._defaultLineColor,this.opacity??=na._defaultOpacity),this.currentPath.push([t,r]),this.#c=!1,this.#m(),this.#h=()=>{this.#w(),this.#h&&window.requestAnimationFrame(this.#h)},window.requestAnimationFrame(this.#h)}#_(t,r){const[d,p]=this.currentPath.at(-1);if(this.currentPath.length>1&&t===d&&r===p)return;const m=this.currentPath;let v=this.#i;if(m.push([t,r]),this.#c=!0,m.length<=2)return v.moveTo(...m[0]),void v.lineTo(t,r);3===m.length&&(this.#i=v=new Path2D,v.moveTo(...m[0])),this.#A(v,...m.at(-3),...m.at(-2),t,r)}#C(){if(0===this.currentPath.length)return;const t=this.currentPath.at(-1);this.#i.lineTo(...t)}#F(t,r){let d;if(this.#h=null,t=Math.min(Math.max(t,0),this.canvas.width),r=Math.min(Math.max(r,0),this.canvas.height),this.#_(t,r),this.#C(),1!==this.currentPath.length)d=this.#D();else{const M=[t,r];d=[[M,M.slice(),M.slice(),M]]}const p=this.#i,m=this.currentPath;this.currentPath=[],this.#i=new Path2D,this.addCommands({cmd:()=>{this.allRawPaths.push(m),this.paths.push(d),this.bezierPath2D.push(p),this._uiManager.rebuild(this)},undo:()=>{this.allRawPaths.pop(),this.paths.pop(),this.bezierPath2D.pop(),0===this.paths.length?this.remove():(this.canvas||(this.#P(),this.#k()),this.#I())},mustExec:!0})}#w(){if(!this.#c)return;this.#c=!1;Math.ceil(this.thickness*this.parentScale);const r=this.currentPath.slice(-3),d=r.map(K=>K[0]),p=r.map(K=>K[1]),{ctx:$}=(Math.min(...d),Math.max(...d),Math.min(...p),Math.max(...p),this);$.save(),$.clearRect(0,0,this.canvas.width,this.canvas.height);for(const K of this.bezierPath2D)$.stroke(K);$.stroke(this.#i),$.restore()}#A(t,r,d,p,m,v,w){const M=(r+p)/2,$=(d+m)/2,K=(p+v)/2,re=(m+w)/2;t.bezierCurveTo(M+2*(p-M)/3,$+2*(m-$)/3,K+2*(p-K)/3,re+2*(m-re)/3,K,re)}#D(){const t=this.currentPath;if(t.length<=2)return[[t[0],t[0],t.at(-1),t.at(-1)]];const r=[];let d,[p,m]=t[0];for(d=1;d<t.length-2;d++){const[me,Ue]=t[d],[Qe,gt]=t[d+1],It=(me+Qe)/2,St=(Ue+gt)/2;r.push([[p,m],[p+2*(me-p)/3,m+2*(Ue-m)/3],[It+2*(me-It)/3,St+2*(Ue-St)/3],[It,St]]),[p,m]=[It,St]}const[v,w]=t[d],[M,$]=t[d+1];return r.push([[p,m],[p+2*(v-p)/3,m+2*(w-m)/3],[M+2*(v-M)/3,$+2*(w-$)/3],[M,$]]),r}#E(){if(this.isEmpty())return void this.#O();this.#m();const{canvas:t,ctx:r}=this;r.setTransform(1,0,0,1,0,0),r.clearRect(0,0,t.width,t.height),this.#O();for(const d of this.bezierPath2D)r.stroke(d)}commit(){this.#r||(super.commit(),this.isEditing=!1,this.disableEditMode(),this.setInForeground(),this.#r=!0,this.div.classList.add("disabled"),this.#I(!0),this.select(),this.parent.addInkEditorIfNeeded(!0),this.moveInDOM(),this.div.focus({preventScroll:!0}))}focusin(t){this._focusEventsAllowed&&(super.focusin(t),this.enableEditMode())}#x(){if(this.#a)return;this.#a=new AbortController;const t=this._uiManager.combinedSignal(this.#a);this.canvas.addEventListener("pointerdown",this.canvasPointerdown.bind(this),{signal:t})}#S(){this.pointerdownAC?.abort(),this.pointerdownAC=null}canvasPointerdown(t){0!==t.button||!this.isInEditMode()||this.#r||(this.setInForeground(),t.preventDefault(),this.div.contains(document.activeElement)||this.div.focus({preventScroll:!0}),this.#b(t.offsetX,t.offsetY))}canvasPointermove(t){t.preventDefault(),this.#_(t.offsetX,t.offsetY)}canvasPointerup(t){t.preventDefault(),this.#T(t)}canvasPointerleave(t){this.#T(t)}#T(t){this.#s?.abort(),this.#s=null,this.#x(),this.#n&&clearTimeout(this.#n),this.#n=setTimeout(()=>{this.#n=null,this.canvas.removeEventListener("contextmenu",cr)},10),this.#F(t.offsetX,t.offsetY),this.addToAnnotationStorage(),this.setInBackgroun
3d()}#P(){this.canvas=document.createElement("canvas"),this.canvas.width=this.canvas.height=0,this.canvas.className="inkEditorCanvas",this.canvas.setAttribute("data-l10n-id","pdfjs-ink-canvas"),this.div.append(this.canvas),this.ctx=this.canvas.getContext("2d")}#k(){this.#d=new ResizeObserver(t=>{const r=t[0].contentRect;r.width&&r.height&&this.setDimensions(r.width,r.height)}),this.#d.observe(this.div),this._uiManager._signal.addEventListener("abort",()=>{this.#d?.disconnect(),this.#d=null},{once:!0})}get isResizable(){return!this.isEmpty()&&this.#r}render(){if(this.div)return this.div;let t,r;this.width&&(t=this.x,r=this.y),super.render(),this.div.setAttribute("data-l10n-id","pdfjs-ink");const[d,p,m,v]=this.#y();if(this.setAt(d,p,0,0),this.setDims(m,v),this.#P(),this.width){const[w,M]=this.parentDimensions;this.setAspectRatio(this.width*w,this.height*M),this.setAt(t*w,r*M,this.width*w,this.height*M),this.#l=!0,this.#v(),this.setDims(this.width*w,this.height*M),this.#E(),this.div.classList.add("disabled")}else this.div.classList.add("editing"),this.enableEditMode();return this.#k(),this.div}
3#v(){if(!this.#l)return;const[t,r]=this.parentDimensions;this.canvas.width=Math.ceil(this.width*t),this.canvas.height=Math.ceil(this.height*r),this.#O()}setDimensions(t,r){const d=Math.round(t),p=Math.round(r);if(this.#u===d&&this.#o===p)return;this.#u=d,this.#o=p,this.canvas.style.visibility="hidden";const[m,v]=this.parentDimensions;this.width=t/m,this.height=r/v,this.fixAndSetPosition(),this.#r&&this.#M(t,r),this.#v(),this.#E(),this.canvas.style.visibility="visible",this.fixDims()}#M(t,r){const d=this.#U(),p=(t-d)/this.#t,m=(r-d)/this.#e;this.scaleFactor=Math.min(p,m)}#O(){const t=this.#U()/2;this.ctx.setTransform(this.scaleFactor,0,0,this.scaleFactor,this.translationX*this.scaleFactor+t,this.translationY*this.scaleFactor+t)}static#B(t){const r=new Path2D;for(let d=0,p=t.length;d<p;d++){const[m,v,w,M]=t[d];0===d&&r.moveTo(...m),r.bezierCurveTo(v[0],v[1],w[0],w[1],M[0],M[1])}return r}static#V(t,r,d){const[p,m,v,w]=r;switch(d){case 0:for(let M=0,$=t.length;M<$;M+=2)t[M]+=p,t[M+1]=w-t[M+1];break;case 90:for(let M=0,$=t.length;M<$;M+=2){const K=t[M];t[M]=t[M+1]+p,t[M+1]=K+m}break;case 180:for(let M=0,$=t.length;M<$;M+=2)t[M]=v-t[M],t[M+1]+=m;break;case 270:for(let M=0,$=t.length;M<$;M+=2){const K=t[M];t[M]=v-t[M+1],t[M+1]=w-K}break;default:throw new Error("Invalid rotation")}return t}static#j(t,r,d){const[p,m,v,w]=r;switch(d){case 0:for(let M=0,$=t.length;M<$;M+=2)t[M]-=p,t[M+1]=w-t[M+1];break;case 90:for(let M=0,$=t.length;M<$;M+=2){const K=t[M];t[M]=t[M+1]-m,t[M+1]=K-p}break;case 180:for(let M=0,$=t.length;M<$;M+=2)t[M]=v-t[M],t[M+1]-=m;break;case 270:for(let M=0,$=t.length;M<$;M+=2){const K=t[M];t[M]=w-t[M+1],t[M+1]=v-K}break;default:throw new Error("Invalid rotation")}return t}#R(t,r,d,p){const m=[],v=this.thickness/2,w=t*r+v,M=t*d+v;for(const $ of this.paths){const K=[],re=[];for(let me=0,Ue=$.length;me<Ue;me++){const[Qe,gt,It,St]=$[me];if(Qe[0]===St[0]&&Qe[1]===St[1]&&1===Ue){const Tn=t*Qe[0]+w,ui=t*Qe[1]+M;K.push(Tn,ui),re.push(Tn,ui);break}const Jt=t*Qe[0]+w,un=t*Qe[1]+M,fn=t*gt[0]+w,pn=t*gt[1]+M,An=t*It[0]+w,Zn=t*It[1]+M,Xn=t*St[0]+w,dn=t*St[1]+M;0===me&&(K.push(Jt,un),re.push(Jt,un)),K.push(fn,pn,An,Zn,Xn,dn),re.push(fn,pn),me===Ue-1&&re.push(Xn,dn)}m.push({bezier:na.#V(K,p,this.rotation),points:na.#V(re,p,this.rotation)})}return m}#L(){let t=1/0,r=-1/0,d=1/0,p=-1/0;for(const m of this.paths)for(const[v,w,M,$]of m){const K=Ye.bezierBoundingBox(...v,...w,...M,...$);t=Math.min(t,K[0]),d=Math.min(d,K[1]),r=Math.max(r,K[2]),p=Math.max(p,K[3])}return[t,d,r,p]}#U(){return this.#r?Math.ceil(this.thickness*this.parentScale):0}#I(t=!1){if(this.isEmpty())return;if(!this.#r)return void this.#E();const r=this.#L(),d=this.#U();this.#t=Math.max(ue.MIN_SIZE,r[2]-r[0]),this.#e=Math.max(ue.MIN_SIZE,r[3]-r[1]);const p=Math.ceil(d+this.#t*this.scaleFactor),m=Math.ceil(d+this.#e*this.scaleFactor),[v,w]=this.parentDimensions;this.width=p/v,this.height=m/w,this.setAspectRatio(p,m);const M=this.translationX,$=this.translationY;this.translationX=-r[0],this.translationY=-r[1],this.#v(),this.#E(),this.#u=p,this.#o=m,this.setDims(p,m);const K=t?d/this.scaleFactor/2:0;this.translate(M-this.translationX-K,$-this.translationY-K)}static deserialize(t,r,d){var p=()=>super.deserialize,m=this;return(0,A.A)(function*(){if(t instanceof vi)return null;const v=yield p().call(m,t,r,d);v.thickness=t.thickness,v.color=Ye.makeHexColor(...t.color),v.opacity=t.opacity;const[w,M]=v.pageDimensions,$=v.width*w,K=v.height*M,re=v.parentScale,me=t.thickness/2;v.#r=!0,v.#u=Math.round($),v.#o=Math.round(K);const{paths:Ue,rect:Qe,rotation:gt}=t;for(let{bezier:St}of Ue){St=na.#j(St,Qe,gt);const Jt=[];v.paths.push(Jt);let un=re*(St[0]-me),fn=re*(St[1]-me);for(let An=2,Zn=St.length;An<Zn;An+=6){const Ps=re*(St[An+4]-me),Is=re*(St[An+5]-me);Jt.push([[un,fn],[re*(St[An]-me),re*(St[An+1]-me)],[re*(St[An+2]-me),re*(St[An+3]-me)],[Ps,Is]]),un=Ps,fn=Is}const pn=m.#B(Jt);v.bezierPath2D.push(pn)}const It=v.#L();return v.#t=Math.max(ue.MIN_SIZE,It[2]-It[0]),v.#e=Math.max(ue.MIN_SIZE,It[3]-It[1]),v.#M($,K),v})()}serialize(){if(this.isEmpty())return null;const t=this.getRect(0,0),r=ue._colorManager.convert(this.ctx.strokeStyle);return{annotationType:he.INK,color:r,thickness:this.thickness,opacity:this.opacity,paths:this.#R(this.scaleFactor/this.parentScale,this.translationX,this.translationY,t),pageIndex:this.pageIndex,rect:t,rotation:this.rotation,structTreeParentId:this._structTreeParentId}}}class Ls extends ue{#e=null;#t=null;#n=null;#i=null;#r=null;#s="";#c=null;#l=null;#d=null;#a=!1;#u=!1;static _type="stamp";static _editorType=he.STAMP;constructor(t){super({...t,name:"stampEditor"}),this.#i=t.bitmapUrl,this.#r=t.bitmapFile}static initialize(t,r){ue.initialize(t,r)}static get supportedTypes(){return hn(this,"supportedTypes",["apng","avif","bmp","gif","jpeg","png","svg+xml","webp","x-icon"].map(r=>`image/${r}`))}static get supportedTypesStr(){return hn(this,"supportedTypesStr",this.supportedTypes.join(","))}static isHandlingMimeForPasting(t){return this.supportedTypes.includes(t)}static paste(t,r){r.pasteEditor(he.STAMP,{bitmapFile:t.getAsFile()})}altTextFinish(){this._uiManager.useNewAltTextFlow&&(this.div.hidden=!1),super.altTextFinish()}get telemetryFinalData(){return{type:"stamp",hasAltText:!!this.altTextData?.altText}}static computeTelemetryFinalData(t){const r=t.get("hasAltText");return{hasAltText:r.get(!0)??0,hasNoAltText:r.get(!1)??0}}#o(t,r=!1){t?(this.#e=t.bitmap,r||(this.#t=t.id,this.#a=t.isSvg),t.file&&(this.#s=t.file.name),this.#f()):this.remove()}#h(){if(this.#n=null,this._uiManager.enableWaiting(!1),this.#c){if(this._uiManager.useNewAltTextWhenAddingImage&&this._uiManager.useNewAltTextFlow&&this.#e)return this._editToolbar.hide(),void this._uiManager.editAltText(this,!0);if(!this._uiManager.useNewAltTextWhenAddingImage&&this._uiManager.useNewAltTextFlow&&this.#e){this._reportTelemetry({action:"pdfjs.image.image_added",data:{alt_text_modal:!1,alt_text_type:"empty"}});try{this.mlGuessAltText()}catch{}}this.div.focus()}}mlGuessAltText(){var t=this;return(0,A.A)(function*(r=null,d=!0){if(t.hasAltTextData())return null;const{mlManager:p}=t._uiManager;if(!p)throw new Error("No ML.");if(!(yield p.isEnabledFor("altText")))throw new Error("ML isn't enabled for alt text.");const{data:m,width:v,height:w}=r||t.copyCanvas(null,null,!0).imageData,M=yield p.guess({name:"altText",request:{data:m,width:v,height:w,channels:m.length/(v*w)}});if(!M)throw new Error("No response from the AI service.");if(M.error)throw new Error("Error from the AI service.");if(M.cancel)return null;if(!M.output)throw new Error("No valid response from the AI service.");const $=M.output;return yield t.setGuessedAltText($),d&&!t.hasAltTextData()&&(t.altTextData={alt:$,decorative:!1}),$}).apply(this,arguments)}#p(){var t=this;if(this.#t)return this._uiManager.enableWaiting(!0),void this._uiManager.imageManager.getFromId(this.#t).then(p=>this.#o(p,!0)).finally(()=>this.#h());if(this.#i){const p=this.#i;return this.#i=null,this._uiManager.enableWaiting(!0),void(this.#n=this._uiManager.imageManager.getFromUrl(p).then(m=>this.#o(m)).finally(()=>this.#h()))}if(this.#r){const p=this.#r;return this.#r=null,this._uiManager.enableWaiting(!0),void(this.#n=this._uiManager.imageManager.getFromFile(p).then(m=>this.#o(m)).finally(()=>this.#h()))}const r=document.createElement("input");r.type="file",r.accept=Ls.supportedTypesStr;const d=this._uiManager._signal;this.#n=new Promise(p=>{r.addEventListener("change",(0,A.A)(function*(){if(r.files&&0!==r.files.length){t._uiManager.enableWaiting(!0);const m=yield t._uiManager.imageManager.getFromFile(r.files[0]);t._reportTelemetry({action:"pdfjs.image.image_selected",data:{alt_text_modal:t._uiManager.useNewAltTextFlow}}),t.#o(m)}else t.remove();p()}),{signal:d}),r.addEventListener("cancel",()=>{this.remove(),p()},{signal:d})}).finally(()=>this.#h()),r.click()}remove(){this.#t&&(this.#e=null,this._uiManager.imageManager.deleteId(this.#t),this.#c?.remove(),this.#c=null,this.#l?.disconnect(),this.#l=null,this.#d&&(clearTimeout(this.#d),this.#d=null)),super.remove()}rebuild(){this.parent?(super.rebuild(),null!==this.div&&(this.#t&&null===this.#c&&this.#p(),this.isAttachedToDOM||this.parent.add(this))):this.#t&&this.#p()}onceAdded(){this._isDraggable=!0,this.div.focus()}isEmpty(){return!(this.#n||this.#e||this.#i||this.#r||this.#t)}get isResizable(){return!0}
3render(){if(this.div)return this.div;let t,r;if(this.width&&(t=this.x,r=this.y),super.render(),this.div.hidden=!0,this.div.setAttribute("role","figure"),this.addAltTextButton(),this.#e?this.#f():this.#p(),this.width&&!this.annotationElementId){const[d,p]=this.parentDimensions;this.setAt(t*d,r*p,this.width*d,this.height*p)}return this.div}#f(){const{div:t}=this;let{width:r,height:d}=this.#e;const[p,m]=this.pageDimensions,v=.75;if(this.width)r=this.width*p,d=this.height*m;else if(r>v*p||d>v*m){const K=Math.min(v*p/r,v*m/d);r*=K,d*=K}const[w,M]=this.parentDimensions;this.setDims(r*w/p,d*M/m),this._uiManager.enableWaiting(!1);const $=this.#c=document.createElement("canvas");$.setAttribute("role","img"),this.addContainer($),(!this._uiManager.useNewAltTextWhenAddingImage||!this._uiManager.useNewAltTextFlow||this.annotationElementId)&&(t.hidden=!1),this.#m(r,d),this.#_(),this.#u||(this.parent.addUndoableEditor(this),this.#u=!0),this._reportTelemetry({action:"inserted_image"}),this.#s&&$.setAttribute("aria-label",this.#s)}copyCanvas(t,r,d=!1){t||(t=224);const{width:p,height:m}=this.#e,v=new Ur;let w=this.#e,M=p,$=m,K=null;if(r){if(p>r||m>r){const An=Math.min(r/p,r/m);M=Math.floor(p*An),$=Math.floor(m*An)}K=document.createElement("canvas");const me=K.width=Math.ceil(M*v.sx),Ue=K.height=Math.ceil($*v.sy);this.#a||(w=this.#y(me,Ue));const Qe=K.getContext("2d");Qe.filter=this._uiManager.hcmFilter;let gt="white",It="#cfcfd8";"none"!==this._uiManager.hcmFilter?It="black":window.matchMedia?.("(prefers-color-scheme: dark)").matches&&(gt="#8f8f9d",It="#42414d");const St=15,Jt=St*v.sx,un=St*v.sy,fn=new OffscreenCanvas(2*Jt,2*un),pn=fn.getContext("2d");pn.fillStyle=gt,pn.fillRect(0,0,2*Jt,2*un),pn.fillStyle=It,pn.fillRect(0,0,Jt,un),pn.fillRect(Jt,un,Jt,un),Qe.fillStyle=Qe.createPattern(fn,"repeat"),Qe.fillRect(0,0,me,Ue),Qe.drawImage(w,0,0,w.width,w.height,0,0,me,Ue)}let re=null;if(d){let me,Ue;if(v.symmetric&&w.width<t&&w.height<t)me=w.width,Ue=w.height;else if(w=this.#e,p>t||m>t){const It=Math.min(t/p,t/m);me=Math.floor(p*It),Ue=Math.floor(m*It),this.#a||(w=this.#y(me,Ue))}const gt=new OffscreenCanvas(me,Ue).getContext("2d",{willReadFrequently:!0});gt.drawImage(w,0,0,w.width,w.height,0,0,me,Ue),re={width:me,height:Ue,data:gt.getImageData(0,0,me,Ue).data}}return{canvas:K,width:M,height:$,imageData:re}}#g(t,r){const[d,p]=this.parentDimensions;this.width=t/d,this.height=r/p,this._initialOptions?.isCentered?this.center():this.fixAndSetPosition(),this._initialOptions=null,null!==this.#d&&clearTimeout(this.#d),this.#d=setTimeout(()=>{this.#d=null,this.#m(t,r)},200)}#y(t,r){const{width:d,height:p}=this.#e;let m=d,v=p,w=this.#e;for(;m>2*t||v>2*r;){const M=m,$=v;m>2*t&&(m=m>=16384?Math.floor(m/2)-1:Math.ceil(m/2)),v>2*r&&(v=v>=16384?Math.floor(v/2)-1:Math.ceil(v/2));const K=new OffscreenCanvas(m,v);K.getContext("2d").drawImage(w,0,0,M,$,0,0,m,v),w=K.transferToImageBitmap()}return w}#m(t,r){const d=new Ur,p=Math.ceil(t*d.sx),m=Math.ceil(r*d.sy),v=this.#c;if(!v||v.width===p&&v.height===m)return;v.width=p,v.height=m;const w=this.#a?this.#e:this.#y(p,m),M=v.getContext("2d");M.filter=this._uiManager.hcmFilter,M.drawImage(w,0,0,w.width,w.height,0,0,p,m)}getImageForAltText(){return this.#c}#b(t){if(t){if(this.#a){const p=this._uiManager.imageManager.getSvgUrl(this.#t);if(p)return p}const r=document.createElement("canvas");return({width:r.width,height:r.height}=this.#e),r.getContext("2d").drawImage(this.#e,0,0),r.toDataURL()}if(this.#a){const[r,d]=this.pageDimensions,p=Math.round(this.width*r*rn.PDF_TO_CSS_UNITS),m=Math.round(this.height*d*rn.PDF_TO_CSS_UNITS),v=new OffscreenCanvas(p,m);return v.getContext("2d").drawImage(this.#e,0,0,this.#e.width,this.#e.height,0,0,p,m),v.transferToImageBitmap()}return structuredClone(this.#e)}#_(){this._uiManager._signal&&(this.#l=new ResizeObserver(t=>{const r=t[0].contentRect;r.width&&r.height&&this.#g(r.width,r.height)}),this.#l.observe(this.div),this._uiManager._signal.addEventListener("abort",()=>{this.#l?.disconnect(),this.#l=null},{once:!0}))}static deserialize(t,r,d){var p=()=>super.deserialize,m=this;return(0,A.A)(function*(){let v=null;if(t instanceof ys){const{data:{rect:It,rotation:St,id:Jt,structParent:un,popupRef:fn},container:pn,parent:{page:{pageNumber:An}}}=t,Zn=pn.querySelector("canvas"),Xn=d.imageManager.getFromCanvas(pn.id,Zn);Zn.remove();const dn=(yield r._structTree.getAriaAttributes(`${ai}${Jt}`))?.get("aria-label")||"";v=t={annotationType:he.STAMP,bitmapId:Xn.id,bitmap:Xn.bitmap,pageIndex:An-1,rect:It.slice(0),rotation:St,id:Jt,deleted:!1,accessibilityData:{decorative:!1,altText:dn},isSvg:!1,structParent:un,popupRef:fn}}const w=yield p().call(m,t,r,d),{rect:M,bitmap:$,bitmapUrl:K,bitmapId:re,isSvg
3:me,accessibilityData:Ue}=t;re&&d.imageManager.isValidId(re)?(w.#t=re,$&&(w.#e=$)):w.#i=K,w.#a=me;const[Qe,gt]=w.pageDimensions;return w.width=(M[2]-M[0])/Qe,w.height=(M[3]-M[1])/gt,w.annotationElementId=t.id||null,Ue&&(w.altTextData=Ue),w._initialData=v,w.#u=!!v,w})()}serialize(t=!1,r=null){if(this.isEmpty())return null;if(this.deleted)return this.serializeDeleted();const d={annotationType:he.STAMP,bitmapId:this.#t,pageIndex:this.pageIndex,rect:this.getRect(0,0),rotation:this.rotation,isSvg:this.#a,structTreeParentId:this._structTreeParentId};if(t)return d.bitmapUrl=this.#b(!0),d.accessibilityData=this.serializeAltText(!0),d;const{decorative:p,altText:m}=this.serializeAltText(!1);if(!p&&m&&(d.accessibilityData={type:"Figure",alt:m}),this.annotationElementId){const w=this.#C(d);if(w.isSame)return null;w.isSameAltText?delete d.accessibilityData:d.accessibilityData.structParent=this._initialData.structParent??-1}if(d.id=this.annotationElementId,null===r)return d;r.stamps||=new Map;const v=this.#a?(d.rect[2]-d.rect[0])*(d.rect[3]-d.rect[1]):null;if(r.stamps.has(this.#t)){if(this.#a){const w=r.stamps.get(this.#t);v>w.area&&(w.area=v,w.serialized.bitmap.close(),w.serialized.bitmap=this.#b(!1))}}else r.stamps.set(this.#t,{area:v,serialized:d}),d.bitmap=this.#b(!1);return d}#C(t){const{rect:r,pageIndex:d,accessibilityData:{altText:p}}=this._initialData,m=t.rect.every((M,$)=>Math.abs(M-r[$])<1),v=t.pageIndex===d,w=(t.accessibilityData?.alt||"")===p;return{isSame:m&&v&&w,isSameAltText:w}}renderAnnotationElement(t){return t.updateEdited({rect:this.getRect(0,0)}),null}}let is=(()=>{class x{#e;#t=!1;#n=null;#i=null;#r=null;#s=new Map;#c=!1;#l=!1;#d=!1;#a=null;#u=null;#o;static _initialized=!1;static#h=new Map([Ui,na,Ls,Cr].map(r=>[r._editorType,r]));constructor({uiManager:r,pageIndex:d,div:p,structTreeLayer:m,accessibilityManager:v,annotationLayer:w,drawLayer:M,textLayer:$,viewport:K,l10n:re}){const me=[...x.#h.values()];if(!x._initialized){x._initialized=!0;for(const Ue of me)Ue.initialize(re,r)}r.registerEditorTypes(me),this.#o=r,this.pageIndex=d,this.div=p,this.#e=v,this.#n=w,this.viewport=K,this.#a=$,this.drawLayer=M,this._structTree=m,this.#o.addLayer(this)}get isEmpty(){return 0===this.#s.size}get isInvisible(){return this.isEmpty&&this.#o.getMode()===he.NONE}updateToolbar(r){this.#o.updateToolbar(r)}updateMode(r=this.#o.getMode()){switch(this.#m(),r){case he.NONE:return this.disableTextSelection(),this.togglePointerEvents(!1),this.toggleAnnotationLayerPointerEvents(!0),void this.disableClick();case he.INK:this.addInkEditorIfNeeded(!1),this.disableTextSelection(),this.togglePointerEvents(!0),this.disableClick();break;case he.HIGHLIGHT:this.enableTextSelection(),this.togglePointerEvents(!1),this.disableClick();break;default:this.disableTextSelection(),this.togglePointerEvents(!0),this.enableClick()}this.toggleAnnotationLayerPointerEvents(!1);const{classList:d}=this.div;for(const p of x.#h.values())d.toggle(`${p._type}Editing`,r===p._editorType);this.div.hidden=!1}hasTextLayer(r){return r===this.#a?.div}addInkEditorIfNeeded(r){if(this.#o.getMode()===he.INK){if(!r)for(const p of this.#s.values())if(p.isEmpty())return void p.setInBackground();this.createAndAddNewEditor({offsetX:0,offsetY:0},!1).setInBackground()}}setEditingState(r){this.#o.setEditingState(r)}addCommands(r){this.#o.addCommands(r)}toggleDrawing(r=!1){this.div.classList.toggle("drawing",!r)}togglePointerEvents(r=!1){this.div.classList.toggle("disabled",!r)}toggleAnnotationLayerPointerEvents(r=!1){this.#n?.div.classList.toggle("disabled",!r)}enable(){var r=this;return(0,A.A)(function*(){r.div.tabIndex=0,r.togglePointerEvents(!0);const d=new Set;for(const m of r.#s.values())m.enableEditing(),m.show(!0),m.annotationElementId&&(r.#o.removeChangedExistingAnnotation(m),d.add(m.annotationElementId));if(!r.#n)return;const p=r.#n.getEditableAnnotations();for(const m of p){if(m.hide(),r.#o.isDeletedAnnotationElement(m.data.id)||d.has(m.data.id))continue;const v=yield r.deserialize(m);v&&(r.addOrRebuild(v),v.enableEditing())}})()}disable(){this.#d=!0,this.div.tabIndex=-1,this.togglePointerEvents(!1);const r=new Map,d=new Map;for(const m of this.#s.values())if(m.disableEditing(),m.annotationElementId){if
3(null!==m.serialize()){r.set(m.annotationElementId,m);continue}d.set(m.annotationElementId,m),this.getEditableAnnotation(m.annotationElementId)?.show(),m.remove()}if(this.#n){const m=this.#n.getEditableAnnotations();for(const v of m){const{id:w}=v.data;if(this.#o.isDeletedAnnotationElement(w))continue;let M=d.get(w);M?(M.resetAnnotationElement(v),M.show(!1),v.show()):(M=r.get(w),M&&(this.#o.addChangedExistingAnnotation(M),M.renderAnnotationElement(v)&&M.show(!1)),v.show())}}this.#m(),this.isEmpty&&(this.div.hidden=!0);const{classList:p}=this.div;for(const m of x.#h.values())p.remove(`${m._type}Editing`);this.disableTextSelection(),this.toggleAnnotationLayerPointerEvents(!0),this.#d=!1}getEditableAnnotation(r){return this.#n?.getEditableAnnotation(r)||null}setActiveEditor(r){this.#o.getActive()!==r&&this.#o.setActiveEditor(r)}enableTextSelection(){if(this.div.tabIndex=-1,this.#a?.div&&!this.#u){this.#u=new AbortController;const r=this.#o.combinedSignal(this.#u);this.#a.div.addEventListener("pointerdown",this.#p.bind(this),{signal:r}),this.#a.div.classList.add("highlighting")}}disableTextSelection(){this.div.tabIndex=0,this.#a?.div&&this.#u&&(this.#u.abort(),this.#u=null,this.#a.div.classList.remove("highlighting"))}#p(r){this.#o.unselectAll();const{target:d}=r;if(d===this.#a.div||("img"===d.getAttribute("role")||d.classList.contains("endOfContent"))&&this.#a.div.contains(d)){const{isMac:p}=xn.platform;if(0!==r.button||r.ctrlKey&&p)return;this.#o.showAllEditors("highlight",!0,!0),this.#a.div.classList.add("free"),this.toggleDrawing(),Cr.startHighlighting(this,"ltr"===this.#o.direction,{target:this.#a.div,x:r.x,y:r.y}),this.#a.div.addEventListener("pointerup",()=>{this.#a.div.classList.remove("free"),this.toggleDrawing(!0)},{once:!0,signal:this.#o._signal}),r.preventDefault()}}enableClick(){if(this.#i)return;this.#i=new AbortController;const r=this.#o.combinedSignal(this.#i);this.div.addEventListener("pointerdown",this.pointerdown.bind(this),{signal:r}),this.div.addEventListener("pointerup",this.pointerup.bind(this),{signal:r})}disableClick(){this.#i?.abort(),this.#i=null}attach(r){this.#s.set(r.id,r);const{annotationElementId:d}=r;d&&this.#o.isDeletedAnnotationElement(d)&&this.#o.removeDeletedAnnotationElement(r)}detach(r){this.#s.delete(r.id),this.#e?.removePointerInTextLayer(r.contentDiv),!this.#d&&r.annotationElementId&&this.#o.addDeletedAnnotationElement(r)}remove(r){this.detach(r),this.#o.removeEditor(r),r.div.remove(),r.isAttachedToDOM=!1,this.#l||this.addInkEditorIfNeeded(!1)}changeParent(r){r.parent!==this&&(r.parent&&r.annotationElementId&&(this.#o.addDeletedAnnotationElement(r.annotationElementId),ue.deleteAnnotationElement(r),r.annotationElementId=null),this.attach(r),r.parent?.detach(r),r.setParent(this),r.div&&r.isAttachedToDOM&&(r.div.remove(),this.div.append(r.div)))}add(r){if(r.parent!==this||!r.isAttachedToDOM){if(this.changeParent(r),this.#o.addEditor(r),this.attach(r),!r.isAttachedToDOM){const d=r.render();this.div.append(d),r.isAttachedToDOM=!0}r.fixAndSetPosition(),r.onceAdded(),this.#o.addToAnnotationStorage(r),r._reportTelemetry(r.telemetryInitialData)}}moveEditorInDOM(r){if(!r.isAttachedToDOM)return;const{activeElement:d}=document;r.div.contains(d)&&!this.#r&&(r._focusEventsAllowed=!1,this.#r=setTimeout(()=>{this.#r=null,r.div.contains(document.activeElement)?r._focusEventsAllowed=!0:(r.div.addEventListener("focusin",()=>{r._focusEventsAllowed=!0},{once:!0,signal:this.#o._signal}),d.focus())},0)),r._structTreeParentId=this.#e?.moveElementInDOM(this.div,r.div,r.contentDiv,!0)}addOrRebuild(r){r.needsToBeRebuilt()?(r.parent||=this,r.rebuild(),r.show()):this.add(r)}addUndoableEditor(r){this.addCommands({cmd:()=>r._uiManager.rebuild(r),undo:()=>{r.remove()},mustExec:!1})}getNextId(){return this.#o.getId()}get#f(){return x.#h.get(this.#o.getMode())}combinedSignal(r){return this.#o.combinedSignal(r)}#g(r){const d=this.#f;return d?new d.prototype.constructor(r):null}canCreateNewEmptyEditor(){return this.#f?.canCreateNewEmptyEditor()}pasteEditor(r,d){this.#o.updateToolbar(r),this.#o.updateMode(r);const{offsetX:p,offsetY:m}=this.#y(),v=this.getNextId(),w=this.#g({parent:this,id:v,x:p,y:m,uiManager:this.#o,isCentered:!0,...d});w&&this.add(w)}deserialize(r){var d=this;return(0,A.A)(function*(){return(yield x.#h.get(r.annotationType??r.annotationEditorType)?.deserialize(r,d,d.#o))||null})()}createAndAddNewEditor(r,d,p={}){const m=this.getNextId(),v=this.#g({parent:this,id:m,x:r.offsetX,y:r.offsetY,uiManager:this.#o,isCentered:d,...p});return v&&this.add(v),v}#y(){const{x:r,y:d,width:p,height:m}=this.div.getBoundingClientRect(),v=Math.max(0,r),w=Math.max(0,d),K=(v+Math.min(window.innerWidth,r+p))/2-r,re=(w+Math.min(window.innerHeight,d+m))/2-d,[me,Ue]=this.viewport.rotation%180==0?[K,re]:[re,K];return{offsetX:me,offsetY:Ue}}addNewEditor(){this.createAndAddNewEditor(this.#y(),!0)}setSelected(r){this.#o.setSelected(r)}toggleSelected(r){this.#o.toggleSelected(r)}unselect(r){this.#o.unselect(r)}pointerup(r){const{isMac:d}=xn.platform;if(!(0!==r.button||r.ctrlKey&&d)&&r.target===this.div&&this.#c){if(this.#c=!1,!this.#t)return void(this.#t=!0);if(this.#o.getMode()===he.STAMP)return void this.#o.unselectAll();this.createAndAddNewEditor(r,!1)}}pointerdown(r){if(this.#o.getMode()===he.HIGHLIGHT&&this.enableTextSelection(),this.#c)return void(this.#c=!1);const{isMac:d}=xn.platform;if(0!==r.button||r.ctrlKey&&d||r.target!==this.div)return;this.#c=!0;const p=this.#o.getActive();this.#t=!p||p.isEmpty()}findNewParent(r,d,p){const m=this.#o.findParent(d,p);return null!==m&&m!==this&&(m.changeParent(r),!0)}destroy(){this.#o.getActive()?.parent===this&&(this.#o.commitOrRemove(),this.#o.setActiveEditor(null)),this.#r&&(clearTimeout(this.#r),this.#r=null);for(const r of this.#s.values())this.#e?.removePointerInTextLayer(r.contentDiv),r.setParent(null),r.isAttachedToDOM=!1,r.div.remove();this.div=null,this.#s.clear(),this.#o.removeLayer(this)}#m(){this.#l=!0;for(const r of this.#s.values())r.isEmpty()&&r.remove();this.#l=!1}render({viewport:r}){this.viewport=r,ii(this.div,r);for(const d of this.#o.getEditors(this.pageIndex))this.add(d),d.rebuild();this.updateMode()}update({viewport:r}){this.#o.commitOrRemove(),this.#m();const d=this.viewport.rotation,p=r.rotation;if(this.viewport=r,ii(this.div,{rotation:p}),d!==p)for(const m of this.#s.values())m.rotate(p);this.addInkEditorIfNeeded(!1)}get pageDimensions(){const{pageWidth:r,pageHeight:d}=this.viewport.rawDims;return[r,d]}get scale(){return this.#o.viewParameters.realScale}}return x})();class zo{#e=null;#t=0;#n=new Map;#i=new Map;constructor({pageIndex:t}){this.pageIndex=t}setParent(t){if(this.#e){if(this.#e!==t){if(this.#n.size>0)for(const r of this.#n.values())r.remove(),t.append(r);this.#e=t}}else this.#e=t}static get _svgFactory(){return hn(this,"_svgFactory",new nl)}static#r(t,{x:r=0,y:d=0,width:p=1,height:m=1}={}){const{style:v}=t;v.top=100*d+"%",v.left=100*r+"%",v.width=100*p+"%",v.height=100*m+"%"}#s(t){const r=zo._svgFactory.create(1,1,!0);return this.#e.append(r),r.setAttribute("aria-hidden",!0),zo.#r(r,t),r}#c(t,r){const d=zo._svgFactory.createElement("clipPath");t.append(d);const p=`clip_${r}`;d.setAttribute("id",p),d.setAttribute("clipPathUnits","objectBoundingBox");const m=zo._svgFactory.createElement("use");return d.append(m),m.setAttribute("href",`#${r}`),m.classList.add("clip"),p}draw(t,r,d,p=!1){const m=this.#t++,v=this.#s(t.box);v.classList.add(...t.classNamesForDrawing);const w=zo._svgFactory.createElement("defs");v.append(w);const M=zo._svgFactory.createElement("path");w.append(M);const $=`path_p${this.pageIndex}_${m}`;M.setAttribute("id",$),M.setAttribute("d",t.toSVGPath()),p&&this.#i.set(m,M);const K=this.#c(w,$),re=zo._svgFactory.createElement("use");return v.append(re),v.setAttribute("fill",r),v.setAttribute("fill-opacity",d),re.setAttribute("href",`#${$}`),this.#n.set(m,v),{id:m,clipPathId:`url(#${K})`}}drawOutline(t){const r=this.#t++,d=this.#s(t.box);d.classList.add(...t.classNamesForOutlining);const p=zo._svgFactory.createElement("defs");d.append(p);const m=zo._svgFactory.createElement("path");p.append(m);const v=`path_p${this.pageIndex}_${r}`;let w;if(m.setAttribute("id",v),m.setAttribute("d",t.toSVGPath()),m.setAttribute("vector-effect","non-scaling-stroke"),t.mustRemoveSelfIntersections){const K=zo._svgFactory.createElement("mask");p.append(K),w=`mask_p${this.pageIndex}_${r}`,K.setAttribute("id",w),K.setAttribute("maskUnits","objectBoundingBox");const re=zo._svgFactory.createElement("rect");K.append(re),re.setAttribute("width","1"),re.setAttribute("height","1"),re.setAttribute("fill","white");const me=zo._svgFactory.createElement("use");K.append(me),me.setAttribute("href",`#${v}`),me.setAttribute("stroke","none"),me.setAttribute("fill","black"),me.setAttribute("fill-rule","nonzero"),me.classList.add("mask")}const M=zo._svgFactory.createElement("use");d.append(M),M.setAttribute("href",`#${v}`),w&&M.setAttribute("mask",`url(#${w})`);const $=M.cloneNode();return d.append($),M.classList.add("mainOutline"),$.classList.add("secondaryOutline"),this.#n.set(r,d),r}finalizeLine(t,r){const d=this.#i.get(t);this.#i.delete(t),this.updateBox(t,r.box),d.setAttribute("d",r.toSVGPath())}updateLine(t,r){this.#n.get(t).firstChild.firstChild.setAttribute("d",r.toSVGPath())}updatePath(t,r){this.#i.get(t).setAttribute("d",r.toSVGPath())}updateBox(t,r){zo.#r(this.#n.get(t),r)}show(t,r){this.#n.get(t).classList.toggle("hidden",!r)}rotate(t,r){this.#n.get(t).setAttribute("data-main-rotation",r)}changeColor(t,r){this.#n.get(t).setAttribute("fill",r)}changeOpacity(t,r){this.#n.get(t).setAttribute("fill-opacity",r)}
3addClass(t,r){this.#n.get(t).classList.add(r)}removeClass(t,r){this.#n.get(t).classList.remove(r)}getSVGRoot(t){return this.#n.get(t)}remove(t){this.#i.delete(t),null!==this.#e&&(this.#n.get(t).remove(),this.#n.delete(t))}destroy(){this.#e=null;for(const t of this.#n.values())t.remove();this.#n.clear(),this.#i.clear()}}var ac=R.AbortException,jl=R.AnnotationEditorLayer,Oc=R.AnnotationEditorParamsType,il=R.AnnotationEditorType,Ta=R.AnnotationEditorUIManager,_i=R.AnnotationLayer,yu=R.AnnotationMode,wc=R.ColorPicker,cc=R.DOMSVGFactory,$c=R.DrawLayer,bl=R.FeatureTest,vo=R.GlobalWorkerOptions,Vl=R.ImageKind,Ir=R.InvalidPDFException,ua=R.MissingPDFException,zl=R.OPS,Hc=R.OutputScale,rl=R.PDFDataRangeTransport,za=R.PDFDateString,Wc=R.PDFWorker,kd=R.PasswordResponses,od=R.PermissionFlag,Hd=R.PixelsPerInch,$l=R.RenderingCancelledException,Wd=R.TextLayer,Hl=R.UnexpectedResponseException,bu=R.Util,Sd=R.VerbosityLevel,sl=R.XfaLayer,Bu=R.build,Lu=R.createValidAbsoluteUrl,N=R.fetchData,Z=R.getDocument,j=R.getFilenameFromUrl,te=R.getPdfFilenameFromUrl,ve=R.getXfaPageViewport,Ke=R.isDataScheme,ht=R.isPdfFile,cn=R.noContextMenu,$t=R.normalizeUnicode,li=R.setLayerDimensions,tr=R.shadow,Bi=R.version;function Os(x,t){this.v=x,this.k=t}function Pc(x){return new Os(x,0)}function Qo(x){return function(){return new Ca(x.apply(this,arguments))}}function Ca(x){var t,r;function d(m,v){try{var w=x[m](v),M=w.value,$=M instanceof Os;Promise.resolve($?M.v:M).then(function(K){if($){var re="return"===m?"return":"next";if(!M.k||K.done)return d(re,K);K=x[re](K).value}p(w.done?"return":"normal",K)},function(K){d("throw",K)})}catch(K){p("throw",K)}}function p(m,v){switch(m){case"return":t.resolve({value:v,done:!0});break;case"throw":t.reject(v);break;default:t.resolve({value:v,done:!1})}(t=t.next)?d(t.key,t.arg):r=null}this._invoke=function(m,v){return new Promise(function(w,M){var $={key:m,arg:v,resolve:w,reject:M,next:null};r?r=r.next=$:(t=r=$,d(m,v))})},"function"!=typeof x.return&&(this.return=void 0)}function ol(x){function t(r){if(Object(r)!==r)return Promise.reject(new TypeError(r+" is not an object."));var d=r.done;return Promise.resolve(r.value).then(function(p){return{value:p,done:d}})}return(ol=function(d){this.s=d,this.n=d.next}).prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(d){var p=this.s.return;return void 0===p?Promise.resolve({value:d,done:!0}):t(p.apply(this.s,arguments))},throw:function(d){var p=this.s.return;return void 0===p?Promise.reject(d):t(p.apply(this.s,arguments))}},new ol(x)}Ca.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},Ca.prototype.next=function(x){return this._invoke("next",x)},Ca.prototype.throw=function(x){return this._invoke("throw",x)},Ca.prototype.return=function(x){return this._invoke("return",x)};var Al={d:(x,t)=>{for(var r in t)Al.o(t,r)&&!Al.o(x,r)&&Object.defineProperty(x,r,{enumerable:!0,get:t[r]})},o:(x,t)=>Object.prototype.hasOwnProperty.call(x,t)},Us=globalThis.pdfjsViewer={};Al.d(Us,{AnnotationLayerBuilder:()=>Kr,DownloadManager:()=>To,EventBus:()=>Xc,FindState:()=>Fl,GenericL10n:()=>cu,LinkTarget:()=>Cc,PDFFindController:()=>Cu,PDFHistory:()=>z0,PDFLinkService:()=>Ea,PDFPageView:()=>jg,PDFScriptingManager:()=>X0,PDFSinglePageViewer:()=>Z0,PDFViewer:()=>zg,ProgressBar:()=>dd,RenderingStates:()=>co,ScrollMode:()=>hr,SimpleLinkService:()=>$o,SpreadMode:()=>Ks,StructTreeLayerBuilder:()=>Zf,TextLayerBuilder:()=>Zh,XfaLayerBuilder:()=>hv,parseQueryString:()=>rs});const co={INITIAL:0,RUNNING:1,PAUSED:2,FINISHED:3},hr={UNKNOWN:-1,VERTICAL:0,HORIZONTAL:1,WRAPPED:2,PAGE:3},Ks={UNKNOWN:-1,NONE:0,ODD:1,EVEN:2};function ju(x,t,r=!1){let d=x.offsetParent;if(!d)return void console.error("offsetParent is not set -- cannot scroll");let p=x.offsetTop+x.clientTop,m=x.offsetLeft+x.clientLeft;for(;d.clientHeight===d.scrollHeight&&d.clientWidth===d.scrollWidth||r&&(d.classList.contains("markedContent")||"hidden"===getComputedStyle(d).overflow);)if(p+=d.offsetTop,m+=d.offsetLeft,d=d.offsetParent,!d)return;t&&(void 0!==t.top&&(p+=t.top),void 0!==t.left&&(m+=t.left,d.scrollLeft=m)),d.scrollTop=p}function rs(x){const t=new Map;for(const[r,d]of new URLSearchParams(x))t.set(r.toLowerCase(),d);return t}const Lr=/[\x00-\x1F]/g;function Wl(x,t=!1){return Lr.test(x)?t?x.replaceAll(Lr,r=>"\0"===r?"":" "):x.replaceAll("\0",""):x}function cl(x,t,r=0){let d=r,p=x.length-1;if(p<0||!t(x[p]))return x.length;if(t(x[d]))return d;for(;d<p;){const m=d+p>>1;t(x[m])?p=m:d=m+1}return d}function ll(x){if(Math.floor(x)===x)return[x,1];const t=1/x;if(t>8)return[1,8];if(Math.floor(t)===t)return[1,t];const d=x>1?t:x;let M,p=0,m=1,v=1,w=1;for(;;){const $=p+v,K=m+w;if(K>8)break;d<=$/K?(v=$,w=K):(p=$,m=K)}return M=d-p/m<v/w-d?d===x?[p,m]:[m,p]:d===x?[v,w]:[w,v],M}function Ic(x,t){return x-x%t}function Zo(x){return Number.isInteger(x)&&x%90==0}function vu(x){return x.width<=x.height}new Promise(function(x){window.requestAnimationFrame(x)});const _u=document.documentElement.style;class dd{#e=null;#t=null;#n=0;#i=null;#r=!0;constructor(t){this.#e=t.classList,this.#i=t.style}get percent(){return this.#n}set percent(t){this.#n=function _l(x,t,r){return Math.min(Math.max(x,t),r)}(t,0,100),isNaN(t)?this.#e.add("indeterminate"):(this.#e.remove("indeterminate"),this.#i.setProperty("--progressBar-percent",`${this.#n}%`))}setWidth(t){if(!t)return;const d=t.parentNode.offsetWidth-t.offsetWidth;d>0&&this.#i.setProperty("--progressBar-end-offset",`${d}px`)}setDisableAutoFetch(t=5e3){100===this.#n||isNaN(this.#n)||(this.#t&&clearTimeout(this.#t),this.show(),this.#t=setTimeout(()=>{this.#t=null,this.hide()},t))}hide(){this.#r&&(this.#r=!1,this.#e.add("hidden"))}show(){this.#r||(this.#r=!0,this.#e.remove("hidden"))}}const yn=function(){const x=document.createElement("div");return x.style.width="round(down, calc(1.6666666666666665 * 792px), 1px)","calc(1320px)"===x.style.width?Math.fround:t=>t}();function qd(x){return function zr(x){return x<11904}(x)?function Xl(x){return!(65408&x)}(x)?function Xd(x){return 32===x||9===x||13===x||10===x}(x)?0:function Js(x){return x>=97&&x<=122||x>=65&&x<=90}(x)||function Vu(x){return x>=48&&x<=57}(x)||95===x?1:2:function ah(x){return 3584==(65408&x)}(x)?7:160===x?0:1:function Kc(x){return x>=13312&&x<=40959||x>=63744&&x<=64255}(x)?3:function Md(x){return x>=12448&&x<=12543}(x)?4:function Yd(x){return x>=12352&&x<=12447}(x)?5:function Ol(x){return x>=65376&&x<=65439}(x)?6:1}let zu;const Fl={FOUND:0,NOT_FOUND:1,WRAPPED:2,PENDING:3},Nc={"\u2010":"-","\u2018":"'","\u2019":"'","\u201a":"'","\u201b":"'","\u201c":'"',"\u201d":'"',"\u201e":'"',"\u201f":'"',"\xbc":"1/4","\xbd":"1/2","\xbe":"3/4"},tc=new Set([12441,12442,2381,2509,2637,2765,2893,3021,3149,3277,3387,3388,3405,3530,3642,3770,3972,4153,4154,5908,5940,6098,6752,6980,7082,7083,7154,7155,11647,43014,43052,43204,43347,43456,43766,44013,3158,3953,3954,3962,3963,3964,3965,3968,3956]);let Zd;const Jd=new RegExp("\\p{M}+","gu"),ch=new RegExp("([.*+?^${}()|[\\]\\\\])|(\\p{P})|(\\s+)|(\\p{M})|(\\p{L})","gu"),eu=new RegExp("([^\\p{M}])\\p{M}*$","u"),wu=new RegExp("^\\p{M}*([^\\p{M}])","u"),Ad=/[\uAC00-\uD7AF\uFA6C\uFACF-\uFAD1\uFAD5-\uFAD7]+/g,tu=new Map,Td=new Map;let hd=null,ql=null;function nu(x){const t=[];let r,d;for(;null!==(r=Ad.exec(x));){let{index:Ue}=r;for(const Qe of r[0]){let gt=tu.get(Qe);gt||(gt=Qe.normalize("NFD").length,tu.set(Qe,gt)),t.push([gt,Ue++])}}if(0===t.length&&hd)d=hd;else if(t.length>0&&ql)d=ql;else{const Jt=`([${Object.keys(Nc).join("")}])|([${function Qd(){return zu||="\xa0\xa8\xaa\xaf\xb2-\xb5\xb8-\xba\xbc-\xbe\u0132-\u0133\u013f-\u0140\u0149\u017f\u01c4-\u01cc\u01f1-\u01f3\u02b0-\u02b8\u02d8-\u02dd\u02e0-\u02e4\u0374\u037a\u037e\u0384-\u0385\u0387\u03d0-\u03d6\u03f0-\u03f2\u03f4-\u03f5\u03f9\u0587\u0675-\u0678\u0958-\u095f\u09dc-\u09dd\u09df\u0a33\u0a36\u0a59-\u0a5b\u0a5e\u0b5c-\u0b5d\u0e33\u0eb3\u0edc-\u0edd\u0f0c\u0f43\u0f4d\u0f52\u0f57\u0f5c\u0f69\u10fc\u1d2c-\u1d2e\u1d30-\u1d3a\u1d3c-\u1d4d\u1d4f-\u1d6a\u1d78\u1d9b-\u1dbf\u1e9a-\u1e9b\u1f71\u1f73\u1f75\u1f77\u1f79\u1f7b\u1f7d\u1fbb\u1fbd-\u1fc1\u1fc9\u1fcb\u1fcd-\u1fcf\u1fd3\u1fdb\u1fdd-\u1fdf\u1fe3\u1feb\u1fed-\u1fef\u1ff9\u1ffb\u1ffd-\u1ffe\u2000-\u200a\u2011\u2017\u2024-\u2026\u202f\u2033-\u2034\u2036-\u2037\u203c\u203e\u2047-\u2049\u2057\u205f\u2070-\u2071\u2074-\u208e\u2090-\u209c\u20a8\u2100-\u2103\u2105-\u2107\u2109-\u2113\u2115-\u2116\u2119-\u211d\u2120-\u2122\u2124\u2126\u2128\u212a-\u212d\u212f-\u2131\u2133-\u2139\u213b-\u2140\u2145-\u2149\u2150-\u217f\u2189\u222c-\u222d\u222f-\u2230\u2329-\u232a\u2460-\u24ea\u2a0c\u2a74-\u2a76\u2adc\u2c7c-\u2c7d\u2d6f\u2e9f\u2ef3\u2f00-\u2fd5\u3000\u3036\u3038-\u303a\u309b-\u309c\u309f\u30ff\u3131-\u318e\u3192-\u319f\u3200-\u321e\u3220-\u3247\u3250-\u327e\u3280-\u33ff\ua69c-\ua69d\ua770\ua7f2-\ua7f4\ua7f8-\ua7f9\uab5c-\uab5f\uab69\uf900-\ufa0d\ufa10\ufa12\ufa15-\ufa1e\ufa20\ufa22\ufa25-\ufa26\ufa2a-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfc\ufe10-\ufe19\ufe30-\ufe44\ufe47-\ufe52\ufe54-\ufe66\ufe68-\ufe6b\ufe70-\ufe72\ufe74\ufe76-\ufefc\uff01-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc\uffe0-\uffe6",zu}()}])|((?:\u3099|\u309a)\\n)|(\\p{M}+(?:-\\n)?)|(\\p{Ll}-\\n\\p{Lu})|(\\S-\\n)|((?:\\p{Ideographic}|[\u3040-\u30ff])\\n)|(\\n)`;d=0===t.length?hd=new RegExp(Jt+"|(\\u0000)","gum"):ql=new RegExp(Jt+"|([\\u1100-\\u1112\\ud7a4-\\ud7af\\ud84a\\ud84c\\ud850\\ud854\\ud857\\ud85f])","gum")}const p=[];for(;null!==(r=Jd.exec(x));)p.push([r[0].length,r.index]);let m=x.normalize("NFD");const v=[[0,0]];let w=0,M=0,$=0,K=0,re=0,me=!1;return m=m.replace(d,(Ue,Qe,gt,It,St,Jt,un,fn,pn,An,Zn)=>{if(Zn-=K,Qe){const Xn=Nc[Qe],dn=Xn.length;for(let Tn=1;Tn<dn;
3Tn++)v.push([Zn-$+Tn,$-Tn]);return $-=dn-1,Xn}if(gt){let Xn=Td.get(gt);Xn||(Xn=gt.normalize("NFKC"),Td.set(gt,Xn));const dn=Xn.length;for(let Tn=1;Tn<dn;Tn++)v.push([Zn-$+Tn,$-Tn]);return $-=dn-1,Xn}if(It)return me=!0,Zn+re===p[w]?.[1]?++w:(v.push([Zn-1-$+1,$-1]),$-=1,K+=1),v.push([Zn-$+1,$]),K+=1,re+=1,It.charAt(0);if(St){const Xn=St.endsWith("\n"),dn=Xn?St.length-2:St.length;me=!0;let Tn=dn;Zn+re===p[w]?.[1]&&(Tn-=p[w][0],++w);for(let ui=1;ui<=Tn;ui++)v.push([Zn-1-$+ui,$-ui]);return $-=Tn,K+=Tn,Xn?(v.push([(Zn+=dn-1)-$+1,1+$]),$+=1,K+=1,re+=1,St.slice(0,dn)):St}if(Jt)return v.push([Zn-$+3,1+$]),$+=1,K+=1,re+=1,Jt.replace("\n","");if(un)return v.push([Zn-$+(un.length-2),1+$]),$+=1,K+=1,re+=1,un.slice(0,-2);if(fn)return v.push([Zn-$+(fn.length-1),$]),K+=1,re+=1,fn.slice(0,-1);if(pn)return v.push([Zn-$+1,$-1]),$-=1,K+=1,re+=1," ";if(Zn+re===t[M]?.[1]){const Xn=t[M][0]-1;++M;for(let dn=1;dn<=Xn;dn++)v.push([Zn-($-dn),$-dn]);$-=Xn,K+=Xn}return An}),v.push([m.length,$]),[m,v,me]}class Cu{#e=null;#t=!0;#n=0;constructor({linkService:t,eventBus:r,updateMatchesCountOnProgress:d=!0}){this._linkService=t,this._eventBus=r,this.#t=d,this.onIsPageVisible=null,this.#r(),r._on("find",this.#i.bind(this)),r._on("findbarclose",this.#b.bind(this))}get highlightMatches(){return this._highlightMatches}get pageMatches(){return this._pageMatches}get pageMatchesLength(){return this._pageMatchesLength}get selected(){return this._selected}get state(){return this.#e}setDocument(t){this._pdfDocument&&this.#r(),t&&(this._pdfDocument=t,this._firstPageCapability.resolve())}#i(t){if(!t)return;const r=this._pdfDocument,{type:d}=t;(null===this.#e||this.#c(t))&&(this._dirtyMatch=!0),this.#e=t,"highlightallchange"!==d&&this.#F(Fl.PENDING),this._firstPageCapability.promise.then(()=>{if(!this._pdfDocument||r&&this._pdfDocument!==r)return;this.#u();const p=!this._highlightMatches,m=!!this._findTimeout;this._findTimeout&&(clearTimeout(this._findTimeout),this._findTimeout=null),d?this._dirtyMatch?this.#p():"again"===d?(this.#p(),p&&this.#e.highlightAll&&this.#h()):"highlightallchange"===d?(m?this.#p():this._highlightMatches=!0,this.#h()):this.#p():this._findTimeout=setTimeout(()=>{this.#p(),this._findTimeout=null},250)})}scrollMatchIntoView({element:t=null,selectedLeft:r=0,pageIndex:d=-1,matchIndex:p=-1}){this._scrollMatches&&t&&-1!==p&&p===this._selected.matchIdx&&-1!==d&&d===this._selected.pageIdx&&(this._scrollMatches=!1,ju(t,{top:-50,left:r+-400},!0))}#r(){this._highlightMatches=!1,this._scrollMatches=!1,this._pdfDocument=null,this._pageMatches=[],this._pageMatchesLength=[],this.#n=0,this.#e=null,this._selected={pageIdx:-1,matchIdx:-1},this._offset={pageIdx:null,matchIdx:null,wrapped:!1},this._extractTextPromises=[],this._pageContents=[],this._pageDiffs=[],this._hasDiacritics=[],this._matchesCountTotal=0,this._pagesToSearch=null,this._pendingFindMatches=new Set,this._resumePageIdx=null,this._dirtyMatch=!1,clearTimeout(this._findTimeout),this._findTimeout=null,this._firstPageCapability=Promise.withResolvers()}get#s(){const{query:t}=this.#e;return"string"==typeof t?(t!==this._rawQuery&&(this._rawQuery=t,[this._normalizedQuery]=nu(t)),this._normalizedQuery):(t||[]).filter(r=>!!r).map(r=>nu(r)[0])}#c(t){const r=t.query,d=this.#e.query,p=typeof r;if(p!==typeof d)return!0;if("string"===p){if(r!==d)return!0}else if(JSON.stringify(r)!==JSON.stringify(d))return!0;switch(t.type){case"again":const v=this._selected.pageIdx+1,w=this._linkService;return v>=1&&v<=w.pagesCount&&v!==w.page&&!(this.onIsPageVisible?.(v)??1);case"highlightallchange":return!1}return!0}#l(t,r,d){let p=t.slice(0,r).match(eu);if(p){const m=t.charCodeAt(r),v=p[1].charCodeAt(0);if(qd(m)===qd(v))return!1}if(p=t.slice(r+d).match(wu),p){const m=t.charCodeAt(r+d-1),v=p[1].charCodeAt(0);if(qd(m)===qd(v))return!1}return!0}#d(t,r){const{matchDiacritics:d}=this.#e;let p=!1;return(t=t.replaceAll(ch,(v,w,M,$,K,re)=>w?`[ ]*\\${w}[ ]*`:M?`[ ]*${M}[ ]*`:$?"[ ]+":d?K||re:K?tc.has(K.charCodeAt(0))?K:"":r?(p=!0,`${re}\\p{M}*`):re)).endsWith("[ ]*")&&(t=t.slice(0,t.length-4)),d&&r&&(Zd||=String.fromCharCode(...tc),p=!0,t=`${t}(?=[${Zd}]|[^\\p{M}]|$)`),[p,t]}#a(t){const r=this.#s;if(0===r.length)return;const p=this.match(r,this._pageContents[t],t),m=this._pageMatches[t]=[],v=this._pageMatchesLength[t]=[],w=this._pageDiffs[t];p?.forEach(({index:$,length:K})=>{const[re,me]=function Od(x,t,r){if(!x)return[t,r];const d=t,p=t+r-1;let m=cl(x,K=>K[0]>=d);x[m][0]>d&&--m;let v=cl(x,K=>K[0]>=p,m);x[v][0]>p&&--v;const w=d+x[m][1];return[w,p+x[v][1]+1-w]}(w,$,K);me&&(m.push(re),v.push(me))}),this.#e.highlightAll&&this.#o(t),this._resumePageIdx===t&&(this._resumePageIdx=null,this.#g());const M=m.length;this._matchesCountTotal+=M,this.#t?M>0&&this.#C():++this.#n===this._linkService.pagesCount&&this.#C()}match(t,r,d){const p=this._hasDiacritics[d];let m=!1;if("string"==typeof t?[m,t]=this.#d(t,p):t=t.sort().reverse().map(re=>{const[me,Ue]=this.#d(re,p);return m||=me,`(${Ue})`}).join("|"),!t)return;const{caseSensitive:v,entireWord:w}=this.#e;t=new RegExp(t,`g${m?"u":""}${v?"":"i"}`);const $=[];let K;for(;null!==(K=t.exec(r));)w&&!this.#l(r,K.index,K[0].length)||$.push({index:K.index,length:K[0].length});return $}#u(){if(this._extractTextPromises.length>0)return;let t=Promise.resolve();const r={disableNormalization:!0};for(let d=0,p=this._linkService.pagesCount;d<p;d++){const{promise:m,resolve:v}
3=Promise.withResolvers();this._extractTextPromises[d]=m,t=t.then(()=>this._pdfDocument.getPage(d+1).then(w=>w.getTextContent(r)).then(w=>{const M=[];for(const $ of w.items)M.push($.str),$.hasEOL&&M.push("\n");[this._pageContents[d],this._pageDiffs[d],this._hasDiacritics[d]]=nu(M.join("")),v()},w=>{console.error(`Unable to get text content for page ${d+1}`,w),this._pageContents[d]="",this._pageDiffs[d]=null,this._hasDiacritics[d]=!1,v()}))}}#o(t){this._scrollMatches&&this._selected.pageIdx===t&&(this._linkService.page=t+1),this._eventBus.dispatch("updatetextlayermatches",{source:this,pageIndex:t})}#h(){this._eventBus.dispatch("updatetextlayermatches",{source:this,pageIndex:-1})}#p(){const t=this.#e.findPrevious,r=this._linkService.page-1,d=this._linkService.pagesCount;if(this._highlightMatches=!0,this._dirtyMatch){this._dirtyMatch=!1,this._selected.pageIdx=this._selected.matchIdx=-1,this._offset.pageIdx=r,this._offset.matchIdx=null,this._offset.wrapped=!1,this._resumePageIdx=null,this._pageMatches.length=0,this._pageMatchesLength.length=0,this.#n=0,this._matchesCountTotal=0,this.#h();for(let v=0;v<d;
3v++)this._pendingFindMatches.has(v)||(this._pendingFindMatches.add(v),this._extractTextPromises[v].then(()=>{this._pendingFindMatches.delete(v),this.#a(v)}))}if(0===this.#s.length)return void this.#F(Fl.FOUND);if(this._resumePageIdx)return;const m=this._offset;if(this._pagesToSearch=d,null!==m.matchIdx){if(!t&&m.matchIdx+1<this._pageMatches[m.pageIdx].length||t&&m.matchIdx>0)return m.matchIdx=t?m.matchIdx-1:m.matchIdx+1,void this.#m(!0);this.#y(t)}this.#g()}#f(t){const r=this._offset,d=t.length,p=this.#e.findPrevious;return d?(r.matchIdx=p?d-1:0,this.#m(!0),!0):(this.#y(p),!!(r.wrapped&&(r.matchIdx=null,this._pagesToSearch<0))&&(this.#m(!1),!0))}#g(){null!==this._resumePageIdx&&console.error("There can only be one pending page.");let t=null;do{const r=this._offset.pageIdx;if(t=this._pageMatches[r],!t){this._resumePageIdx=r;break}}while(!this.#f(t))}#y(t){const r=this._offset,d=this._linkService.pagesCount;r.pageIdx=t?r.pageIdx-1:r.pageIdx+1,r.matchIdx=null,this._pagesToSearch--,(r.pageIdx>=d||r.pageIdx<0)&&(r.pageIdx=t?d-1:0,r.wrapped=!0)}#m(t=!1){let r=Fl.NOT_FOUND;const d=this._offset.wrapped;if(this._offset.wrapped=!1,t){const p=this._selected.pageIdx;this._selected.pageIdx=this._offset.pageIdx,this._selected.matchIdx=this._offset.matchIdx,r=d?Fl.WRAPPED:Fl.FOUND,-1!==p&&p!==this._selected.pageIdx&&this.#o(p)}this.#F(r,this.#e.findPrevious),-1!==this._selected.pageIdx&&(this._scrollMatches=!0,this.#o(this._selected.pageIdx))}#b(t){const r=this._pdfDocument;this._firstPageCapability.promise.then(()=>{!this._pdfDocument||r&&this._pdfDocument!==r||(this._findTimeout&&(clearTimeout(this._findTimeout),this._findTimeout=null),this._resumePageIdx&&(this._resumePageIdx=null,this._dirtyMatch=!0),this.#F(Fl.FOUND),this._highlightMatches=!1,this.#h())})}#_(){const{pageIdx:t,matchIdx:r}=this._selected;let d=0,p=this._matchesCountTotal;if(-1!==r){for(let m=0;m<t;m++)d+=this._pageMatches[m]?.length||0;d+=r+1}return(d<1||d>p)&&(d=p=0),{current:d,total:p}}#C(){this._eventBus.dispatch("updatefindmatchescount",{source:this,matchesCount:this.#_()})}#F(t,r=!1){!this.#t&&(this.#n!==this._linkService.pagesCount||t===Fl.PENDING)||this._eventBus.dispatch("updatefindcontrolstate",{source:this,state:t,previous:r,entireWord:this.#e?.entireWord??null,matchesCount:this.#_(),rawQuery:this.#e?.query??null})}}const Cc={NONE:0,SELF:1,BLANK:2,PARENT:3,TOP:4};class Ea{externalLinkEnabled=!0;constructor({eventBus:t,externalLinkTarget:r=null,externalLinkRel:d=null,ignoreDestinationZoom:p=!1}={}){this.eventBus=t,this.externalLinkTarget=r,this.externalLinkRel=d,this._ignoreDestinationZoom=p,this.baseUrl=null,this.pdfDocument=null,this.pdfViewer=null,this.pdfHistory=null}setDocument(t,r=null){this.baseUrl=r,this.pdfDocument=t}setViewer(t){this.pdfViewer=t}setHistory(t){this.pdfHistory=t}get pagesCount(){return this.pdfDocument?this.pdfDocument.numPages:0}get page(){return this.pdfDocument?this.pdfViewer.currentPageNumber:1}set page(t){this.pdfDocument&&(this.pdfViewer.currentPageNumber=t)}get rotation(){return this.pdfDocument?this.pdfViewer.pagesRotation:0}set rotation(t){this.pdfDocument&&(this.pdfViewer.pagesRotation=t)}get isInPresentationMode(){return!!this.pdfDocument&&this.pdfViewer.isInPresentationMode}goToDestination(t){var r=this;return(0,A.A)(function*(){if(!r.pdfDocument)return;let d,p,m;if("string"==typeof t?(d=t,p=yield r.pdfDocument.getDestination(t)):(d=null,p=yield t),!Array.isArray(p))return void console.error(`goToDestination: "${p}" is not a valid destination array, for dest="${t}".`);const[v]=p;if(v&&"object"==typeof v){if(m=r.pdfDocument.cachedPageNumber(v),!m)try{m=(yield r.pdfDocument.getPageIndex(v))+1}catch{return void console.error(`goToDestination: "${v}" is not a valid page reference, for dest="${t}".`)}}else Number.isInteger(v)&&(m=v+1);!m||m<1||m>r.pagesCount?console.error(`goToDestination: "${m}" is not a valid page number, for dest="${t}".`):(r.pdfHistory&&(r.pdfHistory.pushCurrentPosition(),r.pdfHistory.push({namedDest:d,explicitDest:p,pageNumber:m})),r.pdfViewer.scrollPageIntoView({pageNumber:m,destArray:p,ignoreDestinationZoom:r._ignoreDestinationZoom}))})()}goToPage(t){if(!this.pdfDocument)return;const r="string"==typeof t&&this.pdfViewer.pageLabelToPageNumber(t)||0|t;Number.isInteger(r)&&r>0&&r<=this.pagesCount?(this.pdfHistory&&(this.pdfHistory.pushCurrentPosition(),this.pdfHistory.pushPage(r)),this.pdfViewer.scrollPageIntoView({pageNumber:r})):console.error(`PDFLinkService.goToPage: "${t}" is not a valid page.`)}addLinkAttributes(t,r,d=!1){if(!r||"string"!=typeof r)throw new Error('A valid "url" parameter must provided.');const p=d?Cc.BLANK:this.externalLinkTarget,m=this.externalLinkRel;this.externalLinkEnabled?t.href=t.title=r:(t.href="",t.title=`Disabled: ${r}`,t.onclick=()=>!1);let v="";switch(p){case Cc.NONE:break;case Cc.SELF:v="_self";break;case Cc.BLANK:v="_blank";break;case Cc.PARENT:v="_parent";break;case Cc.TOP:v="_top"}t.target=v,t.rel="string"==typeof m?m:"noopener noreferrer nofollow"}getDestinationHash(t){if("string"==typeof t){if(t.length>0)return this.getAnchorUrl("#"+escape(t))}else if(Array.isArray(t)){const r=JSON.stringify(t);if(r.length>0)return this.getAnchorUrl("#"+escape(r))}return this.getAnchorUrl("")}getAnchorUrl(t){return this.baseUrl?this.baseUrl+t:t}setHash(t){if(!this.pdfDocument)return;let r,d;if(t.includes("=")){const p=rs(t);if(p.has("search")){const m=p.get("search").replaceAll('"',""),v="true"===p.get("phrase");this.eventBus.dispatch("findfromurlhash",{source:this,query:v?m:m.match(/\S+/g)})}if(p.has("page")&&(r=0|p.get("page")||1),p.has("zoom")){const m=p.get("zoom").split(","),v=m[0],w=parseFloat(v);v.includes("Fit")?"Fit"===v||"FitB"===v?d=[null,{name:v}]:"FitH"===v||"FitBH"===v||"FitV"===v||"FitBV"===v?d=[null,{name:v},m.length>1?0|m[1]:null]:"FitR"===v?5!==m.length?console.error('PDFLinkService.setHash: Not enough parameters for "FitR".'):d=[null,{name:v}
3,0|m[1],0|m[2],0|m[3],0|m[4]]:console.error(`PDFLinkService.setHash: "${v}" is not a valid zoom value.`):d=[null,{name:"XYZ"},m.length>1?0|m[1]:null,m.length>2?0|m[2]:null,w?w/100:v]}return d?this.pdfViewer.scrollPageIntoView({pageNumber:r||this.page,destArray:d,allowNegativeOffset:!0}):r&&(this.page=r),p.has("pagemode")&&this.eventBus.dispatch("pagemode",{source:this,mode:p.get("pagemode")}),void(p.has("nameddest")&&this.goToDestination(p.get("nameddest")))}d=unescape(t);try{d=JSON.parse(d),Array.isArray(d)||(d=d.toString())}catch{}"string"==typeof d||Ea.#e(d)?this.goToDestination(d):console.error(`PDFLinkService.setHash: "${unescape(t)}" is not a valid destination.`)}executeNamedAction(t){if(this.pdfDocument){switch(t){case"GoBack":this.pdfHistory?.back();break;case"GoForward":this.pdfHistory?.forward();break;case"NextPage":this.pdfViewer.nextPage();break;case"PrevPage":this.pdfViewer.previousPage();break;case"LastPage":this.page=this.pagesCount;break;case"FirstPage":this.page=1}this.eventBus.dispatch("namedaction",{source:this,action:t})}}executeSetOCGState(t){var r=this;return(0,A.A)(function*(){if(!r.pdfDocument)return;const d=r.pdfDocument,p=yield r.pdfViewer.optionalContentConfigPromise;d===r.pdfDocument&&(p.setOCGState(t),r.pdfViewer.optionalContentConfigPromise=Promise.resolve(p))})()}static#e(t){if(!Array.isArray(t)||t.length<2)return!1;const[r,d,...p]=t;if(("object"!=typeof r||!Number.isInteger(r?.num)||!Number.isInteger(r?.gen))&&!Number.isInteger(r)||"object"!=typeof d||"string"!=typeof d?.name)return!1;const m=p.length;let v=!0;switch(d.name){case"XYZ":if(m<2||m>3)return!1;break;case"Fit":case"FitB":return 0===m;case"FitH":case"FitBH":case"FitV":case"FitBV":if(m>1)return!1;break;case"FitR":if(4!==m)return!1;v=!1;break;default:return!1}for(const w of p)if(!("number"==typeof w||v&&null===w))return!1;return!0}}class $o extends Ea{setDocument(t,r=null){}}const{AbortException:Pl,AnnotationEditorLayer:eo,AnnotationEditorType:nc,AnnotationEditorUIManager:dl,AnnotationLayer:Ec,AnnotationMode:Qi,createValidAbsoluteUrl:S,DrawLayer:ce,fetchData:dt,getPdfFilenameFromUrl:Vt,isPdfFile:ri,normalizeUnicode:Xs,OutputScale:yi,PermissionFlag:L,PixelsPerInch:de,RenderingCancelledException:De,setLayerDimensions:at,shadow:Ut,TextLayer:bn,version:Rn,XfaLayer:Fi}=globalThis.pdfjsLib;class Kr{#e=null;#t=null;constructor({pdfPage:t,linkService:r,downloadManager:d,annotationStorage:p=null,imageResourcesPath:m="",renderForms:v=!0,enableScripting:w=!1,hasJSActionsPromise:M=null,fieldObjectsPromise:$=null,annotationCanvasMap:K=null,accessibilityManager:re=null,annotationEditorUIManager:me=null,onAppend:Ue=null}){this.pdfPage=t,this.linkService=r,this.downloadManager=d,this.imageResourcesPath=m,this.renderForms=v,this.annotationStorage=p,this.enableScripting=w,this._hasJSActionsPromise=M||Promise.resolve(!1),this._fieldObjectsPromise=$||Promise.resolve(null),this._annotationCanvasMap=K,this._accessibilityManager=re,this._annotationEditorUIManager=me,this.#e=Ue,this.annotationLayer=null,this.div=null,this._cancelled=!1,this._eventBus=r.eventBus}render(t,r){var d=this;return(0,A.A)(function*(p,m,v="display"){if(d.div){if(d._cancelled||!d.annotationLayer)return;return void d.annotationLayer.update({viewport:p.clone({dontFlip:!0})})}const[w,M,$]=yield Promise.all([d.pdfPage.getAnnotations({intent:v}),d._hasJSActionsPromise,d._fieldObjectsPromise]);if(d._cancelled)return;const K=d.div=document.createElement("div");K.className="annotationLayer",d.#e?.(K),0!==w.length?(d.annotationLayer=new Ec({div:K,accessibilityManager:d._accessibilityManager,annotationCanvasMap:d._annotationCanvasMap,annotationEditorUIManager:d._annotationEditorUIManager,page:d.pdfPage,viewport:p.clone({dontFlip:!0}),structTreeLayer:m?.structTreeLayer||null}),yield d.annotationLayer.render({annotations:w,imageResourcesPath:d.imageResourcesPath,renderForms:d.renderForms,linkService:d.linkService,downloadManager:d.downloadManager,annotationStorage:d.annotationStorage,enableScripting:d.enableScripting,hasJSActions:M,fieldObjects:$}),d.linkService.isInPresentationMode&&d.#n(3),d.#t||(d.#t=new AbortController,d._eventBus?._on("presentationmodechanged",re=>{d.#n(re.state)},{signal:d.#t.signal}))):d.hide()}).apply(this,arguments)}cancel(){this._cancelled=!0,this.#t?.abort(),this.#t=null}hide(){this.div&&(this.div.hidden=!0)}hasEditableAnnotations(){return!!this.annotationLayer?.hasEditableAnnotations()}#n(t){if(!this.div)return;let r=!1;switch(t){case 3:r=!0;break;case 1:break;default:return}for(const d of this.div.childNodes)d.hasAttribute("data-internal-link")||(d.inert=r)}}function Ho(x,t){const r=document.createElement("a");if(!r.click)throw new Error('DownloadManager: "a.click()" is not supported.');r.href=x,r.target="_parent","download"in r&&(r.download=t),(document.body||document.documentElement).append(r),r.click(),r.remove()}class To{#e=new WeakMap;downloadData(t,r,d){Ho(URL.createObjectURL(new Blob([t],{type:d}
3)),r)}openOrDownloadData(t,r,d=null){const m=ri(r)?"application/pdf":"";return this.downloadData(t,r,m),!1}download(t,r,d){let p;if(t)p=URL.createObjectURL(new Blob([t],{type:"application/pdf"}));else{if(!S(r,"http://example.com"))return void console.error(`download - not a valid URL: ${r}`);p=r+"#pdfjs.action=download"}Ho(p,d)}}const Xr_EVENT="event",Xr_TIMEOUT="timeout";function Cl(){return(Cl=(0,A.A)(function*({target:x,name:t,delay:r=0}){if("object"!=typeof x||!t||"string"!=typeof t||!(Number.isInteger(r)&&r>=0))throw new Error("waitOnEventOrTimeout - invalid parameters.");const{promise:d,resolve:p}=Promise.withResolvers(),m=new AbortController;function v($){m.abort(),clearTimeout(M),p($)}x[x instanceof Xc?"_on":"addEventListener"](t,v.bind(null,Xr_EVENT),{signal:m.signal});const M=setTimeout(v.bind(null,Xr_TIMEOUT),r);return d})).apply(this,arguments)}class Xc{#e=Object.create(null);on(t,r,d=null){this._on(t,r,{external:!0,once:d?.once,signal:d?.signal})}off(t,r,d=null){this._off(t,r)}dispatch(t,r){const d=this.#e[t];if(!d||0===d.length)return;let p;for(const{listener:m,external:v,once:w}of d.slice(0))w&&this._off(t,m),v?(p||=[]).push(m):m(r);if(p){for(const m of p)m(r);p=null}}_on(t,r,d=null){let p=null;if(d?.signal instanceof AbortSignal){const{signal:v}=d;if(v.aborted)return void console.error("Cannot use an `aborted` signal.");const w=()=>this._off(t,r);p=()=>v.removeEventListener("abort",w),v.addEventListener("abort",w)}(this.#e[t]||=[]).push({listener:r,external:!0===d?.external,once:!0===d?.once,rmAbort:p})}_off(t,r,d=null){const p=this.#e[t];if(p)for(let m=0,v=p.length;m<v;m++){const w=p[m];if(w.listener===r)return w.rmAbort?.(),void p.splice(m,1)}}}class Ha{constructor(t){this.value=t}valueOf(){return this.value}}class vs extends Ha{constructor(t="???"){super(t)}toString(t){return`{${this.value}}`}}class ul extends Ha{constructor(t,r={}){super(t),this.opts=r}toString(t){try{return t.memoizeIntlObject(Intl.NumberFormat,this.opts).format(this.value)}catch(r){return t.reportError(r),this.value.toString(10)}}}class Nl extends Ha{constructor(t,r={}){super(t),this.opts=r}toString(t){try{return t.memoizeIntlObject(Intl.DateTimeFormat,this.opts).format(this.value)}catch(r){return t.reportError(r),new Date(this.value).toISOString()}}}const Eu=100,nv="\u2068",Uh="\u2069";function wg(x,t,r){return r===t||r instanceof ul&&t instanceof ul&&r.value===t.value||t instanceof ul&&"string"==typeof r&&r===x.memoizeIntlObject(Intl.PluralRules,t.opts).select(t.value)}function Pd(x,t,r){return t[r]?$u(x,t[r].value):(x.reportError(new RangeError("No default")),new vs)}function Ql(x,t){const r=[],d=Object.create(null);for(const p of t)"narg"===p.type?d[p.name]=ha(x,p.value):r.push(ha(x,p));return{positional:r,named:d}}function ha(x,t){switch(t.type){case"str":return t.value;case"num":return new ul(t.value,{minimumFractionDigits:t.precision});case"var":return function x0(x,{name:t}){let r;if(x.params){if(!Object.prototype.hasOwnProperty.call(x.params,t))return new vs(`$${t}`);r=x.params[t]}else{if(!x.args||!Object.prototype.hasOwnProperty.call(x.args,t))return x.reportError(new ReferenceError(`Unknown variable: $${t}`)),new vs(`$${t}`);r=x.args[t]}if(r instanceof Ha)return r;switch(typeof r){case"string":return r;case"number":return new ul(r);case"object":if(r instanceof Date)return new Nl(r.getTime());default:return x.reportError(new TypeError(`Variable type not supported: $${t}, ${typeof r}`)),new vs(`$${t}`)}}(x,t);case"mesg":return function Cg(x,{name:t,attr:r}){const d=x.bundle._messages.get(t);if(!d)return x.reportError(new ReferenceError(`Unknown message: ${t}`)),new vs(t);if(r){const p=d.attributes[r];return p?$u(x,p):(x.reportError(new ReferenceError(`Unknown attribute: ${r}`)),new vs(`${t}.${r}`))}return d.value?$u(x,d.value):(x.reportError(new ReferenceError(`No value: ${t}`)),new vs(t))}(x,t);case"term":return function jh(x,{name:t,attr:r,args:d}){const p=`-${t}`,m=x.bundle._terms.get(p);if(!m)return x.reportError(new ReferenceError(`Unknown term: ${p}`)),new vs(p);if(r){const w=m.attributes[r];if(w){x.params=Ql(x,d).named;const M=$u(x,w);return x.params=null,M}return x.reportError(new ReferenceError(`Unknown attribute: ${r}`)),new vs(`${p}.${r}`)}x.params=Ql(x,d).named;const v=$u(x,m.value);return x.params=null,v}(x,t);case"func":return function M0(x,{name:t,args:r}){let d=x.bundle._functions[t];if(!d)return x.reportError(new ReferenceError(`Unknown function: ${t}()`)),new vs(`${t}()`);if("function"!=typeof d)return x.reportError(new TypeError(`Function ${t}() is not callable`)),new vs(`${t}()`);try{let p=Ql(x,r);return d(p.positional,p.named)}catch(p){return x.reportError(p),new vs(`${t}()`)}}(x,t);case"select":return function Eg(x,{selector:t,variants:r,star:d}){let p=ha(x,t);
vendor: 3,193 bytes, line 3
3if(p instanceof vs)return Pd(x,r,d);for(const m of r)if(wg(x,p,ha(x,m.key)))return $u(x,m.value);return Pd(x,r,d)}(x,t);default:return new vs}}function lh(x,t){if(x.dirty.has(t))return x.reportError(new RangeError("Cyclic reference")),new vs;x.dirty.add(t);const r=[],d=x.bundle._useIsolating&&t.length>1;for(const p of t)if("string"!=typeof p){if(x.placeables++,x.placeables>Eu)throw x.dirty.delete(t),new RangeError(`Too many placeables expanded: ${x.placeables}, max allowed is ${Eu}`);d&&r.push(nv),r.push(ha(x,p).toString(x)),d&&r.push(Uh)}else r.push(x.bundle._transform(p));return x.dirty.delete(t),r.join("")}function $u(x,t){return"string"==typeof t?x.bundle._transform(t):lh(x,t)}class Vh{constructor(t,r,d){this.dirty=new WeakSet,this.params=null,this.placeables=0,this.bundle=t,this.errors=r,this.args=d}reportError(t){if(!(this.errors&&t instanceof Error))throw t;this.errors.push(t)}memoizeIntlObject(t,r){let d=this.bundle._intls.get(t);d||(d={},this.bundle._intls.set(t,d));let p=JSON.stringify(r);return d[p]||(d[p]=new t(this.bundle.locales,r)),d[p]}}function ru(x,t){const r=Object.create(null);for(const[d,p]of Object.entries(x))t.includes(d)&&(r[d]=p.valueOf());return r}const dh=["unitDisplay","currencyDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"];function kg(x,t){let r=x[0];if(r instanceof vs)return new vs(`NUMBER(${r.valueOf()})`);if(r instanceof ul)return new ul(r.valueOf(),{...r.opts,...ru(t,dh)});if(r instanceof Nl)return new ul(r.valueOf(),{...ru(t,dh)});throw new TypeError("Invalid argument to NUMBER")}const Sg=["dateStyle","timeStyle","fractionalSecondDigits","dayPeriod","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function A0(x,t){let r=x[0];if(r instanceof vs)return new vs(`DATETIME(${r.valueOf()})`);if(r instanceof Nl)return new Nl(r.valueOf(),{...r.opts,...ru(t,Sg)});if(r instanceof ul)return new Nl(r.valueOf(),{...ru(t,Sg)});throw new TypeError("Invalid argument to DATETIME")}const T0=new Map;class O0{constructor(t,{functions:r,useIsolating:d=!0,transform:p=m=>m}={}){this._terms=new Map,this._messages=new Map,this.locales=Array.isArray(t)?t:[t],this._functions={NUMBER:kg,DATETIME:A0,...r},this._useIsolating=d,this._transform=p,this._intls=function $f(x){const t=Array.isArray(x)?x.join(" "):x;let r=T0.get(t);return void 0===r&&(r=new Map,T0.set(t,r)),r}(t)}hasMessage(t){return this._messages.has(t)}getMessage(t){return this._messages.get(t)}addResource(t,{allowOverrides:r=!1}={}){const d=[];for(let p=0;p<t.body.length;p++){let m=t.body[p];if(m.id.startsWith("-")){if(!1===r&&this._terms.has(m.id)){d.push(new Error(`Attempt to override an existing term: "${m.id}"`));continue}this._terms.set(m.id,m)}else{if(!1===r&&this._messages.has(m.id)){d.push(new Error(`Attempt to override an existing message: "${m.id}"`));continue}this._messages.set(m.id,m)}}return d}formatPattern(t,r=null,d=null){if("string"==typeof t)return this._transform(t);let p=new Vh(this,d,r);try{return lh(p,t).toString(p)}catch(m){if(p.errors&&m instanceof Error)return p.errors.push(m),(new vs).toString(p);throw m}}}
vendor: 3,535 bytes, line 3
3const zh=/^(-?[a-zA-Z][\w-]*) *= */gm,Dg=/\.([a-zA-Z][\w-]*) *= */y,P0=/\*?\[/y,xg=/(-?[0-9]+(?:\.([0-9]+))?)/y,Hf=/([a-zA-Z][\w-]*)/y,$h=/([$-])?([a-zA-Z][\w-]*)(?:\.([a-zA-Z][\w-]*))?/y,Rc=/^[A-Z][A-Z0-9_-]*$/,Wf=/([^{}\n\r]+)/y,Gf=/([^\\"\n\r]*)/y,Mg=/\\([\\"])/y,Hh=/\\u([a-fA-F0-9]{4})|\\U([a-fA-F0-9]{6})/y,I0=/^\n+/,Wh=/ +$/,Ag=/ *\r?\n/g,Hu=/( *)$/,iv=/{\s*/y,Kf=/\s*}/y,Wu=/\[\s*/y,rv=/\s*] */y,su=/\s*\(\s*/y,fd=/\s*->\s*/y,Gh=/\s*:\s*/y,Tg=/\s*,?\s*/y,N0=/\s+/y;class HC{constructor(t){this.body=[],zh.lastIndex=0;let r=0;for(;;){let dn=zh.exec(t);if(null===dn)break;r=zh.lastIndex;try{this.body.push(M(dn[1]))}catch(Tn){if(Tn instanceof SyntaxError)continue;throw Tn}}function d(dn){return dn.lastIndex=r,dn.test(t)}function p(dn,Tn){if(t[r]===dn)return r++,!0;if(Tn)throw new Tn(`Expected ${dn}`);return!1}function m(dn,Tn){if(d(dn))return r=dn.lastIndex,!0;if(Tn)throw new Tn(`Expected ${dn.toString()}`);return!1}function v(dn){dn.lastIndex=r;let Tn=dn.exec(t);if(null===Tn)throw new SyntaxError(`Expected ${dn.toString()}`);return r=dn.lastIndex,Tn}function w(dn){return v(dn)[1]}function M(dn){let Tn=K(),ui=function $(){let dn=Object.create(null);for(;d(Dg);){let Tn=w(Dg),ui=K();if(null===ui)throw new SyntaxError("Expected attribute value");dn[Tn]=ui}return dn}();if(null===Tn&&0===Object.keys(ui).length)throw new SyntaxError("Expected message value or attributes");return{id:dn,value:Tn,attributes:ui}}function K(){let dn;if(d(Wf)&&(dn=w(Wf)),"{"===t[r]||"}"===t[r])return re(dn?[dn]:[],1/0);let Tn=An();return Tn?dn?re([dn,Tn],Tn.length):(Tn.value=Zn(Tn.value,I0),re([Tn],Tn.length)):dn?Zn(dn,Wh):null}function re(dn=[],Tn){for(;;){if(d(Wf)){dn.push(w(Wf));continue}if("{"===t[r]){dn.push(me());continue}if("}"===t[r])throw new SyntaxError("Unbalanced closing brace");let Vs=An();if(!Vs)break;dn.push(Vs),Tn=Math.min(Tn,Vs.length)}let ui=dn.length-1,Ps=dn[ui];"string"==typeof Ps&&(dn[ui]=Zn(Ps,Wh));let Is=[];for(let Vs of dn)Vs instanceof Xf&&(Vs=Vs.value.slice(0,Vs.value.length-Tn)),Vs&&Is.push(Vs);return Is}function me(){m(iv,SyntaxError);let dn=Ue();if(m(Kf))return dn;if(m(fd)){let Tn=function It(){let ui,dn=[],Tn=0;for(;d(P0);){p("*")&&(ui=Tn);let Ps=St(),Is=K();if(null===Is)throw new SyntaxError("Expected variant value");dn[Tn++]={key:Ps,value:Is}}if(0===Tn)return null;if(void 0===ui)throw new SyntaxError("Expected default variant");return{variants:dn,star:ui}}();return m(Kf,SyntaxError),{type:"select",selector:dn,...Tn}}throw new SyntaxError("Unclosed placeable")}function Ue(){if("{"===t[r])return me();if(d($h)){let[,dn,Tn,ui=null]=v($h);if("$"===dn)return{type:"var",name:Tn};if(m(su)){let Ps=function Qe(){let dn=[];for(;;){switch(t[r]){case")":return r++,dn;case void 0:throw new SyntaxError("Unclosed argument list")}dn.push(gt()),m(Tg)}}();if("-"===dn)return{type:"term",name:Tn,attr:ui,args:Ps};if(Rc.test(Tn))return{type:"func",name:Tn,args:Ps};throw new SyntaxError("Function names must be all upper-case")}return"-"===dn?{type:"term",name:Tn,attr:ui,args:[]}:{type:"mesg",name:Tn,attr:ui}}return Jt()}function gt(){let dn=Ue();return"mesg"!==dn.type?dn:m(Gh)?{type:"narg",name:dn.name,value:Jt()}:dn}function St(){let dn;return m(Wu,SyntaxError),dn=d(xg)?un():{type:"str",value:w(Hf)},m(rv,SyntaxError),dn}function Jt(){if(d(xg))return un();if('"'===t[r])return function fn(){p('"',SyntaxError);let dn="";for(;;){if(dn+=w(Gf),"\\"!==t[r]){if(p('"'))return{type:"str",value:dn};throw new SyntaxError("Unclosed string literal")}dn+=pn()}}();throw new SyntaxError("Invalid expression")}
3function un(){let[,dn,Tn=""]=v(xg),ui=Tn.length;return{type:"num",value:parseFloat(dn),precision:ui}}function pn(){if(d(Mg))return w(Mg);if(d(Hh)){let[,dn,Tn]=v(Hh),ui=parseInt(dn||Tn,16);return ui<=55295||57344<=ui?String.fromCodePoint(ui):"\ufffd"}throw new SyntaxError("Unknown escape sequence")}function An(){let dn=r;switch(m(N0),t[r]){case".":case"[":case"*":case"}":case void 0:return!1;case"{":return Xn(t.slice(dn,r))}return" "===t[r-1]&&Xn(t.slice(dn,r))}function Zn(dn,Tn){return dn.replace(Tn,"")}function Xn(dn){let Tn=dn.replace(Ag,"\n"),ui=Hu.exec(dn)[1].length;return new Xf(Tn,ui)}}}class Xf{constructor(t,r){this.value=t,this.length=r}}const Yf=/<|&#?\w+;/,sv={"http://www.w3.org/1999/xhtml":["em","strong","small","s","cite","q","dfn","abbr","data","time","code","var","samp","kbd","sub","sup","i","b","u","mark","bdi","bdo","span","br","wbr"]},fa={"http://www.w3.org/1999/xhtml":{global:["title","aria-label","aria-valuetext"],a:["download"],area:["download","alt"],input:["alt","placeholder"],menuitem:["label"],menu:["label"],optgroup:["label"],option:["label"],track:["label"],img:["alt"],textarea:["placeholder"],th:["abbr"]},"http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul":{global:["accesskey","aria-label","aria-valuetext","label","title","tooltiptext"],description:["value"],key:["key","keycode"],label:["value"],textbox:["placeholder","value"]}};function ov(x,t){const{value:r}=t;if("string"==typeof r)if("title"===x.localName&&"http://www.w3.org/1999/xhtml"===x.namespaceURI)x.textContent=r;else if(Yf.test(r)){const d=x.ownerDocument.createElementNS("http://www.w3.org/1999/xhtml","template");d.innerHTML=r,function Og(x,t){for(const r of x.childNodes)if(r.nodeType!==r.TEXT_NODE){if(r.hasAttribute("data-l10n-name")){const d=Pg(t,r);x.replaceChild(d,r);continue}if(Ig(r)){const d=B0(r);x.replaceChild(d,r);continue}console.warn(`An element of forbidden type "${r.localName}" was found in the translation. Only safe text-level elements and elements with data-l10n-name are allowed.`),x.replaceChild(qf(r),r)}t.textContent="",t.appendChild(x)}(d.content,x)}else x.textContent=r;R0(t,x)}function av(x,t){if(!x)return!1;for(let r of x)if(r.name===t)return!0;return!1}function R0(x,t){const r=t.hasAttribute("data-l10n-attrs")?t.getAttribute("data-l10n-attrs").split(",").map(d=>d.trim()):null;for(const d of Array.from(t.attributes))L0(d.name,t,r)&&!av(x.attributes,d.name)&&t.removeAttribute(d.name);if(x.attributes)for(const d of Array.from(x.attributes))L0(d.name,t,r)&&t.getAttribute(d.name)!==d.value&&t.setAttribute(d.name,d.value)}function Pg(x,t){const r=t.getAttribute("data-l10n-name"),d=x.querySelector(`[data-l10n-name="${r}"]`);return d?d.localName!==t.localName?(console.warn(`An element named "${r}" was found in the translation but its type ${t.localName} didn't match the element found in the source (${d.localName}).`),qf(t)):(x.removeChild(d),U0(t,d.cloneNode(!1))):(console.warn(`An element named "${r}" wasn't found in the source.`),qf(t))}function B0(x){const t=x.ownerDocument.createElement(x.localName);return U0(x,t)}function qf(x){return x.ownerDocument.createTextNode(x.textContent)}function Ig(x){const t=sv[x.namespaceURI];return t&&t.includes(x.localName)}function L0(x,t,r=null){if(r&&r.includes(x))return!0;const d=fa[t.namespaceURI];if(!d)return!1;const p=x.toLowerCase(),m=t.localName;if(d.global.includes(p))return!0;if(!d[m])return!1;if(d[m].includes(p))return!0;if("http://www.w3.org/1999/xhtml"===t.namespaceURI&&"input"===m&&"value"===p){const v=t.type.toLowerCase();if("submit"===v||"button"===v||"reset"===v)return!0}return!1}function U0(x,t){return t.textContent=x.textContent,R0(x,t),t}class Ng extends Array{static from(t){return t instanceof this?t:new this(t)}}Symbol;class ou extends Ng{constructor(t){if(super(),Symbol.asyncIterator in Object(t))this.iterator=t[Symbol.asyncIterator]();else{if(!(Symbol.iterator in Object(t)))throw new TypeError("Argument must implement the iteration protocol.");this.iterator=t[Symbol.iterator]()}}[Symbol.asyncIterator](){const t=this;let r=0;return{next:()=>(0,A.A)(function*(){return t.length<=r&&t.push(t.iterator.next()),t[r++]})()}}touchNext(){var t=this;return(0,A.A)(function*(r=1){let d=0;for(;d++<r;){const p=t[t.length-1];if(p&&(yield p).done)break;t.push(t.iterator.next())}return t[t.length-1]}).apply(this,arguments)}}class cv{constructor(t=[],r){this.resourceIds=t,this.generateBundles=r,this.onChange(!0)}
3addResourceIds(t,r=!1){return this.resourceIds.push(...t),this.onChange(r),this.resourceIds.length}removeResourceIds(t){return this.resourceIds=this.resourceIds.filter(r=>!t.includes(r)),this.onChange(),this.resourceIds.length}formatWithFallback(t,r){var d=this;return(0,A.A)(function*(){const p=[];let m=!1;var M,v=!1,w=!1;try{for(var K,$=function Mo(x){var t,r,d,p=2;for(typeof Symbol<"u"&&(r=Symbol.asyncIterator,d=Symbol.iterator);p--;){if(r&&null!=(t=x[r]))return t.call(x);if(d&&null!=(t=x[d]))return new ol(t.call(x));r="@@asyncIterator",d="@@iterator"}throw new TypeError("Object is not async iterable")}(d.bundles);v=!(K=yield $.next()).done;v=!1){const re=K.value;{m=!0;const me=lv(r,re,t,p);if(0===me.size)break;if(typeof console<"u"){const Ue=re.locales[0],Qe=Array.from(me).join(", ");console.warn(`[fluent] Missing translations in ${Ue}: ${Qe}`)}}}}catch(re){w=!0,M=re}finally{try{v&&null!=$.return&&(yield $.return())}finally{if(w)throw M}}return!m&&typeof console<"u"&&console.warn(`[fluent] Request for keys failed because no resource bundles got generated.\n  keys: ${JSON.stringify(t)}.\n  resourceIds: ${JSON.stringify(d.resourceIds)}.`),p})()}formatMessages(t){return this.formatWithFallback(t,GC)}formatValues(t){return this.formatWithFallback(t,j0)}formatValue(t,r){var d=this;return(0,A.A)(function*(){const[p]=yield d.formatValues([{id:t,args:r}]);return p})()}handleEvent(){this.onChange()}onChange(t=!1){this.bundles=ou.from(this.generateBundles(this.resourceIds)),t&&this.bundles.touchNext(2)}}function j0(x,t,r,d){return r.value?x.formatPattern(r.value,d,t):null}function GC(x,t,r,d){const p={value:null,attributes:null};r.value&&(p.value=x.formatPattern(r.value,d,t));let m=Object.keys(r.attributes);if(m.length>0){p.attributes=new Array(m.length);for(let[v,w]of m.entries()){let M=x.formatPattern(r.attributes[w],d,t);p.attributes[v]={name:w,value:M}}}return p}function lv(x,t,r,d){const p=[],m=new Set;return r.forEach(({id:v,args:w},M)=>
3{if(void 0!==d[M])return;let $=t.getMessage(v);if($){if(p.length=0,d[M]=x(t,p,$,w),p.length>0&&typeof console<"u"){const K=t.locales[0],re=p.join(", ");console.warn(`[fluent][resolver] errors in ${K}/${v}: ${re}.`)}}else m.add(v)}),m}const ku="data-l10n-id",Kh="data-l10n-args",dv=`[${ku}]`;class uv extends cv{constructor(t,r){super(t,r),this.roots=new Set,this.pendingrAF=null,this.pendingElements=new Set,this.windowElement=null,this.mutationObserver=null,this.observerConfig={attributes:!0,characterData:!1,childList:!0,subtree:!0,attributeFilter:[ku,Kh]}}onChange(t=!1){super.onChange(t),this.roots&&this.translateRoots()}setAttributes(t,r,d){return t.setAttribute(ku,r),d?t.setAttribute(Kh,JSON.stringify(d)):t.removeAttribute(Kh),t}getAttributes(t){return{id:t.getAttribute(ku),args:JSON.parse(t.getAttribute(Kh)||null)}}connectRoot(t){for(const r of this.roots)if(r===t||r.contains(t)||t.contains(r))throw new Error("Cannot add a root that overlaps with existing root.");if(this.windowElement){if(this.windowElement!==t.ownerDocument.defaultView)throw new Error("Cannot connect a root:\n          DOMLocalization already has a root from a different window.")}else this.windowElement=t.ownerDocument.defaultView,this.mutationObserver=new this.windowElement.MutationObserver(r=>this.translateMutations(r));this.roots.add(t),this.mutationObserver.observe(t,this.observerConfig)}disconnectRoot(t){return this.roots.delete(t),this.pauseObserving(),0===this.roots.size?(this.mutationObserver=null,this.windowElement&&this.pendingrAF&&this.windowElement.cancelAnimationFrame(this.pendingrAF),this.windowElement=null,this.pendingrAF=null,this.pendingElements.clear(),!0):(this.resumeObserving(),!1)}translateRoots(){const t=Array.from(this.roots);return Promise.all(t.map(r=>this.translateFragment(r)))}pauseObserving(){this.mutationObserver&&(this.translateMutations(this.mutationObserver.takeRecords()),this.mutationObserver.disconnect())}resumeObserving(){if(this.mutationObserver)for(const t of this.roots)this.mutationObserver.observe(t,this.observerConfig)}translateMutations(t){for(const r of t)switch(r.type){case"attributes":r.target.hasAttribute("data-l10n-id")&&this.pendingElements.add(r.target);break;case"childList":for(const d of r.addedNodes)if(d.nodeType===d.ELEMENT_NODE)if(d.childElementCount)for(const p of this.getTranslatables(d))this.pendingElements.add(p);else d.hasAttribute(ku)&&this.pendingElements.add(d)}this.pendingElements.size>0&&null===this.pendingrAF&&(this.pendingrAF=this.windowElement.requestAnimationFrame(()=>{this.translateElements(Array.from(this.pendingElements)),this.pendingElements.clear(),this.pendingrAF=null}))}translateFragment(t){return this.translateElements(this.getTranslatables(t))}translateElements(t){var r=this;return(0,A.A)(function*(){if(!t.length)return;const d=t.map(r.getKeysForElement),p=yield r.formatMessages(d);return r.applyTranslations(t,p)})()}applyTranslations(t,r){this.pauseObserving();for(let d=0;d<t.length;d++)void 0!==r[d]&&ov(t[d],r[d]);this.resumeObserving()}getTranslatables(t){const r=Array.from(t.querySelectorAll(dv));return"function"==typeof t.hasAttribute&&t.hasAttribute(ku)&&r.push(t),r}getKeysForElement(t){return{id:t.getAttribute(ku),args:JSON.parse(t.getAttribute(Kh)||null)}}}class au{#e;#t;#n;#i;constructor({lang:t,isRTL:r},d=null){this.#n=au.#r(t),this.#i=d,this.#e=r??au.#s(this.#n)?"rtl":"ltr"}_setL10n(t){this.#i=t}getLanguage(){return this.#n}getDirection(){return this.#e}get(t){var r=this;return(0,A.A)(function*(d,p=null,m){return Array.isArray(d)?(d=d.map(M=>({id:M})),(yield r.#i.formatMessages(d)).map(M=>M.value)):(yield r.#i.formatMessages([{id:d,args:p}]))[0]?.value||m}).apply(this,arguments)}translate(t){var r=this;return(0,A.A)(function*(){(r.#t||=new Set).add(t);try{r.#i.connectRoot(t),yield r.#i.translateRoots()}catch{}})()}translateOnce(t){var r=this;return(0,A.A)(function*(){try{yield r.#i.translateElements([t])}catch(d){console.error(`translateOnce: "${d}".`)}})()}destroy(){var t=this;return(0,A.A)(function*(){if(t.#t){for(const r of t.#t)t.#i.disconnectRoot(r);t.#t.clear(),t.#t=null}t.#i.pauseObserving()})()}pause(){this.#i.pauseObserving()}resume(){this.#i.resumeObserving()}static#r(t){return{en:"en-us",es:"es-es",fy:"fy-nl",ga:"ga-ie",gu:"gu-in",hi:"hi-in",hy:"hy-am",nb:"nb-no",ne:"ne-np",nn:"nn-no",pa:"pa-in",pt:"pt-pt",sv:"sv-se",zh:"zh-cn"}[t=t?.toLowerCase()||"en-us"]||t}static#s(t){const r=t.split("-",1)[0];return["ar","he","fa","ps","ur"].includes(r)}}function Rg(x,t){const r=new HC(t),d=new O0(x),p=d.addResource(r);return p.length&&console.error("L10n errors",p),d}class cu extends au{constructor(t){super({lang:t});const r=t?cu.#e.bind(cu,"en-us",this.getLanguage()):cu.#i.bind(cu,this.getLanguage());this._setL10n(new uv([],r))}static#e(t,r){var d=this;return Qo(function*(){const{baseURL:p,paths:m}=yield Pc(d.#n()),v=[r];if(t!==r){const w=r.split("-",1)[0];w!==r&&v.push(w),v.push(t)}for(const w of v){const M=yield Pc(d.#t(w,p,m));M?yield M:"en-us"===w&&(yield d.#r(w))}})()}static#t(t,r,d){return(0,A.A)(function*(){const p=d[t];if(!p)return null;const m=new URL(p,r),v=yield dt(m,"text");return Rg(t,v)})()}static#n(){return(0,A.A)(function*(){try{const{href:t}=document.querySelector('link[type="application/l10n"]'),r=yield dt(t,"json");return{baseURL:t.replace(/[^/]*$/,"")||"./",paths:r}}catch{}return{baseURL:"./",paths:Object.create(null)}})()}static#i(t){var r=this;return Qo(function*(){yield r.#r(t)})()}static#r(t){return(0,A.A)(function*(){return Rg(t,'pdfjs-previous-button =\n    .title = Previous Page\npdfjs-previous-button-label = Previous\npdfjs-next-button =\n    .title = Next Page\npdfjs-next-button-label = Next\npdfjs-page-input =\n    .title = Page\npdfjs-of-pages = of { $pagesCount }\npdfjs-page-of-pages = ({ $pageNumber } of { $pagesCount })\npdfjs-zoom-out-button =\n    .title = Zoom Out\npdfjs-zoom-out-button-label = Zoom Out\npdfjs-zoom-in-button =\n    .title = Zoom In\npdfjs-zoom-in-button-label = Zoom In\npdfjs-zoom-select =\n    .title = Zoom\npdfjs-presentation-mode-button =\n    .title = Switch to Presentation Mode\npdfjs-presentation-mode-button-label = Presentation Mode\npdfjs-open-file-button =\n    .title = Open File\npdfjs-open-file-button-label = Open\npdfjs-print-button =\n    .title = Print\npdfjs-print-button-label = Print\npdfjs-save-button =\n    .title = Save\npdfjs-save-button-label = Save\npdfjs-download-button =\n    .title = Download\npdfjs-download-button-label = Download\npdfjs-bookmark-button =\n    .title = Current Page (View URL from Current Page)\npdfjs-bookmark-button-label = Current Page\npdfjs-tools-button =\n    .title = Tools\npdfjs-tools-button-label = Tools\npdfjs-first-page-button =\n    .title = Go to First Page\npdfjs-first-page-button-label = Go to First Page\npdfjs-last-page-button =\n    .title = Go to Last Page\npdfjs-last-page-button-label = Go to Last Page\npdfjs-page-rotate-cw-button =\n    .title = Rotate Clockwise\npdfjs-page-rotate-cw-button-label = Rotate Clockwise\npdfjs-page-rotate-ccw-button =\n    .title = Rotate Counterclockwise\npdfjs-page-rotate-ccw-button-label = Rotate Counterclockwise\npdfjs-cursor-text-select-tool-button =\n    .title = Enable Text Selection Tool\npdfjs-cursor-text-select-tool-button-label = Text Selection Tool\npdfjs-cursor-hand-tool-button =\n    .title = Enable Hand Tool\npdfjs-cursor-hand-tool-button-label = Hand Tool\npdfjs-scroll-page-button =\n    .title = Use Page Scrolling\npdfjs-scroll-page-button-label = Page Scrolling\npdfjs-scroll-vertical-button =\n    .title = Use Vertical Scrolling\npdfjs-scroll-vertical-button-label = Vertical Scrolling\npdfjs-scroll-horizontal-button =\n    .title = Use Horizontal Scrolling\npdfjs-scroll-horizontal-button-label = Horizontal Scrolling\npdfjs-scroll-wrapped-button =\n    .title = Use Wrapped Scrolling\npdfjs-scroll-wrapped-button-label = Wrapped Scrolling\npdfjs-spread-none-button =\n    .title = Do not join page spreads\npdfjs-spread-none-button-label = No Spreads\npdfjs-spread-odd-button =\n    .title = Join page spreads starting with odd-numbered pages\npdfjs-spread-odd-button-label = Odd Spreads\npdfjs-spread-even-button =\n    .title = Join page spreads starting with even-numbered pages\npdfjs-spread-even-button-label = Even Spreads\npdfjs-document-properties-button =\n    .title = Document Properties\u2026\npdfjs-document-properties-button-label = Document Properties\u2026\npdfjs-document-properties-file-name = File name:\npdfjs-document-properties-file-size = File size:\npdfjs-document-properties-size-kb = { NUMBER($kb, maximumSignificantDigits: 3) } KB ({ $b } bytes)\npdfjs-document-properties-size-mb = { NUMBER($mb, maximumSignificantDigits: 3) } MB ({ $b } bytes)\npdfjs-document-properties-title = Title:\npdfjs-document-properties-author = Author:\npdfjs-document-properties-subject = Subject:\npdfjs-document-properties-keywords = Keywords:\npdfjs-document-properties-creation-date = Creation Date:\npdfjs-document-properties-modification-date = Modification Date:\npdfjs-document-properties-date-time-string = { DATETIME($dateObj, dateStyle: "short", timeStyle: "medium") }\npdfjs-document-properties-creator = Creator:\npdfjs-document-properties-producer = PDF Producer:\npdfjs-document-properties-version = PDF Version:\npdfjs-document-properties-page-count = Page Count:\npdfjs-document-properties-page-size = Page Size:\npdfjs-document-properties-page-size-unit-inches = in\npdfjs-document-properties-page-size-unit-millimeters = mm\npdfjs-document-properties-page-size-orientation-portrait = portrait\npdfjs-document-properties-page-size-orientation-landscape = landscape\npdfjs-document-properties-page-size-name-a-three = A3\npdfjs-document-properties-page-size-name-a-four = A4\npdfjs-document-properties-page-size-name-letter = Letter\npdfjs-document-properties-page-size-name-legal = Legal\npdfjs-document-properties-page-size-dimension-string = { $width } \xd7 { $height } { $unit } ({ $orientation })\npdfjs-document-properties-page-size-dimension-name-string = { $width } \xd7 { $height } { $unit } ({ $name }, { $orientation })\npdfjs-document-properties-linearized = Fast Web View:\npdfjs-document-properties-linearized-yes = Yes\npdfjs-document-properties-linearized-no = No\npdfjs-document-properties-close-button = Close\npdfjs-print-progress-message = Preparing document for printing\u2026\npdfjs-print-progress-percent = { $progress }%\npdfjs-print-progress-close-button = Cancel\npdfjs-printing-not-supported = Warning: Printing is not fully supported by this browser.\npdfjs-printing-not-ready = Warning: The PDF is not fully loaded for printing.\npdfjs-toggle-sidebar-button =\n    .title = Toggle Sidebar\npdfjs-toggle-sidebar-notification-button =\n    .title = Toggle Sidebar (document contains outline/attachments/layers)\npdfjs-toggle-sidebar-button-label = Toggle Sidebar\npdfjs-document-outline-button =\n    .title = Show Document Outline (double-click to expand/collapse all items)\npdfjs-document-outline-button-label = Document Outline\npdfjs-attachments-button =\n    .title = Show Attachments\npdfjs-attachments-button-label = Attachments\npdfjs-layers-button =\n    .title = Show Layers (double-click to reset all layers to the default state)\npdfjs-layers-button-label = Layers\npdfjs-thumbs-button =\n    .title = Show Thumbnails\npdfjs-thumbs-button-label = Thumbnails\npdfjs-current-outline-item-button =\n    .title = Find Current Outline Item\npdfjs-current-outline-item-button-label = Current Outline Item\npdfjs-findbar-button =\n    .title = Find in Document\npdfjs-findbar-button-label = Find\npdfjs-additional-layers = Additional Layers\npdfjs-thumb-page-title =\n    .title = Page { $page }\npdfjs-thumb-page-canvas =\n    .aria-label = Thumbnail of Page { $page }\npdfjs-find-input =\n    .title = Find\n    .placeholder = Find in document\u2026\npdfjs-find-previous-button =\n    .title = Find the previous occurrence of the phrase\npdfjs-find-previous-button-label = Previous\npdfjs-find-next-button =\n    .title = Find the next occurrence of the phrase\npdfjs-find-next-button-label = Next\npdfjs-find-highlight-checkbox = Highlight All\npdfjs-find-match-case-checkbox-label = Match Case\npdfjs-find-match-diacritics-checkbox-label = Match Diacritics\npdfjs-find-entire-word-checkbox-label = Whole Words\npdfjs-find-reached-top = Reached top of document, continued from bottom\npdfjs-find-reached-bottom = Reached end of document, continued from top\npdfjs-find-match-count =\n    { $total ->\n        [one] { $current } of { $total } match\n       *[other] { $current } of { $total } matches\n    }\npdfjs-find-match-count-limit =\n    { $limit ->\n        [one] More than { $limit } match\n       *[other] More than { $limit } matches\n    }\npdfjs-find-not-found = Phrase not found\npdfjs-page-scale-width = Page Width\npdfjs-page-scale-fit = Page Fit\npdfjs-page-scale-auto = Automatic Zoom\npdfjs-page-scale-actual = Actual Size\npdfjs-page-scale-percent = { $scale }%\npdfjs-page-landmark =\n    .aria-label = Page { $page }\npdfjs-loading-error = An error occurred while loading the PDF.\npdfjs-invalid-file-error = Invalid or corrupted PDF file.\npdfjs-missing-file-error = Missing PDF file.\npdfjs-unexpected-response-error = Unexpected server response.\npdfjs-rendering-error = An error occurred while rendering the page.\npdfjs-annotation-date-time-string = { DATETIME($dateObj, dateStyle: "short", timeStyle: "medium") }\npdfjs-text-annotation-type =\n    .alt = [{ $type } Annotation]\npdfjs-password-label = Enter the password to open this PDF file.\npdfjs-password-invalid = Invalid password. Please try again.\npdfjs-password-ok-button = OK\npdfjs-password-cancel-button = Cancel\npdfjs-web-fonts-disabled = Web fonts are disabled: unable to use embedded PDF fonts.\npdfjs-editor-free-text-button =\n    .title = Text\npdfjs-editor-free-text-button-label = Text\npdfjs-editor-ink-button =\n    .title = Draw\npdfjs-editor-ink-button-label = Draw\npdfjs-editor-stamp-button =\n    .title = Add or edit images\npdfjs-editor-stamp-button-label = Add or edit images\npdfjs-editor-highlight-button =\n    .title = Highlight\npdfjs-editor-highlight-button-label = Highlight\npdfjs-highlight-floating-button1 =\n    .title = Highlight\n    .aria-label = Highlight\npdfjs-highlight-floating-button-label = Highlight\npdfjs-editor-remove-ink-button =\n    .title = Remove drawing\npdfjs-editor-remove-freetext-button =\n    .title = Remove text\npdfjs-editor-remove-stamp-button =\n    .title = Remove image\npdfjs-editor-remove-highlight-button =\n    .title = Remove highlight\npdfjs-editor-free-text-color-input = Color\npdfjs-editor-free-text-size-input = Size\npdfjs-editor-ink-color-input = Color\npdfjs-editor-ink-thickness-input = Thickness\npdfjs-editor-ink-opacity-input = Opacity\npdfjs-editor-stamp-add-image-button =\n    .title = Add image\npdfjs-editor-stamp-add-image-button-label = Add image\npdfjs-editor-free-highlight-thickness-input = Thickness\npdfjs-editor-free-highlight-thickness-title =\n    .title = Change thickness when highlighting items other than text\npdfjs-free-text2 =\n    .aria-label = Text Editor\n    .default-content = Start t
3yping\u2026\npdfjs-ink =\n    .aria-label = Draw Editor\npdfjs-ink-canvas =\n    .aria-label = User-created image\npdfjs-editor-alt-text-button =\n    .aria-label = Alt text\npdfjs-editor-alt-text-button-label = Alt text\npdfjs-editor-alt-text-edit-button =\n    .aria-label = Edit alt text\npdfjs-editor-alt-text-dialog-label = Choose an option\npdfjs-editor-alt-text-dialog-description = Alt text (alternative text) helps when people can\u2019t see the image or when it doesn\u2019t load.\npdfjs-editor-alt-text-add-description-label = Add a description\npdfjs-editor-alt-text-add-description-description = Aim for 1-2 sentences that describe the subject, setting, or actions.\npdfjs-editor-alt-text-mark-decorative-label = Mark as decorative\npdfjs-editor-alt-text-mark-decorative-description = This is used for ornamental images, like borders or watermarks.\npdfjs-editor-alt-text-cancel-button = Cancel\npdfjs-editor-alt-text-save-button = Save\npdfjs-editor-alt-text-decorative-tooltip = Marked as decorative\npdfjs-editor-alt-text-textarea =\n    .placeholder = For example, \u201cA young man sits down at a table to eat a meal\u201d\npdfjs-editor-resizer-top-left =\n    .aria-label = Top left corner \u2014 resize\npdfjs-editor-resizer-top-middle =\n    .aria-label = Top middle \u2014 resize\npdfjs-editor-resizer-top-right =\n    .aria-label = Top right corner \u2014 resize\npdfjs-editor-resizer-middle-right =\n    .aria-label = Middle right \u2014 resize\npdfjs-editor-resizer-bottom-right =\n    .aria-label = Bottom right corner \u2014 resize\npdfjs-editor-resizer-bottom-middle =\n    .aria-label = Bottom middle \u2014 resize\npdfjs-editor-resizer-bottom-left =\n    .aria-label = Bottom left corner \u2014 resize\npdfjs-editor-resizer-middle-left =\n    .aria-label = Middle left \u2014 resize\npdfjs-editor-highlight-colorpicker-label = Highlight color\npdfjs-editor-colorpicker-button =\n    .title = Change color\npdfjs-editor-colorpicker-dropdown =\n    .aria-label = Color choices\npdfjs-editor-colorpicker-yellow =\n    .title = Yellow\npdfjs-editor-colorpicker-green =\n    .title = Green\npdfjs-editor-colorpicker-blue =\n    .title = Blue\npdfjs-editor-colorpicker-pink =\n    .title = Pink\npdfjs-editor-colorpicker-red =\n    .title = Red\npdfjs-editor-highlight-show-all-button-label = Show all\npdfjs-editor-highlight-show-all-button =\n    .title = Show all\npdfjs-editor-new-alt-text-dialog-edit-label = Edit alt text (image description)\npdfjs-editor-new-alt-text-dialog-add-label = Add alt text (image description)\npdfjs-editor-new-alt-text-textarea =\n    .placeholder = Write your description here\u2026\npdfjs-editor-new-alt-text-description = Short description for people who can\u2019t see the image or when the image doesn\u2019t load.\npdfjs-editor-new-alt-text-disclaimer1 = This alt text was created automatically and may be inaccurate.\npdfjs-editor-new-alt-text-disclaimer-learn-more-url = Learn more\npdfjs-editor-new-alt-text-create-automatically-button-label = Create alt text automatically\npdfjs-editor-new-alt-text-not-now-button = Not now\npdfjs-editor-new-alt-text-error-title = Couldn\u2019t create alt text automatically\npdfjs-editor-new-alt-text-error-description = Please write your own alt text or try again later.\npdfjs-editor-new-alt-text-error-close-button = Close\npdfjs-editor-new-alt-text-ai-model-downloading-progress = Downloading alt text AI model ({ $downloadedSize } of { $totalSize } MB)\n    .aria-valuetext = Downloading alt text AI model ({ $downloadedSize } of { $totalSize } MB)\npdfjs-editor-new-alt-text-added-button =\n    .aria-label = Alt text added\npdfjs-editor-new-alt-text-added-button-label = Alt text added\npdfjs-editor-new-alt-text-missing-button =\n    .aria-label = Missing alt text\npdfjs-editor-new-alt-text-missing-button-label = Missing alt text\npdfjs-editor-new-alt-text-to-review-button =\n    .aria-label = Review alt text\npdfjs-editor-new-alt-text-to-review-button-label = Review alt text\npdfjs-editor-new-alt-text-generated-alt-text-with-disclaimer = Created automatically: { $generatedAltText }\npdfjs-image-alt-text-settings-button =\n    .title = Image alt text settings\npdfjs-image-alt-text-settings-button-label = Image alt text settings\npdfjs-editor-alt-text-settings-dialog-label = Image alt text settings\npdfjs-editor-alt-text-settings-automatic-title = Automatic alt text\npdfjs-editor-alt-text-settings-create-model-button-label = Create alt text automatically\npdfjs-editor-alt-text-settings-create-model-description = Suggests descriptions to help people who can\u2019t see the image or when the image doesn\u2019t load.\npdfjs-editor-alt-text-settings-download-model-label = Alt text AI model ({ $totalSize } MB)\npdfjs-editor-alt-text-settings-ai-model-description = Runs locally on your device so your data stays private. Required for automatic alt text.\npdfjs-editor-alt-text-settings-delete-model-button = Delete\npdfjs-editor-alt-text-settings-download-model-button = Download\npdfjs-editor-alt-text-settings-downloading-model-button = Downloading\u2026\npdfjs-editor-alt-text-settings-editor-title = Alt text editor\npdfjs-editor-alt-text-settings-show-dialog-button-label = Show alt text editor right away when adding an image\npdfjs-editor-alt-text-settings-show-dialog-description = Helps you make sure all your images have alt text.\npdfjs-editor-alt-text-settings-close-button = Close')})()}}function Xh(){return document.location.hash}class z0{#e=null;constructor({linkService:t,eventBus:r}){this.linkService=t,this.eventBus=r,this._initialized=!1,this._fingerprint="",this.reset(),this.eventBus._on("pagesinit",()=>{this._isPagesLoaded=!1,this.eventBus._on("pagesloaded",d=>{this._isPagesLoaded=!!d.pagesCount},{once:!0})})}initialize({fingerprint:t,resetHistory:r=!1,updateUrl:d=!1}){if(!t||"string"!=typeof t)return void console.error('PDFHistory.initialize: The "fingerprint" must be a non-empty string.');this._initialized&&this.reset();const p=""!==this._fingerprint&&this._fingerprint!==t;this._fingerprint=t,this._updateUrl=!0===d,this._initialized=!0,this.#u();const m=window.history.state;if(this._popStateInProgress=!1,this._blockHashChange=0,this._currentHash=Xh(),this._numPositionUpdates=0,this._uid=this._maxUid=0,this._destination=null,this._position=null,!this.#r(m,!0)||r){const{hash:w,page:M,rotation:$}=this.#c(!0);return!w||p||r?void this.#t(null,!0):void this.#t({hash:w,page:M,rotation:$},!0)}const v=m.destination;this.#s(v,m.uid,!0),void 0!==v.rotation&&(this._initialRotation=v.rotation),v.dest?(this._initialBookmark=JSON.stringify(v.dest),this._destination.page=null):v.hash?this._initialBookmark=v.hash:v.page&&(this._initialBookmark=`page=${v.page}`)}reset(){this._initialized&&(this.#a(),this._initialized=!1,this.#o()),this._updateViewareaTimeout&&(clearTimeout(this._updateViewareaTimeout),this._updateViewareaTimeout=null),this._initialBookmark=null,this._initialRotation=null}push({namedDest:t=null,explicitDest:r,pageNumber:d}){if(!this._initialized)return;if(t&&"string"!=typeof t)return void console.error(`PDFHistory.push: "${t}" is not a valid namedDest parameter.`);if(!Array.isArray(r))return void console.error(`PDFHistory.push: "${r}" is not a valid explicitDest parameter.`);if(!this.#i(d)&&(null!==d||this._destination))return void console.error(`PDFHistory.push: "${d}" is not a valid pageNumber parameter.`);const p=t||JSON.stringify(r);if(!p)return;let m=!1;if(this._destination&&(function Yh(x,t){return"string"==typeof x&&"string"==typeof t&&(x===t||rs(x).get("nameddest")===t)}(this._destination.hash,p)||function qh(x,t){function r(d,p){if(typeof d!=typeof p||Array.isArray(d)||Array.isArray(p))return!1;if(null!==d&&"object"==typeof d&&null!==p){if(Object.keys(d).length!==Object.keys(p).length)return!1;for(const m in d)if(!r(d[m],p[m]))return!1;return!0}return d===p||Number.isNaN(d)&&Number.isNaN(p)}if(!Array.isArray(x)||!Array.isArray(t)||x.length!==t.length)return!1;for(let d=0,p=x.length;d<p;d++)if(!r(x[d],t[d]))return!1;return!0}(this._destination.dest,r))){if(this._destination.page)return;m=!0}this._popStateInProgress&&!m||(this.#t({dest:r,hash:p,page:d,rotation:this.linkService.rotation},m),this._popStateInProgress||(this._popStateInProgress=!0,Promise.resolve().then(()=>{this._popStateInProgress=!1})))}pushPage(t){if(this._initialized){if(!this.#i(t))return void console.error(`PDFHistory.pushPage: "${t}" is not a valid page number.`);this._destination?.page!==t&&(this._popStateInProgress||(this.#t({dest:null,hash:`page=${t}`,page:t,rotation:this.linkService.rotation}),this._popStateInProgress||(this._popStateInProgress=!0,Promise.resolve().then(()=>{this._popStateInProgress=!1}))))}}pushCurrentPosition(){!this._initialized||this._popStateInProgress||this.#n()}back(){if(!this._initialized||this._popStateInProgress)return;const t=window.history.state;this.#r(t)&&t.uid>0&&window.history.back()}forward(){if(!this._initialized||this._popStateInProgress)return;const t=window.history.state;this.#r(t)&&t.uid<this._maxUid&&window.history.forward()}get popStateInProgress(){return this._initialized&&(this._popStateInProgress||this._blockHashChange>0)}get initialBookmark(){return this._initialized?this._initialBookmark:null}get initialRotation(){return this._initialized?this._initialRotation:null}#t(t,r=!1){const d=r||!this._destination,p={fingerprint:this._fingerprint,uid:d?this._uid:this._uid+1,destination:t};let m;if(this.#s(t,p.uid),this._updateUrl&&t?.hash){const v=document.location.href.split("#",1)[0];v.startsWith("file://")||(m=`${v}#${t.hash}`)}d?window.history.replaceState(p,"",m):window.history.pushState(p,"",m)}#n(t=!1){if(!this._position)return;let r=this._position;if(t&&(r=Object.assign(Object.create(null),this._position),r.temporary=!0),!this._destination)return void this.#t(r);if(this._destination.temporary)return void this.#t(r,!0);if(this._destination.hash===r.hash||!this._destination.page&&this._numPositionUpdates<=50)return;let d=!1;if(this._destination.page>=r.first&&this._destination.page<=r.page){if(void 0!==this._destination.dest||!this._destination.first)return;d=!0}this.#t(r,d)}#i(t){return Number.isInteger(t)&&t>0&&t<=this.linkService.pagesCount}#r(t,r=!1){if(!t)return!1;if(t.fingerprint!==this._fingerprint){if(!r)return!1;{if("string"!=typeof t.fingerprint||t.fingerprint.length!==this._fingerprint.length)return!1;const[d]=performance.getEntriesByType("navigation");
3if("reload"!==d?.type)return!1}}return!(!Number.isInteger(t.uid)||t.uid<0||null===t.destination||"object"!=typeof t.destination)}#s(t,r,d=!1){this._updateViewareaTimeout&&(clearTimeout(this._updateViewareaTimeout),this._updateViewareaTimeout=null),d&&t?.temporary&&delete t.temporary,this._destination=t,this._uid=r,this._maxUid=Math.max(this._maxUid,r),this._numPositionUpdates=0}#c(t=!1){const r=unescape(Xh()).substring(1),d=rs(r),p=d.get("nameddest")||"";let m=0|d.get("page");return(!this.#i(m)||t&&p.length>0)&&(m=null),{hash:r,page:m,rotation:this.linkService.rotation}}#l({location:t}){this._updateViewareaTimeout&&(clearTimeout(this._updateViewareaTimeout),this._updateViewareaTimeout=null),this._position={hash:t.pdfOpenParams.substring(1),page:this.linkService.page,first:t.pageNumber,rotation:t.rotation},!this._popStateInProgress&&(this._isPagesLoaded&&this._destination&&!this._destination.page&&this._numPositionUpdates++,this._updateViewareaTimeout=setTimeout(()=>{this._popStateInProgress||this.#n(!0),this._updateViewareaTimeout=null},1e3))}#d({state:t}){const r=Xh(),d=this._currentHash!==r;if(this._currentHash=r,!t){this._uid++;const{hash:m,page:v,rotation:w}=this.#c();return void this.#t({hash:m,page:v,rotation:w},!0)}if(!this.#r(t))return;this._popStateInProgress=!0,d&&(this._blockHashChange++,function bs(x){return Cl.apply(this,arguments)}({target:window,name:"hashchange",delay:1e3}).then(()=>{this._blockHashChange--}));const p=t.destination;this.#s(p,t.uid,!0),Zo(p.rotation)&&(this.linkService.rotation=p.rotation),p.dest?this.linkService.goToDestination(p.dest):p.hash?this.linkService.setHash(p.hash):p.page&&(this.linkService.page=p.page),Promise.resolve().then(()=>{this._popStateInProgress=!1})}#a(){(!this._destination||this._destination.temporary)&&this.#n()}#u(){if(this.#e)return;this.#e=new AbortController;const{signal:t}=this.#e;this.eventBus._on("updateviewarea",this.#l.bind(this),{signal:t}),window.addEventListener("popstate",this.#d.bind(this),{signal:t}),window.addEventListener("pagehide",this.#a.bind(this),{signal:t})}#o(){this.#e?.abort(),this.#e=null}}class $0{#e=null;#t=null;#n=null;#i=null;#r=null;#s;constructor(t){this.pdfPage=t.pdfPage,this.accessibilityManager=t.accessibilityManager,this.l10n=t.l10n,this.l10n||=new cu,this.annotationEditorLayer=null,this.div=null,this._cancelled=!1,this.#s=t.uiManager,this.#e=t.annotationLayer||null,this.#r=t.textLayer||null,this.#t=t.drawLayer||null,this.#n=t.onAppend||null,this.#i=t.structTreeLayer||null}render(t){var r=this;return(0,A.A)(function*(d,p="display"){if("display"!==p||r._cancelled)return;const m=d.clone({dontFlip:!0});if(r.div)return r.annotationEditorLayer.update({viewport:m}),void r.show();const v=r.div=document.createElement("div");v.className="annotationEditorLayer",v.hidden=!0,v.dir=r.#s.direction,r.#n?.(v),r.annotationEditorLayer=new eo({uiManager:r.#s,div:v,structTreeLayer:r.#i,accessibilityManager:r.accessibilityManager,pageIndex:r.pdfPage.pageNumber-1,l10n:r.l10n,viewport:m,annotationLayer:r.#e,textLayer:r.#r,drawLayer:r.#t}),r.annotationEditorLayer.render({viewport:m,div:v,annotations:null,intent:p}),r.show()}).apply(this,arguments)}cancel(){this._cancelled=!0,this.div&&this.annotationEditorLayer.destroy()}hide(){this.div&&(this.div.hidden=!0)}show(){!this.div||this.annotationEditorLayer.isInvisible||(this.div.hidden=!1)}}{var Qh=new Map;const x=navigator.userAgent||"",t=navigator.platform||"",r=navigator.maxTouchPoints||1,d=/Android/.test(x);(/\b(iPad|iPhone|iPod)(?=;)/.test(x)||"MacIntel"===t&&r>1||d)&&Qh.set("maxCanvasPixels",5242880),d&&Qh.set("useSystemFonts",!1)}const Lg={BOOLEAN:1,NUMBER:2,OBJECT:4,STRING:8,UNDEFINED:16},Id={allowedGlobalEvents:{value:null,kind:1},canvasMaxAreaInBytes:{value:-1,kind:5},isInAutomation:{value:!1,kind:1},localeProperties:{value:{lang:navigator.language||"en-US"},kind:1},nimbusDataStr:{value:"",kind:1},supportsCaretBrowsingMode:{value:!1,kind:1},supportsDocumentFonts:{value:!0,kind:1},supportsIntegratedFind:{value:!1,kind:1},supportsMouseWheelZoomCtrlKey:{value:!0,kind:1},supportsMouseWheelZoomMetaKey:{value:!0,kind:1},supportsPinchToZoom:{value:!0,kind:1},toolbarDensity:{value:0,kind:17},altTextLearnMoreUrl:{value:"",kind:130},annotationEditorMode:{value:0,kind:130},annotationMode:{value:2,kind:130},cursorToolOnLoad:{value:0,kind:130},debuggerSrc:{value:"./debugger.mjs",kind:2},defaultZoomDelay:{value:400,kind:130},defaultZoomValue:{value:"",kind:130},disableHistory:{value:!1,kind:2},disablePageLabels:{value:!1,kind:130},enableAltText:{value:!1,kind:130},enableAltTextModelDownload:{value:!0,kind:146},enableGuessAltText:{value:!0,kind:146},enableHighlightFloatingButton:{value:!1,kind:130},enableNewAltTextWhenAddingImage:{value:!0,kind:130},enablePermissions:{value:!1,kind:130},enablePrintAutoRotate:{value:!0,kind:130},enableScripting:{value:!0,kind:130},enableUpdatedAddImage:{value:!1,kind:130},externalLinkRel:{value:"noopener noreferrer nofollow",kind:2},externalLinkTarget:{value:0,kind:130},highlightEditorColors:{value:"yellow=#FFFF98,green=#53FFBC,blue=#80EBFF,pink=#FFCBE6,red=#FF4F5F",kind:130},historyUpdateUrl:{value:!1,kind:130},ignoreDestinationZoom:{value:!1,kind:130},imageResourcesPath:{value:"./images/",kind:2},maxCanvasPixels:{value:2**25,kind:2},forcePageColors:{value:!1,kind:130}
3,pageColorsBackground:{value:"Canvas",kind:130},pageColorsForeground:{value:"CanvasText",kind:130},pdfBugEnabled:{value:!1,kind:130},printResolution:{value:150,kind:2},sidebarViewOnLoad:{value:-1,kind:130},scrollModeOnLoad:{value:-1,kind:130},spreadModeOnLoad:{value:-1,kind:130},textLayerMode:{value:1,kind:130},viewOnLoad:{value:0,kind:130},cMapPacked:{value:!0,kind:4},cMapUrl:{value:"../web/cmaps/",kind:4},disableAutoFetch:{value:!1,kind:132},disableFontFace:{value:!1,kind:132},disableRange:{value:!1,kind:132},disableStream:{value:!1,kind:132},docBaseUrl:{value:"",kind:4},enableHWA:{value:!0,kind:134},enableXfa:{value:!0,kind:132},fontExtraProperties:{value:!1,kind:4},isEvalSupported:{value:!0,kind:4},isOffscreenCanvasSupported:{value:!0,kind:4},maxImageSize:{value:-1,kind:4},pdfBug:{value:!1,kind:4},standardFontDataUrl:{value:"../web/standard_fonts/",kind:4},useSystemFonts:{value:void 0,kind:4,type:Lg.BOOLEAN+Lg.UNDEFINED},verbosity:{value:1,kind:4},workerPort:{value:null,kind:8},workerSrc:{value:"../build/pdf.worker.mjs",kind:8},defaultUrl:{value:"compressed.tracemonkey-pldi-09.pdf",kind:2},sandboxBundleSrc:{value:"../build/pdf.sandbox.mjs",kind:2},viewerCssTheme:{value:0,kind:130},enableFakeMLManager:{value:!0,kind:2},disablePreferences:{value:!1,kind:2}};class H0{static eventBus;static#e=new Map;static{for(const t in Id)this.#e.set(t,Id[t].value);for(const[t,r]of Qh)this.#e.set(t,r);this._hasInvokedSet=!1,this._checkDisablePreferences=()=>!!this.get("disablePreferences")||(this._hasInvokedSet&&console.warn('The Preferences may override manually set AppOptions; please use the "disablePreferences"-option to prevent that.'),!1)}static get(t){return this.#e.get(t)}static getAll(t=null,r=!1){const d=Object.create(null);for(const p in Id){const m=Id[p];t&&!(t&m.kind)||(d[p]=r?m.value:this.#e.get(p))}return d}static set(t,r){this.setAll({[t]:r})}static setAll(t,r=!1){let d;this._hasInvokedSet||=!0;for(const p in t){const m=Id[p],v=t[p];if(!m||!(typeof v==typeof m.value||Lg[(typeof v).toUpperCase()]&m.type))continue;const{kind:w}=m;r&&!(1&w||128&w)||(this.eventBus&&16&w&&(d||=new Map).set(p,v),this.#e.set(p,v))}if(d)for(const[p,m]of d)this.eventBus.dispatch(p.toLowerCase(),{source:this,value:m})}}class Ug{#e=null;constructor(t){this.pageIndex=t.pageIndex}render(){var t=this;return(0,A.A)(function*(r="display"){"display"!==r||t.#e||t._cancelled||(t.#e=new ce({pageIndex:t.pageIndex}))}).apply(this,arguments)}cancel(){this._cancelled=!0,this.#e&&(this.#e.destroy(),this.#e=null)}setParent(t){this.#e?.setParent(t)}getDrawLayer(){return this.#e}}const W0={Document:null,DocumentFragment:null,Part:"group",Sect:"group",Div:"group",Aside:"note",NonStruct:"none",P:null,H:"heading",Title:null,FENote:"note",Sub:"group",Lbl:null,Span:null,Em:null,Strong:null,Link:"link",Annot:"note",Form:"form",Ruby:null,RB:null,RT:null,RP:null,Warichu:null,WT:null,WP:null,L:"list",LI:"listitem",LBody:null,Table:"table",TR:"row",TH:"columnheader",TD:"cell",THead:"columnheader",TBody:null,TFoot:null,Caption:null,Figure:"figure",Formula:null,Artifact:null},El=/^H(\d+)$/;class Zf{#e;#t=null;#n;#i=new Map;#r;#s=null;constructor(t,r){this.#e=t.getStructTree(),this.#r=r}render(){var t=this;return(0,A.A)(function*(){if(t.#n)return t.#n;const{promise:r,resolve:d,reject:p}=Promise.withResolvers();t.#n=r;try{t.#t=t.#d(yield t.#e)}catch(m){p(m)}return t.#e=null,t.#t?.classList.add("structTree"),d(t.#t),r})()}getAriaAttributes(t){var r=this;return(0,A.A)(function*(){try{return yield r.render(),r.#i.get(t)}catch{}return null})()}hide(){this.#t&&!this.#t.hidden&&(this.#t.hidden=!0)}show(){this.#t?.hidden&&(this.#t.hidden=!1)}#c(t,r){const{alt:d,id:p,lang:m}=t;if(void 0!==d){let v=!1;const w=Wl(d);for(const M of t.children)if("annotation"===M.type){let $=this.#i.get(M.id);$||($=new Map,this.#i.set(M.id,$)),$.set("aria-label",w),v=!0}v||r.setAttribute("aria-label",w)}void 0!==p&&r.setAttribute("aria-owns",p),void 0!==m&&r.setAttribute("lang",Wl(m,!0))}#l(t,r){const{alt:d,bbox:p,children:m}=t,v=m?.[0];if(!this.#r||!d||!p||"content"!==v?.type)return!1;const{id:w}=v;if(!w)return!1;r.setAttribute("aria-owns",w);const M=document.createElement("span");(this.#s||=new Map).set(w,M),M.setAttribute("role","img"),M.setAttribute("aria-label",Wl(d));const{pageHeight:$,pageX:K,pageY:re}=this.#r,me="calc(var(--scale-factor)*",{style:Ue}=M;return Ue.width=`${me}${p[2]-p[0]}px)`,Ue.height=`${me}${p[3]-p[1]}px)`,Ue.left=`${me}${p[0]-K}px)`,Ue.top=`${me}${$-p[3]+re}px)`,!0}addElementsToTextLayer(){if(this.#s){for(const[t,r]of this.#s)document.getElementById(t)?.append(r);this.#s.clear(),this.#s=null}}#d(t){if(!t)return null;const r=document.createElement("span");if("role"in t){const{role:d}=t,p=d.match(El);if(p?(r.setAttribute("role","heading"),r.setAttribute("aria-level",p[1])):W0[d]&&r.setAttribute("role",W0[d]),"Figure"===d&&this.#l(t,r))return r}if(this.#c(t,r),t.children)if(1===t.children.length&&"id"in t.children[0])this.#c(t.children[0],r);else for(const d of t.children)r.append(this.#d(d));return r}}class uh{#e=!1;#t=null;#n=new Map;#i=new Map;setTextMapping(t){this.#t=t}static#r(t,r){const d=t.getBoundingClientRect(),p=r.getBoundingClientRect();if(0===d.width&&0===d.height)return 1;if(0===p.width&&0===p.height)return-1;const w=d.y+d.height/2,K=p.y+p.height/2;return w<=p.y&&K>=d.y+d.height?-1:K<=d.y&&w>=p.y+p.height?1:d.x+d.width/2-(p.x+p.width/2)}enable(){if(this.#e)throw new Error("TextAccessibilityManager is already enabled.");
3if(!this.#t)throw new Error("Text divs and strings have not been set.");if(this.#e=!0,this.#t=this.#t.slice(),this.#t.sort(uh.#r),this.#n.size>0){const t=this.#t;for(const[r,d]of this.#n)document.getElementById(r)?this.#s(r,t[d]):this.#n.delete(r)}for(const[t,r]of this.#i)this.addPointerInTextLayer(t,r);this.#i.clear()}disable(){this.#e&&(this.#i.clear(),this.#t=null,this.#e=!1)}removePointerInTextLayer(t){if(!this.#e)return void this.#i.delete(t);const r=this.#t;if(!r||0===r.length)return;const{id:d}=t,p=this.#n.get(d);if(void 0===p)return;const m=r[p];this.#n.delete(d);let v=m.getAttribute("aria-owns");v?.includes(d)&&(v=v.split(" ").filter(w=>w!==d).join(" "),v?m.setAttribute("aria-owns",v):(m.removeAttribute("aria-owns"),m.setAttribute("role","presentation")))}#s(t,r){const d=r.getAttribute("aria-owns");d?.includes(t)||r.setAttribute("aria-owns",d?`${d} ${t}`:t),r.removeAttribute("role")}addPointerInTextLayer(t,r){const{id:d}=t;if(!d)return null;if(!this.#e)return this.#i.set(t,r),null;r&&this.removePointerInTextLayer(t);const p=this.#t;if(!p||0===p.length)return null;const m=cl(p,$=>uh.#r(t,$)<0),v=Math.max(0,m-1),w=p[v];this.#s(d,w),this.#n.set(d,v);const M=w.parentNode;return M?.classList.contains("markedContent")?M.id:null}moveElementInDOM(t,r,d,p){const m=this.addPointerInTextLayer(d,p);if(!t.hasChildNodes())return t.append(r),m;const v=Array.from(t.childNodes).filter($=>$!==r);if(0===v.length)return m;const w=d||r,M=cl(v,$=>uh.#r(w,$)<0);return 0===M?v[0].before(r):v[M-1].after(r),m}}class Jf{#e=null;constructor({findController:t,eventBus:r,pageIndex:d}){this.findController=t,this.matches=[],this.eventBus=r,this.pageIdx=d,this.textDivs=null,this.textContentItemsStr=null,this.enabled=!1}setTextMapping(t,r){this.textDivs=t,this.textContentItemsStr=r}enable(){if(!this.textDivs||!this.textContentItemsStr)throw new Error("Text divs and strings have not been set.");if(this.enabled)throw new Error("TextHighlighter is already enabled.");this.enabled=!0,this.#e||(this.#e=new AbortController,this.eventBus._on("updatetextlayermatches",t=>{(t.pageIndex===this.pageIdx||-1===t.pageIndex)&&this._updateMatches()},{signal:this.#e.signal})),this._updateMatches()}disable(){this.enabled&&(this.enabled=!1,this.#e?.abort(),this.#e=null,this._updateMatches(!0))}_convertMatches(t,r){if(!t)return[];const{textContentItemsStr:d}=this;let p=0,m=0;const v=d.length-1,w=[];for(let M=0,$=t.length;M<$;M++){let K=t[M];for(;p!==v&&K>=m+d[p].length;)m+=d[p].length,p++;p===d.length&&console.error("Could not find a matching mapping");const re={begin:{divIdx:p,offset:K-m}};for(K+=r[M];p!==v&&K>m+d[p].length;)m+=d[p].length,p++;re.end={divIdx:p,offset:K-m},w.push(re)}return w}_renderMatches(t){if(0===t.length)return;const{findController:r,pageIdx:d}=this,{textContentItemsStr:p,textDivs:m}=this,v=d===r.selected.pageIdx,w=r.selected.matchIdx;let $=null;function re(St,Jt){const un=St.divIdx;return m[un].textContent="",me(un,0,St.offset,Jt)}function me(St,Jt,un,fn){let pn=m[St];if(pn.nodeType===Node.TEXT_NODE){const Xn=document.createElement("span");pn.before(Xn),Xn.append(pn),m[St]=Xn,pn=Xn}const An=p[St].substring(Jt,un),Zn=document.createTextNode(An);if(fn){const Xn=document.createElement("span");return Xn.className=`${fn} appended`,Xn.append(Zn),pn.append(Xn),fn.includes("selected")?Xn.offsetLeft:0}return pn.append(Zn),0}let Ue=w,Qe=Ue+1;if(r.state.highlightAll)Ue=0,Qe=t.length;else if(!v)return;let gt=-1,It=-1;for(let St=Ue;St<Qe;St++){const Jt=t[St],un=Jt.begin;if(un.divIdx===gt&&un.offset===It)continue;gt=un.divIdx,It=un.offset;const fn=Jt.end,pn=v&&St===w,An=pn?" selected":"";let Zn=0;if($&&un.divIdx===$.divIdx?me($.divIdx,$.offset,un.offset):(null!==$&&me($.divIdx,$.offset,undefined),re(un)),un.divIdx===fn.divIdx)Zn=me(un.divIdx,un.offset,fn.offset,"highlight"+An);else{Zn=me(un.divIdx,un.offset,undefined,"highlight begin"+An);for(let Xn=un.divIdx+1,dn=fn.divIdx;Xn<dn;Xn++)m[Xn].className="highlight middle"+An;re(fn,"highlight end"+An)}$=fn,pn&&r.scrollMatchIntoView({element:m[un.divIdx],selectedLeft:Zn,pageIndex:d,matchIndex:w})}$&&me($.divIdx,$.offset,undefined)}_updateMatches(t=!1){if(!this.enabled&&!t)return;const{findController:r,matches:d,pageIdx:p}=this,{textContentItemsStr:m,textDivs:v}=this;let w=-1;for(const K of d){for(let me=Math.max(w,K.begin.divIdx),Ue=K.end.divIdx;me<=Ue;me++){const Qe=v[me];Qe.textContent=m[me],Qe.className=""}w=K.end.divIdx+1}r?.highlightMatches&&!t&&(this.matches=this._convertMatches(r.pageMatches[p]||null,r.pageMatchesLength[p]||null),this._renderMatches(this.matches))}}class Zh{#e=!1;#t=null;#n=!1;#i=null;static#r=new Map;static#s=null;constructor({pdfPage:t,highlighter:r=null,accessibilityManager:d=null,enablePermissions:p=!1,onAppend:m=null}){this.pdfPage=t,this.highlighter=r,this.accessibilityManager=d,this.#e=!0===p,this.#t=m,this.div=document.createElement("div"),this.div.tabIndex=0,this.div.className="textLayer"}render(t){var r=this;return(0,A.A)(function*(d,p=null){if(r.#n&&r.#i)return r.#i.update({viewport:d,onBefore:r.hide.bind(r)}),void r.show();r.cancel(),r.#i=new bn({textContentSource:r.pdfPage.streamTextContent(p||{includeMarkedContent:!0,disableNormalization:!0}),container:r.div,viewport:d});const{textDivs:m,textContentItemsStr:v}=r.#i;r.highlighter?.setTextMapping(m,v),r.accessibilityManager?.setTextMapping(m),yield r.#i.render(),r.#n=!0;const w=document.createElement("div");w.className="endOfContent",r.div.append(w),r.#c(w),r.#t?.(r.div),r.highlighter?.enable(),r.accessibilityManager?.enable()}).apply(this,arguments)}hide(){!this.div.hidden&&this.#n&&(this.highlighter?.disable(),this.div.hidden=!0)}show(){this.div.hidden&&this.#n&&(this.div.hidden=!1,this.highlighter?.enable())}cancel(){this.#i?.cancel(),this.#i=null,this.highlighter?.disable(),this.accessibilityManager?.disable(),Zh.#l(this.div)}#c(t){const{div:r}=this;r.addEventListener("mousedown",()=>{r.classList.add("selecting")}),r.addEventListener("copy",d=>{if(!this.#e){const p=document.getSelection();d.clipboardData.setData("text/plain",Wl(Xs(p.toString())))}d.preventDefault(),d.stopPropagation()}),Zh.#r.set(r,t),Zh.#d()}static#l(t){this.#r.delete(t),0===this.#r.size&&(this.#s?.abort(),this.#s=null)}static#d(){if(this.#s)return;this.#s=new AbortController;const{signal:t}=this.#s,r=(v,w)=>{w.append(v),v.style.width="",v.style.height="",w.classList.remove("selecting")};let d=!1;var p,m;document.addEventListener("pointerdown",()=>{d=!0},{signal:t}),document.addEventListener("pointerup",()=>{d=!1,this.#r.forEach(r)},{signal:t}),window.addEventListener("blur",()=>{d=!1,this.#r.forEach(r)},{signal:t}),document.addEventListener("keyup",()=>{d||this.#r.forEach(r)},{signal:t}),document.addEventListener("selectionchange",()=>{const v=document.getSelection();if(0===v.rangeCount)return void this.#r.forEach(r);const w=new Set;for(let Ue=0;Ue<v.rangeCount;Ue++){const Qe=v.getRangeAt(Ue);for(const gt of this.#r.keys())!w.has(gt)&&Qe.intersectsNode(gt)&&w.add(gt)}for(const[Ue,Qe]of this.#r)w.has(Ue)?Ue.classList.add("selecting"):r(Qe,Ue);
3if(p??="none"===getComputedStyle(this.#r.values().next().value).getPropertyValue("-moz-user-select"),p)return;const M=v.getRangeAt(0),$=m&&(0===M.compareBoundaryPoints(Range.END_TO_END,m)||0===M.compareBoundaryPoints(Range.START_TO_END,m));let K=$?M.startContainer:M.endContainer;K.nodeType===Node.TEXT_NODE&&(K=K.parentNode);const re=K.parentElement?.closest(".textLayer"),me=this.#r.get(re);me&&(me.style.width=re.style.width,me.style.height=re.style.height,K.parentElement.insertBefore(me,$?K:K.nextSibling)),m=M.cloneRange()},{signal:t})}}class hv{constructor({pdfPage:t,annotationStorage:r=null,linkService:d,xfaHtml:p=null}){this.pdfPage=t,this.annotationStorage=r,this.linkService=d,this.xfaHtml=p,this.div=null,this._cancelled=!1}render(t){var r=this;return(0,A.A)(function*(d,p="display"){if("print"===p){const w={viewport:d.clone({dontFlip:!0}),div:r.div,xfaHtml:r.xfaHtml,annotationStorage:r.annotationStorage,linkService:r.linkService,intent:p};return r.div=document.createElement("div"),w.div=r.div,Fi.render(w)}const m=yield r.pdfPage.getXfa();if(r._cancelled||!m)return{textDivs:[]};const v={viewport:d.clone({dontFlip:!0}),div:r.div,xfaHtml:m,annotationStorage:r.annotationStorage,linkService:r.linkService,intent:p};return r.div?Fi.update(v):(r.div=document.createElement("div"),v.div=r.div,Fi.render(v))}).apply(this,arguments)}cancel(){this._cancelled=!0}hide(){this.div&&(this.div.hidden=!0)}}const Yc={annotationEditorUIManager:null,annotationStorage:null,downloadManager:null,enableScripting:!1,fieldObjectsPromise:null,findController:null,hasJSActionsPromise:null,get linkService(){return new $o}},hh=new Map([["canvasWrapper",0],["textLayer",1],["annotationLayer",2],["annotationEditorLayer",3],["xfaLayer",3]]);class jg{#e=Qi.ENABLE_FORMS;#t=!1;#n=!1;#i=!1;#r=null;#s=null;#c=null;#l=1;#d=1;#a=null;#u=co.INITIAL;#o=1;#h={directDrawing:!0,initialOptionalContent:!0,regularAnnotations:!0};#p=new WeakMap;#f=[null,null,null,null];constructor(t){const r=t.container,d=t.defaultViewport;this.id=t.id,this.renderingId="page"+this.id,this.#r=t.layerProperties||Yc,this.pdfPage=null,this.pageLabel=null,this.rotation=0,this.scale=t.scale||1,this.viewport=d,this.pdfPageRotate=d.rotation,this._optionalContentConfigPromise=t.optionalContentConfigPromise||null,this.#o=t.textLayerMode??1,this.#e=t.annotationMode??Qi.ENABLE_FORMS,this.imageResourcesPath=t.imageResourcesPath||"",this.maxCanvasPixels=t.maxCanvasPixels??H0.get("maxCanvasPixels"),this.pageColors=t.pageColors||null,this.#t=t.enableHWA||!1,this.eventBus=t.eventBus,this.renderingQueue=t.renderingQueue,this.l10n=t.l10n,this.l10n||=new cu,this.renderTask=null,this.resume=null,this._isStandalone=!this.renderingQueue?.hasViewer(),this._container=r,this._annotationCanvasMap=null,this.annotationLayer=null,this.annotationEditorLayer=null,this.textLayer=null,this.zoomLayer=null,this.xfaLayer=null,this.structTreeLayer=null,this.drawLayer=null;const p=document.createElement("div");if(p.className="page",p.setAttribute("data-page-number",this.id),p.setAttribute("role","region"),p.setAttribute("data-l10n-id","pdfjs-page-landmark"),p.setAttribute("data-l10n-args",JSON.stringify({page:this.id})),this.div=p,this.#y(),r?.append(p),this._isStandalone){r?.style.setProperty("--scale-factor",this.scale*de.PDF_TO_CSS_UNITS),this.pageColors?.background&&r?.style.setProperty("--page-bg-color",this.pageColors.background);const{optionalContentConfigPromise:m}=t;m&&m.then(v=>{m===this._optionalContentConfigPromise&&(this.#h.initialOptionalContent=v.hasInitialVisibility)}),t.l10n||this.l10n.translate(this.div)}}#g(t,r){const d=hh.get(r),p=this.#f[d];if(this.#f[d]=t,p)p.replaceWith(t);else{for(let m=d-1;m>=0;m--){const v=this.#f[m];if(v)return void v.after(t)}this.div.prepend(t)}}get renderingState(){return this.#u}set renderingState(t){if(t!==this.#u)switch(this.#u=t,this.#s&&(clearTimeout(this.#s),this.#s=null),t){case co.PAUSED:this.div.classList.remove("loading");break;case co.RUNNING:this.div.classList.add("loadingIcon"),this.#s=setTimeout(()=>{this.div.classList.add("loading"),this.#s=null},0);break;case co.INITIAL:case co.FINISHED:this.div.classList.remove("loadingIcon","loading")}}#y(){const{viewport:t}=this;if(this.pdfPage){if(this.#c===t.rotation)return;this.#c=t.rotation}at(this.div,t,!0,!1)}setPdfPage(t){this._isStandalone&&("CanvasText"===this.pageColors?.foreground||"Canvas"===this.pageColors?.background)&&
3(this._container?.style.setProperty("--hcm-highlight-filter",t.filterFactory.addHighlightHCMFilter("highlight","CanvasText","Canvas","HighlightText","Highlight")),this._container?.style.setProperty("--hcm-highlight-selected-filter",t.filterFactory.addHighlightHCMFilter("highlight_selected","CanvasText","Canvas","HighlightText","Highlight"))),this.pdfPage=t,this.pdfPageRotate=t.rotate,this.viewport=t.getViewport({scale:this.scale*de.PDF_TO_CSS_UNITS,rotation:(this.rotation+this.pdfPageRotate)%360}),this.#y(),this.reset()}destroy(){this.reset(),this.pdfPage?.cleanup()}hasEditableAnnotations(){return!!this.annotationLayer?.hasEditableAnnotations()}get _textHighlighter(){return Ut(this,"_textHighlighter",new Jf({pageIndex:this.id-1,eventBus:this.eventBus,findController:this.#r.findController}))}#m(t,r){this.eventBus.dispatch(t,{source:this,pageNumber:this.id,error:r})}#b(){var t=this;return(0,A.A)(function*(){let r=null;try{yield t.annotationLayer.render(t.viewport,{structTreeLayer:t.structTreeLayer},"display")}catch(d){console.error(`#renderAnnotationLayer: "${d}".`),r=d}finally{t.#m("annotationlayerrendered",r)}})()}#_(){var t=this;return(0,A.A)(function*(){let r=null;try{yield t.annotationEditorLayer.render(t.viewport,"display")}catch(d){console.error(`#renderAnnotationEditorLayer: "${d}".`),r=d}finally{t.#m("annotationeditorlayerrendered",r)}})()}#C(){var t=this;return(0,A.A)(function*(){try{yield t.drawLayer.render("display")}catch(r){console.error(`#renderDrawLayer: "${r}".`)}})()}#F(){var t=this;return(0,A.A)(function*(){let r=null;try{const d=yield t.xfaLayer.render(t.viewport,"display");d?.textDivs&&t._textHighlighter&&t.#D(d.textDivs)}catch(d){console.error(`#renderXfaLayer: "${d}".`),r=d}finally{t.xfaLayer?.div&&(t.l10n.pause(),t.#g(t.xfaLayer.div,"xfaLayer"),t.l10n.resume()),t.#m("xfalayerrendered",r)}})()}#w(){var t=this;return(0,A.A)(function*(){if(!t.textLayer)return;let r=null;try{yield t.textLayer.render(t.viewport)}catch(d){if(d instanceof Pl)return;console.error(`#renderTextLayer: "${d}".`),r=d}t.#m("textlayerrendered",r),t.#A()})()}#A(){var t=this;return(0,A.A)(function*(){if(!t.textLayer)return;const r=yield t.structTreeLayer?.render();r&&(t.l10n.pause(),t.structTreeLayer?.addElementsToTextLayer(),t.canvas&&r.parentNode!==t.canvas&&t.canvas.append(r),t.l10n.resume()),t.structTreeLayer?.show()})()}#D(t){var r=this;return(0,A.A)(function*(){const d=yield r.pdfPage.getTextContent(),p=[];for(const m of d.items)p.push(m.str);r._textHighlighter.setTextMapping(t,p),r._textHighlighter.enable()})()}_resetZoomLayer(t=!1){if(!this.zoomLayer)return;const r=this.zoomLayer.firstChild;this.#p.delete(r),r.width=0,r.height=0,t&&this.zoomLayer.remove(),this.zoomLayer=null}reset({keepZoomLayer:t=!1,keepAnnotationLayer:r=!1,keepAnnotationEditorLayer:d=!1,keepXfaLayer:p=!1,keepTextLayer:m=!1}={}){this.cancelRendering({keepAnnotationLayer:r,keepAnnotationEditorLayer:d,keepXfaLayer:p,keepTextLayer:m}),this.renderingState=co.INITIAL;const v=this.div,w=v.childNodes,M=t&&this.zoomLayer||null,$=r&&this.annotationLayer?.div||null,K=d&&this.annotationEditorLayer?.div||null,re=p&&this.xfaLayer?.div||null,me=m&&this.textLayer?.div||null;for(let Ue=w.length-1;Ue>=0;Ue--){const Qe=w[Ue];switch(Qe){case M:case $:case K:case re:case me:continue}Qe.remove();const gt=this.#f.indexOf(Qe);gt>=0&&(this.#f[gt]=null)}v.removeAttribute("data-loaded"),$&&this.annotationLayer.hide(),K&&this.annotationEditorLayer.hide(),re&&this.xfaLayer.hide(),me&&this.textLayer.hide(),this.structTreeLayer?.hide(),M||(this.canvas&&(this.#p.delete(this.canvas),this.canvas.width=0,this.canvas.height=0,delete this.canvas),this._resetZoomLayer())}toggleEditingMode(t){this.hasEditableAnnotations()&&(this.#i=t,this.reset({keepZoomLayer:!0,keepAnnotationLayer:!0,keepAnnotationEditorLayer:!0,keepXfaLayer:!0,keepTextLayer:!0}))}update({scale:t=0,rotation:r=null,optionalContentConfigPromise:d=null,drawingDelay:p=-1}){if(this.scale=t||this.scale,"number"==typeof r&&(this.rotation=r),d instanceof Promise&&(this._optionalContentConfigPromise=d,d.then(v=>{d===this._optionalContentConfigPromise&&(this.#h.initialOptionalContent=v.hasInitialVisibility)})),this.#h.directDrawing=!0,this.viewport=this.viewport.clone({scale:this.scale*de.PDF_TO_CSS_UNITS,rotation:(this.rotation+this.pdfPageRotate)%360}),this.#y(),this._isStandalone&&this._container?.style.setProperty("--scale-factor",this.viewport.scale),this.canvas){let v=!1;if(this.#n)if(0===this.maxCanvasPixels)v=!0;else if(this.maxCanvasPixels>0){const{width:M,height:$}=this.viewport,{sx:K,sy:re}=this.outputScale;v=(Math.floor(M)*K|0)*(Math.floor($)*re|0)>this.maxCanvasPixels}const w=p>=0&&p<1e3;if(w||v){if(w&&!v&&this.renderingState!==co.FINISHED&&(this.cancelRendering({keepZoomLayer:!0,keepAnnotationLayer:!0,keepAnnotationEditorLayer:!0,keepXfaLayer:!0,keepTextLayer:!0,cancelExtraDelay:p}),this.renderingState=co.FINISHED,this.#h.directDrawing=!1),this.cssTransform({target:this.canvas,redrawAnnotationLayer:!0,redrawAnnotationEditorLayer:!0,redrawXfaLayer:!0,redrawTextLayer:!w,hideTextLayer:w}),w)return;return void this.eventBus.dispatch("pagerendered",{source:this,pageNumber:this.id,cssTransform:!0,timestamp:performance.now(),error:this.#a})}
3!this.zoomLayer&&!this.canvas.hidden&&(this.zoomLayer=this.canvas.parentNode,this.zoomLayer.style.position="absolute")}this.zoomLayer&&this.cssTransform({target:this.zoomLayer.firstChild}),this.reset({keepZoomLayer:!0,keepAnnotationLayer:!0,keepAnnotationEditorLayer:!0,keepXfaLayer:!0,keepTextLayer:!0})}cancelRendering({keepAnnotationLayer:t=!1,keepAnnotationEditorLayer:r=!1,keepXfaLayer:d=!1,keepTextLayer:p=!1,cancelExtraDelay:m=0}={}){this.renderTask&&(this.renderTask.cancel(m),this.renderTask=null),this.resume=null,this.textLayer&&(!p||!this.textLayer.div)&&(this.textLayer.cancel(),this.textLayer=null),this.annotationLayer&&(!t||!this.annotationLayer.div)&&(this.annotationLayer.cancel(),this.annotationLayer=null,this._annotationCanvasMap=null),this.structTreeLayer&&!this.textLayer&&(this.structTreeLayer=null),this.annotationEditorLayer&&(!r||!this.annotationEditorLayer.div)&&(this.drawLayer&&(this.drawLayer.cancel(),this.drawLayer=null),this.annotationEditorLayer.cancel(),this.annotationEditorLayer=null),this.xfaLayer&&(!d||!this.xfaLayer.div)&&(this.xfaLayer.cancel(),this.xfaLayer=null,this._textHighlighter?.disable())}cssTransform({target:t,redrawAnnotationLayer:r=!1,redrawAnnotationEditorLayer:d=!1,redrawXfaLayer:p=!1,redrawTextLayer:m=!1,hideTextLayer:v=!1}){if(!t.hasAttribute("zooming")){t.setAttribute("zooming",!0);const{style:M}=t;M.width=M.height=""}const w=this.#p.get(t);if(this.viewport!==w){const M=this.viewport.rotation-w.rotation,$=Math.abs(M);let K=1,re=1;if(90===$||270===$){const{width:me,height:Ue}=this.viewport;K=Ue/me,re=me/Ue}t.style.transform=`rotate(${M}deg) scale(${K}, ${re})`}r&&this.annotationLayer&&this.#b(),d&&this.annotationEditorLayer&&(this.drawLayer&&this.#C(),this.#_()),p&&this.xfaLayer&&this.#F(),this.textLayer&&(v?(this.textLayer.hide(),this.structTreeLayer?.hide()):m&&this.#w())}get width(){return this.viewport.width}get height(){return this.viewport.height}getPagePoint(t,r){return this.viewport.convertToPdfPoint(t,r)}#E(t){var r=this;return(0,A.A)(function*(d,p=null){if(d===r.renderTask&&(r.renderTask=null),p instanceof De)r.#a=null;else if(r.#a=p,r.renderingState=co.FINISHED,r._resetZoomLayer(!0),r.#h.regularAnnotations=!d.separateAnnots,r.eventBus.dispatch("pagerendered",{source:r,pageNumber:r.id,cssTransform:!1,timestamp:performance.now(),error:r.#a}),p)throw p}).apply(this,arguments)}draw(){var t=this;return(0,A.A)(function*(){t.renderingState!==co.INITIAL&&(console.error("Must be in new state before drawing"),t.reset());const{div:r,l10n:d,pageColors:p,pdfPage:m,viewport:v}=t;if(!m)throw t.renderingState=co.FINISHED,new Error("pdfPage is not loaded");t.renderingState=co.RUNNING;const w=document.createElement("div");if(w.classList.add("canvasWrapper"),t.#g(w,"canvasWrapper"),!t.textLayer&&0!==t.#o&&!m.isPureXfa&&(t._accessibilityManager||=new uh,t.textLayer=new Zh({pdfPage:m,highlighter:t._textHighlighter,accessibilityManager:t._accessibilityManager,enablePermissions:2===t.#o,onAppend:Tn=>{t.l10n.pause(),t.#g(Tn,"textLayer"),t.l10n.resume()}})),!t.annotationLayer&&t.#e!==Qi.DISABLE){const{annotationStorage:Tn,annotationEditorUIManager:ui,downloadManager:Ps,enableScripting:Is,fieldObjectsPromise:Vs,hasJSActionsPromise:lo,linkService:Oa}=t.#r;t._annotationCanvasMap||=new Map,t.annotationLayer=new Kr({pdfPage:m,annotationStorage:Tn,imageResourcesPath:t.imageResourcesPath,renderForms:t.#e===Qi.ENABLE_FORMS,linkService:Oa,downloadManager:Ps,enableScripting:Is,hasJSActionsPromise:lo,fieldObjectsPromise:Vs,annotationCanvasMap:t._annotationCanvasMap,accessibilityManager:t._accessibilityManager,annotationEditorUIManager:ui,onAppend:Zi=>{t.#g(Zi,"annotationLayer")}})}const{width:$,height:K}=v,re=document.createElement("canvas");re.setAttribute("role","presentation"),re.hidden=!0;const me=!(!p?.background||!p?.foreground);let Ue=Tn=>{(!me||Tn)&&(re.hidden=!1,Ue=null)};w.append(re),t.canvas=re;const Qe=re.getContext("2d",{alpha:!1,willReadFrequently:!t.#t}),gt=t.outputScale=new yi;if(0===t.maxCanvasPixels){const Tn=1/t.scale;gt.sx*=Tn,gt.sy*=Tn,t.#n=!0}else if(t.maxCanvasPixels>0){const ui=Math.sqrt(t.maxCanvasPixels/($*K));gt.sx>ui||gt.sy>ui?(gt.sx=ui,gt.sy=ui,t.#n=!0):t.#n=!1}const It=ll(gt.sx),St=ll(gt.sy),Jt=re.width=Ic(yn($*gt.sx),It[0]),un=re.height=Ic(yn(K*gt.sy),St[0]),fn=Ic(yn($),It[1]),pn=Ic(yn(K),St[1]);gt.sx=Jt/fn,gt.sy=un/pn,t.#l!==It[1]&&(r.style.setProperty("--scale-round-x",`${It[1]}px`),t.#l=It[1]),t.#d!==St[1]&&(r.style.setProperty("--scale-round-y",`${St[1]}px`),t.#d=St[1]),t.#p.set(re,v);const Zn={canvasContext:Qe,transform:gt.scaled?[gt.sx,0,0,gt.sy,0,0]:null,viewport:v,annotationMode:t.#e,optionalContentConfigPromise:t._optionalContentConfigPromise,annotationCanvasMap:t._annotationCanvasMap,pageColors:p,isEditing:t.#i},Xn=t.renderTask=m.render(Zn);Xn.onContinue=Tn=>{if(Ue?.(!1),t.renderingQueue&&!t.renderingQueue.isHighestPriority(t))return t.renderingState=co.PAUSED,void(t.resume=()=>{t.renderingState=co.RUNNING,Tn()});Tn()};const dn=Xn.promise.then((0,A.A)(function*(){Ue?.(!0),yield t.#E(Xn),t.structTreeLayer||=new Zf(m,v.rawDims),t.#w(),t.annotationLayer&&(yield t.#b());const{annotationEditorUIManager:Tn}=t.#r;Tn&&(t.drawLayer||=new Ug({pageIndex:t.id}),yield t.#C(),t.drawLayer.setParent(w),t.annotationEditorLayer||=new $0({uiManager:Tn,pdfPage:m,l10n:d,structTreeLayer:t.structTreeLayer,accessibilityManager:t._accessibilityManager,annotationLayer:t.annotationLayer?.annotationLayer,textLayer:t.textLayer,drawLayer:t.drawLayer.getDrawLayer(),onAppend:ui=>{t.#g(ui,"annotationEditorLayer")}}),t.#_())}),Tn=>(Tn instanceof De||Ue?.(!0),t.#E(Xn,Tn)));if(m.isPureXfa){if(!t.xfaLayer){const{annotationStorage:Tn,linkService:ui}=t.#r;t.xfaLayer=new hv({pdfPage:m,annotationStorage:Tn,linkService:ui})}t.#F()}return r.setAttribute("data-loaded",!0),t.eventBus.dispatch("pagerender",{source:t,pageNumber:t.id}),dn})()}setPageLabel(t){this.pageLabel="string"==typeof t?t:null,this.div.setAttribute("data-l10n-args",JSON.stringify({page:this.pageLabel??this.id})),null!==this.pageLabel?this.div.setAttribute("data-page-label",this.pageLabel):this.div.removeAttribute("data-page-label")}get thumbnailCanvas(){const{directDrawing:t,initialOptionalContent:r,regularAnnotations:d}=this.#h;return t&&r&&d?this.canvas:null}}function Vg(){return(Vg=(0,A.A)(function*(x){const r="".split("#",1)[0];let{info:d,metadata:p,contentDispositionFilename:m,contentLength:v}=yield x.getMetadata();if(!v){const{length:w}=yield x.getDownloadInfo();v=w}return{...d,baseURL:r,filesize:v,filename:m||Vt(""),metadata:p?.getRaw(),authors:p?.get("dc:creator"),numPages:x.numPages,URL:""}})).apply(this,arguments)}class K0{constructor(t){this._ready=new Promise((r,d)=>{import(t).then(m=>{r(m.QuickJSSandbox())}).catch(d)})}createSandbox(t){var r=this;return(0,A.A)(function*(){(yield r._ready).create(t)})()}dispatchEventInSandbox(t){var r=this;return(0,A.A)(function*(){const d=yield r._ready;setTimeout(()=>d.dispatchEvent(t),0)})()}destroySandbox(){var t=this;return(0,A.A)(function*(){(yield t._ready).nukeSandbox()})()}}class fv{#e=null;#t=null;#n=null;#i=null;#r=null;#s=null;#c=null;#l=null;#d=!1;#a=null;#u=null;constructor({eventBus:t,externalServices:r=null,docProperties:d=null}){this.#r=t,this.#s=r,this.#n=d}setViewer(t){this.#l=t}setDocument(t){var r=this;return(0,A.A)(function*(){if(r.#c&&(yield r.#g()),r.#c=t,!t)return;const[d,p,m]=yield Promise.all([t.getFieldObjects(),t.getCalculationOrderIds(),t.getJSActions()]);if(!d&&!m)return void(yield r.#g());if(t!==r.#c)return;try{r.#a=r.#f()}catch(M){return console.error(`setDocument: "${M.message}".`),void(yield r.#g())}const v=r.#r;r.#i=new AbortController;const{signal:w}=r.#i;v._on("updatefromsandbox",M=>{M?.source===window&&r.#o(M.detail)},{signal:w}),v._on("dispatcheventinsandbox",M=>{r.#a?.dispatchEventInSandbox(M.detail)},{signal:w}),v._on("pagechanging",({pageNumber:M,previous:$})=>{M!==$&&(r.#p($),r.#h(M))},{signal:w}),v._on("pagerendered",({pageNumber:M})=>{r._pageOpenPending.has(M)&&M===r.#l.currentPageNumber&&r.#h(M)},{signal:w}),v._on("pagesdestroy",(0,A.A)(function*(){yield r.#p(r.#l.currentPageNumber),yield r.#a?.dispatchEventInSandbox({id:"doc",name:"WillClose"}),r.#e?.resolve()}),{signal:w});try{const M=yield r.#n(t);if(t!==r.#c)return;yield r.#a.createSandbox({objects:d,calculationOrder:p,appInfo:{platform:navigator.platform,language:navigator.language},docInfo:{...M,actions:m}}),v.dispatch("sandboxcreated",{source:r})}catch(M){return console.error(`setDocument: "${M.message}".`),void(yield r.#g())}yield r.#a?.dispatchEventInSandbox({id:"doc",name:"Open"}),yield r.#h(r.#l.currentPageNumber,!0),Promise.resolve().then(()=>{t===r.#c&&(r.#d=!0)})})()}dispatchWillSave(){var t=this;return(0,A.A)(function*(){return t.#a?.dispatchEventInSandbox({id:"doc",name:"WillSave"})})()}dispatchDidSave(){var t=this;return(0,A.A)(function*(){return t.#a?.dispatchEventInSandbox({id:"doc",name:"DidSave"})})()}dispatchWillPrint(){var t=this;return(0,A.A)(function*(){if(t.#a){yield t.#u?.promise,t.#u=Promise.withResolvers();try{yield t.#a.dispatchEventInSandbox({id:"doc",name:"WillPrint"})}catch(r){throw t.#u.resolve(),t.#u=null,r}yield t.#u.promise}})()}dispatchDidPrint(){var t=this;return(0,A.A)(function*(){return t.#a?.dispatchEventInSandbox({id:"doc",name:"DidPrint"})})()}
3get destroyPromise(){return this.#t?.promise||null}get ready(){return this.#d}get _pageOpenPending(){return Ut(this,"_pageOpenPending",new Set)}get _visitedPages(){return Ut(this,"_visitedPages",new Map)}#o(t){var r=this;return(0,A.A)(function*(){const d=r.#l,p=d.isInPresentationMode||d.isChangingPresentationMode,{id:m,siblings:v,command:w,value:M}=t;if(!m){switch(w){case"clear":console.clear();break;case"error":console.error(M);break;case"layout":if(!p){const K=function uc(x){let t=hr.VERTICAL,r=Ks.NONE;switch(x){case"SinglePage":t=hr.PAGE;break;case"OneColumn":break;case"TwoPageLeft":t=hr.PAGE;case"TwoColumnLeft":r=Ks.ODD;break;case"TwoPageRight":t=hr.PAGE;case"TwoColumnRight":r=Ks.EVEN}return{scrollMode:t,spreadMode:r}}(M);d.spreadMode=K.spreadMode}break;case"page-num":d.currentPageNumber=M+1;break;case"print":yield d.pagesPromise,r.#r.dispatch("print",{source:r});break;case"println":console.log(M);break;case"zoom":p||(d.currentScaleValue=M);break;case"SaveAs":r.#r.dispatch("download",{source:r});break;case"FirstPage":d.currentPageNumber=1;break;case"LastPage":d.currentPageNumber=d.pagesCount;break;case"NextPage":d.nextPage();break;case"PrevPage":d.previousPage();break;case"ZoomViewIn":p||d.increaseScale();break;case"ZoomViewOut":p||d.decreaseScale();break;case"WillPrintFinished":r.#u?.resolve(),r.#u=null}return}if(p&&t.focus)return;delete t.id,delete t.siblings;const $=v?[m,...v]:[m];for(const K of $){const re=document.querySelector(`[data-element-id="${K}"]`);re?re.dispatchEvent(new CustomEvent("updatefromsandbox",{detail:t})):r.#c?.annotationStorage.setValue(K,t)}})()}#h(t){var r=this;return(0,A.A)(function*(d,p=!1){const m=r.#c,v=r._visitedPages;if(p&&(r.#e=Promise.withResolvers()),!r.#e)return;const w=r.#l.getPageView(d-1);if(w?.renderingState!==co.FINISHED)return void r._pageOpenPending.add(d);r._pageOpenPending.delete(d);const M=(0,A.A)(function*(){const $=yield v.has(d)?null:w.pdfPage?.getJSActions();m===r.#c&&(yield r.#a?.dispatchEventInSandbox({id:"page",name:"PageOpen",pageNumber:d,actions:$}))})();v.set(d,M)}).apply(this,arguments)}#p(t){var r=this;return(0,A.A)(function*(){const d=r.#c,p=r._visitedPages;if(!r.#e||r._pageOpenPending.has(t))return;const m=p.get(t);m&&(p.set(t,null),yield m,d===r.#c&&(yield r.#a?.dispatchEventInSandbox({id:"page",name:"PageClose",pageNumber:t})))})()}#f(){if(this.#t=Promise.withResolvers(),this.#a)throw new Error("#initScripting: Scripting already exists.");return this.#s.createScripting()}#g(){var t=this;return(0,A.A)(function*(){if(!t.#a)return t.#c=null,void t.#t?.resolve();t.#e&&(yield Promise.race([t.#e.promise,new Promise(r=>{setTimeout(r,1e3)})]).catch(()=>{}),t.#e=null),t.#c=null;try{yield t.#a.destroySandbox()}catch{}t.#u?.reject(new Error("Scripting destroyed.")),t.#u=null,t.#i?.abort(),t.#i=null,t._pageOpenPending.clear(),t._visitedPages.clear(),t.#a=null,t.#d=!1,t.#t?.resolve()})()}}class X0 extends fv{constructor(t){t.externalServices||window.addEventListener("updatefromsandbox",r=>{t.eventBus.dispatch("updatefromsandbox",{source:window,detail:r.detail})}),t.externalServices||={createScripting:()=>new K0(t.sandboxBundleSrc)},t.docProperties||=r=>function G0(x){return Vg.apply(this,arguments)}(r),super(t)}}class Y0{constructor(){this.pdfViewer=null,this.pdfThumbnailViewer=null,this.onIdle=null,this.highestPriorityPage=null,this.idleTimeout=null,this.printing=!1,this.isThumbnailViewEnabled=!1,Object.defineProperty(this,"hasViewer",{value:()=>!!this.pdfViewer})}setViewer(t){this.pdfViewer=t}setThumbnailViewer(t){this.pdfThumbnailViewer=t}isHighestPriority(t){return this.highestPriorityPage===t.renderingId}renderHighestPriority(t){this.idleTimeout&&(clearTimeout(this.idleTimeout),this.idleTimeout=null),!this.pdfViewer.forceRendering(t)&&(this.isThumbnailViewEnabled&&this.pdfThumbnailViewer?.forceRendering()||this.printing||this.onIdle&&(this.idleTimeout=setTimeout(this.onIdle.bind(this),3e4)))}getHighestPriority(t,r,d,p=!1){const m=t.views,v=m.length;if(0===v)return null;for(let re=0;re<v;re++){const me=m[re].view;if(!this.isViewFinished(me))return me}const w=t.first.id,M=t.last.id;if(M-w+1>v){const re=t.ids;for(let me=1,Ue=M-w;me<Ue;me++){const Qe=d?w+me:M-me;if(re.has(Qe))continue;const gt=r[Qe-1];if(!this.isViewFinished(gt))return gt}}let $=d?M:w-2,K=r[$];return K&&!this.isViewFinished(K)||p&&($+=d?1:-1,K=r[$],K&&!this.isViewFinished(K))?K:null}isViewFinished(t){return t.renderingState===co.FINISHED}renderView(t){switch(t.renderingState){case co.FINISHED:return!1;case co.PAUSED:this.highestPriorityPage=t.renderingId,t.resume();break;case co.RUNNING:this.highestPriorityPage=t.renderingId;break;case co.INITIAL:this.highestPriorityPage=t.renderingId,t.draw().finally(()=>{this.renderHighestPriority()}).catch(r=>{r instanceof De||console.error(`renderView: "${r}"`)})}return!0}}function Q0(x){return Object.values(nc).includes(x)&&x!==nc.DISABLE}
3class gv{#e=new Set;#t=0;constructor(t){this.#t=t}push(t){const r=this.#e;r.has(t)&&r.delete(t),r.add(t),r.size>this.#t&&this.#n()}resize(t,r=null){this.#t=t;const d=this.#e;if(r){const p=d.size;let m=1;for(const v of d)if(r.has(v.id)&&(d.delete(v),d.add(v)),++m>p)break}for(;d.size>this.#t;)this.#n()}has(t){return this.#e.has(t)}[Symbol.iterator](){return this.#e.keys()}#n(){const t=this.#e.keys().next().value;t?.destroy(),this.#e.delete(t)}}class zg{#e=null;#t=null;#n=null;#i=nc.NONE;#r=null;#s=Qi.ENABLE_FORMS;#c=null;#l=!1;#d=!1;#a=!1;#u=!1;#o=!1;#h=null;#p=null;#f=null;#g=null;#y=!1;#m=null;#b=!1;#_=0;#C=new ResizeObserver(this.#L.bind(this));#F=null;#w=null;#A=1;constructor(t){const r="4.8.69";if(Rn!==r)throw new Error(`The API version "${Rn}" does not match the Viewer version "${r}".`);if(this.container=t.container,this.viewer=t.viewer||t.container.firstElementChild,"DIV"!==this.container?.tagName||"DIV"!==this.viewer?.tagName)throw new Error("Invalid `container` and/or `viewer` option.");if(this.container.offsetParent&&"absolute"!==getComputedStyle(this.container).position)throw new Error("The `container` must be absolutely positioned.");this.#C.observe(this.container),this.eventBus=t.eventBus,this.linkService=t.linkService||new $o,this.downloadManager=t.downloadManager||null,this.findController=t.findController||null,this.#t=t.altTextManager||null,this.findController&&(this.findController.onIsPageVisible=p=>this._getVisiblePages().ids.has(p)),this._scriptingManager=t.scriptingManager||null,this.#A=t.textLayerMode??1,this.#s=t.annotationMode??Qi.ENABLE_FORMS,this.#i=t.annotationEditorMode??nc.NONE,this.#n=t.annotationEditorHighlightColors||null,this.#d=!0===t.enableHighlightFloatingButton,this.#u=!0===t.enableUpdatedAddImage,this.#o=!0===t.enableNewAltTextWhenAddingImage,this.imageResourcesPath=t.imageResourcesPath||"",this.enablePrintAutoRotate=t.enablePrintAutoRotate||!1,this.removePageBorders=t.removePageBorders||!1,this.maxCanvasPixels=t.maxCanvasPixels,this.l10n=t.l10n,this.l10n||=new cu,this.#a=t.enablePermissions||!1,this.pageColors=t.pageColors||null,this.#p=t.mlManager||null,this.#l=t.enableHWA||!1,this.defaultRenderingQueue=!t.renderingQueue,this.defaultRenderingQueue?(this.renderingQueue=new Y0,this.renderingQueue.setViewer(this)):this.renderingQueue=t.renderingQueue;const{abortSignal:d}=t;d?.addEventListener("abort",()=>{this.#C.disconnect(),this.#C=null},{once:!0}),this.scroll=function ec(x,t,r){const d=function(v){m||(m=window.requestAnimationFrame(function(){m=null;const M=x.scrollLeft,$=p.lastX;M!==$&&(p.right=M>$),p.lastX=M;const K=x.scrollTop,re=p.lastY;K!==re&&(p.down=K>re),p.lastY=K,t(p)}))},p={right:!0,down:!0,lastX:x.scrollLeft,lastY:x.scrollTop,_eventHandler:d};let m=null;return x.addEventListener("scroll",d,{useCapture:!0,signal:r}),r?.addEventListener("abort",()=>window.cancelAnimationFrame(m),{once:!0}),p}(this.container,this._scrollUpdate.bind(this),d),this.presentationModeState=0,this._resetView(),this.removePageBorders&&this.viewer.classList.add("removePageBorders"),this.#R(),this.eventBus._on("thumbnailrendered",({pageNumber:p,pdfPage:m})=>{this.#e.has(this._pages[p-1])||m?.cleanup()}),t.l10n||this.l10n.translate(this.container)}get pagesCount(){return this._pages.length}getPageView(t){return this._pages[t]}getCachedPageViews(){return new Set(this.#e)}get pageViewsReady(){return this._pages.every(t=>t?.pdfPage)}get renderForms(){return this.#s===Qi.ENABLE_FORMS}get enableScripting(){return!!this._scriptingManager}get currentPageNumber(){return this._currentPageNumber}set currentPageNumber(t){if(!Number.isInteger(t))throw new Error("Invalid page number.");this.pdfDocument&&(this._setCurrentPageNumber(t,!0)||console.error(`currentPageNumber: "${t}" is not a valid page.`))}_setCurrentPageNumber(t,r=!1){if(this._currentPageNumber===t)return r&&this.#O(),!0;if(!(0<t&&t<=this.pagesCount))return!1;const d=this._currentPageNumber;return this._currentPageNumber=t,this.eventBus.dispatch("pagechanging",{source:this,pageNumber:t,pageLabel:this._pageLabels?.[t-1]??null,previous:d}),r&&this.#O(),!0}get currentPageLabel(){return this._pageLabels?.[this._currentPageNumber-1]??null}set currentPageLabel(t){if(!this.pdfDocument)return;let r=0|t;if(this._pageLabels){const d=this._pageLabels.indexOf(t);d>=0&&(r=d+1)}this._setCurrentPageNumber(r,!0)||console.error(`currentPageLabel: "${t}" is not a valid page.`)}get currentScale(){return 0!==this._currentScale?this._currentScale:1}set currentScale(t){if(isNaN(t))throw new Error("Invalid numeric scale.");this.pdfDocument&&this.#M(t,{noScroll:!1})}get currentScaleValue(){return this._currentScaleValue}set currentScaleValue(t){this.pdfDocument&&this.#M(t,{noScroll:!1})}get pagesRotation(){return this._pagesRotation}set pagesRotation(t){if(!Zo(t))throw new Error("Invalid pages rotation angle.");if(!this.pdfDocument||((t%=360)<0&&(t+=360),this._pagesRotation===t))return;this._pagesRotation=t;const r=this._currentPageNumber;this.refresh(!0,{rotation:t}),this._currentScaleValue&&this.#M(this._currentScaleValue,{noScroll:!0}),this.eventBus.dispatch("rotationchanging",{source:this,pagesRotation:t,pageNumber:r}),this.defaultRenderingQueue&&this.update()}get firstPagePromise(){return this.pdfDocument?this._firstPageCapability.promise:null}get onePageRendered(){return this.pdfDocument?this._onePageRenderedCapability.promise:null}get pagesPromise(){return this.pdfDocument?this._pagesCapability.promise:null}get _layerProperties(){const t=this;return Ut(this,"_layerProperties",{get annotationEditorUIManager(){return t.#r},get annotationStorage(){return t.pdfDocument?.annotationStorage},get downloadManager(){return t.downloadManager},get enableScripting(){return!!t._scriptingManager},get fieldObjectsPromise(){return t.pdfDocument?.getFieldObjects()},get findController(){return t.findController}
3,get hasJSActionsPromise(){return t.pdfDocument?.hasJSActions()},get linkService(){return t.linkService}})}#D(t){const r={annotationEditorMode:this.#i,annotationMode:this.#s,textLayerMode:this.#A};return t&&(!t.includes(L.COPY)&&1===this.#A&&(r.textLayerMode=2),t.includes(L.MODIFY_CONTENTS)||(r.annotationEditorMode=nc.DISABLE),!t.includes(L.MODIFY_ANNOTATIONS)&&!t.includes(L.FILL_INTERACTIVE_FORMS)&&this.#s===Qi.ENABLE_FORMS&&(r.annotationMode=Qi.ENABLE)),r}#E(t){var r=this;return(0,A.A)(function*(){if("hidden"===document.visibilityState||!r.container.offsetParent||0===r._getVisiblePages().views.length)return;const d=Promise.withResolvers(),p=new AbortController;document.addEventListener("visibilitychange",()=>{"hidden"===document.visibilityState&&d.resolve()},{signal:"function"==typeof AbortSignal.any?AbortSignal.any([t,p.signal]):t}),yield Promise.race([r._onePageRenderedCapability.promise,d.promise]),p.abort()})()}getAllText(){var t=this;return(0,A.A)(function*(){const r=[],d=[];for(let p=1,m=t.pdfDocument.numPages;p<=m;++p){if(t.#b)return null;d.length=0;const v=yield t.pdfDocument.getPage(p),{items:w}=yield v.getTextContent();for(const M of w)M.str&&d.push(M.str),M.hasEOL&&d.push("\n");r.push(Wl(d.join("")))}return r.join("\n")})()}#x(t,r){const d=document.getSelection(),{focusNode:p,anchorNode:m}=d;if(m&&p&&d.containsNode(this.#m)){if(this.#y||2===t)return r.preventDefault(),void r.stopPropagation();this.#y=!0;const{classList:v}=this.viewer;v.add("copyAll");const w=new AbortController;window.addEventListener("keydown",M=>this.#b="Escape"===M.key,{signal:w.signal}),this.getAllText().then(function(){var M=(0,A.A)(function*($){null!==$&&(yield navigator.clipboard.writeText($))});return function($){return M.apply(this,arguments)}}()).catch(M=>{console.warn(`Something goes wrong when extracting the text: ${M.message}`)}).finally(()=>{this.#y=!1,this.#b=!1,w.abort(),v.remove("copyAll")}),r.preventDefault(),r.stopPropagation()}}setDocument(t){var r=this;if(this.pdfDocument&&(this.eventBus.dispatch("pagesdestroy",{source:this}),this._cancelRendering(),this._resetView(),this.findController?.setDocument(null),this._scriptingManager?.setDocument(null),this.#r?.destroy(),this.#r=null),this.pdfDocument=t,!t)return;const d=t.numPages,p=t.getPage(1),m=t.getOptionalContentConfig({intent:"display"}),v=this.#a?t.getPermissions():Promise.resolve(),{eventBus:w,pageColors:M,viewer:$}=this;this.#h=new AbortController;const{signal:K}=this.#h;if(d>1e4){console.warn("Forcing PAGE-scrolling for performance reasons, given the length of the document.");const Ue=this._scrollMode=hr.PAGE;w.dispatch("scrollmodechanged",{source:this,mode:Ue})}this._pagesCapability.promise.then(()=>{w.dispatch("pagesloaded",{source:this,pagesCount:d})},()=>{}),w._on("pagerender",Ue=>{const Qe=this._pages[Ue.pageNumber-1];Qe&&this.#e.push(Qe)},{signal:K});const me=Ue=>{Ue.cssTransform||(this._onePageRenderedCapability.resolve({timestamp:Ue.timestamp}),w._off("pagerendered",me))};w._on("pagerendered",me,{signal:K}),Promise.all([p,v]).then(([Ue,Qe])=>{if(t!==this.pdfDocument)return;this._firstPageCapability.resolve(Ue),this._optionalContentConfigPromise=m;const{annotationEditorMode:gt,annotationMode:It,textLayerMode:St}=this.#D(Qe);if(0!==St){const pn=this.#m=document.createElement("div");pn.id="hiddenCopyElement",$.before(pn)}if("function"==typeof AbortSignal.any&&gt!==nc.DISABLE){const pn=gt;t.isPureXfa?console.warn("Warning: XFA-editing is not implemented."):Q0(pn)?(this.#r=new dl(this.container,$,this.#t,w,t,M,this.#n,this.#d,this.#u,this.#o,this.#p),w.dispatch("annotationeditoruimanager",{source:this,uiManager:this.#r}),pn!==nc.NONE&&(pn===nc.STAMP&&this.#p?.loadModel("altText"),this.#r.updateMode(pn))):console.error(`Invalid AnnotationEditor mode: ${pn}`)}const Jt=this._scrollMode===hr.PAGE?null:$,un=this.currentScale,fn=Ue.getViewport({scale:un*de.PDF_TO_CSS_UNITS});$.style.setProperty("--scale-factor",fn.scale),M?.background&&$.style.setProperty("--page-bg-color",M.background),("CanvasText"===M?.foreground||"Canvas"===M?.background)&&($.style.setProperty("--hcm-highlight-filter",t.filterFactory.addHighlightHCMFilter("highlight","CanvasText","Canvas","HighlightText","Highlight")),$.style.setProperty("--hcm-highlight-selected-filter",t.filterFactory.addHighlightHCMFilter("highlight_selected","CanvasText","Canvas","HighlightText","ButtonText")));for(let pn=1;pn<=d;++pn){const An=new jg({container:Jt,eventBus:w,id:pn,scale:un,defaultViewport:fn.clone(),optionalContentConfigPromise:m,renderingQueue:this.renderingQueue,textLayerMode:St,annotationMode:It,imageResourcesPath:this.imageResourcesPath,maxCanvasPixels:this.maxCanvasPixels,pageColors:M,l10n:this.l10n,layerProperties:this._layerProperties,enableHWA:this.#l});this._pages.push(An)}this._pages[0]?.setPdfPage(Ue),this._scrollMode===hr.PAGE?this.#S():this._spreadMode!==Ks.NONE&&this._updateSpreadMode(),this.#E(K).then((0,A.A)(function*(){if(t!==r.pdfDocument)return;if(r.findController?.setDocument(t),r._scriptingManager?.setDocument(t),r.#m&&document.addEventListener("copy",r.#x.bind(r,St),{signal:K}),r.#r&&w.dispatch("annotationeditormodechanged",{source:r,mode:r.#i}),t.loadingParams.disableAutoFetch||d>5e3)return void r._pagesCapability.resolve();let pn=d-1;if(pn<=0)r._pagesCapability.resolve();else for(let An=2;An<=d;++An){const Zn=t.getPage(An).then(Xn=>{const dn=r._pages[An-1];dn.pdfPage||dn.setPdfPage(Xn),0==--pn&&r._pagesCapability.resolve()},Xn=>{console.error(`Unable to get page ${An} to initialize viewer`,Xn),0==--pn&&r._pagesCapability.resolve()});An%250==0&&(yield Zn)}})),w.dispatch("pagesinit",{source:this}),t.getMetadata().then(({info:pn})=>{t===this.pdfDocument&&pn.Language&&($.lang=pn.Language)}),this.defaultRenderingQueue&&this.update()}).catch(Ue=>{console.error("Unable to initialize viewer",Ue),this._pagesCapability.reject(Ue)})}setPageLabels(t){if(this.pdfDocument){t?Array.isArray(t)&&this.pdfDocument.numPages===t.length?this._pageLabels=t:(this._pageLabels=null,console.error("setPageLabels: Invalid page labels.")):this._pageLabels=null;for(let r=0,d=this._pages.length;r<d;r++)this._pages[r].setPageLabel(this._pageLabels?.[r]??null)}}_resetView(){this._pages=[],this._currentPageNumber=1,this._currentScale=0,this._currentScaleValue=null,this._pageLabels=null,this.#e=new gv(10),this._location=null,this._pagesRotation=0,this._optionalContentConfigPromise=null,this._firstPageCapability=Promise.withResolvers(),this._onePageRenderedCapability=Promise.withResolvers(),this._pagesCapability=Promise.withResolvers(),this._scrollMode=hr.VERTICAL,this._previousScrollMode=hr.UNKNOWN,this._spreadMode=Ks.NONE,this.#F={previousPageNumber:1,scrollDown:!0,pages:[]},this.#h?.abort(),this.#h=null,this.viewer.textContent="",this._updateScrollMode(),this.viewer.removeAttribute("lang"),this.#m?.remove(),this.#m=null,this.#U()}#S(){if(this._scrollMode!==hr.PAGE)throw new Error("#ensurePageViewVisible: Invalid scrollMode value.");const t=this._currentPageNumber,r=this.#F,d=this.viewer;if(d.textContent="",r.pages.length=0,this._spreadMode!==Ks.NONE||this.isInPresentationMode){const p=new Set,m=this._spreadMode-1;-1===m?p.add(t-1):t%2!==m?(p.add(t-1),p.add(t)):(p.add(t-2),p.add(t-1));const v=document.createElement("div");if(v.className="spread",this.isInPresentationMode){const w=document.createElement("div");w.className="dummyPage",v.append(w)}for(const w of p){const M=this._pages[w];M&&(v.append(M.div),r.pages.push(M))}d.append(v)}else{const p=this._pages[t-1];d.append(p.div),r.pages.push(p)}r.scrollDown=t>=r.previousPageNumber,r.previousPageNumber=t}_scrollUpdate(){0!==this.pagesCount&&this.update()}#T(t,r=null){const{div:d,id:p}=t;if(this._currentPageNumber!==p&&this._setCurrentPageNumber(p),this._scrollMode===hr.PAGE&&(this.#S(),this.update()),!r&&!this.isInPresentationMode){const m=d.offsetLeft+d.clientLeft,v=m+d.clientWidth,{scrollLeft:w,clientWidth:M}=this.container;(this._scrollMode===hr.HORIZONTAL||m<w||v>w+M)&&(r={left:0,top:0})}ju(d,r),!this._currentScaleValue&&this._location&&(this._location=null)}#P(t){return t===this._currentScale||Math.abs(t-this._currentScale)<1e-15}
3#k(t,r,{noScroll:d=!1,preset:p=!1,drawingDelay:m=-1,origin:v=null}){if(this._currentScaleValue=r.toString(),this.#P(t))return void(p&&this.eventBus.dispatch("scalechanging",{source:this,scale:t,presetValue:r}));this.viewer.style.setProperty("--scale-factor",t*de.PDF_TO_CSS_UNITS);const w=m>=0&&m<1e3;this.refresh(!0,{scale:t,drawingDelay:w?m:-1}),w&&(this.#w=setTimeout(()=>{this.#w=null,this.refresh()},m));const M=this._currentScale;if(this._currentScale=t,!d){let K,$=this._currentPageNumber;if(this._location&&!(this.isInPresentationMode||this.isChangingPresentationMode)&&($=this._location.pageNumber,K=[null,{name:"XYZ"},this._location.left,this._location.top,null]),this.scrollPageIntoView({pageNumber:$,destArray:K,allowNegativeOffset:!0}),Array.isArray(v)){const re=t/M-1,[me,Ue]=this.containerTopLeft;this.container.scrollLeft+=(v[0]-Ue)*re,this.container.scrollTop+=(v[1]-me)*re}}this.eventBus.dispatch("scalechanging",{source:this,scale:t,presetValue:p?r:void 0}),this.defaultRenderingQueue&&this.update()}get#v(){return this._spreadMode!==Ks.NONE&&this._scrollMode!==hr.HORIZONTAL?2:1}#M(t,r){let d=parseFloat(t);if(d>0)r.preset=!1,this.#k(d,t,r);else{const p=this._pages[this._currentPageNumber-1];if(!p)return;let m=40,v=5;this.isInPresentationMode?(m=v=4,this._spreadMode!==Ks.NONE&&(m*=2)):this.removePageBorders?m=v=0:this._scrollMode===hr.HORIZONTAL&&([m,v]=[v,m]);const w=(this.container.clientWidth-m)/p.width*p.scale/this.#v,M=(this.container.clientHeight-v)/p.height*p.scale;switch(t){case"page-actual":d=1;break;case"page-width":d=w;break;case"page-height":d=M;break;case"page-fit":d=Math.min(w,M);break;case"auto":const $=vu(p)?w:Math.min(M,w);d=Math.min(1.25,$);break;default:return void console.error(`#setScale: "${t}" is an unknown zoom value.`)}r.preset=!0,this.#k(d,t,r)}}#O(){const t=this._pages[this._currentPageNumber-1];this.isInPresentationMode&&this.#M(this._currentScaleValue,{noScroll:!0}),this.#T(t)}pageLabelToPageNumber(t){if(!this._pageLabels)return null;const r=this._pageLabels.indexOf(t);return r<0?null:r+1}scrollPageIntoView({pageNumber:t,destArray:r=null,allowNegativeOffset:d=!1,ignoreDestinationZoom:p=!1}){if(!this.pdfDocument)return;const m=Number.isInteger(t)&&this._pages[t-1];if(!m)return void console.error(`scrollPageIntoView: "${t}" is not a valid pageNumber parameter.`);if(this.isInPresentationMode||!r)return void this._setCurrentPageNumber(t,!0);let K,re,v=0,w=0,M=0,$=0;const me=m.rotation%180!=0,Ue=(me?m.height:m.width)/m.scale/de.PDF_TO_CSS_UNITS,Qe=(me?m.width:m.height)/m.scale/de.PDF_TO_CSS_UNITS;let gt=0;switch(r[1].name){case"XYZ":v=r[2],w=r[3],gt=r[4],v=null!==v?v:0,w=null!==w?w:Qe;break;case"Fit":case"FitB":gt="page-fit";break;case"FitH":case"FitBH":w=r[2],gt="page-width",null===w&&this._location?(v=this._location.left,w=this._location.top):("number"!=typeof w||w<0)&&(w=Qe);break;case"FitV":case"FitBV":v=r[2],M=Ue,$=Qe,gt="page-height";break;case"FitR":v=r[2],w=r[3],M=r[4]-v,$=r[5]-w;let un=40,fn=5;this.removePageBorders&&(un=fn=0),K=(this.container.clientWidth-un)/M/de.PDF_TO_CSS_UNITS,re=(this.container.clientHeight-fn)/$/de.PDF_TO_CSS_UNITS,gt=Math.min(Math.abs(K),Math.abs(re));break;default:return void console.error(`scrollPageIntoView: "${r[1].name}" is not a valid destination type.`)}if(p||(gt&&gt!==this._currentScale?this.currentScaleValue=gt:0===this._currentScale&&(this.currentScaleValue="auto")),"page-fit"===gt&&!r[4])return void this.#T(m);const It=[m.viewport.convertToViewportPoint(v,w),m.viewport.convertToViewportPoint(v+M,w+$)];let St=Math.min(It[0][0],It[1][0]),Jt=Math.min(It[0][1],It[1][1]);d||(St=Math.max(St,0),Jt=Math.max(Jt,0)),this.#T(m,{left:St,top:Jt})}_updateLocation(t){const r=this._currentScale,d=this._currentScaleValue,p=parseFloat(d)===r?Math.round(1e4*r)/100:d,m=t.id,w=this.container,M=this._pages[m-1].getPagePoint(w.scrollLeft-t.x,w.scrollTop-t.y),$=Math.round(M[0]),K=Math.round(M[1]);let re=`#page=${m}`;this.isInPresentationMode||(re+=`&zoom=${p},${$},${K}`),this._location={pageNumber:m,scale:p,top:K,left:$,rotation:this._pagesRotation,pdfOpenParams:re}}update(){const t=this._getVisiblePages(),r=t.views,d=r.length;if(0===d)return;const p=Math.max(10,2*d+1);this.#e.resize(p,t.ids),this.renderingQueue.renderHighestPriority(t);const m=this._spreadMode===Ks.NONE&&(this._scrollMode===hr.PAGE||this._scrollMode===hr.VERTICAL),v=this._currentPageNumber;let w=!1;for(const M of r){if(M.percent<100)break;if(M.id===v&&m){w=!0;break}}this._setCurrentPageNumber(w?v:r[0].id),this._updateLocation(t.first),this.eventBus.dispatch("updateviewarea",{source:this,location:this._location})}#B(){const t=this._getVisiblePages(),r=[],{ids:d,views:p}=t;for(const m of p){const{view:v}=m;
3v.hasEditableAnnotations()?r.push(m):d.delete(v.id)}return 0===r.length?null:(this.renderingQueue.renderHighestPriority({first:r[0],last:r.at(-1),views:r,ids:d}),d)}containsElement(t){return this.container.contains(t)}focus(){this.container.focus()}get _isContainerRtl(){return"rtl"===getComputedStyle(this.container).direction}get isInPresentationMode(){return 3===this.presentationModeState}get isChangingPresentationMode(){return 2===this.presentationModeState}get isHorizontalScrollbarEnabled(){return!this.isInPresentationMode&&this.container.scrollWidth>this.container.clientWidth}get isVerticalScrollbarEnabled(){return!this.isInPresentationMode&&this.container.scrollHeight>this.container.clientHeight}_getVisiblePages(){const t=this._scrollMode===hr.PAGE?this.#F.pages:this._pages,r=this._scrollMode===hr.HORIZONTAL;return function nr({scrollEl:x,views:t,sortByVisibility:r=!1,horizontal:d=!1,rtl:p=!1}){const m=x.scrollTop,v=m+x.clientHeight,w=x.scrollLeft,M=w+x.clientWidth,re=[],me=new Set,Ue=t.length;let Qe=cl(t,d?function K(Jt){const un=Jt.div,fn=un.offsetLeft+un.clientLeft;return p?fn<M:fn+un.clientWidth>w}:function $(Jt){const un=Jt.div;return un.offsetTop+un.clientTop+un.clientHeight>m});Qe>0&&Qe<Ue&&!d&&(Qe=function cd(x,t,r){if(x<2)return x;let d=t[x].div,p=d.offsetTop+d.clientTop;p>=r&&(d=t[x-1].div,p=d.offsetTop+d.clientTop);for(let m=x-2;m>=0&&(d=t[m].div,!(d.offsetTop+d.clientTop+d.clientHeight<=p));--m)x=m;return x}(Qe,t,m));let gt=d?M:-1;for(let Jt=Qe;Jt<Ue;Jt++){const un=t[Jt],fn=un.div,pn=fn.offsetLeft+fn.clientLeft,An=fn.offsetTop+fn.clientTop,Zn=fn.clientWidth,Xn=fn.clientHeight,dn=pn+Zn,Tn=An+Xn;if(-1===gt)Tn>=v&&(gt=Tn);else if((d?pn:An)>gt)break;if(Tn<=m||An>=v||dn<=w||pn>=M)continue;const ui=Math.max(0,m-An)+Math.max(0,Tn-v),Vs=(Zn-(Math.max(0,w-pn)+Math.max(0,dn-M)))/Zn;re.push({id:un.id,x:pn,y:An,view:un,percent:(Xn-ui)/Xn*Vs*100|0,widthPercent:100*Vs|0}),me.add(un.id)}const It=re[0],St=re.at(-1);return r&&re.sort(function(Jt,un){const fn=Jt.percent-un.percent;return Math.abs(fn)>.001?-fn:Jt.id-un.id}),{first:It,last:St,views:re,ids:me}}({scrollEl:this.container,views:t,sortByVisibility:!0,horizontal:r,rtl:r&&this._isContainerRtl})}cleanup(){for(const t of this._pages)t.renderingState!==co.FINISHED&&t.reset()}_cancelRendering(){for(const t of this._pages)t.cancelRendering()}#V(t){var r=this;return(0,A.A)(function*(){if(t.pdfPage)return t.pdfPage;try{const d=yield r.pdfDocument.getPage(t.id);return t.pdfPage||t.setPdfPage(d),d}catch(d){return console.error("Unable to get page for page view",d),null}})()}#j(t){if(1===t.first?.id)return!0;if(t.last?.id===this.pagesCount)return!1;switch(this._scrollMode){case hr.PAGE:return this.#F.scrollDown;case hr.HORIZONTAL:return this.scroll.right}return this.scroll.down}forceRendering(t){const r=t||this._getVisiblePages(),d=this.#j(r),m=this.renderingQueue.getHighestPriority(r,this._pages,d,this._spreadMode!==Ks.NONE&&this._scrollMode!==hr.HORIZONTAL);return!!m&&(this.#V(m).then(()=>{this.renderingQueue.renderView(m)}),!0)}get hasEqualPageSizes(){const t=this._pages[0];for(let r=1,d=this._pages.length;r<d;++r){const p=this._pages[r];if(p.width!==t.width||p.height!==t.height)return!1}return!0}getPagesOverview(){let t;return this._pages.map(r=>{const d=r.pdfPage.getViewport({scale:1}),p=vu(d);if(void 0===t)t=p;else if(this.enablePrintAutoRotate&&p!==t)return{width:d.height,height:d.width,rotation:(d.rotation-90)%360};return{width:d.width,height:d.height,rotation:d.rotation}})}get optionalContentConfigPromise(){return this.pdfDocument?this._optionalContentConfigPromise?this._optionalContentConfigPromise:(console.error("optionalContentConfigPromise: Not initialized yet."),this.pdfDocument.getOptionalContentConfig({intent:"display"})):Promise.resolve(null)}set optionalContentConfigPromise(t){if(!(t instanceof Promise))throw new Error(`Invalid optionalContentConfigPromise: ${t}`);this.pdfDocument&&this._optionalContentConfigPromise&&(this._optionalContentConfigPromise=t,this.refresh(!1,{optionalContentConfigPromise:t}),this.eventBus.dispatch("optionalcontentconfigchanged",{source:this,promise:t}))}get scrollMode(){return this._scrollMode}set scrollMode(t){if(this._scrollMode!==t){if(!function Gl(x){return Number.isInteger(x)&&Object.values(hr).includes(x)&&x!==hr.UNKNOWN}(t))throw new Error(`Invalid scroll mode: ${t}`);this.pagesCount>1e4||(this._previousScrollMode=this._scrollMode,this._scrollMode=t,this.eventBus.dispatch("scrollmodechanged",{source:this,mode:t}),this._updateScrollMode(this._currentPageNumber))}}_updateScrollMode(t=null){const r=this._scrollMode,d=this.viewer;d.classList.toggle("scrollHorizontal",r===hr.HORIZONTAL),d.classList.toggle("scrollWrapped",r===hr.WRAPPED),this.pdfDocument&&t&&(r===hr.PAGE?this.#S():this._previousScrollMode===hr.PAGE&&this._updateSpreadMode(),this._currentScaleValue&&isNaN(this._currentScaleValue)&&this.#M(this._currentScaleValue,{noScroll:!0}),this._setCurrentPageNumber(t,!0),this.update())}get spreadMode(){return this._spreadMode}set spreadMode(t){if(this._spreadMode!==t){if(!function sa(x){return Number.isInteger(x)&&Object.values(Ks).includes(x)&&x!==Ks.UNKNOWN}(t))throw new Error(`Invalid spread mode: ${t}`);this._spreadMode=t,this.eventBus.dispatch("spreadmodechanged",{source:this,mode:t}),this._updateSpreadMode(this._currentPageNumber)}}_updateSpreadMode(t=null){if(!this.pdfDocument)return;const r=this.viewer,d=this._pages;if(this._scrollMode===hr.PAGE)this.#S();else if(r.textContent="",this._spreadMode===Ks.NONE)for(const p of this._pages)r.append(p.div);else{const p=this._spreadMode-1;let m=null;for(let v=0,w=d.length;v<w;++v)null===m?(m=document.createElement("div"),m.className="spread",r.append(m)):v%2===p&&
3(m=m.cloneNode(!1),r.append(m)),m.append(d[v].div)}t&&(this._currentScaleValue&&isNaN(this._currentScaleValue)&&this.#M(this._currentScaleValue,{noScroll:!0}),this._setCurrentPageNumber(t,!0),this.update())}_getPageAdvance(t,r=!1){switch(this._scrollMode){case hr.WRAPPED:{const{views:d}=this._getVisiblePages(),p=new Map;for(const{id:m,y:v,percent:w,widthPercent:M}of d){if(0===w||M<100)continue;let $=p.get(v);$||p.set(v,$||=[]),$.push(m)}for(const m of p.values()){const v=m.indexOf(t);if(-1===v)continue;const w=m.length;if(1===w)break;if(r)for(let M=v-1,$=0;M>=$;M--){const re=m[M+1]-1;if(m[M]<re)return t-re}else for(let M=v+1,$=w;M<$;M++){const re=m[M-1]+1;if(m[M]>re)return re-t}if(r){const M=m[0];if(M<t)return t-M+1}else{const M=m[w-1];if(M>t)return M-t+1}break}break}case hr.HORIZONTAL:break;case hr.PAGE:case hr.VERTICAL:{if(this._spreadMode===Ks.NONE)break;const d=this._spreadMode-1;if(r&&t%2!==d)break;if(!r&&t%2===d)break;const{views:p}=this._getVisiblePages(),m=r?t-1:t+1;for(const{id:v,percent:w,widthPercent:M}of p)if(v===m){if(w>0&&100===M)return 2;break}break}}return 1}nextPage(){const t=this._currentPageNumber,r=this.pagesCount;if(t>=r)return!1;const d=this._getPageAdvance(t,!1)||1;return this.currentPageNumber=Math.min(t+d,r),!0}previousPage(){const t=this._currentPageNumber;if(t<=1)return!1;const r=this._getPageAdvance(t,!0)||1;return this.currentPageNumber=Math.max(t-r,1),!0}updateScale({drawingDelay:t,scaleFactor:r=null,steps:d=null,origin:p}){if(null===d&&null===r)throw new Error("Invalid updateScale options: either `steps` or `scaleFactor` must be provided.");if(!this.pdfDocument)return;let m=this._currentScale;if(r>0&&1!==r)m=Math.round(m*r*100)/100;else if(d){const v=d>0?1.1:1/1.1,w=d>0?Math.ceil:Math.floor;d=Math.abs(d);do{m=w(10*(m*v).toFixed(2))/10}while(--d>0)}m=Math.max(.1,Math.min(10,m)),this.#M(m,{noScroll:!1,drawingDelay:t,origin:p})}increaseScale(t={}){this.updateScale({...t,steps:t.steps??1})}decreaseScale(t={}){this.updateScale({...t,steps:-(t.steps??1)})}#R(t=this.container.clientHeight){t!==this.#_&&(this.#_=t,_u.setProperty("--viewer-container-height",`${t}px`))}#L(t){for(const r of t)if(r.target===this.container){this.#R(Math.floor(r.borderBoxSize[0].blockSize)),this.#c=null;break}}get containerTopLeft(){return this.#c||=[this.container.offsetTop,this.container.offsetLeft]}#U(){this.#f?.abort(),this.#f=null,null!==this.#g&&(clearTimeout(this.#g),this.#g=null)}get annotationEditorMode(){return this.#r?this.#i:nc.DISABLE}set annotationEditorMode({mode:t,editId:r=null,isFromKeyboard:d=!1}){if(!this.#r)throw new Error("The AnnotationEditor is not enabled.");if(this.#i===t)return;if(!Q0(t))throw new Error(`Invalid AnnotationEditor mode: ${t}`);if(!this.pdfDocument)return;t===nc.STAMP&&this.#p?.loadModel("altText");const{eventBus:p}=this,m=()=>{this.#U(),this.#i=t,this.#r.updateMode(t,r,d),p.dispatch("annotationeditormodechanged",{source:this,mode:t})};if(t===nc.NONE||this.#i===nc.NONE){const v=t!==nc.NONE;v||this.pdfDocument.annotationStorage.resetModifiedIds();for(const M of this._pages)M.toggleEditingMode(v);const w=this.#B();if(v&&w){this.#U(),this.#f=new AbortController;const M=AbortSignal.any([this.#h.signal,this.#f.signal]);return void p._on("pagerendered",({pageNumber:$})=>{w.delete($),0===w.size&&(this.#g=setTimeout(m,0))},{signal:M})}}m()}refresh(t=!1,r=Object.create(null)){if(this.pdfDocument){for(const d of this._pages)d.update(r);null!==this.#w&&(clearTimeout(this.#w),this.#w=null),t||this.update()}}}class Z0 extends zg{_resetView(){super._resetView(),this._scrollMode=hr.PAGE,this._spreadMode=Ks.NONE}set scrollMode(t){}_updateScrollMode(){}set spreadMode(t){}_updateSpreadMode(){}}var J0=Us.AnnotationLayerBuilder,ey=Us.DownloadManager,ty=Us.EventBus,ny=Us.FindState,iy=Us.GenericL10n,fh=Us.LinkTarget,ry=Us.PDFFindController,yv=Us.PDFHistory,Hg=Us.PDFLinkService,KC=Us.PDFPageView,sy=Us.PDFScriptingManager,oy=Us.PDFSinglePageViewer,ay=Us.PDFViewer,XC=Us.ProgressBar,bv=Us.RenderingStates,cy=Us.ScrollMode,Wg=Us.SimpleLinkService,vv=Us.SpreadMode,Su=Us.StructTreeLayerBuilder,tp=Us.TextLayerBuilder,_v=Us.XfaLayerBuilder,ly=Us.parseQueryString;const np=["pdfViewerContainer"];function Gg(x,t,r){x[t]=r}function Jh(){return typeof window>"u"}Jh()||Gg(a,"verbosity",Sd.INFOS),typeof Promise.withResolvers>"u"&&window&&(window.Promise.withResolvers=()=>{let x,t;return{promise:new Promise((d,p)=>{x=d,t=p}),resolve:x,reject:t}});var Kg=function(x){return x[x.DISABLED=0]="DISABLED",x[x.ENABLED=1]="ENABLED",x[x.ENHANCED=2]="ENHANCED",x}(Kg||{});let qC=(()=>{class x{element;ngZone;static CSS_UNITS=96/72;static BORDER_WIDTH=9;pdfViewerContainer;eventBus;pdfLinkService;pdfFindController;pdfViewer;isVisible=!1;_cMapsUrl=typeof a<"u"?`https://unpkg.com/pdfjs-dist@${Bi}/cmaps/`:null;_imageResourcesPath=typeof a<"u"?`https://unpkg.com/pdfjs-dist@${Bi}/web/images/`:void 0;_renderText=!0;_renderTextMode=Kg.ENABLED;_stickToPage=!1;_originalSize=!0;_pdf;_page=1;_zoom=1;_zoomScale="page-width";_rotation=0;_showAll=!0;_canAutoResize=!0;_fitToPage=!1;_externalLinkTarget="blank";_showBorders=!1;lastLoaded;_latestScrolledPage;pageScrollTimeout=null;isInitialized=!1;loadingTask;destroy$=new P.B;afterLoadComplete=new H.bkB;pageRendered=new H.bkB;pageInitialized=new H.bkB;textLayerRendered=new H.bkB;
3onError=new H.bkB;onProgress=new H.bkB;pageChange=new H.bkB(!0);src;set cMapsUrl(r){this._cMapsUrl=r}set page(r){const d=r=parseInt(r,10)||1;this._pdf&&(r=this.getValidPageNumber(r)),this._page=r,d!==r&&this.pageChange.emit(r)}set renderText(r){this._renderText=r}set renderTextMode(r){this._renderTextMode=r}set originalSize(r){this._originalSize=r}set showAll(r){this._showAll=r}set stickToPage(r){this._stickToPage=r}set zoom(r){r<=0||(this._zoom=r)}get zoom(){return this._zoom}set zoomScale(r){this._zoomScale=r}get zoomScale(){return this._zoomScale}set rotation(r){"number"==typeof r&&r%90==0?this._rotation=r:console.warn("Invalid pages rotation angle.")}set externalLinkTarget(r){this._externalLinkTarget=r}set autoresize(r){this._canAutoResize=!!r}set fitToPage(r){this._fitToPage=!!r}set showBorders(r){this._showBorders=!!r}static getLinkTarget(r){switch(r){case"blank":return fh.BLANK;case"none":return fh.NONE;case"self":return fh.SELF;case"parent":return fh.PARENT;case"top":return fh.TOP}return null}constructor(r,d){if(this.element=r,this.ngZone=d,Jh())return;let p;const m=Bi;p=window[`pdfWorkerSrc${m}`]||(window.hasOwnProperty("pdfWorkerSrc")&&"string"==typeof window.pdfWorkerSrc&&window.pdfWorkerSrc?window.pdfWorkerSrc:`https://cdn.jsdelivr.net/npm/pdfjs-dist@${m}/legacy/build/pdf.worker.min.mjs`),Gg(vo,"workerSrc",p)}ngAfterViewChecked(){if(this.isInitialized)return;const r=this.pdfViewerContainer.nativeElement.offsetParent;!0!==this.isVisible||null!=r?!1===this.isVisible&&null!=r&&(this.isVisible=!0,setTimeout(()=>{this.initialize(),this.ngOnChanges({src:this.src})})):this.isVisible=!1}ngOnInit(){this.initialize(),this.setupResizeListener()}ngOnDestroy(){this.clear(),this.destroy$.next(),this.loadingTask=null}ngOnChanges(r){if(!Jh()&&this.isVisible)if("src"in r)this.loadPDF();else if(this._pdf){if(("renderText"in r||"showAll"in r)&&(this.setupViewer(),this.resetPdfDocument()),"page"in r){const{page:d}=r;if(d.currentValue===this._latestScrolledPage)return;this.pdfViewer.scrollPageIntoView({pageNumber:this._page})}this.update()}}updateSize(){(0,C.H)(this._pdf.getPage(this.pdfViewer.currentPageNumber)).pipe((0,B.Q)(this.destroy$)).subscribe({next:r=>{const d=this._rotation+r.rotate,p=r.getViewport({scale:this._zoom,rotation:d}).width*x.CSS_UNITS;let m=this._zoom,v=!0;if(!this._originalSize||this._fitToPage&&p>this.pdfViewerContainer.nativeElement.clientWidth){const w=r.getViewport({scale:1,rotation:d});m=this.getScale(w.width,w.height),v=!this._stickToPage}this.pdfViewer.currentScale=m,v&&this.pdfViewer.scrollPageIntoView({pageNumber:r.pageNumber,ignoreDestinationZoom:!0})}})}clear(){this.loadingTask&&!this.loadingTask.destroyed&&this.loadingTask.destroy(),this._pdf&&(this._latestScrolledPage=0,this._pdf.destroy(),this._pdf=void 0),this.pdfViewer&&this.pdfViewer.setDocument(null),this.pdfLinkService&&this.pdfLinkService.setDocument(null,null),this.pdfFindController&&this.pdfFindController.setDocument(null)}getPDFLinkServiceConfig(){const r=x.getLinkTarget(this._externalLinkTarget);return r?{externalLinkTarget:r}:{}}initEventBus(){this.eventBus=function YC(x,t){const r=new x.EventBus;return function Fv(x,t){(0,z.R)(x,"documentload").pipe((0,B.Q)(t)).subscribe(()=>{const r=document.createEvent("CustomEvent");r.initCustomEvent("documentload",!0,!0,{}),window.dispatchEvent(r)}),(0,z.R)(x,"pagerendered").pipe((0,B.Q)(t)).subscribe(({pageNumber:r,cssTransform:d,source:p})=>{const m=document.createEvent("CustomEvent");m.initCustomEvent("pagerendered",!0,!0,{pageNumber:r,cssTransform:d}),p.div.dispatchEvent(m)}),(0,z.R)(x,"textlayerrendered").pipe((0,B.Q)(t)).subscribe(({pageNumber:r,source:d})=>{const p=document.createEvent("CustomEvent");p.initCustomEvent("textlayerrendered",!0,!0,{pageNumber:r}),d.textLayerDiv?.dispatchEvent(p)}),(0,z.R)(x,"pagechanging").pipe((0,B.Q)(t)).subscribe(({pageNumber:r,source:d})=>{const p=document.createEvent("UIEvents");p.initEvent("pagechanging",!0,!0),p.pageNumber=r,d.container.dispatchEvent(p)}),(0,z.R)(x,"pagesinit").pipe((0,B.Q)(t)).subscribe(({source:r})=>{const d=document.createEvent("CustomEvent");
3d.initCustomEvent("pagesinit",!0,!0,null),r.container.dispatchEvent(d)}),(0,z.R)(x,"pagesloaded").pipe((0,B.Q)(t)).subscribe(({pagesCount:r,source:d})=>{const p=document.createEvent("CustomEvent");p.initCustomEvent("pagesloaded",!0,!0,{pagesCount:r}),d.container.dispatchEvent(p)}),(0,z.R)(x,"scalechange").pipe((0,B.Q)(t)).subscribe(({scale:r,presetValue:d,source:p})=>{const m=document.createEvent("UIEvents");m.initEvent("scalechange",!0,!0),m.scale=r,m.presetValue=d,p.container.dispatchEvent(m)}),(0,z.R)(x,"updateviewarea").pipe((0,B.Q)(t)).subscribe(({location:r,source:d})=>{const p=document.createEvent("UIEvents");p.initEvent("updateviewarea",!0,!0),p.location=r,d.container.dispatchEvent(p)}),(0,z.R)(x,"find").pipe((0,B.Q)(t)).subscribe(({source:r,type:d,query:p,phraseSearch:m,caseSensitive:v,highlightAll:w,findPrevious:M})=>{if(r===window)return;const $=document.createEvent("CustomEvent");$.initCustomEvent("find"+d,!0,!0,{query:p,phraseSearch:m,caseSensitive:v,highlightAll:w,findPrevious:M}),window.dispatchEvent($)}),(0,z.R)(x,"attachmentsloaded").pipe((0,B.Q)(t)).subscribe(({attachmentsCount:r,source:d})=>{const p=document.createEvent("CustomEvent");p.initCustomEvent("attachmentsloaded",!0,!0,{attachmentsCount:r}),d.container.dispatchEvent(p)}),(0,z.R)(x,"sidebarviewchanged").pipe((0,B.Q)(t)).subscribe(({view:r,source:d})=>{const p=document.createEvent("CustomEvent");p.initCustomEvent("sidebarviewchanged",!0,!0,{view:r}),d.outerContainer.dispatchEvent(p)}),(0,z.R)(x,"pagemode").pipe((0,B.Q)(t)).subscribe(({mode:r,source:d})=>{const p=document.createEvent("CustomEvent");p.initCustomEvent("pagemode",!0,!0,{mode:r}),d.pdfViewer.container.dispatchEvent(p)}),(0,z.R)(x,"namedaction").pipe((0,B.Q)(t)).subscribe(({action:r,source:d})=>{const p=document.createEvent("CustomEvent");p.initCustomEvent("namedaction",!0,!0,{action:r}),d.pdfViewer.container.dispatchEvent(p)}),(0,z.R)(x,"presentationmodechanged").pipe((0,B.Q)(t)).subscribe(({active:r,switchInProgress:d})=>{const p=document.createEvent("CustomEvent");p.initCustomEvent("presentationmodechanged",!0,!0,{active:r,switchInProgress:d}),window.dispatchEvent(p)}),(0,z.R)(x,"outlineloaded").pipe((0,B.Q)(t)).subscribe(({outlineCount:r,source:d})=>{const p=document.createEvent("CustomEvent");p.initCustomEvent("outlineloaded",!0,!0,{outlineCount:r}),d.container.dispatchEvent(p)})}(r,t),r}(h,this.destroy$),(0,z.R)(this.eventBus,"pagerendered").pipe((0,B.Q)(this.destroy$)).subscribe(r=>{this.pageRendered.emit(r)}),(0,z.R)(this.eventBus,"pagesinit").pipe((0,B.Q)(this.destroy$)).subscribe(r=>{this.pageInitialized.emit(r)}),(0,z.R)(this.eventBus,"pagechanging").pipe((0,B.Q)(this.destroy$)).subscribe(({pageNumber:r})=>{this.pageScrollTimeout&&clearTimeout(this.pageScrollTimeout),this.pageScrollTimeout=window.setTimeout(()=>{this._latestScrolledPage=r,this.pageChange.emit(r)},100)}),(0,z.R)(this.eventBus,"textlayerrendered").pipe((0,B.Q)(this.destroy$)).subscribe(r=>{this.textLayerRendered.emit(r)})}initPDFServices(){this.pdfLinkService=new Hg({eventBus:this.eventBus,...this.getPDFLinkServiceConfig()}),this.pdfFindController=new ry({eventBus:this.eventBus,linkService:this.pdfLinkService})}getPDFOptions(){return{eventBus:this.eventBus,container:this.element.nativeElement.querySelector("div"),removePageBorders:!this._showBorders,linkService:this.pdfLinkService,textLayerMode:this._renderText?this._renderTextMode:Kg.DISABLED,findController:this.pdfFindController,l10n:new iy("en"),imageResourcesPath:this._imageResourcesPath,annotationEditorMode:il.DISABLE}}setupViewer(){this.pdfViewer&&this.pdfViewer.setDocument(null),Gg(a,"disableTextLayer",!this._renderText),this.initPDFServices(),this.pdfViewer=this._showAll?new ay(this.getPDFOptions()):new oy(this.getPDFOptions()),this.pdfLinkService.setViewer(this.pdfViewer),this.pdfViewer._currentPageNumber=this._page}getValidPageNumber(r){return r<1?1:r>this._pdf.numPages?this._pdf.numPages:r}getDocumentParams(){const r=typeof this.src;if(!this._cMapsUrl)return this.src;const d={cMapUrl:this._cMapsUrl,cMapPacked:!0,enableXfa:!0,isEvalSupported:!1};return"string"===r?d.url=this.src:"object"===r&&(void 0!==this.src.byteLength?d.data=this.src:Object.assign(d,this.src
3)),d}loadPDF(){if(!this.src)return;if(this.lastLoaded===this.src)return void this.update();this.clear(),this.setupViewer(),this.loadingTask=Z(this.getDocumentParams()),this.loadingTask.onProgress=d=>{this.onProgress.emit(d)};const r=this.src;(0,C.H)(this.loadingTask.promise).pipe((0,B.Q)(this.destroy$)).subscribe({next:d=>{this._pdf=d,this.lastLoaded=r,this.afterLoadComplete.emit(d),this.resetPdfDocument(),this.update()},error:d=>{this.lastLoaded=null,this.onError.emit(d)}})}update(){this.page=this._page,this.render()}render(){if(this._page=this.getValidPageNumber(this._page),(0!==this._rotation||this.pdfViewer.pagesRotation!==this._rotation)&&this.pdfViewer.firstPagePromise?.then(()=>this.pdfViewer.pagesRotation=this._rotation),this._stickToPage&&setTimeout(()=>{this.pdfViewer.currentPageNumber=this._page}),this.pdfViewer._pages?.length)this.updateSize();else{const r=this.pageInitialized.subscribe(()=>{this.updateSize(),r.unsubscribe()})}}getScale(r,d){const p=this._showBorders?2*x.BORDER_WIDTH:0,m=this.pdfViewerContainer.nativeElement.clientWidth-p,v=this.pdfViewerContainer.nativeElement.clientHeight-p;if(0===v||0===d||0===m||0===r)return 1;let w=1;switch(this._zoomScale){case"page-fit":w=Math.min(v/d,m/r);break;case"page-height":w=v/d;break;default:w=m/r}return this._zoom*w/x.CSS_UNITS}resetPdfDocument(){this.pdfLinkService.setDocument(this._pdf,null),this.pdfFindController.setDocument(this._pdf),this.pdfViewer.setDocument(this._pdf)}initialize(){Jh()||!this.isVisible||(this.isInitialized=!0,this.initEventBus(),this.setupViewer())}setupResizeListener(){Jh()||this.ngZone.runOutsideAngular(()=>{(0,z.R)(window,"resize").pipe((0,_.B)(100),(0,q.p)(()=>this._canAutoResize&&!!this._pdf),(0,B.Q)(this.destroy$)).subscribe(()=>{this.updateSize()})})}static \u0275fac=function(d){return new(d||x)(H.rXU(H.aKT),H.rXU(H.SKi))};static \u0275cmp=H.VBU({type:x,selectors:[["pdf-viewer"]],viewQuery:function(d,p){if(1&d&&H.GBs(np,5),2&d){let m;H.mGM(m=H.lsd())&&(p.pdfViewerContainer=m.first)}},inputs:{src:"src",cMapsUrl:[0,"c-maps-url","cMapsUrl"],page:"page",renderText:[0,"render-text","renderText"],renderTextMode:[0,"render-text-mode","renderTextMode"],originalSize:[0,"original-size","originalSize"],showAll:[0,"show-all","showAll"],stickToPage:[0,"stick-to-page","stickToPage"],zoom:"zoom",zoomScale:[0,"zoom-scale","zoomScale"],rotation:"rotation",externalLinkTarget:[0,"external-link-target","externalLinkTarget"],autoresize:"autoresize",fitToPage:[0,"fit-to-page","fitToPage"],showBorders:[0,"show-borders","showBorders"]},outputs:{afterLoadComplete:"after-load-complete",pageRendered:"page-rendered",pageInitialized:"pages-initialized",textLayerRendered:"text-layer-rendered",onError:"error",onProgress:"on-progress",pageChange:"pageChange"},features:[H.OA$],decls:3,vars:0,consts:[["pdfViewerContainer",""],[1,"ng2-pdf-viewer-container"],[1,"pdfViewer"]],template:function(d,p){1&d&&(H.j41(0,"div",1,0),H.nrm(2,"div",2),H.k0s())},styles:['.ng2-pdf-viewer-container[_ngcontent-%COMP%]{overflow-x:auto;position:absolute;height:100%;width:100%;-webkit-overflow-scrolling:touch}[_nghost-%COMP%]{display:block;position:relative}[_nghost-%COMP%]    {--pdfViewer-padding-bottom: 0;--page-margin: 1px auto -8px;--page-border: 9px solid transparent;--spreadHorizontalWrapped-margin-LR: -3.5px;--viewer-container-height: 0;--annotation-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,<svg width=\'1px\' height=\'1px\' xmlns=\'http://www.w3.org/2000/svg\'><rect width=\'100%\' height=\'100%\' style=\'fill:rgba(0, 54, 255, 0.13);\'/></svg>");--xfa-unfocused-field-background: var( --annotation-unfocused-field-background );--page-border-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAA1ElEQVQ4jbWUWw6EIAxFy2NFs/8NzR4UJhpqLsdi5mOmSSMUOfYWqv3S0gMr4XlYH/64gZa/gN3ANYA7KAXALt4ktoQ5MI9YxqaG8bWmsIysMuT6piSQCa4whZThCu8CM4zP9YJaKci9jicPq3NcBWYoPMGUlhG7ivtkB+gVyFY75wXghOvh8t5mto1Mdim6e+MBqH6XsY+YAwjpq3vGF7weTWQptLEDVCZvPTMl5JZZsdh47FHW6qFMyvLYqjcnmdFfY9Xk/KDOlzCusX2mi/ofM7MPkzBcSp4Q1/wAAAAASUVORK5CYII=) 9 9 repeat;--scale-factor: 1;--focus-outline: solid 2px blue;--hover-outline: dashed 2px blue;--freetext-line-height: 1.35;--freetext-padding: 2px;--editorInk-editing-cursor: pointer}@media screen and (forced-colors: active){[_nghost-%COMP%]    {--pdfViewer-padding-bottom: 9px;--page-margin: 8px auto -1px;--page-border: 1px solid CanvasText;--page-border-image: none;--spreadHorizontalWrapped-margin-LR: 3.5px}}@media (forced-colors: active){[_nghost-%COMP%]    {--focus-outline: solid 3px ButtonText;--hover-outline: dashed 3px ButtonText}}[_nghost-%COMP%]     .textLayer{position:absolute;text-align:initial;inset:0;overflow:hidden;opacity:.2;line-height:1;-webkit-text-size-adjust:none;text-size-adjust:none;forced-color-adjust:none;transform-origin:0 0}[_nghost-%COMP%]     .textLayer span, [_nghost-%COMP%]     .textLayer br{color:transparent;position:absolute;white-space:pre;cursor:text;transform-origin:0% 0%}[_nghost-%COMP%]     .textLayer span.markedContent{top:0;height:0}[_nghost-%COMP%]     .textLayer .highlight{margin:-1px;padding:1px;background-color:#b400aa;border-radius:4px}[_nghost-%COMP%]     .textLayer .highlight.appended{position:initial}[_nghost-%COMP%]     .textLayer .highlight.begin{border-radius:4px 0 0 4px}[_nghost-%COMP%]     .textLayer .highlight.end{border-radius:0 4px 4px 0}[_nghost-%COMP%]     .textLayer .highlight.middle{border-radius:0}[_nghost-%COMP%]     .textLayer .highlight.selected{background-color:#006400}[_nghost-%COMP%]     .textLayer ::selection{background:rgb(0,0,255)}[_nghost-%COMP%]     .textLayer br::selection{background:transparent}[_nghost-%COMP%]     .textLayer .endOfContent{display:block;position:absolute;inset:100% 0 0;z-index:-1;cursor:default;-webkit-user-select:none;user-select:none}[_nghost-%COMP%]     .textLayer .endOfContent.active{top:0}@media (forced-colors: active){[_nghost-%COMP%]     .annotationLayer .textWidgetAnnotation input:required, [_nghost-%COMP%]     .annotationLayer .textWidgetAnnotation textarea:required, [_nghost-%COMP%]     .annotationLayer .choiceWidgetAnnotation select:required, [_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.checkBox input:required, [_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.radioButton input:required{outline:1.5px solid selectedItem}}[_nghost-%COMP%]     .annotationLayer{position:absolute;top:0;left:0;pointer-events:none;transform-origin:0 0}[_nghost-%COMP%]     .annotationLayer section{position:absolute;text-align:initial;pointer-events:auto;box-sizing:border-box;transform-origin:0 0}[_nghost-%COMP%]     .annotationLayer .linkAnnotation>a, [_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.pushButton>a{position:absolute;font-size:1em;top:0;left:0;width:100%;height:100%}[_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.pushButton>canvas{width:100%;height:100%}[_nghost-%COMP%]     .annotationLayer .linkAnnotation>a:hover, [_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.pushButton>a:hover{opacity:.2;background:rgb(255,255,0);box-shadow:0 2px 10px #ff0}[_nghost-%COMP%]     .annotationLayer .textAnnotation img{position:absolute;cursor:pointer;width:100%;height:100%}[_nghost-%COMP%]     .annotationLayer .textWidgetAnnotation input, [_nghost-%COMP%]     .annotationLayer .textWidgetAnnotation textarea, [_nghost-%COMP%]     .annotationLayer .choiceWidgetAnnotation select, [_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.checkBox input, [_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.radioButton input{background-image:var(--annotation-unfocused-field-background);border:1px solid transparent;box-sizing:border-box;font:calc(9px * var(--scale-factor)) sans-serif;height:100%;margin:0;vertical-align:top;width:100%}[_nghost-%COMP%]     .annotationLayer .textWidgetAnnotation input:required, [_nghost-%COMP%]     .annotationLayer .textWidgetAnnotation textarea:required, [_nghost-%COMP%]     .annotationLayer .choiceWidgetAnnotation select:required, [_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.checkBox input:required, [_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.radioButton input:required{outline:1.5px solid red}[_nghost-%COMP%]     .annotationLayer .choiceWidgetAnnotation select option{padding:0}[_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}[_nghost-%COMP%]     .annotationLayer .textWidgetAnnotation textarea{resize:none}[_nghost-%COMP%]     .annotationLayer .textWidgetAnnotation input[disabled], [_nghost-%COMP%]     .annotationLayer .textWidgetAnnotation textarea[disabled], [_nghost-%COMP%]     .annotationLayer .choiceWidgetAnnotation select[disabled], [_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.checkBox input[disabled], [_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.radioButton input[disabled]{background:none;border:1px solid transparent;cursor:not-allowed}[_nghost-%COMP%]     .annotationLayer .textWidgetAnnotation input:hover, [_nghost-%COMP%]     .annotationLayer .textWidgetAnnotation textarea:hover, [_nghost-%COMP%]     .annotationLayer .choiceWidgetAnnotation select:hover, [_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.checkBox input:hover, [_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.radioButton input:hover{border:1px solid rgb(0,0,0)}[_nghost-%COMP%]     .annotationLayer .textWidgetAnnotation input:focus, [_nghost-%COMP%]     .annotationLayer .textWidgetAnnotation textarea:focus, [_nghost-%COMP%]     .annotationLayer .choiceWidgetAnnotation select:focus{background:none;border:1px solid transparent}[_nghost-%COMP%]     .annotationLayer .textWidgetAnnotation input :focus, [_nghost-%COMP%]     .annotationLayer .textWidgetAnnotation textarea :focus, [_nghost-%COMP%]     .annotationLayer .choiceWidgetAnnotation select :focus, [_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.checkBox :focus, [_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.radioButton :focus{background-image:none;background-color:transparent;outline:auto}[_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before, [_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after, [_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:CanvasText;content:"";display:block;position:absolute}[_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before, [_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{height:80%;left:45%;width:1px}[_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{transform:rotate(45deg)}[_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{transform:rotate(-45deg)}[_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;height:50%;left:30%;top:20%;width:50%}[_nghost-%COMP%]     .annotationLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:2px;padding-right:0}[_nghost-%COMP%]     .annotationLayer .textWidgetAnnotation input.comb:focus{width:103%}[_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.checkBox input, [_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.radioButton input{-webkit-appearance:none;appearance:none}[_nghost-%COMP%]     .annotationLayer .popupTriggerArea{height:100%;width:100%}[_nghost-%COMP%]     .annotationLayer .popupWrapper{position:absolute;font-size:calc(9px * var(--scale-factor));width:100%;min-width:calc(180px * var(--scale-factor));pointer-events:none}[_nghost-%COMP%]     .annotationLayer .popup{position:absolute;max-width:calc(180px * var(--scale-factor));background-color:#ff9;box-shadow:0 calc(2px * var(--scale-factor)) calc(5px * var(--scale-factor)) #888;border-radius:calc(2px * var(--scale-factor));padding:calc(6px * var(--scale-factor));margin-left:calc(5px * var(--scale-factor));cursor:pointer;font:message-box;white-space:normal;word-wrap:break-word;pointer-events:auto}[_nghost-%COMP%]     .annotationLayer .popup>*{font-size:calc(9px * var(--scale-factor))}
3[_nghost-%COMP%]     .annotationLayer .popup h1{display:inline-block}[_nghost-%COMP%]     .annotationLayer .popupDate{display:inline-block;margin-left:calc(5px * var(--scale-factor))}[_nghost-%COMP%]     .annotationLayer .popupContent{border-top:1px solid rgb(51,51,51);margin-top:calc(2px * var(--scale-factor));padding-top:calc(2px * var(--scale-factor))}[_nghost-%COMP%]     .annotationLayer .richText>*{white-space:pre-wrap;font-size:calc(9px * var(--scale-factor))}[_nghost-%COMP%]     .annotationLayer .highlightAnnotation, [_nghost-%COMP%]     .annotationLayer .underlineAnnotation, [_nghost-%COMP%]     .annotationLayer .squigglyAnnotation, [_nghost-%COMP%]     .annotationLayer .strikeoutAnnotation, [_nghost-%COMP%]     .annotationLayer .freeTextAnnotation, [_nghost-%COMP%]     .annotationLayer .lineAnnotation svg line, [_nghost-%COMP%]     .annotationLayer .squareAnnotation svg rect, [_nghost-%COMP%]     .annotationLayer .circleAnnotation svg ellipse, [_nghost-%COMP%]     .annotationLayer .polylineAnnotation svg polyline, [_nghost-%COMP%]     .annotationLayer .polygonAnnotation svg polygon, [_nghost-%COMP%]     .annotationLayer .caretAnnotation, [_nghost-%COMP%]     .annotationLayer .inkAnnotation svg polyline, [_nghost-%COMP%]     .annotationLayer .stampAnnotation, [_nghost-%COMP%]     .annotationLayer .fileAttachmentAnnotation{cursor:pointer}[_nghost-%COMP%]     .annotationLayer section svg{position:absolute;width:100%;height:100%}[_nghost-%COMP%]     .annotationLayer .annotationTextContent{position:absolute;width:100%;height:100%;opacity:0;color:transparent;-webkit-user-select:none;user-select:none;pointer-events:none}[_nghost-%COMP%]     .annotationLayer .annotationTextContent span{width:100%;display:inline-block}@media (forced-colors: active){[_nghost-%COMP%]     .xfaLayer *:required{outline:1.5px solid selectedItem}}[_nghost-%COMP%]     .xfaLayer .highlight{margin:-1px;padding:1px;background-color:#efcbed;border-radius:4px}[_nghost-%COMP%]     .xfaLayer .highlight.appended{position:initial}[_nghost-%COMP%]     .xfaLayer .highlight.begin{border-radius:4px 0 0 4px}[_nghost-%COMP%]     .xfaLayer .highlight.end{border-radius:0 4px 4px 0}[_nghost-%COMP%]     .xfaLayer .highlight.middle{border-radius:0}[_nghost-%COMP%]     .xfaLayer .highlight.selected{background-color:#cbdfcb}[_nghost-%COMP%]     .xfaLayer ::selection{background:rgb(0,0,255)}[_nghost-%COMP%]     .xfaPage{overflow:hidden;position:relative}[_nghost-%COMP%]     .xfaContentarea{position:absolute}[_nghost-%COMP%]     .xfaPrintOnly{display:none}[_nghost-%COMP%]     .xfaLayer{position:absolute;text-align:initial;top:0;left:0;transform-origin:0 0;line-height:1.2}[_nghost-%COMP%]     .xfaLayer *{color:inherit;font:inherit;font-style:inherit;font-weight:inherit;font-kerning:inherit;letter-spacing:-.01px;text-align:inherit;text-decoration:inherit;box-sizing:border-box;background-color:transparent;padding:0;margin:0;pointer-events:auto;line-height:inherit}[_nghost-%COMP%]     .xfaLayer *:required{outline:1.5px solid red}[_nghost-%COMP%]     .xfaLayer div{pointer-events:none}[_nghost-%COMP%]     .xfaLayer svg{pointer-events:none}[_nghost-%COMP%]     .xfaLayer svg *{pointer-events:none}[_nghost-%COMP%]     .xfaLayer a{color:#00f}[_nghost-%COMP%]     .xfaRich li{margin-left:3em}[_nghost-%COMP%]     .xfaFont{color:#000;font-weight:400;font-kerning:none;font-size:10px;font-style:normal;letter-spacing:0;text-decoration:none;vertical-align:0}[_nghost-%COMP%]     .xfaCaption{overflow:hidden;flex:0 0 auto}[_nghost-%COMP%]     .xfaCaptionForCheckButton{overflow:hidden;flex:1 1 auto}[_nghost-%COMP%]     .xfaLabel{height:100%;width:100%}[_nghost-%COMP%]     .xfaLeft{display:flex;flex-direction:row;align-items:center}[_nghost-%COMP%]     .xfaRight{display:flex;flex-direction:row-reverse;align-items:center}[_nghost-%COMP%]     .xfaLeft>.xfaCaption, [_nghost-%COMP%]     .xfaLeft>.xfaCaptionForCheckButton, [_nghost-%COMP%]     .xfaRight>.xfaCaption, [_nghost-%COMP%]     .xfaRight>.xfaCaptionForCheckButton{max-height:100%}[_nghost-%COMP%]     .xfaTop{display:flex;flex-direction:column;align-items:flex-start}[_nghost-%COMP%]     .xfaBottom{display:flex;flex-direction:column-reverse;align-items:flex-start}[_nghost-%COMP%]     .xfaTop>.xfaCaption, [_nghost-%COMP%]     .xfaTop>.xfaCaptionForCheckButton, [_nghost-%COMP%]     .xfaBottom>.xfaCaption, [_nghost-%COMP%]     .xfaBottom>.xfaCaptionForCheckButton{width:100%}[_nghost-%COMP%]     .xfaBorder{background-color:transparent;position:absolute;pointer-events:none}[_nghost-%COMP%]     .xfaWrapped{width:100%;height:100%}[_nghost-%COMP%]     .xfaTextfield:focus, [_nghost-%COMP%]     .xfaSelect:focus{background-image:none;background-color:transparent;outline:auto;outline-offset:-1px}[_nghost-%COMP%]     .xfaCheckbox:focus, [_nghost-%COMP%]     .xfaRadio:focus{outline:auto}[_nghost-%COMP%]     .xfaTextfield, [_nghost-%COMP%]     .xfaSelect{height:100%;width:100%;flex:1 1 auto;border:none;resize:none;background-image:var(--xfa-unfocused-field-background)}[_nghost-%COMP%]     .xfaTop>.xfaTextfield, [_nghost-%COMP%]     .xfaTop>.xfaSelect, [_nghost-%COMP%]     .xfaBottom>.xfaTextfield, [_nghost-%COMP%]     .xfaBottom>.xfaSelect{flex:0 1 auto}
3[_nghost-%COMP%]     .xfaButton{cursor:pointer;width:100%;height:100%;border:none;text-align:center}[_nghost-%COMP%]     .xfaLink{width:100%;height:100%;position:absolute;top:0;left:0}[_nghost-%COMP%]     .xfaCheckbox, [_nghost-%COMP%]     .xfaRadio{width:100%;height:100%;flex:0 0 auto;border:none}[_nghost-%COMP%]     .xfaRich{white-space:pre-wrap;width:100%;height:100%}[_nghost-%COMP%]     .xfaImage{object-position:left top;object-fit:contain;width:100%;height:100%}[_nghost-%COMP%]     .xfaLrTb, [_nghost-%COMP%]     .xfaRlTb, [_nghost-%COMP%]     .xfaTb{display:flex;flex-direction:column;align-items:stretch}[_nghost-%COMP%]     .xfaLr{display:flex;flex-direction:row;align-items:stretch}[_nghost-%COMP%]     .xfaRl{display:flex;flex-direction:row-reverse;align-items:stretch}[_nghost-%COMP%]     .xfaTb>div{justify-content:left}[_nghost-%COMP%]     .xfaPosition{position:relative}[_nghost-%COMP%]     .xfaArea{position:relative}[_nghost-%COMP%]     .xfaValignMiddle{display:flex;align-items:center}[_nghost-%COMP%]     .xfaTable{display:flex;flex-direction:column;align-items:stretch}[_nghost-%COMP%]     .xfaTable .xfaRow{display:flex;flex-direction:row;align-items:stretch}[_nghost-%COMP%]     .xfaTable .xfaRlRow{display:flex;flex-direction:row-reverse;align-items:stretch;flex:1}[_nghost-%COMP%]     .xfaTable .xfaRlRow>div{flex:1}[_nghost-%COMP%]     .xfaNonInteractive input, [_nghost-%COMP%]     .xfaNonInteractive textarea, [_nghost-%COMP%]     .xfaDisabled input, [_nghost-%COMP%]     .xfaDisabled textarea, [_nghost-%COMP%]     .xfaReadOnly input, [_nghost-%COMP%]     .xfaReadOnly textarea{background:initial}@media print{[_nghost-%COMP%]     .xfaTextfield, [_nghost-%COMP%]     .xfaSelect{background:transparent}[_nghost-%COMP%]     .xfaSelect{-webkit-appearance:none;appearance:none;text-indent:1px;text-overflow:""}}[_nghost-%COMP%]     [data-editor-rotation="90"]{transform:rotate(90deg)}[_nghost-%COMP%]     [data-editor-rotation="180"]{transform:rotate(180deg)}[_nghost-%COMP%]     [data-editor-rotation="270"]{transform:rotate(270deg)}[_nghost-%COMP%]     .annotationEditorLayer{background:transparent;position:absolute;top:0;left:0;font-size:calc(100px * var(--scale-factor));transform-origin:0 0}[_nghost-%COMP%]     .annotationEditorLayer .selectedEditor{outline:var(--focus-outline);resize:none}[_nghost-%COMP%]     .annotationEditorLayer .freeTextEditor{position:absolute;background:transparent;border-radius:3px;padding:calc(var(--freetext-padding) * var(--scale-factor));resize:none;width:auto;height:auto;z-index:1;transform-origin:0 0;touch-action:none}[_nghost-%COMP%]     .annotationEditorLayer .freeTextEditor .internal{background:transparent;border:none;top:0;left:0;overflow:visible;white-space:nowrap;resize:none;font:10px sans-serif;line-height:var(--freetext-line-height)}[_nghost-%COMP%]     .annotationEditorLayer .freeTextEditor .overlay{position:absolute;display:none;background:transparent;top:0;left:0;width:100%;height:100%}[_nghost-%COMP%]     .annotationEditorLayer .freeTextEditor .overlay.enabled{display:block}[_nghost-%COMP%]     .annotationEditorLayer .freeTextEditor .internal:empty:before{content:attr(default-content);color:gray}[_nghost-%COMP%]     .annotationEditorLayer .freeTextEditor .internal:focus{outline:none}[_nghost-%COMP%]     .annotationEditorLayer .inkEditor.disabled{resize:none}[_nghost-%COMP%]     .annotationEditorLayer .inkEditor.disabled.selectedEditor{resize:horizontal}[_nghost-%COMP%]     .annotationEditorLayer .freeTextEditor:hover:not(.selectedEditor), [_nghost-%COMP%]     .annotationEditorLayer .inkEditor:hover:not(.selectedEditor){outline:var(--hover-outline)}[_nghost-%COMP%]     .annotationEditorLayer .inkEditor{position:absolute;background:transparent;border-radius:3px;overflow:auto;width:100%;height:100%;z-index:1;transform-origin:0 0;
3cursor:auto}[_nghost-%COMP%]     .annotationEditorLayer .inkEditor.editing{resize:none;cursor:var(--editorInk-editing-cursor),pointer}[_nghost-%COMP%]     .annotationEditorLayer .inkEditor .inkEditorCanvas{position:absolute;top:0;left:0;width:100%;height:100%;touch-action:none}[_nghost-%COMP%]     [data-main-rotation="90"]{transform:rotate(90deg) translateY(-100%)}[_nghost-%COMP%]     [data-main-rotation="180"]{transform:rotate(180deg) translate(-100%,-100%)}[_nghost-%COMP%]     [data-main-rotation="270"]{transform:rotate(270deg) translate(-100%)}[_nghost-%COMP%]     .pdfViewer{padding-bottom:var(--pdfViewer-padding-bottom)}[_nghost-%COMP%]     .pdfViewer .canvasWrapper{overflow:hidden}[_nghost-%COMP%]     .pdfViewer .canvasWrapper canvas{width:100%}[_nghost-%COMP%]     .pdfViewer .page{direction:ltr;width:816px;height:1056px;margin:var(--page-margin);position:relative;overflow:visible;border:var(--page-border);border-image:var(--page-border-image);background-clip:content-box;background-color:#fff}[_nghost-%COMP%]     .pdfViewer .dummyPage{position:relative;width:0;height:var(--viewer-container-height)}[_nghost-%COMP%]     .pdfViewer.removePageBorders .page{margin:0 auto 10px;border:none}[_nghost-%COMP%]     .pdfViewer.singlePageView{display:inline-block}[_nghost-%COMP%]     .pdfViewer.singlePageView .page{margin:0;border:none}[_nghost-%COMP%]     .pdfViewer.scrollHorizontal, [_nghost-%COMP%]     .pdfViewer.scrollWrapped, [_nghost-%COMP%]     .spread{margin-left:3.5px;margin-right:3.5px;text-align:center}[_nghost-%COMP%]     .pdfViewer.scrollHorizontal, [_nghost-%COMP%]     .spread{white-space:nowrap}[_nghost-%COMP%]     .pdfViewer.removePageBorders, [_nghost-%COMP%]     .pdfViewer.scrollHorizontal .spread, [_nghost-%COMP%]     .pdfViewer.scrollWrapped .spread{margin-left:0;margin-right:0}[_nghost-%COMP%]     .spread .page, [_nghost-%COMP%]     .spread .dummyPage, [_nghost-%COMP%]     .pdfViewer.scrollHorizontal .page, [_nghost-%COMP%]     .pdfViewer.scrollWrapped .page, [_nghost-%COMP%]     .pdfViewer.scrollHorizontal .spread, [_nghost-%COMP%]     .pdfViewer.scrollWrapped .spread{display:inline-block;vertical-align:middle}[_nghost-%COMP%]     .spread .page, [_nghost-%COMP%]     .pdfViewer.scrollHorizontal .page, [_nghost-%COMP%]     .pdfViewer.scrollWrapped .page{margin-left:var(--spreadHorizontalWrapped-margin-LR);margin-right:var(--spreadHorizontalWrapped-margin-LR)}[_nghost-%COMP%]     .pdfViewer.removePageBorders .spread .page, [_nghost-%COMP%]     .pdfViewer.removePageBorders.scrollHorizontal .page, [_nghost-%COMP%]     .pdfViewer.removePageBorders.scrollWrapped .page{margin-left:5px;margin-right:5px}[_nghost-%COMP%]     .pdfViewer .page canvas{margin:0;display:block}[_nghost-%COMP%]     .pdfViewer .page canvas[hidden]{display:none}[_nghost-%COMP%]     .pdfViewer .page .loadingIcon{position:absolute;display:block;inset:0;background:url(data:image/gif;base64,R0lGODlhGAAYAPQQAM7Ozvr6+uDg4LCwsOjo6I6OjsjIyJycnNjY2KioqMDAwPLy8nZ2doaGhri4uGhoaP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/ilPcHRpbWl6ZWQgd2l0aCBodHRwczovL2V6Z2lmLmNvbS9vcHRpbWl6ZQAh+QQJBwAQACwAAAAAGAAYAAAFmiAkjiTkOGVaBgjZNGSgkgKjjM8zLoI8iy+BKCdiCX8iBeMAhEEIPRXLxViYUE9CbCQoFAzFhHY3zkaT3oPvBz1zE4UBsr1eWZH4vAowOBwGAHk8AoQLfH6Agm0Ed3qOAXWOIgQKiWyFJQgDgJEpdG+WEACNEFNFmKVlVzJQk6qdkwqBoi1mebJ3ALNGeIZHtGSwNDS1RZKueCEAIfkECQcAEAAsAAAAABgAGAAABZcgJI4kpChlWgYCWRQkEKgjURgjw4zOg9CjVwuiEyEeO6CxkBC9nA+HiuUqLEyoBZI0Mx4SAFFgQCDZuguBoGv6Dtg0gvpqdhxQQDkBzuUr/4A1JwMKP39pc2mDhYCIc4GQYn6QCwCMeY91l0p6dBAEJ0OfcFRimZ91Mwt0alxxAIZyRmuAsKxDLKKvZbM1tJxmvGKRpn8hACH5BAkHABAALAAAAAAYABgAAAWhICSOJGQYZVoGAnkcJBKoI3EAY1GMCtPSosSBINKJBIwGkHdwBGGQA0OhYpEGQxNqkYzNIITBACEKKBaxxNfBeOCO4vMy0Hg8nDHFeCktkKtfNAtoS4UqAicKBj9zBAKPC4iKi4aRkISGmWWBmjUIAIyHkCUEAKCVo2WmREecVqoCgZhgP4NHrGWCj7e3szSpuxAsoVWxnp6cVV4kyZW+KSEAIfkECQcAEAAsAAAAABgAGAAABZkgJI4kBABlWgYEOQykEKgjMSDjcYxG0dKi108nEhQKQN4rCIMkCgbawjWYnSCLY2yGVSgEooBhWqsGGwxc0RtNBgoMhmJ1QgETjANYFeBKyUmBKQQIdT9JDmgPDQ6EhoKJD4sOgpWWgiwChyqEBH5hmptSoSOZgJ4kLKWkYTF7C2SaqaM/hEWygay4mYG8t6uffFuzl1iANCEAIfkECQcAEAAsAAAAABgAGAAABZ0gJI4khCBlmhKkop
3BCoI6LIozDMAIHO4uuBVBnOiR+I4FrCDwAZsKdQnaCLIwwmRUA8JmioprWUCjcwlwUMnAoG0qL03k2KCS8cC0UjOzDCQKBfHQFDAwFU4CCfgqFhy9+kZJWgzSKSAcPZn+BfQENDw8OljGWJAFeDoZPYTBnC1GdSXqnsoBolSulX2GyP6hgvnG0KrS3NJNhuSQhACH5BAkHABAALAAAAAAYABgAAAWaICSOJCQIZZoupGGQRKCOC0CMijIiwz2LABtQZxoMfjQhxAXszWQ7gOwECRhh0MCJJRJARTUoIHFAgbfI6uBwAJS01J/i4PClVYHvfV8lbLlIBmwFbQt+aGmChG18jXeGT4dICQxlb4g/AQUMDER9XjR6BAdiDQwINDBmkAsPDVh4cX4imw53iLKuaVqAcUsPqEiidkt6j4AzIQAh+QQJBwAQACwAAAAAGAAYAAAFmSAkjiREEGWaBiSCtCoZCMsIAKOg1LEo0KKbaKFQ9EYLoOkFuQlirNxzCQkUW9GZ0hQd4nyDAWr4G/esYSbyZFYZwu3jqiuvr8u8I2BwOAwASXh1e31/doeHC3klWnElfAlTd46MfQUGk2stCVEGBQWSdCciDg5VDAVYKoEiDQ0iBwxGcj9RDw8+qHIzebc2DJJQJK6qiKVyIQAh+QQJBwAQACwAAAAAGAAYAAAFmSAkjiS0LGWaBiRBtCoZCKgoCCMB1DF0sz6cCQDo5W62l28XAyZFpyECBv3lnCbhUqHMIo0Qg4Jbmn1jRCa4iV27TzfXGjEecOFWMN1OdvvfPGUuXSoKBw6EXokrAwcHRVU0UAeEBANAAAmUI1gNDyhjJgUHLW0iDg8FIqOnBQZrDA9TELE2rEYIDw4jta2LMpCrqld/YQpgIQAh+QQJBwAQACwAAAAAGAAYAAAFmyAkjiS0LGWaBiRBkKw6BgIqCsJcyyMe4yJajhcEml5H26o1PN2QQd3uFiv2AADlAgflIbDdZLgkABOJgep5LfWty4p4zeU+w+XsvJWXliEKDwdEBgMKYQ4PDw1qK3EDCCMAiQ5BCV0LCj+FSDQkgCgGBiYHAy2MIgoMghAHqw4HAGsNDEMFBTekdgwKI7aRB2MwkL2rVHoQoWchACH5BAkHABAALAAAAAAYABgAAAWWICSOJLQsZZoGJEGQrDoGAioKwlzLIx7jIlqOFwSaXkfbqjU83ZBB3e4WK0qrCxyU55peid0qcUwuixyNx6PhILsAcAJazXYj4lvz2MkLiFsHDAlEcABKZwwMBX8pBgoKQxAIigpBA1sLBj+PSDQkB4uSACYDlTMyBgWDEKVnl2QFBUigN61gBQYjtLV5JZ4jtlR6omMhACH5BAkHABAALAAAAAAYABgAAAWaICSOJLQsZZoGJEGQrDoGAioKwlzLIx7jIlqOFwSaXkdbidYanm7I4AjwYDh6saJuJ3JUG1mZi9srPA7EcRimJLrfJYWZUVC8TziXnEG3u/E+cIJaPAFrPQl1aQAIbRAGBZGHJQiMUQKRBkEKbQsAPZaEXQcslSYKmjMyAAdXj34ACkNEiUgDA5t+PAQHn6Ogjkuzry2DNwhuIQAh+QQFBwAQACwAAAAAGAAYAAAFnCAkjiS0LGVaBgBJEGSguo8zCsK4CPIsMg+ECCcKEH0ix6MwhJl4KiOp8UCdmrEbo6EoHpxF8A6aBBZ6vhf5dmAkkGr0CoWs21WGQ2FvsI9xC3l7B311fy93iWGKJQQOhHCAJQB6A3IqcWwJLU90i2FkUiMKlhBELEI6MwgDXRAGhQgAYD6tTqRFAJxpA6mvrqazSKJJhUWMpjlIIQA7) center no-repeat}[_nghost-%COMP%]     .pdfViewer .page .loadingIcon.notVisible{background:none}[_nghost-%COMP%]     .pdfViewer.enablePermissions .textLayer span{-webkit-user-select:none!important;user-select:none!important;cursor:not-allowed}[_nghost-%COMP%]     .pdfPresentationMode .pdfViewer{padding-bottom:0}[_nghost-%COMP%]     .pdfPresentationMode .spread{margin:0}[_nghost-%COMP%]     .pdfPresentationMode .pdfViewer .page{margin:0 auto;border:2px solid transparent}']})}return x})(),QC=(()=>{class x{static \u0275fac=function(d){return new(d||x)};static \u0275mod=H.$C({type:x});static \u0275inj=H.G2t({})}return x})()}},st=>{st(st.s=75388)}]);
4//# debugId=59f98ad5-8a43-557a-86aa-8f5621f7f78f

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.