const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./ContentRedirect-B5kHwSJe.mjs","./print_grid-BPsIhb44.mjs","./ContentRedirect.CV-jASk0.css","./ContentPrintPage-DRJGjQLL.mjs","./ContentPrintPage.sAZy6gEz.css","./ManageContent-DYkuBT4s.mjs","./AdminContentSearch-X5La9h7Q.mjs","./AdminButtonElement-BgARiw82.mjs","./AdminButtonElement.BRDNsFha.css","./SliderToggle-nJVP1zjO.mjs","./SliderToggle.U47powXH.css","./WebSearchField-CImNmY9x.mjs","./WebSearchField.B0k4fZ6M.css","./AdminFormFieldGroup-CyIOZpcq.mjs","./AdminFormFieldGroup.qTG6IXU1.css","./AdminPageSideContent-xfn4SLaB.mjs","./AdminPageSideContent.UPEVfWsb.css","./WebViewToggle-Ddatlo7C.mjs","./vue-select-X0cl5iEg.mjs","./vue-select.Bsn8s1tw.css","./WebViewToggle.A8GoSVJz.css","./WebSearchLimit-CMPSd7Hq.mjs","./WebSearchLimit.Dxhcawp9.css","./WebSearchSort-DOhxAN9i.mjs","./WebSearchSort.D88hioJI.css","./AdminContentBulkActionTaxonomyForm-ChXka4Uu.mjs","./AdminProgressBar-CHUCFDtU.mjs","./AdminProgressBar.hgx1aov3.css","./Modal-CZRoBy2z.mjs","./Modal.BoAUBYby.css","./AdminContentBulkActionTaxonomyForm.B3TtVH73.css","./AdminContentBulkActionWebsiteScheduleForm-bCXwTyEi.mjs","./AdminContentBulkActionWebsiteScheduleForm.3k8Mkfom.css","./AdminForm-CeowrVBG.mjs","./clone-BmrnTZfT.mjs","./_Uint8Array-BPt7-PLz.mjs","./AdminForm.TmnA33RA.css","./usePrintExportConfig-DdPW0wWd.mjs","./AdminContentNewsletterSchedule-SY1QnG97.mjs","./AdminContentNewsletterSchedule.Csk2mKC1.css","./AdminPane-CXNeW1bo.mjs","./AdminPane.9Twad7C-.css","./AdminContentList-BQhZeJ3w.mjs","./AdminItemCard-CzlXwtLS.mjs","./nuxt-link-BEs8tQ-R.mjs","./AdminPageTitle-CPIx4trP.mjs","./AdminPageTitle.DCYMXW2Y.css","./AdminItemCard.CE2lFGrY.css","./useContentEdit-BGOdijaQ.mjs","./AdminContentList.C7qzYNcu.css","./AdminPager-pG2uN5uO.mjs","./Pager-BuKm5zAk.mjs","./AdminPager.Cz7EodUP.css","./AdminPageWrapper-CE0JnInN.mjs","./AdminToolbar-DYTQfbLP.mjs","./AdminFormSelect-CJPfN7ok.mjs","./WebSearchFilterCount-BAo3tYv2.mjs","./WebSearchFilterCount.Dg-IpFLX.css","./FieldBase_String-DIrYardi.mjs","./FieldBase-BNePpS9o.mjs","./AdminFormSelect.CLXsa__g.css","./AdminToolbar.zexZRxD0.css","./AdminPageWrapper.DYQy1xNV.css","./useContentSearch-BlwMuw6U.mjs","./index-cF7iNx15.mjs","./useStringUtils-B4L5WUsu.mjs","./AdminContentSearch.Mi9NuXPP.css","./EditContent-DCME02EU.mjs","./useContentTypeFields-DfxnPcNM.mjs","./AdminPod-D3XNJic3.mjs","./AdminPod.BKZ1DNkj.css","./AdminIconToggleBar-BuRxrMRe.mjs","./AdminIconToggleBar.DdxFB6lk.css","./WebBodyBlocks-D1GbOdMS.mjs","./WebHTML-BtTRJjmF.mjs","./WebImage-C1Tp4muM.mjs","./WebImage.jsU8ruJM.css","./index-BbMj1cIu.mjs","./WebContentListNew-C8w4ZET6.mjs","./WebContentItem-Bh5Wo4hP.mjs","./useImageUrl-1XbeiwSF.mjs","./WebContentItem.B2qutIva.css","./WebContentListNew.DA6iTLyV.css","./WebSubscribeNew-B9mZe2G1.mjs","./WebSubscribeNew.J12udf6f.css","./WebHTML.RbAvBKYU.css","./WebBodyBlocks.CnlgK8rj.css","./AdminUploadToDigitalMediaLibrary-BBHD7vpM.mjs","./AdminUploadToDigitalMediaLibrary.BzIwqBS3.css","./Tabs-C0WLf7Kh.mjs","./Tabs.CFohcKU3.css","./AdminDigitalMediaLibrary-BFTp_Kvw.mjs","./AdminDigitalMediaLibrary.C8U8q8ag.css","./WebVideoPlayer-BghfkgbS.mjs","./WebVideoPlayer.DFsxe3Ud.css","./interval-x_rD_Ya3.mjs","./isEmpty-tj4qzEeW.mjs","./EditContent.DsMbUegV.css","./ResearchContent-DqS7kjBM.mjs","./ContentSyndication-DnOgK-ov.mjs","./ContentSyndication.BuGV3y3d.css","./WebsiteSectionList-B--iOHxd.mjs","./AdminWebsiteSectionEditForm-DL9oSieA.mjs","./AdminWebsiteSectionEditForm.s3XUS95D.css","./WebsiteSectionList.CAgfkA0K.css","./EditWebsiteSection-CIDy86V1.mjs","./EditWebsiteSection.DKECA_-P.css","./CMSUserLogin-B8hrsi6n.mjs","./CMSUserLogin.C8kO2Xm-.css","./CMSUserLogout-C3M6dXsz.mjs","./CMSUserLogout.Ban-kpP0.css","./CMSUserProfile-BlRBZR77.mjs","./CMSUserProfile.Dd0eSQde.css","./CMSUserList-Chv9-jsS.mjs","./CMSUserList.CEKEY988.css","./CMSUserResetPassword-BEZ5GxCD.mjs","./CMSUserResetPassword.CtIcFPqe.css","./SystemPage-Bkh4FGf8.mjs","./SystemPage.UBjSU-hE.css","./HistoryList-CdTrt9ha.mjs","./styles-C7xINYEg.mjs","./styles.DuZzwPRf.css","./MenuList-CrtqGvMh.mjs","./MenuList.CunsEo7o.css","./AdUnitPatternList-C1IpwVKY.mjs","./AdUnitPatternList.D94pvW_x.css","./RedirectList-CRSIEFsT.mjs","./RedirectList.BzI-B3fZ.css","./LayoutList-CnJjTiX5.mjs","./LayoutList.nHztxXjV.css","./EditLayout-BqwmDbbH.mjs","./GridEditor-BGA5ONi4.mjs","./GridEditor.CuHd6MM0.css","./index-ZWHIGn_Z.mjs","./EditLayout.B7GrxbMB.css","./EditSiteSettings-zkRfQZAI.mjs","./EditSiteSettings.XChv2oDp.css","./EditCTAMessage-BFmaoqQP.mjs","./EditCTAMessage.BZugTkiI.css","./MEIGSettings-eEFXbysy.mjs","./MEIGSettings.C6BSony-.css","./EditEnabledModules-BeTE-M1d.mjs","./EditEnabledModules.DfReO7ct.css","./TestDateInput-SMl3CDSR.mjs","./TestDateInput.hKOHfBgi.css","./TestFormAPI-wpyVnoua.mjs","./AdminJsonFormatter-cYJKCfGx.mjs","./AdminJsonFormatter.BjqbPSTK.css","./TestFormAPI.DWXL0GEE.css","./NewsletterTemplateList-C663scPC.mjs","./NewsletterTemplateList.CBF_35eZ.css","./EditNewsletterTemplate-2GZo8dQC.mjs","./NewsletterCampaign-BbhDso1l.mjs","./useObjUtils-BkiPlnVH.mjs","./NewsletterCampaign.DRNwIJj0.css","./EditNewsletterTemplate.i9XI8uOo.css","./NewsletterCampaignList-CpQ-jzk3.mjs","./NewsletterCampaignList.5xfmiLAQ.css","./EditNewsletterCampaign-Cr6OjCl3.mjs","./AdminActionSelector-hluBHPum.mjs","./AdminActionSelector.B-dqRaYd.css","./server-renderer.esm-bundler-eBLqc7Pr.mjs","./EditNewsletterCampaign.1k8pzHyp.css","./NewsletterAdList-CcueDlFE.mjs","./NewsletterAdList.DpJfxBui.css","./NewsletterContentList-BRTc7_Q8.mjs","./NewsletterContentList.B1S_mb8H.css","./NewsletterSettings-ylAcPnv8.mjs","./NewsletterSettings.tnXyvYTi.css","./MembershipList-gF_u12aZ.mjs","./MembershipList.G9dD3UMv.css","./IpGatingSettingsList-J6Kkm7cm.mjs","./IpGatingSettingsList.C8q-pYfI.css","./MembershipSettings-BZWRG-Lk.mjs","./MembershipSettings._6ahQ8rl.css","./MigrateSiteUsers-iveNvMU9.mjs","./MigrateSiteUsers.C3Hg3fAd.css","./SiteUsersList-D1uJ82jb.mjs","./AdminFormTextInput-CzrOrs7B.mjs","./AdminFormTextInput.D8oKKyLC.css","./AdminFormPasswordInput-Ct6InTr-.mjs","./AdminFormPasswordInput.BoqHLwVP.css","./SiteUsersList.B4LeUfoC.css","./PrintExportList-CVNUAWMC.mjs","./PrintExportList.CGepHPdq.css","./PageSpeedReport-DL-gGSxy.mjs","./PageSpeedReport.B9GhLAtx.css","./CompanyPrintExport-B8X5MCrC.mjs","./useCsv-DHWPJRba.mjs","./papaparse.min-D3DSYzL0.mjs","./CompanyPrintExport.C_xwFxNV.css","./TaxonomyExport-Bb5Pb0W3.mjs","./TaxonomyExport.DzBUY5-h.css","./RMIReport-hE32Zzss.mjs","./RMIReport.DAFfhDzc.css","./AdOpsSettingsReport-Cn1a5Vnk.mjs","./AdOpsSettingsReport.Cruyrrww.css","./CompanyUpdate-ClHxxWIz.mjs","./CompanyUpdate.3fZeLn07.css","./CompanyUpdateList-5MqzbN4J.mjs","./WebPager-BJRvipsc.mjs","./WebPager.BM4dil34.css","./CompanyUpdateList.LDPKb_1v.css","./TaxonomyManagement-DTWWhc0R.mjs","./AdminTaxonomyTermEditForm-BV0Z0OAQ.mjs","./AdminTaxonomyTermEditForm.B0BQPKxb.css","./TaxonomyManagement.C6tCLYMI.css","./EditorialTrackingReport-C54RC86D.mjs","./EditorialTrackingReport.Etk4zON3.css","./ContentVelocityReport-BOXt4l1w.mjs","./ContentVelocityReport.DDefRLxF.css","./ContentDetailReport-CoMpDCvB.mjs","./ContentDetailReport.NMpAFkT6.css","./ContentLengthReport-BFPhnE6f.mjs","./ContentLengthReport.Bg-26cg3.css","./ManageDigitalMediaLibrary-DvE4ivyK.mjs","./BulkUpdateContent-8DHJLYAM.mjs","./BulkUpdateContent.BZ5PCSqM.css","./ContractList-B9zrBqDj.mjs","./contract_status_types-MpAZvgTV.mjs","./contract-CX_9TFc1.mjs","./cloneDeep-BlS9CbOZ.mjs","./startCase-D715aoKd.mjs","./ContractList.KVyKdwAu.css","./EditContract-BFjUQB62.mjs","./ContractContent-DQetlLRZ.mjs","./ContractContent.Da7Ls-Fm.css","./_baseIsEqual-D6kDmyD8.mjs","./EditContract.vl8Aa_40.css","./ContractSettings-DHIYzUnO.mjs","./ContractSettings.-vNuD2kt.css","./ContractPage-DD-gEvd8.mjs","./isEqual-Dpi2lx8C.mjs","./ContractPage.DUePNZLE.css","./PersonList-CmuNNRR1.mjs","./PersonList.CbdwNjvG.css","./MagazinePublicationsList-Hk2SlV3C.mjs","./MagazinePublicationsList.DHOFtO9s.css","./MagazineIssuesList-CcxYwOlc.mjs","./MagazineSectionsList-C29wdc2i.mjs","./MagazineSectionsList.DbBxMQhc.css","./OpenAI-C_i8FRKb.mjs","./OpenAI.CFrqA9ui.css","./SystemAlertList-DmjQPxBV.mjs","./SystemAlertList.BdMqjryy.css","./LayoutBlockUsage-px0q5PDz.mjs","./LayoutBlockUsage.BWmNVaPb.css","./LayoutBlockOptionUsage-y_QdbMYi.mjs","./LayoutBlockOptionUsage.BVOVzOi6.css","./NewsletterBlockAnalysis-BsdG-pb-.mjs","./NewsletterBlockAnalysis.vHD_EOcW.css","./LayoutAnalysis-BmQn1FIk.mjs","./LayoutAnalysis.DbL_HFS0.css","./SiteSettingsAnalysis-DLRlcRe7.mjs","./SiteSettingsAnalysis.B-NsWGE1.css","./AspiretoAspireMigrationConfig-0lx9LvIl.mjs","./AspiretoAspireMigrationConfig.DE3i6m9L.css","./RunAspireToAspireMigration-Bvofu0I3.mjs","./WebFormLabel-Bx-aK45T.mjs","./WebFormLabel.BiUog3G0.css","./RunAspireToAspireMigration.DA4dU8Pt.css","./SiteSettingsNew-DPO9WCVB.mjs","./SiteSettingsNew.D-Z5WI9u.css","./ColorTest-CNPd44wY.mjs","./ColorTest.CJRAlEkW.css","./MigrateToNewDesign-BgUwU0g6.mjs","./MigrateToNewDesign.BCunFqrv.css","./UpdateLayoutScheduleOptions-ByjkSeOk.mjs","./UpdateLayoutScheduleOptions.CdrF14ae.css","./IpTest-BCkifoho.mjs","./IpTest.-ASkpyPL.css","./admin-DWMGUGxg.mjs","./admin.D0Rf9gbV.css","./default-BiuFlpWS.mjs","./default.C5Dtl6mG.css","./AboutAuthorBlock-CZOE_qFr.mjs","./WebProfiles-Q2NFGztp.mjs","./WebProfiles.WN_zJbFU.css","./AboutAuthorBlock.BICWkfn9.css","./AuthorProfileBlock-DSNKCSTG.mjs","./AuthorProfileBlock.bPmRE0dV.css","./BlueconicRecommendationsBlock-mDwHJqAg.mjs","./BlueconicRecommendationsBlock.CUvCcuV9.css","./CallToActionBlock-D_79ndkf.mjs","./CallToActionBlock.kjmxS0rW.css","./CarouselBlock-BbEoJsjo.mjs","./CarouselBlock.HJ9vlSQo.css","./CatsoneJobsBlock-pwThvXqd.mjs","./CatsoneJobsBlock.D5uVVbd0.css","./ChooseMembershipBlock-CMwu_GmU.mjs","./WebMembershipOverview-FHt6gH2f.mjs","./WebMembershipFeatures-BS3mhgQJ.mjs","./WebMembershipFeatures.OhhP05_n.css","./WebMembershipOverview.Cg-nPuVD.css","./CompanyBannerBlock-DI2Ox5L8.mjs","./CompanyBannerBlock.DlMmTb1U.css","./CompanyKeyContactBlock-B7fwi2iV.mjs","./CompanyKeyContactBlock.UPlxQX9N.css","./CompanyOverviewBlock--ldZDE5F.mjs","./CompanyOverviewBlock.Q34xLmaO.css","./CompanyVideosBlock-Dc6eh67W.mjs","./ContactUsFormBlock-BQIKEQrC.mjs","./ContactUsFormBlock.CMjXBHr3.css","./ContactsBlock-CS8rx711.mjs","./ContactsBlock.BdlvvxbO.css","./ContentBodyBlock-CendMg28.mjs","./ContentBodyBlock.CeoowpE4.css","./ContentImageGridBlock-DadbgZZK.mjs","./ContentImageGridBlock.Begg1Ao4.css","./ContentListBlock-gD2_hN6S.mjs","./ContentPrimaryImageBlock-DUU0o0gZ.mjs","./WebImageWithGallery-Cwz9Cgoz.mjs","./WebImageWithGallery.CEXWjP10.css","./ContentSidebarsBlock-Da5qRtcz.mjs","./WebContentBodySidebars-BQ8ReyIO.mjs","./WebContentBodySidebars.3KdAaUot.css","./ContentTitleBlock-DtTfZuiq.mjs","./WebShareLink-_K8VShGB.mjs","./WebFavoriteContentToggle-Xb_OSSj_.mjs","./ContentTitleBlock.DWWrdWwN.css","./ExternalRssFeedBlock-BO-2fNnW.mjs","./ExternalRssFeedBlock.BSd6CLVy.css","./GamAdBlock-C3uKB-Ml.mjs","./GamAdBlock.DkGqtxNn.css","./ImageGalleryBlock-COgOjl1t.mjs","./ImageGalleryBlock.DIdrknPA.css","./InquiryFormBlock-Ci7ELfKI.mjs","./InquiryFormBlock.CnFYRpFa.css","./IssueOverviewBlock-ByLO7v-p.mjs","./WebPageOverview-u-JdPWvC.mjs","./WebPageOverview.D_CYVoKD.css","./JobBoardBlock-DvM6nuND.mjs","./JobBoardBlock.CXdnrVYF.css","./MagazineIssueBlock-DWeB07dz.mjs","./MagazineIssueBlock.XHz_RWQ7.css","./MagazineOverviewBlock-D1gbSRgH.mjs","./MarketingPageContentBlock-BsGxdWPw.mjs","./MarketingPageContentBlock.C4pZg8fZ.css","./MembershipOverviewBlock-BJd6jhK3.mjs","./MembershipSignupBlock-TkBz0TNJ.mjs","./WebSiteUserMembershipSignupForm-te0Vy87N.mjs","./WebSiteUserMembershipSignupForm.CsAXwL9F.css","./NewsletterCampaignsBlock-BzRl-tJZ.mjs","./NewsletterCampaignsBlock.DrHVU7mU.css","./OmedaGatedPageContentBlock-CdjiPRjY.mjs","./WebCountdownTimer-BWGMsLAy.mjs","./WebCountdownTimer.F1NrVS_5.css","./WebOmedaDragonform-aibp7L6G.mjs","./useOmedaForm-mRuIs-f6.mjs","./WebOmedaDragonform.Dw2Qf7lq.css","./OmedaGatedPageContentBlock.CcHhbKA9.css","./OmedaInjectionBlock-VJH_O3G-.mjs","./OmedaInjectionBlock.iUeerJBJ.css","./RelatedContentBlock-CjCbEEM-.mjs","./RichTextBlock-DzV0nDbA.mjs","./RichTextBlock.DzwfwGbR.css","./SearchBlock-CYwZNZDW.mjs","./SearchBlock.DFaWbF9H.css","./SectionOverviewBlock-DKhpxJSZ.mjs","./SectionTreeBlock-Bw8WydzN.mjs","./SectionTreeBlock.BFHgwQxW.css","./ShareLinksBlock-BL1owZtd.mjs","./WebShareLinks-BK9f7TIz.mjs","./WebShareLinks.CCObUIar.css","./SimplemapsUsBlock-CJSlKRFd.mjs","./SimplemapsUsBlock.DAOHCCcF.css","./SiteSearchBlock-BYaS23f0.mjs","./SiteSearchBlock.DBmlGRjv.css","./SiteUserAccountBlock-C6s7gIZf.mjs","./WebSiteUserRegisteredSites-jEW122hX.mjs","./WebSiteUserRegisteredSites.BAeeRgSk.css","./SiteUserAccountBlock.CBrfLxIz.css","./SiteUserCompleteRegistrationBlock-fGj2UbiR.mjs","./SiteUserCompleteRegistrationBlock.a3PUMd70.css","./SiteUserLoginBlock-WTvGmLTY.mjs","./SiteUserLoginBlock.CEfLfu9L.css","./SiteUserResetPasswordBlock-C6y4XpTE.mjs","./SiteUserResetPasswordBlock.7raJyb9C.css","./SourceEsbDataSheetBlock-DdR4YbUj.mjs","./WebSourceEsbPartDetails-BtJaMGPz.mjs","./WebSourceEsbDataSheetButton-CV8srUCo.mjs","./WebSourceEsbDataSheetButton.BhrQgvMN.css","./WebSourceEsbPartDetails.CtuF_sWa.css","./SourceEsbDataSheetBlock.Cblk8mQf.css","./SourceEsbPartDetailsBlock-zik7DJre.mjs","./SourceEsbPartSearchBlock-BE8tv8OR.mjs","./WebSourceEsbPartSearch-CAu2TqBk.mjs","./WebSourceEsbPartSearch.BoIzzh27.css","./ThreeDxSearchBlock-D9Ldydix.mjs","./ThreeDxSearchBlock.B9awJF2t.css","./WebinarsBlock-D9Qz9hhJ.mjs","./ZmagEmbedBlock-nl3Zzbhd.mjs","./WebSiteUserGate-DgOVJsyF.mjs","./WebSiteUserGate.D8Z_Sgcs.css","./WebFormFieldCheckbox-D7R0SBta.mjs","./WebFormFieldCore-xNTPdj0N.mjs","./WebFormFieldCheckbox.DRowwkDQ.css","./WebFormFieldCheckboxGroup--rMIMiqt.mjs","./WebFormFieldCore_String-Daj5WKW-.mjs","./WebFormFieldCheckboxGroup.DjFoyFQm.css","./WebFormFieldDate-BU7-GRsB.mjs","./WebFormFieldDate.C0qi_oGU.css","./WebFormFieldEmail-Brcc7HS2.mjs","./WebFormFieldEmail.DO04mMat.css","./WebFormFieldLocale-ABL281Sf.mjs","./WebFormFieldMultiLineText-BAe1FmZB.mjs","./WebFormFieldMultiLineText.BXRgAFsK.css","./WebFormFieldNumber-B-nawvbP.mjs","./WebFormFieldNumber.B823G8eX.css","./WebFormFieldPassword-BgPT9oHh.mjs","./WebFormFieldPassword.BrOxyAJo.css","./WebFormFieldPhone-Cj5gXEPV.mjs","./WebFormFieldPhone.ud-AGPMa.css","./WebFormFieldRadioGroup-CxSwJAOh.mjs","./WebFormFieldRadioGroup._WLVV-mU.css","./WebFormFieldSelect--bj6hTgx.mjs","./WebFormFieldSelect.CjEjlJly.css","./WebFormFieldText-T8o67AAB.mjs","./WebFormFieldText.QOZ_Ex7g.css","./GamWelcomeAd-CdJ7Z0GA.mjs","./GamWelcomeAd.BoHRiK2M.css"])))=>i.map(i=>d[i]); var Jv=Object.defineProperty;var Qv=(e,t,n)=>t in e?Jv(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Eo=(e,t,n)=>Qv(e,typeof t!="symbol"?t+"":t,n);/** * @vue/shared v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **//*! #__NO_SIDE_EFFECTS__ */function _n(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Pe={},Yr=[],Kt=()=>{},Xv=()=>!1,va=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),xu=e=>e.startsWith("onUpdate:"),He=Object.assign,Cu=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Zv=Object.prototype.hasOwnProperty,Le=(e,t)=>Zv.call(e,t),fe=Array.isArray,Jr=e=>vo(e)==="[object Map]",Ir=e=>vo(e)==="[object Set]",qd=e=>vo(e)==="[object Date]",e_=e=>vo(e)==="[object RegExp]",Ce=e=>typeof e=="function",$e=e=>typeof e=="string",an=e=>typeof e=="symbol",Ue=e=>e!==null&&typeof e=="object",Su=e=>(Ue(e)||Ce(e))&&Ce(e.then)&&Ce(e.catch),Lm=Object.prototype.toString,vo=e=>Lm.call(e),t_=e=>vo(e).slice(8,-1),Yi=e=>vo(e)==="[object Object]",Tu=e=>$e(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Qr=_n(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),V$=_n("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Ji=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},n_=/-(\w)/g,ft=Ji(e=>e.replace(n_,(t,n)=>n?n.toUpperCase():"")),r_=/\B([A-Z])/g,Tt=Ji(e=>e.replace(r_,"-$1").toLowerCase()),_o=Ji(e=>e.charAt(0).toUpperCase()+e.slice(1)),Xr=Ji(e=>e?`on${_o(e)}`:""),Ct=(e,t)=>!Object.is(e,t),Zr=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Am=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},vi=e=>{const t=parseFloat(e);return isNaN(t)?e:t},_i=e=>{const t=$e(e)?Number(e):NaN;return isNaN(t)?e:t};let jd;const Qi=()=>jd||(jd=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function H$(e,t){return e+JSON.stringify(t,(n,r)=>typeof r=="function"?r.toString():r)}const o_="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol",a_=_n(o_);function de(e){if(fe(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=$e(r)?c_(r):de(r);if(o)for(const a in o)t[a]=o[a]}return t}else if($e(e)||Ue(e))return e}const i_=/;(?![^(]*\))/g,s_=/:([^]+)/,l_=/\/\*[^]*?\*\//g;function c_(e){const t={};return e.replace(l_,"").split(i_).forEach(n=>{if(n){const r=n.split(s_);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function q$(e){if(!e)return"";if($e(e))return e;let t="";for(const n in e){const r=e[n];if($e(r)||typeof r=="number"){const o=n.startsWith("--")?n:Tt(n);t+=`${o}:${r};`}}return t}function Se(e){let t="";if($e(e))t=e;else if(fe(e))for(let n=0;n<e.length;n++){const r=Se(e[n]);r&&(t+=r+" ")}else if(Ue(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Mm(e){if(!e)return null;let{class:t,style:n}=e;return t&&!$e(t)&&(e.class=Se(t)),n&&(e.style=de(n)),e}const u_="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",d_="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",f_="annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics",p_="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",j$=_n(u_),W$=_n(d_),z$=_n(f_),G$=_n(p_),Rm="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",m_=_n(Rm),K$=_n(Rm+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function Nm(e){return!!e||e===""}const h_=/[>/="'\u0009\u000a\u000c\u0020]/,Ks={};function Y$(e){if(Ks.hasOwnProperty(e))return Ks[e];const t=h_.test(e);return t&&console.error(`unsafe attribute name: ${e}`),Ks[e]=!t}const J$={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"};function Q$(e){if(e==null)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"}const g_=/["'&<>]/;function X$(e){const t=""+e,n=g_.exec(t);if(!n)return t;let r="",o,a,i=0;for(a=n.index;a<t.length;a++){switch(t.charCodeAt(a)){case 34:o=""";break;case 38:o="&";break;case 39:o="'";break;case 60:o="<";break;case 62:o=">";break;default:continue}i!==a&&(r+=t.slice(i,a)),i=a+1,r+=o}return i!==a?r+t.slice(i,a):r}const y_=/^-?>|<!--|-->|--!>|<!-$/g;function Z$(e){return e.replace(y_,"")}function b_(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Xn(e[r],t[r]);return n}function Xn(e,t){if(e===t)return!0;let n=qd(e),r=qd(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=an(e),r=an(t),n||r)return e===t;if(n=fe(e),r=fe(t),n||r)return n&&r?b_(e,t):!1;if(n=Ue(e),r=Ue(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,a=Object.keys(t).length;if(o!==a)return!1;for(const i in e){const s=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(s&&!l||!s&&l||!Xn(e[i],t[i]))return!1}}return String(e)===String(t)}function Xi(e,t){return e.findIndex(n=>Xn(n,t))}const Bm=e=>!!(e&&e.__v_isRef===!0),Ie=e=>$e(e)?e:e==null?"":fe(e)||Ue(e)&&(e.toString===Lm||!Ce(e.toString))?Bm(e)?Ie(e.value):JSON.stringify(e,Dm,2):String(e),Dm=(e,t)=>Bm(t)?Dm(e,t.value):Jr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],a)=>(n[Ys(r,a)+" =>"]=o,n),{})}:Ir(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Ys(n))}:an(t)?Ys(t):Ue(t)&&!fe(t)&&!Yi(t)?String(t):t,Ys=(e,t="")=>{var n;return an(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** * @vue/reactivity v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let xt;class Zi{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=xt,!t&&xt&&(this.index=(xt.scopes||(xt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=xt;try{return xt=this,t()}finally{xt=n}}}on(){xt=this}off(){xt=this.parent}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function ku(e){return new Zi(e)}function Pr(){return xt}function br(e,t=!1){xt&&xt.cleanups.push(e)}let je;const Js=new WeakSet;class ao{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,xt&&xt.active&&xt.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Js.has(this)&&(Js.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Um(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Wd(this),Fm(this);const t=je,n=on;je=this,on=!0;try{return this.fn()}finally{Vm(this),je=t,on=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Pu(t);this.deps=this.depsTail=void 0,Wd(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Js.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ll(this)&&this.run()}get dirty(){return Ll(this)}}let $m=0,Vo,Ho;function Um(e,t=!1){if(e.flags|=8,t){e.next=Ho,Ho=e;return}e.next=Vo,Vo=e}function Eu(){$m++}function Iu(){if(--$m>0)return;if(Ho){let t=Ho;for(Ho=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Vo;){let t=Vo;for(Vo=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function Fm(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Vm(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),Pu(r),v_(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function Ll(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Hm(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Hm(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===ea))return;e.globalVersion=ea;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Ll(e)){e.flags&=-3;return}const n=je,r=on;je=e,on=!0;try{Fm(e);const o=e.fn(e._value);(t.version===0||Ct(o,e._value))&&(e._value=o,t.version++)}catch(o){throw t.version++,o}finally{je=n,on=r,Vm(e),e.flags&=-3}}function Pu(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let a=n.computed.deps;a;a=a.nextDep)Pu(a,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function v_(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function qm(e,t){e.effect instanceof ao&&(e=e.effect.fn);const n=new ao(e);t&&He(n,t);try{n.run()}catch(o){throw n.stop(),o}const r=n.run.bind(n);return r.effect=n,r}function jm(e){e.effect.stop()}let on=!0;const Wm=[];function nr(){Wm.push(on),on=!1}function rr(){const e=Wm.pop();on=e===void 0?!0:e}function Wd(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=je;je=void 0;try{t()}finally{je=n}}}let ea=0;class __{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class es{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!je||!on||je===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==je)n=this.activeLink=new __(je,this),je.deps?(n.prevDep=je.depsTail,je.depsTail.nextDep=n,je.depsTail=n):je.deps=je.depsTail=n,zm(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=je.depsTail,n.nextDep=void 0,je.depsTail.nextDep=n,je.depsTail=n,je.deps===n&&(je.deps=r)}return n}trigger(t){this.version++,ea++,this.notify(t)}notify(t){Eu();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Iu()}}}function zm(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)zm(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const wi=new WeakMap,mr=Symbol(""),Al=Symbol(""),ta=Symbol("");function gt(e,t,n){if(on&&je){let r=wi.get(e);r||wi.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new es),o.map=r,o.key=n),o.track()}}function Tn(e,t,n,r,o,a){const i=wi.get(e);if(!i){ea++;return}const s=l=>{l&&l.trigger()};if(Eu(),t==="clear")i.forEach(s);else{const l=fe(e),c=l&&Tu(n);if(l&&n==="length"){const u=Number(r);i.forEach((d,f)=>{(f==="length"||f===ta||!an(f)&&f>=u)&&s(d)})}else switch((n!==void 0||i.has(void 0))&&s(i.get(n)),c&&s(i.get(ta)),t){case"add":l?c&&s(i.get("length")):(s(i.get(mr)),Jr(e)&&s(i.get(Al)));break;case"delete":l||(s(i.get(mr)),Jr(e)&&s(i.get(Al)));break;case"set":Jr(e)&&s(i.get(mr));break}}Iu()}function w_(e,t){const n=wi.get(e);return n&&n.get(t)}function Dr(e){const t=Te(e);return t===e?t:(gt(t,"iterate",ta),Mt(e)?t:t.map(yt))}function ts(e){return gt(e=Te(e),"iterate",ta),e}const x_={__proto__:null,[Symbol.iterator](){return Qs(this,Symbol.iterator,yt)},concat(...e){return Dr(this).concat(...e.map(t=>fe(t)?Dr(t):t))},entries(){return Qs(this,"entries",e=>(e[1]=yt(e[1]),e))},every(e,t){return xn(this,"every",e,t,void 0,arguments)},filter(e,t){return xn(this,"filter",e,t,n=>n.map(yt),arguments)},find(e,t){return xn(this,"find",e,t,yt,arguments)},findIndex(e,t){return xn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return xn(this,"findLast",e,t,yt,arguments)},findLastIndex(e,t){return xn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return xn(this,"forEach",e,t,void 0,arguments)},includes(...e){return Xs(this,"includes",e)},indexOf(...e){return Xs(this,"indexOf",e)},join(e){return Dr(this).join(e)},lastIndexOf(...e){return Xs(this,"lastIndexOf",e)},map(e,t){return xn(this,"map",e,t,void 0,arguments)},pop(){return Io(this,"pop")},push(...e){return Io(this,"push",e)},reduce(e,...t){return zd(this,"reduce",e,t)},reduceRight(e,...t){return zd(this,"reduceRight",e,t)},shift(){return Io(this,"shift")},some(e,t){return xn(this,"some",e,t,void 0,arguments)},splice(...e){return Io(this,"splice",e)},toReversed(){return Dr(this).toReversed()},toSorted(e){return Dr(this).toSorted(e)},toSpliced(...e){return Dr(this).toSpliced(...e)},unshift(...e){return Io(this,"unshift",e)},values(){return Qs(this,"values",yt)}};function Qs(e,t,n){const r=ts(e),o=r[t]();return r!==e&&!Mt(e)&&(o._next=o.next,o.next=()=>{const a=o._next();return a.value&&(a.value=n(a.value)),a}),o}const C_=Array.prototype;function xn(e,t,n,r,o,a){const i=ts(e),s=i!==e&&!Mt(e),l=i[t];if(l!==C_[t]){const d=l.apply(e,a);return s?yt(d):d}let c=n;i!==e&&(s?c=function(d,f){return n.call(this,yt(d),f,e)}:n.length>2&&(c=function(d,f){return n.call(this,d,f,e)}));const u=l.call(i,c,r);return s&&o?o(u):u}function zd(e,t,n,r){const o=ts(e);let a=n;return o!==e&&(Mt(e)?n.length>3&&(a=function(i,s,l){return n.call(this,i,s,l,e)}):a=function(i,s,l){return n.call(this,i,yt(s),l,e)}),o[t](a,...r)}function Xs(e,t,n){const r=Te(e);gt(r,"iterate",ta);const o=r[t](...n);return(o===-1||o===!1)&&_a(n[0])?(n[0]=Te(n[0]),r[t](...n)):o}function Io(e,t,n=[]){nr(),Eu();const r=Te(e)[t].apply(e,n);return Iu(),rr(),r}const S_=_n("__proto__,__v_isRef,__isVue"),Gm=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(an));function T_(e){an(e)||(e=String(e));const t=Te(this);return gt(t,"has",e),t.hasOwnProperty(e)}class Km{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const o=this._isReadonly,a=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return a;if(n==="__v_raw")return r===(o?a?eh:Zm:a?Xm:Qm).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=fe(t);if(!o){let l;if(i&&(l=x_[n]))return l;if(n==="hasOwnProperty")return T_}const s=Reflect.get(t,n,Je(t)?t:r);return(an(n)?Gm.has(n):S_(n))||(o||gt(t,"get",n),a)?s:Je(s)?i&&Tu(n)?s:s.value:Ue(s)?o?io(s):Ye(s):s}}class Ym extends Km{constructor(t=!1){super(!1,t)}set(t,n,r,o){let a=t[n];if(!this._isShallow){const l=mn(a);if(!Mt(r)&&!mn(r)&&(a=Te(a),r=Te(r)),!fe(t)&&Je(a)&&!Je(r))return l?!1:(a.value=r,!0)}const i=fe(t)&&Tu(n)?Number(n)<t.length:Le(t,n),s=Reflect.set(t,n,r,Je(t)?t:o);return t===Te(o)&&(i?Ct(r,a)&&Tn(t,"set",n,r):Tn(t,"add",n,r)),s}deleteProperty(t,n){const r=Le(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&Tn(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!an(n)||!Gm.has(n))&>(t,"has",n),r}ownKeys(t){return gt(t,"iterate",fe(t)?"length":mr),Reflect.ownKeys(t)}}class Jm extends Km{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const k_=new Ym,E_=new Jm,I_=new Ym(!0),P_=new Jm(!0),Ml=e=>e,Fa=e=>Reflect.getPrototypeOf(e);function O_(e,t,n){return function(...r){const o=this.__v_raw,a=Te(o),i=Jr(a),s=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=o[e](...r),u=n?Ml:t?Rl:yt;return!t&>(a,"iterate",l?Al:mr),{next(){const{value:d,done:f}=c.next();return f?{value:d,done:f}:{value:s?[u(d[0]),u(d[1])]:u(d),done:f}},[Symbol.iterator](){return this}}}}function Va(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function L_(e,t){const n={get(o){const a=this.__v_raw,i=Te(a),s=Te(o);e||(Ct(o,s)&>(i,"get",o),gt(i,"get",s));const{has:l}=Fa(i),c=t?Ml:e?Rl:yt;if(l.call(i,o))return c(a.get(o));if(l.call(i,s))return c(a.get(s));a!==i&&a.get(o)},get size(){const o=this.__v_raw;return!e&>(Te(o),"iterate",mr),Reflect.get(o,"size",o)},has(o){const a=this.__v_raw,i=Te(a),s=Te(o);return e||(Ct(o,s)&>(i,"has",o),gt(i,"has",s)),o===s?a.has(o):a.has(o)||a.has(s)},forEach(o,a){const i=this,s=i.__v_raw,l=Te(s),c=t?Ml:e?Rl:yt;return!e&>(l,"iterate",mr),s.forEach((u,d)=>o.call(a,c(u),c(d),i))}};return He(n,e?{add:Va("add"),set:Va("set"),delete:Va("delete"),clear:Va("clear")}:{add(o){!t&&!Mt(o)&&!mn(o)&&(o=Te(o));const a=Te(this);return Fa(a).has.call(a,o)||(a.add(o),Tn(a,"add",o,o)),this},set(o,a){!t&&!Mt(a)&&!mn(a)&&(a=Te(a));const i=Te(this),{has:s,get:l}=Fa(i);let c=s.call(i,o);c||(o=Te(o),c=s.call(i,o));const u=l.call(i,o);return i.set(o,a),c?Ct(a,u)&&Tn(i,"set",o,a):Tn(i,"add",o,a),this},delete(o){const a=Te(this),{has:i,get:s}=Fa(a);let l=i.call(a,o);l||(o=Te(o),l=i.call(a,o)),s&&s.call(a,o);const c=a.delete(o);return l&&Tn(a,"delete",o,void 0),c},clear(){const o=Te(this),a=o.size!==0,i=o.clear();return a&&Tn(o,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=O_(o,e,t)}),n}function ns(e,t){const n=L_(e,t);return(r,o,a)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(Le(n,o)&&o in r?n:r,o,a)}const A_={get:ns(!1,!1)},M_={get:ns(!1,!0)},R_={get:ns(!0,!1)},N_={get:ns(!0,!0)},Qm=new WeakMap,Xm=new WeakMap,Zm=new WeakMap,eh=new WeakMap;function B_(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function D_(e){return e.__v_skip||!Object.isExtensible(e)?0:B_(t_(e))}function Ye(e){return mn(e)?e:rs(e,!1,k_,A_,Qm)}function rn(e){return rs(e,!1,I_,M_,Xm)}function io(e){return rs(e,!0,E_,R_,Zm)}function th(e){return rs(e,!0,P_,N_,eh)}function rs(e,t,n,r,o){if(!Ue(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const a=o.get(e);if(a)return a;const i=D_(e);if(i===0)return e;const s=new Proxy(e,i===2?r:n);return o.set(e,s),s}function On(e){return mn(e)?On(e.__v_raw):!!(e&&e.__v_isReactive)}function mn(e){return!!(e&&e.__v_isReadonly)}function Mt(e){return!!(e&&e.__v_isShallow)}function _a(e){return e?!!e.__v_raw:!1}function Te(e){const t=e&&e.__v_raw;return t?Te(t):e}function os(e){return!Le(e,"__v_skip")&&Object.isExtensible(e)&&Am(e,"__v_skip",!0),e}const yt=e=>Ue(e)?Ye(e):e,Rl=e=>Ue(e)?io(e):e;function Je(e){return e?e.__v_isRef===!0:!1}function he(e){return nh(e,!1)}function An(e){return nh(e,!0)}function nh(e,t){return Je(e)?e:new $_(e,t)}class $_{constructor(t,n){this.dep=new es,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Te(t),this._value=n?t:yt(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Mt(t)||mn(t);t=r?t:Te(t),Ct(t,n)&&(this._rawValue=t,this._value=r?t:yt(t),this.dep.trigger())}}function rh(e){e.dep&&e.dep.trigger()}function B(e){return Je(e)?e.value:e}function kn(e){return Ce(e)?e():B(e)}const U_={get:(e,t,n)=>t==="__v_raw"?e:B(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Je(o)&&!Je(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function as(e){return On(e)?e:new Proxy(e,U_)}class F_{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new es,{get:r,set:o}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=o}get value(){return this._value=this._get()}set value(t){this._set(t)}}function is(e){return new F_(e)}function oh(e){const t=fe(e)?new Array(e.length):{};for(const n in e)t[n]=ah(e,n);return t}class V_{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return w_(Te(this._object),this._key)}}class H_{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Mn(e,t,n){return Je(e)?e:Ce(e)?new H_(e):Ue(e)&&arguments.length>1?ah(e,t,n):he(e)}function ah(e,t,n){const r=e[t];return Je(r)?r:new V_(e,t,n)}class q_{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new es(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ea-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&je!==this)return Um(this,!0),!0}get value(){const t=this.dep.track();return Hm(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function j_(e,t,n=!1){let r,o;return Ce(e)?r=e:(r=e.get,o=e.set),new q_(r,o,n)}const ih={GET:"get",HAS:"has",ITERATE:"iterate"},sh={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},Ha={},xi=new WeakMap;let Fn;function lh(){return Fn}function Ou(e,t=!1,n=Fn){if(n){let r=xi.get(n);r||xi.set(n,r=[]),r.push(e)}}function W_(e,t,n=Pe){const{immediate:r,deep:o,once:a,scheduler:i,augmentJob:s,call:l}=n,c=p=>o?p:Mt(p)||o===!1||o===0?En(p,1):En(p);let u,d,f,m,b=!1,y=!1;if(Je(e)?(d=()=>e.value,b=Mt(e)):On(e)?(d=()=>c(e),b=!0):fe(e)?(y=!0,b=e.some(p=>On(p)||Mt(p)),d=()=>e.map(p=>{if(Je(p))return p.value;if(On(p))return c(p);if(Ce(p))return l?l(p,2):p()})):Ce(e)?t?d=l?()=>l(e,2):e:d=()=>{if(f){nr();try{f()}finally{rr()}}const p=Fn;Fn=u;try{return l?l(e,3,[m]):e(m)}finally{Fn=p}}:d=Kt,t&&o){const p=d,_=o===!0?1/0:o;d=()=>En(p(),_)}const x=Pr(),w=()=>{u.stop(),x&&x.active&&Cu(x.effects,u)};if(a&&t){const p=t;t=(..._)=>{p(..._),w()}}let g=y?new Array(e.length).fill(Ha):Ha;const h=p=>{if(!(!(u.flags&1)||!u.dirty&&!p))if(t){const _=u.run();if(o||b||(y?_.some((S,E)=>Ct(S,g[E])):Ct(_,g))){f&&f();const S=Fn;Fn=u;try{const E=[_,g===Ha?void 0:y&&g[0]===Ha?[]:g,m];l?l(t,3,E):t(...E),g=_}finally{Fn=S}}}else u.run()};return s&&s(h),u=new ao(d),u.scheduler=i?()=>i(h,!1):h,m=p=>Ou(p,!1,u),f=u.onStop=()=>{const p=xi.get(u);if(p){if(l)l(p,4);else for(const _ of p)_();xi.delete(u)}},t?r?h(!0):g=u.run():i?i(h.bind(null,!0),!0):u.run(),w.pause=u.pause.bind(u),w.resume=u.resume.bind(u),w.stop=w,w}function En(e,t=1/0,n){if(t<=0||!Ue(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Je(e))En(e.value,t,n);else if(fe(e))for(let r=0;r<e.length;r++)En(e[r],t,n);else if(Ir(e)||Jr(e))e.forEach(r=>{En(r,t,n)});else if(Yi(e)){for(const r in e)En(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&En(e[r],t,n)}return e}/** * @vue/runtime-core v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/const ch=[];function z_(e){ch.push(e)}function G_(){ch.pop()}function uh(e,t){}const dh={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},K_={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function Or(e,t,n,r){try{return r?e(...r):e()}catch(o){or(o,t,n)}}function Ut(e,t,n,r){if(Ce(e)){const o=Or(e,t,n,r);return o&&Su(o)&&o.catch(a=>{or(a,t,n)}),o}if(fe(e)){const o=[];for(let a=0;a<e.length;a++)o.push(Ut(e[a],t,n,r));return o}}function or(e,t,n,r=!0){const o=t?t.vnode:null,{errorHandler:a,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||Pe;if(t){let s=t.parent;const l=t.proxy,c=`https://vuejs.org/error-reference/#runtime-${n}`;for(;s;){const u=s.ec;if(u){for(let d=0;d<u.length;d++)if(u[d](e,l,c)===!1)return}s=s.parent}if(a){nr(),Or(a,null,10,[e,l,c]),rr();return}}Y_(e,n,o,r,i)}function Y_(e,t,n,r=!0,o=!1){if(o)throw e;console.error(e)}const St=[];let fn=-1;const eo=[];let Vn=null,Fr=0;const fh=Promise.resolve();let Ci=null;function at(e){const t=Ci||fh;return e?t.then(this?e.bind(this):e):t}function J_(e){let t=fn+1,n=St.length;for(;t<n;){const r=t+n>>>1,o=St[r],a=na(o);a<e||a===e&&o.flags&2?t=r+1:n=r}return t}function Lu(e){if(!(e.flags&1)){const t=na(e),n=St[St.length-1];!n||!(e.flags&2)&&t>=na(n)?St.push(e):St.splice(J_(t),0,e),e.flags|=1,ph()}}function ph(){Ci||(Ci=fh.then(mh))}function so(e){fe(e)?eo.push(...e):Vn&&e.id===-1?Vn.splice(Fr+1,0,e):e.flags&1||(eo.push(e),e.flags|=1),ph()}function Gd(e,t,n=fn+1){for(;n<St.length;n++){const r=St[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;St.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function Si(e){if(eo.length){const t=[...new Set(eo)].sort((n,r)=>na(n)-na(r));if(eo.length=0,Vn){Vn.push(...t);return}for(Vn=t,Fr=0;Fr<Vn.length;Fr++){const n=Vn[Fr];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Vn=null,Fr=0}}const na=e=>e.id==null?e.flags&2?-1:1/0:e.id;function mh(e){try{for(fn=0;fn<St.length;fn++){const t=St[fn];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Or(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;fn<St.length;fn++){const t=St[fn];t&&(t.flags&=-2)}fn=-1,St.length=0,Si(),Ci=null,(St.length||eo.length)&&mh()}}let Vr,qa=[];function hh(e,t){var n,r;Vr=e,Vr?(Vr.enabled=!0,qa.forEach(({event:o,args:a})=>Vr.emit(o,...a)),qa=[]):typeof window<"u"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(a=>{hh(a,t)}),setTimeout(()=>{Vr||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,qa=[])},3e3)):qa=[]}let ct=null,ss=null;function ra(e){const t=ct;return ct=e,ss=e&&e.type.__scopeId||null,t}function gh(e){ss=e}function yh(){ss=null}const bh=e=>Be;function Be(e,t=ct,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&Ii(-1);const a=ra(t);let i;try{i=e(...o)}finally{ra(a),r._d&&Ii(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Ft(e,t){if(ct===null)return e;const n=Ea(ct),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[a,i,s,l=Pe]=t[o];a&&(Ce(a)&&(a={mounted:a,updated:a}),a.deep&&En(i),r.push({dir:a,instance:n,value:i,oldValue:void 0,arg:s,modifiers:l}))}return e}function pn(e,t,n,r){const o=e.dirs,a=t&&t.dirs;for(let i=0;i<o.length;i++){const s=o[i];a&&(s.oldValue=a[i].value);let l=s.dir[r];l&&(nr(),Ut(l,n,8,[e.el,s,e,t]),rr())}}const vh=Symbol("_vte"),_h=e=>e.__isTeleport,qo=e=>e&&(e.disabled||e.disabled===""),Kd=e=>e&&(e.defer||e.defer===""),Yd=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Jd=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Nl=(e,t)=>{const n=e&&e.to;return $e(n)?t?t(n):null:n},wh={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,a,i,s,l,c){const{mc:u,pc:d,pbc:f,o:{insert:m,querySelector:b,createText:y,createComment:x}}=c,w=qo(t.props);let{shapeFlag:g,children:h,dynamicChildren:p}=t;if(e==null){const _=t.el=y(""),S=t.anchor=y("");m(_,n,r),m(S,n,r);const E=(N,v)=>{g&16&&(o&&o.isCE&&(o.ce._teleportTarget=N),u(h,N,v,o,a,i,s,l))},F=()=>{const N=t.target=Nl(t.props,b),v=xh(N,t,y,m);N&&(i!=="svg"&&Yd(N)?i="svg":i!=="mathml"&&Jd(N)&&(i="mathml"),w||(E(N,v),ai(t,!1)))};w&&(E(n,S),ai(t,!0)),Kd(t.props)?st(()=>{F(),t.el.__isMounted=!0},a):F()}else{if(Kd(t.props)&&!e.el.__isMounted){st(()=>{wh.process(e,t,n,r,o,a,i,s,l,c),delete e.el.__isMounted},a);return}t.el=e.el,t.targetStart=e.targetStart;const _=t.anchor=e.anchor,S=t.target=e.target,E=t.targetAnchor=e.targetAnchor,F=qo(e.props),N=F?n:S,v=F?_:E;if(i==="svg"||Yd(S)?i="svg":(i==="mathml"||Jd(S))&&(i="mathml"),p?(f(e.dynamicChildren,p,N,o,a,i,s),Gu(e,t,!0)):l||d(e,t,N,v,o,a,i,s,!1),w)F?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):ja(t,n,_,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const T=t.target=Nl(t.props,b);T&&ja(t,T,null,c,0)}else F&&ja(t,S,E,c,1);ai(t,w)}},remove(e,t,n,{um:r,o:{remove:o}},a){const{shapeFlag:i,children:s,anchor:l,targetStart:c,targetAnchor:u,target:d,props:f}=e;if(d&&(o(c),o(u)),a&&o(l),i&16){const m=a||!qo(f);for(let b=0;b<s.length;b++){const y=s[b];r(y,t,n,m,!!y.dynamicChildren)}}},move:ja,hydrate:Q_};function ja(e,t,n,{o:{insert:r},m:o},a=2){a===0&&r(e.targetAnchor,t,n);const{el:i,anchor:s,shapeFlag:l,children:c,props:u}=e,d=a===2;if(d&&r(i,t,n),(!d||qo(u))&&l&16)for(let f=0;f<c.length;f++)o(c[f],t,n,2);d&&r(s,t,n)}function Q_(e,t,n,r,o,a,{o:{nextSibling:i,parentNode:s,querySelector:l,insert:c,createText:u}},d){const f=t.target=Nl(t.props,l);if(f){const m=qo(t.props),b=f._lpa||f.firstChild;if(t.shapeFlag&16)if(m)t.anchor=d(i(e),t,s(e),n,r,o,a),t.targetStart=b,t.targetAnchor=b&&i(b);else{t.anchor=i(e);let y=b;for(;y;){if(y&&y.nodeType===8){if(y.data==="teleport start anchor")t.targetStart=y;else if(y.data==="teleport anchor"){t.targetAnchor=y,f._lpa=t.targetAnchor&&i(t.targetAnchor);break}}y=i(y)}t.targetAnchor||xh(f,t,u,c),d(b&&i(b),t,f,n,r,o,a)}ai(t,m)}return t.anchor&&i(t.anchor)}const ls=wh;function ai(e,t){const n=e.ctx;if(n&&n.ut){let r,o;for(t?(r=e.el,o=e.anchor):(r=e.targetStart,o=e.targetAnchor);r&&r!==o;)r.nodeType===1&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function xh(e,t,n,r){const o=t.targetStart=n(""),a=t.targetAnchor=n("");return o[vh]=a,e&&(r(o,e),r(a,e)),a}const Hn=Symbol("_leaveCb"),Wa=Symbol("_enterCb");function cs(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Xe(()=>{e.isMounted=!0}),Lr(()=>{e.isUnmounting=!0}),e}const Wt=[Function,Array],us={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Wt,onEnter:Wt,onAfterEnter:Wt,onEnterCancelled:Wt,onBeforeLeave:Wt,onLeave:Wt,onAfterLeave:Wt,onLeaveCancelled:Wt,onBeforeAppear:Wt,onAppear:Wt,onAfterAppear:Wt,onAppearCancelled:Wt},Ch=e=>{const t=e.subTree;return t.component?Ch(t.component):t},X_={name:"BaseTransition",props:us,setup(e,{slots:t}){const n=tt(),r=cs();return()=>{const o=t.default&&wa(t.default(),!0);if(!o||!o.length)return;const a=Sh(o),i=Te(e),{mode:s}=i;if(r.isLeaving)return Zs(a);const l=Qd(a);if(!l)return Zs(a);let c=vr(l,i,r,n,d=>c=d);l.type!==rt&&hn(l,c);let u=n.subTree&&Qd(n.subTree);if(u&&u.type!==rt&&!nn(l,u)&&Ch(n).type!==rt){let d=vr(u,i,r,n);if(hn(u,d),s==="out-in"&&l.type!==rt)return r.isLeaving=!0,d.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete d.afterLeave,u=void 0},Zs(a);s==="in-out"&&l.type!==rt?d.delayLeave=(f,m,b)=>{const y=Th(r,u);y[String(u.key)]=u,f[Hn]=()=>{m(),f[Hn]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{b(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return a}}};function Sh(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==rt){t=n;break}}return t}const Au=X_;function Th(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function vr(e,t,n,r,o){const{appear:a,mode:i,persisted:s=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:f,onLeave:m,onAfterLeave:b,onLeaveCancelled:y,onBeforeAppear:x,onAppear:w,onAfterAppear:g,onAppearCancelled:h}=t,p=String(e.key),_=Th(n,e),S=(N,v)=>{N&&Ut(N,r,9,v)},E=(N,v)=>{const T=v[1];S(N,v),fe(N)?N.every(I=>I.length<=1)&&T():N.length<=1&&T()},F={mode:i,persisted:s,beforeEnter(N){let v=l;if(!n.isMounted)if(a)v=x||l;else return;N[Hn]&&N[Hn](!0);const T=_[p];T&&nn(e,T)&&T.el[Hn]&&T.el[Hn](),S(v,[N])},enter(N){let v=c,T=u,I=d;if(!n.isMounted)if(a)v=w||c,T=g||u,I=h||d;else return;let A=!1;const z=N[Wa]=$=>{A||(A=!0,$?S(I,[N]):S(T,[N]),F.delayedLeave&&F.delayedLeave(),N[Wa]=void 0)};v?E(v,[N,z]):z()},leave(N,v){const T=String(e.key);if(N[Wa]&&N[Wa](!0),n.isUnmounting)return v();S(f,[N]);let I=!1;const A=N[Hn]=z=>{I||(I=!0,v(),z?S(y,[N]):S(b,[N]),N[Hn]=void 0,_[T]===e&&delete _[T])};_[T]=e,m?E(m,[N,A]):A()},clone(N){const v=vr(N,t,n,r,o);return o&&o(v),v}};return F}function Zs(e){if(xa(e))return e=Qt(e),e.children=null,e}function Qd(e){if(!xa(e))return _h(e.type)&&e.children?Sh(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Ce(n.default))return n.default()}}function hn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,hn(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function wa(e,t=!1,n){let r=[],o=0;for(let a=0;a<e.length;a++){let i=e[a];const s=n==null?i.key:String(n)+String(i.key!=null?i.key:a);i.type===we?(i.patchFlag&128&&o++,r=r.concat(wa(i.children,t,s))):(t||i.type!==rt)&&r.push(s!=null?Qt(i,{key:s}):i)}if(o>1)for(let a=0;a<r.length;a++)r[a].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function Qe(e,t){return Ce(e)?He({name:e.name},t,{setup:e}):e}function kh(){const e=tt();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function Mu(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function pr(e){const t=tt(),n=An(null);if(t){const o=t.refs===Pe?t.refs={}:t.refs;Object.defineProperty(o,e,{enumerable:!0,get:()=>n.value,set:a=>n.value=a})}return n}function oa(e,t,n,r,o=!1){if(fe(e)){e.forEach((b,y)=>oa(b,t&&(fe(t)?t[y]:t),n,r,o));return}if(Kn(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&oa(e,t,n,r.component.subTree);return}const a=r.shapeFlag&4?Ea(r.component):r.el,i=o?null:a,{i:s,r:l}=e,c=t&&t.r,u=s.refs===Pe?s.refs={}:s.refs,d=s.setupState,f=Te(d),m=d===Pe?()=>!1:b=>Le(f,b);if(c!=null&&c!==l&&($e(c)?(u[c]=null,m(c)&&(d[c]=null)):Je(c)&&(c.value=null)),Ce(l))Or(l,s,12,[i,u]);else{const b=$e(l),y=Je(l);if(b||y){const x=()=>{if(e.f){const w=b?m(l)?d[l]:u[l]:l.value;o?fe(w)&&Cu(w,a):fe(w)?w.includes(a)||w.push(a):b?(u[l]=[a],m(l)&&(d[l]=u[l])):(l.value=[a],e.k&&(u[e.k]=l.value))}else b?(u[l]=i,m(l)&&(d[l]=i)):y&&(l.value=i,e.k&&(u[e.k]=i))};i?(x.id=-1,st(x,n)):x()}}}let Xd=!1;const $r=()=>{Xd||(console.error("Hydration completed but contains mismatches."),Xd=!0)},Z_=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",e0=e=>e.namespaceURI.includes("MathML"),za=e=>{if(e.nodeType===1){if(Z_(e))return"svg";if(e0(e))return"mathml"}},Wr=e=>e.nodeType===8;function t0(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:a,parentNode:i,remove:s,insert:l,createComment:c}}=e,u=(h,p)=>{if(!p.hasChildNodes()){n(null,h,p),Si(),p._vnode=h;return}d(p.firstChild,h,null,null,null),Si(),p._vnode=h},d=(h,p,_,S,E,F=!1)=>{F=F||!!p.dynamicChildren;const N=Wr(h)&&h.data==="[",v=()=>y(h,p,_,S,E,N),{type:T,ref:I,shapeFlag:A,patchFlag:z}=p;let $=h.nodeType;p.el=h,z===-2&&(F=!1,p.dynamicChildren=null);let R=null;switch(T){case Ln:$!==3?p.children===""?(l(p.el=o(""),i(h),h),R=h):R=v():(h.data!==p.children&&($r(),h.data=p.children),R=a(h));break;case rt:g(h)?(R=a(h),w(p.el=h.content.firstChild,h,_)):$!==8||N?R=v():R=a(h);break;case Jn:if(N&&(h=a(h),$=h.nodeType),$===1||$===3){R=h;const q=!p.children.length;for(let j=0;j<p.staticCount;j++)q&&(p.children+=R.nodeType===1?R.outerHTML:R.data),j===p.staticCount-1&&(p.anchor=R),R=a(R);return N?a(R):R}else v();break;case we:N?R=b(h,p,_,S,E,F):R=v();break;default:if(A&1)($!==1||p.type.toLowerCase()!==h.tagName.toLowerCase())&&!g(h)?R=v():R=f(h,p,_,S,E,F);else if(A&6){p.slotScopeIds=E;const q=i(h);if(N?R=x(h):Wr(h)&&h.data==="teleport start"?R=x(h,h.data,"teleport end"):R=a(h),t(p,q,null,_,S,za(q),F),Kn(p)&&!p.type.__asyncResolved){let j;N?(j=K(we),j.anchor=R?R.previousSibling:q.lastChild):j=h.nodeType===3?nt(""):K("div"),j.el=h,p.component.subTree=j}}else A&64?$!==8?R=v():R=p.type.hydrate(h,p,_,S,E,F,e,m):A&128&&(R=p.type.hydrate(h,p,_,S,za(i(h)),E,F,e,d))}return I!=null&&oa(I,null,S,p),R},f=(h,p,_,S,E,F)=>{F=F||!!p.dynamicChildren;const{type:N,props:v,patchFlag:T,shapeFlag:I,dirs:A,transition:z}=p,$=N==="input"||N==="option";if($||T!==-1){A&&pn(p,null,_,"created");let R=!1;if(g(h)){R=ig(null,z)&&_&&_.vnode.props&&_.vnode.props.appear;const j=h.content.firstChild;R&&z.beforeEnter(j),w(j,h,_),p.el=h=j}if(I&16&&!(v&&(v.innerHTML||v.textContent))){let j=m(h.firstChild,p,h,_,S,E,F);for(;j;){Ga(h,1)||$r();const X=j;j=j.nextSibling,s(X)}}else if(I&8){let j=p.children;j[0]===` `&&(h.tagName==="PRE"||h.tagName==="TEXTAREA")&&(j=j.slice(1)),h.textContent!==j&&(Ga(h,0)||$r(),h.textContent=p.children)}if(v){if($||!F||T&48){const j=h.tagName.includes("-");for(const X in v)($&&(X.endsWith("value")||X==="indeterminate")||va(X)&&!Qr(X)||X[0]==="."||j)&&r(h,X,null,v[X],void 0,_)}else if(v.onClick)r(h,"onClick",null,v.onClick,void 0,_);else if(T&4&&On(v.style))for(const j in v.style)v.style[j]}let q;(q=v&&v.onVnodeBeforeMount)&&Lt(q,_,p),A&&pn(p,null,_,"beforeMount"),((q=v&&v.onVnodeMounted)||A||R)&&mg(()=>{q&&Lt(q,_,p),R&&z.enter(h),A&&pn(p,null,_,"mounted")},S)}return h.nextSibling},m=(h,p,_,S,E,F,N)=>{N=N||!!p.dynamicChildren;const v=p.children,T=v.length;for(let I=0;I<T;I++){const A=N?v[I]:v[I]=At(v[I]),z=A.type===Ln;h?(z&&!N&&I+1<T&&At(v[I+1]).type===Ln&&(l(o(h.data.slice(A.children.length)),_,a(h)),h.data=A.children),h=d(h,A,S,E,F,N)):z&&!A.children?l(A.el=o(""),_):(Ga(_,1)||$r(),n(null,A,_,null,S,E,za(_),F))}return h},b=(h,p,_,S,E,F)=>{const{slotScopeIds:N}=p;N&&(E=E?E.concat(N):N);const v=i(h),T=m(a(h),p,v,_,S,E,F);return T&&Wr(T)&&T.data==="]"?a(p.anchor=T):($r(),l(p.anchor=c("]"),v,T),T)},y=(h,p,_,S,E,F)=>{if(Ga(h.parentElement,1)||$r(),p.el=null,F){const T=x(h);for(;;){const I=a(h);if(I&&I!==T)s(I);else break}}const N=a(h),v=i(h);return s(h),n(null,p,v,N,_,S,za(v),E),_&&(_.vnode.el=p.el,vs(_,p.el)),N},x=(h,p="[",_="]")=>{let S=0;for(;h;)if(h=a(h),h&&Wr(h)&&(h.data===p&&S++,h.data===_)){if(S===0)return a(h);S--}return h},w=(h,p,_)=>{const S=p.parentNode;S&&S.replaceChild(h,p);let E=_;for(;E;)E.vnode.el===p&&(E.vnode.el=E.subTree.el=h),E=E.parent},g=h=>h.nodeType===1&&h.tagName==="TEMPLATE";return[u,d]}const Zd="data-allow-mismatch",n0={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Ga(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Zd);)e=e.parentElement;const n=e&&e.getAttribute(Zd);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:n.split(",").includes(n0[t])}}const r0=Qi().requestIdleCallback||(e=>setTimeout(e,1)),o0=Qi().cancelIdleCallback||(e=>clearTimeout(e)),Eh=(e=1e4)=>t=>{const n=r0(t,{timeout:e});return()=>o0(n)};function a0(e){const{top:t,left:n,bottom:r,right:o}=e.getBoundingClientRect(),{innerHeight:a,innerWidth:i}=window;return(t>0&&t<a||r>0&&r<a)&&(n>0&&n<i||o>0&&o<i)}const Ih=e=>(t,n)=>{const r=new IntersectionObserver(o=>{for(const a of o)if(a.isIntersecting){r.disconnect(),t();break}},e);return n(o=>{if(o instanceof Element){if(a0(o))return t(),r.disconnect(),!1;r.observe(o)}}),()=>r.disconnect()},Ph=e=>t=>{if(e){const n=matchMedia(e);if(n.matches)t();else return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t)}},Oh=(e=[])=>(t,n)=>{$e(e)&&(e=[e]);let r=!1;const o=i=>{r||(r=!0,a(),t(),i.target.dispatchEvent(new i.constructor(i.type,i)))},a=()=>{n(i=>{for(const s of e)i.removeEventListener(s,o)})};return n(i=>{for(const s of e)i.addEventListener(s,o,{once:!0})}),a};function i0(e,t){if(Wr(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(Wr(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const Kn=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function gn(e){Ce(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,hydrate:a,timeout:i,suspensible:s=!0,onError:l}=e;let c=null,u,d=0;const f=()=>(d++,c=null,m()),m=()=>{let b;return c||(b=c=t().catch(y=>{if(y=y instanceof Error?y:new Error(String(y)),l)return new Promise((x,w)=>{l(y,()=>x(f()),()=>w(y),d+1)});throw y}).then(y=>b!==c&&c?c:(y&&(y.__esModule||y[Symbol.toStringTag]==="Module")&&(y=y.default),u=y,y)))};return Qe({name:"AsyncComponentWrapper",__asyncLoader:m,__asyncHydrate(b,y,x){const w=a?()=>{const g=a(x,h=>i0(b,h));g&&(y.bum||(y.bum=[])).push(g)}:x;u?w():m().then(()=>!y.isUnmounted&&w())},get __asyncResolved(){return u},setup(){const b=lt;if(Mu(b),u)return()=>el(u,b);const y=h=>{c=null,or(h,b,13,!r)};if(s&&b.suspense||lo)return m().then(h=>()=>el(h,b)).catch(h=>(y(h),()=>r?K(r,{error:h}):null));const x=he(!1),w=he(),g=he(!!o);return o&&setTimeout(()=>{g.value=!1},o),i!=null&&setTimeout(()=>{if(!x.value&&!w.value){const h=new Error(`Async component timed out after ${i}ms.`);y(h),w.value=h}},i),m().then(()=>{x.value=!0,b.parent&&xa(b.parent.vnode)&&b.parent.update()}).catch(h=>{y(h),w.value=h}),()=>{if(x.value&&u)return el(u,b);if(w.value&&r)return K(r,{error:w.value});if(n&&!g.value)return K(n)}}})}function el(e,t){const{ref:n,props:r,children:o,ce:a}=t.vnode,i=K(e,r,o);return i.ref=n,i.ce=a,delete t.vnode.ce,i}const xa=e=>e.type.__isKeepAlive,s0={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=tt(),r=n.ctx;if(!r.renderer)return()=>{const g=t.default&&t.default();return g&&g.length===1?g[0]:g};const o=new Map,a=new Set;let i=null;const s=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:d}}}=r,f=d("div");r.activate=(g,h,p,_,S)=>{const E=g.component;c(g,h,p,0,s),l(E.vnode,g,h,p,E,s,_,g.slotScopeIds,S),st(()=>{E.isDeactivated=!1,E.a&&Zr(E.a);const F=g.props&&g.props.onVnodeMounted;F&&Lt(F,E.parent,g)},s)},r.deactivate=g=>{const h=g.component;ki(h.m),ki(h.a),c(g,f,null,1,s),st(()=>{h.da&&Zr(h.da);const p=g.props&&g.props.onVnodeUnmounted;p&&Lt(p,h.parent,g),h.isDeactivated=!0},s)};function m(g){tl(g),u(g,n,s,!0)}function b(g){o.forEach((h,p)=>{const _=zl(h.type);_&&!g(_)&&y(p)})}function y(g){const h=o.get(g);h&&(!i||!nn(h,i))?m(h):i&&tl(i),o.delete(g),a.delete(g)}pt(()=>[e.include,e.exclude],([g,h])=>{g&&b(p=>$o(g,p)),h&&b(p=>!$o(h,p))},{flush:"post",deep:!0});let x=null;const w=()=>{x!=null&&(Ei(n.subTree.type)?st(()=>{o.set(x,Ka(n.subTree))},n.subTree.suspense):o.set(x,Ka(n.subTree)))};return Xe(w),Sa(w),Lr(()=>{o.forEach(g=>{const{subTree:h,suspense:p}=n,_=Ka(h);if(g.type===_.type&&g.key===_.key){tl(_);const S=_.component.da;S&&st(S,p);return}m(g)})}),()=>{if(x=null,!t.default)return i=null;const g=t.default(),h=g[0];if(g.length>1)return i=null,g;if(!Vt(h)||!(h.shapeFlag&4)&&!(h.shapeFlag&128))return i=null,h;let p=Ka(h);if(p.type===rt)return i=null,p;const _=p.type,S=zl(Kn(p)?p.type.__asyncResolved||{}:_),{include:E,exclude:F,max:N}=e;if(E&&(!S||!$o(E,S))||F&&S&&$o(F,S))return p.shapeFlag&=-257,i=p,h;const v=p.key==null?_:p.key,T=o.get(v);return p.el&&(p=Qt(p),h.shapeFlag&128&&(h.ssContent=p)),x=v,T?(p.el=T.el,p.component=T.component,p.transition&&hn(p,p.transition),p.shapeFlag|=512,a.delete(v),a.add(v)):(a.add(v),N&&a.size>parseInt(N,10)&&y(a.values().next().value)),p.shapeFlag|=256,i=p,Ei(h.type)?h:p}}},Ru=s0;function $o(e,t){return fe(e)?e.some(n=>$o(n,t)):$e(e)?e.split(",").includes(t):e_(e)?(e.lastIndex=0,e.test(t)):!1}function ds(e,t){Lh(e,"a",t)}function fs(e,t){Lh(e,"da",t)}function Lh(e,t,n=lt){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(ps(t,r,n),n){let o=n.parent;for(;o&&o.parent;)xa(o.parent.vnode)&&l0(r,t,n,o),o=o.parent}}function l0(e,t,n,r){const o=ps(t,e,r,!0);qt(()=>{Cu(r[t],o)},n)}function tl(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Ka(e){return e.shapeFlag&128?e.ssContent:e}function ps(e,t,n=lt,r=!1){if(n){const o=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...i)=>{nr();const s=wr(n),l=Ut(t,n,e,i);return s(),rr(),l});return r?o.unshift(a):o.push(a),a}}const Nn=e=>(t,n=lt)=>{(!lo||e==="sp")&&ps(e,(...r)=>t(...r),n)},Ca=Nn("bm"),Xe=Nn("m"),ms=Nn("bu"),Sa=Nn("u"),Lr=Nn("bum"),qt=Nn("um"),Nu=Nn("sp"),Bu=Nn("rtg"),Du=Nn("rtc");function hs(e,t=lt){ps("ec",e,t)}const $u="components",c0="directives";function Uu(e,t){return Fu($u,e,!0,t)||e}const Ah=Symbol.for("v-ndc");function ar(e){return $e(e)?Fu($u,e,!1)||e:e||Ah}function Mh(e){return Fu(c0,e)}function Fu(e,t,n=!0,r=!1){const o=ct||lt;if(o){const a=o.type;if(e===$u){const s=zl(a,!1);if(s&&(s===t||s===ft(t)||s===_o(ft(t))))return a}const i=ef(o[e]||a[e],t)||ef(o.appContext[e],t);return!i&&r?a:i}}function ef(e,t){return e&&(e[t]||e[ft(t)]||e[_o(ft(t))])}function De(e,t,n,r){let o;const a=n&&n[r],i=fe(e);if(i||$e(e)){const s=i&&On(e);let l=!1;s&&(l=!Mt(e),e=ts(e)),o=new Array(e.length);for(let c=0,u=e.length;c<u;c++)o[c]=t(l?yt(e[c]):e[c],c,void 0,a&&a[c])}else if(typeof e=="number"){o=new Array(e);for(let s=0;s<e;s++)o[s]=t(s+1,s,void 0,a&&a[s])}else if(Ue(e))if(e[Symbol.iterator])o=Array.from(e,(s,l)=>t(s,l,void 0,a&&a[l]));else{const s=Object.keys(e);o=new Array(s.length);for(let l=0,c=s.length;l<c;l++){const u=s[l];o[l]=t(e[u],u,l,a&&a[l])}}else o=[];return n&&(n[r]=o),o}function Rh(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(fe(r))for(let o=0;o<r.length;o++)e[r[o].name]=r[o].fn;else r&&(e[r.name]=r.key?(...o)=>{const a=r.fn(...o);return a&&(a.key=r.key),a}:r.fn)}return e}function $t(e,t,n={},r,o){if(ct.ce||ct.parent&&Kn(ct.parent)&&ct.parent.ce)return t!=="default"&&(n.name=t),P(),ye(we,null,[K("slot",n,r&&r())],64);let a=e[t];a&&a._c&&(a._d=!1),P();const i=a&&Vu(a(n)),s=n.key||i&&i.key,l=ye(we,{key:(s&&!an(s)?s:`_${t}`)+(!i&&r?"_fb":"")},i||(r?r():[]),i&&e._===1?64:-2);return!o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),a&&a._c&&(a._d=!0),l}function Vu(e){return e.some(t=>Vt(t)?!(t.type===rt||t.type===we&&!Vu(t.children)):!0)?e:null}function Nh(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:Xr(r)]=e[r];return n}const Bl=e=>e?wg(e)?Ea(e):Bl(e.parent):null,jo=He(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Bl(e.parent),$root:e=>Bl(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>qu(e),$forceUpdate:e=>e.f||(e.f=()=>{Lu(e.update)}),$nextTick:e=>e.n||(e.n=at.bind(e.proxy)),$watch:e=>T0.bind(e)}),nl=(e,t)=>e!==Pe&&!e.__isScriptSetup&&Le(e,t),Dl={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:a,accessCache:i,type:s,appContext:l}=e;let c;if(t[0]!=="$"){const m=i[t];if(m!==void 0)switch(m){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return a[t]}else{if(nl(r,t))return i[t]=1,r[t];if(o!==Pe&&Le(o,t))return i[t]=2,o[t];if((c=e.propsOptions[0])&&Le(c,t))return i[t]=3,a[t];if(n!==Pe&&Le(n,t))return i[t]=4,n[t];$l&&(i[t]=0)}}const u=jo[t];let d,f;if(u)return t==="$attrs"&>(e.attrs,"get",""),u(e);if((d=s.__cssModules)&&(d=d[t]))return d;if(n!==Pe&&Le(n,t))return i[t]=4,n[t];if(f=l.config.globalProperties,Le(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:a}=e;return nl(o,t)?(o[t]=n,!0):r!==Pe&&Le(r,t)?(r[t]=n,!0):Le(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(a[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:a}},i){let s;return!!n[i]||e!==Pe&&Le(e,i)||nl(t,i)||(s=a[0])&&Le(s,i)||Le(r,i)||Le(jo,i)||Le(o.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Le(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},u0=He({},Dl,{get(e,t){if(t!==Symbol.unscopables)return Dl.get(e,t,e)},has(e,t){return t[0]!=="_"&&!a_(t)}});function Bh(){return null}function Dh(){return null}function $h(e){}function Uh(e){}function Fh(){return null}function Vh(){}function Hh(e,t){return null}function qh(){return jh().slots}function Hu(){return jh().attrs}function jh(){const e=tt();return e.setupContext||(e.setupContext=kg(e))}function aa(e){return fe(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Wh(e,t){const n=aa(e);for(const r in t){if(r.startsWith("__skip"))continue;let o=n[r];o?fe(o)||Ce(o)?o=n[r]={type:o,default:t[r]}:o.default=t[r]:o===null&&(o=n[r]={default:t[r]}),o&&t[`__skip_${r}`]&&(o.skipFactory=!0)}return n}function zh(e,t){return!e||!t?e||t:fe(e)&&fe(t)?e.concat(t):He({},aa(e),aa(t))}function Gh(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function gs(e){const t=tt();let n=e();return ql(),Su(n)&&(n=n.catch(r=>{throw wr(t),r})),[n,()=>wr(t)]}let $l=!0;function d0(e){const t=qu(e),n=e.proxy,r=e.ctx;$l=!1,t.beforeCreate&&tf(t.beforeCreate,e,"bc");const{data:o,computed:a,methods:i,watch:s,provide:l,inject:c,created:u,beforeMount:d,mounted:f,beforeUpdate:m,updated:b,activated:y,deactivated:x,beforeDestroy:w,beforeUnmount:g,destroyed:h,unmounted:p,render:_,renderTracked:S,renderTriggered:E,errorCaptured:F,serverPrefetch:N,expose:v,inheritAttrs:T,components:I,directives:A,filters:z}=t;if(c&&f0(c,r,null),i)for(const q in i){const j=i[q];Ce(j)&&(r[q]=j.bind(n))}if(o){const q=o.call(n,n);Ue(q)&&(e.data=Ye(q))}if($l=!0,a)for(const q in a){const j=a[q],X=Ce(j)?j.bind(n,n):Ce(j.get)?j.get.bind(n,n):Kt,me=!Ce(j)&&Ce(j.set)?j.set.bind(n):Kt,be=se({get:X,set:me});Object.defineProperty(r,q,{enumerable:!0,configurable:!0,get:()=>be.value,set:Q=>be.value=Q})}if(s)for(const q in s)Kh(s[q],r,n,q);if(l){const q=Ce(l)?l.call(n):l;Reflect.ownKeys(q).forEach(j=>{vt(j,q[j])})}u&&tf(u,e,"c");function R(q,j){fe(j)?j.forEach(X=>q(X.bind(n))):j&&q(j.bind(n))}if(R(Ca,d),R(Xe,f),R(ms,m),R(Sa,b),R(ds,y),R(fs,x),R(hs,F),R(Du,S),R(Bu,E),R(Lr,g),R(qt,p),R(Nu,N),fe(v))if(v.length){const q=e.exposed||(e.exposed={});v.forEach(j=>{Object.defineProperty(q,j,{get:()=>n[j],set:X=>n[j]=X})})}else e.exposed||(e.exposed={});_&&e.render===Kt&&(e.render=_),T!=null&&(e.inheritAttrs=T),I&&(e.components=I),A&&(e.directives=A),N&&Mu(e)}function f0(e,t,n=Kt){fe(e)&&(e=Ul(e));for(const r in e){const o=e[r];let a;Ue(o)?"default"in o?a=ot(o.from||r,o.default,!0):a=ot(o.from||r):a=ot(o),Je(a)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>a.value,set:i=>a.value=i}):t[r]=a}}function tf(e,t,n){Ut(fe(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Kh(e,t,n,r){let o=r.includes(".")?cg(n,r):()=>n[r];if($e(e)){const a=t[e];Ce(a)&&pt(o,a)}else if(Ce(e))pt(o,e.bind(n));else if(Ue(e))if(fe(e))e.forEach(a=>Kh(a,t,n,r));else{const a=Ce(e.handler)?e.handler.bind(n):t[e.handler];Ce(a)&&pt(o,a,e)}}function qu(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:a,config:{optionMergeStrategies:i}}=e.appContext,s=a.get(t);let l;return s?l=s:!o.length&&!n&&!r?l=t:(l={},o.length&&o.forEach(c=>Ti(l,c,i,!0)),Ti(l,t,i)),Ue(t)&&a.set(t,l),l}function Ti(e,t,n,r=!1){const{mixins:o,extends:a}=t;a&&Ti(e,a,n,!0),o&&o.forEach(i=>Ti(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const s=p0[i]||n&&n[i];e[i]=s?s(e[i],t[i]):t[i]}return e}const p0={data:nf,props:rf,emits:rf,methods:Uo,computed:Uo,beforeCreate:wt,created:wt,beforeMount:wt,mounted:wt,beforeUpdate:wt,updated:wt,beforeDestroy:wt,beforeUnmount:wt,destroyed:wt,unmounted:wt,activated:wt,deactivated:wt,errorCaptured:wt,serverPrefetch:wt,components:Uo,directives:Uo,watch:h0,provide:nf,inject:m0};function nf(e,t){return t?e?function(){return He(Ce(e)?e.call(this,this):e,Ce(t)?t.call(this,this):t)}:t:e}function m0(e,t){return Uo(Ul(e),Ul(t))}function Ul(e){if(fe(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function wt(e,t){return e?[...new Set([].concat(e,t))]:t}function Uo(e,t){return e?He(Object.create(null),e,t):t}function rf(e,t){return e?fe(e)&&fe(t)?[...new Set([...e,...t])]:He(Object.create(null),aa(e),aa(t??{})):t}function h0(e,t){if(!e)return t;if(!t)return e;const n=He(Object.create(null),e);for(const r in t)n[r]=wt(e[r],t[r]);return n}function Yh(){return{app:null,config:{isNativeTag:Xv,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let g0=0;function y0(e,t){return function(r,o=null){Ce(r)||(r=He({},r)),o!=null&&!Ue(o)&&(o=null);const a=Yh(),i=new WeakSet,s=[];let l=!1;const c=a.app={_uid:g0++,_component:r,_props:o,_container:null,_context:a,_instance:null,version:_s,get config(){return a.config},set config(u){},use(u,...d){return i.has(u)||(u&&Ce(u.install)?(i.add(u),u.install(c,...d)):Ce(u)&&(i.add(u),u(c,...d))),c},mixin(u){return a.mixins.includes(u)||a.mixins.push(u),c},component(u,d){return d?(a.components[u]=d,c):a.components[u]},directive(u,d){return d?(a.directives[u]=d,c):a.directives[u]},mount(u,d,f){if(!l){const m=c._ceVNode||K(r,o);return m.appContext=a,f===!0?f="svg":f===!1&&(f=void 0),d&&t?t(m,u):e(m,u,f),l=!0,c._container=u,u.__vue_app__=c,Ea(m.component)}},onUnmount(u){s.push(u)},unmount(){l&&(Ut(s,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(u,d){return a.provides[u]=d,c},runWithContext(u){const d=hr;hr=c;try{return u()}finally{hr=d}}};return c}}let hr=null;function vt(e,t){if(lt){let n=lt.provides;const r=lt.parent&<.parent.provides;r===n&&(n=lt.provides=Object.create(r)),n[e]=t}}function ot(e,t,n=!1){const r=lt||ct;if(r||hr){const o=hr?hr._context.provides:r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&Ce(t)?t.call(r&&r.proxy):t}}function ys(){return!!(lt||ct||hr)}const Jh={},Qh=()=>Object.create(Jh),Xh=e=>Object.getPrototypeOf(e)===Jh;function b0(e,t,n,r=!1){const o={},a=Qh();e.propsDefaults=Object.create(null),Zh(e,t,o,a);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=r?o:rn(o):e.type.props?e.props=o:e.props=a,e.attrs=a}function v0(e,t,n,r){const{props:o,attrs:a,vnode:{patchFlag:i}}=e,s=Te(o),[l]=e.propsOptions;let c=!1;if((r||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let d=0;d<u.length;d++){let f=u[d];if(bs(e.emitsOptions,f))continue;const m=t[f];if(l)if(Le(a,f))m!==a[f]&&(a[f]=m,c=!0);else{const b=ft(f);o[b]=Fl(l,s,b,m,e,!1)}else m!==a[f]&&(a[f]=m,c=!0)}}}else{Zh(e,t,o,a)&&(c=!0);let u;for(const d in s)(!t||!Le(t,d)&&((u=Tt(d))===d||!Le(t,u)))&&(l?n&&(n[d]!==void 0||n[u]!==void 0)&&(o[d]=Fl(l,s,d,void 0,e,!0)):delete o[d]);if(a!==s)for(const d in a)(!t||!Le(t,d))&&(delete a[d],c=!0)}c&&Tn(e.attrs,"set","")}function Zh(e,t,n,r){const[o,a]=e.propsOptions;let i=!1,s;if(t)for(let l in t){if(Qr(l))continue;const c=t[l];let u;o&&Le(o,u=ft(l))?!a||!a.includes(u)?n[u]=c:(s||(s={}))[u]=c:bs(e.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,i=!0)}if(a){const l=Te(n),c=s||Pe;for(let u=0;u<a.length;u++){const d=a[u];n[d]=Fl(o,l,d,c[d],e,!Le(c,d))}}return i}function Fl(e,t,n,r,o,a){const i=e[n];if(i!=null){const s=Le(i,"default");if(s&&r===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&Ce(l)){const{propsDefaults:c}=o;if(n in c)r=c[n];else{const u=wr(o);r=c[n]=l.call(null,t),u()}}else r=l;o.ce&&o.ce._setProp(n,r)}i[0]&&(a&&!s?r=!1:i[1]&&(r===""||r===Tt(n))&&(r=!0))}return r}const _0=new WeakMap;function eg(e,t,n=!1){const r=n?_0:t.propsCache,o=r.get(e);if(o)return o;const a=e.props,i={},s=[];let l=!1;if(!Ce(e)){const u=d=>{l=!0;const[f,m]=eg(d,t,!0);He(i,f),m&&s.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!a&&!l)return Ue(e)&&r.set(e,Yr),Yr;if(fe(a))for(let u=0;u<a.length;u++){const d=ft(a[u]);of(d)&&(i[d]=Pe)}else if(a)for(const u in a){const d=ft(u);if(of(d)){const f=a[u],m=i[d]=fe(f)||Ce(f)?{type:f}:He({},f),b=m.type;let y=!1,x=!0;if(fe(b))for(let w=0;w<b.length;++w){const g=b[w],h=Ce(g)&&g.name;if(h==="Boolean"){y=!0;break}else h==="String"&&(x=!1)}else y=Ce(b)&&b.name==="Boolean";m[0]=y,m[1]=x,(y||Le(m,"default"))&&s.push(d)}}const c=[i,s];return Ue(e)&&r.set(e,c),c}function of(e){return e[0]!=="$"&&!Qr(e)}const tg=e=>e[0]==="_"||e==="$stable",ju=e=>fe(e)?e.map(At):[At(e)],w0=(e,t,n)=>{if(t._n)return t;const r=Be((...o)=>ju(t(...o)),n);return r._c=!1,r},ng=(e,t,n)=>{const r=e._ctx;for(const o in e){if(tg(o))continue;const a=e[o];if(Ce(a))t[o]=w0(o,a,r);else if(a!=null){const i=ju(a);t[o]=()=>i}}},rg=(e,t)=>{const n=ju(t);e.slots.default=()=>n},og=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},x0=(e,t,n)=>{const r=e.slots=Qh();if(e.vnode.shapeFlag&32){const o=t._;o?(og(r,t,n),n&&Am(r,"_",o,!0)):ng(t,r)}else t&&rg(e,t)},C0=(e,t,n)=>{const{vnode:r,slots:o}=e;let a=!0,i=Pe;if(r.shapeFlag&32){const s=t._;s?n&&s===1?a=!1:og(o,t,n):(a=!t.$stable,ng(t,o)),i=t}else t&&(rg(e,t),i={default:1});if(a)for(const s in o)!tg(s)&&i[s]==null&&delete o[s]},st=mg;function Wu(e){return ag(e)}function zu(e){return ag(e,t0)}function ag(e,t){const n=Qi();n.__VUE__=!0;const{insert:r,remove:o,patchProp:a,createElement:i,createText:s,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:f,setScopeId:m=Kt,insertStaticContent:b}=e,y=(C,k,M,W=null,H=null,Y=null,ae=void 0,oe=null,re=!!k.dynamicChildren)=>{if(C===k)return;C&&!nn(C,k)&&(W=D(C),Q(C,H,Y,!0),C=null),k.patchFlag===-2&&(re=!1,k.dynamicChildren=null);const{type:ee,ref:xe,shapeFlag:ue}=k;switch(ee){case Ln:x(C,k,M,W);break;case rt:w(C,k,M,W);break;case Jn:C==null&&g(k,M,W,ae);break;case we:I(C,k,M,W,H,Y,ae,oe,re);break;default:ue&1?_(C,k,M,W,H,Y,ae,oe,re):ue&6?A(C,k,M,W,H,Y,ae,oe,re):(ue&64||ue&128)&&ee.process(C,k,M,W,H,Y,ae,oe,re,ie)}xe!=null&&H&&oa(xe,C&&C.ref,Y,k||C,!k)},x=(C,k,M,W)=>{if(C==null)r(k.el=s(k.children),M,W);else{const H=k.el=C.el;k.children!==C.children&&c(H,k.children)}},w=(C,k,M,W)=>{C==null?r(k.el=l(k.children||""),M,W):k.el=C.el},g=(C,k,M,W)=>{[C.el,C.anchor]=b(C.children,k,M,W,C.el,C.anchor)},h=({el:C,anchor:k},M,W)=>{let H;for(;C&&C!==k;)H=f(C),r(C,M,W),C=H;r(k,M,W)},p=({el:C,anchor:k})=>{let M;for(;C&&C!==k;)M=f(C),o(C),C=M;o(k)},_=(C,k,M,W,H,Y,ae,oe,re)=>{k.type==="svg"?ae="svg":k.type==="math"&&(ae="mathml"),C==null?S(k,M,W,H,Y,ae,oe,re):N(C,k,H,Y,ae,oe,re)},S=(C,k,M,W,H,Y,ae,oe)=>{let re,ee;const{props:xe,shapeFlag:ue,transition:ve,dirs:ke}=C;if(re=C.el=i(C.type,Y,xe&&xe.is,xe),ue&8?u(re,C.children):ue&16&&F(C.children,re,null,W,H,rl(C,Y),ae,oe),ke&&pn(C,null,W,"created"),E(re,C,C.scopeId,ae,W),xe){for(const qe in xe)qe!=="value"&&!Qr(qe)&&a(re,qe,null,xe[qe],Y,W);"value"in xe&&a(re,"value",null,xe.value,Y),(ee=xe.onVnodeBeforeMount)&&Lt(ee,W,C)}ke&&pn(C,null,W,"beforeMount");const Oe=ig(H,ve);Oe&&ve.beforeEnter(re),r(re,k,M),((ee=xe&&xe.onVnodeMounted)||Oe||ke)&&st(()=>{ee&&Lt(ee,W,C),Oe&&ve.enter(re),ke&&pn(C,null,W,"mounted")},H)},E=(C,k,M,W,H)=>{if(M&&m(C,M),W)for(let Y=0;Y<W.length;Y++)m(C,W[Y]);if(H){let Y=H.subTree;if(k===Y||Ei(Y.type)&&(Y.ssContent===k||Y.ssFallback===k)){const ae=H.vnode;E(C,ae,ae.scopeId,ae.slotScopeIds,H.parent)}}},F=(C,k,M,W,H,Y,ae,oe,re=0)=>{for(let ee=re;ee<C.length;ee++){const xe=C[ee]=oe?qn(C[ee]):At(C[ee]);y(null,xe,k,M,W,H,Y,ae,oe)}},N=(C,k,M,W,H,Y,ae)=>{const oe=k.el=C.el;let{patchFlag:re,dynamicChildren:ee,dirs:xe}=k;re|=C.patchFlag&16;const ue=C.props||Pe,ve=k.props||Pe;let ke;if(M&&sr(M,!1),(ke=ve.onVnodeBeforeUpdate)&&Lt(ke,M,k,C),xe&&pn(k,C,M,"beforeUpdate"),M&&sr(M,!0),(ue.innerHTML&&ve.innerHTML==null||ue.textContent&&ve.textContent==null)&&u(oe,""),ee?v(C.dynamicChildren,ee,oe,M,W,rl(k,H),Y):ae||j(C,k,oe,null,M,W,rl(k,H),Y,!1),re>0){if(re&16)T(oe,ue,ve,M,H);else if(re&2&&ue.class!==ve.class&&a(oe,"class",null,ve.class,H),re&4&&a(oe,"style",ue.style,ve.style,H),re&8){const Oe=k.dynamicProps;for(let qe=0;qe<Oe.length;qe++){const Re=Oe[qe],Rt=ue[Re],ht=ve[Re];(ht!==Rt||Re==="value")&&a(oe,Re,Rt,ht,H,M)}}re&1&&C.children!==k.children&&u(oe,k.children)}else!ae&&ee==null&&T(oe,ue,ve,M,H);((ke=ve.onVnodeUpdated)||xe)&&st(()=>{ke&&Lt(ke,M,k,C),xe&&pn(k,C,M,"updated")},W)},v=(C,k,M,W,H,Y,ae)=>{for(let oe=0;oe<k.length;oe++){const re=C[oe],ee=k[oe],xe=re.el&&(re.type===we||!nn(re,ee)||re.shapeFlag&70)?d(re.el):M;y(re,ee,xe,null,W,H,Y,ae,!0)}},T=(C,k,M,W,H)=>{if(k!==M){if(k!==Pe)for(const Y in k)!Qr(Y)&&!(Y in M)&&a(C,Y,k[Y],null,H,W);for(const Y in M){if(Qr(Y))continue;const ae=M[Y],oe=k[Y];ae!==oe&&Y!=="value"&&a(C,Y,oe,ae,H,W)}"value"in M&&a(C,"value",k.value,M.value,H)}},I=(C,k,M,W,H,Y,ae,oe,re)=>{const ee=k.el=C?C.el:s(""),xe=k.anchor=C?C.anchor:s("");let{patchFlag:ue,dynamicChildren:ve,slotScopeIds:ke}=k;ke&&(oe=oe?oe.concat(ke):ke),C==null?(r(ee,M,W),r(xe,M,W),F(k.children||[],M,xe,H,Y,ae,oe,re)):ue>0&&ue&64&&ve&&C.dynamicChildren?(v(C.dynamicChildren,ve,M,H,Y,ae,oe),(k.key!=null||H&&k===H.subTree)&&Gu(C,k,!0)):j(C,k,M,xe,H,Y,ae,oe,re)},A=(C,k,M,W,H,Y,ae,oe,re)=>{k.slotScopeIds=oe,C==null?k.shapeFlag&512?H.ctx.activate(k,M,W,ae,re):z(k,M,W,H,Y,ae,re):$(C,k,re)},z=(C,k,M,W,H,Y,ae)=>{const oe=C.component=_g(C,W,H);if(xa(C)&&(oe.ctx.renderer=ie),xg(oe,!1,ae),oe.asyncDep){if(H&&H.registerDep(oe,R,ae),!C.el){const re=oe.subTree=K(rt);w(null,re,k,M)}}else R(oe,C,k,M,H,Y,ae)},$=(C,k,M)=>{const W=k.component=C.component;if(O0(C,k,M))if(W.asyncDep&&!W.asyncResolved){q(W,k,M);return}else W.next=k,W.update();else k.el=C.el,W.vnode=k},R=(C,k,M,W,H,Y,ae)=>{const oe=()=>{if(C.isMounted){let{next:ue,bu:ve,u:ke,parent:Oe,vnode:qe}=C;{const Nt=sg(C);if(Nt){ue&&(ue.el=qe.el,q(C,ue,ae)),Nt.asyncDep.then(()=>{C.isUnmounted||oe()});return}}let Re=ue,Rt;sr(C,!1),ue?(ue.el=qe.el,q(C,ue,ae)):ue=qe,ve&&Zr(ve),(Rt=ue.props&&ue.props.onVnodeBeforeUpdate)&&Lt(Rt,Oe,ue,qe),sr(C,!0);const ht=ii(C),Zt=C.subTree;C.subTree=ht,y(Zt,ht,d(Zt.el),D(Zt),C,H,Y),ue.el=ht.el,Re===null&&vs(C,ht.el),ke&&st(ke,H),(Rt=ue.props&&ue.props.onVnodeUpdated)&&st(()=>Lt(Rt,Oe,ue,qe),H)}else{let ue;const{el:ve,props:ke}=k,{bm:Oe,m:qe,parent:Re,root:Rt,type:ht}=C,Zt=Kn(k);if(sr(C,!1),Oe&&Zr(Oe),!Zt&&(ue=ke&&ke.onVnodeBeforeMount)&&Lt(ue,Re,k),sr(C,!0),ve&&pe){const Nt=()=>{C.subTree=ii(C),pe(ve,C.subTree,C,H,null)};Zt&&ht.__asyncHydrate?ht.__asyncHydrate(ve,C,Nt):Nt()}else{Rt.ce&&Rt.ce._injectChildStyle(ht);const Nt=C.subTree=ii(C);y(null,Nt,M,W,C,H,Y),k.el=Nt.el}if(qe&&st(qe,H),!Zt&&(ue=ke&&ke.onVnodeMounted)){const Nt=k;st(()=>Lt(ue,Re,Nt),H)}(k.shapeFlag&256||Re&&Kn(Re.vnode)&&Re.vnode.shapeFlag&256)&&C.a&&st(C.a,H),C.isMounted=!0,k=M=W=null}};C.scope.on();const re=C.effect=new ao(oe);C.scope.off();const ee=C.update=re.run.bind(re),xe=C.job=re.runIfDirty.bind(re);xe.i=C,xe.id=C.uid,re.scheduler=()=>Lu(xe),sr(C,!0),ee()},q=(C,k,M)=>{k.component=C;const W=C.vnode.props;C.vnode=k,C.next=null,v0(C,k.props,W,M),C0(C,k.children,M),nr(),Gd(C),rr()},j=(C,k,M,W,H,Y,ae,oe,re=!1)=>{const ee=C&&C.children,xe=C?C.shapeFlag:0,ue=k.children,{patchFlag:ve,shapeFlag:ke}=k;if(ve>0){if(ve&128){me(ee,ue,M,W,H,Y,ae,oe,re);return}else if(ve&256){X(ee,ue,M,W,H,Y,ae,oe,re);return}}ke&8?(xe&16&&_e(ee,H,Y),ue!==ee&&u(M,ue)):xe&16?ke&16?me(ee,ue,M,W,H,Y,ae,oe,re):_e(ee,H,Y,!0):(xe&8&&u(M,""),ke&16&&F(ue,M,W,H,Y,ae,oe,re))},X=(C,k,M,W,H,Y,ae,oe,re)=>{C=C||Yr,k=k||Yr;const ee=C.length,xe=k.length,ue=Math.min(ee,xe);let ve;for(ve=0;ve<ue;ve++){const ke=k[ve]=re?qn(k[ve]):At(k[ve]);y(C[ve],ke,M,null,H,Y,ae,oe,re)}ee>xe?_e(C,H,Y,!0,!1,ue):F(k,M,W,H,Y,ae,oe,re,ue)},me=(C,k,M,W,H,Y,ae,oe,re)=>{let ee=0;const xe=k.length;let ue=C.length-1,ve=xe-1;for(;ee<=ue&&ee<=ve;){const ke=C[ee],Oe=k[ee]=re?qn(k[ee]):At(k[ee]);if(nn(ke,Oe))y(ke,Oe,M,null,H,Y,ae,oe,re);else break;ee++}for(;ee<=ue&&ee<=ve;){const ke=C[ue],Oe=k[ve]=re?qn(k[ve]):At(k[ve]);if(nn(ke,Oe))y(ke,Oe,M,null,H,Y,ae,oe,re);else break;ue--,ve--}if(ee>ue){if(ee<=ve){const ke=ve+1,Oe=ke<xe?k[ke].el:W;for(;ee<=ve;)y(null,k[ee]=re?qn(k[ee]):At(k[ee]),M,Oe,H,Y,ae,oe,re),ee++}}else if(ee>ve)for(;ee<=ue;)Q(C[ee],H,Y,!0),ee++;else{const ke=ee,Oe=ee,qe=new Map;for(ee=Oe;ee<=ve;ee++){const Bt=k[ee]=re?qn(k[ee]):At(k[ee]);Bt.key!=null&&qe.set(Bt.key,ee)}let Re,Rt=0;const ht=ve-Oe+1;let Zt=!1,Nt=0;const ko=new Array(ht);for(ee=0;ee<ht;ee++)ko[ee]=0;for(ee=ke;ee<=ue;ee++){const Bt=C[ee];if(Rt>=ht){Q(Bt,H,Y,!0);continue}let un;if(Bt.key!=null)un=qe.get(Bt.key);else for(Re=Oe;Re<=ve;Re++)if(ko[Re-Oe]===0&&nn(Bt,k[Re])){un=Re;break}un===void 0?Q(Bt,H,Y,!0):(ko[un-Oe]=ee+1,un>=Nt?Nt=un:Zt=!0,y(Bt,k[un],M,null,H,Y,ae,oe,re),Rt++)}const Vd=Zt?S0(ko):Yr;for(Re=Vd.length-1,ee=ht-1;ee>=0;ee--){const Bt=Oe+ee,un=k[Bt],Hd=Bt+1<xe?k[Bt+1].el:W;ko[ee]===0?y(null,un,M,Hd,H,Y,ae,oe,re):Zt&&(Re<0||ee!==Vd[Re]?be(un,M,Hd,2):Re--)}}},be=(C,k,M,W,H=null)=>{const{el:Y,type:ae,transition:oe,children:re,shapeFlag:ee}=C;if(ee&6){be(C.component.subTree,k,M,W);return}if(ee&128){C.suspense.move(k,M,W);return}if(ee&64){ae.move(C,k,M,ie);return}if(ae===we){r(Y,k,M);for(let ue=0;ue<re.length;ue++)be(re[ue],k,M,W);r(C.anchor,k,M);return}if(ae===Jn){h(C,k,M);return}if(W!==2&&ee&1&&oe)if(W===0)oe.beforeEnter(Y),r(Y,k,M),st(()=>oe.enter(Y),H);else{const{leave:ue,delayLeave:ve,afterLeave:ke}=oe,Oe=()=>r(Y,k,M),qe=()=>{ue(Y,()=>{Oe(),ke&&ke()})};ve?ve(Y,Oe,qe):qe()}else r(Y,k,M)},Q=(C,k,M,W=!1,H=!1)=>{const{type:Y,props:ae,ref:oe,children:re,dynamicChildren:ee,shapeFlag:xe,patchFlag:ue,dirs:ve,cacheIndex:ke}=C;if(ue===-2&&(H=!1),oe!=null&&oa(oe,null,M,C,!0),ke!=null&&(k.renderCache[ke]=void 0),xe&256){k.ctx.deactivate(C);return}const Oe=xe&1&&ve,qe=!Kn(C);let Re;if(qe&&(Re=ae&&ae.onVnodeBeforeUnmount)&&Lt(Re,k,C),xe&6)ce(C.component,M,W);else{if(xe&128){C.suspense.unmount(M,W);return}Oe&&pn(C,null,k,"beforeUnmount"),xe&64?C.type.remove(C,k,M,ie,W):ee&&!ee.hasOnce&&(Y!==we||ue>0&&ue&64)?_e(ee,k,M,!1,!0):(Y===we&&ue&384||!H&&xe&16)&&_e(re,k,M),W&&U(C)}(qe&&(Re=ae&&ae.onVnodeUnmounted)||Oe)&&st(()=>{Re&&Lt(Re,k,C),Oe&&pn(C,null,k,"unmounted")},M)},U=C=>{const{type:k,el:M,anchor:W,transition:H}=C;if(k===we){J(M,W);return}if(k===Jn){p(C);return}const Y=()=>{o(M),H&&!H.persisted&&H.afterLeave&&H.afterLeave()};if(C.shapeFlag&1&&H&&!H.persisted){const{leave:ae,delayLeave:oe}=H,re=()=>ae(M,Y);oe?oe(C.el,Y,re):re()}else Y()},J=(C,k)=>{let M;for(;C!==k;)M=f(C),o(C),C=M;o(k)},ce=(C,k,M)=>{const{bum:W,scope:H,job:Y,subTree:ae,um:oe,m:re,a:ee}=C;ki(re),ki(ee),W&&Zr(W),H.stop(),Y&&(Y.flags|=8,Q(ae,C,k,M)),oe&&st(oe,k),st(()=>{C.isUnmounted=!0},k),k&&k.pendingBranch&&!k.isUnmounted&&C.asyncDep&&!C.asyncResolved&&C.suspenseId===k.pendingId&&(k.deps--,k.deps===0&&k.resolve())},_e=(C,k,M,W=!1,H=!1,Y=0)=>{for(let ae=Y;ae<C.length;ae++)Q(C[ae],k,M,W,H)},D=C=>{if(C.shapeFlag&6)return D(C.component.subTree);if(C.shapeFlag&128)return C.suspense.next();const k=f(C.anchor||C.el),M=k&&k[vh];return M?f(M):k};let Z=!1;const ne=(C,k,M)=>{C==null?k._vnode&&Q(k._vnode,null,null,!0):y(k._vnode||null,C,k,null,null,null,M),k._vnode=C,Z||(Z=!0,Gd(),Si(),Z=!1)},ie={p:y,um:Q,m:be,r:U,mt:z,mc:F,pc:j,pbc:v,n:D,o:e};let ge,pe;return t&&([ge,pe]=t(ie)),{render:ne,hydrate:ge,createApp:y0(ne,ge)}}function rl({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function sr({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function ig(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Gu(e,t,n=!1){const r=e.children,o=t.children;if(fe(r)&&fe(o))for(let a=0;a<r.length;a++){const i=r[a];let s=o[a];s.shapeFlag&1&&!s.dynamicChildren&&((s.patchFlag<=0||s.patchFlag===32)&&(s=o[a]=qn(o[a]),s.el=i.el),!n&&s.patchFlag!==-2&&Gu(i,s)),s.type===Ln&&(s.el=i.el)}}function S0(e){const t=e.slice(),n=[0];let r,o,a,i,s;const l=e.length;for(r=0;r<l;r++){const c=e[r];if(c!==0){if(o=n[n.length-1],e[o]<c){t[r]=o,n.push(r);continue}for(a=0,i=n.length-1;a<i;)s=a+i>>1,e[n[s]]<c?a=s+1:i=s;c<e[n[a]]&&(a>0&&(t[r]=n[a-1]),n[a]=r)}}for(a=n.length,i=n[a-1];a-- >0;)n[a]=i,i=t[i];return n}function sg(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:sg(t)}function ki(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Ku=Symbol.for("v-scx"),Yu=()=>ot(Ku);function Yn(e,t){return Ta(e,null,t)}function lg(e,t){return Ta(e,null,{flush:"post"})}function Ju(e,t){return Ta(e,null,{flush:"sync"})}function pt(e,t,n){return Ta(e,t,n)}function Ta(e,t,n=Pe){const{immediate:r,deep:o,flush:a,once:i}=n,s=He({},n),l=t&&r||!t&&a!=="post";let c;if(lo){if(a==="sync"){const m=Yu();c=m.__watcherHandles||(m.__watcherHandles=[])}else if(!l){const m=()=>{};return m.stop=Kt,m.resume=Kt,m.pause=Kt,m}}const u=lt;s.call=(m,b,y)=>Ut(m,u,b,y);let d=!1;a==="post"?s.scheduler=m=>{st(m,u&&u.suspense)}:a!=="sync"&&(d=!0,s.scheduler=(m,b)=>{b?m():Lu(m)}),s.augmentJob=m=>{t&&(m.flags|=4),d&&(m.flags|=2,u&&(m.id=u.uid,m.i=u))};const f=W_(e,t,s);return lo&&(c?c.push(f):l&&f()),f}function T0(e,t,n){const r=this.proxy,o=$e(e)?e.includes(".")?cg(r,e):()=>r[e]:e.bind(r,r);let a;Ce(t)?a=t:(a=t.handler,n=t);const i=wr(this),s=Ta(o,a.bind(r),n);return i(),s}function cg(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}function ug(e,t,n=Pe){const r=tt(),o=ft(t),a=Tt(t),i=dg(e,o),s=is((l,c)=>{let u,d=Pe,f;return Ju(()=>{const m=e[o];Ct(u,m)&&(u=m,c())}),{get(){return l(),n.get?n.get(u):u},set(m){const b=n.set?n.set(m):m;if(!Ct(b,u)&&!(d!==Pe&&Ct(m,d)))return;const y=r.vnode.props;y&&(t in y||o in y||a in y)&&(`onUpdate:${t}`in y||`onUpdate:${o}`in y||`onUpdate:${a}`in y)||(u=m,c()),r.emit(`update:${t}`,b),Ct(m,b)&&Ct(m,d)&&!Ct(b,f)&&c(),d=m,f=b}}});return s[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?i||Pe:s,done:!1}:{done:!0}}}},s}const dg=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ft(t)}Modifiers`]||e[`${Tt(t)}Modifiers`];function k0(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Pe;let o=n;const a=t.startsWith("update:"),i=a&&dg(r,t.slice(7));i&&(i.trim&&(o=n.map(u=>$e(u)?u.trim():u)),i.number&&(o=n.map(vi)));let s,l=r[s=Xr(t)]||r[s=Xr(ft(t))];!l&&a&&(l=r[s=Xr(Tt(t))]),l&&Ut(l,e,6,o);const c=r[s+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,Ut(c,e,6,o)}}function fg(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const a=e.emits;let i={},s=!1;if(!Ce(e)){const l=c=>{const u=fg(c,t,!0);u&&(s=!0,He(i,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!a&&!s?(Ue(e)&&r.set(e,null),null):(fe(a)?a.forEach(l=>i[l]=null):He(i,a),Ue(e)&&r.set(e,i),i)}function bs(e,t){return!e||!va(t)?!1:(t=t.slice(2).replace(/Once$/,""),Le(e,t[0].toLowerCase()+t.slice(1))||Le(e,Tt(t))||Le(e,t))}function ii(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[a],slots:i,attrs:s,emit:l,render:c,renderCache:u,props:d,data:f,setupState:m,ctx:b,inheritAttrs:y}=e,x=ra(e);let w,g;try{if(n.shapeFlag&4){const p=o||r,_=p;w=At(c.call(_,p,u,d,m,f,b)),g=s}else{const p=t;w=At(p.length>1?p(d,{attrs:s,slots:i,emit:l}):p(d,null)),g=t.props?s:I0(s)}}catch(p){Wo.length=0,or(p,e,1),w=K(rt)}let h=w;if(g&&y!==!1){const p=Object.keys(g),{shapeFlag:_}=h;p.length&&_&7&&(a&&p.some(xu)&&(g=P0(g,a)),h=Qt(h,g,!1,!0))}return n.dirs&&(h=Qt(h,null,!1,!0),h.dirs=h.dirs?h.dirs.concat(n.dirs):n.dirs),n.transition&&hn(h,n.transition),w=h,ra(x),w}function E0(e,t=!0){let n;for(let r=0;r<e.length;r++){const o=e[r];if(Vt(o)){if(o.type!==rt||o.children==="v-if"){if(n)return;n=o}}else return}return n}const I0=e=>{let t;for(const n in e)(n==="class"||n==="style"||va(n))&&((t||(t={}))[n]=e[n]);return t},P0=(e,t)=>{const n={};for(const r in e)(!xu(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function O0(e,t,n){const{props:r,children:o,component:a}=e,{props:i,children:s,patchFlag:l}=t,c=a.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?af(r,i,c):!!i;if(l&8){const u=t.dynamicProps;for(let d=0;d<u.length;d++){const f=u[d];if(i[f]!==r[f]&&!bs(c,f))return!0}}}else return(o||s)&&(!s||!s.$stable)?!0:r===i?!1:r?i?af(r,i,c):!0:!!i;return!1}function af(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const a=r[o];if(t[a]!==e[a]&&!bs(n,a))return!0}return!1}function vs({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const Ei=e=>e.__isSuspense;let Vl=0;const L0={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,a,i,s,l,c){if(e==null)A0(t,n,r,o,a,i,s,l,c);else{if(a&&a.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}M0(e,t,n,r,o,i,s,l,c)}},hydrate:R0,normalize:N0},ka=L0;function ia(e,t){const n=e.props&&e.props[t];Ce(n)&&n()}function A0(e,t,n,r,o,a,i,s,l){const{p:c,o:{createElement:u}}=l,d=u("div"),f=e.suspense=pg(e,o,r,t,d,n,a,i,s,l);c(null,f.pendingBranch=e.ssContent,d,null,r,f,a,i),f.deps>0?(ia(e,"onPending"),ia(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,a,i),to(f,e.ssFallback)):f.resolve(!1,!0)}function M0(e,t,n,r,o,a,i,s,{p:l,um:c,o:{createElement:u}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const f=t.ssContent,m=t.ssFallback,{activeBranch:b,pendingBranch:y,isInFallback:x,isHydrating:w}=d;if(y)d.pendingBranch=f,nn(f,y)?(l(y,f,d.hiddenContainer,null,o,d,a,i,s),d.deps<=0?d.resolve():x&&(w||(l(b,m,n,r,o,null,a,i,s),to(d,m)))):(d.pendingId=Vl++,w?(d.isHydrating=!1,d.activeBranch=y):c(y,o,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u("div"),x?(l(null,f,d.hiddenContainer,null,o,d,a,i,s),d.deps<=0?d.resolve():(l(b,m,n,r,o,null,a,i,s),to(d,m))):b&&nn(f,b)?(l(b,f,n,r,o,d,a,i,s),d.resolve(!0)):(l(null,f,d.hiddenContainer,null,o,d,a,i,s),d.deps<=0&&d.resolve()));else if(b&&nn(f,b))l(b,f,n,r,o,d,a,i,s),to(d,f);else if(ia(t,"onPending"),d.pendingBranch=f,f.shapeFlag&512?d.pendingId=f.component.suspenseId:d.pendingId=Vl++,l(null,f,d.hiddenContainer,null,o,d,a,i,s),d.deps<=0)d.resolve();else{const{timeout:g,pendingId:h}=d;g>0?setTimeout(()=>{d.pendingId===h&&d.fallback(m)},g):g===0&&d.fallback(m)}}function pg(e,t,n,r,o,a,i,s,l,c,u=!1){const{p:d,m:f,um:m,n:b,o:{parentNode:y,remove:x}}=c;let w;const g=B0(e);g&&t&&t.pendingBranch&&(w=t.pendingId,t.deps++);const h=e.props?_i(e.props.timeout):void 0,p=a,_={vnode:e,parent:t,parentComponent:n,namespace:i,container:r,hiddenContainer:o,deps:0,pendingId:Vl++,timeout:typeof h=="number"?h:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(S=!1,E=!1){const{vnode:F,activeBranch:N,pendingBranch:v,pendingId:T,effects:I,parentComponent:A,container:z}=_;let $=!1;_.isHydrating?_.isHydrating=!1:S||($=N&&v.transition&&v.transition.mode==="out-in",$&&(N.transition.afterLeave=()=>{T===_.pendingId&&(f(v,z,a===p?b(N):a,0),so(I))}),N&&(y(N.el)===z&&(a=b(N)),m(N,A,_,!0)),$||f(v,z,a,0)),to(_,v),_.pendingBranch=null,_.isInFallback=!1;let R=_.parent,q=!1;for(;R;){if(R.pendingBranch){R.effects.push(...I),q=!0;break}R=R.parent}!q&&!$&&so(I),_.effects=[],g&&t&&t.pendingBranch&&w===t.pendingId&&(t.deps--,t.deps===0&&!E&&t.resolve()),ia(F,"onResolve")},fallback(S){if(!_.pendingBranch)return;const{vnode:E,activeBranch:F,parentComponent:N,container:v,namespace:T}=_;ia(E,"onFallback");const I=b(F),A=()=>{_.isInFallback&&(d(null,S,v,I,N,null,T,s,l),to(_,S))},z=S.transition&&S.transition.mode==="out-in";z&&(F.transition.afterLeave=A),_.isInFallback=!0,m(F,N,null,!0),z||A()},move(S,E,F){_.activeBranch&&f(_.activeBranch,S,E,F),_.container=S},next(){return _.activeBranch&&b(_.activeBranch)},registerDep(S,E,F){const N=!!_.pendingBranch;N&&_.deps++;const v=S.vnode.el;S.asyncDep.catch(T=>{or(T,S,0)}).then(T=>{if(S.isUnmounted||_.isUnmounted||_.pendingId!==S.suspenseId)return;S.asyncResolved=!0;const{vnode:I}=S;jl(S,T,!1),v&&(I.el=v);const A=!v&&S.subTree.el;E(S,I,y(v||S.subTree.el),v?null:b(S.subTree),_,i,F),A&&x(A),vs(S,I.el),N&&--_.deps===0&&_.resolve()})},unmount(S,E){_.isUnmounted=!0,_.activeBranch&&m(_.activeBranch,n,S,E),_.pendingBranch&&m(_.pendingBranch,n,S,E)}};return _}function R0(e,t,n,r,o,a,i,s,l){const c=t.suspense=pg(t,r,n,e.parentNode,document.createElement("div"),null,o,a,i,s,!0),u=l(e,c.pendingBranch=t.ssContent,n,c,a,i);return c.deps===0&&c.resolve(!1,!0),u}function N0(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=sf(r?n.default:n),e.ssFallback=r?sf(n.fallback):K(rt)}function sf(e){let t;if(Ce(e)){const n=_r&&e._c;n&&(e._d=!1,P()),e=e(),n&&(e._d=!0,t=bt,hg())}return fe(e)&&(e=E0(e)),e=At(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function mg(e,t){t&&t.pendingBranch?fe(e)?t.effects.push(...e):t.effects.push(e):so(e)}function to(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let o=t.el;for(;!o&&t.component;)t=t.component.subTree,o=t.el;n.el=o,r&&r.subTree===n&&(r.vnode.el=o,vs(r,o))}function B0(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const we=Symbol.for("v-fgt"),Ln=Symbol.for("v-txt"),rt=Symbol.for("v-cmt"),Jn=Symbol.for("v-stc"),Wo=[];let bt=null;function P(e=!1){Wo.push(bt=e?null:[])}function hg(){Wo.pop(),bt=Wo[Wo.length-1]||null}let _r=1;function Ii(e,t=!1){_r+=e,e<0&&bt&&t&&(bt.hasOnce=!0)}function gg(e){return e.dynamicChildren=_r>0?bt||Yr:null,hg(),_r>0&&bt&&bt.push(e),e}function V(e,t,n,r,o,a){return gg(O(e,t,n,r,o,a,!0))}function ye(e,t,n,r,o){return gg(K(e,t,n,r,o,!0))}function Vt(e){return e?e.__v_isVNode===!0:!1}function nn(e,t){return e.type===t.type&&e.key===t.key}function yg(e){}const bg=({key:e})=>e??null,si=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?$e(e)||Je(e)||Ce(e)?{i:ct,r:e,k:t,f:!!n}:e:null);function O(e,t=null,n=null,r=0,o=null,a=e===we?0:1,i=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&bg(t),ref:t&&si(t),scopeId:ss,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:ct};return s?(Xu(l,n),a&128&&e.normalize(l)):n&&(l.shapeFlag|=$e(n)?8:16),_r>0&&!i&&bt&&(l.patchFlag>0||a&6)&&l.patchFlag!==32&&bt.push(l),l}const K=D0;function D0(e,t=null,n=null,r=0,o=null,a=!1){if((!e||e===Ah)&&(e=rt),Vt(e)){const s=Qt(e,t,!0);return n&&Xu(s,n),_r>0&&!a&&bt&&(s.shapeFlag&6?bt[bt.indexOf(e)]=s:bt.push(s)),s.patchFlag=-2,s}if(H0(e)&&(e=e.__vccOpts),t){t=Qu(t);let{class:s,style:l}=t;s&&!$e(s)&&(t.class=Se(s)),Ue(l)&&(_a(l)&&!fe(l)&&(l=He({},l)),t.style=de(l))}const i=$e(e)?1:Ei(e)?128:_h(e)?64:Ue(e)?4:Ce(e)?2:0;return O(e,t,n,r,o,i,a,!0)}function Qu(e){return e?_a(e)||Xh(e)?He({},e):e:null}function Qt(e,t,n=!1,r=!1){const{props:o,ref:a,patchFlag:i,children:s,transition:l}=e,c=t?jt(o||{},t):o,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&bg(c),ref:t&&t.ref?n&&a?fe(a)?a.concat(si(t)):[a,si(t)]:si(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==we?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Qt(e.ssContent),ssFallback:e.ssFallback&&Qt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&hn(u,l.clone(u)),u}function nt(e=" ",t=0){return K(Ln,null,e,t)}function vg(e,t){const n=K(Jn,null,e);return n.staticCount=t,n}function le(e="",t=!1){return t?(P(),ye(rt,null,e)):K(rt,null,e)}function At(e){return e==null||typeof e=="boolean"?K(rt):fe(e)?K(we,null,e.slice()):Vt(e)?qn(e):K(Ln,null,String(e))}function qn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Qt(e)}function Xu(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(fe(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Xu(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!Xh(t)?t._ctx=ct:o===3&&ct&&(ct.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Ce(t)?(t={default:t,_ctx:ct},n=32):(t=String(t),r&64?(n=16,t=[nt(t)]):n=8);e.children=t,e.shapeFlag|=n}function jt(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=Se([t.class,r.class]));else if(o==="style")t.style=de([t.style,r.style]);else if(va(o)){const a=t[o],i=r[o];i&&a!==i&&!(fe(a)&&a.includes(i))&&(t[o]=a?[].concat(a,i):i)}else o!==""&&(t[o]=r[o])}return t}function Lt(e,t,n,r=null){Ut(e,t,7,[n,r])}const $0=Yh();let U0=0;function _g(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||$0,a={uid:U0++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Zi(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:eg(r,o),emitsOptions:fg(r,o),emit:null,emitted:null,propsDefaults:Pe,inheritAttrs:r.inheritAttrs,ctx:Pe,data:Pe,props:Pe,attrs:Pe,slots:Pe,refs:Pe,setupState:Pe,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return a.ctx={_:a},a.root=t?t.root:a,a.emit=k0.bind(null,a),e.ce&&e.ce(a),a}let lt=null;const tt=()=>lt||ct;let Pi,Hl;{const e=Qi(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),a=>{o.length>1?o.forEach(i=>i(a)):o[0](a)}};Pi=t("__VUE_INSTANCE_SETTERS__",n=>lt=n),Hl=t("__VUE_SSR_SETTERS__",n=>lo=n)}const wr=e=>{const t=lt;return Pi(e),e.scope.on(),()=>{e.scope.off(),Pi(t)}},ql=()=>{lt&<.scope.off(),Pi(null)};function wg(e){return e.vnode.shapeFlag&4}let lo=!1;function xg(e,t=!1,n=!1){t&&Hl(t);const{props:r,children:o}=e.vnode,a=wg(e);b0(e,r,a,t),x0(e,o,n);const i=a?F0(e,t):void 0;return t&&Hl(!1),i}function F0(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Dl);const{setup:r}=n;if(r){nr();const o=e.setupContext=r.length>1?kg(e):null,a=wr(e),i=Or(r,e,0,[e.props,o]),s=Su(i);if(rr(),a(),(s||e.sp)&&!Kn(e)&&Mu(e),s){if(i.then(ql,ql),t)return i.then(l=>{jl(e,l,t)}).catch(l=>{or(l,e,0)});e.asyncDep=i}else jl(e,i,t)}else Tg(e,t)}function jl(e,t,n){Ce(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ue(t)&&(e.setupState=as(t)),Tg(e,n)}let Oi,Wl;function Cg(e){Oi=e,Wl=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,u0))}}const Sg=()=>!Oi;function Tg(e,t,n){const r=e.type;if(!e.render){if(!t&&Oi&&!r.render){const o=r.template||qu(e).template;if(o){const{isCustomElement:a,compilerOptions:i}=e.appContext.config,{delimiters:s,compilerOptions:l}=r,c=He(He({isCustomElement:a,delimiters:s},i),l);r.render=Oi(o,c)}}e.render=r.render||Kt,Wl&&Wl(e)}{const o=wr(e);nr();try{d0(e)}finally{rr(),o()}}}const V0={get(e,t){return gt(e,"get",""),e[t]}};function kg(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,V0),slots:e.slots,emit:e.emit,expose:t}}function Ea(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(as(os(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in jo)return jo[n](e)},has(t,n){return n in t||n in jo}})):e.proxy}function zl(e,t=!0){return Ce(e)?e.displayName||e.name:e.name||t&&e.__name}function H0(e){return Ce(e)&&"__vccOpts"in e}const se=(e,t)=>j_(e,t,lo);function We(e,t,n){const r=arguments.length;return r===2?Ue(t)&&!fe(t)?Vt(t)?K(e,null,[t]):K(e,t):K(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Vt(n)&&(n=[n]),K(e,t,n))}function Eg(){}function Ig(e,t,n,r){const o=n[r];if(o&&Zu(o,e))return o;const a=t();return a.memo=e.slice(),a.cacheIndex=r,n[r]=a}function Zu(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r<n.length;r++)if(Ct(n[r],t[r]))return!1;return _r>0&&bt&&bt.push(e),!0}const _s="3.5.13",Pg=Kt,Og=K_,Lg=Vr,Ag=hh,q0={createComponentInstance:_g,setupComponent:xg,renderComponentRoot:ii,setCurrentRenderingInstance:ra,isVNode:Vt,normalizeVNode:At,getComponentPublicInstance:Ea,ensureValidVNode:Vu,pushWarningContext:z_,popWarningContext:G_},Mg=q0,Rg=null,Ng=null,Bg=null;/** * @vue/runtime-dom v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let Gl;const lf=typeof window<"u"&&window.trustedTypes;if(lf)try{Gl=lf.createPolicy("vue",{createHTML:e=>e})}catch{}const Dg=Gl?e=>Gl.createHTML(e):e=>e,j0="http://www.w3.org/2000/svg",W0="http://www.w3.org/1998/Math/MathML",Sn=typeof document<"u"?document:null,cf=Sn&&Sn.createElement("template"),z0={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?Sn.createElementNS(j0,e):t==="mathml"?Sn.createElementNS(W0,e):n?Sn.createElement(e,{is:n}):Sn.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Sn.createTextNode(e),createComment:e=>Sn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Sn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,a){const i=n?n.previousSibling:t.lastChild;if(o&&(o===a||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===a||!(o=o.nextSibling)););else{cf.innerHTML=Dg(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const s=cf.content;if(r==="svg"||r==="mathml"){const l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}t.insertBefore(s,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Dn="transition",Po="animation",co=Symbol("_vtc"),$g={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Ug=He({},us,$g),G0=e=>(e.displayName="Transition",e.props=Ug,e),Ar=G0((e,{slots:t})=>We(Au,Fg(e),t)),lr=(e,t=[])=>{fe(e)?e.forEach(n=>n(...t)):e&&e(...t)},uf=e=>e?fe(e)?e.some(t=>t.length>1):e.length>1:!1;function Fg(e){const t={};for(const I in e)I in $g||(t[I]=e[I]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:a=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:l=a,appearActiveClass:c=i,appearToClass:u=s,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,b=K0(o),y=b&&b[0],x=b&&b[1],{onBeforeEnter:w,onEnter:g,onEnterCancelled:h,onLeave:p,onLeaveCancelled:_,onBeforeAppear:S=w,onAppear:E=g,onAppearCancelled:F=h}=t,N=(I,A,z,$)=>{I._enterCancelled=$,Un(I,A?u:s),Un(I,A?c:i),z&&z()},v=(I,A)=>{I._isLeaving=!1,Un(I,d),Un(I,m),Un(I,f),A&&A()},T=I=>(A,z)=>{const $=I?E:g,R=()=>N(A,I,z);lr($,[A,R]),df(()=>{Un(A,I?l:a),dn(A,I?u:s),uf($)||ff(A,r,y,R)})};return He(t,{onBeforeEnter(I){lr(w,[I]),dn(I,a),dn(I,i)},onBeforeAppear(I){lr(S,[I]),dn(I,l),dn(I,c)},onEnter:T(!1),onAppear:T(!0),onLeave(I,A){I._isLeaving=!0;const z=()=>v(I,A);dn(I,d),I._enterCancelled?(dn(I,f),Kl()):(Kl(),dn(I,f)),df(()=>{I._isLeaving&&(Un(I,d),dn(I,m),uf(p)||ff(I,r,x,z))}),lr(p,[I,z])},onEnterCancelled(I){N(I,!1,void 0,!0),lr(h,[I])},onAppearCancelled(I){N(I,!0,void 0,!0),lr(F,[I])},onLeaveCancelled(I){v(I),lr(_,[I])}})}function K0(e){if(e==null)return null;if(Ue(e))return[ol(e.enter),ol(e.leave)];{const t=ol(e);return[t,t]}}function ol(e){return _i(e)}function dn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[co]||(e[co]=new Set)).add(t)}function Un(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[co];n&&(n.delete(t),n.size||(e[co]=void 0))}function df(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Y0=0;function ff(e,t,n,r){const o=e._endId=++Y0,a=()=>{o===e._endId&&r()};if(n!=null)return setTimeout(a,n);const{type:i,timeout:s,propCount:l}=Vg(e,t);if(!i)return r();const c=i+"end";let u=0;const d=()=>{e.removeEventListener(c,f),a()},f=m=>{m.target===e&&++u>=l&&d()};setTimeout(()=>{u<l&&d()},s+1),e.addEventListener(c,f)}function Vg(e,t){const n=window.getComputedStyle(e),r=b=>(n[b]||"").split(", "),o=r(`${Dn}Delay`),a=r(`${Dn}Duration`),i=pf(o,a),s=r(`${Po}Delay`),l=r(`${Po}Duration`),c=pf(s,l);let u=null,d=0,f=0;t===Dn?i>0&&(u=Dn,d=i,f=a.length):t===Po?c>0&&(u=Po,d=c,f=l.length):(d=Math.max(i,c),u=d>0?i>c?Dn:Po:null,f=u?u===Dn?a.length:l.length:0);const m=u===Dn&&/\b(transform|all)(,|$)/.test(r(`${Dn}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:m}}function pf(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>mf(n)+mf(e[r])))}function mf(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Kl(){return document.body.offsetHeight}function J0(e,t,n){const r=e[co];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Li=Symbol("_vod"),Hg=Symbol("_vsh"),Ht={beforeMount(e,{value:t},{transition:n}){e[Li]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Oo(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Oo(e,!0),r.enter(e)):r.leave(e,()=>{Oo(e,!1)}):Oo(e,t))},beforeUnmount(e,{value:t}){Oo(e,t)}};function Oo(e,t){e.style.display=t?e[Li]:"none",e[Hg]=!t}function Q0(){Ht.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const qg=Symbol("");function Ia(e){const t=tt();if(!t)return;const n=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(a=>Ai(a,o))},r=()=>{const o=e(t.proxy);t.ce?Ai(t.ce,o):Yl(t.subTree,o),n(o)};ms(()=>{so(r)}),Xe(()=>{pt(r,Kt,{flush:"post"});const o=new MutationObserver(r);o.observe(t.subTree.el.parentNode,{childList:!0}),qt(()=>o.disconnect())})}function Yl(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Yl(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Ai(e.el,t);else if(e.type===we)e.children.forEach(n=>Yl(n,t));else if(e.type===Jn){let{el:n,anchor:r}=e;for(;n&&(Ai(n,t),n!==r);)n=n.nextSibling}}function Ai(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const o in t)n.setProperty(`--${o}`,t[o]),r+=`--${o}: ${t[o]};`;n[qg]=r}}const X0=/(^|;)\s*display\s*:/;function Z0(e,t,n){const r=e.style,o=$e(n);let a=!1;if(n&&!o){if(t)if($e(t))for(const i of t.split(";")){const s=i.slice(0,i.indexOf(":")).trim();n[s]==null&&li(r,s,"")}else for(const i in t)n[i]==null&&li(r,i,"");for(const i in n)i==="display"&&(a=!0),li(r,i,n[i])}else if(o){if(t!==n){const i=r[qg];i&&(n+=";"+i),r.cssText=n,a=X0.test(n)}}else t&&e.removeAttribute("style");Li in e&&(e[Li]=a?r.display:"",e[Hg]&&(r.display="none"))}const hf=/\s*!important$/;function li(e,t,n){if(fe(n))n.forEach(r=>li(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=ew(e,t);hf.test(n)?e.setProperty(Tt(r),n.replace(hf,""),"important"):e[r]=n}}const gf=["Webkit","Moz","ms"],al={};function ew(e,t){const n=al[t];if(n)return n;let r=ft(t);if(r!=="filter"&&r in e)return al[t]=r;r=_o(r);for(let o=0;o<gf.length;o++){const a=gf[o]+r;if(a in e)return al[t]=a}return t}const yf="http://www.w3.org/1999/xlink";function bf(e,t,n,r,o,a=m_(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(yf,t.slice(6,t.length)):e.setAttributeNS(yf,t,n):n==null||a&&!Nm(n)?e.removeAttribute(t):e.setAttribute(t,a?"":an(n)?String(n):n)}function vf(e,t,n,r,o){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Dg(n):n);return}const a=e.tagName;if(t==="value"&&a!=="PROGRESS"&&!a.includes("-")){const s=a==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(s!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const s=typeof e[t];s==="boolean"?n=Nm(n):n==null&&s==="string"?(n="",i=!0):s==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(o||t)}function In(e,t,n,r){e.addEventListener(t,n,r)}function tw(e,t,n,r){e.removeEventListener(t,n,r)}const _f=Symbol("_vei");function nw(e,t,n,r,o=null){const a=e[_f]||(e[_f]={}),i=a[t];if(r&&i)i.value=r;else{const[s,l]=rw(t);if(r){const c=a[t]=iw(r,o);In(e,s,c,l)}else i&&(tw(e,s,i,l),a[t]=void 0)}}const wf=/(?:Once|Passive|Capture)$/;function rw(e){let t;if(wf.test(e)){t={};let r;for(;r=e.match(wf);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Tt(e.slice(2)),t]}let il=0;const ow=Promise.resolve(),aw=()=>il||(ow.then(()=>il=0),il=Date.now());function iw(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Ut(sw(r,n.value),t,5,[r])};return n.value=e,n.attached=aw(),n}function sw(e,t){if(fe(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const xf=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,lw=(e,t,n,r,o,a)=>{const i=o==="svg";t==="class"?J0(e,r,i):t==="style"?Z0(e,n,r):va(t)?xu(t)||nw(e,t,n,r,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):cw(e,t,r,i))?(vf(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&bf(e,t,r,i,a,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!$e(r))?vf(e,ft(t),r,a,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),bf(e,t,r,i))};function cw(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&xf(t)&&Ce(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return xf(t)&&$e(n)?!1:t in e}const Cf={};/*! #__NO_SIDE_EFFECTS__ */function ed(e,t,n){const r=Qe(e,t);Yi(r)&&He(r,t);class o extends Pa{constructor(i){super(r,i,n)}}return o.def=r,o}/*! #__NO_SIDE_EFFECTS__ */const jg=(e,t)=>ed(e,t,Ts),uw=typeof HTMLElement<"u"?HTMLElement:class{};class Pa extends uw{constructor(t,n={},r=po){super(),this._def=t,this._props=n,this._createApp=r,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&r!==po?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow({mode:"open"}),this._root=this.shadowRoot):this._root=this,this._def.__asyncLoader||this._resolveProps(this._def)}connectedCallback(){if(!this.isConnected)return;this.shadowRoot||this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof Pa){this._parent=t;break}this._instance||(this._resolved?(this._setParent(),this._update()):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._instance.provides=t._instance.provides)}disconnectedCallback(){this._connected=!1,at(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null)})}_resolveDef(){if(this._pendingResolve)return;for(let r=0;r<this.attributes.length;r++)this._setAttr(this.attributes[r].name);this._ob=new MutationObserver(r=>{for(const o of r)this._setAttr(o.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(r,o=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:a,styles:i}=r;let s;if(a&&!fe(a))for(const l in a){const c=a[l];(c===Number||c&&c.type===Number)&&(l in this._props&&(this._props[l]=_i(this._props[l])),(s||(s=Object.create(null)))[ft(l)]=!0)}this._numberProps=s,o&&this._resolveProps(r),this.shadowRoot&&this._applyStyles(i),this._mount(r)},n=this._def.__asyncLoader;n?this._pendingResolve=n().then(r=>t(this._def=r,!0)):t(this._def)}_mount(t){this._app=this._createApp(t),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const r in n)Le(this,r)||Object.defineProperty(this,r,{get:()=>B(n[r])})}_resolveProps(t){const{props:n}=t,r=fe(n)?n:Object.keys(n||{});for(const o of Object.keys(this))o[0]!=="_"&&r.includes(o)&&this._setProp(o,this[o]);for(const o of r.map(ft))Object.defineProperty(this,o,{get(){return this._getProp(o)},set(a){this._setProp(o,a,!0,!0)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const n=this.hasAttribute(t);let r=n?this.getAttribute(t):Cf;const o=ft(t);n&&this._numberProps&&this._numberProps[o]&&(r=_i(r)),this._setProp(o,r,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,n,r=!0,o=!1){if(n!==this._props[t]&&(n===Cf?delete this._props[t]:(this._props[t]=n,t==="key"&&this._app&&(this._app._ceVNode.key=n)),o&&this._instance&&this._update(),r)){const a=this._ob;a&&a.disconnect(),n===!0?this.setAttribute(Tt(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(Tt(t),n+""):n||this.removeAttribute(Tt(t)),a&&a.observe(this,{attributes:!0})}}_update(){od(this._createVNode(),this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const n=K(this._def,He(t,this._props));return this._instance||(n.ce=r=>{this._instance=r,r.ce=this,r.isCE=!0;const o=(a,i)=>{this.dispatchEvent(new CustomEvent(a,Yi(i[0])?He({detail:i},i[0]):{detail:i}))};r.emit=(a,...i)=>{o(a,i),Tt(a)!==a&&o(Tt(a),i)},this._setParent()}),n}_applyStyles(t,n){if(!t)return;if(n){if(n===this._def||this._styleChildren.has(n))return;this._styleChildren.add(n)}const r=this._nonce;for(let o=t.length-1;o>=0;o--){const a=document.createElement("style");r&&a.setAttribute("nonce",r),a.textContent=t[o],this.shadowRoot.prepend(a)}}_parseSlots(){const t=this._slots={};let n;for(;n=this.firstChild;){const r=n.nodeType===1&&n.getAttribute("slot")||"default";(t[r]||(t[r]=[])).push(n),this.removeChild(n)}}_renderSlots(){const t=(this._teleportTarget||this).querySelectorAll("slot"),n=this._instance.type.__scopeId;for(let r=0;r<t.length;r++){const o=t[r],a=o.getAttribute("name")||"default",i=this._slots[a],s=o.parentNode;if(i)for(const l of i){if(n&&l.nodeType===1){const c=n+"-s",u=document.createTreeWalker(l,1);l.setAttribute(c,"");let d;for(;d=u.nextNode();)d.setAttribute(c,"")}s.insertBefore(l,o)}else for(;o.firstChild;)s.insertBefore(o.firstChild,o);s.removeChild(o)}}_injectChildStyle(t){this._applyStyles(t.styles,t)}_removeChildStyle(t){}}function td(e){const t=tt(),n=t&&t.ce;return n||null}function Wg(){const e=td();return e&&e.shadowRoot}function zg(e="$style"){{const t=tt();if(!t)return Pe;const n=t.type.__cssModules;if(!n)return Pe;const r=n[e];return r||Pe}}const Gg=new WeakMap,Kg=new WeakMap,Mi=Symbol("_moveCb"),Sf=Symbol("_enterCb"),dw=e=>(delete e.props.mode,e),fw=dw({name:"TransitionGroup",props:He({},Ug,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=tt(),r=cs();let o,a;return Sa(()=>{if(!o.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!gw(o[0].el,n.vnode.el,i))return;o.forEach(pw),o.forEach(mw);const s=o.filter(hw);Kl(),s.forEach(l=>{const c=l.el,u=c.style;dn(c,i),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[Mi]=f=>{f&&f.target!==c||(!f||/transform$/.test(f.propertyName))&&(c.removeEventListener("transitionend",d),c[Mi]=null,Un(c,i))};c.addEventListener("transitionend",d)})}),()=>{const i=Te(e),s=Fg(i);let l=i.tag||we;if(o=[],a)for(let c=0;c<a.length;c++){const u=a[c];u.el&&u.el instanceof Element&&(o.push(u),hn(u,vr(u,s,r,n)),Gg.set(u,u.el.getBoundingClientRect()))}a=t.default?wa(t.default()):[];for(let c=0;c<a.length;c++){const u=a[c];u.key!=null&&hn(u,vr(u,s,r,n))}return K(l,null,a)}}}),Yg=fw;function pw(e){const t=e.el;t[Mi]&&t[Mi](),t[Sf]&&t[Sf]()}function mw(e){Kg.set(e,e.el.getBoundingClientRect())}function hw(e){const t=Gg.get(e),n=Kg.get(e),r=t.left-n.left,o=t.top-n.top;if(r||o){const a=e.el.style;return a.transform=a.webkitTransform=`translate(${r}px,${o}px)`,a.transitionDuration="0s",e}}function gw(e,t,n){const r=e.cloneNode(),o=e[co];o&&o.forEach(s=>{s.split(/\s+/).forEach(l=>l&&r.classList.remove(l))}),n.split(/\s+/).forEach(s=>s&&r.classList.add(s)),r.style.display="none";const a=t.nodeType===1?t:t.parentNode;a.appendChild(r);const{hasTransform:i}=Vg(r);return a.removeChild(r),i}const Zn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return fe(t)?n=>Zr(t,n):t};function yw(e){e.target.composing=!0}function Tf(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Yt=Symbol("_assign"),uo={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[Yt]=Zn(o);const a=r||o.props&&o.props.type==="number";In(e,t?"change":"input",i=>{if(i.target.composing)return;let s=e.value;n&&(s=s.trim()),a&&(s=vi(s)),e[Yt](s)}),n&&In(e,"change",()=>{e.value=e.value.trim()}),t||(In(e,"compositionstart",yw),In(e,"compositionend",Tf),In(e,"change",Tf))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:o,number:a}},i){if(e[Yt]=Zn(i),e.composing)return;const s=(a||e.type==="number")&&!/^0\d/.test(e.value)?vi(e.value):e.value,l=t??"";s!==l&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||o&&e.value.trim()===l)||(e.value=l))}},ws={deep:!0,created(e,t,n){e[Yt]=Zn(n),In(e,"change",()=>{const r=e._modelValue,o=fo(e),a=e.checked,i=e[Yt];if(fe(r)){const s=Xi(r,o),l=s!==-1;if(a&&!l)i(r.concat(o));else if(!a&&l){const c=[...r];c.splice(s,1),i(c)}}else if(Ir(r)){const s=new Set(r);a?s.add(o):s.delete(o),i(s)}else i(Jg(e,a))})},mounted:kf,beforeUpdate(e,t,n){e[Yt]=Zn(n),kf(e,t,n)}};function kf(e,{value:t,oldValue:n},r){e._modelValue=t;let o;if(fe(t))o=Xi(t,r.props.value)>-1;else if(Ir(t))o=t.has(r.props.value);else{if(t===n)return;o=Xn(t,Jg(e,!0))}e.checked!==o&&(e.checked=o)}const xs={created(e,{value:t},n){e.checked=Xn(t,n.props.value),e[Yt]=Zn(n),In(e,"change",()=>{e[Yt](fo(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[Yt]=Zn(r),t!==n&&(e.checked=Xn(t,r.props.value))}},nd={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const o=Ir(t);In(e,"change",()=>{const a=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?vi(fo(i)):fo(i));e[Yt](e.multiple?o?new Set(a):a:a[0]),e._assigning=!0,at(()=>{e._assigning=!1})}),e[Yt]=Zn(r)},mounted(e,{value:t}){Ef(e,t)},beforeUpdate(e,t,n){e[Yt]=Zn(n)},updated(e,{value:t}){e._assigning||Ef(e,t)}};function Ef(e,t){const n=e.multiple,r=fe(t);if(!(n&&!r&&!Ir(t))){for(let o=0,a=e.options.length;o<a;o++){const i=e.options[o],s=fo(i);if(n)if(r){const l=typeof s;l==="string"||l==="number"?i.selected=t.some(c=>String(c)===String(s)):i.selected=Xi(t,s)>-1}else i.selected=t.has(s);else if(Xn(fo(i),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function fo(e){return"_value"in e?e._value:e.value}function Jg(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const rd={created(e,t,n){Ya(e,t,n,null,"created")},mounted(e,t,n){Ya(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){Ya(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){Ya(e,t,n,r,"updated")}};function Qg(e,t){switch(e){case"SELECT":return nd;case"TEXTAREA":return uo;default:switch(t){case"checkbox":return ws;case"radio":return xs;default:return uo}}}function Ya(e,t,n,r,o){const i=Qg(e.tagName,n.props&&n.props.type)[o];i&&i(e,t,n,r)}function bw(){uo.getSSRProps=({value:e})=>({value:e}),xs.getSSRProps=({value:e},t)=>{if(t.props&&Xn(t.props.value,e))return{checked:!0}},ws.getSSRProps=({value:e},t)=>{if(fe(e)){if(t.props&&Xi(e,t.props.value)>-1)return{checked:!0}}else if(Ir(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},rd.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=Qg(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const vw=["ctrl","shift","alt","meta"],_w={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>vw.some(n=>e[`${n}Key`]&&!t.includes(n))},Cs=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(o,...a)=>{for(let i=0;i<t.length;i++){const s=_w[t[i]];if(s&&s(o,t))return}return e(o,...a)})},ww={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Ss=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=o=>{if(!("key"in o))return;const a=Tt(o.key);if(t.some(i=>i===a||ww[i]===a))return e(o)})},Xg=He({patchProp:lw},z0);let zo,If=!1;function Zg(){return zo||(zo=Wu(Xg))}function ey(){return zo=If?zo:zu(Xg),If=!0,zo}const od=(...e)=>{Zg().render(...e)},ty=(...e)=>{ey().hydrate(...e)},po=(...e)=>{const t=Zg().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=ry(r);if(!o)return;const a=t._component;!Ce(a)&&!a.render&&!a.template&&(a.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const i=n(o,!1,ny(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t},Ts=(...e)=>{const t=ey().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=ry(r);if(o)return n(o,!0,ny(o))},t};function ny(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ry(e){return $e(e)?document.querySelector(e):e}let Pf=!1;const oy=()=>{Pf||(Pf=!0,bw(),Q0())},eU=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:Au,BaseTransitionPropsValidators:us,Comment:rt,DeprecationTypes:Bg,EffectScope:Zi,ErrorCodes:dh,ErrorTypeStrings:Og,Fragment:we,KeepAlive:Ru,ReactiveEffect:ao,Static:Jn,Suspense:ka,Teleport:ls,Text:Ln,TrackOpTypes:ih,Transition:Ar,TransitionGroup:Yg,TriggerOpTypes:sh,VueElement:Pa,assertNumber:uh,callWithAsyncErrorHandling:Ut,callWithErrorHandling:Or,camelize:ft,capitalize:_o,cloneVNode:Qt,compatUtils:Ng,computed:se,createApp:po,createBlock:ye,createCommentVNode:le,createElementBlock:V,createElementVNode:O,createHydrationRenderer:zu,createPropsRestProxy:Gh,createRenderer:Wu,createSSRApp:Ts,createSlots:Rh,createStaticVNode:vg,createTextVNode:nt,createVNode:K,customRef:is,defineAsyncComponent:gn,defineComponent:Qe,defineCustomElement:ed,defineEmits:Dh,defineExpose:$h,defineModel:Vh,defineOptions:Uh,defineProps:Bh,defineSSRCustomElement:jg,defineSlots:Fh,devtools:Lg,effect:qm,effectScope:ku,getCurrentInstance:tt,getCurrentScope:Pr,getCurrentWatcher:lh,getTransitionRawChildren:wa,guardReactiveProps:Qu,h:We,handleError:or,hasInjectionContext:ys,hydrate:ty,hydrateOnIdle:Eh,hydrateOnInteraction:Oh,hydrateOnMediaQuery:Ph,hydrateOnVisible:Ih,initCustomFormatter:Eg,initDirectivesForSSR:oy,inject:ot,isMemoSame:Zu,isProxy:_a,isReactive:On,isReadonly:mn,isRef:Je,isRuntimeOnly:Sg,isShallow:Mt,isVNode:Vt,markRaw:os,mergeDefaults:Wh,mergeModels:zh,mergeProps:jt,nextTick:at,normalizeClass:Se,normalizeProps:Mm,normalizeStyle:de,onActivated:ds,onBeforeMount:Ca,onBeforeUnmount:Lr,onBeforeUpdate:ms,onDeactivated:fs,onErrorCaptured:hs,onMounted:Xe,onRenderTracked:Du,onRenderTriggered:Bu,onScopeDispose:br,onServerPrefetch:Nu,onUnmounted:qt,onUpdated:Sa,onWatcherCleanup:Ou,openBlock:P,popScopeId:yh,provide:vt,proxyRefs:as,pushScopeId:gh,queuePostFlushCb:so,reactive:Ye,readonly:io,ref:he,registerRuntimeCompiler:Cg,render:od,renderList:De,renderSlot:$t,resolveComponent:Uu,resolveDirective:Mh,resolveDynamicComponent:ar,resolveFilter:Rg,resolveTransitionHooks:vr,setBlockTracking:Ii,setDevtoolsHook:Ag,setTransitionHooks:hn,shallowReactive:rn,shallowReadonly:th,shallowRef:An,ssrContextKey:Ku,ssrUtils:Mg,stop:jm,toDisplayString:Ie,toHandlerKey:Xr,toHandlers:Nh,toRaw:Te,toRef:Mn,toRefs:oh,toValue:kn,transformVNodeArgs:yg,triggerRef:rh,unref:B,useAttrs:Hu,useCssModule:zg,useCssVars:Ia,useHost:td,useId:kh,useModel:ug,useSSRContext:Yu,useShadowRoot:Wg,useSlots:qh,useTemplateRef:pr,useTransitionState:cs,vModelCheckbox:ws,vModelDynamic:rd,vModelRadio:xs,vModelSelect:nd,vModelText:uo,vShow:Ht,version:_s,warn:Pg,watch:pt,watchEffect:Yn,watchPostEffect:lg,watchSyncEffect:Ju,withAsyncContext:gs,withCtx:Be,withDefaults:Hh,withDirectives:Ft,withKeys:Ss,withMemo:Ig,withModifiers:Cs,withScopeId:bh},Symbol.toStringTag,{value:"Module"}));/** * vue v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/const xw=()=>{},Cw=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:Au,BaseTransitionPropsValidators:us,Comment:rt,DeprecationTypes:Bg,EffectScope:Zi,ErrorCodes:dh,ErrorTypeStrings:Og,Fragment:we,KeepAlive:Ru,ReactiveEffect:ao,Static:Jn,Suspense:ka,Teleport:ls,Text:Ln,TrackOpTypes:ih,Transition:Ar,TransitionGroup:Yg,TriggerOpTypes:sh,VueElement:Pa,assertNumber:uh,callWithAsyncErrorHandling:Ut,callWithErrorHandling:Or,camelize:ft,capitalize:_o,cloneVNode:Qt,compatUtils:Ng,compile:xw,computed:se,createApp:po,createBlock:ye,createCommentVNode:le,createElementBlock:V,createElementVNode:O,createHydrationRenderer:zu,createPropsRestProxy:Gh,createRenderer:Wu,createSSRApp:Ts,createSlots:Rh,createStaticVNode:vg,createTextVNode:nt,createVNode:K,customRef:is,defineAsyncComponent:gn,defineComponent:Qe,defineCustomElement:ed,defineEmits:Dh,defineExpose:$h,defineModel:Vh,defineOptions:Uh,defineProps:Bh,defineSSRCustomElement:jg,defineSlots:Fh,devtools:Lg,effect:qm,effectScope:ku,getCurrentInstance:tt,getCurrentScope:Pr,getCurrentWatcher:lh,getTransitionRawChildren:wa,guardReactiveProps:Qu,h:We,handleError:or,hasInjectionContext:ys,hydrate:ty,hydrateOnIdle:Eh,hydrateOnInteraction:Oh,hydrateOnMediaQuery:Ph,hydrateOnVisible:Ih,initCustomFormatter:Eg,initDirectivesForSSR:oy,inject:ot,isMemoSame:Zu,isProxy:_a,isReactive:On,isReadonly:mn,isRef:Je,isRuntimeOnly:Sg,isShallow:Mt,isVNode:Vt,markRaw:os,mergeDefaults:Wh,mergeModels:zh,mergeProps:jt,nextTick:at,normalizeClass:Se,normalizeProps:Mm,normalizeStyle:de,onActivated:ds,onBeforeMount:Ca,onBeforeUnmount:Lr,onBeforeUpdate:ms,onDeactivated:fs,onErrorCaptured:hs,onMounted:Xe,onRenderTracked:Du,onRenderTriggered:Bu,onScopeDispose:br,onServerPrefetch:Nu,onUnmounted:qt,onUpdated:Sa,onWatcherCleanup:Ou,openBlock:P,popScopeId:yh,provide:vt,proxyRefs:as,pushScopeId:gh,queuePostFlushCb:so,reactive:Ye,readonly:io,ref:he,registerRuntimeCompiler:Cg,render:od,renderList:De,renderSlot:$t,resolveComponent:Uu,resolveDirective:Mh,resolveDynamicComponent:ar,resolveFilter:Rg,resolveTransitionHooks:vr,setBlockTracking:Ii,setDevtoolsHook:Ag,setTransitionHooks:hn,shallowReactive:rn,shallowReadonly:th,shallowRef:An,ssrContextKey:Ku,ssrUtils:Mg,stop:jm,toDisplayString:Ie,toHandlerKey:Xr,toHandlers:Nh,toRaw:Te,toRef:Mn,toRefs:oh,toValue:kn,transformVNodeArgs:yg,triggerRef:rh,unref:B,useAttrs:Hu,useCssModule:zg,useCssVars:Ia,useHost:td,useId:kh,useModel:ug,useSSRContext:Yu,useShadowRoot:Wg,useSlots:qh,useTemplateRef:pr,useTransitionState:cs,vModelCheckbox:ws,vModelDynamic:rd,vModelRadio:xs,vModelSelect:nd,vModelText:uo,vShow:Ht,version:_s,warn:Pg,watch:pt,watchEffect:Yn,watchPostEffect:lg,watchSyncEffect:Ju,withAsyncContext:gs,withCtx:Be,withDefaults:Hh,withDirectives:Ft,withKeys:Ss,withMemo:Ig,withModifiers:Cs,withScopeId:bh},Symbol.toStringTag,{value:"Module"})),Sw=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,Tw=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,kw=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Ew(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Iw(e);return}return t}function Iw(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function sa(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e.endsWith('"')&&!e.includes("\\"))return n.slice(1,-1);if(n.length<=9){const r=n.toLowerCase();if(r==="true")return!0;if(r==="false")return!1;if(r==="undefined")return;if(r==="null")return null;if(r==="nan")return Number.NaN;if(r==="infinity")return Number.POSITIVE_INFINITY;if(r==="-infinity")return Number.NEGATIVE_INFINITY}if(!kw.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Sw.test(e)||Tw.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Ew)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const Pw=/#/g,Ow=/&/g,Lw=/\//g,Aw=/=/g,ad=/\+/g,Mw=/%5e/gi,Rw=/%60/gi,Nw=/%7c/gi,Bw=/%20/gi;function Dw(e){return encodeURI(""+e).replace(Nw,"|")}function Jl(e){return Dw(typeof e=="string"?e:JSON.stringify(e)).replace(ad,"%2B").replace(Bw,"+").replace(Pw,"%23").replace(Ow,"%26").replace(Rw,"`").replace(Mw,"^").replace(Lw,"%2F")}function sl(e){return Jl(e).replace(Aw,"%3D")}function Ri(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function $w(e){return Ri(e.replace(ad," "))}function Uw(e){return Ri(e.replace(ad," "))}function Fw(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const o=$w(r[1]);if(o==="__proto__"||o==="constructor")continue;const a=Uw(r[2]||"");t[o]===void 0?t[o]=a:Array.isArray(t[o])?t[o].push(a):t[o]=[t[o],a]}return t}function Vw(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${sl(e)}=${Jl(n)}`).join("&"):`${sl(e)}=${Jl(t)}`:sl(e)}function Hw(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Vw(t,e[t])).filter(Boolean).join("&")}const qw=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,jw=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Ww=/^([/\\]\s*){2,}[^/\\]/,zw=/^[\s\0]*(blob|data|javascript|vbscript):$/i,Gw=/\/$|\/\?|\/#/,Kw=/^\.?\//;function Mr(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?qw.test(e):jw.test(e)||(t.acceptRelative?Ww.test(e):!1)}function Yw(e){return!!e&&zw.test(e)}function Ql(e="",t){return t?Gw.test(e):e.endsWith("/")}function sd(e="",t){if(!t)return(Ql(e)?e.slice(0,-1):e)||"/";if(!Ql(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");o>=0&&(n=e.slice(0,o),r=e.slice(o));const[a,...i]=n.split("?");return((a.endsWith("/")?a.slice(0,-1):a)||"/")+(i.length>0?`?${i.join("?")}`:"")+r}function Xl(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Ql(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");if(o>=0&&(n=e.slice(0,o),r=e.slice(o),!n))return r;const[a,...i]=n.split("?");return a+"/"+(i.length>0?`?${i.join("?")}`:"")+r}function Jw(e=""){return e.startsWith("/")}function Of(e=""){return Jw(e)?e:"/"+e}function Qw(e,t){if(iy(t)||Mr(e))return e;const n=sd(t);return e.startsWith(n)?e:ld(n,e)}function Lf(e,t){if(iy(t))return e;const n=sd(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function ay(e,t){const n=e1(e),r={...Fw(n.search),...t};return n.search=Hw(r),t1(n)}function iy(e){return!e||e==="/"}function Xw(e){return e&&e!=="/"}function ld(e,...t){let n=e||"";for(const r of t.filter(o=>Xw(o)))if(n){const o=r.replace(Kw,"");n=Xl(n)+o}else n=r;return n}function sy(...e){var i,s,l,c;const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let o=0;for(const u of n)if(!(!u||u==="/")){for(const[d,f]of u.split(t).entries())if(!(!f||f===".")){if(f===".."){if(r.length===1&&Mr(r[0]))continue;r.pop(),o--;continue}if(d===1&&((i=r[r.length-1])!=null&&i.endsWith(":/"))){r[r.length-1]+="/"+f;continue}r.push(f),o++}}let a=r.join("/");return o>=0?(s=n[0])!=null&&s.startsWith("/")&&!a.startsWith("/")?a="/"+a:(l=n[0])!=null&&l.startsWith("./")&&!a.startsWith("./")&&(a="./"+a):a="../".repeat(-1*o)+a,(c=n[n.length-1])!=null&&c.endsWith("/")&&!a.endsWith("/")&&(a+="/"),a}function Zw(e,t,n={}){return n.trailingSlash||(e=Xl(e),t=Xl(t)),n.leadingSlash||(e=Of(e),t=Of(t)),n.encoding||(e=Ri(e),t=Ri(t)),e===t}const ly=Symbol.for("ufo:protocolRelative");function e1(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,d,f=""]=n;return{protocol:d.toLowerCase(),pathname:f,href:d+f,auth:"",host:"",search:"",hash:""}}if(!Mr(e,{acceptRelative:!0}))return Af(e);const[,r="",o,a=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,i="",s=""]=a.match(/([^#/?]*)(.*)?/)||[];r==="file:"&&(s=s.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:c,hash:u}=Af(s);return{protocol:r.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:i,pathname:l,search:c,hash:u,[ly]:!r}}function Af(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function t1(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",o=e.auth?e.auth+"@":"",a=e.host||"";return(e.protocol||e[ly]?(e.protocol||"")+"//":"")+o+a+t+n+r}class n1 extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function r1(e){var l,c,u,d,f;const t=((l=e.error)==null?void 0:l.message)||((c=e.error)==null?void 0:c.toString())||"",n=((u=e.request)==null?void 0:u.method)||((d=e.options)==null?void 0:d.method)||"GET",r=((f=e.request)==null?void 0:f.url)||String(e.request)||"/",o=`[${n}] ${JSON.stringify(r)}`,a=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",i=`${o}: ${a}${t?` ${t}`:""}`,s=new n1(i,e.error?{cause:e.error}:void 0);for(const m of["request","options","response"])Object.defineProperty(s,m,{get(){return e[m]}});for(const[m,b]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(s,m,{get(){return e.response&&e.response[b]}});return s}const o1=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Mf(e="GET"){return o1.has(e.toUpperCase())}function a1(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const i1=new Set(["image/svg","application/xml","application/xhtml","application/html"]),s1=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function l1(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return s1.test(t)?"json":i1.has(t)||t.startsWith("text/")?"text":"blob"}function c1(e,t,n,r){const o=u1((t==null?void 0:t.headers)??(e==null?void 0:e.headers),n==null?void 0:n.headers,r);let a;return(n!=null&&n.query||n!=null&&n.params||t!=null&&t.params||t!=null&&t.query)&&(a={...n==null?void 0:n.params,...n==null?void 0:n.query,...t==null?void 0:t.params,...t==null?void 0:t.query}),{...n,...t,query:a,params:a,headers:o}}function u1(e,t,n){if(!t)return new n(e);const r=new n(t);if(e)for(const[o,a]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))r.set(o,a);return r}async function Ja(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const d1=new Set([408,409,425,429,500,502,503,504]),f1=new Set([101,204,205,304]);function cy(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function o(s){const l=s.error&&s.error.name==="AbortError"&&!s.options.timeout||!1;if(s.options.retry!==!1&&!l){let u;typeof s.options.retry=="number"?u=s.options.retry:u=Mf(s.options.method)?0:1;const d=s.response&&s.response.status||500;if(u>0&&(Array.isArray(s.options.retryStatusCodes)?s.options.retryStatusCodes.includes(d):d1.has(d))){const f=typeof s.options.retryDelay=="function"?s.options.retryDelay(s):s.options.retryDelay||0;return f>0&&await new Promise(m=>setTimeout(m,f)),a(s.request,{...s.options,retry:u-1})}}const c=r1(s);throw Error.captureStackTrace&&Error.captureStackTrace(c,a),c}const a=async function(l,c={}){const u={request:l,options:c1(l,c,e.defaults,n),response:void 0,error:void 0};u.options.method&&(u.options.method=u.options.method.toUpperCase()),u.options.onRequest&&await Ja(u,u.options.onRequest),typeof u.request=="string"&&(u.options.baseURL&&(u.request=Qw(u.request,u.options.baseURL)),u.options.query&&(u.request=ay(u.request,u.options.query),delete u.options.query),"query"in u.options&&delete u.options.query,"params"in u.options&&delete u.options.params),u.options.body&&Mf(u.options.method)&&(a1(u.options.body)?(u.options.body=typeof u.options.body=="string"?u.options.body:JSON.stringify(u.options.body),u.options.headers=new n(u.options.headers||{}),u.options.headers.has("content-type")||u.options.headers.set("content-type","application/json"),u.options.headers.has("accept")||u.options.headers.set("accept","application/json")):("pipeTo"in u.options.body&&typeof u.options.body.pipeTo=="function"||typeof u.options.body.pipe=="function")&&("duplex"in u.options||(u.options.duplex="half")));let d;if(!u.options.signal&&u.options.timeout){const m=new r;d=setTimeout(()=>{const b=new Error("[TimeoutError]: The operation was aborted due to timeout");b.name="TimeoutError",b.code=23,m.abort(b)},u.options.timeout),u.options.signal=m.signal}try{u.response=await t(u.request,u.options)}catch(m){return u.error=m,u.options.onRequestError&&await Ja(u,u.options.onRequestError),await o(u)}finally{d&&clearTimeout(d)}if((u.response.body||u.response._bodyInit)&&!f1.has(u.response.status)&&u.options.method!=="HEAD"){const m=(u.options.parseResponse?"json":u.options.responseType)||l1(u.response.headers.get("content-type")||"");switch(m){case"json":{const b=await u.response.text(),y=u.options.parseResponse||sa;u.response._data=y(b);break}case"stream":{u.response._data=u.response.body||u.response._bodyInit;break}default:u.response._data=await u.response[m]()}}return u.options.onResponse&&await Ja(u,u.options.onResponse),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await Ja(u,u.options.onResponseError),await o(u)):u.response},i=async function(l,c){return(await a(l,c))._data};return i.raw=a,i.native=(...s)=>t(...s),i.create=(s={},l={})=>cy({...e,...l,defaults:{...e.defaults,...l.defaults,...s}}),i}const Ni=function(){if(typeof globalThis<"u")return globalThis;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")}(),p1=Ni.fetch?(...e)=>Ni.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),m1=Ni.Headers,h1=Ni.AbortController,g1=cy({fetch:p1,Headers:m1,AbortController:h1}),y1=g1,b1=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},Bi=b1().app,v1=()=>Bi.baseURL,_1=()=>Bi.buildAssetsDir,cd=(...e)=>sy(ud(),_1(),...e),ud=(...e)=>{const t=Bi.cdnURL||Bi.baseURL;return e.length?sy(t,...e):t};globalThis.__buildAssetsURL=cd,globalThis.__publicAssetsURL=ud;globalThis.$fetch||(globalThis.$fetch=y1.create({baseURL:v1()}));function Zl(e,t={},n){for(const r in e){const o=e[r],a=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?Zl(o,t,a):typeof o=="function"&&(t[a]=o)}return t}const w1={run:e=>e()},x1=()=>w1,uy=typeof console.createTask<"u"?console.createTask:x1;function C1(e,t){const n=t.shift(),r=uy(n);return e.reduce((o,a)=>o.then(()=>r.run(()=>a(...t))),Promise.resolve())}function S1(e,t){const n=t.shift(),r=uy(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function ll(e,t){for(const n of[...e])n(t)}class T1{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const o=t;let a;for(;this._deprecatedHooks[t];)a=this._deprecatedHooks[t],t=a.to;if(a&&!r.allowDeprecated){let i=a.message;i||(i=`${o} hook has been deprecated`+(a.to?`, please use ${a.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,o=(...a)=>(typeof r=="function"&&r(),r=void 0,o=void 0,n(...a));return r=this.hook(t,o),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const o of r)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Zl(t),r=Object.keys(n).map(o=>this.hook(o,n[o]));return()=>{for(const o of r.splice(0,r.length))o()}}removeHooks(t){const n=Zl(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(C1,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(S1,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&ll(this._before,o);const a=t(n in this._hooks?[...this._hooks[n]]:[],r);return a instanceof Promise?a.finally(()=>{this._after&&o&&ll(this._after,o)}):(this._after&&o&&ll(this._after,o),a)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function dy(){return new T1}function k1(e={}){let t,n=!1;const r=i=>{if(t&&t!==i)throw new Error("Context conflict")};let o;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i?o=new i:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const a=()=>{if(o&&t===void 0){const i=o.getStore();if(i!==void 0)return i}return t};return{use:()=>{const i=a();if(i===void 0)throw new Error("Context is not available");return i},tryUse:()=>a(),set:(i,s)=>{s||r(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,s)=>{r(i),t=i;try{return o?o.run(i,s):s()}finally{n||(t=void 0)}},async callAsync(i,s){t=i;const l=()=>{t=i},c=()=>t===i?l:void 0;ec.add(c);try{const u=o?o.run(i,s):s();return n||(t=void 0),await u}finally{ec.delete(c)}}}}function E1(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=k1({...e,...r})),t[n],t[n]}}}const Di=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Rf="__unctx__",I1=Di[Rf]||(Di[Rf]=E1()),P1=(e,t={})=>I1.get(e,t),Nf="__unctx_async_handlers__",ec=Di[Nf]||(Di[Nf]=new Set);function gr(e){const t=[];for(const o of ec){const a=o();a&&t.push(a)}const n=()=>{for(const o of t)o()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(o=>{throw n(),o})),[r,n]}const O1=!1,tc=!1,L1=!1,tU={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},zr={value:null,errorValue:null,deep:!0},A1=null,M1={},R1="#__nuxt",fy="nuxt-app",Bf=36e5,N1="vite:preloadError";function py(e=fy){return P1(e,{asyncContext:!1})}const B1="__nuxt_plugin";function D1(e){var o;let t=0;const n={_id:e.id||fy||"nuxt-app",_scope:ku(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.14.1592"},get vue(){return n.vueApp.version}},payload:rn({...((o=e.ssrContext)==null?void 0:o.payload)||{},data:rn({}),state:Ye({}),once:new Set,_errors:rn({})}),static:{data:{}},runWithContext(a){return n._scope.active&&!Pr()?n._scope.run(()=>Df(n,a)):Df(n,a)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let a=!1;return()=>{if(!a&&(a=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:rn({}),_payloadRevivers:{},...e};{const a=window.__NUXT__;if(a)for(const i in a)switch(i){case"data":case"state":case"_errors":Object.assign(n.payload[i],a[i]);break;default:n.payload[i]=a[i]}}n.hooks=dy(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(a,i)=>{const s="$"+a;Qa(n,s,i),Qa(n.vueApp.config.globalProperties,s,i)},Qa(n.vueApp,"$nuxt",n),Qa(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(N1,i=>{n.callHook("app:chunkError",{error:i.payload}),(n.isHydrating||i.payload.message.includes("Unable to preload CSS"))&&i.preventDefault()}),window.useNuxtApp=window.useNuxtApp||G;const a=n.hook("app:error",(...i)=>{console.error("[nuxt] error caught during app initialization",...i)});n.hook("app:mounted",a)}const r=n.payload.config;return n.provide("config",r),n}function $1(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function U1(e,t){if(typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const r in n)e.provide(r,n[r])}}async function F1(e,t){const n=[],r=[],o=[],a=[];let i=0;async function s(l){var u;const c=((u=l.dependsOn)==null?void 0:u.filter(d=>t.some(f=>f._name===d)&&!n.includes(d)))??[];if(c.length>0)r.push([new Set(c),l]);else{const d=U1(e,l).then(async()=>{l._name&&(n.push(l._name),await Promise.all(r.map(async([f,m])=>{f.has(l._name)&&(f.delete(l._name),f.size===0&&(i++,await s(m)))})))});l.parallel?o.push(d.catch(f=>a.push(f))):await d}}for(const l of t)$1(e,l);for(const l of t)await s(l);if(await Promise.all(o),i)for(let l=0;l<i;l++)await Promise.all(o);if(a.length)throw a[0]}function ut(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[B1]:!0,_name:t})}function Df(e,t,n){const r=()=>t();return py(e._id).set(e),e.vueApp.runWithContext(r)}function V1(e){var n;let t;return ys()&&(t=(n=tt())==null?void 0:n.appContext.app.$nuxt),t=t||py(e).tryUse(),t||null}function G(e){const t=V1(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function xr(e){return G().$config}function Qa(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function H1(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");const n={},r=t||{},o=r.decode||q1;let a=0;for(;a<e.length;){const i=e.indexOf("=",a);if(i===-1)break;let s=e.indexOf(";",a);if(s===-1)s=e.length;else if(s<i){a=e.lastIndexOf(";",i-1)+1;continue}const l=e.slice(a,i).trim();if(r!=null&&r.filter&&!(r!=null&&r.filter(l))){a=s+1;continue}if(n[l]===void 0){let c=e.slice(i+1,s).trim();c.codePointAt(0)===34&&(c=c.slice(1,-1)),n[l]=j1(c,o)}a=s+1}return n}function q1(e){return e.includes("%")?decodeURIComponent(e):e}function j1(e,t){try{return t(e)}catch{return e}}const Xa=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function $f(e,t,n){const r=n||{},o=r.encode||encodeURIComponent;if(typeof o!="function")throw new TypeError("option encode is invalid");if(!Xa.test(e))throw new TypeError("argument name is invalid");const a=o(t);if(a&&!Xa.test(a))throw new TypeError("argument val is invalid");let i=e+"="+a;if(r.maxAge!==void 0&&r.maxAge!==null){const s=r.maxAge-0;if(Number.isNaN(s)||!Number.isFinite(s))throw new TypeError("option maxAge is invalid");i+="; Max-Age="+Math.floor(s)}if(r.domain){if(!Xa.test(r.domain))throw new TypeError("option domain is invalid");i+="; Domain="+r.domain}if(r.path){if(!Xa.test(r.path))throw new TypeError("option path is invalid");i+="; Path="+r.path}if(r.expires){if(!W1(r.expires)||Number.isNaN(r.expires.valueOf()))throw new TypeError("option expires is invalid");i+="; Expires="+r.expires.toUTCString()}if(r.httpOnly&&(i+="; HttpOnly"),r.secure&&(i+="; Secure"),r.priority)switch(typeof r.priority=="string"?r.priority.toLowerCase():r.priority){case"low":{i+="; Priority=Low";break}case"medium":{i+="; Priority=Medium";break}case"high":{i+="; Priority=High";break}default:throw new TypeError("option priority is invalid")}if(r.sameSite)switch(typeof r.sameSite=="string"?r.sameSite.toLowerCase():r.sameSite){case!0:{i+="; SameSite=Strict";break}case"lax":{i+="; SameSite=Lax";break}case"strict":{i+="; SameSite=Strict";break}case"none":{i+="; SameSite=None";break}default:throw new TypeError("option sameSite is invalid")}return r.partitioned&&(i+="; Partitioned"),i}function W1(e){return Object.prototype.toString.call(e)==="[object Date]"||e instanceof Date}const Uf=Object.freeze({ignoreUnknown:!1,respectType:!1,respectFunctionNames:!1,respectFunctionProperties:!1,unorderedObjects:!0,unorderedArrays:!1,unorderedSets:!1,excludeKeys:void 0,excludeValues:void 0,replacer:void 0});function nc(e,t){t?t={...Uf,...t}:t=Uf;const n=my(t);return n.dispatch(e),n.toString()}const z1=Object.freeze(["prototype","__proto__","constructor"]);function my(e){let t="",n=new Map;const r=o=>{t+=o};return{toString(){return t},getContext(){return n},dispatch(o){return e.replacer&&(o=e.replacer(o)),this[o===null?"null":typeof o](o)},object(o){if(o&&typeof o.toJSON=="function")return this.object(o.toJSON());const a=Object.prototype.toString.call(o);let i="";const s=a.length;s<10?i="unknown:["+a+"]":i=a.slice(8,s-1),i=i.toLowerCase();let l=null;if((l=n.get(o))===void 0)n.set(o,n.size);else return this.dispatch("[CIRCULAR:"+l+"]");if(typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(o))return r("buffer:"),r(o.toString("utf8"));if(i!=="object"&&i!=="function"&&i!=="asyncfunction")this[i]?this[i](o):e.ignoreUnknown||this.unkown(o,i);else{let c=Object.keys(o);e.unorderedObjects&&(c=c.sort());let u=[];e.respectType!==!1&&!Ff(o)&&(u=z1),e.excludeKeys&&(c=c.filter(f=>!e.excludeKeys(f)),u=u.filter(f=>!e.excludeKeys(f))),r("object:"+(c.length+u.length)+":");const d=f=>{this.dispatch(f),r(":"),e.excludeValues||this.dispatch(o[f]),r(",")};for(const f of c)d(f);for(const f of u)d(f)}},array(o,a){if(a=a===void 0?e.unorderedArrays!==!1:a,r("array:"+o.length+":"),!a||o.length<=1){for(const l of o)this.dispatch(l);return}const i=new Map,s=o.map(l=>{const c=my(e);c.dispatch(l);for(const[u,d]of c.getContext())i.set(u,d);return c.toString()});return n=i,s.sort(),this.array(s,!1)},date(o){return r("date:"+o.toJSON())},symbol(o){return r("symbol:"+o.toString())},unkown(o,a){if(r(a),!!o&&(r(":"),o&&typeof o.entries=="function"))return this.array(Array.from(o.entries()),!0)},error(o){return r("error:"+o.toString())},boolean(o){return r("bool:"+o)},string(o){r("string:"+o.length+":"),r(o)},function(o){r("fn:"),Ff(o)?this.dispatch("[native]"):this.dispatch(o.toString()),e.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(o.name)),e.respectFunctionProperties&&this.object(o)},number(o){return r("number:"+o)},xml(o){return r("xml:"+o.toString())},null(){return r("Null")},undefined(){return r("Undefined")},regexp(o){return r("regex:"+o.toString())},uint8array(o){return r("uint8array:"),this.dispatch(Array.prototype.slice.call(o))},uint8clampedarray(o){return r("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(o))},int8array(o){return r("int8array:"),this.dispatch(Array.prototype.slice.call(o))},uint16array(o){return r("uint16array:"),this.dispatch(Array.prototype.slice.call(o))},int16array(o){return r("int16array:"),this.dispatch(Array.prototype.slice.call(o))},uint32array(o){return r("uint32array:"),this.dispatch(Array.prototype.slice.call(o))},int32array(o){return r("int32array:"),this.dispatch(Array.prototype.slice.call(o))},float32array(o){return r("float32array:"),this.dispatch(Array.prototype.slice.call(o))},float64array(o){return r("float64array:"),this.dispatch(Array.prototype.slice.call(o))},arraybuffer(o){return r("arraybuffer:"),this.dispatch(new Uint8Array(o))},url(o){return r("url:"+o.toString())},map(o){r("map:");const a=[...o];return this.array(a,e.unorderedSets!==!1)},set(o){r("set:");const a=[...o];return this.array(a,e.unorderedSets!==!1)},file(o){return r("file:"),this.dispatch([o.name,o.size,o.type,o.lastModfied])},blob(){if(e.ignoreUnknown)return r("[blob]");throw new Error(`Hashing Blob objects is currently not supported Use "options.replacer" or "options.ignoreUnknown" `)},domwindow(){return r("domwindow")},bigint(o){return r("bigint:"+o.toString())},process(){return r("process")},timer(){return r("timer")},pipe(){return r("pipe")},tcp(){return r("tcp")},udp(){return r("udp")},tty(){return r("tty")},statwatcher(){return r("statwatcher")},securecontext(){return r("securecontext")},connection(){return r("connection")},zlib(){return r("zlib")},context(){return r("context")},nodescript(){return r("nodescript")},httpparser(){return r("httpparser")},dataview(){return r("dataview")},signal(){return r("signal")},fsevent(){return r("fsevent")},tlswrap(){return r("tlswrap")}}}const hy="[native code] }",G1=hy.length;function Ff(e){return typeof e!="function"?!1:Function.prototype.toString.call(e).slice(-G1)===hy}var K1=Object.defineProperty,Y1=(e,t,n)=>t in e?K1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Gr=(e,t,n)=>(Y1(e,typeof t!="symbol"?t+"":t,n),n);class Qn{constructor(t,n){Gr(this,"words"),Gr(this,"sigBytes"),t=this.words=t||[],this.sigBytes=n===void 0?t.length*4:n}toString(t){return(t||J1).stringify(this)}concat(t){if(this.clamp(),this.sigBytes%4)for(let n=0;n<t.sigBytes;n++){const r=t.words[n>>>2]>>>24-n%4*8&255;this.words[this.sigBytes+n>>>2]|=r<<24-(this.sigBytes+n)%4*8}else for(let n=0;n<t.sigBytes;n+=4)this.words[this.sigBytes+n>>>2]=t.words[n>>>2];return this.sigBytes+=t.sigBytes,this}clamp(){this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4)}clone(){return new Qn([...this.words])}}const J1={stringify(e){const t=[];for(let n=0;n<e.sigBytes;n++){const r=e.words[n>>>2]>>>24-n%4*8&255;t.push((r>>>4).toString(16),(r&15).toString(16))}return t.join("")}},Q1={stringify(e){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=[];for(let r=0;r<e.sigBytes;r+=3){const o=e.words[r>>>2]>>>24-r%4*8&255,a=e.words[r+1>>>2]>>>24-(r+1)%4*8&255,i=e.words[r+2>>>2]>>>24-(r+2)%4*8&255,s=o<<16|a<<8|i;for(let l=0;l<4&&r*8+l*6<e.sigBytes*8;l++)n.push(t.charAt(s>>>6*(3-l)&63))}return n.join("")}},X1={parse(e){const t=e.length,n=[];for(let r=0;r<t;r++)n[r>>>2]|=(e.charCodeAt(r)&255)<<24-r%4*8;return new Qn(n,t)}},Z1={parse(e){return X1.parse(unescape(encodeURIComponent(e)))}};class ex{constructor(){Gr(this,"_data",new Qn),Gr(this,"_nDataBytes",0),Gr(this,"_minBufferSize",0),Gr(this,"blockSize",512/32)}reset(){this._data=new Qn,this._nDataBytes=0}_append(t){typeof t=="string"&&(t=Z1.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes}_doProcessBlock(t,n){}_process(t){let n,r=this._data.sigBytes/(this.blockSize*4);t?r=Math.ceil(r):r=Math.max((r|0)-this._minBufferSize,0);const o=r*this.blockSize,a=Math.min(o*4,this._data.sigBytes);if(o){for(let i=0;i<o;i+=this.blockSize)this._doProcessBlock(this._data.words,i);n=this._data.words.splice(0,o),this._data.sigBytes-=a}return new Qn(n,a)}}class tx extends ex{update(t){return this._append(t),this._process(),this}finalize(t){t&&this._append(t)}}var nx=Object.defineProperty,rx=(e,t,n)=>t in e?nx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ox=(e,t,n)=>(rx(e,t+"",n),n);const Vf=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],ax=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],cr=[];class ix extends tx{constructor(){super(...arguments),ox(this,"_hash",new Qn([...Vf]))}reset(){super.reset(),this._hash=new Qn([...Vf])}_doProcessBlock(t,n){const r=this._hash.words;let o=r[0],a=r[1],i=r[2],s=r[3],l=r[4],c=r[5],u=r[6],d=r[7];for(let f=0;f<64;f++){if(f<16)cr[f]=t[n+f]|0;else{const h=cr[f-15],p=(h<<25|h>>>7)^(h<<14|h>>>18)^h>>>3,_=cr[f-2],S=(_<<15|_>>>17)^(_<<13|_>>>19)^_>>>10;cr[f]=p+cr[f-7]+S+cr[f-16]}const m=l&c^~l&u,b=o&a^o&i^a&i,y=(o<<30|o>>>2)^(o<<19|o>>>13)^(o<<10|o>>>22),x=(l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25),w=d+x+m+ax[f]+cr[f],g=y+b;d=u,u=c,c=l,l=s+w|0,s=i,i=a,a=o,o=w+g|0}r[0]=r[0]+o|0,r[1]=r[1]+a|0,r[2]=r[2]+i|0,r[3]=r[3]+s|0,r[4]=r[4]+l|0,r[5]=r[5]+c|0,r[6]=r[6]+u|0,r[7]=r[7]+d|0}finalize(t){super.finalize(t);const n=this._nDataBytes*8,r=this._data.sigBytes*8;return this._data.words[r>>>5]|=128<<24-r%32,this._data.words[(r+64>>>9<<4)+14]=Math.floor(n/4294967296),this._data.words[(r+64>>>9<<4)+15]=n,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}}function sx(e){return new ix().finalize(e).toString(Q1)}function lx(e,t={}){const n=typeof e=="string"?e:nc(e,t);return sx(n).slice(0,10)}function cx(e,t,n={}){return e===t||nc(e,n)===nc(t,n)}function ux(e,t){return{ctx:{table:e},matchAll:n=>yy(n,e)}}function gy(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,o])=>[r,gy(o)])):new Map(Object.entries(e[n]));return t}function dx(e){return ux(gy(e))}function yy(e,t,n){e.endsWith("/")&&(e=e.slice(0,-1)||"/");const r=[];for(const[a,i]of Hf(t.wildcard))(e===a||e.startsWith(a+"/"))&&r.push(i);for(const[a,i]of Hf(t.dynamic))if(e.startsWith(a+"/")){const s="/"+e.slice(a.length).split("/").splice(2).join("/");r.push(...yy(s,i))}const o=t.static.get(e);return o&&r.push(o),r.filter(Boolean)}function Hf(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function cl(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function rc(e,t,n=".",r){if(!cl(t))return rc(e,{},n,r);const o=Object.assign({},t);for(const a in e){if(a==="__proto__"||a==="constructor")continue;const i=e[a];i!=null&&(r&&r(o,a,i,n)||(Array.isArray(i)&&Array.isArray(o[a])?o[a]=[...i,...o[a]]:cl(i)&&cl(o[a])?o[a]=rc(i,o[a],(n?`${n}.`:"")+a.toString(),r):o[a]=i))}return o}function by(e){return(...t)=>t.reduce((n,r)=>rc(n,r,"",e),{})}const vy=by(),fx=by((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function px(e,t){try{return t in e}catch{return!1}}var mx=Object.defineProperty,hx=(e,t,n)=>t in e?mx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,dr=(e,t,n)=>(hx(e,typeof t!="symbol"?t+"":t,n),n);class oc extends Error{constructor(t,n={}){super(t,n),dr(this,"statusCode",500),dr(this,"fatal",!1),dr(this,"unhandled",!1),dr(this,"statusMessage"),dr(this,"data"),dr(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:ic(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=_y(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}dr(oc,"__h3_error__",!0);function ac(e){if(typeof e=="string")return new oc(e);if(gx(e))return e;const t=new oc(e.message??e.statusMessage??"",{cause:e.cause||e});if(px(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=ic(e.statusCode,t.statusCode):e.status&&(t.statusCode=ic(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;_y(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function gx(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const yx=/[^\u0009\u0020-\u007E]/g;function _y(e=""){return e.replace(yx,"")}function ic(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const wy=Symbol("layout-meta"),Pn=Symbol("route"),Xt=()=>{var e;return(e=G())==null?void 0:e.$router},Ge=()=>ys()?ot(Pn,G()._route):G()._route;const bx=()=>{try{if(G()._processingMiddleware)return!0}catch{return!1}return!1},ks=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:"path"in e?vx(e):Xt().resolve(e).href;if(t!=null&&t.open){const{target:l="_blank",windowFeatures:c={}}=t.open,u=Object.entries(c).filter(([d,f])=>f!==void 0).map(([d,f])=>`${d.toLowerCase()}=${f}`).join(", ");return open(n,l,u),Promise.resolve()}const r=Mr(n,{acceptRelative:!0}),o=(t==null?void 0:t.external)||r;if(o){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:l}=new URL(n,window.location.href);if(l&&Yw(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const a=bx();if(!o&&a)return e;const i=Xt(),s=G();return o?(s._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,a?s.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?i.replace(e):i.push(e)};function vx(e){return ay(e.path||"",e.query||{})+(e.hash||"")}const xy="__nuxt_error",Es=()=>Mn(G().payload,"error"),Kr=e=>{const t=Oa(e);try{const n=G(),r=Es();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},_x=async(e={})=>{const t=G(),n=Es();t.callHook("app:error:cleared",e),e.redirect&&await Xt().replace(e.redirect),n.value=A1},wx=e=>!!e&&typeof e=="object"&&xy in e,Oa=e=>{const t=ac(e);return Object.defineProperty(t,xy,{value:!0,configurable:!1,writable:!1}),t};function qf(e){const t=Cx(e),n=new ArrayBuffer(t.length),r=new DataView(n);for(let o=0;o<n.byteLength;o++)r.setUint8(o,t.charCodeAt(o));return n}const xx="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function Cx(e){e.length%4===0&&(e=e.replace(/==?$/,""));let t="",n=0,r=0;for(let o=0;o<e.length;o++)n<<=6,n|=xx.indexOf(e[o]),r+=6,r===24&&(t+=String.fromCharCode((n&16711680)>>16),t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255),n=r=0);return r===12?(n>>=4,t+=String.fromCharCode(n)):r===18&&(n>>=2,t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255)),t}const Sx=-1,Tx=-2,kx=-3,Ex=-4,Ix=-5,Px=-6;function Ox(e,t){return Lx(JSON.parse(e),t)}function Lx(e,t){if(typeof e=="number")return o(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function o(a,i=!1){if(a===Sx)return;if(a===kx)return NaN;if(a===Ex)return 1/0;if(a===Ix)return-1/0;if(a===Px)return-0;if(i)throw new Error("Invalid input");if(a in r)return r[a];const s=n[a];if(!s||typeof s!="object")r[a]=s;else if(Array.isArray(s))if(typeof s[0]=="string"){const l=s[0],c=t==null?void 0:t[l];if(c)return r[a]=c(o(s[1]));switch(l){case"Date":r[a]=new Date(s[1]);break;case"Set":const u=new Set;r[a]=u;for(let m=1;m<s.length;m+=1)u.add(o(s[m]));break;case"Map":const d=new Map;r[a]=d;for(let m=1;m<s.length;m+=2)d.set(o(s[m]),o(s[m+1]));break;case"RegExp":r[a]=new RegExp(s[1],s[2]);break;case"Object":r[a]=Object(s[1]);break;case"BigInt":r[a]=BigInt(s[1]);break;case"null":const f=Object.create(null);r[a]=f;for(let m=1;m<s.length;m+=2)f[s[m]]=o(s[m+1]);break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":{const m=globalThis[l],b=s[1],y=qf(b),x=new m(y);r[a]=x;break}case"ArrayBuffer":{const m=s[1],b=qf(m);r[a]=b;break}default:throw new Error(`Unknown type ${l}`)}}else{const l=new Array(s.length);r[a]=l;for(let c=0;c<s.length;c+=1){const u=s[c];u!==Tx&&(l[c]=o(u))}}else{const l={};r[a]=l;for(const c in s){const u=s[c];l[c]=o(u)}}return r[a]}return o(0)}const Ax=new Set(["title","titleTemplate","script","style","noscript"]),ci=new Set(["base","meta","link","style","script","noscript"]),Mx=new Set(["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),Rx=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),Cy=new Set(["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"]),Nx=typeof window<"u";function $i(e){let t=9;for(let n=0;n<e.length;)t=Math.imul(t^e.charCodeAt(n++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function sc(e){if(e._h)return e._h;if(e._d)return $i(e._d);let t=`${e.tag}:${e.textContent||e.innerHTML||""}:`;for(const n in e.props)t+=`${n}:${String(e.props[n])},`;return $i(t)}function Bx(e,t){return e instanceof Promise?e.then(t):t(e)}function lc(e,t,n,r){const o=r||Ty(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},e==="templateParams"||e==="titleTemplate");if(o instanceof Promise)return o.then(i=>lc(e,t,n,i));const a={tag:e,props:o};for(const i of Cy){const s=a.props[i]!==void 0?a.props[i]:n[i];s!==void 0&&((!(i==="innerHTML"||i==="textContent"||i==="children")||Ax.has(a.tag))&&(a[i==="children"?"innerHTML":i]=s),delete a.props[i])}return a.props.body&&(a.tagPosition="bodyClose",delete a.props.body),a.tag==="script"&&typeof a.innerHTML=="object"&&(a.innerHTML=JSON.stringify(a.innerHTML),a.props.type=a.props.type||"application/json"),Array.isArray(a.props.content)?a.props.content.map(i=>({...a,props:{...a.props,content:i}})):a}function Dx(e,t){var r;const n=e==="class"?" ":";";return t&&typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,o])=>o).map(([o,a])=>e==="style"?`${o}:${a}`:o)),(r=String(Array.isArray(t)?t.join(n):t))==null?void 0:r.split(n).filter(o=>!!o.trim()).join(n)}function Sy(e,t,n,r){for(let o=r;o<n.length;o+=1){const a=n[o];if(a==="class"||a==="style"){e[a]=Dx(a,e[a]);continue}if(e[a]instanceof Promise)return e[a].then(i=>(e[a]=i,Sy(e,t,n,o)));if(!t&&!Cy.has(a)){const i=String(e[a]),s=a.startsWith("data-");i==="true"||i===""?e[a]=s?"true":!0:e[a]||(s&&i==="false"?e[a]="false":delete e[a])}}}function Ty(e,t=!1){const n=Sy(e,t,Object.keys(e),0);return n instanceof Promise?n.then(()=>e):e}const $x=10;function ky(e,t,n){for(let r=n;r<t.length;r+=1){const o=t[r];if(o instanceof Promise)return o.then(a=>(t[r]=a,ky(e,t,r)));Array.isArray(o)?e.push(...o):e.push(o)}}function Ux(e){const t=[],n=e.resolvedInput;for(const o in n){if(!Object.prototype.hasOwnProperty.call(n,o))continue;const a=n[o];if(!(a===void 0||!Mx.has(o))){if(Array.isArray(a)){for(const i of a)t.push(lc(o,i,e));continue}t.push(lc(o,a,e))}}if(t.length===0)return[];const r=[];return Bx(ky(r,t,0),()=>r.map((o,a)=>(o._e=e._i,e.mode&&(o._m=e.mode),o._p=(e._i<<$x)+a,o)))}const jf=new Set(["onload","onerror","onabort","onprogress","onloadstart"]),Wf={base:-10,title:10},zf={critical:-80,high:-10,low:20};function Ui(e){const t=e.tagPriority;if(typeof t=="number")return t;let n=100;return e.tag==="meta"?e.props["http-equiv"]==="content-security-policy"?n=-30:e.props.charset?n=-20:e.props.name==="viewport"&&(n=-15):e.tag==="link"&&e.props.rel==="preconnect"?n=20:e.tag in Wf&&(n=Wf[e.tag]),t&&t in zf?n+zf[t]:n}const Fx=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],Vx=["name","property","http-equiv"];function Ey(e){const{props:t,tag:n}=e;if(Rx.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(t.id)return`${n}:id:${t.id}`;for(const r of Vx)if(t[r]!==void 0)return`${n}:${r}:${t[r]}`;return!1}const jn="%separator";function Hx(e,t,n=!1){var o;let r;if(t==="s"||t==="pageTitle")r=e.pageTitle;else if(t.includes(".")){const a=t.indexOf(".");r=(o=e[t.substring(0,a)])==null?void 0:o[t.substring(a+1)]}else r=e[t];if(r!==void 0)return n?(r||"").replace(/"/g,'\\"'):r||""}const qx=new RegExp(`${jn}(?:\\s*${jn})*`,"g");function Za(e,t,n,r=!1){if(typeof e!="string"||!e.includes("%"))return e;let o=e;try{o=decodeURI(e)}catch{}const a=o.match(/%\w+(?:\.\w+)?/g);if(!a)return e;const i=e.includes(jn);return e=e.replace(/%\w+(?:\.\w+)?/g,s=>{if(s===jn||!a.includes(s))return s;const l=Hx(t,s.slice(1),r);return l!==void 0?l:s}).trim(),i&&(e.endsWith(jn)&&(e=e.slice(0,-jn.length)),e.startsWith(jn)&&(e=e.slice(jn.length)),e=e.replace(qx,n).trim()),e}function Gf(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function Iy(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!!r.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async o=>{var d;const a=(await e.resolveTags()).map(f=>({tag:f,id:ci.has(f.tag)?sc(f):f.tag,shouldRender:!0}));let i=e._dom;if(!i){i={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};const f=new Set;for(const m of["body","head"]){const b=(d=n[m])==null?void 0:d.children;for(const y of b){const x=y.tagName.toLowerCase();if(!ci.has(x))continue;const w={tag:x,props:await Ty(y.getAttributeNames().reduce((_,S)=>({..._,[S]:y.getAttribute(S)}),{})),innerHTML:y.innerHTML},g=Ey(w);let h=g,p=1;for(;h&&f.has(h);)h=`${g}:${p++}`;h&&(w._d=h,f.add(h)),i.elMap[y.getAttribute("data-hid")||sc(w)]=y}}}i.pendingSideEffects={...i.sideEffects},i.sideEffects={};function s(f,m,b){const y=`${f}:${m}`;i.sideEffects[y]=b,delete i.pendingSideEffects[y]}function l({id:f,$el:m,tag:b}){const y=b.tag.endsWith("Attrs");if(i.elMap[f]=m,y||(b.textContent&&b.textContent!==m.textContent&&(m.textContent=b.textContent),b.innerHTML&&b.innerHTML!==m.innerHTML&&(m.innerHTML=b.innerHTML),s(f,"el",()=>{var x;(x=i.elMap[f])==null||x.remove(),delete i.elMap[f]})),b._eventHandlers)for(const x in b._eventHandlers)Object.prototype.hasOwnProperty.call(b._eventHandlers,x)&&m.getAttribute(`data-${x}`)!==""&&((b.tag==="bodyAttrs"?n.defaultView:m).addEventListener(x.substring(2),b._eventHandlers[x].bind(m)),m.setAttribute(`data-${x}`,""));for(const x in b.props){if(!Object.prototype.hasOwnProperty.call(b.props,x))continue;const w=b.props[x],g=`attr:${x}`;if(x==="class"){if(!w)continue;for(const h of w.split(" "))y&&s(f,`${g}:${h}`,()=>m.classList.remove(h)),!m.classList.contains(h)&&m.classList.add(h)}else if(x==="style"){if(!w)continue;for(const h of w.split(";")){const p=h.indexOf(":"),_=h.substring(0,p).trim(),S=h.substring(p+1).trim();s(f,`${g}:${_}`,()=>{m.style.removeProperty(_)}),m.style.setProperty(_,S)}}else m.getAttribute(x)!==w&&m.setAttribute(x,w===!0?"":String(w)),y&&s(f,g,()=>m.removeAttribute(x))}}const c=[],u={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of a){const{tag:m,shouldRender:b,id:y}=f;if(b){if(m.tag==="title"){n.title=m.textContent;continue}f.$el=f.$el||i.elMap[y],f.$el?l(f):ci.has(m.tag)&&c.push(f)}}for(const f of c){const m=f.tag.tagPosition||"head";f.$el=n.createElement(f.tag.tag),l(f),u[m]=u[m]||n.createDocumentFragment(),u[m].appendChild(f.$el)}for(const f of a)await e.hooks.callHook("dom:renderTag",f,n,s);u.head&&n.head.appendChild(u.head),u.bodyOpen&&n.body.insertBefore(u.bodyOpen,n.body.firstChild),u.bodyClose&&n.body.appendChild(u.bodyClose);for(const f in i.pendingSideEffects)i.pendingSideEffects[f]();e._dom=i,await e.hooks.callHook("dom:rendered",{renders:a}),o()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function jx(e,t={}){const n=t.delayFn||(r=>setTimeout(r,10));return e._domDebouncedUpdatePromise=e._domDebouncedUpdatePromise||new Promise(r=>n(()=>Iy(e,t).then(()=>{delete e._domDebouncedUpdatePromise,r()})))}function Wx(e){return t=>{var r,o;const n=((o=(r=t.resolvedOptions.document)==null?void 0:r.head.querySelector('script[id="unhead:payload"]'))==null?void 0:o.innerHTML)||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":a=>{jx(a,e)}}}}}const zx=new Set(["templateParams","htmlAttrs","bodyAttrs"]),Gx={hooks:{"tag:normalise":({tag:e})=>{e.props.hid&&(e.key=e.props.hid,delete e.props.hid),e.props.vmid&&(e.key=e.props.vmid,delete e.props.vmid),e.props.key&&(e.key=e.props.key,delete e.props.key);const t=Ey(e);t&&!t.startsWith("meta:og:")&&!t.startsWith("meta:twitter:")&&delete e.key;const n=t||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":e=>{const t=Object.create(null);for(const r of e.tags){const o=(r.key?`${r.tag}:${r.key}`:r._d)||sc(r),a=t[o];if(a){let s=r==null?void 0:r.tagDuplicateStrategy;if(!s&&zx.has(r.tag)&&(s="merge"),s==="merge"){const l=a.props;l.style&&r.props.style&&(l.style[l.style.length-1]!==";"&&(l.style+=";"),r.props.style=`${l.style} ${r.props.style}`),l.class&&r.props.class?r.props.class=`${l.class} ${r.props.class}`:l.class&&(r.props.class=l.class),t[o].props={...l,...r.props};continue}else if(r._e===a._e){a._duped=a._duped||[],r._d=`${a._d}:${a._duped.length+1}`,a._duped.push(r);continue}else if(Ui(r)>Ui(a))continue}if(!(r.innerHTML||r.textContent||Object.keys(r.props).length!==0)&&ci.has(r.tag)){delete t[o];continue}t[o]=r}const n=[];for(const r in t){const o=t[r],a=o._duped;n.push(o),a&&(delete o._duped,n.push(...a))}e.tags=n,e.tags=e.tags.filter(r=>!(r.tag==="meta"&&(r.props.name||r.props.property)&&!r.props.content))}}},Kx=new Set(["script","link","bodyAttrs"]),Yx=e=>({hooks:{"tags:resolve":t=>{for(const n of t.tags){if(!Kx.has(n.tag))continue;const r=n.props;for(const o in r){if(o[0]!=="o"||o[1]!=="n"||!Object.prototype.hasOwnProperty.call(r,o))continue;const a=r[o];typeof a=="function"&&(e.ssr&&jf.has(o)?r[o]=`this.dataset.${o}fired = true`:delete r[o],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[o]=a)}e.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||$i(n.props.src||n.props.href))}},"dom:renderTag":({$el:t,tag:n})=>{var o,a;const r=t==null?void 0:t.dataset;if(r)for(const i in r){if(!i.endsWith("fired"))continue;const s=i.slice(0,-5);jf.has(s)&&((a=(o=n._eventHandlers)==null?void 0:o[s])==null||a.call(t,new Event(s.substring(2))))}}}}),Jx=new Set(["link","style","script","noscript"]),Qx={hooks:{"tag:normalise":({tag:e})=>{e.key&&Jx.has(e.tag)&&(e.props["data-hid"]=e._h=$i(e.key))}}},Xx={mode:"server",hooks:{"tags:beforeResolve":e=>{const t={};let n=!1;for(const r of e.tags)r._m!=="server"||r.tag!=="titleTemplate"&&r.tag!=="templateParams"&&r.tag!=="title"||(t[r.tag]=r.tag==="title"||r.tag==="titleTemplate"?r.textContent:r.props,n=!0);n&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},Zx={hooks:{"tags:resolve":e=>{var t;for(const n of e.tags)if(typeof n.tagPriority=="string")for(const{prefix:r,offset:o}of Fx){if(!n.tagPriority.startsWith(r))continue;const a=n.tagPriority.substring(r.length),i=(t=e.tags.find(s=>s._d===a))==null?void 0:t._p;if(i!==void 0){n._p=i+o;break}}e.tags.sort((n,r)=>{const o=Ui(n),a=Ui(r);return o<a?-1:o>a?1:n._p-r._p})}}},eC={meta:"content",link:"href",htmlAttrs:"lang"},tC=["innerHTML","textContent"],nC=e=>({hooks:{"tags:resolve":t=>{var i;const{tags:n}=t;let r;for(let s=0;s<n.length;s+=1)n[s].tag==="templateParams"&&(r=t.tags.splice(s,1)[0].props,s-=1);const o=r||{},a=o.separator||"|";delete o.separator,o.pageTitle=Za(o.pageTitle||((i=n.find(s=>s.tag==="title"))==null?void 0:i.textContent)||"",o,a);for(const s of n){if(s.processTemplateParams===!1)continue;const l=eC[s.tag];if(l&&typeof s.props[l]=="string")s.props[l]=Za(s.props[l],o,a);else if(s.processTemplateParams||s.tag==="titleTemplate"||s.tag==="title")for(const c of tC)typeof s[c]=="string"&&(s[c]=Za(s[c],o,a,s.tag==="script"&&s.props.type.endsWith("json")))}e._templateParams=o,e._separator=a},"tags:afterResolve":({tags:t})=>{let n;for(let r=0;r<t.length;r+=1){const o=t[r];o.tag==="title"&&o.processTemplateParams!==!1&&(n=o)}n!=null&&n.textContent&&(n.textContent=Za(n.textContent,e._templateParams,e._separator))}}}),rC={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n,r;for(let o=0;o<t.length;o+=1){const a=t[o];a.tag==="title"?n=a:a.tag==="titleTemplate"&&(r=a)}if(r&&n){const o=Gf(r.textContent,n.textContent);o!==null?n.textContent=o||n.textContent:e.tags.splice(e.tags.indexOf(n),1)}else if(r){const o=Gf(r.textContent);o!==null&&(r.textContent=o,r.tag="title",r=void 0)}r&&e.tags.splice(e.tags.indexOf(r),1)}}},oC={hooks:{"tags:afterResolve":e=>{for(const t of e.tags)typeof t.innerHTML=="string"&&(t.innerHTML&&(t.props.type==="application/ld+json"||t.props.type==="application/json")?t.innerHTML=t.innerHTML.replace(/</g,"\\u003C"):t.innerHTML=t.innerHTML.replace(new RegExp(`</${t.tag}`,"g"),`<\\/${t.tag}`))}}};let Py;function aC(e={}){const t=iC(e);return t.use(Wx()),Py=t}function Kf(e,t){return!e||e==="server"&&t||e==="client"&&!t}function iC(e={}){const t=dy();t.addHooks(e.hooks||{}),e.document=e.document||(Nx?document:void 0);const n=!e.document,r=()=>{s.dirty=!0,t.callHook("entries:updated",s)};let o=0,a=[];const i=[],s={plugins:i,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return a},use(l){const c=typeof l=="function"?l(s):l;(!c.key||!i.some(u=>u.key===c.key))&&(i.push(c),Kf(c.mode,n)&&t.addHooks(c.hooks||{}))},push(l,c){c==null||delete c.head;const u={_i:o++,input:l,...c};return Kf(u.mode,n)&&(a.push(u),r()),{dispose(){a=a.filter(d=>d._i!==u._i),r()},patch(d){for(const f of a)f._i===u._i&&(f.input=u.input=d);r()}}},async resolveTags(){const l={tags:[],entries:[...a]};await t.callHook("entries:resolve",l);for(const c of l.entries){const u=c.resolvedInput||c.input;if(c.resolvedInput=await(c.transform?c.transform(u):u),c.resolvedInput)for(const d of await Ux(c)){const f={tag:d,entry:c,resolvedOptions:s.resolvedOptions};await t.callHook("tag:normalise",f),l.tags.push(f.tag)}}return await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),await t.callHook("tags:afterResolve",l),l.tags},ssr:n};return[Gx,Xx,Yx,Qx,Zx,nC,rC,oC,...(e==null?void 0:e.plugins)||[]].forEach(l=>s.use(l)),s.hooks.callHook("init",s),s}function sC(){return Py}const lC=_s[0]==="3";function cC(e){return typeof e=="function"?e():B(e)}function Fi(e){if(e instanceof Promise||e instanceof Date||e instanceof RegExp)return e;const t=cC(e);if(!e||!t)return t;if(Array.isArray(t))return t.map(n=>Fi(n));if(typeof t=="object"){const n={};for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)){if(r==="titleTemplate"||r[0]==="o"&&r[1]==="n"){n[r]=B(t[r]);continue}n[r]=Fi(t[r])}return n}return t}const uC={hooks:{"entries:resolve":e=>{for(const t of e.entries)t.resolvedInput=Fi(t.input)}}},Oy="usehead";function dC(e){return{install(n){lC&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Oy,e))}}.install}function fC(e={}){e.domDelayFn=e.domDelayFn||(n=>at(()=>setTimeout(()=>n(),0)));const t=aC(e);return t.use(uC),t.install=dC(t),t}const cc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},uc="__unhead_injection_handler__";function pC(e){cc[uc]=e}function mC(){if(uc in cc)return cc[uc]();const e=ot(Oy);return e||sC()}function Gt(e,t={}){const n=t.head||mC();if(n)return n.ssr?n.push(e,t):hC(n,e,t)}function hC(e,t,n={}){const r=he(!1),o=he({});Yn(()=>{o.value=r.value?{}:Fi(t)});const a=e.push(o.value,n);return pt(o,s=>{a.patch(s)}),tt()&&(Lr(()=>{a.dispose()}),fs(()=>{r.value=!0}),ds(()=>{r.value=!1})),a}let ui,di;function gC(){return ui=$fetch(cd(`builds/meta/${xr().app.buildId}.json`),{responseType:"json"}),ui.then(e=>{di=dx(e.matcher)}).catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),ui}function Is(){return ui||gC()}async function dd(e){if(await Is(),!di)return console.error("[nuxt] Error creating app manifest matcher.",di),{};try{return vy({},...di.matchAll(e).reverse())}catch(t){return console.error("[nuxt] Error matching route rules.",t),{}}}async function Yf(e,t={}){const n=await bC(e,t),r=G(),o=r._payloadCache=r._payloadCache||{};return n in o?o[n]||null:(o[n]=Ay(e).then(a=>a?Ly(n).then(i=>i||(delete o[n],null)):(o[n]=null,null)),o[n])}const yC="_payload.json";async function bC(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||Mr(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=xr(),o=t.hash||(t.fresh?Date.now():r.app.buildId),a=r.app.cdnURL,i=a&&await Ay(e)?a:r.app.baseURL;return ld(i,n.pathname,yC+(o?`?${o}`:""))}async function Ly(e){const t=fetch(e).then(n=>n.text().then(My));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function Ay(e=Ge().path){if(e=sd(e),(await Is()).prerendered.includes(e))return!0;const n=await dd(e);return!!n.prerender&&!n.redirect}let ur=null;async function vC(){var r;if(ur)return ur;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await My(e.textContent||""),n=e.dataset.src?await Ly(e.dataset.src):void 0;return ur={...t,...n,...window.__NUXT__},(r=ur.config)!=null&&r.public&&(ur.config.public=Ye(ur.config.public)),ur}async function My(e){return await Ox(e,G()._payloadRevivers)}function _C(e,t){G()._payloadRevivers[e]=t}const wC=[["NuxtError",e=>Oa(e)],["EmptyShallowRef",e=>An(e==="_"?void 0:e==="0n"?BigInt(0):sa(e))],["EmptyRef",e=>he(e==="_"?void 0:e==="0n"?BigInt(0):sa(e))],["ShallowRef",e=>An(e)],["ShallowReactive",e=>rn(e)],["Ref",e=>he(e)],["Reactive",e=>Ye(e)]],xC=ut({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[r,o]of wC)_C(r,o);Object.assign(e.payload,([t,n]=gr(()=>e.runWithContext(vC)),t=await t,n(),t)),window.__NUXT__=e.payload}}),CC=[],SC=ut({name:"nuxt:head",enforce:"pre",setup(e){const t=fC({plugins:CC});pC(()=>G().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await Iy(t)};t.hooks.hook("dom:beforeRender",o=>{o.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||r()}),e.hooks.hook("app:error",r),e.hooks.hook("app:suspense:resolve",r)}}});/*! * vue-router v4.5.0 * (c) 2024 Eduardo San Martin Morote * @license MIT */const Hr=typeof document<"u";function Ry(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function TC(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Ry(e.default)}const Ae=Object.assign;function ul(e,t){const n={};for(const r in t){const o=t[r];n[r]=sn(o)?o.map(e):e(o)}return n}const Go=()=>{},sn=Array.isArray,Ny=/#/g,kC=/&/g,EC=/\//g,IC=/=/g,PC=/\?/g,By=/\+/g,OC=/%5B/g,LC=/%5D/g,Dy=/%5E/g,AC=/%60/g,$y=/%7B/g,MC=/%7C/g,Uy=/%7D/g,RC=/%20/g;function fd(e){return encodeURI(""+e).replace(MC,"|").replace(OC,"[").replace(LC,"]")}function NC(e){return fd(e).replace($y,"{").replace(Uy,"}").replace(Dy,"^")}function dc(e){return fd(e).replace(By,"%2B").replace(RC,"+").replace(Ny,"%23").replace(kC,"%26").replace(AC,"`").replace($y,"{").replace(Uy,"}").replace(Dy,"^")}function BC(e){return dc(e).replace(IC,"%3D")}function DC(e){return fd(e).replace(Ny,"%23").replace(PC,"%3F")}function $C(e){return e==null?"":DC(e).replace(EC,"%2F")}function la(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const UC=/\/$/,FC=e=>e.replace(UC,"");function dl(e,t,n="/"){let r,o={},a="",i="";const s=t.indexOf("#");let l=t.indexOf("?");return s<l&&s>=0&&(l=-1),l>-1&&(r=t.slice(0,l),a=t.slice(l+1,s>-1?s:t.length),o=e(a)),s>-1&&(r=r||t.slice(0,s),i=t.slice(s,t.length)),r=jC(r??t,n),{fullPath:r+(a&&"?")+a+i,path:r,query:o,hash:la(i)}}function VC(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Jf(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function HC(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&mo(t.matched[r],n.matched[o])&&Fy(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function mo(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Fy(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!qC(e[n],t[n]))return!1;return!0}function qC(e,t){return sn(e)?Qf(e,t):sn(t)?Qf(t,e):e===t}function Qf(e,t){return sn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function jC(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let a=n.length-1,i,s;for(i=0;i<r.length;i++)if(s=r[i],s!==".")if(s==="..")a>1&&a--;else break;return n.slice(0,a).join("/")+"/"+r.slice(i).join("/")}const en={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var ca;(function(e){e.pop="pop",e.push="push"})(ca||(ca={}));var Ko;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Ko||(Ko={}));function WC(e){if(!e)if(Hr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),FC(e)}const zC=/^[^#]+#/;function GC(e,t){return e.replace(zC,"#")+t}function KC(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Ps=()=>({left:window.scrollX,top:window.scrollY});function YC(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=KC(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Xf(e,t){return(history.state?history.state.position-t:-1)+e}const fc=new Map;function JC(e,t){fc.set(e,t)}function QC(e){const t=fc.get(e);return fc.delete(e),t}let XC=()=>location.protocol+"//"+location.host;function Vy(e,t){const{pathname:n,search:r,hash:o}=t,a=e.indexOf("#");if(a>-1){let s=o.includes(e.slice(a))?e.slice(a).length:1,l=o.slice(s);return l[0]!=="/"&&(l="/"+l),Jf(l,"")}return Jf(n,e)+r+o}function ZC(e,t,n,r){let o=[],a=[],i=null;const s=({state:f})=>{const m=Vy(e,location),b=n.value,y=t.value;let x=0;if(f){if(n.value=m,t.value=f,i&&i===b){i=null;return}x=y?f.position-y.position:0}else r(m);o.forEach(w=>{w(n.value,b,{delta:x,type:ca.pop,direction:x?x>0?Ko.forward:Ko.back:Ko.unknown})})};function l(){i=n.value}function c(f){o.push(f);const m=()=>{const b=o.indexOf(f);b>-1&&o.splice(b,1)};return a.push(m),m}function u(){const{history:f}=window;f.state&&f.replaceState(Ae({},f.state,{scroll:Ps()}),"")}function d(){for(const f of a)f();a=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:d}}function Zf(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?Ps():null}}function eS(e){const{history:t,location:n}=window,r={value:Vy(e,n)},o={value:t.state};o.value||a(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(l,c,u){const d=e.indexOf("#"),f=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+l:XC()+e+l;try{t[u?"replaceState":"pushState"](c,"",f),o.value=c}catch(m){console.error(m),n[u?"replace":"assign"](f)}}function i(l,c){const u=Ae({},t.state,Zf(o.value.back,l,o.value.forward,!0),c,{position:o.value.position});a(l,u,!0),r.value=l}function s(l,c){const u=Ae({},o.value,t.state,{forward:l,scroll:Ps()});a(u.current,u,!0);const d=Ae({},Zf(r.value,l,null),{position:u.position+1},c);a(l,d,!1),r.value=l}return{location:r,state:o,push:s,replace:i}}function Hy(e){e=WC(e);const t=eS(e),n=ZC(e,t.state,t.location,t.replace);function r(a,i=!0){i||n.pauseListeners(),history.go(a)}const o=Ae({location:"",base:e,go:r,createHref:GC.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function tS(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Hy(e)}function nS(e){return typeof e=="string"||e&&typeof e=="object"}function qy(e){return typeof e=="string"||typeof e=="symbol"}const jy=Symbol("");var ep;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(ep||(ep={}));function ho(e,t){return Ae(new Error,{type:e,[jy]:!0},t)}function Cn(e,t){return e instanceof Error&&jy in e&&(t==null||!!(e.type&t))}const tp="[^/]+?",rS={sensitive:!1,strict:!1,start:!0,end:!0},oS=/[.+*?^${}()[\]/\\]/g;function aS(e,t){const n=Ae({},rS,t),r=[];let o=n.start?"^":"";const a=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(o+="/");for(let d=0;d<c.length;d++){const f=c[d];let m=40+(n.sensitive?.25:0);if(f.type===0)d||(o+="/"),o+=f.value.replace(oS,"\\$&"),m+=40;else if(f.type===1){const{value:b,repeatable:y,optional:x,regexp:w}=f;a.push({name:b,repeatable:y,optional:x});const g=w||tp;if(g!==tp){m+=10;try{new RegExp(`(${g})`)}catch(p){throw new Error(`Invalid custom RegExp for param "${b}" (${g}): `+p.message)}}let h=y?`((?:${g})(?:/(?:${g}))*)`:`(${g})`;d||(h=x&&c.length<2?`(?:/${h})`:"/"+h),x&&(h+="?"),o+=h,m+=20,x&&(m+=-8),y&&(m+=-20),g===".*"&&(m+=-50)}u.push(m)}r.push(u)}if(n.strict&&n.end){const c=r.length-1;r[c][r[c].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const i=new RegExp(o,n.sensitive?"":"i");function s(c){const u=c.match(i),d={};if(!u)return null;for(let f=1;f<u.length;f++){const m=u[f]||"",b=a[f-1];d[b.name]=m&&b.repeatable?m.split("/"):m}return d}function l(c){let u="",d=!1;for(const f of e){(!d||!u.endsWith("/"))&&(u+="/"),d=!1;for(const m of f)if(m.type===0)u+=m.value;else if(m.type===1){const{value:b,repeatable:y,optional:x}=m,w=b in c?c[b]:"";if(sn(w)&&!y)throw new Error(`Provided param "${b}" is an array but it is not repeatable (* or + modifiers)`);const g=sn(w)?w.join("/"):w;if(!g)if(x)f.length<2&&(u.endsWith("/")?u=u.slice(0,-1):d=!0);else throw new Error(`Missing required param "${b}"`);u+=g}}return u||"/"}return{re:i,score:r,keys:a,parse:s,stringify:l}}function iS(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function Wy(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const a=iS(r[n],o[n]);if(a)return a;n++}if(Math.abs(o.length-r.length)===1){if(np(r))return 1;if(np(o))return-1}return o.length-r.length}function np(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const sS={type:0,value:""},lS=/[a-zA-Z0-9_]/;function cS(e){if(!e)return[[]];if(e==="/")return[[sS]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${c}": ${m}`)}let n=0,r=n;const o=[];let a;function i(){a&&o.push(a),a=[]}let s=0,l,c="",u="";function d(){c&&(n===0?a.push({type:0,value:c}):n===1||n===2||n===3?(a.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function f(){c+=l}for(;s<e.length;){if(l=e[s++],l==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:l==="/"?(c&&d(),i()):l===":"?(d(),n=1):f();break;case 4:f(),n=r;break;case 1:l==="("?n=2:lS.test(l)?f():(d(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&s--);break;case 2:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=3:u+=l;break;case 3:d(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&s--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),d(),i(),o}function uS(e,t,n){const r=aS(cS(e.path),n),o=Ae(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function dS(e,t){const n=[],r=new Map;t=ip({strict:!1,end:!0,sensitive:!1},t);function o(d){return r.get(d)}function a(d,f,m){const b=!m,y=op(d);y.aliasOf=m&&m.record;const x=ip(t,d),w=[y];if("alias"in d){const p=typeof d.alias=="string"?[d.alias]:d.alias;for(const _ of p)w.push(op(Ae({},y,{components:m?m.record.components:y.components,path:_,aliasOf:m?m.record:y})))}let g,h;for(const p of w){const{path:_}=p;if(f&&_[0]!=="/"){const S=f.record.path,E=S[S.length-1]==="/"?"":"/";p.path=f.record.path+(_&&E+_)}if(g=uS(p,f,x),m?m.alias.push(g):(h=h||g,h!==g&&h.alias.push(g),b&&d.name&&!ap(g)&&i(d.name)),zy(g)&&l(g),y.children){const S=y.children;for(let E=0;E<S.length;E++)a(S[E],g,m&&m.children[E])}m=m||g}return h?()=>{i(h)}:Go}function i(d){if(qy(d)){const f=r.get(d);f&&(r.delete(d),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(d);f>-1&&(n.splice(f,1),d.record.name&&r.delete(d.record.name),d.children.forEach(i),d.alias.forEach(i))}}function s(){return n}function l(d){const f=mS(d,n);n.splice(f,0,d),d.record.name&&!ap(d)&&r.set(d.record.name,d)}function c(d,f){let m,b={},y,x;if("name"in d&&d.name){if(m=r.get(d.name),!m)throw ho(1,{location:d});x=m.record.name,b=Ae(rp(f.params,m.keys.filter(h=>!h.optional).concat(m.parent?m.parent.keys.filter(h=>h.optional):[]).map(h=>h.name)),d.params&&rp(d.params,m.keys.map(h=>h.name))),y=m.stringify(b)}else if(d.path!=null)y=d.path,m=n.find(h=>h.re.test(y)),m&&(b=m.parse(y),x=m.record.name);else{if(m=f.name?r.get(f.name):n.find(h=>h.re.test(f.path)),!m)throw ho(1,{location:d,currentLocation:f});x=m.record.name,b=Ae({},f.params,d.params),y=m.stringify(b)}const w=[];let g=m;for(;g;)w.unshift(g.record),g=g.parent;return{name:x,path:y,params:b,matched:w,meta:pS(w)}}e.forEach(d=>a(d));function u(){n.length=0,r.clear()}return{addRoute:a,resolve:c,removeRoute:i,clearRoutes:u,getRoutes:s,getRecordMatcher:o}}function rp(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function op(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:fS(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function fS(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function ap(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function pS(e){return e.reduce((t,n)=>Ae(t,n.meta),{})}function ip(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function mS(e,t){let n=0,r=t.length;for(;n!==r;){const a=n+r>>1;Wy(e,t[a])<0?r=a:n=a+1}const o=hS(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function hS(e){let t=e;for(;t=t.parent;)if(zy(t)&&Wy(e,t)===0)return t}function zy({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function gS(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;o<r.length;++o){const a=r[o].replace(By," "),i=a.indexOf("="),s=la(i<0?a:a.slice(0,i)),l=i<0?null:la(a.slice(i+1));if(s in t){let c=t[s];sn(c)||(c=t[s]=[c]),c.push(l)}else t[s]=l}return t}function sp(e){let t="";for(let n in e){const r=e[n];if(n=BC(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(sn(r)?r.map(a=>a&&dc(a)):[r&&dc(r)]).forEach(a=>{a!==void 0&&(t+=(t.length?"&":"")+n,a!=null&&(t+="="+a))})}return t}function yS(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=sn(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const bS=Symbol(""),lp=Symbol(""),pd=Symbol(""),md=Symbol(""),pc=Symbol("");function Lo(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Wn(e,t,n,r,o,a=i=>i()){const i=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((s,l)=>{const c=f=>{f===!1?l(ho(4,{from:n,to:t})):f instanceof Error?l(f):nS(f)?l(ho(2,{from:t,to:f})):(i&&r.enterCallbacks[o]===i&&typeof f=="function"&&i.push(f),s())},u=a(()=>e.call(r&&r.instances[o],t,n,c));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch(f=>l(f))})}function fl(e,t,n,r,o=a=>a()){const a=[];for(const i of e)for(const s in i.components){let l=i.components[s];if(!(t!=="beforeRouteEnter"&&!i.instances[s]))if(Ry(l)){const u=(l.__vccOpts||l)[t];u&&a.push(Wn(u,n,r,i,s,o))}else{let c=l();a.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${s}" at "${i.path}"`);const d=TC(u)?u.default:u;i.mods[s]=u,i.components[s]=d;const m=(d.__vccOpts||d)[t];return m&&Wn(m,n,r,i,s,o)()}))}}return a}function cp(e){const t=ot(pd),n=ot(md),r=se(()=>{const l=B(e.to);return t.resolve(l)}),o=se(()=>{const{matched:l}=r.value,{length:c}=l,u=l[c-1],d=n.matched;if(!u||!d.length)return-1;const f=d.findIndex(mo.bind(null,u));if(f>-1)return f;const m=up(l[c-2]);return c>1&&up(u)===m&&d[d.length-1].path!==m?d.findIndex(mo.bind(null,l[c-2])):f}),a=se(()=>o.value>-1&&CS(n.params,r.value.params)),i=se(()=>o.value>-1&&o.value===n.matched.length-1&&Fy(n.params,r.value.params));function s(l={}){if(xS(l)){const c=t[B(e.replace)?"replace":"push"](B(e.to)).catch(Go);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:r,href:se(()=>r.value.href),isActive:a,isExactActive:i,navigate:s}}function vS(e){return e.length===1?e[0]:e}const _S=Qe({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:cp,setup(e,{slots:t}){const n=Ye(cp(e)),{options:r}=ot(pd),o=se(()=>({[dp(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[dp(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const a=t.default&&vS(t.default(n));return e.custom?a:We("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},a)}}}),wS=_S;function xS(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function CS(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!sn(o)||o.length!==r.length||r.some((a,i)=>a!==o[i]))return!1}return!0}function up(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const dp=(e,t,n)=>e??t??n,SS=Qe({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=ot(pc),o=se(()=>e.route||r.value),a=ot(lp,0),i=se(()=>{let c=B(a);const{matched:u}=o.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),s=se(()=>o.value.matched[i.value]);vt(lp,se(()=>i.value+1)),vt(bS,s),vt(pc,o);const l=he();return pt(()=>[l.value,s.value,e.name],([c,u,d],[f,m,b])=>{u&&(u.instances[d]=c,m&&m!==u&&c&&c===f&&(u.leaveGuards.size||(u.leaveGuards=m.leaveGuards),u.updateGuards.size||(u.updateGuards=m.updateGuards))),c&&u&&(!m||!mo(u,m)||!f)&&(u.enterCallbacks[d]||[]).forEach(y=>y(c))},{flush:"post"}),()=>{const c=o.value,u=e.name,d=s.value,f=d&&d.components[u];if(!f)return fp(n.default,{Component:f,route:c});const m=d.props[u],b=m?m===!0?c.params:typeof m=="function"?m(c):m:null,x=We(f,Ae({},b,t,{onVnodeUnmounted:w=>{w.component.isUnmounted&&(d.instances[u]=null)},ref:l}));return fp(n.default,{Component:x,route:c})||x}}});function fp(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Gy=SS;function TS(e){const t=dS(e.routes,e),n=e.parseQuery||gS,r=e.stringifyQuery||sp,o=e.history,a=Lo(),i=Lo(),s=Lo(),l=An(en);let c=en;Hr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=ul.bind(null,D=>""+D),d=ul.bind(null,$C),f=ul.bind(null,la);function m(D,Z){let ne,ie;return qy(D)?(ne=t.getRecordMatcher(D),ie=Z):ie=D,t.addRoute(ie,ne)}function b(D){const Z=t.getRecordMatcher(D);Z&&t.removeRoute(Z)}function y(){return t.getRoutes().map(D=>D.record)}function x(D){return!!t.getRecordMatcher(D)}function w(D,Z){if(Z=Ae({},Z||l.value),typeof D=="string"){const k=dl(n,D,Z.path),M=t.resolve({path:k.path},Z),W=o.createHref(k.fullPath);return Ae(k,M,{params:f(M.params),hash:la(k.hash),redirectedFrom:void 0,href:W})}let ne;if(D.path!=null)ne=Ae({},D,{path:dl(n,D.path,Z.path).path});else{const k=Ae({},D.params);for(const M in k)k[M]==null&&delete k[M];ne=Ae({},D,{params:d(k)}),Z.params=d(Z.params)}const ie=t.resolve(ne,Z),ge=D.hash||"";ie.params=u(f(ie.params));const pe=VC(r,Ae({},D,{hash:NC(ge),path:ie.path})),C=o.createHref(pe);return Ae({fullPath:pe,hash:ge,query:r===sp?yS(D.query):D.query||{}},ie,{redirectedFrom:void 0,href:C})}function g(D){return typeof D=="string"?dl(n,D,l.value.path):Ae({},D)}function h(D,Z){if(c!==D)return ho(8,{from:Z,to:D})}function p(D){return E(D)}function _(D){return p(Ae(g(D),{replace:!0}))}function S(D){const Z=D.matched[D.matched.length-1];if(Z&&Z.redirect){const{redirect:ne}=Z;let ie=typeof ne=="function"?ne(D):ne;return typeof ie=="string"&&(ie=ie.includes("?")||ie.includes("#")?ie=g(ie):{path:ie},ie.params={}),Ae({query:D.query,hash:D.hash,params:ie.path!=null?{}:D.params},ie)}}function E(D,Z){const ne=c=w(D),ie=l.value,ge=D.state,pe=D.force,C=D.replace===!0,k=S(ne);if(k)return E(Ae(g(k),{state:typeof k=="object"?Ae({},ge,k.state):ge,force:pe,replace:C}),Z||ne);const M=ne;M.redirectedFrom=Z;let W;return!pe&&HC(r,ie,ne)&&(W=ho(16,{to:M,from:ie}),be(ie,ie,!0,!1)),(W?Promise.resolve(W):v(M,ie)).catch(H=>Cn(H)?Cn(H,2)?H:me(H):j(H,M,ie)).then(H=>{if(H){if(Cn(H,2))return E(Ae({replace:C},g(H.to),{state:typeof H.to=="object"?Ae({},ge,H.to.state):ge,force:pe}),Z||M)}else H=I(M,ie,!0,C,ge);return T(M,ie,H),H})}function F(D,Z){const ne=h(D,Z);return ne?Promise.reject(ne):Promise.resolve()}function N(D){const Z=J.values().next().value;return Z&&typeof Z.runWithContext=="function"?Z.runWithContext(D):D()}function v(D,Z){let ne;const[ie,ge,pe]=kS(D,Z);ne=fl(ie.reverse(),"beforeRouteLeave",D,Z);for(const k of ie)k.leaveGuards.forEach(M=>{ne.push(Wn(M,D,Z))});const C=F.bind(null,D,Z);return ne.push(C),_e(ne).then(()=>{ne=[];for(const k of a.list())ne.push(Wn(k,D,Z));return ne.push(C),_e(ne)}).then(()=>{ne=fl(ge,"beforeRouteUpdate",D,Z);for(const k of ge)k.updateGuards.forEach(M=>{ne.push(Wn(M,D,Z))});return ne.push(C),_e(ne)}).then(()=>{ne=[];for(const k of pe)if(k.beforeEnter)if(sn(k.beforeEnter))for(const M of k.beforeEnter)ne.push(Wn(M,D,Z));else ne.push(Wn(k.beforeEnter,D,Z));return ne.push(C),_e(ne)}).then(()=>(D.matched.forEach(k=>k.enterCallbacks={}),ne=fl(pe,"beforeRouteEnter",D,Z,N),ne.push(C),_e(ne))).then(()=>{ne=[];for(const k of i.list())ne.push(Wn(k,D,Z));return ne.push(C),_e(ne)}).catch(k=>Cn(k,8)?k:Promise.reject(k))}function T(D,Z,ne){s.list().forEach(ie=>N(()=>ie(D,Z,ne)))}function I(D,Z,ne,ie,ge){const pe=h(D,Z);if(pe)return pe;const C=Z===en,k=Hr?history.state:{};ne&&(ie||C?o.replace(D.fullPath,Ae({scroll:C&&k&&k.scroll},ge)):o.push(D.fullPath,ge)),l.value=D,be(D,Z,ne,C),me()}let A;function z(){A||(A=o.listen((D,Z,ne)=>{if(!ce.listening)return;const ie=w(D),ge=S(ie);if(ge){E(Ae(ge,{replace:!0,force:!0}),ie).catch(Go);return}c=ie;const pe=l.value;Hr&&JC(Xf(pe.fullPath,ne.delta),Ps()),v(ie,pe).catch(C=>Cn(C,12)?C:Cn(C,2)?(E(Ae(g(C.to),{force:!0}),ie).then(k=>{Cn(k,20)&&!ne.delta&&ne.type===ca.pop&&o.go(-1,!1)}).catch(Go),Promise.reject()):(ne.delta&&o.go(-ne.delta,!1),j(C,ie,pe))).then(C=>{C=C||I(ie,pe,!1),C&&(ne.delta&&!Cn(C,8)?o.go(-ne.delta,!1):ne.type===ca.pop&&Cn(C,20)&&o.go(-1,!1)),T(ie,pe,C)}).catch(Go)}))}let $=Lo(),R=Lo(),q;function j(D,Z,ne){me(D);const ie=R.list();return ie.length?ie.forEach(ge=>ge(D,Z,ne)):console.error(D),Promise.reject(D)}function X(){return q&&l.value!==en?Promise.resolve():new Promise((D,Z)=>{$.add([D,Z])})}function me(D){return q||(q=!D,z(),$.list().forEach(([Z,ne])=>D?ne(D):Z()),$.reset()),D}function be(D,Z,ne,ie){const{scrollBehavior:ge}=e;if(!Hr||!ge)return Promise.resolve();const pe=!ne&&QC(Xf(D.fullPath,0))||(ie||!ne)&&history.state&&history.state.scroll||null;return at().then(()=>ge(D,Z,pe)).then(C=>C&&YC(C)).catch(C=>j(C,D,Z))}const Q=D=>o.go(D);let U;const J=new Set,ce={currentRoute:l,listening:!0,addRoute:m,removeRoute:b,clearRoutes:t.clearRoutes,hasRoute:x,getRoutes:y,resolve:w,options:e,push:p,replace:_,go:Q,back:()=>Q(-1),forward:()=>Q(1),beforeEach:a.add,beforeResolve:i.add,afterEach:s.add,onError:R.add,isReady:X,install(D){const Z=this;D.component("RouterLink",wS),D.component("RouterView",Gy),D.config.globalProperties.$router=Z,Object.defineProperty(D.config.globalProperties,"$route",{enumerable:!0,get:()=>B(l)}),Hr&&!U&&l.value===en&&(U=!0,p(o.location).catch(ge=>{}));const ne={};for(const ge in en)Object.defineProperty(ne,ge,{get:()=>l.value[ge],enumerable:!0});D.provide(pd,Z),D.provide(md,rn(ne)),D.provide(pc,l);const ie=D.unmount;J.add(D),D.unmount=function(){J.delete(D),J.size<1&&(c=en,A&&A(),A=null,l.value=en,U=!1,q=!1),ie()}}};function _e(D){return D.reduce((Z,ne)=>Z.then(()=>N(ne)),Promise.resolve())}return ce}function kS(e,t){const n=[],r=[],o=[],a=Math.max(t.matched.length,e.matched.length);for(let i=0;i<a;i++){const s=t.matched[i];s&&(e.matched.find(c=>mo(c,s))?r.push(s):n.push(s));const l=e.matched[i];l&&(t.matched.find(c=>mo(c,l))||o.push(l))}return[n,r,o]}function ES(e){return ot(md)}const IS=/(:\w+)\([^)]+\)/g,PS=/(:\w+)[?+*]/g,OS=/:\w+/g,LS=(e,t)=>t.path.replace(IS,"$1").replace(PS,"$1").replace(OS,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""}),mc=(e,t)=>{const n=e.route.matched.find(o=>{var a;return((a=o.components)==null?void 0:a.default)===e.Component.type}),r=t??(n==null?void 0:n.meta.key)??(n&&LS(e.route,n));return typeof r=="function"?r(e.route):r},AS=(e,t)=>({default:()=>e?We(Ru,e===!0?{}:e,t):t});function hd(e){return Array.isArray(e)?e:[e]}const MS="modulepreload",RS=function(e,t){return new URL(e,t).href},pp={},L=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){const i=document.getElementsByTagName("link"),s=document.querySelector("meta[property=csp-nonce]"),l=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));o=Promise.allSettled(n.map(c=>{if(c=RS(c,r),c in pp)return;pp[c]=!0;const u=c.endsWith(".css"),d=u?'[rel="stylesheet"]':"";if(!!r)for(let b=i.length-1;b>=0;b--){const y=i[b];if(y.href===c&&(!u||y.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${d}`))return;const m=document.createElement("link");if(m.rel=u?"stylesheet":MS,u||(m.as="script"),m.crossOrigin="",m.href=c,l&&m.setAttribute("nonce",l),document.head.appendChild(m),u)return new Promise((b,y)=>{m.addEventListener("load",b),m.addEventListener("error",()=>y(new Error(`Unable to preload CSS for ${c}`)))})}))}function a(i){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=i,window.dispatchEvent(s),!s.defaultPrevented)throw i}return o.then(i=>{for(const s of i||[])s.status==="rejected"&&a(s.reason);return t().catch(a)})},NS={layout:"admin"},pl=[{name:"Healthz",path:"/Healthz",component:()=>L(()=>import("./Healthz-CGzjCWYl.mjs"),[],import.meta.url)},{name:"ContentRedirect",path:"/:id([0-9]{8})",component:()=>L(()=>import("./ContentRedirect-B5kHwSJe.mjs"),__vite__mapDeps([0,1,2]),import.meta.url)},{name:"ContentPrintPage",path:"/print/content/:id",component:()=>L(()=>import("./ContentPrintPage-DRJGjQLL.mjs"),__vite__mapDeps([3,1,4]),import.meta.url)},{name:"ManageContent",path:"/admin/content",meta:{layout:"admin"},component:()=>L(()=>import("./ManageContent-DYkuBT4s.mjs"),__vite__mapDeps([5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66]),import.meta.url)},{name:"CreateContent",path:"/admin/create-content/:type",meta:{layout:"admin"},component:()=>L(()=>import("./EditContent-DCME02EU.mjs"),__vite__mapDeps([67,68,13,7,8,14,33,34,35,36,15,16,69,70,71,72,73,74,75,44,76,77,78,79,80,81,82,83,84,85,86,40,41,64,87,9,10,88,89,90,91,17,18,19,20,21,22,43,45,46,47,50,51,52,53,54,55,56,57,58,59,60,11,12,28,29,61,62,92,93,94,38,37,39,48,95,96,97]),import.meta.url)},{name:"ResearchContent",path:"/admin/content-research",meta:{layout:"admin"},component:()=>L(()=>import("./ResearchContent-DqS7kjBM.mjs"),__vite__mapDeps([98,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66]),import.meta.url)},{name:"EditContent",path:"/admin/edit-content/:id",meta:{layout:"admin"},component:()=>L(()=>import("./EditContent-DCME02EU.mjs"),__vite__mapDeps([67,68,13,7,8,14,33,34,35,36,15,16,69,70,71,72,73,74,75,44,76,77,78,79,80,81,82,83,84,85,86,40,41,64,87,9,10,88,89,90,91,17,18,19,20,21,22,43,45,46,47,50,51,52,53,54,55,56,57,58,59,60,11,12,28,29,61,62,92,93,94,38,37,39,48,95,96,97]),import.meta.url)},{name:"ContentSyndication",path:"/admin/content-syndication",meta:{layout:"admin"},component:()=>L(()=>import("./ContentSyndication-DnOgK-ov.mjs"),__vite__mapDeps([99,33,13,7,8,14,34,35,36,15,16,50,51,52,53,54,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,100]),import.meta.url)},{name:"WebsiteSectionList",path:"/admin/website-sections",meta:{layout:"admin"},component:()=>L(()=>import("./WebsiteSectionList-B--iOHxd.mjs"),__vite__mapDeps([101,102,103,13,7,8,14,104]),import.meta.url)},{name:"EditWebsiteSection",path:"/admin/edit-website-section/:id",meta:{layout:"admin"},component:()=>L(()=>import("./EditWebsiteSection-CIDy86V1.mjs"),__vite__mapDeps([105,102,103,69,70,53,54,7,8,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,106]),import.meta.url)},{name:"CreateWebsiteSection",path:"/admin/create-website-section",meta:{layout:"admin"},component:()=>L(()=>import("./EditWebsiteSection-CIDy86V1.mjs"),__vite__mapDeps([105,102,103,69,70,53,54,7,8,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,106]),import.meta.url)},{name:"CMSUserLogin",path:"/admin/login",meta:{layout:"admin"},component:()=>L(()=>import("./CMSUserLogin-B8hrsi6n.mjs"),__vite__mapDeps([107,7,8,69,70,53,54,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,108]),import.meta.url)},{name:"CMSUserLogout",path:"/admin/logout",meta:{layout:"admin"},component:()=>L(()=>import("./CMSUserLogout-C3M6dXsz.mjs"),__vite__mapDeps([109,7,8,69,70,53,54,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,110]),import.meta.url)},{name:"CMSUserProfile",path:"/admin/user",meta:{layout:"admin"},component:()=>L(()=>import("./CMSUserProfile-BlRBZR77.mjs"),__vite__mapDeps([111,33,13,7,8,14,34,35,36,69,70,53,54,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,112]),import.meta.url)},{name:"CMSUserList",path:"/admin/cms-users",meta:{layout:"admin"},component:()=>L(()=>import("./CMSUserList-Chv9-jsS.mjs"),__vite__mapDeps([113,33,13,7,8,14,34,35,36,15,16,50,51,52,53,54,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,65,40,41,114]),import.meta.url)},{name:"CreateUser",path:"/admin/create-cms-user",meta:{layout:"admin"},component:()=>L(()=>import("./CMSUserList-Chv9-jsS.mjs"),__vite__mapDeps([113,33,13,7,8,14,34,35,36,15,16,50,51,52,53,54,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,65,40,41,114]),import.meta.url)},{name:"ActivateCMSUser",path:"/admin/user/activate",meta:{layout:"admin"},component:()=>L(()=>import("./CMSUserResetPassword-BEZ5GxCD.mjs"),__vite__mapDeps([115,33,13,7,8,14,34,35,36,69,70,53,54,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,116]),import.meta.url)},{name:"ResetCMSUserPassword",path:"/admin/user/reset-password",meta:{layout:"admin"},component:()=>L(()=>import("./CMSUserResetPassword-BEZ5GxCD.mjs"),__vite__mapDeps([115,33,13,7,8,14,34,35,36,69,70,53,54,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,116]),import.meta.url)},{name:"SystemPage",path:"/admin/system",meta:{layout:"admin"},component:()=>L(()=>import("./SystemPage-Bkh4FGf8.mjs"),__vite__mapDeps([117,7,8,69,70,53,54,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,118]),import.meta.url)},{name:"HistoryList",path:"/admin/history",meta:{layout:"admin"},component:()=>L(()=>import("./HistoryList-CdTrt9ha.mjs"),__vite__mapDeps([119,33,13,7,8,14,34,35,36,15,16,50,51,52,53,54,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,120,121]),import.meta.url)},{name:"MenuList",path:"/admin/menus",meta:{layout:"admin"},component:()=>L(()=>import("./MenuList-CrtqGvMh.mjs"),__vite__mapDeps([122,53,54,7,8,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,33,13,14,34,35,36,40,41,123]),import.meta.url)},{name:"AdUnitPatternList",path:"/admin/ad-unit-patterns",meta:{layout:"admin"},component:()=>L(()=>import("./AdUnitPatternList-C1IpwVKY.mjs"),__vite__mapDeps([124,53,54,7,8,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,33,13,14,34,35,36,40,41,125]),import.meta.url)},{name:"CreateAdUnitPattern",path:"/admin/create-ad-unit-pattern",meta:{layout:"admin"},component:()=>L(()=>import("./AdUnitPatternList-C1IpwVKY.mjs"),__vite__mapDeps([124,53,54,7,8,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,33,13,14,34,35,36,40,41,125]),import.meta.url)},{name:"RedirectList",path:"/admin/redirects",meta:{layout:"admin"},component:()=>L(()=>import("./RedirectList-CRSIEFsT.mjs"),__vite__mapDeps([126,33,13,7,8,14,34,35,36,15,16,50,51,52,53,54,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,40,41,127]),import.meta.url)},{name:"CreateRedirect",path:"/admin/create-redirect",meta:{layout:"admin"},component:()=>L(()=>import("./RedirectList-CRSIEFsT.mjs"),__vite__mapDeps([126,33,13,7,8,14,34,35,36,15,16,50,51,52,53,54,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,40,41,127]),import.meta.url)},{name:"LayoutList",path:"/admin/layouts",meta:{layout:"admin"},component:()=>L(()=>import("./LayoutList-CnJjTiX5.mjs"),__vite__mapDeps([128,89,90,53,54,7,8,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,129]),import.meta.url)},{name:"EditLayout",path:"/admin/edit-web-layout/:id",meta:{layout:"admin"},component:()=>L(()=>import("./EditLayout-BqwmDbbH.mjs"),__vite__mapDeps([130,33,13,7,8,14,34,35,36,15,16,131,55,56,57,18,19,58,59,60,40,41,132,89,90,28,29,53,54,11,12,61,45,46,62,133,134]),import.meta.url)},{name:"CreateLayout",path:"/admin/create-web-layout",meta:{layout:"admin"},component:()=>L(()=>import("./EditLayout-BqwmDbbH.mjs"),__vite__mapDeps([130,33,13,7,8,14,34,35,36,15,16,131,55,56,57,18,19,58,59,60,40,41,132,89,90,28,29,53,54,11,12,61,45,46,62,133,134]),import.meta.url)},{name:"EditSiteSettings",path:"/admin/edit-site-settings",meta:{layout:"admin"},component:()=>L(()=>import("./EditSiteSettings-zkRfQZAI.mjs"),__vite__mapDeps([135,33,13,7,8,14,34,35,36,69,70,53,54,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,136]),import.meta.url)},{name:"EditCTAMessage",path:"/admin/edit-cta-message",meta:NS||{},component:()=>L(()=>import("./EditCTAMessage-BFmaoqQP.mjs"),__vite__mapDeps([137,33,13,7,8,14,34,35,36,69,70,53,54,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,138]),import.meta.url)},{name:"MEIGSettings",path:"/admin/meig-settings",meta:{layout:"admin"},component:()=>L(()=>import("./MEIGSettings-eEFXbysy.mjs"),__vite__mapDeps([139,33,13,7,8,14,34,35,36,69,70,53,54,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,140]),import.meta.url)},{name:"EditEnabledModules",path:"/admin/edit-enabled-modules",meta:{layout:"admin"},component:()=>L(()=>import("./EditEnabledModules-BeTE-M1d.mjs"),__vite__mapDeps([141,9,10,53,54,7,8,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,142]),import.meta.url)},{name:"TestDateInput",path:"/admin/test",meta:{layout:"admin"},component:()=>L(()=>import("./TestDateInput-SMl3CDSR.mjs"),__vite__mapDeps([143,13,7,8,14,69,70,53,54,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,144]),import.meta.url)},{name:"TestFormAPI",path:"/admin/test-form-api",meta:{layout:"admin"},component:()=>L(()=>import("./TestFormAPI-wpyVnoua.mjs"),__vite__mapDeps([145,33,13,7,8,14,34,35,36,69,70,89,90,146,120,121,147,53,54,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,148]),import.meta.url)},{name:"NewsletterTemplateList",path:"/admin/newsletter-templates",meta:{layout:"admin"},component:()=>L(()=>import("./NewsletterTemplateList-C663scPC.mjs"),__vite__mapDeps([149,53,54,7,8,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,150]),import.meta.url)},{name:"CreateNewsletterTemplate",path:"/admin/create-newsletter-template",meta:{layout:"admin"},component:()=>L(()=>import("./EditNewsletterTemplate-2GZo8dQC.mjs"),__vite__mapDeps([151,7,8,33,13,14,34,35,36,15,16,131,55,56,57,18,19,58,59,60,40,41,132,89,90,152,28,29,6,9,10,11,12,17,20,21,22,23,24,25,26,27,30,31,32,37,38,39,42,43,44,45,46,47,48,49,50,51,52,53,54,61,62,63,64,65,66,153,154,155]),import.meta.url)},{name:"EditNewsletterTemplate",path:"/admin/edit-newsletter-template/:id",meta:{layout:"admin"},component:()=>L(()=>import("./EditNewsletterTemplate-2GZo8dQC.mjs"),__vite__mapDeps([151,7,8,33,13,14,34,35,36,15,16,131,55,56,57,18,19,58,59,60,40,41,132,89,90,152,28,29,6,9,10,11,12,17,20,21,22,23,24,25,26,27,30,31,32,37,38,39,42,43,44,45,46,47,48,49,50,51,52,53,54,61,62,63,64,65,66,153,154,155]),import.meta.url)},{name:"NewsletterCampaignList",path:"/admin/newsletter-campaigns",meta:{layout:"admin"},component:()=>L(()=>import("./NewsletterCampaignList-CpQ-jzk3.mjs"),__vite__mapDeps([156,33,13,7,8,14,34,35,36,15,16,28,29,50,51,52,53,54,55,56,57,18,19,58,59,60,11,12,61,45,46,62,40,41,157]),import.meta.url)},{name:"CreateNewsletterCampaign",path:"/admin/create-newsletter-campaign",props:!0,meta:{layout:"admin"},component:()=>L(()=>import("./EditNewsletterCampaign-Cr6OjCl3.mjs"),__vite__mapDeps([158,159,160,33,13,7,8,14,34,35,36,15,16,71,72,146,120,121,147,152,28,29,6,9,10,11,12,17,18,19,20,21,22,23,24,25,26,27,30,31,32,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,153,154,69,70,161,162]),import.meta.url)},{name:"EditNewsletterCampaign",path:"/admin/edit-newsletter-campaign/:id",meta:{layout:"admin"},component:()=>L(()=>import("./EditNewsletterCampaign-Cr6OjCl3.mjs"),__vite__mapDeps([158,159,160,33,13,7,8,14,34,35,36,15,16,71,72,146,120,121,147,152,28,29,6,9,10,11,12,17,18,19,20,21,22,23,24,25,26,27,30,31,32,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,153,154,69,70,161,162]),import.meta.url)},{name:"NewsletterCampaignHTML",path:"/newsletter/:campaignId",component:()=>L(()=>import("./NewsletterCampaignHTML-BRTlO0dv.mjs"),[],import.meta.url)},{name:"LatestNewsletterCampaignHTML",path:"/latest-newsletter/:templateId",component:()=>L(()=>import("./NewsletterCampaignHTML-BRTlO0dv.mjs"),[],import.meta.url)},{name:"NewsletterAdList",path:"/admin/newsletter-ads",meta:{layout:"admin"},component:()=>L(()=>import("./NewsletterAdList-CcueDlFE.mjs"),__vite__mapDeps([163,33,13,7,8,14,34,35,36,15,16,50,51,52,53,54,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,40,41,164]),import.meta.url)},{name:"CreateNewsletterAd",path:"/admin/create-newsletter-ad",meta:{layout:"admin"},component:()=>L(()=>import("./NewsletterAdList-CcueDlFE.mjs"),__vite__mapDeps([163,33,13,7,8,14,34,35,36,15,16,50,51,52,53,54,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,40,41,164]),import.meta.url)},{name:"NewsletterContentList",path:"/admin/newsletter-content",meta:{layout:"admin"},component:()=>L(()=>import("./NewsletterContentList-BRTc7_Q8.mjs"),__vite__mapDeps([165,33,13,7,8,14,34,35,36,15,16,42,43,44,45,46,47,38,37,39,40,41,48,49,53,54,55,56,57,18,19,58,59,60,11,12,28,29,61,62,166]),import.meta.url)},{name:"NewsletterSettings",path:"/admin/newsletter-settings",meta:{layout:"admin"},component:()=>L(()=>import("./NewsletterSettings-ylAcPnv8.mjs"),__vite__mapDeps([167,33,13,7,8,14,34,35,36,69,70,53,54,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,168]),import.meta.url)},{name:"MembershipList",path:"/admin/memberships",meta:{layout:"admin"},component:()=>L(()=>import("./MembershipList-gF_u12aZ.mjs"),__vite__mapDeps([169,53,54,7,8,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,159,160,33,13,14,34,35,36,40,41,170]),import.meta.url)},{name:"CreateMembership",path:"/admin/create-membership",meta:{layout:"admin"},component:()=>L(()=>import("./MembershipList-gF_u12aZ.mjs"),__vite__mapDeps([169,53,54,7,8,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,159,160,33,13,14,34,35,36,40,41,170]),import.meta.url)},{name:"IpGatingSettingsList",path:"/admin/ip-gating-settings",meta:{layout:"admin"},component:()=>L(()=>import("./IpGatingSettingsList-J6Kkm7cm.mjs"),__vite__mapDeps([171,53,54,7,8,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,33,13,14,34,35,36,40,41,172]),import.meta.url)},{name:"CreateIpGatingSettings",path:"/admin/create-ip-gating",meta:{layout:"admin"},component:()=>L(()=>import("./IpGatingSettingsList-J6Kkm7cm.mjs"),__vite__mapDeps([171,53,54,7,8,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,33,13,14,34,35,36,40,41,172]),import.meta.url)},{name:"MembershipSettings",path:"/admin/membership-settings",meta:{layout:"admin"},component:()=>L(()=>import("./MembershipSettings-BZWRG-Lk.mjs"),__vite__mapDeps([173,33,13,7,8,14,34,35,36,69,70,53,54,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,174]),import.meta.url)},{name:"MigrateSiteUsers",path:"/admin/migrate-site-users",meta:{layout:"admin"},component:()=>L(()=>import("./MigrateSiteUsers-iveNvMU9.mjs"),__vite__mapDeps([175,33,13,7,8,14,34,35,36,69,70,53,54,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,176]),import.meta.url)},{name:"SiteUsersList",path:"/admin/site-users",meta:{layout:"admin"},component:()=>L(()=>import("./SiteUsersList-D1uJ82jb.mjs"),__vite__mapDeps([177,33,13,7,8,14,34,35,36,15,16,50,51,52,53,54,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,178,179,180,181,40,41,182]),import.meta.url)},{name:"PrintExportList",path:"/admin/print-exports",meta:{layout:"admin"},component:()=>L(()=>import("./PrintExportList-CVNUAWMC.mjs"),__vite__mapDeps([183,33,13,7,8,14,34,35,36,28,29,50,51,52,53,54,55,56,57,18,19,58,59,60,11,12,61,45,46,62,69,70,89,90,37,40,41,184]),import.meta.url)},{name:"Page Speed Report",path:"/admin/page-speed-report",meta:{layout:"admin"},component:()=>L(()=>import("./PageSpeedReport-DL-gGSxy.mjs"),__vite__mapDeps([185,53,54,7,8,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,33,13,14,34,35,36,40,41,186]),import.meta.url)},{name:"Company Export",path:"/admin/company-export",meta:{layout:"admin"},component:()=>L(()=>import("./CompanyPrintExport-B8X5MCrC.mjs"),__vite__mapDeps([187,7,8,53,54,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,188,189,190]),import.meta.url)},{name:"Taxonomy Export",path:"/admin/taxonomy-export",meta:{layout:"admin"},component:()=>L(()=>import("./TaxonomyExport-Bb5Pb0W3.mjs"),__vite__mapDeps([191,33,13,7,8,14,34,35,36,69,70,53,54,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,188,189,192]),import.meta.url)},{name:"RMI Report",path:"/admin/rmi-report",meta:{layout:"admin"},component:()=>L(()=>import("./RMIReport-hE32Zzss.mjs"),__vite__mapDeps([193,33,13,7,8,14,34,35,36,69,70,53,54,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,188,189,194]),import.meta.url)},{name:"Ad Unit Settings Report",path:"/admin/ad-unit-settings-report",meta:{layout:"admin"},component:()=>L(()=>import("./AdOpsSettingsReport-Cn1a5Vnk.mjs"),__vite__mapDeps([195,33,13,7,8,14,34,35,36,69,70,53,54,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,188,189,196]),import.meta.url)},{name:"CompanyUpdate",path:"/company-update/:hash",component:()=>L(()=>import("./CompanyUpdate-ClHxxWIz.mjs"),__vite__mapDeps([197,68,13,7,8,14,48,198]),import.meta.url)},{name:"CompanyUpdateList",path:"/admin/company-updates",meta:{layout:"admin"},component:()=>L(()=>import("./CompanyUpdateList-5MqzbN4J.mjs"),__vite__mapDeps([199,200,51,201,53,54,7,8,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,68,13,14,48,40,41,202]),import.meta.url)},{name:"TaxonomyManagement",path:"/admin/taxonomy",meta:{layout:"admin"},component:()=>L(()=>import("./TaxonomyManagement-DTWWhc0R.mjs"),__vite__mapDeps([203,33,13,7,8,14,34,35,36,15,16,50,51,52,53,54,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,204,205,40,41,25,26,27,30,206]),import.meta.url)},{name:"CompanyUpdatePublic",path:"/company-update/:hash",component:()=>L(()=>import("./CompanyUpdate-ClHxxWIz.mjs"),__vite__mapDeps([197,68,13,7,8,14,48,198]),import.meta.url)},{name:"CompanyUpdateManagement",path:"/admin/company-updates",meta:{layout:"admin"},component:()=>L(()=>import("./CompanyUpdateList-5MqzbN4J.mjs"),__vite__mapDeps([199,200,51,201,53,54,7,8,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,68,13,14,48,40,41,202]),import.meta.url)},{name:"CompanyUpdateManage",path:"/admin/company-updates/:id",meta:{layout:"admin"},component:()=>L(()=>import("./CompanyUpdateList-5MqzbN4J.mjs"),__vite__mapDeps([199,200,51,201,53,54,7,8,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,68,13,14,48,40,41,202]),import.meta.url)},{name:"EditorialTrackingReport",path:"/admin/editorial-tracking-report",meta:{layout:"admin"},component:()=>L(()=>import("./EditorialTrackingReport-C54RC86D.mjs"),__vite__mapDeps([207,33,13,7,8,14,34,35,36,69,70,26,27,28,29,53,54,55,56,57,18,19,58,59,60,11,12,61,45,46,62,188,189,63,64,65,208]),import.meta.url)},{name:"ContentVelocityReport",path:"/admin/content-velocity-report",meta:{layout:"admin"},component:()=>L(()=>import("./ContentVelocityReport-BOXt4l1w.mjs"),__vite__mapDeps([209,33,13,7,8,14,34,35,36,69,70,26,27,28,29,53,54,55,56,57,18,19,58,59,60,11,12,61,45,46,62,188,189,63,64,65,210]),import.meta.url)},{name:"ContentDetailReport",path:"/admin/content-detail-report",meta:{layout:"admin"},component:()=>L(()=>import("./ContentDetailReport-CoMpDCvB.mjs"),__vite__mapDeps([211,33,13,7,8,14,34,35,36,69,70,26,27,28,29,53,54,55,56,57,18,19,58,59,60,11,12,61,45,46,62,188,189,212]),import.meta.url)},{name:"ContentLengthReport",path:"/admin/content-length-report",meta:{layout:"admin"},component:()=>L(()=>import("./ContentLengthReport-BFPhnE6f.mjs"),__vite__mapDeps([213,33,13,7,8,14,34,35,36,69,70,26,27,28,29,53,54,55,56,57,18,19,58,59,60,11,12,61,45,46,62,188,189,214]),import.meta.url)},{name:"DigitalMediaLibrary",path:"/admin/digital-media-library",meta:{layout:"admin"},component:()=>L(()=>import("./ManageDigitalMediaLibrary-DvE4ivyK.mjs"),__vite__mapDeps([215,91,33,13,7,8,14,34,35,36,15,16,17,18,19,20,21,22,43,44,45,46,47,40,41,50,51,52,87,9,10,88,53,54,55,56,57,58,59,60,11,12,28,29,61,62,92]),import.meta.url)},{name:"BulkContentUpdate",path:"/admin/bulk-update-content",meta:{layout:"admin"},component:()=>L(()=>import("./BulkUpdateContent-8DHJLYAM.mjs"),__vite__mapDeps([216,33,13,7,8,14,34,35,36,69,70,26,27,28,29,189,188,217]),import.meta.url)},{name:"Admin",path:"/admin",meta:{layout:"admin"},component:()=>L(()=>import("./index-Bj7BRXyd.mjs"),[],import.meta.url)},{name:"ViafouraValidate",path:"/users/validate/viafoura",component:()=>L(()=>import("./ViafouraValidate-B5W3AbE3.mjs"),[],import.meta.url)},{name:"RobotsTxt",path:"/robots.txt",component:()=>L(()=>import("./RobotsTxt-Ce5WsBEu.mjs"),[],import.meta.url)},{name:"DragonformCss",path:"/css/dragonform.css",component:()=>L(()=>import("./DragonformCss-B2TbFg_N.mjs"),[],import.meta.url)},{name:"SitemapPages",path:"/sitemap.xml",component:()=>L(()=>import("./SitemapPages-IZXwE1Yi.mjs"),[],import.meta.url)},{name:"SitemapPagesGoogle",path:"/sitemap-google-news.xml",component:()=>L(()=>import("./SitemapPages-IZXwE1Yi.mjs"),[],import.meta.url)},{name:"SitemapPage",path:"/sitemap/:pathMatch(.*)",component:()=>L(()=>import("./SitemapPages-IZXwE1Yi.mjs"),[],import.meta.url)},{name:"ContractList",path:"/admin/contracts",meta:{layout:"admin"},component:()=>L(()=>import("./ContractList-B9zrBqDj.mjs"),__vite__mapDeps([218,33,13,7,8,14,34,35,36,15,16,50,51,52,53,54,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,219,220,221,222,223]),import.meta.url)},{name:"ContractCreate",path:"/admin/create-contract",meta:{layout:"admin"},component:()=>L(()=>import("./EditContract-BFjUQB62.mjs"),__vite__mapDeps([224,13,7,8,14,33,34,35,36,15,16,225,226,69,70,53,54,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,220,219,221,96,227,228]),import.meta.url)},{name:"ContractEdit",path:"/admin/contract/:id",meta:{layout:"admin"},component:()=>L(()=>import("./EditContract-BFjUQB62.mjs"),__vite__mapDeps([224,13,7,8,14,33,34,35,36,15,16,225,226,69,70,53,54,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,220,219,221,96,227,228]),import.meta.url)},{name:"ContractSettings",path:"/admin/contracts/settings",meta:{layout:"admin"},component:()=>L(()=>import("./ContractSettings-DHIYzUnO.mjs"),__vite__mapDeps([229,33,13,7,8,14,34,35,36,69,70,53,54,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,230]),import.meta.url)},{name:"ContractPage",path:"/contract/:id",component:()=>L(()=>import("./ContractPage-DD-gEvd8.mjs"),__vite__mapDeps([231,225,226,161,219,232,227,35,233]),import.meta.url)},{name:"PersonList",path:"/admin/persons",meta:{layout:"admin"},component:()=>L(()=>import("./PersonList-CmuNNRR1.mjs"),__vite__mapDeps([234,33,13,7,8,14,34,35,36,15,16,50,51,52,53,54,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,221,96,40,41,222,235]),import.meta.url)},{name:"PublicationsList",path:"/admin/magazine-publications/",meta:{layout:"admin"},component:()=>L(()=>import("./MagazinePublicationsList-Hk2SlV3C.mjs"),__vite__mapDeps([236,33,13,7,8,14,34,35,36,40,41,53,54,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,237]),import.meta.url)},{name:"IssuesList",path:"/admin/magazine-issues/",meta:{layout:"admin"},component:()=>L(()=>import("./MagazineIssuesList-CcxYwOlc.mjs"),__vite__mapDeps([238,33,13,7,8,14,34,35,36,15,16,40,41,50,51,52,53,54,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62]),import.meta.url)},{name:"SectionsList",path:"/admin/magazine-sections/",meta:{layout:"admin"},component:()=>L(()=>import("./MagazineSectionsList-C29wdc2i.mjs"),__vite__mapDeps([239,33,13,7,8,14,34,35,36,15,16,40,41,50,51,52,53,54,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,240]),import.meta.url)},{name:"OpenAI",path:"/admin/openai",meta:{layout:"admin"},component:()=>L(()=>import("./OpenAI-C_i8FRKb.mjs"),__vite__mapDeps([241,33,13,7,8,14,34,35,36,69,70,53,54,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,242]),import.meta.url)},{name:"SystemAlertList",path:"/admin/system-alerts/",meta:{layout:"admin"},component:()=>L(()=>import("./SystemAlertList-DmjQPxBV.mjs"),__vite__mapDeps([243,50,51,52,53,54,7,8,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,33,13,14,34,35,36,40,41,244]),import.meta.url)},{name:"LayoutBlockUsage",path:"/admin/layout-block-usage",meta:{layout:"admin"},component:()=>L(()=>import("./LayoutBlockUsage-px0q5PDz.mjs"),__vite__mapDeps([245,7,8,15,16,53,54,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,133,153,246]),import.meta.url)},{name:"LayoutBlockOptionUsage",path:"/admin/layout-block-option-usage",meta:{layout:"admin"},component:()=>L(()=>import("./LayoutBlockOptionUsage-y_QdbMYi.mjs"),__vite__mapDeps([247,7,8,15,16,53,54,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,133,248]),import.meta.url)},{name:"NLBlockAnalysis",path:"/admin/nl-block-analysis",meta:{layout:"admin"},component:()=>L(()=>import("./NewsletterBlockAnalysis-BsdG-pb-.mjs"),__vite__mapDeps([249,7,8,15,16,53,54,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,153,250]),import.meta.url)},{name:"LayoutAnalysis",path:"/admin/layout-analysis",meta:{layout:"admin"},component:()=>L(()=>import("./LayoutAnalysis-BmQn1FIk.mjs"),__vite__mapDeps([251,7,8,15,16,53,54,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,133,252]),import.meta.url)},{name:"SiteSettingsAnalysis",path:"/admin/ss-analysis",meta:{layout:"admin"},component:()=>L(()=>import("./SiteSettingsAnalysis-DLRlcRe7.mjs"),__vite__mapDeps([253,7,8,15,16,53,54,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,153,254]),import.meta.url)},{name:"AspireToAspireMigrationConfig",path:"/admin/aspire-to-aspire-migration-config",meta:{layout:"admin"},component:()=>L(()=>import("./AspiretoAspireMigrationConfig-0lx9LvIl.mjs"),__vite__mapDeps([255,33,13,7,8,14,34,35,36,15,16,69,70,53,54,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,256]),import.meta.url)},{name:"AspireToAspireMigration",path:"/admin/run-aspire-to-aspire-migration",meta:{layout:"admin"},component:()=>L(()=>import("./RunAspireToAspireMigration-Bvofu0I3.mjs"),__vite__mapDeps([257,7,8,15,16,258,259,26,27,53,54,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,260]),import.meta.url)},{name:"SiteSettingsNew",path:"/admin/site-settings-new",meta:{layout:"admin"},component:()=>L(()=>import("./SiteSettingsNew-DPO9WCVB.mjs"),__vite__mapDeps([261,33,13,7,8,14,34,35,36,69,70,53,54,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,262]),import.meta.url)},{name:"ColorTest",path:"/admin/color-test",meta:{layout:"admin"},component:()=>L(()=>import("./ColorTest-CNPd44wY.mjs"),__vite__mapDeps([263,33,13,7,8,14,34,35,36,15,16,69,70,53,54,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,264]),import.meta.url)},{name:"MigrateToNewDesign",path:"/admin/migrate-to-new-design",meta:{layout:"admin"},component:()=>L(()=>import("./MigrateToNewDesign-BgUwU0g6.mjs"),__vite__mapDeps([265,7,8,53,54,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,34,35,266]),import.meta.url)},{name:"UpdateLayoutScheduleOptions",path:"/admin/update-layout-schedule-options",meta:{layout:"admin"},component:()=>L(()=>import("./UpdateLayoutScheduleOptions-ByjkSeOk.mjs"),__vite__mapDeps([267,7,8,53,54,55,56,57,18,19,58,59,60,11,12,28,29,61,45,46,62,34,35,268]),import.meta.url)},{name:"IpTest",path:"/ip-test",component:()=>L(()=>import("./IpTest-BCkifoho.mjs"),__vite__mapDeps([269,270]),import.meta.url)},{name:"ContentPage",path:"/:pathMatch(.*)",component:()=>L(()=>import("./ContentPage-CoBN3gES.mjs"),[],import.meta.url)}],Ky=(e,t,n)=>(t=t===!0?{}:t,{default:()=>{var r;return t?We(e,t,n):(r=n.default)==null?void 0:r.call(n)}}),BS=/(:\w+)\([^)]+\)/g,DS=/(:\w+)[?+*]/g,$S=/:\w+/g;function mp(e){const t=(e==null?void 0:e.meta.key)??e.path.replace(BS,"$1").replace(DS,"$1").replace($S,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""});return typeof t=="function"?t(e):t}function US(e,t){return e===t||t===en?!1:mp(e)!==mp(t)?!0:!e.matched.every((r,o)=>{var a,i;return r.components&&r.components.default===((i=(a=t.matched[o])==null?void 0:a.components)==null?void 0:i.default)})}const FS={scrollBehavior(e,t,n){var c;const r=G(),o=((c=Xt().options)==null?void 0:c.scrollBehaviorType)??"auto";let a=n||void 0;const i=typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop;if(!a&&t&&e&&i!==!1&&US(e,t)&&(a={left:0,top:0}),e.path===t.path)return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:hp(e.hash),behavior:o}:!1;const s=u=>!!(u.meta.pageTransition??tc),l=s(t)&&s(e)?"page:transition:finish":"page:finish";return new Promise(u=>{r.hooks.hookOnce(l,async()=>{await new Promise(d=>setTimeout(d,0)),e.hash&&(a={el:e.hash,top:hp(e.hash),behavior:o}),u(a)})})}};function hp(e){try{const t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}const VS={hashMode:!1,scrollBehaviorType:"auto"},zt={...VS,...FS},HS=async e=>{var l;let t,n;if(!((l=e.meta)!=null&&l.validate))return;const r=G(),o=Xt(),a=([t,n]=gr(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t);if(a===!0)return;const i=Oa({statusCode:a&&a.statusCode||404,statusMessage:a&&a.statusMessage||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}}),s=o.beforeResolve(c=>{if(s(),c===e){const u=o.afterEach(async()=>{u(),await r.runWithContext(()=>Kr(i)),window==null||window.history.pushState({},"",e.fullPath)});return!1}})},qS=async e=>{let t,n;const r=([t,n]=gr(()=>dd(e.path)),t=await t,n(),t);if(r.redirect)return Mr(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},jS=[HS,qS],Yo={};function WS(e,t,n){const{pathname:r,search:o,hash:a}=t,i=e.indexOf("#");if(i>-1){const c=a.includes(e.slice(i))?e.slice(i).length:1;let u=a.slice(c);return u[0]!=="/"&&(u="/"+u),Lf(u,"")}const s=Lf(r,e),l=!n||Zw(s,n,{trailingSlash:!0})?s:n;return l+(l.includes("?")?"":o)+a}const zS=ut({name:"nuxt:router",enforce:"pre",async setup(e){var x;let t,n,r=xr().app.baseURL;zt.hashMode&&!r.includes("#")&&(r+="#");const o=((x=zt.history)==null?void 0:x.call(zt,r))??(zt.hashMode?tS(r):Hy(r)),a=zt.routes?([t,n]=gr(()=>zt.routes(pl)),t=await t,n(),t??pl):pl;let i;const s=TS({...zt,scrollBehavior:(w,g,h)=>{if(g===en){i=h;return}if(zt.scrollBehavior){if(s.options.scrollBehavior=zt.scrollBehavior,"scrollRestoration"in window.history){const p=s.beforeEach(()=>{p(),window.history.scrollRestoration="manual"})}return zt.scrollBehavior(w,en,i||h)}},history:o,routes:a});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(s);const l=An(s.currentRoute.value);s.afterEach((w,g)=>{l.value=g}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const c=WS(r,window.location,e.payload.path),u=An(s.currentRoute.value),d=()=>{u.value=s.currentRoute.value};e.hook("page:finish",d),s.afterEach((w,g)=>{var h,p,_,S;((p=(h=w.matched[0])==null?void 0:h.components)==null?void 0:p.default)===((S=(_=g.matched[0])==null?void 0:_.components)==null?void 0:S.default)&&d()});const f={};for(const w in u.value)Object.defineProperty(f,w,{get:()=>u.value[w],enumerable:!0});e._route=rn(f),e._middleware=e._middleware||{global:[],named:{}};const m=Es();s.afterEach(async(w,g,h)=>{delete e._processingMiddleware,!e.isHydrating&&m.value&&await e.runWithContext(_x),h&&await e.callHook("page:loading:end")});try{[t,n]=gr(()=>s.isReady()),await t,n()}catch(w){[t,n]=gr(()=>e.runWithContext(()=>Kr(w))),await t,n()}const b=c!==s.currentRoute.value.fullPath?s.resolve(c):s.currentRoute.value;d();const y=e.payload.state._layout;return s.beforeEach(async(w,g)=>{var h;await e.callHook("page:loading:start"),w.meta=Ye(w.meta),e.isHydrating&&y&&!mn(w.meta.layout)&&(w.meta.layout=y),e._processingMiddleware=!0;{const p=new Set([...jS,...e._middleware.global]);for(const _ of w.matched){const S=_.meta.middleware;if(S)for(const E of hd(S))p.add(E)}{const _=await e.runWithContext(()=>dd(w.path));if(_.appMiddleware)for(const S in _.appMiddleware)_.appMiddleware[S]?p.add(S):p.delete(S)}for(const _ of p){const S=typeof _=="string"?e._middleware.named[_]||await((h=Yo[_])==null?void 0:h.call(Yo).then(F=>F.default||F)):_;if(!S)throw new Error(`Unknown route middleware: '${_}'.`);const E=await e.runWithContext(()=>S(w,g));if(!e.payload.serverRendered&&e.isHydrating&&(E===!1||E instanceof Error)){const F=E||ac({statusCode:404,statusMessage:`Page Not Found: ${c}`});return await e.runWithContext(()=>Kr(F)),!1}if(E!==!0&&(E||E===!1))return E}}}),s.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),s.afterEach(async(w,g)=>{w.matched.length===0&&await e.runWithContext(()=>Kr(ac({statusCode:404,fatal:!1,statusMessage:`Page not found: ${w.fullPath}`,data:{path:w.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{"name"in b&&(b.name=void 0),await s.replace({...b,force:!0}),s.options.scrollBehavior=zt.scrollBehavior}catch(w){await e.runWithContext(()=>Kr(w))}}),{provide:{router:s}}}}),gp=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),nU=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),gd=e=>{const t=G();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{gp(()=>e())}):gp(()=>e())},GS=ut({name:"nuxt:payload",setup(e){Xt().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await Yf(t.path);r&&Object.assign(e.static.data,r.data)}),gd(()=>{var t;e.hooks.hook("link:prefetch",async n=>{const{hostname:r}=new URL(n,window.location.href);r===window.location.hostname&&await Yf(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(Is,1e3)})}}),KS=ut(()=>{const e=Xt();gd(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),YS=ut(e=>{let t;async function n(){const r=await Is();t&&clearTimeout(t),t=setTimeout(n,Bf);try{const o=await $fetch(cd("builds/latest.json")+`?${Date.now()}`);o.id!==r.id&&e.hooks.callHook("app:manifest:update",o)}catch{}}gd(()=>{t=setTimeout(n,Bf)})});function JS(e={}){const t=e.path||window.location.pathname;let n={};try{n=sa(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0:n.expires)<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:G().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const QS=ut({name:"nuxt:chunk-reload",setup(e){const t=Xt(),n=xr(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:a})=>{r.add(a)});function o(a){const s="href"in a&&a.href[0]==="#"?n.app.baseURL+a.href:ld(n.app.baseURL,a.fullPath);JS({path:s,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((a,i)=>{r.has(a)&&o(i)})}}),XS=gn(()=>L(()=>Promise.resolve().then(()=>wL),void 0,import.meta.url).then(e=>e.default||e.default||e)),ZS=[["Icon",XS]],eT=ut({name:"nuxt:global-components",setup(e){for(const[t,n]of ZS)e.vueApp.component(t,n),e.vueApp.component("Lazy"+t,n)}}),Gn={admin:gn(()=>L(()=>import("./admin-DWMGUGxg.mjs"),__vite__mapDeps([271,272]),import.meta.url)),default:gn(()=>L(()=>import("./default-BiuFlpWS.mjs"),__vite__mapDeps([273,274]),import.meta.url))},tT=ut({name:"nuxt:prefetch",setup(e){const t=Xt();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var o;const r=(o=n==null?void 0:n.meta)==null?void 0:o.layout;r&&typeof Gn[r]=="function"&&await Gn[r]()})}),e.hooks.hook("link:prefetch",n=>{if(Mr(n))return;const r=t.resolve(n);if(!r)return;const o=r.meta.layout;let a=hd(r.meta.middleware);a=a.filter(i=>typeof i=="string");for(const i of a)typeof Yo[i]=="function"&&Yo[i]();o&&typeof Gn[o]=="function"&&Gn[o]()})}}),Yy=/^[a-z0-9]+(-[a-z0-9]+)*$/,La=(e,t,n,r="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;r=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const s=o.pop(),l=o.pop(),c={provider:o.length>0?o[0]:r,prefix:l,name:s};return t&&!fi(c)?null:c}const a=o[0],i=a.split("-");if(i.length>1){const s={provider:r,prefix:i.shift(),name:i.join("-")};return t&&!fi(s)?null:s}if(n&&r===""){const s={provider:r,prefix:"",name:a};return t&&!fi(s,n)?null:s}return null},fi=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1,Jy=Object.freeze({left:0,top:0,width:16,height:16}),Vi=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),wo=Object.freeze({...Jy,...Vi}),hc=Object.freeze({...wo,body:"",hidden:!1});function nT(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function yp(e,t){const n=nT(e,t);for(const r in hc)r in Vi?r in e&&!(r in n)&&(n[r]=Vi[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function rT(e,t){const n=e.icons,r=e.aliases||Object.create(null),o=Object.create(null);function a(i){if(n[i])return o[i]=[];if(!(i in o)){o[i]=null;const s=r[i]&&r[i].parent,l=s&&a(s);l&&(o[i]=[s].concat(l))}return o[i]}return Object.keys(n).concat(Object.keys(r)).forEach(a),o}function oT(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let a={};function i(s){a=yp(r[s]||o[s],a)}return i(t),n.forEach(i),yp(e,a)}function Qy(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),n.push(o)});const r=rT(e);for(const o in r){const a=r[o];a&&(t(o,oT(e,o,a)),n.push(o))}return n}const aT={provider:"",aliases:{},not_found:{},...Jy};function ml(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Xy(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!ml(e,aT))return null;const n=t.icons;for(const o in n){const a=n[o];if(!o||typeof a.body!="string"||!ml(a,hc))return null}const r=t.aliases||Object.create(null);for(const o in r){const a=r[o],i=a.parent;if(!o||typeof i!="string"||!n[i]&&!r[i]||!ml(a,hc))return null}return t}const bp=Object.create(null);function iT(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Cr(e,t){const n=bp[e]||(bp[e]=Object.create(null));return n[t]||(n[t]=iT(e,t))}function yd(e,t){return Xy(t)?Qy(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function sT(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let ua=!1;function Zy(e){return typeof e=="boolean"&&(ua=e),ua}function bd(e){const t=typeof e=="string"?La(e,!0,ua):e;if(t){const n=Cr(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function vd(e,t){const n=La(e,!0,ua);if(!n)return!1;const r=Cr(n.provider,n.prefix);return t?sT(r,n.name,t):(r.missing.add(n.name),!0)}function lT(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),ua&&!t&&!e.prefix){let o=!1;return Xy(e)&&(e.prefix="",Qy(e,(a,i)=>{vd(a,i)&&(o=!0)})),o}const n=e.prefix;if(!fi({provider:t,prefix:n,name:"a"}))return!1;const r=Cr(t,n);return!!yd(r,e)}function gc(e){const t=bd(e);return t&&{...wo,...t}}const eb=Object.freeze({width:null,height:null}),tb=Object.freeze({...eb,...Vi}),cT=/(-?[0-9.]*[0-9]+[0-9.]*)/g,uT=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function vp(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(cT);if(r===null||!r.length)return e;const o=[];let a=r.shift(),i=uT.test(a);for(;;){if(i){const s=parseFloat(a);isNaN(s)?o.push(a):o.push(Math.ceil(s*t*n)/n)}else o.push(a);if(a=r.shift(),a===void 0)return o.join("");i=!i}}function dT(e,t="defs"){let n="";const r=e.indexOf("<"+t);for(;r>=0;){const o=e.indexOf(">",r),a=e.indexOf("</"+t);if(o===-1||a===-1)break;const i=e.indexOf(">",a);if(i===-1)break;n+=e.slice(o+1,a).trim(),e=e.slice(0,r).trim()+e.slice(i+1)}return{defs:n,content:e}}function fT(e,t){return e?"<defs>"+e+"</defs>"+t:t}function pT(e,t,n){const r=dT(e);return fT(r.defs,t+r.content+n)}const mT=e=>e==="unset"||e==="undefined"||e==="none";function hT(e,t){const n={...wo,...e},r={...tb,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let a=n.body;[n,r].forEach(y=>{const x=[],w=y.hFlip,g=y.vFlip;let h=y.rotate;w?g?h+=2:(x.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),x.push("scale(-1 1)"),o.top=o.left=0):g&&(x.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),x.push("scale(1 -1)"),o.top=o.left=0);let p;switch(h<0&&(h-=Math.floor(h/4)*4),h=h%4,h){case 1:p=o.height/2+o.top,x.unshift("rotate(90 "+p.toString()+" "+p.toString()+")");break;case 2:x.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:p=o.width/2+o.left,x.unshift("rotate(-90 "+p.toString()+" "+p.toString()+")");break}h%2===1&&(o.left!==o.top&&(p=o.left,o.left=o.top,o.top=p),o.width!==o.height&&(p=o.width,o.width=o.height,o.height=p)),x.length&&(a=pT(a,'<g transform="'+x.join(" ")+'">',"</g>"))});const i=r.width,s=r.height,l=o.width,c=o.height;let u,d;i===null?(d=s===null?"1em":s==="auto"?c:s,u=vp(d,l/c)):(u=i==="auto"?l:i,d=s===null?vp(u,c/l):s==="auto"?c:s);const f={},m=(y,x)=>{mT(x)||(f[y]=x.toString())};m("width",u),m("height",d);const b=[o.left,o.top,l,c];return f.viewBox=b.join(" "),{attributes:f,viewBox:b,body:a}}const gT=/\sid="(\S+)"/g,yT="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let bT=0;function vT(e,t=yT){const n=[];let r;for(;r=gT.exec(e);)n.push(r[1]);if(!n.length)return e;const o="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(a=>{const i=typeof t=="function"?t(a):t+(bT++).toString(),s=a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+i+o+"$3")}),e=e.replace(new RegExp(o,"g"),""),e}const yc=Object.create(null);function nb(e,t){yc[e]=t}function bc(e){return yc[e]||yc[""]}function _d(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const Os=Object.create(null),Ao=["https://api.simplesvg.com","https://api.unisvg.com"],pi=[];for(;Ao.length>0;)Ao.length===1||Math.random()>.5?pi.push(Ao.shift()):pi.push(Ao.pop());Os[""]=_d({resources:["https://api.iconify.design"].concat(pi)});function rb(e,t){const n=_d(t);return n===null?!1:(Os[e]=n,!0)}function Ls(e){return Os[e]}function _T(){return Object.keys(Os)}const wT=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let Hi=wT();function xT(e){Hi=e}function CT(){return Hi}function ST(e,t){const n=Ls(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let o=0;n.resources.forEach(i=>{o=Math.max(o,i.length)});const a=t+".json?icons=";r=n.maxURL-o-n.path.length-a.length}return r}function TT(e){return e===404}const kT=(e,t,n)=>{const r=[],o=ST(e,t),a="icons";let i={type:a,provider:e,prefix:t,icons:[]},s=0;return n.forEach((l,c)=>{s+=l.length+1,s>=o&&c>0&&(r.push(i),i={type:a,provider:e,prefix:t,icons:[]},s=l.length),i.icons.push(l)}),r.push(i),r};function ET(e){if(typeof e=="string"){const t=Ls(e);if(t)return t.path}return"/"}const IT=(e,t,n)=>{if(!Hi){n("abort",424);return}let r=ET(t.provider);switch(t.type){case"icons":{const a=t.prefix,s=t.icons.join(","),l=new URLSearchParams({icons:s});r+=a+".json?"+l.toString();break}case"custom":{const a=t.uri;r+=a.slice(0,1)==="/"?a.slice(1):a;break}default:n("abort",400);return}let o=503;Hi(e+r).then(a=>{const i=a.status;if(i!==200){setTimeout(()=>{n(TT(i)?"abort":"next",i)});return}return o=501,a.json()}).then(a=>{if(typeof a!="object"||a===null){setTimeout(()=>{a===404?n("abort",a):n("next",o)});return}setTimeout(()=>{n("success",a)})}).catch(()=>{n("next",o)})},PT={prepare:kT,send:IT};function OT(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((o,a)=>o.provider!==a.provider?o.provider.localeCompare(a.provider):o.prefix!==a.prefix?o.prefix.localeCompare(a.prefix):o.name.localeCompare(a.name));let r={provider:"",prefix:"",name:""};return e.forEach(o=>{if(r.name===o.name&&r.prefix===o.prefix&&r.provider===o.provider)return;r=o;const a=o.provider,i=o.prefix,s=o.name,l=n[a]||(n[a]=Object.create(null)),c=l[i]||(l[i]=Cr(a,i));let u;s in c.icons?u=t.loaded:i===""||c.missing.has(s)?u=t.missing:u=t.pending;const d={provider:a,prefix:i,name:s};u.push(d)}),t}function ob(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function LT(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,o=e.prefix;t.forEach(a=>{const i=a.icons,s=i.pending.length;i.pending=i.pending.filter(l=>{if(l.prefix!==o)return!0;const c=l.name;if(e.icons[c])i.loaded.push({provider:r,prefix:o,name:c});else if(e.missing.has(c))i.missing.push({provider:r,prefix:o,name:c});else return n=!0,!0;return!1}),i.pending.length!==s&&(n||ob([e],a.id),a.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),a.abort))})}))}let AT=0;function MT(e,t,n){const r=AT++,o=ob.bind(null,n,r);if(!t.pending.length)return o;const a={id:r,icons:t,callback:e,abort:o};return n.forEach(i=>{(i.loaderCallbacks||(i.loaderCallbacks=[])).push(a)}),o}function RT(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const a=typeof o=="string"?La(o,t,n):o;a&&r.push(a)}),r}var NT={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function BT(e,t,n,r){const o=e.resources.length,a=e.random?Math.floor(Math.random()*o):e.index;let i;if(e.random){let S=e.resources.slice(0);for(i=[];S.length>1;){const E=Math.floor(Math.random()*S.length);i.push(S[E]),S=S.slice(0,E).concat(S.slice(E+1))}i=i.concat(S)}else i=e.resources.slice(a).concat(e.resources.slice(0,a));const s=Date.now();let l="pending",c=0,u,d=null,f=[],m=[];typeof r=="function"&&m.push(r);function b(){d&&(clearTimeout(d),d=null)}function y(){l==="pending"&&(l="aborted"),b(),f.forEach(S=>{S.status==="pending"&&(S.status="aborted")}),f=[]}function x(S,E){E&&(m=[]),typeof S=="function"&&m.push(S)}function w(){return{startTime:s,payload:t,status:l,queriesSent:c,queriesPending:f.length,subscribe:x,abort:y}}function g(){l="failed",m.forEach(S=>{S(void 0,u)})}function h(){f.forEach(S=>{S.status==="pending"&&(S.status="aborted")}),f=[]}function p(S,E,F){const N=E!=="success";switch(f=f.filter(v=>v!==S),l){case"pending":break;case"failed":if(N||!e.dataAfterTimeout)return;break;default:return}if(E==="abort"){u=F,g();return}if(N){u=F,f.length||(i.length?_():g());return}if(b(),h(),!e.random){const v=e.resources.indexOf(S.resource);v!==-1&&v!==e.index&&(e.index=v)}l="completed",m.forEach(v=>{v(F)})}function _(){if(l!=="pending")return;b();const S=i.shift();if(S===void 0){if(f.length){d=setTimeout(()=>{b(),l==="pending"&&(h(),g())},e.timeout);return}g();return}const E={status:"pending",resource:S,callback:(F,N)=>{p(E,F,N)}};f.push(E),c++,d=setTimeout(_,e.rotate),n(S,t,E.callback)}return setTimeout(_),w}function ab(e){const t={...NT,...e};let n=[];function r(){n=n.filter(s=>s().status==="pending")}function o(s,l,c){const u=BT(t,s,l,(d,f)=>{r(),c&&c(d,f)});return n.push(u),u}function a(s){return n.find(l=>s(l))||null}return{query:o,find:a,setIndex:s=>{t.index=s},getIndex:()=>t.index,cleanup:r}}function _p(){}const hl=Object.create(null);function DT(e){if(!hl[e]){const t=Ls(e);if(!t)return;const n=ab(t),r={config:t,redundancy:n};hl[e]=r}return hl[e]}function ib(e,t,n){let r,o;if(typeof e=="string"){const a=bc(e);if(!a)return n(void 0,424),_p;o=a.send;const i=DT(e);i&&(r=i.redundancy)}else{const a=_d(e);if(a){r=ab(a);const i=e.resources?e.resources[0]:"",s=bc(i);s&&(o=s.send)}}return!r||!o?(n(void 0,424),_p):r.query(t,o,n)().abort}const wp="iconify2",da="iconify",sb=da+"-count",xp=da+"-version",lb=36e5,$T=168,UT=50;function vc(e,t){try{return e.getItem(t)}catch{}}function wd(e,t,n){try{return e.setItem(t,n),!0}catch{}}function Cp(e,t){try{e.removeItem(t)}catch{}}function _c(e,t){return wd(e,sb,t.toString())}function wc(e){return parseInt(vc(e,sb))||0}const yr={local:!0,session:!0},cb={local:new Set,session:new Set};let xd=!1;function FT(e){xd=e}let ei=typeof window>"u"?{}:window;function ub(e){const t=e+"Storage";try{if(ei&&ei[t]&&typeof ei[t].length=="number")return ei[t]}catch{}yr[e]=!1}function db(e,t){const n=ub(e);if(!n)return;const r=vc(n,xp);if(r!==wp){if(r){const s=wc(n);for(let l=0;l<s;l++)Cp(n,da+l.toString())}wd(n,xp,wp),_c(n,0);return}const o=Math.floor(Date.now()/lb)-$T,a=s=>{const l=da+s.toString(),c=vc(n,l);if(typeof c=="string"){try{const u=JSON.parse(c);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>o&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,s))return!0}catch{}Cp(n,l)}};let i=wc(n);for(let s=i-1;s>=0;s--)a(s)||(s===i-1?(i--,_c(n,i)):cb[e].add(s))}function fb(){if(!xd){FT(!0);for(const e in yr)db(e,t=>{const n=t.data,r=t.provider,o=n.prefix,a=Cr(r,o);if(!yd(a,n).length)return!1;const i=n.lastModified||-1;return a.lastModifiedCached=a.lastModifiedCached?Math.min(a.lastModifiedCached,i):i,!0})}}function VT(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in yr)db(r,o=>{const a=o.data;return o.provider!==e.provider||a.prefix!==e.prefix||a.lastModified===t});return!0}function HT(e,t){xd||fb();function n(r){let o;if(!yr[r]||!(o=ub(r)))return;const a=cb[r];let i;if(a.size)a.delete(i=Array.from(a).shift());else if(i=wc(o),i>=UT||!_c(o,i+1))return;const s={cached:Math.floor(Date.now()/lb),provider:e.provider,data:t};return wd(o,da+i.toString(),JSON.stringify(s))}t.lastModified&&!VT(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function Sp(){}function qT(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,LT(e)}))}function jT(e){const t=[],n=[];return e.forEach(r=>{(r.match(Yy)?t:n).push(r)}),{valid:t,invalid:n}}function Mo(e,t,n,r){function o(){const a=e.pendingIcons;t.forEach(i=>{a&&a.delete(i),e.icons[i]||e.missing.add(i)})}if(n&&typeof n=="object")try{if(!yd(e,n).length){o();return}r&&HT(e,n)}catch(a){console.error(a)}o(),qT(e)}function Tp(e,t){e instanceof Promise?e.then(n=>{t(n)}).catch(()=>{t(null)}):t(e)}function WT(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,o=e.iconsToLoad;if(delete e.iconsToLoad,!o||!o.length)return;const a=e.loadIcon;if(e.loadIcons&&(o.length>1||!a)){Tp(e.loadIcons(o,r,n),u=>{Mo(e,o,u,!1)});return}if(a){o.forEach(u=>{const d=a(u,r,n);Tp(d,f=>{const m=f?{prefix:r,icons:{[u]:f}}:null;Mo(e,[u],m,!1)})});return}const{valid:i,invalid:s}=jT(o);if(s.length&&Mo(e,s,null,!1),!i.length)return;const l=r.match(Yy)?bc(n):null;if(!l){Mo(e,i,null,!1);return}l.prepare(n,r,i).forEach(u=>{ib(n,u,d=>{Mo(e,u.icons,d,!0)})})}))}const pb=(e,t)=>{const n=RT(e,!0,Zy()),r=OT(n);if(!r.pending.length){let l=!0;return t&&setTimeout(()=>{l&&t(r.loaded,r.missing,r.pending,Sp)}),()=>{l=!1}}const o=Object.create(null),a=[];let i,s;return r.pending.forEach(l=>{const{provider:c,prefix:u}=l;if(u===s&&c===i)return;i=c,s=u,a.push(Cr(c,u));const d=o[c]||(o[c]=Object.create(null));d[u]||(d[u]=[])}),r.pending.forEach(l=>{const{provider:c,prefix:u,name:d}=l,f=Cr(c,u),m=f.pendingIcons||(f.pendingIcons=new Set);m.has(d)||(m.add(d),o[c][u].push(d))}),a.forEach(l=>{const c=o[l.provider][l.prefix];c.length&&WT(l,c)}),t?MT(t,r,a):Sp},zT=e=>new Promise((t,n)=>{const r=typeof e=="string"?La(e,!0):e;if(!r){n(e);return}pb([r||e],o=>{if(o.length&&r){const a=bd(r);if(a){t({...wo,...a});return}}n(e)})});function GT(e,t){switch(e){case"local":case"session":yr[e]=t;break;case"all":for(const n in yr)yr[n]=t;break}}function KT(e,t){const n={...e};for(const r in t){const o=t[r],a=typeof o;r in eb?(o===null||o&&(a==="string"||a==="number"))&&(n[r]=o):a===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const YT=/[\s,]+/;function JT(e,t){t.split(YT).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function QT(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(o){for(;o<0;)o+=4;return o%4}if(n===""){const o=parseInt(e);return isNaN(o)?0:r(o)}else if(n!==e){let o=0;switch(n){case"%":o=25;break;case"deg":o=90}if(o){let a=parseFloat(e.slice(0,e.length-n.length));return isNaN(a)?0:(a=a/o,a%1===0?r(a):0)}}return t}function XT(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function ZT(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function ek(e){return"data:image/svg+xml,"+ZT(e)}function tk(e){return'url("'+ek(e)+'")'}const kp={...tb,inline:!1},nk={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},rk={display:"inline-block"},xc={backgroundColor:"currentColor"},mb={backgroundColor:"transparent"},Ep={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Ip={webkitMask:xc,mask:xc,background:mb};for(const e in Ip){const t=Ip[e];for(const n in Ep)t[e+n]=Ep[n]}const mi={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";mi[e+"-flip"]=t,mi[e.slice(0,1)+"-flip"]=t,mi[e+"Flip"]=t});function Pp(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Op=(e,t)=>{const n=KT(kp,t),r={...nk},o=t.mode||"svg",a={},i=t.style,s=typeof i=="object"&&!(i instanceof Array)?i:{};for(let y in t){const x=t[y];if(x!==void 0)switch(y){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":n[y]=x===!0||x==="true"||x===1;break;case"flip":typeof x=="string"&&JT(n,x);break;case"color":a.color=x;break;case"rotate":typeof x=="string"?n[y]=QT(x):typeof x=="number"&&(n[y]=x);break;case"ariaHidden":case"aria-hidden":x!==!0&&x!=="true"&&delete r["aria-hidden"];break;default:{const w=mi[y];w?(x===!0||x==="true"||x===1)&&(n[w]=!0):kp[y]===void 0&&(r[y]=x)}}}const l=hT(e,n),c=l.attributes;if(n.inline&&(a.verticalAlign="-0.125em"),o==="svg"){r.style={...a,...s},Object.assign(r,c);let y=0,x=t.id;return typeof x=="string"&&(x=x.replace(/-/g,"_")),r.innerHTML=vT(l.body,x?()=>x+"ID"+y++:"iconifyVue"),We("svg",r)}const{body:u,width:d,height:f}=e,m=o==="mask"||(o==="bg"?!1:u.indexOf("currentColor")!==-1),b=XT(u,{...c,width:d+"",height:f+""});return r.style={...a,"--svg":tk(b),width:Pp(c.width),height:Pp(c.height),...rk,...m?xc:mb,...s},We("span",r)};function ok(e){GT(e,!1)}Zy(!0);nb("",PT);if(typeof document<"u"&&typeof window<"u"){fb();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!lT(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const o=t[n];if(typeof o!="object"||!o||o.resources===void 0)continue;rb(n,o)||console.error(r)}catch{console.error(r)}}}}const ak={...wo,body:""},ik=Qe({inheritAttrs:!1,data(){return{_name:"",_loadingIcon:null,iconMounted:!1,counter:0}},mounted(){this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(e,t,n){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let r;if(typeof e!="string"||(r=La(e,!1,!0))===null)return this.abortLoading(),null;let o=bd(r);if(!o)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",o!==null&&(this._loadingIcon={name:e,abort:pb([r],()=>{this.counter++})})),null;if(this.abortLoading(),this._name!==e&&(this._name=e,t&&t(e)),n){o=Object.assign({},o);const i=n(o.body,r.name,r.prefix,r.provider);typeof i=="string"&&(o.body=i)}const a=["iconify"];return r.prefix!==""&&a.push("iconify--"+r.prefix),r.provider!==""&&a.push("iconify--"+r.provider),{data:o,classes:a}}},render(){this.counter;const e=this.$attrs,t=this.iconMounted||e.ssr?this.getIcon(e.icon,e.onLoad,e.customise):null;if(!t)return Op(ak,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),Op({...wo,...t.data},n)}}),sk={getAPIConfig:Ls,setAPIModule:nb,sendAPIQuery:ib,setFetch:xT,getFetch:CT,listAPIProviders:_T};function tn(e){if(typeof e!="object")return e;var t,n,r=Object.prototype.toString.call(e);if(r==="[object Object]"){if(e.constructor!==Object&&typeof e.constructor=="function"){n=new e.constructor;for(t in e)e.hasOwnProperty(t)&&n[t]!==e[t]&&(n[t]=tn(e[t]))}else{n={};for(t in e)t==="__proto__"?Object.defineProperty(n,t,{value:tn(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=tn(e[t])}return n}if(r==="[object Array]"){for(t=e.length,n=Array(t);t--;)n[t]=tn(e[t]);return n}return r==="[object Set]"?(n=new Set,e.forEach(function(o){n.add(tn(o))}),n):r==="[object Map]"?(n=new Map,e.forEach(function(o,a){n.set(tn(a),tn(o))}),n):r==="[object Date]"?new Date(+e):r==="[object RegExp]"?(n=new RegExp(e.source,e.flags),n.lastIndex=e.lastIndex,n):r==="[object DataView]"?new e.constructor(tn(e.buffer)):r==="[object ArrayBuffer]"?e.slice(0):r.slice(-6)==="Array]"?new e.constructor(e):e}const lk={nuxt:{},icon:{provider:"iconify",class:"",aliases:{},iconifyApiEndpoint:"https://api.iconify.design",localApiEndpoint:"/api/_nuxt_icon",fallbackToApi:!0,cssSelectorPrefix:"i-",cssWherePseudo:!0,mode:"css",attrs:{"aria-hidden":!0},collections:["academicons","akar-icons","ant-design","arcticons","basil","bi","bitcoin-icons","bpmn","brandico","bx","bxl","bxs","bytesize","carbon","catppuccin","cbi","charm","ci","cib","cif","cil","circle-flags","circum","clarity","codicon","covid","cryptocurrency","cryptocurrency-color","dashicons","devicon","devicon-plain","ei","el","emojione","emojione-monotone","emojione-v1","entypo","entypo-social","eos-icons","ep","et","eva","f7","fa","fa-brands","fa-regular","fa-solid","fa6-brands","fa6-regular","fa6-solid","fad","fe","feather","file-icons","flag","flagpack","flat-color-icons","flat-ui","flowbite","fluent","fluent-emoji","fluent-emoji-flat","fluent-emoji-high-contrast","fluent-mdl2","fontelico","fontisto","formkit","foundation","fxemoji","gala","game-icons","geo","gg","gis","gravity-ui","gridicons","grommet-icons","guidance","healthicons","heroicons","heroicons-outline","heroicons-solid","hugeicons","humbleicons","ic","icomoon-free","icon-park","icon-park-outline","icon-park-solid","icon-park-twotone","iconamoon","iconoir","icons8","il","ion","iwwa","jam","la","lets-icons","line-md","logos","ls","lucide","lucide-lab","mage","majesticons","maki","map","marketeq","material-symbols","material-symbols-light","mdi","mdi-light","medical-icon","memory","meteocons","mi","mingcute","mono-icons","mynaui","nimbus","nonicons","noto","noto-v1","octicon","oi","ooui","openmoji","oui","pajamas","pepicons","pepicons-pencil","pepicons-pop","pepicons-print","ph","pixelarticons","prime","ps","quill","radix-icons","raphael","ri","rivet-icons","si-glyph","simple-icons","simple-line-icons","skill-icons","solar","streamline","streamline-emojis","subway","svg-spinners","system-uicons","tabler","tdesign","teenyicons","token","token-branded","topcoat","twemoji","typcn","uil","uim","uis","uit","uiw","unjs","vaadin","vs","vscode-icons","websymbol","weui","whh","wi","wpf","zmdi","zondicons"],fetchTimeout:1500}},ck=fx(lk);function Aa(){const e=G();return e._appConfig||(e._appConfig=Ye(ck)),e._appConfig}const uk=ut({name:"@nuxt/icon",setup(){var r,o;const e=xr(),t=Aa().icon;sk.setFetch($fetch.native),ok("all");const n=[];if(t.provider==="server"){const a=((o=(r=e.app)==null?void 0:r.baseURL)==null?void 0:o.replace(/\/$/,""))??"";n.push(a+(t.localApiEndpoint||"/api/_nuxt_icon")),(t.fallbackToApi===!0||t.fallbackToApi==="client-only")&&n.push(t.iconifyApiEndpoint)}else n.push(t.iconifyApiEndpoint);rb("",{resources:n})}});function dk(e){return Array.isArray(e)?e:[e]}const fk=e=>e==="defer"||e===!1;function hb(...e){var y;const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);let[n,r,o={}]=e;if(typeof n!="string")throw new TypeError("[nuxt] [asyncData] key must be a string.");if(typeof r!="function")throw new TypeError("[nuxt] [asyncData] handler must be a function.");const a=G(),i=r,s=()=>zr.value,l=()=>a.isHydrating?a.payload.data[n]:a.static.data[n];o.server=o.server??!0,o.default=o.default??s,o.getCachedData=o.getCachedData??l,o.lazy=o.lazy??!1,o.immediate=o.immediate??!0,o.deep=o.deep??zr.deep,o.dedupe=o.dedupe??"cancel";const c=o.getCachedData(n,a),u=c!=null;if(!a._asyncData[n]||!o.immediate){(y=a.payload._errors)[n]??(y[n]=zr.errorValue);const x=o.deep?he:An;a._asyncData[n]={data:x(u?c:o.default()),pending:he(!u),error:Mn(a.payload._errors,n),status:he("idle"),_default:o.default}}const d={...a._asyncData[n]};delete d._default,d.refresh=d.execute=(x={})=>{if(a._asyncDataPromises[n]){if(fk(x.dedupe??o.dedupe))return a._asyncDataPromises[n];a._asyncDataPromises[n].cancelled=!0}if(x._initial||a.isHydrating&&x._initial!==!1){const g=x._initial?c:o.getCachedData(n,a);if(g!=null)return Promise.resolve(g)}d.pending.value=!0,d.status.value="pending";const w=new Promise((g,h)=>{try{g(i(a))}catch(p){h(p)}}).then(async g=>{if(w.cancelled)return a._asyncDataPromises[n];let h=g;o.transform&&(h=await o.transform(g)),o.pick&&(h=mk(h,o.pick)),a.payload.data[n]=h,d.data.value=h,d.error.value=zr.errorValue,d.status.value="success"}).catch(g=>{if(w.cancelled)return a._asyncDataPromises[n];d.error.value=Oa(g),d.data.value=B(o.default()),d.status.value="error"}).finally(()=>{w.cancelled||(d.pending.value=!1,delete a._asyncDataPromises[n])});return a._asyncDataPromises[n]=w,a._asyncDataPromises[n]},d.clear=()=>pk(a,n);const f=()=>d.refresh({_initial:!0}),m=o.server!==!1&&a.payload.serverRendered;{const x=tt();if(x&&!x._nuxtOnBeforeMountCbs){x._nuxtOnBeforeMountCbs=[];const h=x._nuxtOnBeforeMountCbs;Ca(()=>{h.forEach(p=>{p()}),h.splice(0,h.length)}),qt(()=>h.splice(0,h.length))}m&&a.isHydrating&&(d.error.value||c!=null)?(d.pending.value=!1,d.status.value=d.error.value?"error":"success"):x&&(a.payload.serverRendered&&a.isHydrating||o.lazy)&&o.immediate?x._nuxtOnBeforeMountCbs.push(f):o.immediate&&f();const w=Pr();if(o.watch){const h=pt(o.watch,()=>d.refresh());w&&br(h)}const g=a.hook("app:data:refresh",async h=>{(!h||h.includes(n))&&await d.refresh()});w&&br(g)}const b=Promise.resolve(a._asyncDataPromises[n]).then(()=>d);return Object.assign(b,d),b}function pk(e,t){t in e.payload.data&&(e.payload.data[t]=void 0),t in e.payload._errors&&(e.payload._errors[t]=zr.errorValue),e._asyncData[t]&&(e._asyncData[t].data.value=void 0,e._asyncData[t].error.value=zr.errorValue,e._asyncData[t].pending.value=!1,e._asyncData[t].status.value="idle"),t in e._asyncDataPromises&&(e._asyncDataPromises[t]&&(e._asyncDataPromises[t].cancelled=!0),e._asyncDataPromises[t]=void 0)}function mk(e,t){const n={};for(const r of t)n[r]=e[r];return n}const Cc="$s";function Ee(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,r]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(r!==void 0&&typeof r!="function")throw new Error("[nuxt] [useState] init must be a function: "+r);const o=Cc+n,a=G(),i=Mn(a.payload.state,o);if(i.value===void 0&&r){const s=r();if(Je(s))return a.payload.state[o]=s,s;i.value=s}return i}function hk(e){const t=G();Object.keys(t.payload.state).map(r=>r.substring(Cc.length));const n=dk(e);for(const r of n){const o=Cc+r;o in t.payload.state&&(t.payload.state[o]=void 0)}}function gk(e,t,n){const[r={},o]=typeof t=="string"?[{},t]:[t,n],a=se(()=>kn(e)),i=r.key||lx([o,typeof a.value=="string"?a.value:"",...yk(r)]);if(!i||typeof i!="string")throw new TypeError("[nuxt] [useFetch] key must be a string: "+i);if(!e)throw new Error("[nuxt] [useFetch] request is missing.");const s=i===o?"$f"+i:i;if(!r.baseURL&&typeof a.value=="string"&&a.value[0]==="/"&&a.value[1]==="/")throw new Error('[nuxt] [useFetch] the request URL must not start with "//".');const{server:l,lazy:c,default:u,transform:d,pick:f,watch:m,immediate:b,getCachedData:y,deep:x,dedupe:w,...g}=r,h=Ye({...M1,...g,cache:typeof r.cache=="boolean"?void 0:r.cache}),p={server:l,lazy:c,default:u,transform:d,pick:f,immediate:b,getCachedData:y,deep:x,dedupe:w,watch:m===!1?[]:[h,a,...m||[]]};let _;return hb(s,()=>{var v;(v=_==null?void 0:_.abort)==null||v.call(_,new DOMException("Request aborted as another request to the same endpoint was initiated.","AbortError")),_=typeof AbortController<"u"?new AbortController:{};const E=kn(r.timeout);let F;return E&&(F=setTimeout(()=>_.abort(new DOMException("Request aborted due to timeout.","AbortError")),E),_.signal.onabort=()=>clearTimeout(F)),(r.$fetch||globalThis.$fetch)(a.value,{signal:_.signal,...h}).finally(()=>{clearTimeout(F)})},p)}function yk(e){var n;const t=[((n=kn(e.method))==null?void 0:n.toUpperCase())||"GET",kn(e.baseURL)];for(const r of[e.params||e.query]){const o=kn(r);if(!o)continue;const a={};for(const[i,s]of Object.entries(o))a[kn(i)]=kn(s);t.push(a)}return t}const bk={path:"/",watch:!0,decode:e=>sa(decodeURIComponent(e)),encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))},ti=window.cookieStore;function Ke(e,t){var l;const n={...bk,...t};n.filter??(n.filter=c=>c===e);const r=Lp(n)||{};let o;n.maxAge!==void 0?o=n.maxAge*1e3:n.expires&&(o=n.expires.getTime()-Date.now());const a=o!==void 0&&o<=0,i=tn(a?void 0:r[e]??((l=n.default)==null?void 0:l.call(n))),s=o&&!a?wk(i,o,n.watch&&n.watch!=="shallow"):he(i);{let c=null;try{!ti&&typeof BroadcastChannel<"u"&&(c=new BroadcastChannel(`nuxt:cookies:${e}`))}catch{}const u=()=>{n.readonly||cx(s.value,r[e])||(_k(e,s.value,n),r[e]=tn(s.value),c==null||c.postMessage({value:n.encode(s.value)}))},d=b=>{var x;const y=b.refresh?(x=Lp(n))==null?void 0:x[e]:n.decode(b.value);f=!0,s.value=y,r[e]=tn(y),at(()=>{f=!1})};let f=!1;const m=!!Pr();if(m&&br(()=>{f=!0,u(),c==null||c.close()}),ti){const b=y=>{const x=y.changed.find(g=>g.name===e),w=y.deleted.find(g=>g.name===e);x&&d({value:x.value}),w&&d({value:null})};ti.addEventListener("change",b),m&&br(()=>ti.removeEventListener("change",b))}else c&&(c.onmessage=({data:b})=>d(b));n.watch?pt(s,()=>{f||u()},{deep:n.watch!=="shallow"}):u()}return s}function Lp(e={}){return H1(document.cookie,e)}function vk(e,t,n={}){return t==null?$f(e,t,{...n,maxAge:-1}):$f(e,t,n)}function _k(e,t,n={}){document.cookie=vk(e,t,n)}const Ap=2147483647;function wk(e,t,n){let r,o,a=0;const i=n?he(e):{value:e};return Pr()&&br(()=>{o==null||o(),clearTimeout(r)}),is((s,l)=>{n&&(o=pt(i,l));function c(){a=0,clearTimeout(r);const u=t-a,d=u<Ap?u:Ap;r=setTimeout(()=>{if(a+=d,a<t)return c();i.value=void 0,l()},d)}return{get(){return s(),i.value},set(u){c(),i.value=u,l()}}})}function xk(e){return new URL(window.location.href)}const Mp={colors:["#1FBC9C","#1CA085","#2ECC70","#27AF60","#3398DB","#2980B9","#A463BF","#8E43AD","#3D556E","#222F3D","#F2C511","#F39C19","#E84B3C","#C0382B","#DDE6E8","#BDC3C8"],rowLength:4},Rp={colors:["#CC0001","#E36101","#FFCC00","#009900","#0066CB","#000000","#FFFFFF"],showBorder:!0},Np={colors:[["#000000","#434343","#666666","#999999","#b7b7b7","#cccccc","#d9d9d9","#efefef","#f3f3f3","#ffffff"],["#980000","#ff0000","#ff9900","#ffff00","#00ff00","#00ffff","#4a86e8","#0000ff","#9900ff","#ff00ff"],["#e6b8af","#f4cccc","#fce5cd","#fff2cc","#d9ead3","#d0e0e3","#c9daf8","#cfe2f3","#d9d2e9","#ead1dc"],["#dd7e6b","#ea9999","#f9cb9c","#ffe599","#b6d7a8","#a2c4c9","#a4c2f4","#9fc5e8","#b4a7d6","#d5a6bd"],["#cc4125","#e06666","#f6b26b","#ffd966","#93c47d","#76a5af","#6d9eeb","#6fa8dc","#8e7cc3","#c27ba0"],["#a61c00","#cc0000","#e69138","#f1c232","#6aa84f","#45818e","#3c78d8","#3d85c6","#674ea7","#a64d79"],["#85200c","#990000","#b45f06","#bf9000","#38761d","#134f5c","#1155cc","#0b5394","#351c75","#741b47"],["#5b0f00","#660000","#783f04","#7f6000","#274e13","#0c343d","#1c4587","#073763","#20124d","#4c1130"]],borderRadius:"0",rowLength:10,swatchSize:24,spacingSize:0},Ck=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},Sk={},Tk={class:"vue-swatches__check__wrapper vue-swatches--has-children-centered"},kk=O("div",{class:"vue-swatches__check__circle vue-swatches--has-children-centered"},[O("svg",{version:"1.1",role:"presentation",width:"12",height:"12",viewBox:"0 0 1792 1792",class:"check"},[O("path",{class:"vue-swatches__check__path",d:"M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z"})])],-1),Ek=[kk];function Ik(e,t){return P(),V("div",Tk,Ek)}const Pk=Ck(Sk,[["render",Ik]]),Ok=["aria-label"],Lk={key:0,class:"vue-swatches__diagonal__wrapper vue-swatches--has-children-centered"},Ak=O("div",{class:"vue-swatches__diagonal"},null,-1),Mk=[Ak],Bp=Qe({__name:"VSwatch",props:{borderRadius:{},isLast:{type:Boolean,default:!1},rowLengthSetted:{type:Boolean,default:!1},disabled:{type:Boolean},inline:{type:Boolean},selected:{type:Boolean,default:!1},showCheckbox:{type:Boolean},showBorder:{type:Boolean},showLabels:{type:Boolean},spacingSize:{default:42},swatchColor:{default:""},swatchLabel:{},swatchAlt:{},swatchSize:{},swatchStyle:{}},setup(e){const t=e,n=se(()=>({bottom:`-${8+Math.floor(t.spacingSize/5)*3}px`})),r=se(()=>{const s={width:`${t.swatchSize}px`,height:`${t.swatchSize}px`,borderRadius:t.borderRadius,backgroundColor:t.swatchColor!==""?t.swatchColor:"#FFFFFF",cursor:o.value};return(!t.inline||!t.isLast)&&(s.marginRight=`${t.spacingSize}px`),t.inline&&!t.rowLengthSetted?s:{...s,marginBottom:`${t.spacingSize}px`}}),o=se(()=>t.disabled?"not-allowed":"pointer"),a=se(()=>[n.value]),i=se(()=>[r.value,t.swatchStyle]);return(s,l)=>(P(),V("div",{class:Se(["vue-swatches__swatch",{"vue-swatches__swatch--border":s.showBorder,"vue-swatches__swatch--selected":s.selected,"vue-swatches__swatch--is-disabled":s.disabled}]),style:de(i.value),"aria-label":s.swatchAlt,role:"button",tabindex:"0",onKeyup:l[0]||(l[0]=Ss(c=>s.$emit("click",s.swatchColor),["enter"])),onBlur:l[1]||(l[1]=c=>s.$emit("blur",c.relatedTarget))},[s.swatchColor===""?(P(),V("div",Lk,Mk)):le("",!0),Ft(K(Pk,null,null,512),[[Ht,s.showCheckbox&&s.selected]]),s.showLabels?(P(),V("div",{key:1,class:"vue-swatches__swatch__label",style:de(a.value)},Ie(s.swatchLabel),5)):le("",!0)],46,Ok))}}),Rk={class:"vue-swatches__diagonal__wrapper vue-swatches--has-children-centered"},Nk=O("div",{class:"vue-swatches__diagonal"},null,-1),Bk=[Nk],Dk={class:"vue-swatches__fallback__input--wrapper"},$k=["value","type"],Uk="10px",Dp=4,ni=5,Fk=42,Vk=!1,Hk=Qe({__name:"VSwatches",props:{backgroundColor:{default:"#ffffff"},closeOnSelect:{type:Boolean,default:!0},swatches:{default:()=>"basic"},disabled:{type:Boolean,default:!1},fallbackInputClass:{default:null},fallbackInputType:{default:()=>"text"},fallbackOkClass:{default:null},fallbackOkText:{default:"Ok"},inline:{type:Boolean,default:!1},shapes:{default:"squares"},popoverX:{default:"right"},popoverY:{default:"bottom"},rowLength:{default:null},showBorder:{type:[Boolean,null],default:null},showFallback:{type:Boolean,default:!1},showCheckbox:{type:Boolean,default:!0},showLabels:{type:Boolean,default:!1},spacingSize:{default:null},swatchSize:{default:null},swatchStyle:{},triggerStyle:{},wrapperStyle:{},modelValue:{default:""}},emits:["close","open","update:modelValue"],setup(e,{emit:t}){const n=he(null),r=he(null),o=he(null),a=(C,k,M)=>typeof C!="string"?null:C==="text-basic"?Rp[k]===void 0?null:Rp[k]:C==="text-advanced"?Np[k]===void 0?null:Np[k]:C==="basic"||M?Mp[k]===void 0?null:Mp[k]:null,i=e,s=t,l=he({}),c=he(!1),u=he(i.modelValue),d=he(!1);Xe(()=>{c.value=!0});const f=se(()=>!!(p.value&&p.value.length&&p.value[0]instanceof Array)),m=se(()=>i.inline?!1:d.value),b=se(()=>me("",i.modelValue)),y=se(()=>a(i.swatches,"borderRadius")),x=se(()=>a(i.swatches,"rowLength")),w=se(()=>a(i.swatches,"showBorder")),g=se(()=>a(i.swatches,"swatchSize")),h=se(()=>a(i.swatches,"spacingSize")),p=se(()=>i.swatches instanceof Array?i.swatches:typeof i.swatches=="string"?a(i.swatches,"colors",!0):[]),_=se(()=>y.value!==null?y.value:T.value),S=se(()=>i.rowLength!==null?Number(i.rowLength):x.value!==null?x.value:p.value.length<Dp&&!f.value?p.value.length:Dp),E=se(()=>i.swatchSize!==null?Number(i.swatchSize):g.value!==null?g.value:Fk),F=se(()=>i.spacingSize!==null?i.spacingSize:h.value!==null?h.value:Math.round(Number(E.value)*.25)),N=se(()=>i.showBorder!==null?i.showBorder:w.value!==null?w.value:Vk),v=se(()=>!i.inline),T=se(()=>i.shapes==="squares"?`${Math.round(Number(E.value)*.25)}px`:i.shapes==="circles"?"50%":""),I=se(()=>S.value*(E.value+F.value)),A=se(()=>({width:"42px",height:"42px",backgroundColor:i.modelValue?i.modelValue:"#ffffff",borderRadius:i.shapes==="circles"?"50%":Uk})),z=se(()=>[A.value,i.triggerStyle]),$=se(()=>{const C=[{backgroundColor:i.backgroundColor},l.value];return i.inline?C:[...C,{padding:"5px",marginBottom:"5px"}]}),R=se(()=>i.inline?{}:{paddingTop:`${F.value}px`,paddingLeft:`${F.value}px`,width:`${I.value}px`}),q=se(()=>[R.value,i.wrapperStyle]),j=se(()=>{const C={marginLeft:`${F.value}px`,paddingBottom:`${F.value}px`};return i.inline?C:{...C,width:`${I.value-F.value}px`}}),X=se(()=>[j.value]);pt(()=>i.modelValue,C=>{u.value=C});function me(C,k){return!C&&C!==""||!k&&k!==""?!1:C.toUpperCase()===k.toUpperCase()}function be(){var C;d.value=!1,(C=n.value)==null||C.blur(),s("close",u.value)}function Q(){const C={},k=r.value,M=o.value;if(!c.value||i.inline||!k||!window||!document)return C;const W=k.getBoundingClientRect(),H=5,Y=(document.documentElement.clientWidth||window.innerWidth)-5,ae=5,oe=(document.documentElement.clientHeight||window.innerHeight)-5;M.style.visibility="hidden",M.style.display="block";const re=M.getBoundingClientRect();return M.style.display="none",M.style.visibility="visible",i.popoverY==="top"?W.top-re.height<ae?(C.top=`${W.height+ni}px`,C.bottom="auto"):(C.bottom=`${W.height+ni}px`,C.top="auto"):i.popoverY==="bottom"&&(W.bottom+re.height>oe?(C.bottom=`${W.height+ni}px`,C.top="auto"):(C.top=`${W.height+ni}px`,C.bottom="auto")),i.popoverX==="left"?W.right-re.width<H?(C.left=0,C.right="auto"):(C.right=0,C.left="auto"):i.popoverX==="right"&&(W.left+re.width>Y?(C.right=0,C.left="auto"):(C.left=0,C.right="auto")),C}function U(C){if(typeof C=="string")return N.value;if(typeof C=="object")return C.showBorder!==void 0?C.showBorder:N.value}function J(C){if(typeof C=="string")return C;if(typeof C=="object")return C.color}function ce(C){if(typeof C=="string")return i.disabled;if(typeof C=="object")return C.disabled!==void 0?C.disabled:i.disabled}function _e(C){if(typeof C=="string")return C;if(typeof C=="object")return C.label||C.color}function D(C){if(typeof C=="string")return C;if(typeof C=="object")return C.alt||_e(C)}function Z(C){var k;m.value&&(C!==null&&(k=n.value)!=null&&k.contains(C)||(d.value=!1,s("close",u.value)))}function ne(){be()}function ie(){var C;m.value||i.inline||i.disabled||(l.value=Q(),d.value=!0,(C=n.value)==null||C.focus(),s("open"))}function ge(){m.value?be():ie()}function pe(C,{fromFallbackInput:k}={}){if(ce(C))return;const M=J(C);u.value=M,s("update:modelValue",M),i.closeOnSelect&&!i.inline&&!k&&be()}return(C,k)=>(P(),V("div",{class:"vue-swatches",tabindex:"-1",ref_key:"main",ref:n,onBlur:k[3]||(k[3]=M=>Z(M.relatedTarget))},[C.inline?le("",!0):(P(),V("div",{key:0,ref_key:"triggerWrapper",ref:r,class:"vue-swatches__trigger__wrapper",onClick:ge},[$t(C.$slots,"trigger",{},()=>[O("div",{class:Se(["vue-swatches__trigger",{"vue-swatches--is-empty":!C.modelValue,"vue-swatches--is-disabled":C.disabled}]),style:de(z.value)},[Ft(O("div",Rk,Bk,512),[[Ht,b.value]])],6)])],512)),K(Ar,{name:"vue-swatches-show-hide"},{default:Be(()=>[Ft(O("div",{ref_key:"containerWrapper",ref:o,class:Se(["vue-swatches__container",{"vue-swatches--inline":C.inline}]),style:de($.value)},[O("div",{class:"vue-swatches__wrapper",style:de(q.value)},[f.value?(P(!0),V(we,{key:0},De(p.value,(M,W)=>(P(),V("div",{key:W,class:"vue-swatches__row"},[(P(!0),V(we,null,De(M,(H,Y)=>(P(),ye(Bp,{key:Y,"is-last":W===p.value.length-1&&Y===M.length,"row-length-setted":C.rowLength!==null||x.value!==null,"border-radius":_.value.toString(),disabled:ce(H),inline:C.inline,selected:me(J(H),C.modelValue),"swatch-size":Number(E.value),"spacing-size":Number(F.value),"show-border":U(H),"show-checkbox":C.showCheckbox,"show-labels":C.showLabels,"swatch-color":J(H),"swatch-label":_e(H),"swatch-alt":D(H),"swatch-style":C.swatchStyle,onBlur:k[0]||(k[0]=ae=>Z(ae)),onClick:ae=>pe(H)},null,8,["is-last","row-length-setted","border-radius","disabled","inline","selected","swatch-size","spacing-size","show-border","show-checkbox","show-labels","swatch-color","swatch-label","swatch-alt","swatch-style","onClick"]))),128))]))),128)):(P(!0),V(we,{key:1},De(p.value,(M,W)=>(P(),ye(Bp,{key:W,"is-last":W===p.value.length-1,"row-length-setted":C.rowLength!==null||x.value!==null,"border-radius":_.value.toString(),disabled:ce(M),inline:C.inline,selected:me(J(M),C.modelValue),"swatch-size":Number(E.value),"spacing-size":Number(F.value),"show-border":U(M),"show-checkbox":C.showCheckbox,"show-labels":C.showLabels,"swatch-color":J(M),"swatch-label":_e(M),"swatch-alt":D(M),"swatch-style":C.swatchStyle,onBlur:k[1]||(k[1]=H=>Z(H)),onClick:H=>pe(M)},null,8,["is-last","row-length-setted","border-radius","disabled","inline","selected","swatch-size","spacing-size","show-border","show-checkbox","show-labels","swatch-color","swatch-label","swatch-alt","swatch-style","onClick"]))),128))],4),C.showFallback?(P(),V("div",{key:0,class:"vue-swatches__fallback__wrapper",style:de(X.value)},[O("span",Dk,[O("input",{ref:"fallbackInput",class:Se(["vue-swatches__fallback__input",C.fallbackInputClass]),value:u.value,type:C.fallbackInputType,onInput:k[2]||(k[2]=M=>pe(M.target.value,{fromFallbackInput:!0}))},null,42,$k)]),v.value?(P(),V("button",{key:0,class:Se(["vue-swatches__fallback__button",C.fallbackOkClass]),onClick:Cs(ne,["prevent"])},Ie(C.fallbackOkText),3)):le("",!0)],4)):le("",!0)],6),[[Ht,C.inline||m.value]])]),_:1})],544))}}),qk=ut(async e=>{e.vueApp.component("VSwatches",Hk)});function Jo(){const e=Object.freeze(["UNAUTHENTICATED"]);function t(){const{dtrum:i}=window;return xr().public.isDev?null:i||(console.warn("Dynatrace RUM API not deteced in window."),null)}function n(){const{dynatrace:i}=window;return xr().public.isDev?null:i||(console.warn("Dynatrace API client not deteced in window."),null)}function r(i){const s=t();!s||!i||s.identifyUser(i)}function o(i,s,l){const c=t(),u=n();!c||!u||e.includes(i)||(c.reportCustomError(i,s),u.sendBizEvent(i,l))}function a(i,s){const l=t();l&&(l.enableManualPageDetection(),l.setPage({group:i,name:s}))}return{dynatraceTagUser:r,dynatraceReportError:o,dynatraceSetPage:a}}const gl=async(e,t,n="query",r)=>{try{}catch{throw new Error(`Could not find query file: ${e}`)}const o=await fetch(`/graphql/${n}/${e}.gql?version=${r}`);if(o.status!==200)throw new Error("Failed to download GQL file",o.status);const a=await o.text().then(i=>i.trim());if(!/^mutation|^query/.test(a))throw new Error("Invalid GQL Format");return a},Sc=e=>e[`${Object.keys(e).pop()}`],jk=e=>{const t=Sc(JSON.parse(JSON.stringify(e))),n=t.edges.map(r=>r.node);return delete t.edges,{...t,items:n}},Wk=ut(async({_route:e,$getFile:t,ssrContext:n,$config:r})=>{const o=xk(),a={getEndPoint:()=>r.public.DEV_TOOLS?a.getCookie("apollo-endpoint")||r.public.HTTP_ENDPOINT:(r.INTERNAL_HTTP_ENDPOINT,r.public.HTTP_ENDPOINT),getCookie:(i,s)=>Ke(i).value??s,handleError:(i,s)=>{let l=i;return l==="Network error"&&(l="There was a problem connecting to the database. Please try again later or contact your site administrator."),{error:!0,message:l,statusCode:s}},query:async(i,s,l,c=!0)=>{const u=await gl(i,t,"query",r.public.GITHUB_VERSION),{data:d,error:f,message:m,statusCode:b}=await a.graph({query:u,variables:s,context:l,retry:c});return f?{error:f,message:m,statusCode:b}:{error:f,data:Sc(d)}},queryStream:async(i,s,l,c=!0)=>{const u=await gl(i,t,"query",r.public.GITHUB_VERSION),{data:d,error:f,message:m,statusCode:b}=await a.graph({query:u,variables:s,context:l,retry:c});return f?{error:f,message:m,statusCode:b}:{error:f,data:jk(d)}},mutate:async(i,s,l,c=!1)=>{const u=await gl(i,t,"mutation",r.public.GITHUB_VERSION),{data:d,error:f,message:m,statusCode:b}=await a.graph({query:u,variables:s,context:l,retry:c});return f?{error:f,message:m,statusCode:b}:{error:f,data:Sc(d)}},graph:async({query:i,variables:s,context:l,retry:c})=>{var u,d,f,m;try{const b=r.public.DEV_TOOLS&&a.getCookie("tenant-key")||r.public.TENANT_KEY,y={"Content-Type":"application/json"};b&&b!=="auto"?y["x-tenant-key"]=b:y["x-domain"]=o.host,a.getCookie("cmsUserBearerToken")&&(y.authorization=`Bearer ${a.getCookie("cmsUserBearerToken")}`),a.getCookie("siteUserToken")&&(y["x-site-user"]=`Bearer ${a.getCookie("siteUserToken")}`);const x={...y,...l==null?void 0:l.headers},w=(l==null?void 0:l.uri)||a.getEndPoint(),g=await fetch(w,{method:"POST",headers:x,body:JSON.stringify({query:i,variables:s})});if(g&&g.headers.get("Content-Type")==="application/json; charset=utf-8"){const{errors:_,data:S}=await g.json();if(_){const E={url:e.fullPath,gqlError:_[0],query:i,params:s};{const{dynatraceReportError:F}=Jo();F((u=E.gqlError.extensions)==null?void 0:u.code,E.gqlError.message,{url:E.url,query:E.query,params:E.params})}return a.handleError(_[0].message,g.status)}return{error:!1,data:S}}if(c)return a.graph({query:i,variables:s,context:l,retry:!1});const h=(g==null?void 0:g.statusText)||`Status code ${g.status}: An error occurred, please try again. If this continues, please contact support`,{dynatraceReportError:p}=Jo();return p("TEXT_ERROR",h,{url:e.fullPath,query:i,params:s}),a.handleError(h,g.status)}catch(b){if(c)return a.graph({query:i,variables:s,context:l,retry:!1});const y={url:e.fullPath,gqlError:b,query:i,params:s};{const{dynatraceReportError:w}=Jo();w((f=(d=y.gqlError)==null?void 0:d.extensions)==null?void 0:f.code,(m=y.gqlError)==null?void 0:m.message,{url:y.url,query:y.query,params:y.params})}return a.handleError(b,500)}}};return{provide:{gql:a}}}),Tc={encode_sans_condensed:{label:"Encode Sans Semi Condensed",css:'"Encode Sans Semi Condensed", sans-serif'},fira_sans:{label:"Fira Sans",css:'"Fira Sans", Arial, sans-serif'},georgia:{label:"Georgia",css:"Georgia, serif"},ibm_plex_sans:{label:"IBM Plex Sans",css:'"IBM Plex Sans", sans-serif'},open_sans:{label:"Open Sans",css:'"Open Sans", sans-serif'},poppins:{label:"Poppins",css:'"Poppins", sans-serif'},pt_sans:{label:"PT Sans",css:'"PT Sans", sans-serif'},raleway:{label:"Raleway",css:'"Raleway", sans-serif'}},fa=[{value:"Apparatus",label:"Apparatus",plural:"Apparatus",editKey:"apparatus",layoutKey:"apparatus"},{value:"Article",label:"Article",plural:"Articles",editKey:"article",layoutKey:"article"},{value:"Blog",label:"Blog",plural:"Blog",editKey:"blog",layoutKey:"blog"},{value:"Company",label:"Company",plural:"Companies",editKey:"company",layoutKey:"company"},{value:"Contact",label:"Contact",plural:"Contacts",editKey:"contact",layoutKey:"contact"},{value:"Document",label:"Document",plural:"Documents",editKey:"document",layoutKey:"document"},{value:"Event",label:"Event",plural:"Events",editKey:"event",layoutKey:"event"},{value:"InQuarters",label:"In Quarters",plural:"In Quarters",editKey:"in-quarters",layoutKey:"inquarters"},{value:"MediaGallery",label:"Media Gallery",plural:"Media Galleries",editKey:"media-gallery",layoutKey:"mediagallery"},{value:"News",label:"News",plural:"News",editKey:"news",layoutKey:"news"},{value:"Page",label:"Page",plural:"Page",editKey:"page",layoutKey:"page"},{value:"Podcast",label:"Podcast",plural:"Podcasts",editKey:"podcast",layoutKey:"podcast"},{value:"PressRelease",label:"Press Release",plural:"Press Releases",editKey:"press-release",layoutKey:"pressrelease"},{value:"Product",label:"Product",plural:"Products",editKey:"product",layoutKey:"product"},{value:"Promotion",label:"Promotion",plural:"Promotions",editKey:"promotion",layoutKey:"promotion"},{value:"Video",label:"Video",plural:"Videos",editKey:"video",layoutKey:"video"},{value:"Webinar",label:"Webinar",plural:"Webinars",editKey:"webinar",layoutKey:"webinar"},{value:"Whitepaper",label:"Whitepaper",plural:"White Papers",editKey:"whitepaper",layoutKey:"whitepaper"}],zk=Object.freeze({DELETED:0,PUBLISHED:1,DRAFT:2}),gb=[{label:"United States of America",friendlyLabel:"United States of America",alpha2code:"US",alpha3code:"USA",regions:{label:"State",options:[{label:"Alabama",value:"AL"},{label:"Alaska",value:"AK"},{label:"American Samoa",value:"AS"},{label:"Arizona",value:"AZ"},{label:"Arkansas",value:"AR"},{label:"California",value:"CA"},{label:"Colorado",value:"CO"},{label:"Connecticut",value:"CT"},{label:"Delaware",value:"DE"},{label:"District Of Columbia",value:"DC"},{label:"Federated States Of Micronesia",value:"FM"},{label:"Florida",value:"FL"},{label:"Georgia",value:"GA"},{label:"Guam",value:"GU"},{label:"Hawaii",value:"HI"},{label:"Idaho",value:"ID"},{label:"Illinois",value:"IL"},{label:"Indiana",value:"IN"},{label:"Iowa",value:"IA"},{label:"Kansas",value:"KS"},{label:"Kentucky",value:"KY"},{label:"Louisiana",value:"LA"},{label:"Maine",value:"ME"},{label:"Marshall Islands",value:"MH"},{label:"Maryland",value:"MD"},{label:"Massachusetts",value:"MA"},{label:"Michigan",value:"MI"},{label:"Minnesota",value:"MN"},{label:"Mississippi",value:"MS"},{label:"Missouri",value:"MO"},{label:"Montana",value:"MT"},{label:"Nebraska",value:"NE"},{label:"Nevada",value:"NV"},{label:"New Hampshire",value:"NH"},{label:"New Jersey",value:"NJ"},{label:"New Mexico",value:"NM"},{label:"New York",value:"NY"},{label:"North Carolina",value:"NC"},{label:"North Dakota",value:"ND"},{label:"Northern Mariana Islands",value:"MP"},{label:"Ohio",value:"OH"},{label:"Oklahoma",value:"OK"},{label:"Oregon",value:"OR"},{label:"Palau",value:"PW"},{label:"Pennsylvania",value:"PA"},{label:"Puerto Rico",value:"PR"},{label:"Rhode Island",value:"RI"},{label:"South Carolina",value:"SC"},{label:"South Dakota",value:"SD"},{label:"Tennessee",value:"TN"},{label:"Texas",value:"TX"},{label:"Utah",value:"UT"},{label:"Vermont",value:"VT"},{label:"Virgin Islands",value:"VI"},{label:"Virginia",value:"VA"},{label:"Washington",value:"WA"},{label:"West Virginia",value:"WV"},{label:"Wisconsin",value:"WI"},{label:"Wyoming",value:"WY"}]}},{label:"Canada",alpha2code:"CA",alpha3code:"CAN",compliance:"required",regions:{label:"Province",options:[{label:"Alberta",value:"AB"},{label:"British Columbia",value:"BC"},{label:"Manitoba",value:"MB"},{label:"New Brunswick",value:"NB"},{label:"Newfoundland and Labrador",value:"NL"},{label:"Northwest Territories",value:"NT"},{label:"Nova Scotia",value:"NS"},{label:"Nunavut",value:"NU"},{label:"Ontario",value:"ON"},{label:"Prince Edward Island",value:"PE"},{label:"Quebec",value:"QC"},{label:"Saskatchewan",value:"SK"},{label:"Yukon Territory",value:"YT"}]}},{label:"Afghanistan",alpha2code:"AF",alpha3code:"AFG"},{label:"Albania",alpha2code:"AL",alpha3code:"ALB"},{label:"Algeria",alpha2code:"DZ",alpha3code:"DZA"},{label:"American Samoa",alpha2code:"AS",alpha3code:"ASM"},{label:"Andorra",alpha2code:"AD",alpha3code:"AND"},{label:"Angola",alpha2code:"AO",alpha3code:"AGO"},{label:"Anguilla",alpha2code:"AI",alpha3code:"AIA"},{label:"Antarctica",alpha2code:"AQ",alpha3code:"ATA"},{label:"Antigua and Barbuda",alpha2code:"AG",alpha3code:"ATG"},{label:"Argentina",alpha2code:"AR",alpha3code:"ARG"},{label:"Armenia",alpha2code:"AM",alpha3code:"ARM"},{label:"Aruba",alpha2code:"AW",alpha3code:"ABW"},{label:"Australia",alpha2code:"AU",alpha3code:"AUS"},{label:"Austria",alpha2code:"AT",alpha3code:"AUT",compliance:"optional"},{label:"Azerbaijan",alpha2code:"AZ",alpha3code:"AZE"},{label:"Bahamas (the)",friendlyLabel:"Bahamas",alpha2code:"BS",alpha3code:"BHS"},{label:"Bahrain",alpha2code:"BH",alpha3code:"BHR"},{label:"Bangladesh",alpha2code:"BD",alpha3code:"BGD"},{label:"Barbados",alpha2code:"BB",alpha3code:"BRB"},{label:"Belarus",alpha2code:"BY",alpha3code:"BLR"},{label:"Belgium",alpha2code:"BE",alpha3code:"BEL",compliance:"optional"},{label:"Belize",alpha2code:"BZ",alpha3code:"BLZ"},{label:"Benin",alpha2code:"BJ",alpha3code:"BEN"},{label:"Bermuda",alpha2code:"BM",alpha3code:"BMU"},{label:"Bhutan",alpha2code:"BT",alpha3code:"BTN"},{label:"Bolivia (Plurinational State of)",friendlyLabel:"Bolivia",alpha2code:"BO",alpha3code:"BOL"},{label:"Bonaire, Sint Eustatius and Saba",alpha2code:"BQ",alpha3code:"BES"},{label:"Bosnia and Herzegovina",alpha2code:"BA",alpha3code:"BIH"},{label:"Botswana",alpha2code:"BW",alpha3code:"BWA"},{label:"Bouvet Island",alpha2code:"BV",alpha3code:"BVT"},{label:"Brazil",alpha2code:"BR",alpha3code:"BRA",compliance:"required"},{label:"British Indian Ocean Territory (the)",friendlyLabel:"The British Indian Ocean Territory",alpha2code:"IO",alpha3code:"IOT"},{label:"Brunei Darussalam",alpha2code:"BN",alpha3code:"BRN"},{label:"Bulgaria",alpha2code:"BG",alpha3code:"BGR",compliance:"optional"},{label:"Burkina Faso",alpha2code:"BF",alpha3code:"BFA"},{label:"Burundi",alpha2code:"BI",alpha3code:"BDI"},{label:"Cabo Verde",alpha2code:"CV",alpha3code:"CPV"},{label:"Cambodia",alpha2code:"KH",alpha3code:"KHM"},{label:"Cameroon",alpha2code:"CM",alpha3code:"CMR"},{label:"Cayman Islands (the)",friendlyLabel:"The Cayman Islands",alpha2code:"KY",alpha3code:"CYM"},{label:"Central African Republic (the)",fiendlyLabel:"The Central African Republic",alpha2code:"CF",alpha3code:"CAF"},{label:"Chad",alpha2code:"TD",alpha3code:"TCD"},{label:"Chile",alpha2code:"CL",alpha3code:"CHL"},{label:"China",alpha2code:"CN",alpha3code:"CHN"},{label:"Christmas Island",alpha2code:"CX",alpha3code:"CXR"},{label:"Cocos (Keeling) Islands (the)",friendlyLabel:"The Cocos Keeling Islands",alpha2code:"CC",alpha3code:"CCK"},{label:"Colombia",alpha2code:"CO",alpha3code:"COL"},{label:"Comoros (the)",friendlyLabel:"The Comoros",lpha2code:"KM",alpha3code:"COM"},{label:"Congo (the Democratic Republic of the)",friendlyLabel:"The Democratic Republic of the Congo",alpha2code:"CD",alpha3code:"COD"},{label:"Congo (the)",friendlyLabel:"The Congo",alpha2code:"CG",alpha3code:"COG"},{label:"Cook Islands (the)",friendlyLabel:"The Cook Islands",alpha2code:"CK",alpha3code:"COK"},{label:"Costa Rica",alpha2code:"CR",alpha3code:"CRI"},{label:"Croatia",alpha2code:"HR",alpha3code:"HRV",compliance:"optional"},{label:"Cuba",alpha2code:"CU",alpha3code:"CUB"},{label:"Curaçao",alpha2code:"CW",alpha3code:"CUW"},{label:"Cyprus",alpha2code:"CY",alpha3code:"CYP",compliance:"optional"},{label:"Czechia",alpha2code:"CZ",alpha3code:"CZE",compliance:"optional"},{label:"Côte d'Ivoire",alpha2code:"CI",alpha3code:"CIV"},{label:"Denmark",alpha2code:"DK",alpha3code:"DNK",compliance:"optional"},{label:"Djibouti",alpha2code:"DJ",alpha3code:"DJI"},{label:"Dominica",alpha2code:"DM",alpha3code:"DMA"},{label:"Dominican Republic (the)",friendlyLabel:"The Dominican Republic",alpha2code:"DO",alpha3code:"DOM"},{label:"Ecuador",alpha2code:"EC",alpha3code:"ECU"},{label:"Egypt",alpha2code:"EG",alpha3code:"EGY"},{label:"El Salvador",alpha2code:"SV",alpha3code:"SLV"},{label:"Equatorial Guinea",alpha2code:"GQ",alpha3code:"GNQ"},{label:"Eritrea",alpha2code:"ER",alpha3code:"ERI"},{label:"Estonia",alpha2code:"EE",alpha3code:"EST",compliance:"optional"},{label:"Eswatini",alpha2code:"SZ",alpha3code:"SWZ"},{label:"Ethiopia",alpha2code:"ET",alpha3code:"ETH"},{label:"Falkland Islands (the) [Malvinas]",friendlyLabel:"The Falkland Islands",alpha2code:"FK",alpha3code:"FLK"},{label:"Faroe Islands (the)",friendlyLabel:"The Faroe Islands",alpha2code:"FO",alpha3code:"FRO"},{label:"Fiji",alpha2code:"FJ",alpha3code:"FJI"},{label:"Finland",alpha2code:"FI",alpha3code:"FIN",compliance:"optional"},{label:"France",alpha2code:"FR",alpha3code:"FRA",compliance:"optional"},{label:"French Guiana",alpha2code:"GF",alpha3code:"GUF"},{label:"French Polynesia",alpha2code:"PF",alpha3code:"PYF"},{label:"French Southern Territories (the)",friendlyLabel:"The French Southern Territories",alpha2code:"TF",alpha3code:"ATF"},{label:"Gabon",alpha2code:"GA",alpha3code:"GAB"},{label:"Gambia (the)",friendlyLabel:"Gambia",alpha2code:"GM",alpha3code:"GMB"},{label:"Georgia",alpha2code:"GE",alpha3code:"GEO"},{label:"Germany",alpha2code:"DE",alpha3code:"DEU",compliance:"optional"},{label:"Ghana",alpha2code:"GH",alpha3code:"GHA"},{label:"Gibraltar",alpha2code:"GI",alpha3code:"GIB"},{label:"Greece",alpha2code:"GR",alpha3code:"GRC",compliance:"optional"},{label:"Greenland",alpha2code:"GL",alpha3code:"GRL"},{label:"Grenada",alpha2code:"GD",alpha3code:"GRD"},{label:"Guadeloupe",alpha2code:"GP",alpha3code:"GLP"},{label:"Guam",alpha2code:"GU",alpha3code:"GUM"},{label:"Guatemala",alpha2code:"GT",alpha3code:"GTM"},{label:"Guernsey",alpha2code:"GG",alpha3code:"GGY"},{label:"Guinea",alpha2code:"GN",alpha3code:"GIN"},{label:"Guinea-Bissau",alpha2code:"GW",alpha3code:"GNB"},{label:"Guyana",alpha2code:"GY",alpha3code:"GUY"},{label:"Haiti",alpha2code:"HT",alpha3code:"HTI"},{label:"Heard Island and McDonald Islands",alpha2code:"HM",alpha3code:"HMD"},{label:"Holy See (the)",friendlyLabel:"The Holy See",alpha2code:"VA",alpha3code:"VAT"},{label:"Honduras",alpha2code:"HN",alpha3code:"HND"},{label:"Hong Kong",alpha2code:"HK",alpha3code:"HKG"},{label:"Hungary",alpha2code:"HU",alpha3code:"HUN",compliance:"optional"},{label:"Iceland",alpha2code:"IS",alpha3code:"ISL"},{label:"India",alpha2code:"IN",alpha3code:"IND"},{label:"Indonesia",alpha2code:"ID",alpha3code:"IDN"},{label:"Iran (Islamic Republic of)",friendlyLabel:"Iran",alpha2code:"IR",alpha3code:"IRN"},{label:"Iraq",alpha2code:"IQ",alpha3code:"IRQ"},{label:"Ireland",alpha2code:"IE",alpha3code:"IRL",compliance:"optional"},{label:"Isle of Man",alpha2code:"IM",alpha3code:"IMN"},{label:"Israel",alpha2code:"IL",alpha3code:"ISR"},{label:"Italy",alpha2code:"IT",alpha3code:"ITA",compliance:"optional"},{label:"Jamaica",alpha2code:"JM",alpha3code:"JAM"},{label:"Japan",alpha2code:"JP",alpha3code:"JPN"},{label:"Jersey",alpha2code:"JE",alpha3code:"JEY"},{label:"Jordan",alpha2code:"JO",alpha3code:"JOR"},{label:"Kazakhstan",alpha2code:"KZ",alpha3code:"KAZ"},{label:"Kenya",alpha2code:"KE",alpha3code:"KEN"},{label:"Kiribati",alpha2code:"KI",alpha3code:"KIR"},{label:"Korea (the Democratic People's Republic of)",friendlyLabel:"The Democratic People's Republic of Korea",alpha2code:"KP",alpha3code:"PRK"},{label:"Korea (the Republic of)",friendlyLabel:"The Republic of Korea",alpha2code:"KR",alpha3code:"KOR"},{label:"Kuwait",alpha2code:"KW",alpha3code:"KWT"},{label:"Kyrgyzstan",alpha2code:"KG",alpha3code:"KGZ"},{label:"Lao People's Democratic Republic (the)",friendlyLabel:"The Lao People's Democratic Republic",alpha2code:"LA",alpha3code:"LAO"},{label:"Latvia",alpha2code:"LV",alpha3code:"LVA",compliance:"optional"},{label:"Lebanon",alpha2code:"LB",alpha3code:"LBN"},{label:"Lesotho",alpha2code:"LS",alpha3code:"LSO"},{label:"Liberia",alpha2code:"LR",alpha3code:"LBR"},{label:"Libya",alpha2code:"LY",alpha3code:"LBY"},{label:"Liechtenstein",alpha2code:"LI",alpha3code:"LIE"},{label:"Lithuania",alpha2code:"LT",alpha3code:"LTU",compliance:"optional"},{label:"Luxembourg",alpha2code:"LU",alpha3code:"LUX",compliance:"optional"},{label:"Macao",alpha2code:"MO",alpha3code:"MAC"},{label:"Madagascar",alpha2code:"MG",alpha3code:"MDG"},{label:"Malawi",alpha2code:"MW",alpha3code:"MWI"},{label:"Malaysia",alpha2code:"MY",alpha3code:"MYS"},{label:"Maldives",alpha2code:"MV",alpha3code:"MDV"},{label:"Mali",alpha2code:"ML",alpha3code:"MLI"},{label:"Malta",alpha2code:"MT",alpha3code:"MLT",compliance:"optional"},{label:"Marshall Islands (the)",alpha2code:"MH",alpha3code:"MHL"},{label:"Martinique",alpha2code:"MQ",alpha3code:"MTQ"},{label:"Mauritania",alpha2code:"MR",alpha3code:"MRT"},{label:"Mauritius",alpha2code:"MU",alpha3code:"MUS"},{label:"Mayotte",alpha2code:"YT",alpha3code:"MYT"},{label:"Mexico",alpha2code:"MX",alpha3code:"MEX"},{label:"Micronesia (Federated States of)",friendlyLabel:"Micronesia",alpha2code:"FM",alpha3code:"FSM"},{label:"Moldova (the Republic of)",friendlyLabel:"Moldova",alpha2code:"MD",alpha3code:"MDA"},{label:"Monaco",alpha2code:"MC",alpha3code:"MCO"},{label:"Mongolia",alpha2code:"MN",alpha3code:"MNG"},{label:"Montenegro",alpha2code:"ME",alpha3code:"MNE"},{label:"Montserrat",alpha2code:"MS",alpha3code:"MSR"},{label:"Morocco",alpha2code:"MA",alpha3code:"MAR"},{label:"Mozambique",alpha2code:"MZ",alpha3code:"MOZ"},{label:"Myanmar",alpha2code:"MM",alpha3code:"MMR"},{label:"Namibia",alpha2code:"NA",alpha3code:"NAM"},{label:"Nauru",alpha2code:"NR",alpha3code:"NRU"},{label:"Nepal",alpha2code:"NP",alpha3code:"NPL"},{label:"Netherlands (the)",friendlyLabel:"The Netherlands",alpha2code:"NL",alpha3code:"NLD",compliance:"optional"},{label:"New Caledonia",alpha2code:"NC",alpha3code:"NCL"},{label:"New Zealand",alpha2code:"NZ",alpha3code:"NZL"},{label:"Nicaragua",alpha2code:"NI",alpha3code:"NIC"},{label:"Niger (the)",friendlyLabel:"Niger",alpha2code:"NE",alpha3code:"NER"},{label:"Nigeria",alpha2code:"NG",alpha3code:"NGA"},{label:"Niue",alpha2code:"NU",alpha3code:"NIU"},{label:"Norfolk Island",alpha2code:"NF",alpha3code:"NFK"},{label:"Northern Mariana Islands (the)",friendlyLabel:"The Northern Mariana Islands",alpha2code:"MP",alpha3code:"MNP"},{label:"Norway",alpha2code:"NO",alpha3code:"NOR"},{label:"Oman",alpha2code:"OM",alpha3code:"OMN"},{label:"Pakistan",alpha2code:"PK",alpha3code:"PAK"},{label:"Palau",alpha2code:"PW",alpha3code:"PLW"},{label:"Palestine, State of",alpha2code:"PS",alpha3code:"PSE"},{label:"Panama",alpha2code:"PA",alpha3code:"PAN"},{label:"Papua New Guinea",alpha2code:"PG",alpha3code:"PNG"},{label:"Paraguay",alpha2code:"PY",alpha3code:"PRY"},{label:"Peru",alpha2code:"PE",alpha3code:"PER"},{label:"Philippines (the)",friendlyLabel:"The Philippines",alpha2code:"PH",alpha3code:"PHL"},{label:"Pitcairn",alpha2code:"PN",alpha3code:"PCN"},{label:"Poland",alpha2code:"PL",alpha3code:"POL",compliance:"optional"},{label:"Portugal",alpha2code:"PT",alpha3code:"PRT",compliance:"optional"},{label:"Puerto Rico",alpha2code:"PR",alpha3code:"PRI"},{label:"Qatar",alpha2code:"QA",alpha3code:"QAT"},{label:"Republic of North Macedonia",alpha2code:"MK",alpha3code:"MKD"},{label:"Romania",alpha2code:"RO",alpha3code:"ROU",compliance:"optional"},{label:"Russian Federation (the)",friendlyLabel:"The Russian Federation",alpha2code:"RU",alpha3code:"RUS"},{label:"Rwanda",alpha2code:"RW",alpha3code:"RWA"},{label:"Réunion",alpha2code:"RE",alpha3code:"REU"},{label:"Saint Barthélemy",alpha2code:"BL",alpha3code:"BLM"},{label:"Saint Helena, Ascension and Tristan da Cunha",alpha2code:"SH",alpha3code:"SHN"},{label:"Saint Kitts and Nevis",alpha2code:"KN",alpha3code:"KNA"},{label:"Saint Lucia",alpha2code:"LC",alpha3code:"LCA"},{label:"Saint Martin (French part)",friendlyLabel:"Saint Martin",alpha2code:"MF",alpha3code:"MAF"},{label:"Saint Pierre and Miquelon",alpha2code:"PM",alpha3code:"SPM"},{label:"Saint Vincent and the Grenadines",alpha2code:"VC",alpha3code:"VCT"},{label:"Samoa",alpha2code:"WS",alpha3code:"WSM"},{label:"San Marino",alpha2code:"SM",alpha3code:"SMR"},{label:"Sao Tome and Principe",alpha2code:"ST",alpha3code:"STP"},{label:"Saudi Arabia",alpha2code:"SA",alpha3code:"SAU"},{label:"Senegal",alpha2code:"SN",alpha3code:"SEN"},{label:"Serbia",alpha2code:"RS",alpha3code:"SRB"},{label:"Seychelles",alpha2code:"SC",alpha3code:"SYC"},{label:"Sierra Leone",alpha2code:"SL",alpha3code:"SLE"},{label:"Singapore",alpha2code:"SG",alpha3code:"SGP"},{label:"Sint Maarten (Dutch part)",friendlyLabel:"Sint Maarten",alpha2code:"SX",alpha3code:"SXM"},{label:"Slovakia",alpha2code:"SK",alpha3code:"SVK",compliance:"optional"},{label:"Slovenia",alpha2code:"SI",alpha3code:"SVN",compliance:"optional"},{label:"Solomon Islands",alpha2code:"SB",alpha3code:"SLB"},{label:"Somalia",alpha2code:"SO",alpha3code:"SOM"},{label:"South Africa",alpha2code:"ZA",alpha3code:"ZAF"},{label:"South Georgia and the South Sandwich Islands",alpha2code:"GS",alpha3code:"SGS"},{label:"South Sudan",alpha2code:"SS",alpha3code:"SSD"},{label:"Spain",alpha2code:"ES",alpha3code:"ESP",compliance:"optional"},{label:"Sri Lanka",alpha2code:"LK",alpha3code:"LKA"},{label:"Sudan (the)",friendlyLabel:"The Sudan",alpha2code:"SD",alpha3code:"SDN"},{label:"Suriname",alpha2code:"SR",alpha3code:"SUR"},{label:"Svalbard and Jan Mayen",alpha2code:"SJ",alpha3code:"SJM"},{label:"Sweden",alpha2code:"SE",alpha3code:"SWE",compliance:"optional"},{label:"Switzerland",alpha2code:"CH",alpha3code:"CHE"},{label:"Syrian Arab Republic",alpha2code:"SY",alpha3code:"SYR"},{label:"Taiwan",friendlyLabel:"Taiwan",alpha2code:"TW",alpha3code:"TWN"},{label:"Tajikistan",alpha2code:"TJ",alpha3code:"TJK"},{label:"Tanzania, United Republic of",alpha2code:"TZ",alpha3code:"TZA"},{label:"Thailand",alpha2code:"TH",alpha3code:"THA"},{label:"Timor-Leste",alpha2code:"TL",alpha3code:"TLS"},{label:"Togo",alpha2code:"TG",alpha3code:"TGO"},{label:"Tokelau",alpha2code:"TK",alpha3code:"TKL"},{label:"Tonga",alpha2code:"TO",alpha3code:"TON"},{label:"Trinidad and Tobago",alpha2code:"TT",alpha3code:"TTO"},{label:"Tunisia",alpha2code:"TN",alpha3code:"TUN"},{label:"Turkey",alpha2code:"TR",alpha3code:"TUR"},{label:"Turkmenistan",alpha2code:"TM",alpha3code:"TKM"},{label:"Turks and Caicos Islands (the)",friendlyLabel:"The Turks and Caicos Islands",alpha2code:"TC",alpha3code:"TCA"},{label:"Tuvalu",alpha2code:"TV",alpha3code:"TUV"},{label:"Uganda",alpha2code:"UG",alpha3code:"UGA"},{label:"Ukraine",alpha2code:"UA",alpha3code:"UKR"},{label:"United Arab Emirates (the)",friendlyLabel:"The United Arab Emirates",alpha2code:"AE",alpha3code:"ARE"},{label:"United Kingdom",alpha2code:"GB",alpha3code:"GBR",compliance:"optional"},{label:"United States Minor Outlying Islands (the)",alpha2code:"UM",alpha3code:"UMI"},{label:"Uruguay",alpha2code:"UY",alpha3code:"URY"},{label:"Uzbekistan",alpha2code:"UZ",alpha3code:"UZB"},{label:"Vanuatu",alpha2code:"VU",alpha3code:"VUT"},{label:"Venezuela (Bolivarian Republic of)",friendlyLabel:"Venezuela",alpha2code:"VE",alpha3code:"VEN"},{label:"Viet Nam",alpha2code:"VN",alpha3code:"VNM"},{label:"Virgin Islands (British)",friendlyLabel:"The Virgin Islands (British)",alpha2code:"VG",alpha3code:"VGB"},{label:"Virgin Islands (U.S.)",friendlyLabel:"The U.S. Virgin Islands",alpha2code:"VI",alpha3code:"VIR"},{label:"Wallis and Futuna",alpha2code:"WF",alpha3code:"WLF"},{label:"Western Sahara",alpha2code:"EH",alpha3code:"ESH"},{label:"Yemen",alpha2code:"YE",alpha3code:"YEM"},{label:"Zambia",alpha2code:"ZM",alpha3code:"ZMB"},{label:"Zimbabwe",alpha2code:"ZW",alpha3code:"ZWE"},{label:"Åland Islands",alpha2code:"AX",alpha3code:"ALA"}],Cd=()=>{const{$ss:e}=G();return{root:e.tenant}},kc=()=>({currTenant:async()=>(await kc().listTenants()).find(o=>o.tenantKey===Cd().root),listTenants:async(r=!1)=>{const o=Ee(`tenantList-${r?"includeTest":"excludeTest"}`);if(o.value)return o.value;const{$gql:a}=G(),i=await a.query("getTenantInfo",{includeTest:r});return o.value=i.data,o.value},selectTenants:async r=>(await kc().listTenants()).filter(a=>r.includes(a.tenantKey))}),Et={error:(e="")=>{const{$toast:t}=G();t.error(e)},success:(e="")=>{const{$toast:t}=G();t.success(e)}};function pa(e){"@babel/helpers - typeof";return pa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},pa(e)}const Gk=Object.freeze(Object.defineProperty({__proto__:null,get default(){return pa}},Symbol.toStringTag,{value:"Module"}));function er(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function _t(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function cn(e){_t(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||pa(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function yb(e,t){_t(2,arguments);var n=cn(e),r=er(t);return isNaN(r)?new Date(NaN):(r&&n.setDate(n.getDate()+r),n)}function Kk(e,t){_t(2,arguments);var n=cn(e).getTime(),r=er(t);return new Date(n+r)}var Yk={};function As(){return Yk}function Jk(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function Qk(e){return _t(1,arguments),e instanceof Date||pa(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Xk(e){if(_t(1,arguments),!Qk(e)&&typeof e!="number")return!1;var t=cn(e);return!isNaN(Number(t))}function Zk(e,t){_t(2,arguments);var n=er(t);return Kk(e,-n)}var eE=864e5;function tE(e){_t(1,arguments);var t=cn(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var r=t.getTime(),o=n-r;return Math.floor(o/eE)+1}function qi(e){_t(1,arguments);var t=1,n=cn(e),r=n.getUTCDay(),o=(r<t?7:0)+r-t;return n.setUTCDate(n.getUTCDate()-o),n.setUTCHours(0,0,0,0),n}function bb(e){_t(1,arguments);var t=cn(e),n=t.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(n+1,0,4),r.setUTCHours(0,0,0,0);var o=qi(r),a=new Date(0);a.setUTCFullYear(n,0,4),a.setUTCHours(0,0,0,0);var i=qi(a);return t.getTime()>=o.getTime()?n+1:t.getTime()>=i.getTime()?n:n-1}function nE(e){_t(1,arguments);var t=bb(e),n=new Date(0);n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0);var r=qi(n);return r}var rE=6048e5;function oE(e){_t(1,arguments);var t=cn(e),n=qi(t).getTime()-nE(t).getTime();return Math.round(n/rE)+1}function ji(e,t){var n,r,o,a,i,s,l,c;_t(1,arguments);var u=As(),d=er((n=(r=(o=(a=t==null?void 0:t.weekStartsOn)!==null&&a!==void 0?a:t==null||(i=t.locale)===null||i===void 0||(s=i.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&o!==void 0?o:u.weekStartsOn)!==null&&r!==void 0?r:(l=u.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&n!==void 0?n:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var f=cn(e),m=f.getUTCDay(),b=(m<d?7:0)+m-d;return f.setUTCDate(f.getUTCDate()-b),f.setUTCHours(0,0,0,0),f}function vb(e,t){var n,r,o,a,i,s,l,c;_t(1,arguments);var u=cn(e),d=u.getUTCFullYear(),f=As(),m=er((n=(r=(o=(a=t==null?void 0:t.firstWeekContainsDate)!==null&&a!==void 0?a:t==null||(i=t.locale)===null||i===void 0||(s=i.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&o!==void 0?o:f.firstWeekContainsDate)!==null&&r!==void 0?r:(l=f.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&n!==void 0?n:1);if(!(m>=1&&m<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var b=new Date(0);b.setUTCFullYear(d+1,0,m),b.setUTCHours(0,0,0,0);var y=ji(b,t),x=new Date(0);x.setUTCFullYear(d,0,m),x.setUTCHours(0,0,0,0);var w=ji(x,t);return u.getTime()>=y.getTime()?d+1:u.getTime()>=w.getTime()?d:d-1}function aE(e,t){var n,r,o,a,i,s,l,c;_t(1,arguments);var u=As(),d=er((n=(r=(o=(a=t==null?void 0:t.firstWeekContainsDate)!==null&&a!==void 0?a:t==null||(i=t.locale)===null||i===void 0||(s=i.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&o!==void 0?o:u.firstWeekContainsDate)!==null&&r!==void 0?r:(l=u.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&n!==void 0?n:1),f=vb(e,t),m=new Date(0);m.setUTCFullYear(f,0,d),m.setUTCHours(0,0,0,0);var b=ji(m,t);return b}var iE=6048e5;function sE(e,t){_t(1,arguments);var n=cn(e),r=ji(n,t).getTime()-aE(n,t).getTime();return Math.round(r/iE)+1}function Ne(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length<t;)r="0"+r;return n+r}var $n={y:function(t,n){var r=t.getUTCFullYear(),o=r>0?r:1-r;return Ne(n==="yy"?o%100:o,n.length)},M:function(t,n){var r=t.getUTCMonth();return n==="M"?String(r+1):Ne(r+1,2)},d:function(t,n){return Ne(t.getUTCDate(),n.length)},a:function(t,n){var r=t.getUTCHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h:function(t,n){return Ne(t.getUTCHours()%12||12,n.length)},H:function(t,n){return Ne(t.getUTCHours(),n.length)},m:function(t,n){return Ne(t.getUTCMinutes(),n.length)},s:function(t,n){return Ne(t.getUTCSeconds(),n.length)},S:function(t,n){var r=n.length,o=t.getUTCMilliseconds(),a=Math.floor(o*Math.pow(10,r-3));return Ne(a,n.length)}},Ur={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},lE={G:function(t,n,r){var o=t.getUTCFullYear()>0?1:0;switch(n){case"G":case"GG":case"GGG":return r.era(o,{width:"abbreviated"});case"GGGGG":return r.era(o,{width:"narrow"});case"GGGG":default:return r.era(o,{width:"wide"})}},y:function(t,n,r){if(n==="yo"){var o=t.getUTCFullYear(),a=o>0?o:1-o;return r.ordinalNumber(a,{unit:"year"})}return $n.y(t,n)},Y:function(t,n,r,o){var a=vb(t,o),i=a>0?a:1-a;if(n==="YY"){var s=i%100;return Ne(s,2)}return n==="Yo"?r.ordinalNumber(i,{unit:"year"}):Ne(i,n.length)},R:function(t,n){var r=bb(t);return Ne(r,n.length)},u:function(t,n){var r=t.getUTCFullYear();return Ne(r,n.length)},Q:function(t,n,r){var o=Math.ceil((t.getUTCMonth()+1)/3);switch(n){case"Q":return String(o);case"QQ":return Ne(o,2);case"Qo":return r.ordinalNumber(o,{unit:"quarter"});case"QQQ":return r.quarter(o,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(o,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(o,{width:"wide",context:"formatting"})}},q:function(t,n,r){var o=Math.ceil((t.getUTCMonth()+1)/3);switch(n){case"q":return String(o);case"qq":return Ne(o,2);case"qo":return r.ordinalNumber(o,{unit:"quarter"});case"qqq":return r.quarter(o,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(o,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(o,{width:"wide",context:"standalone"})}},M:function(t,n,r){var o=t.getUTCMonth();switch(n){case"M":case"MM":return $n.M(t,n);case"Mo":return r.ordinalNumber(o+1,{unit:"month"});case"MMM":return r.month(o,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(o,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(o,{width:"wide",context:"formatting"})}},L:function(t,n,r){var o=t.getUTCMonth();switch(n){case"L":return String(o+1);case"LL":return Ne(o+1,2);case"Lo":return r.ordinalNumber(o+1,{unit:"month"});case"LLL":return r.month(o,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(o,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(o,{width:"wide",context:"standalone"})}},w:function(t,n,r,o){var a=sE(t,o);return n==="wo"?r.ordinalNumber(a,{unit:"week"}):Ne(a,n.length)},I:function(t,n,r){var o=oE(t);return n==="Io"?r.ordinalNumber(o,{unit:"week"}):Ne(o,n.length)},d:function(t,n,r){return n==="do"?r.ordinalNumber(t.getUTCDate(),{unit:"date"}):$n.d(t,n)},D:function(t,n,r){var o=tE(t);return n==="Do"?r.ordinalNumber(o,{unit:"dayOfYear"}):Ne(o,n.length)},E:function(t,n,r){var o=t.getUTCDay();switch(n){case"E":case"EE":case"EEE":return r.day(o,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(o,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(o,{width:"short",context:"formatting"});case"EEEE":default:return r.day(o,{width:"wide",context:"formatting"})}},e:function(t,n,r,o){var a=t.getUTCDay(),i=(a-o.weekStartsOn+8)%7||7;switch(n){case"e":return String(i);case"ee":return Ne(i,2);case"eo":return r.ordinalNumber(i,{unit:"day"});case"eee":return r.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(a,{width:"short",context:"formatting"});case"eeee":default:return r.day(a,{width:"wide",context:"formatting"})}},c:function(t,n,r,o){var a=t.getUTCDay(),i=(a-o.weekStartsOn+8)%7||7;switch(n){case"c":return String(i);case"cc":return Ne(i,n.length);case"co":return r.ordinalNumber(i,{unit:"day"});case"ccc":return r.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(a,{width:"narrow",context:"standalone"});case"cccccc":return r.day(a,{width:"short",context:"standalone"});case"cccc":default:return r.day(a,{width:"wide",context:"standalone"})}},i:function(t,n,r){var o=t.getUTCDay(),a=o===0?7:o;switch(n){case"i":return String(a);case"ii":return Ne(a,n.length);case"io":return r.ordinalNumber(a,{unit:"day"});case"iii":return r.day(o,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(o,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(o,{width:"short",context:"formatting"});case"iiii":default:return r.day(o,{width:"wide",context:"formatting"})}},a:function(t,n,r){var o=t.getUTCHours(),a=o/12>=1?"pm":"am";switch(n){case"a":case"aa":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(t,n,r){var o=t.getUTCHours(),a;switch(o===12?a=Ur.noon:o===0?a=Ur.midnight:a=o/12>=1?"pm":"am",n){case"b":case"bb":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(t,n,r){var o=t.getUTCHours(),a;switch(o>=17?a=Ur.evening:o>=12?a=Ur.afternoon:o>=4?a=Ur.morning:a=Ur.night,n){case"B":case"BB":case"BBB":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(t,n,r){if(n==="ho"){var o=t.getUTCHours()%12;return o===0&&(o=12),r.ordinalNumber(o,{unit:"hour"})}return $n.h(t,n)},H:function(t,n,r){return n==="Ho"?r.ordinalNumber(t.getUTCHours(),{unit:"hour"}):$n.H(t,n)},K:function(t,n,r){var o=t.getUTCHours()%12;return n==="Ko"?r.ordinalNumber(o,{unit:"hour"}):Ne(o,n.length)},k:function(t,n,r){var o=t.getUTCHours();return o===0&&(o=24),n==="ko"?r.ordinalNumber(o,{unit:"hour"}):Ne(o,n.length)},m:function(t,n,r){return n==="mo"?r.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):$n.m(t,n)},s:function(t,n,r){return n==="so"?r.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):$n.s(t,n)},S:function(t,n){return $n.S(t,n)},X:function(t,n,r,o){var a=o._originalDate||t,i=a.getTimezoneOffset();if(i===0)return"Z";switch(n){case"X":return Up(i);case"XXXX":case"XX":return fr(i);case"XXXXX":case"XXX":default:return fr(i,":")}},x:function(t,n,r,o){var a=o._originalDate||t,i=a.getTimezoneOffset();switch(n){case"x":return Up(i);case"xxxx":case"xx":return fr(i);case"xxxxx":case"xxx":default:return fr(i,":")}},O:function(t,n,r,o){var a=o._originalDate||t,i=a.getTimezoneOffset();switch(n){case"O":case"OO":case"OOO":return"GMT"+$p(i,":");case"OOOO":default:return"GMT"+fr(i,":")}},z:function(t,n,r,o){var a=o._originalDate||t,i=a.getTimezoneOffset();switch(n){case"z":case"zz":case"zzz":return"GMT"+$p(i,":");case"zzzz":default:return"GMT"+fr(i,":")}},t:function(t,n,r,o){var a=o._originalDate||t,i=Math.floor(a.getTime()/1e3);return Ne(i,n.length)},T:function(t,n,r,o){var a=o._originalDate||t,i=a.getTime();return Ne(i,n.length)}};function $p(e,t){var n=e>0?"-":"+",r=Math.abs(e),o=Math.floor(r/60),a=r%60;if(a===0)return n+String(o);var i=t;return n+String(o)+i+Ne(a,2)}function Up(e,t){if(e%60===0){var n=e>0?"-":"+";return n+Ne(Math.abs(e)/60,2)}return fr(e,t)}function fr(e,t){var n=t||"",r=e>0?"-":"+",o=Math.abs(e),a=Ne(Math.floor(o/60),2),i=Ne(o%60,2);return r+a+n+i}var Fp=function(t,n){switch(t){case"P":return n.date({width:"short"});case"PP":return n.date({width:"medium"});case"PPP":return n.date({width:"long"});case"PPPP":default:return n.date({width:"full"})}},_b=function(t,n){switch(t){case"p":return n.time({width:"short"});case"pp":return n.time({width:"medium"});case"ppp":return n.time({width:"long"});case"pppp":default:return n.time({width:"full"})}},cE=function(t,n){var r=t.match(/(P+)(p+)?/)||[],o=r[1],a=r[2];if(!a)return Fp(t,n);var i;switch(o){case"P":i=n.dateTime({width:"short"});break;case"PP":i=n.dateTime({width:"medium"});break;case"PPP":i=n.dateTime({width:"long"});break;case"PPPP":default:i=n.dateTime({width:"full"});break}return i.replace("{{date}}",Fp(o,n)).replace("{{time}}",_b(a,n))},uE={p:_b,P:cE},dE=["D","DD"],fE=["YY","YYYY"];function pE(e){return dE.indexOf(e)!==-1}function mE(e){return fE.indexOf(e)!==-1}function Vp(e,t,n){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var hE={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},gE=function(t,n,r){var o,a=hE[t];return typeof a=="string"?o=a:n===1?o=a.one:o=a.other.replace("{{count}}",n.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+o:o+" ago":o};function yl(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,r=e.formats[n]||e.formats[e.defaultWidth];return r}}var yE={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},bE={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},vE={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},_E={date:yl({formats:yE,defaultWidth:"full"}),time:yl({formats:bE,defaultWidth:"full"}),dateTime:yl({formats:vE,defaultWidth:"full"})},wE={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},xE=function(t,n,r,o){return wE[t]};function Ro(e){return function(t,n){var r=n!=null&&n.context?String(n.context):"standalone",o;if(r==="formatting"&&e.formattingValues){var a=e.defaultFormattingWidth||e.defaultWidth,i=n!=null&&n.width?String(n.width):a;o=e.formattingValues[i]||e.formattingValues[a]}else{var s=e.defaultWidth,l=n!=null&&n.width?String(n.width):e.defaultWidth;o=e.values[l]||e.values[s]}var c=e.argumentCallback?e.argumentCallback(t):t;return o[c]}}var CE={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},SE={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},TE={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},kE={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},EE={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},IE={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},PE=function(t,n){var r=Number(t),o=r%100;if(o>20||o<10)switch(o%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},OE={ordinalNumber:PE,era:Ro({values:CE,defaultWidth:"wide"}),quarter:Ro({values:SE,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Ro({values:TE,defaultWidth:"wide"}),day:Ro({values:kE,defaultWidth:"wide"}),dayPeriod:Ro({values:EE,defaultWidth:"wide",formattingValues:IE,defaultFormattingWidth:"wide"})};function No(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],a=t.match(o);if(!a)return null;var i=a[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?AE(s,function(d){return d.test(i)}):LE(s,function(d){return d.test(i)}),c;c=e.valueCallback?e.valueCallback(l):l,c=n.valueCallback?n.valueCallback(c):c;var u=t.slice(i.length);return{value:c,rest:u}}}function LE(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function AE(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}function ME(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;var o=r[0],a=t.match(e.parsePattern);if(!a)return null;var i=e.valueCallback?e.valueCallback(a[0]):a[0];i=n.valueCallback?n.valueCallback(i):i;var s=t.slice(o.length);return{value:i,rest:s}}}var RE=/^(\d+)(th|st|nd|rd)?/i,NE=/\d+/i,BE={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},DE={any:[/^b/i,/^(a|c)/i]},$E={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},UE={any:[/1/i,/2/i,/3/i,/4/i]},FE={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},VE={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},HE={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},qE={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},jE={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},WE={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},zE={ordinalNumber:ME({matchPattern:RE,parsePattern:NE,valueCallback:function(t){return parseInt(t,10)}}),era:No({matchPatterns:BE,defaultMatchWidth:"wide",parsePatterns:DE,defaultParseWidth:"any"}),quarter:No({matchPatterns:$E,defaultMatchWidth:"wide",parsePatterns:UE,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:No({matchPatterns:FE,defaultMatchWidth:"wide",parsePatterns:VE,defaultParseWidth:"any"}),day:No({matchPatterns:HE,defaultMatchWidth:"wide",parsePatterns:qE,defaultParseWidth:"any"}),dayPeriod:No({matchPatterns:jE,defaultMatchWidth:"any",parsePatterns:WE,defaultParseWidth:"any"})},GE={code:"en-US",formatDistance:gE,formatLong:_E,formatRelative:xE,localize:OE,match:zE,options:{weekStartsOn:0,firstWeekContainsDate:1}},KE=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,YE=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,JE=/^'([^]*?)'?$/,QE=/''/g,XE=/[a-zA-Z]/;function et(e,t,n){var r,o,a,i,s,l,c,u,d,f,m,b,y,x,w,g,h,p;_t(2,arguments);var _=String(t),S=As(),E=(r=(o=n==null?void 0:n.locale)!==null&&o!==void 0?o:S.locale)!==null&&r!==void 0?r:GE,F=er((a=(i=(s=(l=n==null?void 0:n.firstWeekContainsDate)!==null&&l!==void 0?l:n==null||(c=n.locale)===null||c===void 0||(u=c.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&s!==void 0?s:S.firstWeekContainsDate)!==null&&i!==void 0?i:(d=S.locale)===null||d===void 0||(f=d.options)===null||f===void 0?void 0:f.firstWeekContainsDate)!==null&&a!==void 0?a:1);if(!(F>=1&&F<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var N=er((m=(b=(y=(x=n==null?void 0:n.weekStartsOn)!==null&&x!==void 0?x:n==null||(w=n.locale)===null||w===void 0||(g=w.options)===null||g===void 0?void 0:g.weekStartsOn)!==null&&y!==void 0?y:S.weekStartsOn)!==null&&b!==void 0?b:(h=S.locale)===null||h===void 0||(p=h.options)===null||p===void 0?void 0:p.weekStartsOn)!==null&&m!==void 0?m:0);if(!(N>=0&&N<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!E.localize)throw new RangeError("locale must contain localize property");if(!E.formatLong)throw new RangeError("locale must contain formatLong property");var v=cn(e);if(!Xk(v))throw new RangeError("Invalid time value");var T=Jk(v),I=Zk(v,T),A={firstWeekContainsDate:F,weekStartsOn:N,locale:E,_originalDate:v},z=_.match(YE).map(function($){var R=$[0];if(R==="p"||R==="P"){var q=uE[R];return q($,E.formatLong)}return $}).join("").match(KE).map(function($){if($==="''")return"'";var R=$[0];if(R==="'")return ZE($);var q=lE[R];if(q)return!(n!=null&&n.useAdditionalWeekYearTokens)&&mE($)&&Vp($,t,String(e)),!(n!=null&&n.useAdditionalDayOfYearTokens)&&pE($)&&Vp($,t,String(e)),q(I,$,E.localize,A);if(R.match(XE))throw new RangeError("Format string contains an unescaped latin alphabet character `"+R+"`");return $}).join("");return z}function ZE(e){var t=e.match(JE);return t?t[1].replace(QE,"'"):e}var yn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ms(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Sd(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var Ec={exports:{}};function eI(e){return e&&e.__esModule?e:{default:e}}const tI=Object.freeze(Object.defineProperty({__proto__:null,default:eI},Symbol.toStringTag,{value:"Module"})),Ze=Sd(tI);var Ic={exports:{}},Pc={exports:{}};const wb=Sd(Gk);var Oc={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;function n(r,o){if(o.length<r)throw new TypeError(r+" argument"+(r>1?"s":"")+" required, but only "+o.length+" present")}e.exports=t.default})(Oc,Oc.exports);var Pt=Oc.exports;(function(e,t){var n=Ze.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var r=n(wb),o=n(Pt);function a(i){return(0,o.default)(1,arguments),i instanceof Date||(0,r.default)(i)==="object"&&Object.prototype.toString.call(i)==="[object Date]"}e.exports=t.default})(Pc,Pc.exports);var nI=Pc.exports,Lc={exports:{}};(function(e,t){var n=Ze.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var r=n(wb),o=n(Pt);function a(i){(0,o.default)(1,arguments);var s=Object.prototype.toString.call(i);return i instanceof Date||(0,r.default)(i)==="object"&&s==="[object Date]"?new Date(i.getTime()):typeof i=="number"||s==="[object Number]"?new Date(i):((typeof i=="string"||s==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}e.exports=t.default})(Lc,Lc.exports);var wn=Lc.exports;(function(e,t){var n=Ze.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var r=n(nI),o=n(wn),a=n(Pt);function i(s){if((0,a.default)(1,arguments),!(0,r.default)(s)&&typeof s!="number")return!1;var l=(0,o.default)(s);return!isNaN(Number(l))}e.exports=t.default})(Ic,Ic.exports);var rI=Ic.exports,Ac={exports:{}},Mc={exports:{}},Rc={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;function n(r){if(r===null||r===!0||r===!1)return NaN;var o=Number(r);return isNaN(o)?o:o<0?Math.ceil(o):Math.floor(o)}e.exports=t.default})(Rc,Rc.exports);var Rr=Rc.exports;const oI=Ms(Rr);(function(e,t){var n=Ze.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var r=n(Rr),o=n(wn),a=n(Pt);function i(s,l){(0,a.default)(2,arguments);var c=(0,o.default)(s).getTime(),u=(0,r.default)(l);return new Date(c+u)}e.exports=t.default})(Mc,Mc.exports);var aI=Mc.exports;(function(e,t){var n=Ze.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var r=n(aI),o=n(Pt),a=n(Rr);function i(s,l){(0,o.default)(2,arguments);var c=(0,a.default)(l);return(0,r.default)(s,-c)}e.exports=t.default})(Ac,Ac.exports);var iI=Ac.exports,Nc={exports:{}},Bc={exports:{}};(function(e,t){var n=Ze.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var r=n(wn),o=n(Pt),a=864e5;function i(s){(0,o.default)(1,arguments);var l=(0,r.default)(s),c=l.getTime();l.setUTCMonth(0,1),l.setUTCHours(0,0,0,0);var u=l.getTime(),d=c-u;return Math.floor(d/a)+1}e.exports=t.default})(Bc,Bc.exports);var sI=Bc.exports,Dc={exports:{}},$c={exports:{}};(function(e,t){var n=Ze.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var r=n(wn),o=n(Pt);function a(i){(0,o.default)(1,arguments);var s=1,l=(0,r.default)(i),c=l.getUTCDay(),u=(c<s?7:0)+c-s;return l.setUTCDate(l.getUTCDate()-u),l.setUTCHours(0,0,0,0),l}e.exports=t.default})($c,$c.exports);var Td=$c.exports,Uc={exports:{}},Fc={exports:{}};(function(e,t){var n=Ze.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var r=n(wn),o=n(Pt),a=n(Td);function i(s){(0,o.default)(1,arguments);var l=(0,r.default)(s),c=l.getUTCFullYear(),u=new Date(0);u.setUTCFullYear(c+1,0,4),u.setUTCHours(0,0,0,0);var d=(0,a.default)(u),f=new Date(0);f.setUTCFullYear(c,0,4),f.setUTCHours(0,0,0,0);var m=(0,a.default)(f);return l.getTime()>=d.getTime()?c+1:l.getTime()>=m.getTime()?c:c-1}e.exports=t.default})(Fc,Fc.exports);var xb=Fc.exports;(function(e,t){var n=Ze.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var r=n(xb),o=n(Td),a=n(Pt);function i(s){(0,a.default)(1,arguments);var l=(0,r.default)(s),c=new Date(0);c.setUTCFullYear(l,0,4),c.setUTCHours(0,0,0,0);var u=(0,o.default)(c);return u}e.exports=t.default})(Uc,Uc.exports);var lI=Uc.exports;(function(e,t){var n=Ze.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var r=n(wn),o=n(Td),a=n(lI),i=n(Pt),s=6048e5;function l(c){(0,i.default)(1,arguments);var u=(0,r.default)(c),d=(0,o.default)(u).getTime()-(0,a.default)(u).getTime();return Math.round(d/s)+1}e.exports=t.default})(Dc,Dc.exports);var cI=Dc.exports,Vc={exports:{}},Hc={exports:{}},Nr={};Object.defineProperty(Nr,"__esModule",{value:!0});Nr.getDefaultOptions=uI;Nr.setDefaultOptions=dI;var Cb={};function uI(){return Cb}function dI(e){Cb=e}(function(e,t){var n=Ze.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var r=n(wn),o=n(Pt),a=n(Rr),i=Nr;function s(l,c){var u,d,f,m,b,y,x,w;(0,o.default)(1,arguments);var g=(0,i.getDefaultOptions)(),h=(0,a.default)((u=(d=(f=(m=c==null?void 0:c.weekStartsOn)!==null&&m!==void 0?m:c==null||(b=c.locale)===null||b===void 0||(y=b.options)===null||y===void 0?void 0:y.weekStartsOn)!==null&&f!==void 0?f:g.weekStartsOn)!==null&&d!==void 0?d:(x=g.locale)===null||x===void 0||(w=x.options)===null||w===void 0?void 0:w.weekStartsOn)!==null&&u!==void 0?u:0);if(!(h>=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var p=(0,r.default)(l),_=p.getUTCDay(),S=(_<h?7:0)+_-h;return p.setUTCDate(p.getUTCDate()-S),p.setUTCHours(0,0,0,0),p}e.exports=t.default})(Hc,Hc.exports);var kd=Hc.exports,qc={exports:{}},jc={exports:{}};(function(e,t){var n=Ze.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var r=n(wn),o=n(Pt),a=n(kd),i=n(Rr),s=Nr;function l(c,u){var d,f,m,b,y,x,w,g;(0,o.default)(1,arguments);var h=(0,r.default)(c),p=h.getUTCFullYear(),_=(0,s.getDefaultOptions)(),S=(0,i.default)((d=(f=(m=(b=u==null?void 0:u.firstWeekContainsDate)!==null&&b!==void 0?b:u==null||(y=u.locale)===null||y===void 0||(x=y.options)===null||x===void 0?void 0:x.firstWeekContainsDate)!==null&&m!==void 0?m:_.firstWeekContainsDate)!==null&&f!==void 0?f:(w=_.locale)===null||w===void 0||(g=w.options)===null||g===void 0?void 0:g.firstWeekContainsDate)!==null&&d!==void 0?d:1);if(!(S>=1&&S<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var E=new Date(0);E.setUTCFullYear(p+1,0,S),E.setUTCHours(0,0,0,0);var F=(0,a.default)(E,u),N=new Date(0);N.setUTCFullYear(p,0,S),N.setUTCHours(0,0,0,0);var v=(0,a.default)(N,u);return h.getTime()>=F.getTime()?p+1:h.getTime()>=v.getTime()?p:p-1}e.exports=t.default})(jc,jc.exports);var Sb=jc.exports;(function(e,t){var n=Ze.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var r=n(Sb),o=n(Pt),a=n(kd),i=n(Rr),s=Nr;function l(c,u){var d,f,m,b,y,x,w,g;(0,o.default)(1,arguments);var h=(0,s.getDefaultOptions)(),p=(0,i.default)((d=(f=(m=(b=u==null?void 0:u.firstWeekContainsDate)!==null&&b!==void 0?b:u==null||(y=u.locale)===null||y===void 0||(x=y.options)===null||x===void 0?void 0:x.firstWeekContainsDate)!==null&&m!==void 0?m:h.firstWeekContainsDate)!==null&&f!==void 0?f:(w=h.locale)===null||w===void 0||(g=w.options)===null||g===void 0?void 0:g.firstWeekContainsDate)!==null&&d!==void 0?d:1),_=(0,r.default)(c,u),S=new Date(0);S.setUTCFullYear(_,0,p),S.setUTCHours(0,0,0,0);var E=(0,a.default)(S,u);return E}e.exports=t.default})(qc,qc.exports);var fI=qc.exports;(function(e,t){var n=Ze.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var r=n(wn),o=n(kd),a=n(fI),i=n(Pt),s=6048e5;function l(c,u){(0,i.default)(1,arguments);var d=(0,r.default)(c),f=(0,o.default)(d,u).getTime()-(0,a.default)(d,u).getTime();return Math.round(f/s)+1}e.exports=t.default})(Vc,Vc.exports);var pI=Vc.exports,Wc={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;function n(r,o){for(var a=r<0?"-":"",i=Math.abs(r).toString();i.length<o;)i="0"+i;return a+i}e.exports=t.default})(Wc,Wc.exports);var Tb=Wc.exports,zc={exports:{}};(function(e,t){var n=Ze.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(Tb),o={y:function(s,l){var c=s.getUTCFullYear(),u=c>0?c:1-c;return(0,r.default)(l==="yy"?u%100:u,l.length)},M:function(s,l){var c=s.getUTCMonth();return l==="M"?String(c+1):(0,r.default)(c+1,2)},d:function(s,l){return(0,r.default)(s.getUTCDate(),l.length)},a:function(s,l){var c=s.getUTCHours()/12>=1?"pm":"am";switch(l){case"a":case"aa":return c.toUpperCase();case"aaa":return c;case"aaaaa":return c[0];case"aaaa":default:return c==="am"?"a.m.":"p.m."}},h:function(s,l){return(0,r.default)(s.getUTCHours()%12||12,l.length)},H:function(s,l){return(0,r.default)(s.getUTCHours(),l.length)},m:function(s,l){return(0,r.default)(s.getUTCMinutes(),l.length)},s:function(s,l){return(0,r.default)(s.getUTCSeconds(),l.length)},S:function(s,l){var c=l.length,u=s.getUTCMilliseconds(),d=Math.floor(u*Math.pow(10,c-3));return(0,r.default)(d,l.length)}},a=o;t.default=a,e.exports=t.default})(zc,zc.exports);var mI=zc.exports;(function(e,t){var n=Ze.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(sI),o=n(cI),a=n(xb),i=n(pI),s=n(Sb),l=n(Tb),c=n(mI),u={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},d={G:function(w,g,h){var p=w.getUTCFullYear()>0?1:0;switch(g){case"G":case"GG":case"GGG":return h.era(p,{width:"abbreviated"});case"GGGGG":return h.era(p,{width:"narrow"});case"GGGG":default:return h.era(p,{width:"wide"})}},y:function(w,g,h){if(g==="yo"){var p=w.getUTCFullYear(),_=p>0?p:1-p;return h.ordinalNumber(_,{unit:"year"})}return c.default.y(w,g)},Y:function(w,g,h,p){var _=(0,s.default)(w,p),S=_>0?_:1-_;if(g==="YY"){var E=S%100;return(0,l.default)(E,2)}return g==="Yo"?h.ordinalNumber(S,{unit:"year"}):(0,l.default)(S,g.length)},R:function(w,g){var h=(0,a.default)(w);return(0,l.default)(h,g.length)},u:function(w,g){var h=w.getUTCFullYear();return(0,l.default)(h,g.length)},Q:function(w,g,h){var p=Math.ceil((w.getUTCMonth()+1)/3);switch(g){case"Q":return String(p);case"QQ":return(0,l.default)(p,2);case"Qo":return h.ordinalNumber(p,{unit:"quarter"});case"QQQ":return h.quarter(p,{width:"abbreviated",context:"formatting"});case"QQQQQ":return h.quarter(p,{width:"narrow",context:"formatting"});case"QQQQ":default:return h.quarter(p,{width:"wide",context:"formatting"})}},q:function(w,g,h){var p=Math.ceil((w.getUTCMonth()+1)/3);switch(g){case"q":return String(p);case"qq":return(0,l.default)(p,2);case"qo":return h.ordinalNumber(p,{unit:"quarter"});case"qqq":return h.quarter(p,{width:"abbreviated",context:"standalone"});case"qqqqq":return h.quarter(p,{width:"narrow",context:"standalone"});case"qqqq":default:return h.quarter(p,{width:"wide",context:"standalone"})}},M:function(w,g,h){var p=w.getUTCMonth();switch(g){case"M":case"MM":return c.default.M(w,g);case"Mo":return h.ordinalNumber(p+1,{unit:"month"});case"MMM":return h.month(p,{width:"abbreviated",context:"formatting"});case"MMMMM":return h.month(p,{width:"narrow",context:"formatting"});case"MMMM":default:return h.month(p,{width:"wide",context:"formatting"})}},L:function(w,g,h){var p=w.getUTCMonth();switch(g){case"L":return String(p+1);case"LL":return(0,l.default)(p+1,2);case"Lo":return h.ordinalNumber(p+1,{unit:"month"});case"LLL":return h.month(p,{width:"abbreviated",context:"standalone"});case"LLLLL":return h.month(p,{width:"narrow",context:"standalone"});case"LLLL":default:return h.month(p,{width:"wide",context:"standalone"})}},w:function(w,g,h,p){var _=(0,i.default)(w,p);return g==="wo"?h.ordinalNumber(_,{unit:"week"}):(0,l.default)(_,g.length)},I:function(w,g,h){var p=(0,o.default)(w);return g==="Io"?h.ordinalNumber(p,{unit:"week"}):(0,l.default)(p,g.length)},d:function(w,g,h){return g==="do"?h.ordinalNumber(w.getUTCDate(),{unit:"date"}):c.default.d(w,g)},D:function(w,g,h){var p=(0,r.default)(w);return g==="Do"?h.ordinalNumber(p,{unit:"dayOfYear"}):(0,l.default)(p,g.length)},E:function(w,g,h){var p=w.getUTCDay();switch(g){case"E":case"EE":case"EEE":return h.day(p,{width:"abbreviated",context:"formatting"});case"EEEEE":return h.day(p,{width:"narrow",context:"formatting"});case"EEEEEE":return h.day(p,{width:"short",context:"formatting"});case"EEEE":default:return h.day(p,{width:"wide",context:"formatting"})}},e:function(w,g,h,p){var _=w.getUTCDay(),S=(_-p.weekStartsOn+8)%7||7;switch(g){case"e":return String(S);case"ee":return(0,l.default)(S,2);case"eo":return h.ordinalNumber(S,{unit:"day"});case"eee":return h.day(_,{width:"abbreviated",context:"formatting"});case"eeeee":return h.day(_,{width:"narrow",context:"formatting"});case"eeeeee":return h.day(_,{width:"short",context:"formatting"});case"eeee":default:return h.day(_,{width:"wide",context:"formatting"})}},c:function(w,g,h,p){var _=w.getUTCDay(),S=(_-p.weekStartsOn+8)%7||7;switch(g){case"c":return String(S);case"cc":return(0,l.default)(S,g.length);case"co":return h.ordinalNumber(S,{unit:"day"});case"ccc":return h.day(_,{width:"abbreviated",context:"standalone"});case"ccccc":return h.day(_,{width:"narrow",context:"standalone"});case"cccccc":return h.day(_,{width:"short",context:"standalone"});case"cccc":default:return h.day(_,{width:"wide",context:"standalone"})}},i:function(w,g,h){var p=w.getUTCDay(),_=p===0?7:p;switch(g){case"i":return String(_);case"ii":return(0,l.default)(_,g.length);case"io":return h.ordinalNumber(_,{unit:"day"});case"iii":return h.day(p,{width:"abbreviated",context:"formatting"});case"iiiii":return h.day(p,{width:"narrow",context:"formatting"});case"iiiiii":return h.day(p,{width:"short",context:"formatting"});case"iiii":default:return h.day(p,{width:"wide",context:"formatting"})}},a:function(w,g,h){var p=w.getUTCHours(),_=p/12>=1?"pm":"am";switch(g){case"a":case"aa":return h.dayPeriod(_,{width:"abbreviated",context:"formatting"});case"aaa":return h.dayPeriod(_,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return h.dayPeriod(_,{width:"narrow",context:"formatting"});case"aaaa":default:return h.dayPeriod(_,{width:"wide",context:"formatting"})}},b:function(w,g,h){var p=w.getUTCHours(),_;switch(p===12?_=u.noon:p===0?_=u.midnight:_=p/12>=1?"pm":"am",g){case"b":case"bb":return h.dayPeriod(_,{width:"abbreviated",context:"formatting"});case"bbb":return h.dayPeriod(_,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return h.dayPeriod(_,{width:"narrow",context:"formatting"});case"bbbb":default:return h.dayPeriod(_,{width:"wide",context:"formatting"})}},B:function(w,g,h){var p=w.getUTCHours(),_;switch(p>=17?_=u.evening:p>=12?_=u.afternoon:p>=4?_=u.morning:_=u.night,g){case"B":case"BB":case"BBB":return h.dayPeriod(_,{width:"abbreviated",context:"formatting"});case"BBBBB":return h.dayPeriod(_,{width:"narrow",context:"formatting"});case"BBBB":default:return h.dayPeriod(_,{width:"wide",context:"formatting"})}},h:function(w,g,h){if(g==="ho"){var p=w.getUTCHours()%12;return p===0&&(p=12),h.ordinalNumber(p,{unit:"hour"})}return c.default.h(w,g)},H:function(w,g,h){return g==="Ho"?h.ordinalNumber(w.getUTCHours(),{unit:"hour"}):c.default.H(w,g)},K:function(w,g,h){var p=w.getUTCHours()%12;return g==="Ko"?h.ordinalNumber(p,{unit:"hour"}):(0,l.default)(p,g.length)},k:function(w,g,h){var p=w.getUTCHours();return p===0&&(p=24),g==="ko"?h.ordinalNumber(p,{unit:"hour"}):(0,l.default)(p,g.length)},m:function(w,g,h){return g==="mo"?h.ordinalNumber(w.getUTCMinutes(),{unit:"minute"}):c.default.m(w,g)},s:function(w,g,h){return g==="so"?h.ordinalNumber(w.getUTCSeconds(),{unit:"second"}):c.default.s(w,g)},S:function(w,g){return c.default.S(w,g)},X:function(w,g,h,p){var _=p._originalDate||w,S=_.getTimezoneOffset();if(S===0)return"Z";switch(g){case"X":return m(S);case"XXXX":case"XX":return b(S);case"XXXXX":case"XXX":default:return b(S,":")}},x:function(w,g,h,p){var _=p._originalDate||w,S=_.getTimezoneOffset();switch(g){case"x":return m(S);case"xxxx":case"xx":return b(S);case"xxxxx":case"xxx":default:return b(S,":")}},O:function(w,g,h,p){var _=p._originalDate||w,S=_.getTimezoneOffset();switch(g){case"O":case"OO":case"OOO":return"GMT"+f(S,":");case"OOOO":default:return"GMT"+b(S,":")}},z:function(w,g,h,p){var _=p._originalDate||w,S=_.getTimezoneOffset();switch(g){case"z":case"zz":case"zzz":return"GMT"+f(S,":");case"zzzz":default:return"GMT"+b(S,":")}},t:function(w,g,h,p){var _=p._originalDate||w,S=Math.floor(_.getTime()/1e3);return(0,l.default)(S,g.length)},T:function(w,g,h,p){var _=p._originalDate||w,S=_.getTime();return(0,l.default)(S,g.length)}};function f(x,w){var g=x>0?"-":"+",h=Math.abs(x),p=Math.floor(h/60),_=h%60;if(_===0)return g+String(p);var S=w;return g+String(p)+S+(0,l.default)(_,2)}function m(x,w){if(x%60===0){var g=x>0?"-":"+";return g+(0,l.default)(Math.abs(x)/60,2)}return b(x,w)}function b(x,w){var g=w||"",h=x>0?"-":"+",p=Math.abs(x),_=(0,l.default)(Math.floor(p/60),2),S=(0,l.default)(p%60,2);return h+_+g+S}var y=d;t.default=y,e.exports=t.default})(Nc,Nc.exports);var hI=Nc.exports,Gc={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(l,c){switch(l){case"P":return c.date({width:"short"});case"PP":return c.date({width:"medium"});case"PPP":return c.date({width:"long"});case"PPPP":default:return c.date({width:"full"})}},r=function(l,c){switch(l){case"p":return c.time({width:"short"});case"pp":return c.time({width:"medium"});case"ppp":return c.time({width:"long"});case"pppp":default:return c.time({width:"full"})}},o=function(l,c){var u=l.match(/(P+)(p+)?/)||[],d=u[1],f=u[2];if(!f)return n(l,c);var m;switch(d){case"P":m=c.dateTime({width:"short"});break;case"PP":m=c.dateTime({width:"medium"});break;case"PPP":m=c.dateTime({width:"long"});break;case"PPPP":default:m=c.dateTime({width:"full"});break}return m.replace("{{date}}",n(d,c)).replace("{{time}}",r(f,c))},a={p:r,P:o},i=a;t.default=i,e.exports=t.default})(Gc,Gc.exports);var gI=Gc.exports,Kc={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;function n(r){var o=new Date(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate(),r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()));return o.setUTCFullYear(r.getFullYear()),r.getTime()-o.getTime()}e.exports=t.default})(Kc,Kc.exports);var kb=Kc.exports;const Hp=Ms(kb);var Ma={};Object.defineProperty(Ma,"__esModule",{value:!0});Ma.isProtectedDayOfYearToken=vI;Ma.isProtectedWeekYearToken=_I;Ma.throwProtectedError=wI;var yI=["D","DD"],bI=["YY","YYYY"];function vI(e){return yI.indexOf(e)!==-1}function _I(e){return bI.indexOf(e)!==-1}function wI(e,t,n){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var Yc={exports:{}},Jc={exports:{}},Qc={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},r=function(i,s,l){var c,u=n[i];return typeof u=="string"?c=u:s===1?c=u.one:c=u.other.replace("{{count}}",s.toString()),l!=null&&l.addSuffix?l.comparison&&l.comparison>0?"in "+c:c+" ago":c},o=r;t.default=o,e.exports=t.default})(Qc,Qc.exports);var xI=Qc.exports,Xc={exports:{}},Zc={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;function n(r){return function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=o.width?String(o.width):r.defaultWidth,i=r.formats[a]||r.formats[r.defaultWidth];return i}}e.exports=t.default})(Zc,Zc.exports);var CI=Zc.exports;(function(e,t){var n=Ze.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(CI),o={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},a={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},i={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},s={date:(0,r.default)({formats:o,defaultWidth:"full"}),time:(0,r.default)({formats:a,defaultWidth:"full"}),dateTime:(0,r.default)({formats:i,defaultWidth:"full"})},l=s;t.default=l,e.exports=t.default})(Xc,Xc.exports);var SI=Xc.exports,eu={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},r=function(i,s,l,c){return n[i]},o=r;t.default=o,e.exports=t.default})(eu,eu.exports);var TI=eu.exports,tu={exports:{}},nu={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;function n(r){return function(o,a){var i=a!=null&&a.context?String(a.context):"standalone",s;if(i==="formatting"&&r.formattingValues){var l=r.defaultFormattingWidth||r.defaultWidth,c=a!=null&&a.width?String(a.width):l;s=r.formattingValues[c]||r.formattingValues[l]}else{var u=r.defaultWidth,d=a!=null&&a.width?String(a.width):r.defaultWidth;s=r.values[d]||r.values[u]}var f=r.argumentCallback?r.argumentCallback(o):o;return s[f]}}e.exports=t.default})(nu,nu.exports);var kI=nu.exports;(function(e,t){var n=Ze.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(kI),o={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},a={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},i={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},s={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},l={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},c={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},u=function(b,y){var x=Number(b),w=x%100;if(w>20||w<10)switch(w%10){case 1:return x+"st";case 2:return x+"nd";case 3:return x+"rd"}return x+"th"},d={ordinalNumber:u,era:(0,r.default)({values:o,defaultWidth:"wide"}),quarter:(0,r.default)({values:a,defaultWidth:"wide",argumentCallback:function(b){return b-1}}),month:(0,r.default)({values:i,defaultWidth:"wide"}),day:(0,r.default)({values:s,defaultWidth:"wide"}),dayPeriod:(0,r.default)({values:l,defaultWidth:"wide",formattingValues:c,defaultFormattingWidth:"wide"})},f=d;t.default=f,e.exports=t.default})(tu,tu.exports);var EI=tu.exports,ru={exports:{}},ou={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;function n(a){return function(i){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=s.width,c=l&&a.matchPatterns[l]||a.matchPatterns[a.defaultMatchWidth],u=i.match(c);if(!u)return null;var d=u[0],f=l&&a.parsePatterns[l]||a.parsePatterns[a.defaultParseWidth],m=Array.isArray(f)?o(f,function(x){return x.test(d)}):r(f,function(x){return x.test(d)}),b;b=a.valueCallback?a.valueCallback(m):m,b=s.valueCallback?s.valueCallback(b):b;var y=i.slice(d.length);return{value:b,rest:y}}}function r(a,i){for(var s in a)if(a.hasOwnProperty(s)&&i(a[s]))return s}function o(a,i){for(var s=0;s<a.length;s++)if(i(a[s]))return s}e.exports=t.default})(ou,ou.exports);var II=ou.exports,au={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;function n(r){return function(o){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=o.match(r.matchPattern);if(!i)return null;var s=i[0],l=o.match(r.parsePattern);if(!l)return null;var c=r.valueCallback?r.valueCallback(l[0]):l[0];c=a.valueCallback?a.valueCallback(c):c;var u=o.slice(s.length);return{value:c,rest:u}}}e.exports=t.default})(au,au.exports);var PI=au.exports;(function(e,t){var n=Ze.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(II),o=n(PI),a=/^(\d+)(th|st|nd|rd)?/i,i=/\d+/i,s={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},l={any:[/^b/i,/^(a|c)/i]},c={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},u={any:[/1/i,/2/i,/3/i,/4/i]},d={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},f={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},m={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},b={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},y={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},x={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},w={ordinalNumber:(0,o.default)({matchPattern:a,parsePattern:i,valueCallback:function(p){return parseInt(p,10)}}),era:(0,r.default)({matchPatterns:s,defaultMatchWidth:"wide",parsePatterns:l,defaultParseWidth:"any"}),quarter:(0,r.default)({matchPatterns:c,defaultMatchWidth:"wide",parsePatterns:u,defaultParseWidth:"any",valueCallback:function(p){return p+1}}),month:(0,r.default)({matchPatterns:d,defaultMatchWidth:"wide",parsePatterns:f,defaultParseWidth:"any"}),day:(0,r.default)({matchPatterns:m,defaultMatchWidth:"wide",parsePatterns:b,defaultParseWidth:"any"}),dayPeriod:(0,r.default)({matchPatterns:y,defaultMatchWidth:"any",parsePatterns:x,defaultParseWidth:"any"})},g=w;t.default=g,e.exports=t.default})(ru,ru.exports);var OI=ru.exports;(function(e,t){var n=Ze.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(xI),o=n(SI),a=n(TI),i=n(EI),s=n(OI),l={code:"en-US",formatDistance:r.default,formatLong:o.default,formatRelative:a.default,localize:i.default,match:s.default,options:{weekStartsOn:0,firstWeekContainsDate:1}},c=l;t.default=c,e.exports=t.default})(Jc,Jc.exports);var LI=Jc.exports;(function(e,t){var n=Ze.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(LI),o=r.default;t.default=o,e.exports=t.default})(Yc,Yc.exports);var AI=Yc.exports;(function(e,t){var n=Ze.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=h;var r=n(rI),o=n(iI),a=n(wn),i=n(hI),s=n(gI),l=n(kb),c=Ma,u=n(Rr),d=n(Pt),f=Nr,m=n(AI),b=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,y=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,x=/^'([^]*?)'?$/,w=/''/g,g=/[a-zA-Z]/;function h(_,S,E){var F,N,v,T,I,A,z,$,R,q,j,X,me,be,Q,U,J,ce;(0,d.default)(2,arguments);var _e=String(S),D=(0,f.getDefaultOptions)(),Z=(F=(N=E==null?void 0:E.locale)!==null&&N!==void 0?N:D.locale)!==null&&F!==void 0?F:m.default,ne=(0,u.default)((v=(T=(I=(A=E==null?void 0:E.firstWeekContainsDate)!==null&&A!==void 0?A:E==null||(z=E.locale)===null||z===void 0||($=z.options)===null||$===void 0?void 0:$.firstWeekContainsDate)!==null&&I!==void 0?I:D.firstWeekContainsDate)!==null&&T!==void 0?T:(R=D.locale)===null||R===void 0||(q=R.options)===null||q===void 0?void 0:q.firstWeekContainsDate)!==null&&v!==void 0?v:1);if(!(ne>=1&&ne<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var ie=(0,u.default)((j=(X=(me=(be=E==null?void 0:E.weekStartsOn)!==null&&be!==void 0?be:E==null||(Q=E.locale)===null||Q===void 0||(U=Q.options)===null||U===void 0?void 0:U.weekStartsOn)!==null&&me!==void 0?me:D.weekStartsOn)!==null&&X!==void 0?X:(J=D.locale)===null||J===void 0||(ce=J.options)===null||ce===void 0?void 0:ce.weekStartsOn)!==null&&j!==void 0?j:0);if(!(ie>=0&&ie<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!Z.localize)throw new RangeError("locale must contain localize property");if(!Z.formatLong)throw new RangeError("locale must contain formatLong property");var ge=(0,a.default)(_);if(!(0,r.default)(ge))throw new RangeError("Invalid time value");var pe=(0,l.default)(ge),C=(0,o.default)(ge,pe),k={firstWeekContainsDate:ne,weekStartsOn:ie,locale:Z,_originalDate:ge},M=_e.match(y).map(function(W){var H=W[0];if(H==="p"||H==="P"){var Y=s.default[H];return Y(W,Z.formatLong)}return W}).join("").match(b).map(function(W){if(W==="''")return"'";var H=W[0];if(H==="'")return p(W);var Y=i.default[H];if(Y)return!(E!=null&&E.useAdditionalWeekYearTokens)&&(0,c.isProtectedWeekYearToken)(W)&&(0,c.throwProtectedError)(W,S,String(_)),!(E!=null&&E.useAdditionalDayOfYearTokens)&&(0,c.isProtectedDayOfYearToken)(W)&&(0,c.throwProtectedError)(W,S,String(_)),Y(C,W,Z.localize,k);if(H.match(g))throw new RangeError("Format string contains an unescaped latin alphabet character `"+H+"`");return W}).join("");return M}function p(_){var S=_.match(x);return S?S[1].replace(w,"'"):_}e.exports=t.default})(Ec,Ec.exports);var MI=Ec.exports;const RI=Ms(MI);function qp(e,t,n){var r=DI(e,n.timeZone,n.locale);return r.formatToParts?NI(r,t):BI(r,t)}function NI(e,t){for(var n=e.formatToParts(t),r=n.length-1;r>=0;--r)if(n[r].type==="timeZoneName")return n[r].value}function BI(e,t){var n=e.format(t).replace(/\u200E/g,""),r=/ [\w-+ ]+$/.exec(n);return r?r[0].substr(1):""}function DI(e,t,n){if(n&&!n.code)throw new Error("date-fns-tz error: Please set a language code on the locale object imported from date-fns, e.g. `locale.code = 'en-US'`");return new Intl.DateTimeFormat(n?[n.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}function $I(e,t){var n=HI(t);return n.formatToParts?FI(n,e):VI(n,e)}var UI={year:0,month:1,day:2,hour:3,minute:4,second:5};function FI(e,t){try{for(var n=e.formatToParts(t),r=[],o=0;o<n.length;o++){var a=UI[n[o].type];a>=0&&(r[a]=parseInt(n[o].value,10))}return r}catch(i){if(i instanceof RangeError)return[NaN];throw i}}function VI(e,t){var n=e.format(t),r=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n);return[r[3],r[1],r[2],r[4],r[5],r[6]]}var bl={};function HI(e){if(!bl[e]){var t=new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),n=t==="06/25/2014, 00:00:00"||t==="06/25/2014 00:00:00";bl[e]=n?new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})}return bl[e]}function Ed(e,t,n,r,o,a,i){var s=new Date(0);return s.setUTCFullYear(e,t,n),s.setUTCHours(r,o,a,i),s}var jp=36e5,qI=6e4,vl={timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function Rs(e,t,n){var r,o;if(!e||(r=vl.timezoneZ.exec(e),r))return 0;var a;if(r=vl.timezoneHH.exec(e),r)return a=parseInt(r[1],10),Wp(a)?-(a*jp):NaN;if(r=vl.timezoneHHMM.exec(e),r){a=parseInt(r[2],10);var i=parseInt(r[3],10);return Wp(a,i)?(o=Math.abs(a)*jp+i*qI,r[1]==="+"?-o:o):NaN}if(zI(e)){t=new Date(t||Date.now());var s=n?t:jI(t),l=iu(s,e),c=n?l:WI(t,l,e);return-c}return NaN}function jI(e){return Ed(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function iu(e,t){var n=$I(e,t),r=Ed(n[0],n[1]-1,n[2],n[3]%24,n[4],n[5],0).getTime(),o=e.getTime(),a=o%1e3;return o-=a>=0?a:1e3+a,r-o}function WI(e,t,n){var r=e.getTime(),o=r-t,a=iu(new Date(o),n);if(t===a)return t;o-=a-t;var i=iu(new Date(o),n);return a===i?a:Math.max(a,i)}function Wp(e,t){return-23<=e&&e<=23&&(t==null||0<=t&&t<=59)}var zp={};function zI(e){if(zp[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),zp[e]=!0,!0}catch{return!1}}var GI=60*1e3,KI={X:function(e,t,n,r){var o=_l(r.timeZone,e);if(o===0)return"Z";switch(t){case"X":return Gp(o);case"XXXX":case"XX":return qr(o);case"XXXXX":case"XXX":default:return qr(o,":")}},x:function(e,t,n,r){var o=_l(r.timeZone,e);switch(t){case"x":return Gp(o);case"xxxx":case"xx":return qr(o);case"xxxxx":case"xxx":default:return qr(o,":")}},O:function(e,t,n,r){var o=_l(r.timeZone,e);switch(t){case"O":case"OO":case"OOO":return"GMT"+YI(o,":");case"OOOO":default:return"GMT"+qr(o,":")}},z:function(e,t,n,r){switch(t){case"z":case"zz":case"zzz":return qp("short",e,r);case"zzzz":default:return qp("long",e,r)}}};function _l(e,t){var n=e?Rs(e,t,!0)/GI:t.getTimezoneOffset();if(Number.isNaN(n))throw new RangeError("Invalid time zone specified: "+e);return n}function Wi(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length<t;)r="0"+r;return n+r}function qr(e,t){var n=t||"",r=e>0?"-":"+",o=Math.abs(e),a=Wi(Math.floor(o/60),2),i=Wi(Math.floor(o%60),2);return r+a+n+i}function Gp(e,t){if(e%60===0){var n=e>0?"-":"+";return n+Wi(Math.abs(e)/60,2)}return qr(e,t)}function YI(e,t){var n=e>0?"-":"+",r=Math.abs(e),o=Math.floor(r/60),a=r%60;if(a===0)return n+String(o);var i=t;return n+String(o)+i+Wi(a,2)}var Eb=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,wl=36e5,Kp=6e4,JI=2,kt={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,plainTime:/:/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:Eb};function zi(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(e===null)return new Date(NaN);var n=t||{},r=n.additionalDigits==null?JI:oI(n.additionalDigits);if(r!==2&&r!==1&&r!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]")return new Date(e.getTime());if(typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]")return new Date(e);if(!(typeof e=="string"||Object.prototype.toString.call(e)==="[object String]"))return new Date(NaN);var o=QI(e),a=XI(o.date,r),i=a.year,s=a.restDateString,l=ZI(s,i);if(isNaN(l))return new Date(NaN);if(l){var c=l.getTime(),u=0,d;if(o.time&&(u=eP(o.time),isNaN(u)))return new Date(NaN);if(o.timeZone||n.timeZone){if(d=Rs(o.timeZone||n.timeZone,new Date(c+u)),isNaN(d))return new Date(NaN)}else d=Hp(new Date(c+u)),d=Hp(new Date(c+u+d));return new Date(c+u+d)}else return new Date(NaN)}function QI(e){var t={},n=kt.dateTimePattern.exec(e),r;if(n?(t.date=n[1],r=n[3]):(n=kt.datePattern.exec(e),n?(t.date=n[1],r=n[2]):(t.date=null,r=e)),r){var o=kt.timeZone.exec(r);o?(t.time=r.replace(o[1],""),t.timeZone=o[1].trim()):t.time=r}return t}function XI(e,t){var n=kt.YYY[t],r=kt.YYYYY[t],o;if(o=kt.YYYY.exec(e)||r.exec(e),o){var a=o[1];return{year:parseInt(a,10),restDateString:e.slice(a.length)}}if(o=kt.YY.exec(e)||n.exec(e),o){var i=o[1];return{year:parseInt(i,10)*100,restDateString:e.slice(i.length)}}return{year:null}}function ZI(e,t){if(t===null)return null;var n,r,o,a;if(e.length===0)return r=new Date(0),r.setUTCFullYear(t),r;if(n=kt.MM.exec(e),n)return r=new Date(0),o=parseInt(n[1],10)-1,Jp(t,o)?(r.setUTCFullYear(t,o),r):new Date(NaN);if(n=kt.DDD.exec(e),n){r=new Date(0);var i=parseInt(n[1],10);return rP(t,i)?(r.setUTCFullYear(t,0,i),r):new Date(NaN)}if(n=kt.MMDD.exec(e),n){r=new Date(0),o=parseInt(n[1],10)-1;var s=parseInt(n[2],10);return Jp(t,o,s)?(r.setUTCFullYear(t,o,s),r):new Date(NaN)}if(n=kt.Www.exec(e),n)return a=parseInt(n[1],10)-1,Qp(t,a)?Yp(t,a):new Date(NaN);if(n=kt.WwwD.exec(e),n){a=parseInt(n[1],10)-1;var l=parseInt(n[2],10)-1;return Qp(t,a,l)?Yp(t,a,l):new Date(NaN)}return null}function eP(e){var t,n,r;if(t=kt.HH.exec(e),t)return n=parseFloat(t[1].replace(",",".")),xl(n)?n%24*wl:NaN;if(t=kt.HHMM.exec(e),t)return n=parseInt(t[1],10),r=parseFloat(t[2].replace(",",".")),xl(n,r)?n%24*wl+r*Kp:NaN;if(t=kt.HHMMSS.exec(e),t){n=parseInt(t[1],10),r=parseInt(t[2],10);var o=parseFloat(t[3].replace(",","."));return xl(n,r,o)?n%24*wl+r*Kp+o*1e3:NaN}return null}function Yp(e,t,n){t=t||0,n=n||0;var r=new Date(0);r.setUTCFullYear(e,0,4);var o=r.getUTCDay()||7,a=t*7+n+1-o;return r.setUTCDate(r.getUTCDate()+a),r}var tP=[31,28,31,30,31,30,31,31,30,31,30,31],nP=[31,29,31,30,31,30,31,31,30,31,30,31];function Ib(e){return e%400===0||e%4===0&&e%100!==0}function Jp(e,t,n){if(t<0||t>11)return!1;if(n!=null){if(n<1)return!1;var r=Ib(e);if(r&&n>nP[t]||!r&&n>tP[t])return!1}return!0}function rP(e,t){if(t<1)return!1;var n=Ib(e);return!(n&&t>366||!n&&t>365)}function Qp(e,t,n){return!(t<0||t>52||n!=null&&(n<0||n>6))}function xl(e,t,n){return!(e!=null&&(e<0||e>=25)||t!=null&&(t<0||t>=60)||n!=null&&(n<0||n>=60))}var oP=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function Pb(e,t,n){var r=String(t),o=n||{},a=r.match(oP);if(a){var i=zi(o.originalDate||e,o);r=a.reduce(function(s,l){if(l[0]==="'")return s;var c=s.indexOf(l),u=s[c-1]==="'",d=s.replace(l,"'"+KI[l[0]](i,l,null,o)+"'");return u?d.substring(0,c-1)+d.substring(c+1):d},r)}return RI(e,r,o)}var su={exports:{}},lu={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;function n(r,o){if(r==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var a in o)Object.prototype.hasOwnProperty.call(o,a)&&(r[a]=o[a]);return r}e.exports=t.default})(lu,lu.exports);var aP=lu.exports;(function(e,t){var n=Ze.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var r=n(aP);function o(a){return(0,r.default)({},a)}e.exports=t.default})(su,su.exports);var iP=su.exports;const Ob=Ms(iP);function sP(e,t,n){var r=zi(e,n),o=Rs(t,r,!0),a=new Date(r.getTime()-o),i=new Date(0);return i.setFullYear(a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate()),i.setHours(a.getUTCHours(),a.getUTCMinutes(),a.getUTCSeconds(),a.getUTCMilliseconds()),i}function lP(e,t,n,r){var o=Ob(r);return o.timeZone=t,o.originalDate=e,Pb(sP(e,t),n,o)}function Lb(e,t,n){if(typeof e=="string"&&!e.match(Eb)){var r=Ob(n);return r.timeZone=t,zi(e,r)}var o=zi(e,n),a=Ed(o.getFullYear(),o.getMonth(),o.getDate(),o.getHours(),o.getMinutes(),o.getSeconds(),o.getMilliseconds()).getTime(),i=Rs(t,new Date(a));return new Date(a+i)}const ri=e=>{if(e){const t=et(new Date(e),"MMMM"),n=t.startsWith("Ma")||t.startsWith("Ap")||t.startsWith("Ju")?"MMMM d, yyyy":"MMM. d, yyyy";return et(new Date(e),n).replace("Sep","Sept")}else return null},oi=e=>{const t=n=>{if(n>3&&n<21)return"th";switch(n%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}};if(e){const n=et(new Date(e),"MMMM"),r=et(new Date(e),"dd"),o=n.startsWith("Ma")||n.startsWith("Ap")||n.startsWith("Ju")?"MMMM":"MMM.";return et(new Date(e),"d")+t(r)+" "+et(new Date(e),o).replace("Sep","Sept")+" "+et(new Date(e),"yyyy")}else return null},rU=e=>new Date(Lb(e)).getTime(),cP=(e,t)=>Number.isInteger(e)&&t?et(new Date(e),t):null,oU=(e,t)=>Number.isInteger(e)&&t?Pb(new Date(e),t):null,aU=e=>new Date(Lb(e,"America/Chicago")).getTime(),iU=(e,t)=>Number.isInteger(e)&&t?lP(new Date(e),"America/Chicago",t):null,sU=(e,t)=>Number.isInteger(e)&&t?et(new Date(e),t,{timeZone:"America/Chicago"}):null,lU=e=>{if((e==null?void 0:e.type)==="Event"){const t=ri(e.startDate),n=ri(e.endDate);return t&&n?`${t} - ${n}`:t??n}return(e==null?void 0:e.type)==="Webinar"?ri(e.startDate):ri(e==null?void 0:e.published)},cU=e=>{if((e==null?void 0:e.type)==="Event"){const t=oi(e.startDate),n=oi(e.endDate);return t&&n?`${t} - ${n}`:t??n}return(e==null?void 0:e.type)==="Webinar"?oi(e.startDate):oi(e==null?void 0:e.published)},Sr=e=>{const t=Ee("adUnitPatterns");return e&&(t.value=e),t},uP=()=>fa;function Jt(){return{adUnitPatterns:async()=>{const g=Ee("adUnitPatternsSelect");if(g.value)return g.value;const{$gql:h}=G(),p=await h.queryStream("getAdUnitPatternStream",{}),_=Sr(p.data.items).value;return g.value=_.filter(({type:S})=>S==="layout-block").map(({name:S,id:E})=>({label:S,value:E})),g.value},adUnitPatternsAll:async()=>{const g=Ee("adUnitPatternsAllSelect");if(g.value)return g.value;const{$gql:h}=G(),p=await h.queryStream("getAdUnitAdminPatternStream",{}),_=Sr(p.data.items).value;return g.value=_.map(({name:S,id:E})=>({label:S,value:E})),g.value},contentLabels:()=>{const{$ss:g}=G(),h=Ee("contentLabels");return h.value||(h.value=g.labels.content.map(p=>({value:p,label:p}))),h.value},contentTypes:(g="value")=>uP().map(h=>({value:h[g],label:h.label})),countries:(g,h=!1)=>{const p=Ee("countries");return p.value||(p.value=gb.map(({label:_,alpha2code:S,alpha3code:E,regions:F,compliance:N})=>{let v=g===2?S:E;return h&&(v=_),{label:_,value:v,regions:F,compliance:N}})),p.value},events:async()=>{var _;const g=Ee("eventSelect");if((_=g==null?void 0:g.value)!=null&&_.length)return g.value;const{$gql:h}=G(),p=await h.queryStream("getContentStream",{type:"Event",startDateAfter:Date.now(),limit:100});return g.value=p.data.items.filter(({type:S})=>S==="Event").map(S=>({label:S.name,value:S.id})),g.value},fonts:()=>{const g=Ee("fonts");return g.value||(g.value=Object.keys(Tc).map(h=>({label:Tc[h].label,value:h}))),g.value},personOptions:async()=>{const g=Ee("personSelect");if(g.value)return g.value;const{$gql:h}=G(),p={status:[zk.PUBLISHED],pagination:{limit:9999}},_=await h.query("getPersonStream",{input:p});return g.value=_.data.edges.map(({node:S})=>({label:S.fullName,value:S.id})),g.value},getContracts:async()=>{const g=Ee("contracts");if(g.value)return g.value;const{$gql:h}=G(),_=(await h.queryStream("getContractStreamForSelect",{input:{pagination:{limit:1e3}}}).catch(S=>{Et(S.message)})).data.items.sort((S,E)=>S.fullName>E.fullName?1:-1).map(S=>({label:`${S.name} (${S.approved?"Approved":"Pending"}${S.approved?` - ${cP(S.approved,"MMMM dd, yyyy")}`:""})`,value:S.id}));return g.value=_,g.value},getSesbVendors:()=>{var h;const{$ss:g}=G();return(((h=g==null?void 0:g.sourceEsb)==null?void 0:h.embeds)??[]).map(p=>({value:p.key,label:p.key}))},getTaxonomyTerms:async(g,h,p,_)=>{const{$gql:S}=G();let E=[];if(h){const v={includeTypes:g?[g]:["Bin","Tag","Location","Organization","Person"],excludeIds:_??[],phrase:h,sortField:"name",sortOrder:"asc"};for(var F=0;F<1;F++){const T=await S.queryStream("matchTaxonomyStream",{...v,limit:1e3}).catch(I=>{Et.error(I.message)});E=E.concat(T.data.items)}}if(Object.keys(p).length){const v={includeTypes:g?[g]:["Bin","Tag","Location","Organization","Person"],includeIds:p??[]},T=await S.queryStream("getTaxonomyStream",{...v}).catch(I=>{Et.error(I.message)});E=E.concat(T.data.items.filter(I=>!E.map(A=>A.id).includes(I.id)))}const N=E.map(v=>({id:v.id,name:v.name,fullName:v.fullName,label:(v==null?void 0:v.fullName)??v.name,value:v.id}));return N.sort((v,T)=>v.label.toLowerCase()<T.label.toLowerCase()?-1:1),N},memberships:async()=>{var _;const g=Ee("membershipOptions");if((_=g==null?void 0:g.value)!=null&&_.length)return g.value;const{$gql:h}=G(),p=await h.queryStream("getMembershipStream",{status:1});if(!p.error){const S=p.data.items.map(E=>({value:E.id,label:E.title,status:E.status}));g.value=S}return g.value},newsletterTemplates:async()=>{var _;const g=Ee("newsletterTemplateSelect");if((_=g==null?void 0:g.value)!=null&&_.length)return g.value;g.value=[];const{$gql:h}=G(),p=await h.queryStream("getNewsletterTemplateStream",{});return g.value=p.data.items.filter(({status:S})=>S===1).map(S=>({label:S.payload.name,value:S.id})),g.value},publications:async()=>{var _;const g=Ee("publicationSelect");if((_=g==null?void 0:g.value)!=null&&_.length)return g.value;g.value=[];const{$gql:h}=G(),p=await h.queryStream("getPublicationStream",{});return g.value=p.data.items.map(S=>({label:S.name,value:S.id})),g.value},scheduleOptions:()=>["Standard","Featured","Pinned","Sponsored","Recommended"].map(h=>({value:h,label:h})),tenants:async()=>{const{listTenants:g}=kc(),h=Ee("tenantSelect");if(h.value)return h.value;const p=await g();return h.value=p.map(({domain:_,tenantKey:S})=>({label:_.toLowerCase(),value:S})),h.value},websiteSections:async(g=null,h="")=>{var v;const p=Ee(`websiteSection${h}`);if((v=p==null?void 0:p.value)!=null&&v.length)return p.value;p.value=[];const{$gql:_}=G();let S={};h&&(S={headers:{"x-tenant-key":h}});const E=await _.queryStream("getWebsiteSectionsHierarchy",{},S).catch(T=>{Et(T.message)});let F="";g&&E.data.items.map(T=>{T.id===g&&(F=T.hierarchy[T.hierarchy.length-1].fullName)});const N=[];return E.data.items.map(T=>{const I=T.hierarchy[T.hierarchy.length-1].fullName;(!F||(I==null?void 0:I.search(F))<0)&&N.push({value:T.id,label:I})}),p.value=[...N],p.value},webinars:async()=>{var _;const g=Ee("webinarSelect");if((_=g==null?void 0:g.value)!=null&&_.length)return g.value;const{$gql:h}=G(),p=await h.queryStream("getContentStream",{type:"Webinar",startDateAfter:Date.now(),limit:100});return g.value=p.data.items.filter(({type:S})=>S==="Webinar").map(S=>({label:S.name,value:S.id})),g.value}}}const{contentTypes:dP}=Jt(),Ab=[...fa];Ab.unshift({value:"Section",label:"Section"});const fP={name:{type:"text_input",label:"Name",required:!0},type:{type:"select",label:"Layout Type",required:!0,options:[{value:"content",label:"Content (Default)"},{value:"section",label:"Section (Default)"},{value:"content-override",label:"Content Override"},{value:"content-type-override",label:"Content Type Override"},{value:"url-override",label:"URL Override"},{value:"module",label:"Module"}]},key:{type:"select",label:"Module Key",options:[],conditions:{type:{equals:"module"}}},alias:{type:"text_input",label:"Override Alias",repeating:!0,required:!0,conditions:{type:{equals:"url-override"}}},propagate:{type:"checkbox",label:"Propagate URLs",description:"Propagate will apply this layout to all child aliases of the aliases specified above.",conditions:{type:{equals:"url-override"}}},pageType:{type:"select",label:"Page Type",options:Ab,description:"This defines the page type this url override is intended to apply to.",required:!0,conditions:{propagate:{equals:!0}}},contentTypes:{type:"select",label:"Content Types",allowMultiple:!0,required:!0,options:()=>dP("layoutKey"),conditions:{type:{include:["content-type-override","content-override"]}}},gatingRequirements:{type:"select",label:"Gating Requirements",options:[{value:"omeda",label:"Omeda"},{value:"membership",label:"Membership"}],conditions:{type:{include:["content-type-override","content-override"]}}},isGlobal:{type:"checkbox",label:"Is Global",defaultValue:!1},tenants:{type:"select",allowMultiple:!0,label:"Sites",options:Jt().tenants,conditions:{isGlobal:{equals:!1}}},hideSiteShell:{type:"checkbox",label:"Hide Header/Footer"},loadMoreType:{type:"field_group",fields:{type:{type:"select",label:"Load More Type",options:[{value:"none",label:"None"},{value:"custom-click",label:"Custom Grid (click)"},{value:"custom-scroll",label:"Custom Grid (scroll)"},{value:"page-click",label:"Content Page (click)"},{value:"page-scroll",label:"Content Page (scroll)"}]}}},excludeAds:{type:"field_group",label:"Exclude Ads",expanded:!0,fields:{welcomeAd:{type:"checkbox",label:"Welcome",description:"This will prevent Welcome Ads from displaying on pages with this layout"},headerLeaderboardAd:{type:"checkbox",label:"Header Leaderboard",description:"This will prevent Headers Leaderboard Ads from displaying on pages with this layout"},stickyLeaderboardAd:{type:"checkbox",label:"Sticky Leaderboard",description:"This will prevent Sticky Leaderboard Ads from displaying on pages with this layout"},contentBodyNativeAd:{type:"checkbox",label:"Content Body Native",description:"This will prevent Content Body Native Ads from displaying on pages with this layout"},contentBodyEmbedAd:{type:"checkbox",label:"Content Body Embed",description:"This will prevent Content Body Embed Ads from displaying on pages with this layout"},contentListNativeAd:{type:"checkbox",label:"Content List Native",description:"This will prevent Content List Native Ads from displaying on pages with this layout"},reskinAd:{type:"checkbox",label:"Content Reskin",description:"This will prevent Reskin Ads from displaying on pages with this layout"}}}},pP={general:{label:"General",type:"field_group",fields:{siteName:{label:"Site Name",type:"text_input",required:!0},rootDomain:{label:"Root Domain",type:"text_input",required:!0},supportedContentTypes:{label:"Supported Content Types",type:"select",description:"If no content types are selected on a block, this list will be used for filtering.",allowMultiple:!0,required:!0,options:fa},maxPageScrolls:{label:"Maximum Page Scrolls",type:"integer_input",defaultValue:8},favicon:{label:"Favicon",type:"image_input",required:!0,description:"Must be an .ico format with a square aspect ratio",filePath:"image/website/favicon/"},enableNoIndexByContentType:{label:"Enable NoIndex by Content Type",type:"select",description:"The list of content types that can be selected to add the noIndex meta tag",allowMultiple:!0,options:[]}}},header:{type:"field_group",label:"Header",fields:{logo:{label:"Logo",type:"image_input",required:!0,filePath:"image/website/logos/"},logoHeight:{label:"Logo Height",type:"integer_input",min:35,max:45,defaultValue:35},prestitialLogo:{label:"Prestitial Logo",type:"image_input",required:!1,filePath:"image/website/logos/"},primaryBackgroundColor:{label:"Primary Background Color",type:"color_select"},primaryTextColor:{label:"Primary Font Color",type:"color_select"},secondaryBackgroundColor:{label:"Secondary Background Color",type:"color_select"},secondaryTextColor:{label:"Secondary Font Color",type:"color_select"},hamburgerMenuStyle:{label:"Hamburger Menu Style",type:"select",options:[{value:"primary",label:"Primary"},{value:"secondary",label:"Secondary"}],required:!0},hamburgerMenuIconColor:{label:"Hamburger Menu Icon Color (mobile)",type:"color_select"},hamburgerMenuIconBGColor:{label:"Hamburger Menu Icon Background Color (mobile)",type:"color_select"},hamburgerMenuCollapsibleGroups:{label:"Allow collapsing of Hamburger Menu link groups",type:"checkbox"},searchStyle:{label:"Search Style",type:"select",options:[{value:"icon",label:"Icon"},{value:"text",label:"Text"}],defaultValue:"icon",required:!0}}},footer:{type:"field_group",label:"Footer",fields:{logo:{label:"Logo",type:"image_input",required:!0,filePath:"image/website/logos/"},logoBackgroundColor:{label:"Logo Background Color",type:"color_select"},primaryBackgroundColor:{label:"Primary Background Color",type:"color_select"}}},socialLinks:{label:"Social Links",type:"field_group",fields:{facebook:{label:"Facebook",type:"text_input"},twitter:{label:"Twitter",type:"text_input"},instagram:{label:"Instagram",type:"text_input"},pinterest:{label:"Pinterest",type:"text_input"},linkedin:{label:"LinkedIn",type:"text_input"},youtube:{label:"You Tube",type:"text_input"}}},baseStyles:{label:"Base Styles",type:"field_group",fields:{colorPalette:{label:"Color Pallette",type:"color_picker",repeating:"true",required:!0},primaryFont:{label:"Primary Font",type:"select",defaultValue:"Arial, sans-serif",options:Jt().fonts,required:!0},secondaryFont:{label:"Secondary Font",type:"select",defaultValue:"Verdana",options:Jt().fonts,required:!0},primaryColor:{label:"Primary Color",type:"color_select",required:!0},secondaryColor:{label:"Secondary Color",type:"color_select",required:!0},linkColor:{label:"Link Color",type:"color_select",required:!0},bodyBackgroundColor:{label:"Body Background Color",type:"color_select",required:!0},siteTheme:{label:"Site Theme",type:"site_theme",required:!0}}},podStyle:{label:"Block Style",type:"field_group",fields:{accentColor:{label:"Accent Color",type:"color_select",defaultValue:"#444"}}},contentStyle:{label:"Content Settings",type:"field_group",fields:{smallImageWidth:{label:"Small Image Width",type:"integer_input",defaultValue:135,required:!0},sponsoredTextColor:{label:"Sponsored Text Color",type:"color_select",defaultValue:"#777",required:!0},sectionColor:{label:"Section Text Color",type:"color_select",defaultValue:"#777",required:!0},sectionLocation:{label:"Section Location",type:"select",options:[{value:"none",label:"None"},{value:"top",label:"Top"},{value:"bottom",label:"Bottom"}]},itemVerticalSpacing:{label:"Item Vertical Spacing",type:"select",options:[{value:"small",label:"Small"},{value:"medium",label:"Medium"},{value:"large",label:"Large"}],defaultValue:"small"},dateTextColor:{label:"Date Text Color",type:"color_select",defaultValue:"#777",required:!0},dateLocation:{label:"Date Location",type:"select",options:[{value:"above_summary",label:"Above Summary"},{value:"below_summary",label:"Below Summary"}],defaultValue:"below_summary",required:!0},showCompanyDate:{label:"Company/Author Display",type:"select",options:[{value:"author_company",label:"Author, then Company"},{value:"author_only",label:"Author only"},{value:"",label:"None"}],defaultValue:""},defaultContentTypes:{label:"Default Content Types",type:"select",description:"If no content types are selected on a block, this list will be used for filtering.",allowMultiple:!0,required:!0,options:fa},includeHomeInBreadcrumb:{label:"Include Home in Breadcrumb",type:"checkbox",defaultValue:!0},socialShareLinks:{label:"Social Share Links",type:"select",allowMultiple:!0,options:[{value:"facebook",label:"Facebook"},{value:"linkedin",label:"LinkedIn"},{value:"twitter",label:"Twitter"},{value:"pinterest",label:"Pinterest"},{value:"flipboard",label:"Flipboard"},{value:"instapaper",label:"Instapaper"},{value:"pocket",label:"Pocket"},{value:"quora",label:"Quora"},{value:"reddit",label:"Reddit"},{value:"skype",label:"Skype"},{value:"telegram",label:"Telegram"},{value:"tumblr",label:"Tumblr"},{value:"whatsapp",label:"WhatsApp"}],defaultValue:["facebook","linkedin","twitter","pinterest"]}}},googleTagManager:{label:"Google Tag Manager",type:"field_group",fields:{containerID:{label:"Container ID",type:"text_input",defaultValue:"GTM-XXXXXXX"}}},googleAdManager:{label:"Google Ad Manager",type:"field_group",fields:{basePath:{label:"Base Path",type:"text_input",required:!0},lazyLoad:{label:"Lazy load",type:"checkbox",defaultValue:!1},iavTargetInjection:{label:"IAV Target Paragraph",type:"integer_input",defaultValue:4}}},leaders:{label:"Leaders",type:"field_group",requiredModules:["leaders"],fields:{enabled:{label:"Enabled",type:"checkbox",defaultValue:!1},logo:{label:"Logo",type:"image_input",filePath:"image/website/leaders/"},section:{label:"Parent Section",type:"select",options:Jt().websiteSections}}},inquiryForm:{label:"Inquiry Form",type:"field_group",fields:{sendTo:{label:"Send to",description:"The default address that emails will be sent to",type:"email_input",required:!0},sendFrom:{label:"Send from",description:"The address emails will be sent from",type:"text_input",defaultValue:"YourSiteName.com <noreply@baseplatform.io>",required:!0},sendBcc:{label:"Bcc",description:"The address(s) that will be blind copied on the email",type:"email_input"},notificationSubject:{label:"Notification Subject",description:"The subject line of the notification email (sent to the above email address(s))",type:"text_input",defaultValue:"A new inquiry submission was received"},emailHeaderImage:{label:"Email Header",description:"The header image to be used in the outgoing emails.",type:"image_input",required:!0,filePath:"image/website/inquiry/"}}},contactUs:{label:"Contact Us",type:"field_group",fields:{sendTo:{label:"Send to",type:"email_input",required:!0},sendFrom:{label:"Send from",description:"The address emails will be sent from",type:"text_input",defaultValue:"YourSiteName.com <noreply@baseplatform.io>",required:!0},notificationSubject:{label:"Notification Subject",description:"The subject line of the notification email (sent to the above email address(s))",type:"text_input",defaultValue:"A new inquiry submission was received"}}},sourceEsb:{label:"Parts Direct (formerly Source ESB)",type:"field_group",requiredModules:["sourceesb"],fields:{embeds:{type:"field_group",repeating:!0,fields:{key:{label:"Key",type:"text_input",required:!0},inArticleTextTitle:{type:"text_input",label:"In Article Text Title",description:"This text will appear to the left of the in article search widget."},inArticleTextBody:{type:"text_input",rows:3,label:"In Article Text Body",description:"This text will appear to the left of the in article search widget below the title."},inArticleTextButtonLabel:{type:"text_input",label:"In Article Text Button Label"},inArticleClickUrl:{type:"text_input",label:"In Article URL",description:"This is the url the user will go to if they click the text to the left of the search widget."}}}}},labels:{label:"Labels",type:"field_group",fields:{content:{label:"Content Labels",type:"text_input",repeating:!0}}},magazine:{label:"Magazine",type:"field_group",fields:{nlOmedaSite:{type:"text_input",label:"Newsletter Signup Omeda Site"},nlSignupQuery:{type:"text_input",label:"Newsletter Signup Omeda Query"}}},blueconic:{label:"Blue Conic",type:"field_group",fields:{gamTargeting:{type:"checkbox",label:"Enable GAM Targeting parameters"}}},oneTrust:{label:"One Trust",type:"field_group",fields:{scriptId:{label:"Data Domain Script ID",type:"text_input",defaultValue:""}}},thirdPartyScripts:{label:"Third Party Scripts",type:"field_group",fields:{adDaptive:{label:"AdDaptive",type:"field_group",fields:{enable:{label:"Enable AdDaptive",type:"checkbox"}}},blueConic:{label:"BlueConic",type:"field_group",fields:{sourceUrl:{label:"BlueConic Source Url",type:"text_input"}}},facebookPixel:{label:"Facebook Pixel",type:"field_group",fields:{enable:{label:"Enable Facebook Pixel",type:"checkbox"},ids:{label:"Facebook Pixel Id",type:"text_input",repeating:!0}}},feathrSuperPixel:{label:"Feathr Super Pixel",type:"field_group",fields:{enable:{label:"Enable Feathr Super Pixel",type:"checkbox"}}},hotjar:{label:"Hotjar",type:"field_group",fields:{siteId:{type:"text_input",label:"Hotjar Site Id"}}},linkedInInsight:{label:"LinkedIn Insight",type:"field_group",fields:{enable:{label:"Enable LinkedIn Insight",type:"checkbox"},ids:{label:"LinkedIn Partner Id",type:"text_input",repeating:!0}}},olytics:{label:"Olytics",type:"field_group",fields:{oid:{label:"Olytics OID",type:"select",options:[{label:"CPS - 9638b99539f24265ae21a943011404d2",value:"9638b99539f24265ae21a943011404d2"},{label:"AVVDB - c8435b9a684740ea88e03723abe2c4c9",value:"c8435b9a684740ea88e03723abe2c4c9"},{label:"AUTM - b8ddd68862d84bf29f66ad7b5f2411cc",value:"b8ddd68862d84bf29f66ad7b5f2411cc"}]},behaviorId:{label:"Olytics Behavior ID",type:"text_input"}}}}},companyUpdate:{label:"Company Update",type:"field_group",fields:{enabled:{label:"Enabled",type:"checkbox",defaultValue:!1},notificationEmails:{label:"Notification Email",description:"The email address to receive Company Update notifications",type:"email_input",repeating:"true",required:!0,conditions:{enabled:{equals:!0}}}}},sponsoredSearch:{label:"Sponsored Search",type:"field_group",fields:{enabled:{label:"Enabled",type:"checkbox",defaultValue:!1},logo:{label:"Header Logo",type:"image_input",conditions:{enabled:{equals:!0}}},searchPageLogo:{label:"Search Page Logo",type:"image_input",conditions:{enabled:{equals:!0}}},clickUrl:{label:"Click URL",type:"link_input",conditions:{enabled:{equals:!0}}}}},systemOutage:{label:"System Outage",type:"field_group",fields:{disableOmeda:{label:"Disable Omeda",type:"checkbox",defaultValue:!1},disableOmedaMessage:{label:"Message",type:"rich_text_editor",conditions:{disableOmeda:{equals:!0}}}}},aiRecommendations:{label:"AI Recommendations",type:"field_group",fields:{enabled:{label:"Enabled",type:"checkbox",defaultValue:!1}}}},mP={name:{type:"text_input",label:"Name",required:!0},parent:{type:"select",label:"Parent Section",options:Jt().websiteSections},systemAlias:{type:"read_only_input",label:"Auto Alias"},manualAlias:{type:"checkbox",label:"Override Alias?",required:!0},alias:{type:"text_input",label:"Alias Override",required:!0,conditions:{manualAlias:{equals:!0}}},description:{type:"text_input",label:"Description",rows:4},gamAlias:{type:"text_input",label:"GAM Alias",description:'If this is populated, this alias will be passed to Google ad units in place of "default".'}},hP={maxColumns:3,allowedLayouts:["1_1","1_2","1_3","2_1","3_1","1_1_1","1_2_1"],rowSettings:{layout:{type:"row_layout",label:"Layout"},verticalPadding:{type:"select",label:"Vertical Padding",defaultValue:"small",options:[{value:"default",label:"Default"},{value:"none",label:"None"},{value:"small",label:"Small"},{value:"medium",label:"Medium"},{value:"large",label:"Large"}]},horizontalPadding:{type:"select",label:"Horizontal Padding",defaultValue:"small",options:[{value:"default",label:"Default"},{value:"none",label:"None"},{value:"small",label:"Small"},{value:"medium",label:"Medium"},{value:"large",label:"Large"}]},columnPriority:{type:"select",label:"Mobile Column Priority",defaultValue:"largest_first",description:'A "left to right" order will stack the columns vertically on mobile in the order they appear. A "largest first" order will stack the widest column first on mobile, followed by the rest in order they appear.',options:[{value:"largest_first",label:"Largest First"},{value:"left_to_right",label:"Left to Right"}]},equalizeBlocks:{type:"checkbox",label:"Equalize blocks",description:"If checked, all blocks in this row's columns will be set to equal height. It should only be used when each column contains 1 block and they are all similar.",defaultValue:!1},groupBlocks:{type:"checkbox",label:"Group blocks",description:"If checked, any site theme styling applied to blocks will instead be applied to the entire row, such as background color or drop shadow."}},columnSettings:{blockAlignment:{type:"select",label:"Block Alignment",options:[{value:"top",label:"Top"},{value:"center",label:"Center"}]}},blockSettings:{title:{type:"text_input",label:"Title",description:"When applicable, you can use the following tokens in the block title: [sectionname], [issuename], [pagename]."},link:{type:"text_input",label:"Title Link",description:"When applicable, you can use the following tokens in the block link: [sectionlink]."},backgroundColor:{type:"color_select",label:"Background Color",description:"This is only used if you need to override the default block aesthetic, such as with subscribe blocks"},contentPadding:{label:"Content Padding",type:"checkbox",description:"If checked, this will add some small padding around the block content",defaultValue:!0},keepInView:{label:"Keep in View",type:"checkbox",description:"If checked, this block will anchor to the top of the page as the user scrolls down.",defaultValue:!1},trackingId:{label:"Tracking Id",type:"text_input"}}},gP={from:{type:"text_input",label:"From"},to:{type:"text_input",label:"To"}},yP=["page","reskin","content-body-native","content-list-native"],bP={"layout-block":"Layout Block",page:"Page","content-list-native":"Content List Native","content-body-embed":"Content Body Embed","content-body-native":"Content Body Native",reskin:"Reskin","sticky-bottom":"Sticky Bottom","header-leaderboard":"Header Leaderboard"},vP={email:{type:"text_input",label:"Email",required:!0},username:{type:"text_input",label:"Username",required:!0},firstName:{type:"text_input",label:"First Name",required:!0},lastName:{type:"text_input",label:"Last Name",required:!0},role:{type:"select",label:"User Role",required:!0,defaultValue:"editor"},extraPermissions:{type:"checkboxes",label:"Addtl Permissions"},status:{type:"select",label:"Status",required:!0,options:[{value:0,label:"Inactive"},{value:1,label:"Active"}]},isGlobal:{type:"select",label:"User Scope",options:[{value:0,label:"Site Specific"},{value:1,label:"Global"}],defaultValue:0,required:!0},tenants:{type:"select",label:"Sites",allowMultiple:!0,options:Jt().tenants,conditions:{isGlobal:{equals:0}}}},_P={firstName:{type:"text_input",label:"First Name"},lastName:{type:"text_input",label:"Last Name"},username:{type:"text_input",label:"Username",disabled:!0},changePassword:{type:"field_group",label:"Change Password",fields:{oldPassword:{type:"verify_password",label:"Current Password"},password:{type:"password_input",label:"New Password"}}}},wP=[{key:"leaders",label:"Leaders",requirements:["Configure the Leaders layout","Configure the Leaders settings in Site Settings."]},{key:"magazine",label:"Magazine",requirements:["Configure the Magazine, Publication, and Issue layouts."]},{key:"newsletters",label:"Newsletters",requirements:["Configure the Newsletters layouts."]},{key:"search",label:"Search",requirements:["Configure the index and sync service."]},{key:"memberships",label:"Site Memberships",requirements:["Enable to use new site registration mechanism driven by Omeda."]},{key:"sourceesb",label:"Parts Direct (formerly SourceESB)",requirements:["Add the ESB_TOKEN environment variable to the Rancher setup for this site","Configure the Part Search, Part Details, and Data Sheet layouts.","Configure the Parts Direct settings in Site Settings."]}],xP={type:"nl",maxColumns:2,allowedLayouts:["1_1"],rowSettings:{layout:{type:"row_layout",label:"Layout"},title:{type:"text_input",label:"Title"},titleLink:{type:"text_input",label:"Title Link"},editableTitle:{type:"checkbox",label:"Title Editable on Campaign?",defaultValue:!1},titleStyles:{type:"field_group",label:"Title Styles",fields:{titleFontSize:{type:"select",label:"Title Font Size",options:[{value:".8rem",label:".8rem"},{value:".9rem",label:".9rem"},{value:"1.0rem",label:"1.0rem"},{value:"1.1rem",label:"1.1rem"},{value:"1.2rem",label:"1.2rem"},{value:"1.3rem",label:"1.3rem"},{value:"1.4rem",label:"1.4rem"},{value:"1.5rem",label:"1.5rem"},{value:"1.6rem",label:"1.6rem"},{value:"1.7rem",label:"1.7rem"},{value:"1.8rem",label:"1.8rem"},{value:"1.9rem",label:"1.9rem"},{value:"2.0rem",label:"2.0rem"}]},titleTextColor:{type:"color_select",label:"Title Text Color",mode:"nl"},titleBackgroundColor:{type:"color_select",label:"Title Background Color",mode:"nl"},titleBorderTopSize:{type:"select",label:"Title Top Border Size",options:[{value:"0px",label:"None"},{value:"1px",label:"1px"},{value:"2px",label:"2px"},{value:"3px",label:"3px"},{value:"4px",label:"4px"},{value:"5px",label:"5px"},{value:"6px",label:"6px"},{value:"7px",label:"7px"},{value:"8px",label:"8px"},{value:"9px",label:"9px"},{value:"10px",label:"10px"},{value:"11px",label:"11px"},{value:"12px",label:"12px"},{value:"13px",label:"13px"},{value:"14px",label:"14px"},{value:"15px",label:"15px"}]},titleBorderTopColor:{type:"color_select",label:"Title Border Top Color",mode:"nl",conditions:{titleBorderTopSize:{include:["1px","2px","3px","4px","5px","6px","7px","8px","9px","10px","11px","12px","13px","14px","15px"]}}},titleBorderBottomSize:{type:"select",label:"Title Bottom Border Size",options:[{value:"0px",label:"None"},{value:"1px",label:"1px"},{value:"2px",label:"2px"},{value:"3px",label:"3px"},{value:"4px",label:"4px"},{value:"5px",label:"5px"},{value:"6px",label:"6px"},{value:"7px",label:"7px"},{value:"8px",label:"8px"},{value:"9px",label:"9px"},{value:"10px",label:"10px"},{value:"11px",label:"11px"},{value:"12px",label:"12px"},{value:"13px",label:"13px"},{value:"14px",label:"14px"},{value:"15px",label:"15px"}]},titleBorderBottomColor:{type:"color_select",label:"Title Border Bottom Color",mode:"nl",conditions:{titleBorderBottomSize:{include:["1px","2px","3px","4px","5px","6px","7px","8px","9px","10px","11px","12px","13px","14px","15px"]}}}}},backgroundColor:{type:"color_select",label:"Row Background Color",mode:"nl"}},columnSettings:{backgroundColor:{type:"color_select",label:"Background Color",mode:"nl"}},blockSettings:{label:{type:"text_input",label:"Campaign Admin Label"},title:{type:"text_input",label:"Title"},titleLink:{type:"text_input",label:"Title Link"},editableTitle:{type:"checkbox",label:"Title Editable on Campaign?",defaultValue:!1},titleStyles:{type:"field_group",label:"Title Styles",fields:{titleFontSize:{type:"select",label:"Title Font Size",options:[{value:".8rem",label:".8rem"},{value:".9rem",label:".9rem"},{value:"1.0rem",label:"1.0rem"},{value:"1.1rem",label:"1.1rem"},{value:"1.2rem",label:"1.2rem"},{value:"1.3rem",label:"1.3rem"},{value:"1.4rem",label:"1.4rem"},{value:"1.5rem",label:"1.5rem"},{value:"1.6rem",label:"1.6rem"},{value:"1.7rem",label:"1.7rem"},{value:"1.8rem",label:"1.8rem"},{value:"1.9rem",label:"1.9rem"},{value:"2.0rem",label:"2.0rem"}]},titleTextColor:{type:"color_select",label:"Title Text Color",mode:"nl"},titleBackgroundColor:{type:"color_select",label:"Title Background Color",mode:"nl"},titleBorderTopSize:{type:"select",label:"Title Top Border Size",options:[{value:"0px",label:"None"},{value:"1px",label:"1px"},{value:"2px",label:"2px"},{value:"3px",label:"3px"},{value:"4px",label:"4px"},{value:"5px",label:"5px"},{value:"6px",label:"6px"},{value:"7px",label:"7px"},{value:"8px",label:"8px"},{value:"9px",label:"9px"},{value:"10px",label:"10px"},{value:"11px",label:"11px"},{value:"12px",label:"12px"},{value:"13px",label:"13px"},{value:"14px",label:"14px"},{value:"15px",label:"15px"}]},titleBorderTopColor:{type:"color_select",mode:"nl",label:"Title Border Top Color",defaultValue:"transparent",conditions:{titleBorderTopSize:{include:["1px","2px","3px","4px","5px","6px","7px","8px","9px","10px","11px","12px","13px","14px","15px"]}}},titleBorderBottomSize:{type:"select",label:"Title Bottom Border Size",options:[{value:"0px",label:"None"},{value:"1px",label:"1px"},{value:"2px",label:"2px"},{value:"3px",label:"3px"},{value:"4px",label:"4px"},{value:"5px",label:"5px"},{value:"6px",label:"6px"},{value:"7px",label:"7px"},{value:"8px",label:"8px"},{value:"9px",label:"9px"},{value:"10px",label:"10px"},{value:"11px",label:"11px"},{value:"12px",label:"12px"},{value:"13px",label:"13px"},{value:"14px",label:"14px"},{value:"15px",label:"15px"}]},titleBorderBottomColor:{type:"color_select",mode:"nl",label:"Title Border Bottom Color",conditions:{titleBorderBottomSize:{include:["1px","2px","3px","4px","5px","6px","7px","8px","9px","10px","11px","12px","13px","14px","15px"]}}}}},backgroundColor:{type:"color_select",label:"Block Background Color",mode:"nl"},contentFontColor:{type:"color_select",label:"Content Font Color",mode:"nl"}}},CP={label:"Contacts",description:"The Contacts block highlights Contacts configured in block settings.",fields:{titleColor:{type:"color_select",label:"Title Color",mode:"nl"},titleFontSize:{type:"select",label:"Title Font Size",options:[{value:"1.0rem",label:"1.0rem"},{value:"1.1rem",label:"1.1rem"},{value:"1.2rem",label:"1.2rem"},{value:"1.3rem",label:"1.3rem"},{value:"1.4rem",label:"1.4rem"},{value:"1.5rem",label:"1.5rem"},{value:"1.6rem",label:"1.6rem"},{value:"1.7rem",label:"1.7rem"},{value:"1.8rem",label:"1.8rem"},{value:"1.9rem",label:"1.9rem"},{value:"2.0rem",label:"2.0rem"}],defaultValue:"1.0rem"},titleLinkStyle:{type:"select",label:"Title Link Style",options:[{value:"none",label:"None"},{value:"underline",label:"Underline"}],defaultValue:"none"},secondaryColor:{type:"color_select",label:"Secondary Color",mode:"nl"},secondaryFontSize:{type:"select",label:"Secondary Font Size",options:[{value:".8rem",label:".8rem"},{value:".9rem",label:".9rem"},{value:"1.0rem",label:"1.0rem"},{value:"1.1rem",label:"1.1rem"},{value:"1.2rem",label:"1.2rem"},{value:"1.3rem",label:"1.3rem"},{value:"1.4rem",label:"1.4rem"},{value:"1.5rem",label:"1.5rem"}],defaultValue:"1.0rem"},contacts:{label:"Contacts",type:"content_select",contentType:"Contact",addtlLabel:"id",repeating:!0,required:!0}}},{contentTypes:SP}=Jt(),TP={label:"Content List",refreshOnEdit:!1,fields:{population_mode:{type:"select",label:"Population Mode",required:!0,defaultValue:"manual",description:"Automatic will pull in content automatically based on filtering settings. Manual will allow the user to choose content on the deployment.",options:[{value:"automatic",label:"Automatic"},{value:"manual",label:"Manual"}]},section:{type:"select",label:"Website Section",options:Jt().websiteSections,conditions:{population_mode:{equals:"automatic"}}},contentTypes:{type:"select",label:"Content Types",allowMultiple:!0,options:SP,conditions:{population_mode:{equals:"automatic"}}},numberOfItems:{type:"integer_input",label:"Number of Items",min:1,defaultValue:1,required:!0,conditions:{population_mode:{equals:"automatic"}}},titleColor:{type:"color_select",label:"Title Color",mode:"nl"},titleFontSize:{type:"select",label:"Title Font Size",options:[{value:"1.0rem",label:"1.0rem"},{value:"1.1rem",label:"1.1rem"},{value:"1.2rem",label:"1.2rem"},{value:"1.3rem",label:"1.3rem"},{value:"1.4rem",label:"1.4rem"},{value:"1.5rem",label:"1.5rem"},{value:"1.6rem",label:"1.6rem"},{value:"1.7rem",label:"1.7rem"},{value:"1.8rem",label:"1.8rem"},{value:"1.9rem",label:"1.9rem"},{value:"2.0rem",label:"2.0rem"}],defaultValue:"1.0rem"},titleLinkStyle:{type:"select",label:"Title Link Style",options:[{value:"none",label:"None"},{value:"underline",label:"Underline"}],defaultValue:"none"},showLabels:{type:"checkbox",label:"Show Label",defaultValue:!1},showAuthor:{type:"checkbox",label:"Show Author Byline",defaultValue:!1},showEventInfo:{type:"checkbox",label:"Show Event Information",defaultValue:!1,description:"Start Date, End Date, Venue Name, and Website"},eventInfoColor:{type:"color_select",mode:"nl",label:"Event Info Color",conditions:{showEventInfo:{equals:!0}}},showTeaser:{type:"checkbox",label:"Show Teaser",defaultValue:!0},teaserMode:{type:"select",label:"Teaser Mode",defaultValue:"fallback",options:[{value:"fallback",label:"Fallback"},{value:"body_only",label:"Body only"}],description:'Fallback mode will first look for an nl teaser, then a web teaser, or else truncate the body. "Body Only" mode will only truncate directly from the body.',conditions:{showTeaser:{equals:!0}}},teaserLength:{type:"integer_input",label:"Teaser Length",min:50,max:600,defaultValue:175,conditions:{showTeaser:{equals:!0}}},teaserFontSize:{label:"Teaser Font Size",type:"select",options:[{value:".8rem",label:".8rem"},{value:".9rem",label:".9rem"},{value:"1.0rem",label:"1.0rem"},{value:"1.1rem",label:"1.1rem"},{value:"1.2rem",label:"1.2rem"},{value:"1.3rem",label:"1.3rem"},{value:"1.4rem",label:"1.4rem"},{value:"1.5rem",label:"1.5rem"}],defaultValue:".8rem",conditions:{showTeaser:{equals:!0}}},imageWrap:{type:"checkbox",label:"Image Text Wrap",defaultValue:!1,conditions:{showTeaser:{equals:!0}}},imagePosition:{type:"select",label:"Image Position",options:[{value:"none",label:"None"},{value:"above",label:"Above"},{value:"right",label:"Right"},{value:"left",label:"Left"}]},imageSize:{type:"select",label:"Image Size",options:[{value:"small",label:"Small"},{value:"large",label:"Large"},{value:"custom",label:"Custom"}]},maxImageSize:{type:"integer_input",label:"Max Image Size",conditions:{imageSize:{equals:"custom"}}},imageShaping:{type:"select",label:"Image Shaping",options:[{value:"max",label:"Max"},{value:"fill",label:"Fill"},{value:"crop",label:"Crop"}],defaultValue:"max"},showCompanyName:{type:"checkbox",label:"Show Company Name",defaultValue:!1},includeCompanyLogo:{type:"checkbox",label:"Include Company Logo",defaultValue:!1},showSocialMediaIcons:{type:"checkbox",label:"Show Social Media Icons",defaultValue:!1},itemBackgroundColorOdd:{type:"color_select",label:"Item Background Color (Odd Rows)",mode:"nl"},itemBackgroundColorEven:{type:"color_select",label:"Item Background Color (Even Rows)",mode:"nl"},cta:{type:"field_group",label:"CTA",fields:{style:{type:"select",label:"Style",options:[{value:"none",label:"None"},{value:"solid-button",label:"Solid Button"},{value:"hollow-button",label:"Hollow Button"},{value:"link",label:"Link"}]},promotionOverride:{type:"checkbox",label:"Promotion Label Override"},label:{type:"text_input",label:"Optional Label",description:"If label is blank, a default value will be used for these content types: Article, Blog, News, Press Release, Product, Media Gallery, Podcast, Video, Webinar, and Whitepaper"},fontSize:{label:"Font Size",type:"select",options:[{value:".8rem",label:".8rem"},{value:".9rem",label:".9rem"},{value:"1.0rem",label:"1.0rem"},{value:"1.1rem",label:"1.1rem"},{value:"1.2rem",label:"1.2rem"},{value:"1.3rem",label:"1.3rem"},{value:"1.4rem",label:"1.4rem"},{value:"1.5rem",label:"1.5rem"}],defaultValue:".8rem"},alignment:{label:"Alignment",type:"select",defaultValue:"center",options:[{value:"left",label:"Left"},{value:"center",label:"Center"}]},color:{type:"color_select",label:"Color",mode:"nl"}}}}},Ra=[{id:"sponsored-content-595",omedaPlacement:"Sponsored Content 595x335",label:"Sponsored Content 595x335",sample:{id:12345,label:"Advertisement",title:"Sample Sponsored Content 595x335",size:"native",url:"https://editions.mydigitalpublication.com/publication/?i=685685",campaignName:"Sample Campaign",logo:"/images/nl_ad_sponsored_content_595x335.png?123",companyId:12345,company:{id:10062829,name:"Sample Company",fullName:"Company: Seagrave Fire Apparatus, LLC. (10062829)",alias:null,primaryImage:{name:"seagrave_flames_outlined_3ckx_urdu7pfq.jpg",src:"https://via.placeholder.com/650x170?text=Company%20Logo",credit:null,alt:"Seagrave Flames Outlined 3ckx Urdu7pfq",isLogo:!0,displayName:null}},image:"/images/nl_ad_sponsored_content_595x335.png?123",body:'{"mode": "html", "text": "Lorem ipsum dolor sit amet, adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."}',adCategory:"Advertising",ctaLabel:"Read More",sequence:1,schedule:[{position:1,orderId:"test_order",lineItemId:"test_line_item"}]}},{id:"sponsored-content",omedaPlacement:"Sponsored Content",label:"Sponsored Content",sample:{id:12345,label:"Advertisement",title:"Sample Sponsored Content",size:"native",url:"https://editions.mydigitalpublication.com/publication/?i=685685",campaignName:"Sample Campaign",logo:"/images/nl_ad_sponsored_content.png?123",companyId:12345,company:{id:10062829,name:"Sample Company",fullName:"Company: Seagrave Fire Apparatus, LLC. (10062829)",alias:null,primaryImage:{name:"seagrave_flames_outlined_3ckx_urdu7pfq.jpg",src:"https://via.placeholder.com/650x170?text=Company%20Logo",credit:null,alt:"Seagrave Flames Outlined 3ckx Urdu7pfq",isLogo:!0,displayName:null}},image:"/images/nl_ad_sponsored_content.png?123",body:'{"mode": "html", "text": "Lorem ipsum dolor sit amet, adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."}',adCategory:"Advertising",ctaLabel:"Read More",sequence:1,schedule:[{position:1,orderId:"test_order",lineItemId:"test_line_item"}]}},{id:"sponsored-link",omedaPlacement:"Sponsored Link",label:"Sponsored Link",sample:{id:12345,label:"Advertisement",title:"Sample Sponsored Link",size:"native",url:"https://editions.mydigitalpublication.com/publication/?i=685685",campaignName:"Sample Campaign",companyId:12345,company:{id:10062829,name:"Sample Company",fullName:"Company: Seagrave Fire Apparatus, LLC. (10062829)",alias:null},body:'{"mode": "html", "text": "Lorem ipsum dolor sit amet, adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."}',adCategory:"Advertising",ctaLabel:"Read More",sequence:1,schedule:[{position:1,orderId:"test_order",lineItemId:"test_line_item"}]}},{id:"job-opening",omedaPlacement:"Job Opening",label:"Job Opening",sample:{id:12345,label:"Advertisement",title:"Sample Job Opening",size:"native",url:"https://editions.mydigitalpublication.com/publication/?i=685685",campaignName:"Sample Campaign",logo:"/images/nl_ad_sponsored_content.png?123",companyId:12345,company:{id:10062829,name:"Sample Company",fullName:"Company: Seagrave Fire Apparatus, LLC. (10062829)",alias:null,primaryImage:{name:"seagrave_flames_outlined_3ckx_urdu7pfq.jpg",src:"https://via.placeholder.com/650x170?text=Company%20Logo",credit:null,alt:"Seagrave Flames Outlined 3ckx Urdu7pfq",isLogo:!0,displayName:null}},image:"/images/nl_ad_sponsored_content.png?123",body:'{"mode": "html", "text": "Lorem ipsum dolor sit amet, adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."}',adCategory:"Advertising",ctaLabel:"Read More",sequence:1,schedule:[{position:1,orderId:"test_order",lineItemId:"test_line_item"}]}},{id:"product-showcase",omedaPlacement:"Product Sponsor",label:"Product Showcase",sample:{id:12345,label:"Advertisement",title:"Sample Product Showcase",size:"native",url:"https://editions.mydigitalpublication.com/publication/?i=685685",campaignName:"Sample Campaign",companyId:12345,company:{id:10062829,name:"Sample Company",fullName:"Company: Seagrave Fire Apparatus, LLC. (10062829)",alias:null,primaryImage:{name:"seagrave_flames_outlined_3ckx_urdu7pfq.jpg",src:"https://via.placeholder.com/650x170?text=Company%20Logo",credit:null,alt:"Seagrave Flames Outlined 3ckx Urdu7pfq",isLogo:!0,displayName:null}},image:"/images/nl_ad_sponsored_content.png?123",body:'{"mode": "html", "text": "Lorem ipsum dolor sit amet, adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."}',adCategory:"Advertising",ctaLabel:"Read More",sequence:1,schedule:[{position:1,orderId:"test_order",lineItemId:"test_line_item"}]}},{id:"product-showcase2",omedaPlacement:"Product Sponsor",label:"Product Showcase",size:"275x400",sample:{id:12345,label:"Advertisement",title:"Sample Product Showcase",size:"native",url:"https://editions.mydigitalpublication.com/publication/?i=685685",campaignName:"Sample Campaign",companyId:12345,company:{id:10062829,name:"Sample Company",fullName:"Company: Seagrave Fire Apparatus, LLC. (10062829)",alias:null,primaryImage:{name:"seagrave_flames_outlined_3ckx_urdu7pfq.jpg",src:"https://via.placeholder.com/650x170?text=Company%20Logo",credit:null,alt:"Seagrave Flames Outlined 3ckx Urdu7pfq",isLogo:!0,displayName:null}},image:"/images/nl_ad_275x400.png?1234",body:'{"mode": "html", "text": "Lorem ipsum dolor sit amet, adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."}',adCategory:"Advertising",ctaLabel:"Read More",sequence:1,schedule:[{position:1,orderId:"test_order",lineItemId:"test_line_item"}]}},{id:"rectangle",omedaPlacement:"Rectangle",size:"300x250",label:"Rectangle",sample:{image:"/images/nl_ad_rectangle.png?123",url:"https://test.com",label:"Advertisement",campaignName:"Sample Campaign",adCategory:"Advertising",companyId:12345,company:{id:10062829,name:"Sample Company",fullName:"Company: Seagrave Fire Apparatus, LLC. (10062829)",alias:null,primaryImage:{name:"seagrave_flames_outlined_3ckx_urdu7pfq.jpg",src:"https://via.placeholder.com/650x170?text=Company%20Logo",credit:null,alt:"Seagrave Flames Outlined 3ckx Urdu7pfq",isLogo:!0,displayName:null}},sequence:1,schedule:[{position:1,orderId:"test_order",lineItemId:"test_line_item"}]}},{id:"leaderboard",omedaPlacement:"Leaderboard",size:"600x100",label:"Leaderboard",sample:{image:"/images/nl_ad_leaderboard.png?123",url:"https://test.com",label:"Advertisement",campaignName:"Sample Campaign",companyId:12345,company:{id:10062829,name:"Sample Company",fullName:"Company: Seagrave Fire Apparatus, LLC. (10062829)",adCategory:"Advertising",alias:null,primaryImage:{name:"seagrave_flames_outlined_3ckx_urdu7pfq.jpg",src:"https://via.placeholder.com/650x170?text=Company%20Logo",credit:null,alt:"Seagrave Flames Outlined 3ckx Urdu7pfq",isLogo:!0,displayName:null}},sequence:1,schedule:[{position:1,orderId:"test_order",lineItemId:"test_line_item"}]}},{id:"leaderboard2",omedaPlacement:"Leaderboard",size:"670x90",label:"Leaderboard",sample:{image:"/images/nl_ad_leaderboard_670x90.png?123",url:"https://test.com",label:"Advertisement",campaignName:"Sample Campaign",companyId:12345,company:{id:10062829,name:"Sample Company",fullName:"Company: Seagrave Fire Apparatus, LLC. (10062829)",adCategory:"Advertising",alias:null,primaryImage:{name:"seagrave_flames_outlined_3ckx_urdu7pfq.jpg",src:"https://via.placeholder.com/650x170?text=Company%20Logo",credit:null,alt:"Seagrave Flames Outlined 3ckx Urdu7pfq",isLogo:!0,displayName:null}},sequence:1,schedule:[{position:1,orderId:"test_order",lineItemId:"test_line_item"}]}},{id:"leaderboard3",omedaPlacement:"Leaderboard",size:"728x90",label:"Leaderboard",sample:{image:"/images/nl_ad_leaderboard_728x90.png?123",url:"https://test.com",label:"Advertisement",campaignName:"Sample Campaign",companyId:12345,company:{id:10062829,name:"Sample Company",fullName:"Company: Seagrave Fire Apparatus, LLC. (10062829)",adCategory:"Advertising",alias:null,primaryImage:{name:"seagrave_flames_outlined_3ckx_urdu7pfq.jpg",src:"https://via.placeholder.com/650x170?text=Company%20Logo",credit:null,alt:"Seagrave Flames Outlined 3ckx Urdu7pfq",isLogo:!0,displayName:null}},sequence:1,schedule:[{position:1,orderId:"test_order",lineItemId:"test_line_item"}]}},{id:"billboard",omedaPlacement:"Billboard",size:"600x250",label:"Billboard",sample:{image:"/images/nl_ad_billboard.png?123",url:"https://test.com",label:"Advertisement",campaignName:"Sample Campaign",companyId:12345,company:{id:10062829,name:"Sample Company",fullName:"Company: Seagrave Fire Apparatus, LLC. (10062829)",adCategory:"Advertising",alias:null,primaryImage:{name:"seagrave_flames_outlined_3ckx_urdu7pfq.jpg",src:"https://via.placeholder.com/650x170?text=Company%20Logo",credit:null,alt:"Seagrave Flames Outlined 3ckx Urdu7pfq",isLogo:!0,displayName:null}},sequence:1,schedule:[{position:1,orderId:"test_order",lineItemId:"test_line_item"}]}},{id:"billboard2",omedaPlacement:"Rectangle 595x335",size:"595x335",label:"Rectangle",sample:{image:"/images/nl_ad_billboard_595x335.png?123",url:"https://test.com",label:"Advertisement",campaignName:"Sample Campaign",companyId:12345,company:{id:10062829,name:"Sample Company",fullName:"Company: Seagrave Fire Apparatus, LLC. (10062829)",adCategory:"Advertising",alias:null,primaryImage:{name:"seagrave_flames_outlined_3ckx_urdu7pfq.jpg",src:"https://via.placeholder.com/650x170?text=Company%20Logo",credit:null,alt:"Seagrave Flames Outlined 3ckx Urdu7pfq",isLogo:!0,displayName:null}},sequence:1,schedule:[{position:1,orderId:"test_order",lineItemId:"test_line_item"}]}},{id:"logo",omedaPlacement:"Logo",size:"300x100",label:"Logo",sample:{image:"/images/nl_ad_logo_300x100.png?123",url:"https://test.com",label:"Advertisement",campaignName:"Sample Campaign",companyId:12345,company:{id:10062829,name:"Sample Company",fullName:"Company: Seagrave Fire Apparatus, LLC. (10062829)",adCategory:"Advertising",alias:null,primaryImage:{name:"seagrave_flames_outlined_3ckx_urdu7pfq.jpg",src:"https://via.placeholder.com/650x170?text=Company%20Logo",credit:null,alt:"Seagrave Flames Outlined 3ckx Urdu7pfq",isLogo:!0,displayName:null}},sequence:1,schedule:[{position:1,orderId:"test_order",lineItemId:"test_line_item"}]}},{id:"logo600",omedaPlacement:"Logo",size:"600x100",label:"Logo",sample:{image:"/images/nl_ad_logo_600x100.png?123",url:"https://test.com",label:"Advertisement",campaignName:"Sample Campaign",companyId:12345,company:{id:10062829,name:"Sample Company",fullName:"Company: Seagrave Fire Apparatus, LLC. (10062829)",adCategory:"Advertising",alias:null,primaryImage:{name:"seagrave_flames_outlined_3ckx_urdu7pfq.jpg",src:"https://via.placeholder.com/650x170?text=Company%20Logo",credit:null,alt:"Seagrave Flames Outlined 3ckx Urdu7pfq",isLogo:!0,displayName:null}},sequence:1,schedule:[{position:1,orderId:"test_order",lineItemId:"test_line_item"}]}}];Ra.sort((e,t)=>e.label<t.label?-1:1);const Mb=Ra.filter(e=>e.size).map(e=>({value:e.id,label:`${e.label} ${e.size}`})),Rb=Ra.filter(e=>!e.size).map(e=>({value:e.id,label:e.label})),Nb=Ra.map(e=>({value:e.id,label:`${e.label} ${e.size??""}`})),kP={label:"Ad (Fixed Image)",refreshOnEdit:!0,fields:{placement:{type:"select",label:"Placement",options:Mb,required:!0},alignment:{type:"select",label:"Alignment",options:[{value:"left",label:"Left"},{value:"center",label:"Center"},{value:"right",label:"Right"}],defaultValue:"center"},labelLeftAlign:{type:"checkbox",label:"Align Label To The Left",defaultValue:!1}}},EP={label:"HTML",refreshOnEdit:!1,description:"The Content List block shows content teasers displayed and filtered according to block settings. It can show images inline or above, show only specified content types, show only a specified section, auto-filter by contextually known page section or company or author, and filter by a particular content filter group, such as Homepage Featured.",fields:{text:{label:"Text",type:"rich_text_editor",toolbarOptions:"newsletter"},fontSize:{label:"Font Size",type:"select",options:[{value:".8rem",label:".8rem"},{value:".9rem",label:".9rem"},{value:"1.0rem",label:"1.0rem"},{value:"1.1rem",label:"1.1rem"},{value:"1.2rem",label:"1.2rem"},{value:"1.3rem",label:"1.3rem"},{value:"1.4rem",label:"1.4rem"},{value:"1.5rem",label:"1.5rem"}],defaultValue:".8rem"},campaignEditable:{label:"Campaign Editable?",type:"checkbox",defaultValue:!1}}},IP={label:"Issue",refreshOnEdit:!1,fields:{publication:{type:"select",label:"Publication",options:Jt().publications,required:!0},displayMode:{type:"select",label:"Display Mode",options:[{value:"image_only",label:"Image Only"},{value:"image_above_text",label:"Image Above Text"},{value:"image_left_text_right",label:"Image Left / Text Right"}],required:!0},linkColor:{type:"color_select",label:"Link Color",mode:"nl"},textFontSize:{type:"select",label:"Text Font Size",description:"Exception: [issue-description] token.",options:[{value:".8rem",label:".8rem"},{value:".9rem",label:".9rem"},{value:"1.0rem",label:"1.0rem"},{value:"1.1rem",label:"1.1rem"},{value:"1.2rem",label:"1.2rem"},{value:"1.3rem",label:"1.3rem"},{value:"1.4rem",label:"1.4rem"},{value:"1.5rem",label:"1.5rem"},{value:"1.6rem",label:"1.6rem"},{value:"1.7rem",label:"1.7rem"},{value:"1.8rem",label:"1.8rem"},{value:"1.9rem",label:"1.9rem"},{value:"2.0rem",label:"2.0rem"}],defaultValue:"1.0rem"},issueDescriptionFontSize:{type:"select",label:"Issue Description Font Size",description:"Change size of [issue-description] token.",options:[{value:".8rem",label:".8rem"},{value:".9rem",label:".9rem"},{value:"1.0rem",label:"1.0rem"},{value:"1.1rem",label:"1.1rem"},{value:"1.2rem",label:"1.2rem"},{value:"1.3rem",label:"1.3rem"},{value:"1.4rem",label:"1.4rem"},{value:"1.5rem",label:"1.5rem"},{value:"1.6rem",label:"1.6rem"},{value:"1.7rem",label:"1.7rem"},{value:"1.8rem",label:"1.8rem"},{value:"1.9rem",label:"1.9rem"},{value:"2.0rem",label:"2.0rem"}],defaultValue:"1.0rem"},text:{label:"Text",type:"rich_text_editor",toolbarOptions:"newsletter",description:"Available tokens are [issue-date], [issue-description], [magazine-name], [digital-edition-url], [subscribe-url]",defaultValue:`[issue-description] <p>Your [issue-date] issue of [magazine-name] is now available online. <a href="[digital-edition-url]" target="_blank" rel="noopener">View >></a></p> <p><a href="[subscribe-url]" target="_blank" rel="noopener">SUBSCRIBE</a> to more leading edge content from our digital edition!</p>`}}},PP={label:"Ad (Native)",refreshOnEdit:!0,fields:{placement:{type:"select",label:"Placement",options:Rb,required:!0},showText:{type:"checkbox",label:"Show Text",defaultValue:!0},titleColor:{type:"color_select",label:"Title Color",mode:"nl",conditions:{showText:{equals:!0}}},titleFontSize:{type:"select",label:"Title Font Size",options:[{value:"1.0rem",label:"1.0rem"},{value:"1.1rem",label:"1.1rem"},{value:"1.2rem",label:"1.2rem"},{value:"1.3rem",label:"1.3rem"},{value:"1.4rem",label:"1.4rem"},{value:"1.5rem",label:"1.5rem"},{value:"1.6rem",label:"1.6rem"},{value:"1.7rem",label:"1.7rem"},{value:"1.8rem",label:"1.8rem"},{value:"1.9rem",label:"1.9rem"},{value:"2.0rem",label:"2.0rem"}],defaultValue:"1.0rem",conditions:{showText:{equals:!0}}},titleLinkStyle:{type:"select",label:"Title Link Style",options:[{value:"none",label:"None"},{value:"underline",label:"Underline"}],defaultValue:"none",conditions:{showText:{equals:!0}}},bodyFontSize:{label:"Body Font Size",type:"select",options:[{value:".8rem",label:".8rem"},{value:".9rem",label:".9rem"},{value:"1.0rem",label:"1.0rem"},{value:"1.1rem",label:"1.1rem"},{value:"1.2rem",label:"1.2rem"},{value:"1.3rem",label:"1.3rem"},{value:"1.4rem",label:"1.4rem"},{value:"1.5rem",label:"1.5rem"}],defaultValue:".8rem",conditions:{showText:{equals:!0}}},imageWrap:{type:"checkbox",label:"Image Text Wrap",defaultValue:!1,conditions:{showText:{equals:!0}}},cta:{type:"field_group",label:"CTA",fields:{style:{type:"select",label:"Style",options:[{value:"none",label:"None"},{value:"solid-button",label:"Solid Button"},{value:"hollow-button",label:"Hollow Button"},{value:"link",label:"Link"}]},color:{type:"color_select",label:"Color",mode:"nl"},fontSize:{label:"Font Size",type:"select",options:[{value:".8rem",label:".8rem"},{value:".9rem",label:".9rem"},{value:"1.0rem",label:"1.0rem"},{value:"1.1rem",label:"1.1rem"},{value:"1.2rem",label:"1.2rem"},{value:"1.3rem",label:"1.3rem"},{value:"1.4rem",label:"1.4rem"},{value:"1.5rem",label:"1.5rem"}],defaultValue:".8rem"},alignment:{label:"Alignment",type:"select",defaultValue:"center",options:[{value:"left",label:"Left"},{value:"center",label:"Center"}]}},conditions:{showText:{equals:!0}}},imagePosition:{type:"select",label:"Image Position",options:[{value:"none",label:"None"},{value:"above",label:"Above"},{value:"right",label:"Right"},{value:"left",label:"Left"}]},imageSize:{type:"select",label:"Image Size",options:[{value:"small",label:"Small"},{value:"large",label:"Large"},{value:"custom",label:"Custom"}]},maxImageSize:{type:"integer_input",label:"Max Image Size",conditions:{imageSize:{equals:"custom"}}},numberOfItems:{type:"integer_input",label:"Number of Items",min:1,defaultValue:1,description:"Controls how many native ads will be placed in this block"},showCompanyName:{type:"checkbox",label:"Show Company Name",defaultValue:!1},includeCompanyLogo:{type:"checkbox",label:"Include Company Logo",defaultValue:!1},itemBackgroundColorOdd:{type:"color_select",mode:"nl",label:"Native Ad Background Color (Odd Rows)"},itemBackgroundColorEven:{type:"color_select",mode:"nl",label:"Native Ad Background Color (Even Rows)"}}},OP={label:"Passendo Ad",fields:{placementId:{type:"text_input",label:"Placement ID",required:!0},addtlDemos:{type:"text_input",label:"Addtl Demos",description:"Enter an additional url string, containing Omeda merge variables, for additional demos to collect (ex: jobtitle=@{EBM Design Engineering CONSOL: Job Title Description Only}@&business=@{EBM Design Engineering CONSOL: Business Description Only}@)"}}},LP={contacts:CP,content_list:TP,fixed_ad:kP,html:EP,issue:IP,native_ad:PP,passendo_ad:OP},cu=[{label:"Arial, Helvetica (sans-serif)",value:"Arial, Helvetica, sans-serif"},{label:"Courier New (monospace)",value:"Courier New, monospace"},{label:"Georgia (serif)",value:"Georgia, serif"},{label:"Times New Roman (serif)",value:"Times New Roman, serif"},{label:"Trebuchet MS (sans-serif)",value:"Trebuchet MS, sans-serif"},{label:"Verdana (sans-serif)",value:"Verdana, sans-serif"}],Xp=[{value:"MMMM d, yyyy",label:"January 1, 2001"},{value:"MMMM d, yy",label:"January 1, 01"},{value:"MMMM do, yyyy",label:"January 1st, 2001"},{value:"MMMM do, yy",label:"January 1st, 01"},{value:"MMM d, yyyy",label:"Jan 1, 2001"},{value:"MMM d, yy",label:"Jan 1, 01"},{value:"MMM do, yyyy",label:"Jan 1st, 2001"},{value:"MMM do, yy",label:"Jan 1st, 01"}],AP={name:{type:"text_input",label:"Name",required:!0},description:{type:"text_input",label:"Description",rows:3},legacyNewsletterProductId:{type:"text_input",label:"Legacy Newsletter ID"},preheaderBlurb:{type:"text_input",label:"Pre-header blurb"},styles:{type:"field_group",label:"General Styles",fields:{width:{type:"select",label:"Width",options:[{value:"700",label:"700 px"},{value:"750",label:"750 px"},{value:"800",label:"800 px"}],defaultValue:"700",description:"This corresponds to the newsletter width in pixels."},bodyBackgroundColor:{type:"color_select",label:"Body Background Color",mode:"nl",defaultValue:"#efefef"},contentBackgroundColor:{type:"color_select",label:"Content Background Color",mode:"nl",defaultValue:"#ffffff"},linkColor:{type:"color_select",label:"Link Color",mode:"nl",defaultValue:"#000000"},primaryFontFamily:{type:"select",label:"Primary Font Family",options:cu,defaultValue:"Arial, Helvetica, sans-serif"},secondaryFontFamily:{type:"select",label:"Secondary Font Family",options:cu,defaultValue:"Arial, Helvetica, sans-serif"}}},gridTitleStyles:{type:"field_group",label:"Grid Title Styles",fields:{titleFontSize:{type:"select",label:"Title Font Size",options:[{value:".8rem",label:".8rem"},{value:".9rem",label:".9rem"},{value:"1.0rem",label:"1.0rem"},{value:"1.1rem",label:"1.1rem"},{value:"1.2rem",label:"1.2rem"},{value:"1.3rem",label:"1.3rem"},{value:"1.4rem",label:"1.4rem"},{value:"1.5rem",label:"1.5rem"},{value:"1.6rem",label:"1.6rem"},{value:"1.7rem",label:"1.7rem"},{value:"1.8rem",label:"1.8rem"},{value:"1.9rem",label:"1.9rem"},{value:"2.0rem",label:"2.0rem"}],defaultValue:"1rem"},titleTextColor:{type:"color_select",label:"Title Text Color",defaultValue:"#ffffff",mode:"nl"},titleBackgroundColor:{type:"color_select",label:"Title Background Color",defaultValue:"#000000",mode:"nl"},titleBorderTopSize:{type:"select",label:"Title Top Border Size",options:[{value:"0px",label:"None"},{value:"1px",label:"1px"},{value:"2px",label:"2px"},{value:"3px",label:"3px"},{value:"4px",label:"4px"},{value:"5px",label:"5px"},{value:"6px",label:"6px"},{value:"7px",label:"7px"},{value:"8px",label:"8px"},{value:"9px",label:"9px"},{value:"10px",label:"10px"},{value:"11px",label:"11px"},{value:"12px",label:"12px"},{value:"13px",label:"13px"},{value:"14px",label:"14px"},{value:"15px",label:"15px"}],defaultValue:"0px"},titleBorderTopColor:{type:"color_select",label:"Title Border Top Color",defaultValue:"transparent",mode:"nl",conditions:{titleBorderTopSize:{include:["1px","2px","3px","4px","5px","6px","7px","8px","9px","10px","11px","12px","13px","14px","15px"]}}},titleBorderBottomSize:{type:"select",label:"Title Bottom Border Size",options:[{value:"0px",label:"None"},{value:"1px",label:"1px"},{value:"2px",label:"2px"},{value:"3px",label:"3px"},{value:"4px",label:"4px"},{value:"5px",label:"5px"},{value:"6px",label:"6px"},{value:"7px",label:"7px"},{value:"8px",label:"8px"},{value:"9px",label:"9px"},{value:"10px",label:"10px"},{value:"11px",label:"11px"},{value:"12px",label:"12px"},{value:"13px",label:"13px"},{value:"14px",label:"14px"},{value:"15px",label:"15px"}],defaultValue:"0px"},titleBorderBottomColor:{type:"color_select",label:"Title Border Bottom Color",mode:"nl",defaultValue:"transparent",conditions:{titleBorderBottomSize:{include:["1px","2px","3px","4px","5px","6px","7px","8px","9px","10px","11px","12px","13px","14px","15px"]}}}}},socialLinks:{type:"field_group",label:"Social Links",fields:{facebook:{label:"Facebook",type:"text_input"},twitter:{label:"Twitter",type:"text_input"},instagram:{label:"Instagram",type:"text_input"},pinterest:{label:"Pinterest",type:"text_input"},linkedin:{label:"LinkedIn",type:"text_input"},youtube:{label:"You Tube",type:"text_input"}}},header:{type:"field_group",label:"Header",fields:{tagLine:{type:"text_input",label:"Tag Line",description:"Available tokens are [template-name], [view-online-start], [view-online-end].",defaultValue:"[template-name] | [view-online-start]View online[view-online-end]"},link:{label:"Click URL",type:"text_input",description:"Available token is [domain].",defaultValue:"[domain]"},backgroundColor:{type:"color_select",label:"Background Color",mode:"nl"},dateColor:{type:"color_select",label:"Date Color",mode:"nl"},borderTopSize:{type:"select",label:"Border Top Size",options:[{value:"0",label:"None"},{value:"1px",label:"1px"},{value:"2px",label:"2px"},{value:"3px",label:"3px"},{value:"4px",label:"4px"},{value:"5px",label:"5px"},{value:"6px",label:"6px"},{value:"7px",label:"7px"},{value:"8px",label:"8px"},{value:"9px",label:"9px"},{value:"10px",label:"10px"},{value:"11px",label:"11px"},{value:"12px",label:"12px"},{value:"13px",label:"13px"},{value:"14px",label:"14px"},{value:"15px",label:"15px"}],defaultValue:"0"},borderTopColor:{type:"color_select",label:"Border Top Color",defaultValue:"#efefef",mode:"nl",conditions:{borderTopSize:{include:["1px","2px","3px","4px","5px","6px","7px","8px","9px","10px","11px","12px","13px","14px","15px"]}}},borderBottomSize:{type:"select",label:"Border Bottom Size",options:[{value:"0",label:"None"},{value:"1px",label:"1px"},{value:"2px",label:"2px"},{value:"3px",label:"3px"},{value:"4px",label:"4px"},{value:"5px",label:"5px"},{value:"6px",label:"6px"},{value:"7px",label:"7px"},{value:"8px",label:"8px"},{value:"9px",label:"9px"},{value:"10px",label:"10px"},{value:"11px",label:"11px"},{value:"12px",label:"12px"},{value:"13px",label:"13px"},{value:"14px",label:"14px"},{value:"15px",label:"15px"}],defaultValue:"0"},borderBottomColor:{type:"color_select",label:"Border Bottom Color",defaultValue:"#efefef",mode:"nl",conditions:{borderBottomSize:{include:["1px","2px","3px","4px","5px","6px","7px","8px","9px","10px","11px","12px","13px","14px","15px"]}}},headerStyle:{type:"field_group",fields:{style:{type:"select",label:"Style",options:[{value:1,label:"Full Image"},{value:2,label:"Split Image + Social"},{value:3,label:"Date, Name and Logo"}]},style1Settings:{type:"field_group",label:"Full Image Settings",conditions:{style:{equals:1}},fields:{image:{type:"image_input",label:"Image",filePath:"image/newsletter/template/"},dateFormat:{type:"select",label:"Date Format",options:Xp},dateAlignment:{type:"select",label:"Date Alignment",options:[{value:"left",label:"Left"},{value:"center",label:"Center"}],defaultValue:"left"}}},style2Settings:{type:"field_group",label:"Split Image + Social Settings",conditions:{style:{equals:2}},fields:{image:{type:"image_input",label:"Image",filePath:"image/newsletter/template/"},dateFormat:{type:"select",label:"Date Format",options:Xp},socialIconSet:{type:"select",label:"Social Icon Select",options:[{value:"classic",label:"Square, Colored"},{value:"gray-round",label:"Grey, Round"},{value:"white-round",label:"White, Round"},{value:"black-round",label:"Black, Round"}]}}},style3Settings:{type:"field_group",label:"Date, Name and Logo Settings",conditions:{style:{equals:3}},fields:{image:{type:"image_input",label:"Image",filePath:"image/newsletter/template/"},nameColor:{type:"color_select",label:"Name Color",mode:"nl"},descriptionColor:{type:"color_select",label:"Description Color",mode:"nl"},logoBackgroundColor:{type:"color_select",label:"Logo Background Color",mode:"nl"}}}}}}},footer:{type:"field_group",label:"Footer",fields:{backgroundColor:{type:"color_select",label:"Background Color",defaultValue:"#ffffff",mode:"nl"},textColor:{type:"color_select",label:"Text Color",defaultValue:"#000000",mode:"nl"},linkColor:{type:"color_select",label:"Link Color",defaultValue:"#000000",mode:"nl"},textAlign:{type:"select",label:"Text Alignment",options:[{value:"left",label:"Left"},{value:"center",label:"Center"}],defaultValue:"center"},socialIconSet:{type:"select",label:"Social Icon Select",options:[{value:"none",label:"None"},{value:"classic",label:"Square, Colored"},{value:"gray-round",label:"Grey, Round"},{value:"white-round",label:"White, Round"},{value:"black-round",label:"Black, Round"}],defaultValue:"none"},showNavBar:{type:"checkbox",label:"Show Nav Bar"},navBarBackgroundColor:{type:"color_select",label:"Nav Bar Background Color",mode:"nl",conditions:{showNavBar:{equals:!0}}},navBarTextColor:{type:"color_select",label:"Nav Bar Text Color",mode:"nl",conditions:{showNavBar:{equals:!0}}},navBarLinks:{type:"menu_link_group",label:"Nav Bar Links",repeating:!0,conditions:{showNavBar:{equals:!0}}},imageBarSettings:{type:"field_group",label:"Image Bar",fields:{showImageBar:{type:"checkbox",label:"Show Image Bar"},prefixText:{type:"text_input",label:"Prefix Text"},prefixTextColor:{type:"color_select",label:"Prefix Text Color",mode:"nl"},backgroundColor:{type:"color_select",label:"Image Bar Background Color",mode:"nl",conditions:{showImageBar:{equals:!0}}},imageWidth:{type:"integer_input",label:"Image Width",defaultValue:"120"},images:{type:"field_group",label:"Images",repeating:!0,fields:{image:{type:"image_input",label:"Image",filePath:"image/newsletter/template/",required:!0},link:{type:"link_input",label:"Link"}},conditions:{showImageBar:{equals:!0}}}}},subscriptions:{type:"field_group",label:"Subscription Links",fields:{unsubscribeLink:{type:"text_input",label:"Unsubscribe Link",required:!0,defaultValue:"@{confirmunsubscribelink}@"},subscribeLink:{type:"text_input",label:"Subscribe Link"},manageSubscriptionsLink:{type:"text_input",label:"Manage Subscriptions Link"}}},informationLinks:{type:"field_group",label:"Information Links",fields:{customerServiceLink:{type:"text_input",label:"Customer Service Center",required:!0,defaultValue:"https://www.endeavorbusinessmedia.com/contact/"},privacyPolicyLink:{type:"text_input",label:"Privacy Policy",required:!0,defaultValue:"https://www.endeavorbusinessmedia.com/privacy-policy/"}}},safeSenderInfo:{type:"text_input",rows:4,label:"Safe Sender List Text",required:!0,defaultValue:"Please add news.endeavorb2b.com and mail.endeavorb2b.com to your address book or safe sender list to receive our emails in your inbox."}}},deploymentSettings:{type:"field_group",label:"Deployment",fields:{defaultSubject:{type:"text_input",label:"Default Subject"},defaultFrom:{type:"text_input",label:"Default From"},deploymentTypeId:{type:"text_input",label:"Deployment Type ID"},queryName:{type:"text_input",label:"Query Name(s)",repeating:!0},outputCriteria:{type:"text_input",label:"Load Output Criteria"},billingCategoryCode:{type:"text_input",label:"Billing Category Code"}}},defaultTesters:{type:"field_group",label:"Default Testers",repeating:!0,fields:{firstName:{type:"text_input",label:"First Name"},lastName:{type:"text_input",label:"Last Name"},emailAddress:{type:"text_input",label:"Email"}}}},MP={title:{type:"text_input",label:"Title",required:!0},campaignName:{type:"text_input",label:"Campaign Name"},divider1:{type:"divider"},companySource:{type:"radio_group",label:"Company",options:[{value:"existing",label:"Existing"},{value:"new",label:"New"}],defaultValue:"existing"},company:{label:"Name",type:"select",required:!0,conditions:{companySource:{equals:"existing"}}},companyNew:{label:"Name",type:"text_input",required:!0,conditions:{companySource:{equals:"new"}}},logo:{type:"image_input",label:"Logo",filePath:"image/newsletter/ad/"},divider2:{type:"divider"},image:{type:"image_input",label:"Image",filePath:"image/newsletter/ad/"},placement:{type:"select",label:"Placement",options:Nb,required:!0},label:{type:"select",label:"Label",options:[{value:"Advertisement",label:"Advertisement"},{value:"Sponsored",label:"Sponsored"},{value:"Sponsored by [Company Name]",label:"Sponsored by [Company Name]"},{value:"Brought to you by",label:"Brought to you by"}]},url:{type:"text_input",label:"Url",required:!0},body:{label:"Body",type:"rich_text_editor"},adCategory:{type:"select",label:"Ad Category",options:[{value:"Advertising",label:"Advertising"},{value:"House Ad",label:"House Ad"},{value:"Editorial",label:"Editorial"},{value:"Social Media",label:"Social Media"},{value:"Survey",label:"Survey"},{value:"Webinar",label:"Webinar"},{value:"White Papers",label:"White Papers"},{value:"Other",label:"Other"}],defaultValue:"Advertising"},ctaLabel:{label:"CTA Label",type:"text_input"},priority:{type:"select",label:"Priority",options:[{value:10,label:"Standard"},{value:5,label:"House-Reserve"},{value:1,label:"House"}],defaultValue:10},schedule:{label:"Schedule",type:"field_group",repeating:!0,fields:{newsletterTemplateId:{type:"select",label:"Template",options:Jt().newsletterTemplates,required:!0},startDate:{type:"date_input",label:"Start Date",timeMode:"forceEndOfBusinessDayCentral",required:!0},endDate:{type:"date_input",label:"End Date",timeMode:"forceEndOfBusinessDayCentral",required:!0},position:{type:"integer_input",label:"Position",required:!0,defaultValue:1,min:1,max:100},orderId:{type:"text_input",label:"Order ID"},lineItemId:{type:"text_input",label:"Line Item ID"}}}},RP={groupSites:{type:"select",label:"Additional Group Sites",description:"Select any additional sites you want to enable for campaign population.",allowMultiple:!0,options:Jt().tenants},stealthLink:{type:"checkbox",label:"Include Stealth Link",defaultValue:!0},enabledNewsletters:{type:"field_group",label:"Enabled Newsletters",repeating:!0,expanded:!0,description:"Enabled Newsletters will be displayed on the membership signup page and the user's Newsletter Subscription management page.",fields:{omedaProductId:{type:"omeda_product_select",label:"Omeda Product",productTypes:[5,2],required:!0},title:{type:"text_input",label:"Title",required:!0},description:{type:"text_input",rows:6,label:"Description",description:"This is the text that appears on the user's newsletter management page.",required:!0},showAtRegistration:{type:"checkbox",label:"Show at Registration",requiredModules:["memberships"],description:"This determines if this shows up on the registration completion form."},showInSubscribeBlock:{type:"checkbox",label:"Show in Subscribe Block",description:"This determines if this shows up on the newsletter widget."}}},subscribeBlockSettings:{type:"field_group",label:"Subscribe Block Settings",expanded:!0,description:"The subscribe block allows a user to sign up for the newsletters.",fields:{simpleMode:{label:"Legacy Mode",type:"checkbox",description:"In Legacy Mode, the block continues to render with an email input and title, configurable block by block.",defaultValue:!0},promoCode:{label:"Promo Code",type:"text_input",description:"Used to track guests signing up for newsletters.",defaultValue:"",conditions:{simpleMode:{equals:!1}}},headerBackgroundColor:{label:"Header Background Color",type:"color_select",conditions:{simpleMode:{equals:!1}}},headerTextColor:{label:"Header Text Color",type:"color_select",conditions:{simpleMode:{equals:!1}}},headerText:{label:"Header Text",type:"text_input",conditions:{simpleMode:{equals:!1}}},bodyBackgroundColor:{label:"Body Background Color",type:"color_select",conditions:{simpleMode:{equals:!1}}},bodyTextColor:{label:"Body Text Color",type:"color_select",conditions:{simpleMode:{equals:!1}}},buttonBackgroundColor:{label:"Button Background Color",type:"color_select",conditions:{simpleMode:{equals:!1}}},buttonTextColor:{label:"Button Text Color",type:"color_select",conditions:{simpleMode:{equals:!1}}},buttonText:{label:"Button Text",type:"text_input",defaultValue:"SIGN UP",conditions:{simpleMode:{equals:!1}}},showDescription:{label:"Show NL Descriptions",type:"checkbox",conditions:{simpleMode:{equals:!1}}},noAvailableNlText:{label:"No Available Newsletters Text",type:"text_input",rows:3,description:"A short message to a logged in user who has signed up for all available newsletters",conditions:{simpleMode:{equals:!1}}},subtext:{label:"Subtext",type:"text_input",description:"A short message to describe some newsletter features"}}},injectionSettings:{type:"field_group",label:"Injection Settings",expanded:!1,fields:{targetParagraph:{label:"Target Paragraph",type:"integer_input"},paragraphLength:{label:"Paragraph Length",type:"integer_input",defaultValue:40,description:"Length (in words) for a paragraph to be counted"},excludeContentTypes:{label:"Exclude Content Types",type:"select",allowMultiple:!0,options:fa,defaultValue:[]}}}},NP={fromEmail:{type:"text_input",label:"From Email address",required:!0,defaultValue:"Endeavor Business Media <noreply@baseplatform.io>"},supportEmail:{type:"text_input",label:"Support Email address",required:!0,defaultValue:"Email Solutions <emailsolutions@endeavorb2b.com>"},commenting:{type:"checkbox",label:"Commenting",defaultValue:!1},allowAnonymousCommenting:{type:"checkbox",label:"Allow Anonymous Commenting",defaultValue:!1,conditions:{commenting:{equals:!0}}},siteLoginPageText:{type:"text_input",label:"Text Above Login",description:"This text appears on the Login page, above the form."},ungatedParagraphs:{type:"integer_input",label:"Ungated Paragraphs",description:"The number of paragraphs that will display prior to the gated notification box.",min:1,max:10,required:!0,defaultValue:1},newsletterPromoCode:{type:"text_input",label:"Account Page Newsletter Promo Code",defaultValue:""},showTitleLocks:{label:"Show Title Locks",type:"checkbox",defaultValue:!1},allowIpGating:{label:"Allow IP Gating",type:"checkbox",defaultValue:!1},contentMetering:{label:"Allow Content Metering",type:"checkbox",defaultValue:!1,description:"Allows users without memberships to view gated content with limits."},contentMeteringFields:{label:"Content Metering Settings",type:"field_group",expanded:!0,conditions:{contentMetering:{equals:!0}},fields:{viewsRemainingIntroText:{label:"Views Remaining Intro Text",type:"rich_text_editor",description:"[VIEWS_REMAINING] and [ALLOWED_VIEWS] tokens can be used to show the number of views remaining and the number of views they were given.",defaultValue:"You have [VIEWS_REMAINING] free premium content views remaining out of [ALLOWED_VIEWS] until [EXPIRATION_DATE]."},viewsExhaustedPassedIntroText:{label:"Views Exhausted Intro Text, When Passed",type:"rich_text_editor",description:"[VIEWS_REMAINING] and [ALLOWED_VIEWS] tokens can be used to show the number of views remaining and the number of views they were given.",defaultValue:"You have used all of your [ALLOWED_VIEWS] free views."},viewsExhaustedFailedIntroText:{label:"Views Exhausted Intro Text, When Failed",type:"rich_text_editor",description:"[ALLOWED_VIEWS] and [EXPIRATION_DATE] tokens can be used to show the number of views they were given and the meter period expiration date.",defaultValue:"You have used all of your [ALLOWED_VIEWS] free views and must register or login to view this page."},numberOfFreeViews:{type:"integer_input",label:"Number of Free Views",min:1,defaultValue:7,description:"Number of free gated content views a user gets."},meteringPeriod:{type:"integer_input",label:"Metering Period",min:1,defaultValue:30,description:"The period in days that starts when a user views their first gated content. Once the period is over, their free views will be restored."}}}},BP=Object.freeze({FONTS:Tc,LAYOUT_FIELDS:fP,SITE_SETTINGS_FIELDS:pP,WEB_SECTION_FIELDS:mP,WEB_GRID_SETTINGS:hP,REDIRECT_FIELDS:gP,PAGE_AD_TYPES:yP,AD_TYPE_LABELS:bP,USER_FIELDS:vP,USER_PROFILE_FIELDS:_P,MODULES:wP,NL_GRID_SETTINGS:xP,NL_BLOCK_FIELDS:LP,NL_FONTS:cu,NL_TEMPLATE_FIELDS:AP,NL_AD_FIELDS:MP,NL_SETTINGS:RP,MEMBERSHIP_SETTINGS:NP,NL_AD_PLACEMENTS:Ra,NL_AD_PLACEMENTS_ALL_OPTIONS:Nb,NL_AD_PLACEMENTS_FIXED_OPTIONS:Mb,NL_AD_PLACEMENTS_FLUID_OPTIONS:Rb}),DP=ut(()=>({provide:{constants:BP}})),$P=ut(async({$gql:e,$constants:t,payload:n,$config:r})=>{var i,s,l,c,u,d,f,m,b,y;let o,a;if(!((i=n.data.siteSettings)!=null&&i.general)){const x=([o,a]=gr(()=>e.query("getSiteSettingsPayload")),o=await o,a(),o);if(x.error)throw new Error(x.message);{const w=(s=x.data)==null?void 0:s.full,g=((c=(l=w==null?void 0:w.new)==null?void 0:l.fonts)==null?void 0:c.secondary)??((u=w==null?void 0:w.baseStyles)==null?void 0:u.secondaryFont),h=(d=w==null?void 0:w.baseStyles)==null?void 0:d.siteTheme;t.MODULES.forEach(S=>{w.modules[S.key]=r.public.isdev?!0:w.modules[S.key]??!1});let p=((f=w==null?void 0:w.new)==null?void 0:f.useNewDesign)??!1;const _={...w,...p?w==null?void 0:w.new:{},primaryFontFamily:p?"Inter":t.FONTS[(m=w==null?void 0:w.baseStyles)==null?void 0:m.primaryFont].css,primaryFontUrl:p?"https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap":`/fonts/${(b=w==null?void 0:w.baseStyles)==null?void 0:b.primaryFont}.css`,secondaryFontFamily:p?"Inter":t.FONTS[g].css,secondaryFontUrl:`/fonts/${g}.css`,imageBorderRadius:h===2,imageDropShadow:h===2,useNewDesign:p,siteMaxWidth:1300,colors:p?Ke("colorOverrides").value??((y=w==null?void 0:w.new)==null?void 0:y.colors):{}};n.data.siteSettings=_}}return{provide:{ss:n.data.siteSettings}}}),UP=ut(()=>{const e="v1.2";async function t(){const{$gql:s}=G(),l=localStorage.getItem("cmsUserRefreshToken"),c=await s.mutate("cmsUser/refreshTokenCmsUser",{refreshToken:l});if(c.error)await i.logout(!1),window.location.reload();else{const{bearerToken:u,bearerTokenExpiration:d,refreshToken:f}=c.data;r(u,d,f),n(u,d,f)}}function n(s,l,c){const{$config:u}=G(),d=window.location.href.replace(/\?noToken=[a-z0-9]+/g,"").replace(/&noToken=[a-z0-9]+/g,"");let f=`https://sso${u.public.isDev?"-dev":""}.aspire-ebm.com/auth?redirect=${encodeURIComponent(d)}`;s!==void 0&&(f+=`&cmsUserBearerToken=${s}&cmsUserBearerTokenExpiration=${l}&cmsUserRefreshToken=${c}`),ks(f,{external:!0})}function r(s,l,c){localStorage.setItem("cmsUserRefreshToken",c),Ke("cmsUserBearerToken",{expires:new Date(parseInt(l))}).value=s;const u=new Date;u.setHours(24,0,0,0),Ke("cmsUserBearerTokenValid",{expires:u}).value=!0}async function o(s,l,c,u){r(s,l,c),await at(),(await a()).error?await i.logout(!1):u&&n(s,l,c)}async function a(){const{$gql:s}=G(),l=await s.query("cmsUser/getActiveCMSUser");if(l.error)return l;{localStorage.setItem(`cmsUserInfo${e}`,JSON.stringify(l.data));const{dynatraceTagUser:c}=Jo();return c(l.data.username),l.data}}const i={isLoggedIn:()=>!!Ke("cmsUserBearerToken").value,init:async()=>{const{query:s,path:l}=Ge();if(i.isLoggedIn())if(Ke("cmsUserBearerTokenValid").value){const{$gql:c}=G(),u=await c.query("cmsUser/validateCMSUserBearerToken");if(!u.data||u.error)return await i.logout(!1),!1;{const d=i.getUserInfo();Object.keys(d).length===0&&a()}}else return await t(),!1;else{if(l==="/admin/user/reset-password"||l==="/admin/user/active")return;if(s!=null&&s.noToken)if(l!=="/admin/login"){const c=((s==null?void 0:s.redirect)??window.location.href).replace(/\?noToken=[a-z0-9]+/g,"").replace(/&noToken=[a-z0-9]+/g,"");return window.location.replace(`/admin/login?redirect=${c}`),!1}else{const c=window.location.href.replace(/\?noToken=[a-z0-9]+/g,"").replace(/&noToken=[a-z0-9]+/g,"");window.history.pushState({},"",c)}else return s!=null&&s.cmsUserBearerToken?(await o(s.cmsUserBearerToken,s.cmsUserBearerTokenExpiration,s.cmsUserRefreshToken,!1),!1):(n(),!1)}return!0},getUserInfo:()=>{if(typeof localStorage<"u"&&localStorage){const s=localStorage.getItem(`cmsUserInfo${e}`);return s?JSON.parse(s):{}}return{}},login:async(s,l)=>{const{$gql:c}=G(),u=await c.mutate("cmsUser/loginCmsUser",{username:s,password:l});if(!(u!=null&&u.error)){const{bearerToken:d,bearerTokenExpiration:f,refreshToken:m}=u.data;o(d,f,m,!0)}return u},requestResetPassword:async s=>{const{$gql:l}=G();return await l.mutate("cmsUser/requestResetCMSUserPassword",{email:s})},resetPassword:async(s,l)=>{const{$gql:c}=G();return await c.mutate("cmsUser/resetCMSUserPassword",{password:s,hash:l})},validateInvite:async(s,l)=>{const{$gql:c}=G();return await c.mutate("cmsUser/validateCMSUserInvite",{password:s,hash:l})},logout:async(s=!0)=>{const{$gql:l}=G();s&&await l.mutate("cmsUser/logoutCmsUser"),Ke("cmsUserBearerTokenValid").value=void 0,Ke("cmsUserBearerToken").value=void 0,localStorage.removeItem(`cmsUserInfo${e}`),localStorage.removeItem("cmsUserRefreshToken"),await at(),s&&n(null,null,null)},userHasPermission:(s=[])=>{try{const{permissions:l=[]}=i.getUserInfo();if(i.isLoggedIn()){for(const c of s)if(l.includes(c))return!0;return!1}else return!1}catch{return!1}}};return{provide:{cmsUser:i}}});function FP(){async function e(r,o,a,i,s){const{$gql:l}=G(),u={name:o==null?void 0:o.split(".")[0],approvedWebsite:!0,sourceURL:a,provider:i,sourceInfo:s};return await l.mutate(`setAsset${r}`,{input:u})}function t(r,o,a,i,s,l,c){return`?auto=format,compress${r}${o}&orient=${a}&rect=${i},${s},${l},${c}&q=45&fm=png`}async function n(r){const o=await fetch(r+"?fm=json");return o.status===200?await o.json():{}}return{createAssetFromUrl:e,getAssetQueryString:t,getAssetMetaData:n}}const VP=(e,t,n)=>{if(Array.isArray(t)&&t[0]==="$"){const r=t.slice(1);r.reduce((o,a,i)=>(o[a]===void 0&&(o[a]={}),i===r.length-1&&(o[a]=n),o[a]),e)}},HP=e=>{var t;return e.primaryImage?e.primaryImage:((t=e.images)==null?void 0:t.length)>0?e.images[0]:null},qP=ut(async({$gql:e,$ss:t})=>{const n=async v=>{var z,$,R,q,j,X,me,be,Q;const{getAssetMetaData:T}=FP(),I=[...v];for(var A=0;A<I.length;A++){const U=I[A];if(U.type==="image"||U.type==="image_text")if((z=U.settings)!=null&&z.imageId){const J=await e.query("getAsset",{id:U.settings.imageId});if(!J.error&&(($=J==null?void 0:J.data)!=null&&$.approvedWebsite)){const{alt:ce,src:_e,credit:D,caption:Z,processingOptions:ne,metadata:ie}=J.data;let ge=null;ie||(ge=await T(_e.split("?")[0])),I[A].data={image:{src:_e,alt:ce,credit:D,caption:Z,processingOptions:ne,metaData:ie??ge}}}else I[A].data={}}else(R=U.settings)!=null&&R.imageUrl?I[A].data={image:{src:U.settings.imageUrl.replaceAll("http:","https:")}}:I[A].data={};else if(U.type==="video"&&((q=U==null?void 0:U.settings)!=null&&q.videoId)){const J=await e.query("getContent",{id:U.settings.videoId});if(!J.error){const{embedCode:ce}=J.data;I[A].data={embedCode:ce}}}else if(U.type==="content"&&((X=(j=U==null?void 0:U.settings)==null?void 0:j.contentIds)!=null&&X.length)){const J=await e.queryStream("getContentStream",{includeContentIds:U.settings.contentIds,limit:1e3});if(!J.error){const ce=J.data.items;ce.sort((_e,D)=>U.settings.contentIds.indexOf(_e.id)-U.settings.contentIds.indexOf(D.id)),I[A].data={items:ce}}}else if(U.type==="data_table"&&((me=U.settings)!=null&&me.file)){const J=await e.query("getAsset",{id:U.settings.file[0]});if(!J.error){const _e=await(await fetch(J.data.src)).text();I[A].data={tableDataCsv:_e}}}else if(U.type==="attached_files"&&((be=U.settings)!=null&&be.file)){let J=[];for(let ce=0;ce<U.settings.file.length;ce++){const _e=await e.query("getAsset",{id:U.settings.file[ce]});J.push(_e.data)}I[A].data={assets:J}}else if(U.type==="profiles"&&((Q=U.settings)!=null&&Q.profiles.length))for(let J=0;J<U.settings.profiles.length;J++){const ce=await e.query("getAsset",{id:U.settings.profiles[J].imageId});if(!ce.error){const{alt:_e,src:D,credit:Z,caption:ne,processingOptions:ie}=ce.data,ge=await fetch(D.split("?")[0]+"?fm=json"),pe=ge.status===200?await ge.json():{};U.settings.profiles[J].id=Math.random(),U.settings.profiles[J].primaryImage={src:D,alt:_e,credit:Z,caption:ne,processingOptions:ie,metaData:pe}}}}return I},r=async({blockSettings:v})=>{const{data:T,error:I}=await e.queryStream("getContacts",{includeContentIds:v.contacts,limit:100});return{data:{items:(T==null?void 0:T.items)??[]},error:I}},o=async({pageData:v,blockSettings:T})=>{var R,q;const I=(R=v.authors)==null?void 0:R.edges.map(j=>j.node.id),{data:A,error:z}=await e.queryStream("getContacts",{includeContentIds:T.displayAllAuthors?I:I==null?void 0:I.slice(0,1),limit:100});return{data:{items:((q=A==null?void 0:A.items)==null?void 0:q.filter(j=>T.requireBio&&!j.body?!1:j))??[],ids:I??[]},error:z}},a=async v=>{var U,J,ce;const{recommendationType:T,numberOfItems:I,imagePosition:A,startDaysAgo:z,endDaysAgo:$,pageData:R,catalogs:q}=v,j=await h(),X=new Date;X.setDate(X.getDate()-(z??3650));const me=new Date;me.setDate(me.getDate()-($??0));const be={recommendationType:T,numberOfItems:I,startDate:X.getTime(),endDate:me.getTime(),requireImage:A!=="none",brands:[(U=t==null?void 0:t.general)==null?void 0:U.siteName],catalogs:q};T==="LOOK_ALIKE"&&(be.itemId=`www.${j.domain}${((J=R==null?void 0:R.siteContext)==null?void 0:J.path)??(R==null?void 0:R.canonicalPath)}`);const Q=await e.queryStream("getBlueConicRecommendations",be);if(!Q.error)return{data:{items:((ce=Q.data)==null?void 0:ce.items).map(D=>({...D,siteContext:{path:D==null?void 0:D.trackingUrl},originalUrl:D==null?void 0:D.url,primarySection:{},primaryImage:{src:D==null?void 0:D.image},teaser:D==null?void 0:D.description}))??[]},error:Q.error}},i=async({blockSettings:v})=>{const{numberOfItems:T,feedUrl:I}=v,{data:A}=await e.queryStream("getRSSFeedContentStream",{url:I,limit:T});return{data:{items:(A==null?void 0:A.items)??[]},error:!1}},s=async({blockSettings:v,pageData:T})=>{const{mode:I,templates:A}=v,z=v==null?void 0:v.numberOfCampaigns,$=I==="auto"?[T.templateId]:A??[];let R=[];return await Promise.all($.map(q=>l(q,z))).then(q=>{R=q.filter(j=>j!==null)}),{data:{templates:R},error:!1}},l=async(v,T)=>{const I=await e.query("getNewsletterTemplate",{id:v});if(I.error)return null;{const A={...I.data,id:v},z={templateId:v,omedaStatus:["Sent","Sending"],sortOrder:"desc",limit:T??20,hideOnWeb:!1},$=await e.queryStream("getNewsletterCampaignStream",z);return $.error?A.payload.campaigns={items:[]}:A.payload.campaigns={...$.data},{...A.payload,id:A.id}}},c=async({pageData:v,blockSettings:T})=>{let I=(v==null?void 0:v.body)??"",A=(v==null?void 0:v.bodyBlocks)??[];const z=v==null?void 0:v.sidebars;if((T==null?void 0:T.mode)==="selected"){const{data:$}=await e.query("getContent",{id:parseInt(T.content)});I=$==null?void 0:$.body,A=$.bodyBlocks}return{data:{body:I,bodyBlocks:await n(A),sidebars:z,userRegistration:v==null?void 0:v.userRegistration,primaryImage:HP(v),downloadAttachment:v==null?void 0:v.downloadAttachment}}},u=async({pageData:v,blockSettings:T,gridSettings:I})=>{var me,be,Q,U,J,ce,_e,D,Z,ne;const A=Number(T==null?void 0:T.numberOfItems)?Number(T==null?void 0:T.numberOfItems)<=100?Number(T==null?void 0:T.numberOfItems):100:1,{excludeContentIds:z}=I,$=(T==null?void 0:T.sortField)==="random"?"published":(T==null?void 0:T.sortField)??"published",R={limit:A,excludeContentIds:z,sectionBubbling:T.sectionBubbling,includeContentTypes:(me=T==null?void 0:T.contentTypes)!=null&&me.length&&(T==null?void 0:T.contentTypes[0])!==null&&(T==null?void 0:T.contentTypes[0])!==""?T==null?void 0:T.contentTypes:(be=I==null?void 0:I.contentStyle)==null?void 0:be.defaultContentTypes,sortField:$,sortOrder:(T==null?void 0:T.sortOrder)??"desc"};T!=null&&T.startDateBefore&&(R.startDateBefore=T.startDateBefore),T!=null&&T.startDateAfter&&(R.startDateAfter=T.startDateAfter),T!=null&&T.includeContentIds&&(R.includeContentIds=T.includeContentIds),(T==null?void 0:T.sortField)==="random"&&(R.randomizeResults=!0),T!=null&&T.gatedMemberships&&(R.requireMemberships=T==null?void 0:T.gatedMemberships),R.requirePrimaryImage=T.requirePrimaryImage||!1,T!=null&&T.scheduleOption&&((Q=T==null?void 0:T.filter)==null?void 0:Q.mode)!=="none"&&(R.scheduleOption=T.scheduleOption);let q="",j="";if((v==null?void 0:v.type)!=="Company"&&(v==null?void 0:v.type)!=="Contact"){const ie=((U=T==null?void 0:T.filter)==null?void 0:U.mode)==="section"?T.filter.section:((J=T==null?void 0:T.filter)==null?void 0:J.mode)!=="none"?I.sectionId:"";if(ie){R.sectionId=ie;const ge=await e.query("getWebsiteSectionBasic",{sectionId:ie});ge.error||(q=(ce=ge==null?void 0:ge.data)==null?void 0:ce.name,j=(_e=ge==null?void 0:ge.data)==null?void 0:_e.alias)}}((D=T==null?void 0:T.filter)==null?void 0:D.mode)==="automatic"&&(v==null?void 0:v.type)==="Contact"&&(R.authorId=Number(v.contentId)),((Z=T==null?void 0:T.filter)==null?void 0:Z.mode)==="automatic"&&(v==null?void 0:v.type)==="issue"&&(R.issueId=Number(v.issueId)),((ne=T==null?void 0:T.filter)==null?void 0:ne.mode)==="automatic"&&(v==null?void 0:v.type)==="Company"&&(R.relatedToId=Number(v.contentId)),(T==null?void 0:T.showSummary)===!0&&((T==null?void 0:T.teaserDisplay)==="truncated"||(T==null?void 0:T.teaserDisplay)===void 0)&&(R.teaserFallback=!0,R.teaserMaxLength=175),(T==null?void 0:T.showSummary)===!0&&(T==null?void 0:T.teaserDisplay)==="full"&&(R.teaserFallback=!1,R.teaserMaxLength=null);const X=await e.queryStream("getContentStream",R);return{data:{...X.data,filterSectionName:q,filterSectionLink:j},error:X.error}},d=async({pageData:v,blockSettings:T,gridSettings:I})=>{var X,me,be,Q;const A=await u({pageData:v,blockSettings:T,gridSettings:I});let z=A.error,$=((X=A==null?void 0:A.data)==null?void 0:X.items)??[];const R=(T==null?void 0:T.fallbackScheduleOption)??!1,q=(T==null?void 0:T.numberOfItems)??0,j=((be=(me=A.data)==null?void 0:me.items)==null?void 0:be.length)??0;if(j<q&&R&&R!==T.scheduleOption&&((Q=T==null?void 0:T.filter)==null?void 0:Q.mode)!=="none"){const U=q-j,J={...T,scheduleOption:T.fallbackScheduleOption,numberOfItems:U},ce=await u({pageData:v,blockSettings:J,gridSettings:I});ce.error||($=$.concat(ce.data.items)),z=z||ce.error}return{data:{items:[...$],filterSectionName:A.data.filterSectionName,filterSectionLink:A.data.filterSectionLink},error:z}},f=async({pageData:v,blockSettings:T,gridSettings:I})=>{var X,me,be;const A=new Date().getTime(),z=await u({pageData:v,blockSettings:{...T,contentTypes:["Webinar"],startDateAfter:A,filter:{mode:"none"},sortField:"startDate",sortOrder:"asc"},gridSettings:I});let $=z.error,R=((X=z==null?void 0:z.data)==null?void 0:X.items)??[];const q=(T==null?void 0:T.numberOfItems)??0,j=((be=(me=z.data)==null?void 0:me.items)==null?void 0:be.length)??0;if(S(I.excludeContentIds,z.data.items),j<q){const Q=q-j,U={...T,contentTypes:["Webinar"],startDateBefore:A,filter:{mode:"none"},sortField:"startDate",sortOrder:"desc",numberOfItems:Q},J=await u({pageData:v,blockSettings:U,gridSettings:I});J.error||(R=R.concat(J.data.items)),$=$||J.error}return{data:{items:[...R],filterSectionName:z.data.filterSectionName,filterSectionLink:z.data.filterSectionLink},error:$}},m=async({parentSection:v})=>{const T={sectionId:Number(v),limit:1e3};return await e.query("getWebsiteSection",T)},b=async({blockSettings:v})=>{var $,R;const{parentSections:T}=v,I=(q,j=0)=>{var X,me;return q!=null&&q.children&&(q.children=j<3?(me=(X=q.children)==null?void 0:X.edges)==null?void 0:me.map(({node:be})=>I(be,j+1)):null),q};if(!T){const{data:q,error:j}=await m({parentSection:v.parentSection});return{data:(($=I(q))==null?void 0:$.children)??[],error:j}}if(T.length===1){const{data:q,error:j}=await m({parentSection:T[0]});return{data:((R=I(q))==null?void 0:R.children)??[],error:j}}const A=T.map(q=>m({parentSection:q})),z=await Promise.all(A);return{data:z.map(q=>I(q.data,1)),error:z.some(q=>q.error)}},y=async({pageData:v,blockSettings:T,gridSettings:I})=>{var A,z,$;if((A=I==null?void 0:I.leaders)!=null&&A.section){const R={sectionId:Number(I.leaders.section),limit:1e3},q=await e.query("getWebsiteSection",R),j=(($=(z=q.data)==null?void 0:z.children)==null?void 0:$.edges.map(Q=>Q.node))??[],X=T!=null&&T.filter?j.filter(Q=>v.websiteSchedules.map(U=>U.section.id).includes(Q.id)):j,me=X.length?X:j,be=me.map(Q=>({...Q,companies:[]}));if(T.displayMode==="tiered"||T.displayMode===void 0){for(let Q=0;Q<be.length;Q++){const U=be[Q],J=await e.queryStream("getContentStreamForLeaders",{sectionId:U.id,limit:1e3,includeContentTypes:["Company"]});J.error||(J.data.items.forEach(_e=>U.companies.push(_e)),U.companies.sort((_e,D)=>_e.name.toLowerCase()<D.name.toLowerCase()?-1:1))}return{data:be,error:q.error}}else if(T.displayMode==="flat"){const Q={sectionId:Number(I.leaders.section),limit:1e3,sectionBubbling:!0,includeContentTypes:["Company"]},U=await e.queryStream("getContentStreamForLeadersWithSchedules",Q),J=[];for(let ce=0;ce<U.data.items.length;ce++){const _e=U.data.items[ce];me.forEach(D=>{_e.websiteSchedules.find(Z=>D.id===Z.section.id)&&!J.find(Z=>Z.id===_e.id)&&J.push(_e)})}return J.sort((ce,_e)=>ce.name.toLowerCase()<_e.name.toLowerCase()?-1:1),{data:J,error:q.error}}else return{}}},x=async({pageData:v,blockSettings:T,gridSettings:I})=>{const{excludeIssueIds:A}=I,$={limit:T.layout==="single"?1:T.layout==="grid"?12:13,excludeIssueIds:A};if(T.publication){$.publicationId=T.publication;const R=await e.queryStream("getIssues",$);return{data:R.data,error:R.error}}if(v.type==="publication"){$.publicationId=v.publicationId;const R=await e.queryStream("getIssues",$);return{data:R.data,error:R.error}}if(v.type==="issue"){$.id=Number(v.issueId);const R=await e.query("getIssue",$);return{data:{items:[R==null?void 0:R.data],issueName:v.name},error:R.error}}return{data:{items:[]},error:!0}},w=async({pageData:v,blockSettings:T})=>{var q,j;const I=v.relatedContent.edges;if(I.length===0)return{data:{items:[]}};const A=I.map(X=>X.node.id),z={includeContentIds:A};T.numberOfItems&&(z.limit=T.numberOfItems);const $=await e.query("getContentStream",z),R=((j=(q=$.data)==null?void 0:q.edges)==null?void 0:j.map(({node:X})=>X))??[];return R.sort((X,me)=>A.indexOf(X.id)-A.indexOf(me.id)),{data:{items:R},error:$.error}},g=async()=>{const v=await e.query("getReCAPTCHAPublicKey");return{data:v.data,error:v.error}},h=async()=>(await e.query("getTenantInfo",{includeTest:!0})).data.find(I=>I.tenantKey===t.tenant),p=async v=>{const T=await e.query("getYoutubePlaylistVideos",{playlistId:v,maxResults:1,cacheFor:7200});return{data:T==null?void 0:T.data,error:T.error}},_=async(v,T)=>{var $;const I={limit:1,includeContentTypes:["MediaGallery"],excludeContentIds:[v],sortField:"published",sortOrder:"desc",publishedBefore:T},{data:A,error:z}=await e.queryStream("getContentStream",I);return z||!(($=A==null?void 0:A.items)!=null&&$.length)?null:A.items[0]},S=(v,T)=>T.forEach(I=>v.push(I.id)),E=async(v,T,I,A)=>{var R,q,j,X;let z=!1,$=!1;for(const me of I){const{type:be,settings:Q}=me.value;let U={};const J={pageData:v,gridSettings:A,blockSettings:Q};switch(be){case"content_list":{U=await d(J),S(A.excludeContentIds,U.data.items),Q.numberOfItems>U.data.items.length&&($=!0);break}case"webinars":{U=await f(J),S(A.excludeContentIds,U.data.items),Q.numberOfItems>U.data.items.length&&($=!0);break}case"carousel":{J.blockSettings.requirePrimaryImage=!0,U=await d(J),S(A.excludeContentIds,U.data.items),Q.numberOfItems>U.data.items.length&&($=!0);break}case"content_image_grid":{J.blockSettings.requirePrimaryImage=!0,U=await d(J),S(A.excludeContentIds,U.data.items),Q.numberOfItems>U.data.items.length&&($=!0);break}case"magazine_issue":{t.modules.magazine&&(U=await x(J),S(A.excludeIssueIds,U.data.items),(Q.layout==="single"?1:Q.layout==="grid"?12:13)>U.data.items.length&&($=!0));break}case"contacts":{U=await r(J),S(A.excludeContentIds,U.data.items);break}case"related_content":{U=await w(J);break}case"leading_companies":{t.modules.leaders&&(U=await y(J));break}case"section_tree":{U=await b(J);break}case"content_body":{U=await c(J);break}case"content_sidebars":{U={data:{sidebars:v==null?void 0:v.sidebars}};break}case"external_rss_feed":{U=await i(J);break}case"about_author":{U=await o(J);break}case"author_profile":{U={data:{fullName:v.fullName,title:v.title,bio:v.body,website:v.website,publicEmail:v.publicEmail,phone:v.phone,socialLinks:v.socialLinks}};break}case"blueconic_recommendations":{U=(Q==null?void 0:Q.method)==="api"?await a({...Q,pageData:v}):{data:{items:[]}};break}case"company_banner":{U={data:{logo:v.primaryImage,name:v.name,city:v.city,state:v.state,zip:v.zip,socialLinks:v.socialLinks,website:v.website,teaser:v.explicitTeaser}};break}case"company_key_contact":{U={data:{publicContacts:v.publicContacts}};break}case"company_overview":{const ce=await c(J);U={data:{name:v==null?void 0:v.name,teaser:v==null?void 0:v.explicitTeaser,numberOfEmployees:v==null?void 0:v.numberOfEmployees,yearsInOperation:v==null?void 0:v.yearsInOperation,productSummary:v==null?void 0:v.productSummary,address1:v==null?void 0:v.address1,address2:v==null?void 0:v.address2,city:v==null?void 0:v.city,state:v==null?void 0:v.state,zip:v==null?void 0:v.zip,country:v==null?void 0:v.country,website:v==null?void 0:v.website,publicEmail:v==null?void 0:v.publicEmail,phone:v==null?void 0:v.phone,tollFree:v==null?void 0:v.tollfree,fax:v==null?void 0:v.fax,sections:v==null?void 0:v.websiteSchedules,socialLinks:v==null?void 0:v.socialLinks,logo:v==null?void 0:v.primaryImage,bodyBlocks:((R=ce==null?void 0:ce.data)==null?void 0:R.bodyBlocks)??[],publicContacts:(j=(q=v==null?void 0:v.publicContacts)==null?void 0:q.edges)==null?void 0:j.map(({node:_e})=>_e)}};break}case"company_videos":{U={data:{youtubeVideos:v==null?void 0:v.youtubeVideos}};break}case"content_title":{U={data:{item:v,primarySection:v==null?void 0:v.primarySection}};break}case"gating_form":{U={data:{gating:v.gating,fileSrc:v.fileSrc,gateRequiredMemberships:v==null?void 0:v.membership}};break}case"image_gallery":{const ce=Q.blockAdvanceToNextGallery?null:await _(v.id,v.published);U={data:{primaryImage:v.primaryImage,images:v.images,gating:v.gating,nextGallery:ce}};break}case"share_links":{U={data:{contentId:v.contentId,title:v.name,description:v.teaser}};break}case"content_primary_image":{U={data:{primaryImage:v.primaryImage,images:v.images}};break}case"section_overview":{U={data:{name:v.name,description:v.description,hierarchy:v.hierarchy,children:v.children}};break}case"site_search":{U={data:{name:v.name}};break}case"magazine_overview":{U={data:{name:v.name,description:v.tagLine}};break}case"issue_overview":{U={data:{name:v.name,description:v.description,publication:v.publication}};break}case"subscribe":{U={data:{publicRecaptchaKey:(await g()).data}};break}case"inquiry_form":{const ce=await g();U={data:{id:v.id,type:v.type,company:v.company,enableRmi:v.enableRmi,publicRecaptchaKey:ce.data}};break}case"contact_us_form":{U={data:{publicRecaptchaKey:(await g()).data}};break}case"site_user_complete_registration":{U={data:{publicRecaptchaKey:(await g()).data}};break}case"site_user_reset_password":{U={data:{publicRecaptchaKey:(await g()).data}};break}case"video_player":{Q.mode==="auto"||!(Q!=null&&Q.mode)?U={data:{embedCode:v.embedCode,primaryImage:v.primaryImage,images:v.images,gating:v.gating}}:Q.mode==="manual-playlist"&&(U=await p(Q.playlistId));break}case"comments":{U={data:{identifier:String(v.id),title:v.name,description:v.teaser,url:(X=v.siteContext)==null?void 0:X.canonicalUrl}};break}case"document_download":{U={data:{fileSrc:v.fileSrc,gating:v.gating}};break}case"zmag_embed":{U={data:{gating:v.gating,zmagId:v.zmagId}};break}case"simplemaps_us":{U={data:{gating:v.gating}};break}case"podcast_player":{U={data:{fileSrc:v.fileSrc}};break}case"newsletter_campaigns":{U=await s(J);break}case"countdown_timer":{U={data:{date:v.startDate}};break}default:U={}}U!=null&&U.data&&await VP(T,me.path.concat("data"),U.data),U!=null&&U.error&&(z=!0)}return{grid:T,gridSettings:A,hasErrors:z,hasUnderFilledBlocks:$}},F=v=>{const T=[];return v.rows.forEach((I,A)=>{I.columns.forEach((z,$)=>{z.blocks.forEach((R,q)=>{T.push({path:["$","rows",A,"columns",$,"blocks",q],value:{...R}})})})}),T};return{provide:{grid:{fetchBodyBlocksData:n,populate:async(v,T,I)=>{const A={excludeContentIds:[],excludeIssueIds:[],sectionId:null,...JSON.parse(JSON.stringify(I))};v.contentId&&!A.excludeContentIds.includes(v.contentId)&&A.excludeContentIds.push(v.contentId);const z=F(T);return E(v,T,z,A)}}}}});var Zp=/^(GTM|G)-[0-9A-Z]+$/;function Cl(e){if(typeof e!="string"||!Zp.test(e)){let t=String(e).toUpperCase().replace(/.*-|[^0-9A-Z]/g,""),n=t.length===0?"":` Did you mean 'GTM-${t}' or 'G-${t}'?`;throw new Error(`'${e}' is not a valid GTM-ID (${Zp}).${n}`)}}function Fo(e,t="dataLayer"){return e[t]||(e[t]=[]),e[t]}function no(e,t){let n=document,r=n.createElement("script"),o=c=>{var u;(u=t.onReady)==null||u.call(t,{id:e,script:r}),r.removeEventListener("load",o)};r.addEventListener("load",o);let a=t.dataLayerName??"dataLayer";if(Fo(window,a).push({event:"gtm.js","gtm.start":new Date().getTime()}),!e)return r;r.async=!t.defer,r.defer=!!(t.defer||t.compatibility),t.nonce&&r.setAttribute("nonce",t.nonce),t.scriptType&&(r.type=t.scriptType);let i=new URLSearchParams({id:e,...t.dataLayerName?{l:t.dataLayerName}:{},...t.queryParams??{}}),s=t.source??"https://www.googletagmanager.com/gtm.js";r.src=`${s}?${i}`;let l=t.parentElement??n.body;if(typeof(l==null?void 0:l.appendChild)!="function")throw new Error("parentElement must be a DOM element");return l.appendChild(r),r}function jP(e="https://www.googletagmanager.com/gtm.js"){return Array.from(document.getElementsByTagName("script")).some(t=>t.src.includes(e))}var WP=class{constructor(e){Eo(this,"id");Eo(this,"options");Eo(this,"scriptElements",[]);Eo(this,"isInBrowserContext",()=>typeof window<"u");if(Array.isArray(e.id))for(let t of e.id)Cl(typeof t=="string"?t:t.id);else Cl(e.id);this.id=e.id,this.options={enabled:!0,debug:!1,loadScript:!0,defer:!1,compatibility:!1,dataLayerName:"dataLayer",...e},delete this.options.id}enabled(){return this.options.enabled??!0}enable(e=!0,t){if(this.options.enabled=e,this.isInBrowserContext()&&e&&!jP(t)&&this.options.loadScript)if(Array.isArray(this.id))this.id.forEach(n=>{let r;typeof n=="string"?r=no(n,{...this.options}):r=no(n.id,{...this.options,queryParams:n.queryParams}),this.scriptElements.push(r)});else{let n=no(this.id,{...this.options});this.scriptElements.push(n)}}debugEnabled(){return this.options.debug??!1}debug(e){this.options.debug=e}dataLayer(){return this.isInBrowserContext()&&this.options.enabled?Fo(window,this.options.dataLayerName):!1}trackView(e,t,n={}){let r=this.isInBrowserContext()&&(this.options.enabled??!1);this.options.debug&&console.log(`[GTM-Support${r?"":"(disabled)"}]: Dispatching TrackView`,{screenName:e,path:t}),r&&Fo(window,this.options.dataLayerName).push({...n,event:this.options.trackViewEventProperty??"content-view","content-name":t,"content-view-name":e})}trackEvent({event:e,category:t=null,action:n=null,label:r=null,value:o=null,noninteraction:a=!1,...i}={}){let s=this.isInBrowserContext()&&(this.options.enabled??!1);this.options.debug&&console.log(`[GTM-Support${s?"":"(disabled)"}]: Dispatching event`,{event:e,category:t,action:n,label:r,value:o,...i}),s&&Fo(window,this.options.dataLayerName).push({event:e??"interaction",target:t,action:n,"target-properties":r,value:o,"interaction-type":a,...i})}push(e){let t=this.isInBrowserContext()&&(this.options.enabled??!1);this.options.debug&&console.log(`[GTM-Support${t?"":"(disabled)"}]: Dispatching event`,e),t&&Fo(window,this.options.dataLayerName).push(e)}},dt;function zP(e,t={id:""}){t={trackOnNextTick:!1,...t},dt=new WP(t),e.config.globalProperties.$gtm=dt,dt.isInBrowserContext()&&(t.vueRouter&&GP(e,t.vueRouter,t.ignoredViews,t.trackOnNextTick,t.vueRouterAdditionalEventData),dt.options.enabled&&dt.options.loadScript&&(Array.isArray(t.id)?t.id.forEach(n=>{if(typeof n=="string")no(n,t);else{let r={...t};n.queryParams!=null&&(r.queryParams={...r.queryParams,...n.queryParams}),no(n.id,r)}}):no(t.id,t))),e.provide("gtm",t)}function GP(e,t,n=[],r,o=()=>({})){function a(i,s){return i instanceof Error?!!(i.type&s):!1}t.afterEach(async(i,s,l)=>{var f,m,b;if(typeof i.name!="string"||Array.isArray(n)&&n.includes(i.name)||typeof n=="function"&&n(i,s))return;let c=i.meta&&typeof i.meta.gtm=="string"&&i.meta.gtm?i.meta.gtm:i.name;a(l,4)?dt!=null&&dt.debugEnabled()&&console.log(`[VueGtm]: '${c}' not tracked due to navigation aborted`):a(l,8)&&(dt!=null&&dt.debugEnabled())&&console.log(`[VueGtm]: '${c}' not tracked due to navigation cancelled`);let u={...await o(i,s),...(f=i.meta)==null?void 0:f.gtmAdditionalEventData},d=((b=(m=t.options)==null?void 0:m.history)==null?void 0:b.base)??"";d.endsWith("/")||(d+="/"),d+=i.fullPath.startsWith("/")?i.fullPath.substring(1):i.fullPath,r?at(()=>{dt==null||dt.trackView(c,d,u)}):dt==null||dt.trackView(c,d,u)})}function KP(e){return{install:t=>zP(t,e)}}function Bb(){var e,t,n,r,o;return((o=(r=(n=(t=(e=tt())==null?void 0:e.appContext)==null?void 0:t.app)==null?void 0:n.config)==null?void 0:r.globalProperties)==null?void 0:o.$gtm)??dt}const YP=ut(({vueApp:e,$ss:t})=>{var r;const n={defer:!1,compatibility:!1,nonce:"2726c7f26c",enabled:!0,debug:!1,loadScript:!0,ignoredViews:[],trackOnNextTick:!1};e.use(KP({id:["GTM-T4W5889M",((r=t==null?void 0:t.googleTagManager)==null?void 0:r.containerID)??""],...n}))}),JP="v2.5",QP=ut(({_route:e,$gql:t,ssrContext:n,$grid:r,$config:o,$ss:a})=>{const i=u=>Ke(u).value,s=async({alias:u,redirectToCanonical:d=!1})=>{var w,g;const{query:f}=Ge(),m=i("cache-bypass")!=="true"&&f["preview-mode"]!=="true",b=f["preview-mode"]==="true",y=await t.query("getWebsiteLayoutPage",{alias:u,useCache:m,preview:b,cacheKey:JP});if((w=y.data)!=null&&w.cache)return y;if(y.data){if(y.data.pageData.type==="content"){const h=await t.query("getContent",{id:y.data.pageData.contentId,status:b?"any":"active",requirePublished:!b}),p=u.split("?");if(d&&h.data.siteContext.path!==p[0]){const _=p[1]?h.data.siteContext.path+"?"+p[1]:h.data.siteContext.path;return n.event.node.res.writeHead(301,{Location:_}),n.event.node.res.end(),{}}h.error||(y.data.pageData={...y.data.pageData,...h.data})}else if(y.data.pageData.type==="section"){const h=await t.query("getWebsiteSection",{sectionId:y.data.pageData.sectionId,limit:50});h.error||(y.data.pageData={...y.data.pageData,...h.data})}else if(y.data.pageData.type==="issue"){const h=await t.query("getIssue",{id:Number(y.data.pageData.issueId)});h.error||(y.data.pageData={...y.data.pageData,...h.data})}else if(y.data.pageData.type==="publication"){const h=await t.query("getMagazinePublication",{id:y.data.pageData.publicationId});h.error||(y.data.pageData={...y.data.pageData,...h.data})}return y}const x=await t.query("getWebsiteRedirect",{from:u,preserveQueryString:!0});if((g=x==null?void 0:x.data)!=null&&g.to){const h=x.data.to.search(".pdf")>=0?x.data.to.split("?")[0]:x.data.to;n.event.node.res.writeHead(301,{Location:h}),n.event.node.res.end()}return{}},l=u=>{var d;return((d=u==null?void 0:u.primarySection)==null?void 0:d.id)??(u==null?void 0:u.sectionId)};return{provide:{page:{getPage:async()=>{const{fullPath:u,query:d}=Ge(),f=u;d["preview-mode"];const{data:m}=await s({alias:f.split("#")[0],redirectToCanonical:!0});if(!m)return;if((m==null?void 0:m.cache)===!0)return m;const b={sectionId:l(m.pageData),...a},{grid:y,gridSettings:x,hasErrors:w,hasUnderFilledBlocks:g}=await r.populate(m.pageData,m.primaryGrid,b);return{...m,primaryGrid:y,usedContentIds:x.excludeContentIds,usedIssueIds:x.excludeIssueIds,hasUnderFilledBlocks:g}},getPrintPage:async({primaryGrid:u})=>{const d=await t.query("getContent",{id:parseInt(e.params.id)});if(d.error){console.error("content error",d.message);return}const{data:f,error:m,message:b}=await s({alias:"/"+d.data.siteContext.path});if(m){console.error("page context error",b);return}const y={sectionId:l(f.pageData)},{grid:x}=await r.populate(f.pageData,u,y);return{...f,loadMoreType:{type:"none"},primaryGrid:x}},getNextSecondaryGrid:async({pageData:u,secondaryGrid:d,gridSettings:f})=>{const{grid:m,gridSettings:b,hasUnderFilledBlocks:y}=await r.populate(u,d,f);return{nextSecondaryGrid:m,hasUnderFilledBlocks:y,excludeContentIds:b.excludeContentIds,excludeIssueIds:b.excludeIssueIds}},getNextSecondaryPage:async({nextSecondaryPageSettings:u})=>{var g,h,p;const{data:d,error:f}=await t.queryStream("getContentStream",u);if(f||!((g=d==null?void 0:d.items)!=null&&g.length))return!1;const m=(p=(h=d==null?void 0:d.items[0])==null?void 0:h.siteContext)==null?void 0:p.path,{data:b}=await s({alias:m});if(!b)return!1;const y={excludeContentIds:u.excludeContentIds,sectionId:l(b.pageData),defaultContentTypes:u.defaultContentTypes,...a},{grid:x,gridSettings:w}=await r.populate(b.pageData,b.primaryGrid,y);return{...b,loadMoreType:{type:"none"},primaryGrid:x,secondaryGrid:{},usedContentIds:[...w.excludeContentIds],usedIssueIds:[...w.excludeIssueIds]}},getPreviewPage:async({alias:u,primaryGrid:d,settings:f})=>{const{data:m}=await s({alias:u});if(!m)return!1;const b={...m.pageData,sectionId:l(m.pageData),...f},{grid:y,gridSettings:x,hasUnderFilledBlocks:w}=await r.populate(m.pageData,d??m.primaryGrid,b);return{...m,primaryGrid:y,usedContentIds:x.excludeContentIds,usedIssueIds:x.excludeIssueIds,hasUnderFilledBlocks:w}}}}}}),Na={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"},go={LIGHT:"light",DARK:"dark",COLORED:"colored",AUTO:"auto"},It={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"},XP={BOUNCE:"bounce",SLIDE:"slide",FLIP:"flip",ZOOM:"zoom",NONE:"none"},Db={dangerouslyHTMLString:!1,multiple:!0,position:Na.TOP_RIGHT,autoClose:5e3,transition:"bounce",hideProgressBar:!1,pauseOnHover:!0,pauseOnFocusLoss:!0,closeOnClick:!0,className:"",bodyClassName:"",style:{},progressClassName:"",progressStyle:{},role:"alert",theme:"light"},ZP={rtl:!1,newestOnTop:!1,toastClassName:""},$b={...Db,...ZP};({...Db,type:It.DEFAULT});var Me=(e=>(e[e.COLLAPSE_DURATION=300]="COLLAPSE_DURATION",e[e.DEBOUNCE_DURATION=50]="DEBOUNCE_DURATION",e.CSS_NAMESPACE="Toastify",e))(Me||{}),uu=(e=>(e.ENTRANCE_ANIMATION_END="d",e))(uu||{});const eO={enter:"Toastify--animate Toastify__bounce-enter",exit:"Toastify--animate Toastify__bounce-exit",appendPosition:!0},tO={enter:"Toastify--animate Toastify__slide-enter",exit:"Toastify--animate Toastify__slide-exit",appendPosition:!0},nO={enter:"Toastify--animate Toastify__zoom-enter",exit:"Toastify--animate Toastify__zoom-exit"},rO={enter:"Toastify--animate Toastify__flip-enter",exit:"Toastify--animate Toastify__flip-exit"},em="Toastify--animate Toastify__none-enter";function Ub(e,t=!1){var n;let r=eO;if(!e||typeof e=="string")switch(e){case"flip":r=rO;break;case"zoom":r=nO;break;case"slide":r=tO;break}else r=e;if(t)r.enter=em;else if(r.enter===em){const o=(n=r.exit.split("__")[1])==null?void 0:n.split("-")[0];r.enter=`Toastify--animate Toastify__${o}-enter`}return r}function oO(e){return e.containerId||String(e.position)}const Ns="will-unmount";function aO(e=Na.TOP_RIGHT){return!!document.querySelector(`.${Me.CSS_NAMESPACE}__toast-container--${e}`)}function iO(e=Na.TOP_RIGHT){return`${Me.CSS_NAMESPACE}__toast-container--${e}`}function sO(e,t,n=!1){const r=[`${Me.CSS_NAMESPACE}__toast-container`,`${Me.CSS_NAMESPACE}__toast-container--${e}`,n?`${Me.CSS_NAMESPACE}__toast-container--rtl`:null].filter(Boolean).join(" ");return ro(t)?t({position:e,rtl:n,defaultClassName:r}):`${r} ${t||""}`}function lO(e){var t;const{position:n,containerClassName:r,rtl:o=!1,style:a={}}=e,i=Me.CSS_NAMESPACE,s=iO(n),l=document.querySelector(`.${i}`),c=document.querySelector(`.${s}`),u=!!c&&!((t=c.className)!=null&&t.includes(Ns)),d=l||document.createElement("div"),f=document.createElement("div");f.className=sO(n,r,o),f.dataset.testid=`${Me.CSS_NAMESPACE}__toast-container--${n}`,f.id=oO(e);for(const m in a)if(Object.prototype.hasOwnProperty.call(a,m)){const b=a[m];f.style[m]=b}return l||(d.className=Me.CSS_NAMESPACE,document.body.appendChild(d)),u||d.appendChild(f),f}function du(e){var t,n,r;const o=typeof e=="string"?e:((t=e.currentTarget)==null?void 0:t.id)||((n=e.target)==null?void 0:n.id),a=document.getElementById(o);a&&a.removeEventListener("animationend",du,!1);try{ma[o].unmount(),(r=document.getElementById(o))==null||r.remove(),delete ma[o],delete mt[o]}catch{}}const ma=Ye({});function cO(e,t){const n=document.getElementById(String(t));n&&(ma[n.id]=e)}function fu(e,t=!0){const n=String(e);if(!ma[n])return;const r=document.getElementById(n);r&&r.classList.add(Ns),t?(dO(e),r&&r.addEventListener("animationend",du,!1)):du(n),bn.items=bn.items.filter(o=>o.containerId!==e)}function uO(e){for(const t in ma)fu(t,e);bn.items=[]}function Fb(e,t){const n=document.getElementById(e.toastId);if(n){let r=e;r={...r,...Ub(r.transition)};const o=r.appendPosition?`${r.exit}--${r.position}`:r.exit;n.className+=` ${o}`,t&&t(n)}}function dO(e){for(const t in mt)if(t===e)for(const n of mt[t]||[])Fb(n)}function fO(e){const t=yo().find(n=>n.toastId===e);return t==null?void 0:t.containerId}function Id(e){return document.getElementById(e)}function pO(e){const t=Id(e.containerId);return t&&t.classList.contains(Ns)}function tm(e){var t;const n=Vt(e.content)?Te(e.content.props):null;return n??Te((t=e.data)!=null?t:{})}function mO(e){return e?bn.items.filter(t=>t.containerId===e).length>0:bn.items.length>0}function hO(){if(bn.items.length>0){const e=bn.items.shift();hi(e==null?void 0:e.toastContent,e==null?void 0:e.toastProps)}}const mt=Ye({}),bn=Ye({items:[]});function yo(){const e=Te(mt);return Object.values(e).reduce((t,n)=>[...t,...n],[])}function gO(e){return yo().find(t=>t.toastId===e)}function hi(e,t={}){if(pO(t)){const n=Id(t.containerId);n&&n.addEventListener("animationend",pu.bind(null,e,t),!1)}else pu(e,t)}function pu(e,t={}){const n=Id(t.containerId);n&&n.removeEventListener("animationend",pu.bind(null,e,t),!1);const r=mt[t.containerId]||[],o=r.length>0;if(!o&&!aO(t.position)){const a=lO(t),i=po(NO,t);i.mount(a),cO(i,a.id)}o&&!t.updateId&&(t.position=r[0].position),at(()=>{t.updateId?Dt.update(t):Dt.add(e,t)})}const Dt={add(e,t){const{containerId:n=""}=t;n&&(mt[n]=mt[n]||[],mt[n].find(r=>r.toastId===t.toastId)||setTimeout(()=>{var r,o;t.newestOnTop?(r=mt[n])==null||r.unshift(t):(o=mt[n])==null||o.push(t),t.onOpen&&t.onOpen(tm(t))},t.delay||0))},remove(e){if(e){const t=fO(e);if(t){const n=mt[t];let r=n.find(o=>o.toastId===e);mt[t]=n.filter(o=>o.toastId!==e),!mt[t].length&&!mO(t)&&fu(t,!1),hO(),at(()=>{r!=null&&r.onClose&&(r.onClose(tm(r)),r=void 0)})}}},update(e={}){const{containerId:t=""}=e;if(t&&e.updateId){mt[t]=mt[t]||[];const n=mt[t].find(a=>a.toastId===e.toastId),r=(n==null?void 0:n.position)!==e.position||(n==null?void 0:n.transition)!==e.transition,o={...e,disabledEnterTransition:!r,updateId:void 0};Dt.dismissForce(e==null?void 0:e.toastId),setTimeout(()=>{Ve(o.content,o)},e.delay||0)}},clear(e,t=!0){e?fu(e,t):uO(t)},dismissCallback(e){var t;const n=(t=e.currentTarget)==null?void 0:t.id,r=document.getElementById(n);r&&(r.removeEventListener("animationend",Dt.dismissCallback,!1),setTimeout(()=>{Dt.remove(n)}))},dismiss(e){if(e){const t=yo();for(const n of t)if(n.toastId===e){Fb(n,r=>{r.addEventListener("animationend",Dt.dismissCallback,!1)});break}}},dismissForce(e){if(e){const t=yo();for(const n of t)if(n.toastId===e){const r=document.getElementById(e);r&&(r.remove(),r.removeEventListener("animationend",Dt.dismissCallback,!1),Dt.remove(e));break}}}},Vb=Ye({}),Gi=Ye({});function Hb(){return Math.random().toString(36).substring(2,9)}function yO(e){return typeof e=="number"&&!isNaN(e)}function mu(e){return typeof e=="string"}function ro(e){return typeof e=="function"}function Bs(...e){return jt(...e)}function gi(e){return typeof e=="object"&&(!!(e!=null&&e.render)||!!(e!=null&&e.setup)||typeof(e==null?void 0:e.type)=="object")}function bO(e={}){Vb[`${Me.CSS_NAMESPACE}-default-options`]=e}function vO(){return Vb[`${Me.CSS_NAMESPACE}-default-options`]||$b}function _O(){const e=window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches;return document.documentElement.classList.contains("dark")||e?"dark":"light"}var yi=(e=>(e[e.Enter=0]="Enter",e[e.Exit=1]="Exit",e))(yi||{});const qb={containerId:{type:[String,Number],required:!1,default:""},clearOnUrlChange:{type:Boolean,required:!1,default:!0},disabledEnterTransition:{type:Boolean,required:!1,default:!1},dangerouslyHTMLString:{type:Boolean,required:!1,default:!1},multiple:{type:Boolean,required:!1,default:!0},limit:{type:Number,required:!1,default:void 0},position:{type:String,required:!1,default:Na.TOP_LEFT},bodyClassName:{type:String,required:!1,default:""},autoClose:{type:[Number,Boolean],required:!1,default:!1},closeButton:{type:[Boolean,Function,Object],required:!1,default:void 0},transition:{type:[String,Object],required:!1,default:"bounce"},hideProgressBar:{type:Boolean,required:!1,default:!1},pauseOnHover:{type:Boolean,required:!1,default:!0},pauseOnFocusLoss:{type:Boolean,required:!1,default:!0},closeOnClick:{type:Boolean,required:!1,default:!0},progress:{type:Number,required:!1,default:void 0},progressClassName:{type:String,required:!1,default:""},toastStyle:{type:Object,required:!1,default(){return{}}},progressStyle:{type:Object,required:!1,default(){return{}}},role:{type:String,required:!1,default:"alert"},theme:{type:String,required:!1,default:go.AUTO},content:{type:[String,Object,Function],required:!1,default:""},toastId:{type:[String,Number],required:!1,default:""},data:{type:[Object,String],required:!1,default(){return{}}},type:{type:String,required:!1,default:It.DEFAULT},icon:{type:[Boolean,String,Number,Object,Function],required:!1,default:void 0},delay:{type:Number,required:!1,default:void 0},onOpen:{type:Function,required:!1,default:void 0},onClose:{type:Function,required:!1,default:void 0},onClick:{type:Function,required:!1,default:void 0},isLoading:{type:Boolean,required:!1,default:void 0},rtl:{type:Boolean,required:!1,default:!1},toastClassName:{type:String,required:!1,default:""},updateId:{type:[String,Number],required:!1,default:""},contentProps:{type:Object,required:!1,default:null}},wO={autoClose:{type:[Number,Boolean],required:!0},isRunning:{type:Boolean,required:!1,default:void 0},type:{type:String,required:!1,default:It.DEFAULT},theme:{type:String,required:!1,default:go.AUTO},hide:{type:Boolean,required:!1,default:void 0},className:{type:[String,Function],required:!1,default:""},controlledProgress:{type:Boolean,required:!1,default:void 0},rtl:{type:Boolean,required:!1,default:void 0},isIn:{type:Boolean,required:!1,default:void 0},progress:{type:Number,required:!1,default:void 0},closeToast:{type:Function,required:!1,default:void 0}},xO=Qe({name:"ProgressBar",props:wO,setup(e,{attrs:t}){const n=he(),r=se(()=>e.hide?"true":"false"),o=se(()=>({...t.style||{},animationDuration:`${e.autoClose===!0?5e3:e.autoClose}ms`,animationPlayState:e.isRunning?"running":"paused",opacity:e.hide||e.autoClose===!1?0:1,transform:e.controlledProgress?`scaleX(${e.progress})`:"none"})),a=se(()=>[`${Me.CSS_NAMESPACE}__progress-bar`,e.controlledProgress?`${Me.CSS_NAMESPACE}__progress-bar--controlled`:`${Me.CSS_NAMESPACE}__progress-bar--animated`,`${Me.CSS_NAMESPACE}__progress-bar-theme--${e.theme}`,`${Me.CSS_NAMESPACE}__progress-bar--${e.type}`,e.rtl?`${Me.CSS_NAMESPACE}__progress-bar--rtl`:null].filter(Boolean).join(" ")),i=se(()=>`${a.value} ${(t==null?void 0:t.class)||""}`),s=()=>{n.value&&(n.value.onanimationend=null,n.value.ontransitionend=null)},l=()=>{e.isIn&&e.closeToast&&e.autoClose!==!1&&(e.closeToast(),s())},c=se(()=>e.controlledProgress?null:l),u=se(()=>e.controlledProgress?l:null);return Yn(()=>{n.value&&(s(),n.value.onanimationend=c.value,n.value.ontransitionend=u.value)}),()=>K("div",{ref:n,role:"progressbar","aria-hidden":r.value,"aria-label":"notification timer",class:i.value,style:o.value},null)}}),CO=Qe({name:"CloseButton",inheritAttrs:!1,props:{theme:{type:String,required:!1,default:go.AUTO},type:{type:String,required:!1,default:go.LIGHT},ariaLabel:{type:String,required:!1,default:"close"},closeToast:{type:Function,required:!1,default:void 0}},setup(e){return()=>K("button",{class:`${Me.CSS_NAMESPACE}__close-button ${Me.CSS_NAMESPACE}__close-button--${e.theme}`,type:"button",onClick:t=>{t.stopPropagation(),e.closeToast&&e.closeToast(t)},"aria-label":e.ariaLabel},[K("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},[K("path",{"fill-rule":"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"},null)])])}}),Ds=({theme:e,type:t,path:n,...r})=>K("svg",jt({viewBox:"0 0 24 24",width:"100%",height:"100%",fill:e==="colored"?"currentColor":`var(--toastify-icon-color-${t})`},r),[K("path",{d:n},null)]);function SO(e){return K(Ds,jt(e,{path:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}),null)}function TO(e){return K(Ds,jt(e,{path:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}),null)}function kO(e){return K(Ds,jt(e,{path:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}),null)}function EO(e){return K(Ds,jt(e,{path:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}),null)}function IO(){return K("div",{class:`${Me.CSS_NAMESPACE}__spinner`},null)}const hu={info:TO,warning:SO,success:kO,error:EO,spinner:IO},PO=e=>e in hu;function OO({theme:e,type:t,isLoading:n,icon:r}){let o;const a={theme:e,type:t};return n?o=hu.spinner():r===!1?o=void 0:gi(r)?o=Te(r):ro(r)?o=r(a):Vt(r)?o=Qt(r,a):mu(r)||yO(r)?o=r:PO(t)&&(o=hu[t](a)),o}const LO=()=>{};function AO(e,t,n=Me.COLLAPSE_DURATION){const{scrollHeight:r,style:o}=e,a=n;requestAnimationFrame(()=>{o.minHeight="initial",o.height=r+"px",o.transition=`all ${a}ms`,requestAnimationFrame(()=>{o.height="0",o.padding="0",o.margin="0",setTimeout(t,a)})})}function MO(e){const t=he(!1),n=he(!1),r=he(!1),o=he(yi.Enter),a=Ye({...e,appendPosition:e.appendPosition||!1,collapse:typeof e.collapse>"u"?!0:e.collapse,collapseDuration:e.collapseDuration||Me.COLLAPSE_DURATION}),i=a.done||LO,s=se(()=>a.appendPosition?`${a.enter}--${a.position}`:a.enter),l=se(()=>a.appendPosition?`${a.exit}--${a.position}`:a.exit),c=se(()=>e.pauseOnHover?{onMouseenter:x,onMouseleave:y}:{});function u(){const g=s.value.split(" ");f().addEventListener(uu.ENTRANCE_ANIMATION_END,y,{once:!0});const h=_=>{const S=f();_.target===S&&(S.dispatchEvent(new Event(uu.ENTRANCE_ANIMATION_END)),S.removeEventListener("animationend",h),S.removeEventListener("animationcancel",h),o.value===yi.Enter&&_.type!=="animationcancel"&&S.classList.remove(...g))},p=()=>{const _=f();_.classList.add(...g),_.addEventListener("animationend",h),_.addEventListener("animationcancel",h)};e.pauseOnFocusLoss&&m(),p()}function d(){if(!f())return;const g=()=>{const p=f();p.removeEventListener("animationend",g),a.collapse?AO(p,i,a.collapseDuration):i()},h=()=>{const p=f();o.value=yi.Exit,p&&(p.className+=` ${l.value}`,p.addEventListener("animationend",g))};n.value||(r.value?g():setTimeout(h))}function f(){return e.toastRef.value}function m(){document.hasFocus()||x(),window.addEventListener("focus",y),window.addEventListener("blur",x)}function b(){window.removeEventListener("focus",y),window.removeEventListener("blur",x)}function y(){(!e.loading.value||e.isLoading===void 0)&&(t.value=!0)}function x(){t.value=!1}function w(g){g&&(g.stopPropagation(),g.preventDefault()),n.value=!1}return Yn(d),Yn(()=>{const g=yo();n.value=g.findIndex(h=>h.toastId===a.toastId)>-1}),Yn(()=>{e.isLoading!==void 0&&(e.loading.value?x():y())}),Xe(u),qt(()=>{e.pauseOnFocusLoss&&b()}),{isIn:n,isRunning:t,hideToast:w,eventHandlers:c}}const RO=Qe({name:"ToastItem",inheritAttrs:!1,props:qb,setup(e){const t=he(),n=se(()=>!!e.isLoading),r=se(()=>e.progress!==void 0&&e.progress!==null),o=se(()=>OO(e)),a=se(()=>[`${Me.CSS_NAMESPACE}__toast`,`${Me.CSS_NAMESPACE}__toast-theme--${e.theme}`,`${Me.CSS_NAMESPACE}__toast--${e.type}`,e.rtl?`${Me.CSS_NAMESPACE}__toast--rtl`:void 0,e.toastClassName||""].filter(Boolean).join(" ")),{isRunning:i,isIn:s,hideToast:l,eventHandlers:c}=MO({toastRef:t,loading:n,done:()=>{Dt.remove(e.toastId)},...Ub(e.transition,e.disabledEnterTransition),...e});return()=>K("div",jt({id:e.toastId,class:a.value,style:e.toastStyle||{},ref:t,"data-testid":`toast-item-${e.toastId}`,onClick:u=>{e.closeOnClick&&l(),e.onClick&&e.onClick(u)}},c.value),[K("div",{role:e.role,"data-testid":"toast-body",class:`${Me.CSS_NAMESPACE}__toast-body ${e.bodyClassName||""}`},[o.value!=null&&K("div",{"data-testid":`toast-icon-${e.type}`,class:[`${Me.CSS_NAMESPACE}__toast-icon`,e.isLoading?"":`${Me.CSS_NAMESPACE}--animate-icon ${Me.CSS_NAMESPACE}__zoom-enter`].join(" ")},[gi(o.value)?We(Te(o.value),{theme:e.theme,type:e.type}):ro(o.value)?o.value({theme:e.theme,type:e.type}):o.value]),e.contentProps?K("div",{"data-testid":"toast-content"},[We(Te(e.content),{contentProps:e.contentProps})]):K("div",{"data-testid":"toast-content"},[gi(e.content)?We(Te(e.content),{toastProps:Te(e),closeToast:l,data:e.data}):ro(e.content)?e.content({toastProps:Te(e),closeToast:l,data:e.data}):e.dangerouslyHTMLString?We("div",{innerHTML:e.content}):e.content])]),(e.closeButton===void 0||e.closeButton===!0)&&K(CO,{theme:e.theme,closeToast:u=>{u.stopPropagation(),u.preventDefault(),l()}},null),gi(e.closeButton)?We(Te(e.closeButton),{closeToast:l,type:e.type,theme:e.theme}):ro(e.closeButton)?e.closeButton({closeToast:l,type:e.type,theme:e.theme}):null,K(xO,{className:e.progressClassName,style:e.progressStyle,rtl:e.rtl,theme:e.theme,isIn:s.value,type:e.type,hide:e.hideProgressBar,isRunning:i.value,autoClose:e.autoClose,controlledProgress:r.value,progress:e.progress,closeToast:e.isLoading?void 0:l},null)])}});let Qo=0;function jb(){typeof window>"u"||(Qo&&window.cancelAnimationFrame(Qo),Qo=window.requestAnimationFrame(jb),Gi.lastUrl!==window.location.href&&(Gi.lastUrl=window.location.href,Dt.clear()))}const NO=Qe({name:"ToastifyContainer",inheritAttrs:!1,props:qb,setup(e){const t=se(()=>e.containerId),n=se(()=>mt[t.value]||[]),r=se(()=>n.value.filter(o=>o.position===e.position));return Xe(()=>{typeof window<"u"&&e.clearOnUrlChange&&window.requestAnimationFrame(jb)}),qt(()=>{typeof window<"u"&&Qo&&(window.cancelAnimationFrame(Qo),Gi.lastUrl="")}),()=>K(we,null,[r.value.map(o=>{const{toastId:a=""}=o;return K(RO,jt({key:a},o),null)})])}});let Sl=!1;function Wb(){const e=[];return yo().forEach(t=>{const n=document.getElementById(t.containerId);n&&!n.classList.contains(Ns)&&e.push(t)}),e}function BO(e){const t=Wb().length,n=e??0;return n>0&&t+bn.items.length>=n}function DO(e){BO(e.limit)&&!e.updateId&&bn.items.push({toastId:e.toastId,containerId:e.containerId,toastContent:e.content,toastProps:e})}function ir(e,t,n={}){if(Sl)return;n=Bs(vO(),{type:t},Te(n)),(!n.toastId||typeof n.toastId!="string"&&typeof n.toastId!="number")&&(n.toastId=Hb()),n={...n,content:e,containerId:n.containerId||String(n.position)};const r=Number(n==null?void 0:n.progress);return r<0&&(n.progress=0),r>1&&(n.progress=1),n.theme==="auto"&&(n.theme=_O()),DO(n),Gi.lastUrl=window.location.href,n.multiple?bn.items.length?n.updateId&&hi(e,n):hi(e,n):(Sl=!0,Ve.clearAll(void 0,!1),setTimeout(()=>{hi(e,n)},0),setTimeout(()=>{Sl=!1},390)),n.toastId}const Ve=(e,t)=>ir(e,It.DEFAULT,t);Ve.info=(e,t)=>ir(e,It.DEFAULT,{...t,type:It.INFO});Ve.error=(e,t)=>ir(e,It.DEFAULT,{...t,type:It.ERROR});Ve.warning=(e,t)=>ir(e,It.DEFAULT,{...t,type:It.WARNING});Ve.warn=Ve.warning;Ve.success=(e,t)=>ir(e,It.DEFAULT,{...t,type:It.SUCCESS});Ve.loading=(e,t)=>ir(e,It.DEFAULT,Bs(t,{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1}));Ve.dark=(e,t)=>ir(e,It.DEFAULT,Bs(t,{theme:go.DARK}));Ve.remove=e=>{e?Dt.dismiss(e):Dt.clear()};Ve.clearAll=(e,t)=>{at(()=>{Dt.clear(e,t)})};Ve.isActive=e=>{let t=!1;return t=Wb().findIndex(n=>n.toastId===e)>-1,t};Ve.update=(e,t={})=>{setTimeout(()=>{const n=gO(e);if(n){const r=Te(n),{content:o}=r,a={...r,...t,toastId:t.toastId||e,updateId:Hb()},i=a.render||o;delete a.render,ir(i,a.type,a)}},0)};Ve.done=e=>{Ve.update(e,{isLoading:!1,progress:1})};Ve.promise=$O;function $O(e,{pending:t,error:n,success:r},o){var a,i,s;let l;const c={...o||{},autoClose:!1};t&&(l=mu(t)?Ve.loading(t,c):Ve.loading(t.render,{...c,...t}));const u={autoClose:(a=o==null?void 0:o.autoClose)!=null?a:!0,closeOnClick:(i=o==null?void 0:o.closeOnClick)!=null?i:!0,closeButton:(s=o==null?void 0:o.autoClose)!=null?s:null,isLoading:void 0,draggable:null,delay:100},d=(m,b,y)=>{if(b==null){Ve.remove(l);return}const x={type:m,...u,...o,data:y},w=mu(b)?{render:b}:b;return l?Ve.update(l,{...x,...w,isLoading:!1}):Ve(w.render,{...x,...w,isLoading:!1}),y},f=ro(e)?e():e;return f.then(m=>{d("success",r,m)}).catch(m=>{d("error",n,m)}),f}Ve.POSITION=Na;Ve.THEME=go;Ve.TYPE=It;Ve.TRANSITIONS=XP;const zb={install(e,t={}){UO(t)}};typeof window<"u"&&(window.Vue3Toastify=zb);function UO(e={}){const t=Bs($b,e);bO(t)}const FO=ut(({vueApp:e})=>(e.use(zb,{autoClose:5e3,dangerouslyHTMLString:!0,clearOnUrlChange:!1}),{provide:{toast:Ve}})),VO=[xC,SC,zS,GS,KS,YS,QS,eT,tT,uk,qk,Wk,DP,$P,UP,qP,YP,QP,FO],HO=Qe({props:{vnode:{type:Object,required:!0},route:{type:Object,required:!0},vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(e){const t=e.renderKey,n=e.route,r={};for(const o in e.route)Object.defineProperty(r,o,{get:()=>t===e.renderKey?e.route[o]:n[o],enumerable:!0});return vt(Pn,rn(r)),()=>We(e.vnode,{ref:e.vnodeRef})}}),qO=Qe({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,slots:n,expose:r}){const o=G(),a=he(),i=ot(Pn,null);let s;r({pageRef:a});const l=ot(wy,null);let c;const u=o.deferHydration();if(o.isHydrating){const d=o.hooks.hookOnce("app:error",u);Xt().beforeEach(d)}return e.pageKey&&pt(()=>e.pageKey,(d,f)=>{d!==f&&o.callHook("page:loading:start")}),()=>We(Gy,{name:e.name,route:e.route,...t},{default:d=>{const f=WO(i,d.route,d.Component),m=i&&i.matched.length===d.route.matched.length;if(!d.Component){if(c&&!m)return c;u();return}if(c&&l&&!l.isCurrent(d.route))return c;if(f&&i&&(!l||l!=null&&l.isCurrent(i)))return m?c:null;const b=mc(d,e.pageKey);!o.isHydrating&&!zO(i,d.route,d.Component)&&s===b&&o.callHook("page:loading:end"),s=b;const y=!!(e.transition??d.route.meta.pageTransition??tc),x=y&&jO([e.transition,d.route.meta.pageTransition,tc,{onAfterLeave:()=>{o.callHook("page:transition:finish",d.Component)}}].filter(Boolean)),w=e.keepalive??d.route.meta.keepalive??L1;return c=Ky(Ar,y&&x,AS(w,We(ka,{suspensible:!0,onPending:()=>o.callHook("page:start",d.Component),onResolve:()=>{at(()=>o.callHook("page:finish",d.Component).then(()=>o.callHook("page:loading:end")).finally(u))}},{default:()=>{const g=We(HO,{key:b||void 0,vnode:n.default?We(we,void 0,n.default(d)):d.Component,route:d.route,renderKey:b||void 0,trackRootNodes:y,vnodeRef:a});return w&&(g.type.name=d.Component.type.name||d.Component.type.__name||"RouteProvider"),g}}))).default(),c}})}});function jO(e){const t=e.map(n=>({...n,onAfterLeave:n.onAfterLeave?hd(n.onAfterLeave):void 0}));return vy(...t)}function WO(e,t,n){if(!e)return!1;const r=t.matched.findIndex(o=>{var a;return((a=o.components)==null?void 0:a.default)===(n==null?void 0:n.type)});return!r||r===-1?!1:t.matched.slice(0,r).some((o,a)=>{var i,s,l;return((i=o.components)==null?void 0:i.default)!==((l=(s=e.matched[a])==null?void 0:s.components)==null?void 0:l.default)})||n&&mc({route:t,Component:n})!==mc({route:e,Component:n})}function zO(e,t,n){return e?t.matched.findIndex(o=>{var a;return((a=o.components)==null?void 0:a.default)===(n==null?void 0:n.type)})<t.matched.length-1:!1}const GO=Qe({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},setup(e,t){return()=>We(Gn[e.name],e.layoutProps,t.slots)}}),KO=Qe({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},setup(e,t){const n=G(),r=ot(Pn),o=r===Ge()?ES():r,a=se(()=>{let l=B(e.name)??o.meta.layout??"default";return l&&!(l in Gn)&&e.fallback&&(l=B(e.fallback)),l}),i=he();t.expose({layoutRef:i});const s=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",s);Xt().beforeEach(l)}return()=>{const l=a.value&&a.value in Gn,c=o.meta.layoutTransition??O1;return Ky(Ar,l&&c,{default:()=>We(ka,{suspensible:!0,onResolve:()=>{at(s)}},{default:()=>We(YO,{layoutProps:jt(t.attrs,{ref:i}),key:a.value||void 0,name:a.value,shouldProvide:!e.name,hasTransition:!!c},t.slots)})}).default()}}}),YO=Qe({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean}},setup(e,t){const n=e.name;return e.shouldProvide&&vt(wy,{isCurrent:r=>n===(r.meta.layout??"default")}),()=>{var r,o;return!n||typeof n=="string"&&!(n in Gn)?(o=(r=t.slots).default)==null?void 0:o.call(r):We(GO,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}}),JO={__name:"app",setup(e){const{path:t}=Ge(),{dynatraceSetPage:n}=Jo();return Xe(()=>{n(window.location.hostname,t)}),(r,o)=>{const a=qO,i=KO;return P(),ye(i,null,{default:Be(()=>[K(a)]),_:1})}}},QO=Object.freeze({left:0,top:0,width:16,height:16}),Gb=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Pd=Object.freeze({...QO,...Gb});Object.freeze({...Pd,body:"",hidden:!1});function XO(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}const ZO=/(-?[0-9.]*[0-9]+[0-9.]*)/g,eL=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function gu(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(ZO);if(r===null||!r.length)return e;const o=[];let a=r.shift(),i=eL.test(a);for(;;){if(i){const s=parseFloat(a);isNaN(s)?o.push(a):o.push(Math.ceil(s*t*n)/n)}else o.push(a);if(a=r.shift(),a===void 0)return o.join("");i=!i}}function tL(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function nL(e){return"data:image/svg+xml,"+tL(e)}function rL(e){return'url("'+nL(e)+'")'}function oL(e){const[t,n,r,o]=e;if(r!==o){const a=Math.max(r,o);return[t-(a-r)/2,n-(a-o)/2,a,a]}return e}const aL=Object.freeze({width:null,height:null}),iL=Object.freeze({...aL,...Gb});function sL(e,t="defs"){let n="";const r=e.indexOf("<"+t);for(;r>=0;){const o=e.indexOf(">",r),a=e.indexOf("</"+t);if(o===-1||a===-1)break;const i=e.indexOf(">",a);if(i===-1)break;n+=e.slice(o+1,a).trim(),e=e.slice(0,r).trim()+e.slice(i+1)}return{defs:n,content:e}}function lL(e,t){return e?"<defs>"+e+"</defs>"+t:t}function cL(e,t,n){const r=sL(e);return lL(r.defs,t+r.content+n)}const uL=e=>e==="unset"||e==="undefined"||e==="none";function dL(e,t){const n={...Pd,...e},r={...iL,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let a=n.body;[n,r].forEach(y=>{const x=[],w=y.hFlip,g=y.vFlip;let h=y.rotate;w?g?h+=2:(x.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),x.push("scale(-1 1)"),o.top=o.left=0):g&&(x.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),x.push("scale(1 -1)"),o.top=o.left=0);let p;switch(h<0&&(h-=Math.floor(h/4)*4),h=h%4,h){case 1:p=o.height/2+o.top,x.unshift("rotate(90 "+p.toString()+" "+p.toString()+")");break;case 2:x.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:p=o.width/2+o.left,x.unshift("rotate(-90 "+p.toString()+" "+p.toString()+")");break}h%2===1&&(o.left!==o.top&&(p=o.left,o.left=o.top,o.top=p),o.width!==o.height&&(p=o.width,o.width=o.height,o.height=p)),x.length&&(a=cL(a,'<g transform="'+x.join(" ")+'">',"</g>"))});const i=r.width,s=r.height,l=o.width,c=o.height;let u,d;i===null?(d=s===null?"1em":s==="auto"?c:s,u=gu(d,l/c)):(u=i==="auto"?l:i,d=s===null?gu(u,c/l):s==="auto"?c:s);const f={},m=(y,x)=>{uL(x)||(f[y]=x.toString())};m("width",u),m("height",d);const b=[o.left,o.top,l,c];return f.viewBox=b.join(" "),{attributes:f,viewBox:b,body:a}}function fL(e){const t={display:"inline-block",width:"1em",height:"1em"},n=e.varName;switch(e.pseudoSelector&&(t.content="''"),e.mode){case"background":n&&(t["background-image"]="var(--"+n+")"),t["background-repeat"]="no-repeat",t["background-size"]="100% 100%";break;case"mask":t["background-color"]="currentColor",n&&(t["mask-image"]=t["-webkit-mask-image"]="var(--"+n+")"),t["mask-repeat"]=t["-webkit-mask-repeat"]="no-repeat",t["mask-size"]=t["-webkit-mask-size"]="100% 100%";break}return t}function pL(e,t){const n={},r=t.varName,o=dL(e);let a=o.viewBox;a[2]!==a[3]&&(t.forceSquare?a=oL(a):n.width=gu("1em",a[2]/a[3]));const i=XO(o.body.replace(/currentColor/g,t.color||"black"),{viewBox:`${a[0]} ${a[1]} ${a[2]} ${a[3]}`,width:`${a[2]}`,height:`${a[3]}`}),s=rL(i);if(r)n["--"+r]=s;else switch(t.mode){case"background":n["background-image"]=s;break;case"mask":n["mask-image"]=n["-webkit-mask-image"]=s;break}return n}const Tl={selectorStart:{compressed:"{",compact:" {",expanded:" {"},selectorEnd:{compressed:"}",compact:`; } `,expanded:`; } `},rule:{compressed:"{key}:",compact:" {key}: ",expanded:` {key}: `}};function mL(e,t="expanded"){const n=[];for(let r=0;r<e.length;r++){const{selector:o,rules:a}=e[r];let s=(o instanceof Array?o.join(t==="compressed"?",":", "):o)+Tl.selectorStart[t],l=!0;for(const c in a)l||(s+=";"),s+=Tl.rule[t].replace("{key}",c)+a[c],l=!1;s+=Tl.selectorEnd[t],n.push(s)}return n.join(t==="compressed"?"":` `)}function hL(e,t={}){const n=t.customise?t.customise(e.body):e.body,r=t.mode||(t.color||!n.includes("currentColor")?"background":"mask");let o=t.varName;o===void 0&&r==="mask"&&(o="svg");const a={...t,mode:r,varName:o};r==="background"&&delete a.varName;const i={...t.rules,...fL(a),...pL({...Pd,...e,body:n},a)},s=t.iconSelector||".icon";return mL([{selector:s,rules:i}],a.format)}async function gL(e,t){if(!e)return null;const n=gc(e);return n||(await zT(e).catch(()=>(console.warn(`[Icon] failed to load icon \`${e}\``),null)),gc(e))}function Kb(e){const t=Aa().icon,n=(t.collections||[]).sort((r,o)=>o.length-r.length);return se(()=>{var i;const r=e(),o=r.startsWith(t.cssSelectorPrefix)?r.slice(t.cssSelectorPrefix.length):r,a=((i=t.aliases)==null?void 0:i[o])||o;if(!a.includes(":")){const s=n.find(l=>a.startsWith(l+"-"));return s?s+":"+a.slice(s.length+1):a}return a})}let Bo;function yL(e){return e.replace(/([^\w-])/g,"\\$1")}function bL(){if(Bo)return Bo;Bo=new Set;const e=n=>{if(n=n.replace(/^:where\((.*)\)$/,"$1").trim(),n.startsWith("."))return n},t=n=>{if(n!=null&&n.length)for(const r of n){r!=null&&r.cssRules&&t(r.cssRules);const o=r==null?void 0:r.selectorText;if(typeof o=="string"){const a=e(o);a&&Bo.add(a)}}};if(typeof document<"u")for(const n of document.styleSheets)try{const r=n.cssRules||n.rules;t(r)}catch{}return Bo}const vL=Qe({name:"NuxtIconCss",props:{name:{type:String,required:!0},customize:{type:Function,required:!1}},setup(e){const t=G(),n=Aa().icon,r=se(()=>e.name?n.cssSelectorPrefix+e.name:"");function o(s){var u,d;if(!s)return;const l=gc(s);if(l)return l;const c=(d=(u=t.payload)==null?void 0:u.data)==null?void 0:d[s];if(c)return vd(s,c),c}const a=se(()=>"."+yL(r.value));function i(s,l=!0){let c=a.value;n.cssWherePseudo&&(c=`:where(${c})`);const u=hL(s,{iconSelector:c,format:"compressed",customise:e.customize});return n.cssLayer&&l?`@layer ${n.cssLayer} { ${u} }`:u}{const s=bL();async function l(c){if(s.has(a.value)||typeof document>"u")return;const u=document.createElement("style");u.textContent=i(c);const d=document.head.querySelector('style, link[rel="stylesheet"]');d?document.head.insertBefore(u,d):document.head.appendChild(u),s.add(a.value)}pt(()=>e.name,()=>{if(s.has(a.value))return;const c=o(e.name);c?l(c):gL(e.name).then(u=>{u&&l(u)}).catch(()=>null)},{immediate:!0})}return()=>We("span",{class:["iconify",r.value]})}}),_L=Qe({name:"NuxtIconSvg",props:{name:{type:String,required:!0},customize:{type:Function,required:!1}},setup(e,{slots:t}){const n=G();Aa().icon;const r=Kb(()=>e.name),o="i-"+r.value;if(r.value){const a=n.payload.data[o];a&&vd(r.value,a)}return()=>We(ik,{icon:r.value,ssr:!0,customise:e.customize},t)}}),Yb=Qe({name:"NuxtIcon",props:{name:{type:String,required:!0},mode:{type:String,required:!1,default:null},size:{type:[Number,String],required:!1,default:null},customize:{type:Function,required:!1}},setup(e,{slots:t}){const n=G(),r=Aa().icon,o=Kb(()=>e.name),a=se(()=>{var l;return((l=n.vueApp)==null?void 0:l.component(o.value))||((e.mode||r.mode)==="svg"?_L:vL)}),i=se(()=>{const l=e.size||r.size;return l?{fontSize:Number.isNaN(+l)?l:l+"px"}:null}),s=e.customize||r.customize;return()=>We(a.value,{...r.attrs,name:o.value,class:r.class,style:i.value,customize:s},t)}}),wL=Object.freeze(Object.defineProperty({__proto__:null,default:Yb},Symbol.toStringTag,{value:"Module"})),Fe=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},xL={name:"Tooltip",props:{text:{type:String,required:!0},showIndicator:{type:Boolean,default:!0},maxWidth:{type:String,default:"200px"}},data(){return{showTooltip:!1}},methods:{revealTooltip(){this.showTooltip=!0},hideTooltip(){this.showTooltip=!1}}},CL=["innerHTML"];function SL(e,t,n,r,o,a){const i=Ot;return P(),V("div",{class:Se(["ebm-tooltip",n.text?"ebm-tooltip--has-text":""])},[O("div",{class:"ebm-tooltip__trigger",onMouseover:t[0]||(t[0]=(...s)=>a.revealTooltip&&a.revealTooltip(...s)),onMouseleave:t[1]||(t[1]=(...s)=>a.hideTooltip&&a.hideTooltip(...s))},[$t(e.$slots,"default",{},void 0,!0),n.showIndicator?(P(),ye(i,{key:0,width:14,icon:"mdi:information-outline",class:"ebm-tooltip__icon"})):le("",!0)],32),n.text?(P(),V("div",{key:0,class:Se(["ebm-tooltip__text",o.showTooltip?"ebm-tooltip__text--visible":""]),style:de({maxWidth:n.maxWidth})},[O("div",{innerHTML:n.text},null,8,CL)],6)):le("",!0)],2)}const TL=Fe(xL,[["render",SL],["__scopeId","data-v-3ecfcd6a"]]),kL={props:{icon:{type:String,required:!0},width:{type:Number,default:18},tooltip:{type:String,default:""},iconColor:{type:String,default:""},disabled:{type:Boolean,default:!1},label:{type:String,default:""}},computed:{iconClass(){return this.icon==="ei:spinner-3"?"loading":this.icon}}};function EL(e,t,n,r,o,a){var l;const i=Yb,s=TL;return P(),V("div",{class:Se(["ebm-icon",a.iconClass,n.disabled?"disabled":"",n.label?"label":""]),style:de({minWidth:n.width+"px",minHeight:n.width+"px",color:n.iconColor})},[n.tooltip?(P(),ye(s,{key:0,"show-indicator":!1,text:n.tooltip,class:"tooltip-wrapper"},{default:Be(()=>{var c;return[K(i,{size:n.width,name:n.icon,style:de({color:n.iconColor,display:(c=e.$ss)!=null&&c.useNewDesign?"block":"inline-block"})},null,8,["size","name","style"])]}),_:1},8,["text"])):(P(),ye(i,{key:1,size:n.width,name:n.icon,style:de({color:n.iconColor,display:(l=e.$ss)!=null&&l.useNewDesign?"block":"inline-block"})},null,8,["size","name","style"])),nt(" "+Ie(n.label),1)],6)}const Ot=Fe(kL,[["render",EL],["__scopeId","data-v-b1fb1343"]]),nm={necessary:"C0001",performance:"C0002",functional:"C0003",targeting:"C0004",social:"C0005"},IL={necessary:!0,performance:!1,functional:!1,targeting:!1,social:!1},Tr=()=>{};Tr.getCategories=()=>{const t=IL;for(const n in nm)t[n]=typeof OnetrustActiveGroups<"u"?OnetrustActiveGroups.search(nm[n])>=0:!1;return t};Tr.getCss=()=>{const{$ss:e}=G();return` #onetrust-pc-sdk [id*=btn-handler], #onetrust-pc-sdk [class*=btn-handler] { background-color: ${e!=null&&e.useNewDesign?e.colors.primary.main:e.baseStyles.primaryColor} !important; border-color: ${e!=null&&e.useNewDesign?e.colors.primary.main:e.baseStyles.primaryColor} !important; } #onetrust-policy a, #onetrust-pc-sdk a, #ot-pc-content a { color: ${e!=null&&e.useNewDesign?e.colors.primary.main:e.baseStyles.primaryColor} !important; } #onetrust-consent-sdk #onetrust-pc-sdk .ot-active-menu { border-color: ${e!=null&&e.useNewDesign?e.colors.primary.main:e.baseStyles.primaryColor} !important; } #onetrust-consent-sdk #onetrust-accept-btn-handler, #onetrust-banner-sdk #onetrust-reject-all-handler, #onetrust-consent-sdk #onetrust-pc-btn-handler.cookie-setting-link { background-color: ${e!=null&&e.useNewDesign?e.colors.primary.main:e.baseStyles.primaryColor} !important; border-color: ${e!=null&&e.useNewDesign?e.colors.primary.main:e.baseStyles.primaryColor} !important; } #onetrust-consent-sdk .onetrust-pc-btn-handler { color: ${e!=null&&e.useNewDesign?e.colors.primary.main:e.baseStyles.primaryColor} !important; border-color: ${e!=null&&e.useNewDesign?e.colors.primary.main:e.baseStyles.primaryColor} !important; background-color: ${e.baseStyles.backgroundColor} !important; }`};function PL(){function e(){var n;const{$ss:t}=G();return`@import url('${t.primaryFontUrl}'); a { color: ${t!=null&&t.useNewDesign?t.colors.primary.main:(n=t==null?void 0:t.baseStyles)==null?void 0:n.linkColor}; } .ebm-page__main h1, .ebm-page__main h2, .ebm-page__main h3, .ebm-page__main h4, .ebm-page__main h5, .ebm-page__main h6 { font-family: ${t.primaryFontFamily}; } body { ${t!=null&&t.useNewDesign?"line-height: 150%;":""} letter-spacing: 0.025em; font-family: ${t.primaryFontFamily}; } button, .ebm-button-wrapper { font-family: ${t.primaryFontFamily}; } .label-style { text-transform: uppercase; color: var(--color-grey); font-weight: 600; font-size: 0.75rem; } .caption-style { font-size: 0.75rem; opacity: .6; } ${Tr.getCss()} `}return{getStyleTag:e}}const OL={__name:"WebSiteStyleTag",setup(e){const t=`<style>${PL().getStyleTag()}</style>`;return(n,r)=>(P(),V("div",{type:"style",innerHTML:t}))}},LL=Symbol.for("nuxt:client-only"),$s=Qe({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const r=he(!1);return Xe(()=>{r.value=!0}),vt(LL,!0),o=>{var l;if(r.value)return(l=t.default)==null?void 0:l.call(t);const a=t.fallback||t.placeholder;if(a)return a();const i=o.fallback||o.placeholder||"",s=o.fallbackTag||o.placeholderTag||"span";return V(s,n,i)}}}),AL={props:{targetId:{type:String,required:!0},observe:{type:Function,default:()=>{}},zeroHeight:{type:Boolean,default:!1}},emits:["visible"],async mounted(){this.isElementVisible(),await this.$nextTick(),this.$refs.inner&&this.observe(this.$refs.inner)},methods:{isElementVisible(){const{top:e,bottom:t}=this.$el.getBoundingClientRect(),{offsetHeight:n}=this.$el,r=window.innerHeight||document.documentElement.clientHeight;e>=-n&&t<=r+n&&this.$emit("visible")}}},ML={class:"ebm-ad-target__outer"},RL=["id"];function NL(e,t,n,r,o,a){const i=$s;return P(),V("div",ML,[K(i,null,{default:Be(()=>[O("div",{id:n.targetId,ref:"inner",class:"ebm-ad-target__inner",style:de({height:n.zeroHeight?0:"auto"})},null,12,RL)]),_:1})])}const BL=Fe(AL,[["render",NL]]);function Od(e){const t=e!=null&&e.id?Ee(`adUnit${e.id}`,()=>({loaded:!1,visible:!1,rendered:!1})):null,n=ot("page");function r(){t!=null&&t.value&&(t.value.loaded=!0)}function o(){t!=null&&t.value&&(t.value.rendered=!0)}function a(){t!=null&&t.value&&(t.value.visible=!0)}function i(){var x,w,g,h;if(!e)return null;const{$ss:d}=G(),{useSectionAlias:f,key:m}=e,b=((x=n==null?void 0:n.pageData)==null?void 0:x.gamAlias)??((g=(w=n==null?void 0:n.pageData)==null?void 0:w.primarySection)==null?void 0:g.gamAlias)??"default",y=f===!1?"default":b;return`/21687441225/${(h=d==null?void 0:d.googleAdManager)==null?void 0:h.basePath}/${y}/${m}`}function s(d){var x,w,g;if(!d)return!1;const f=((x=n==null?void 0:n.pageData)==null?void 0:x.type)??"default";if(!f)return!1;const m=!((w=d==null?void 0:d.excludePageTypes)!=null&&w.some(h=>(h==null?void 0:h.toUpperCase())===(f==null?void 0:f.toUpperCase())));let b=!0;const y=((g=n==null?void 0:n.pageData)==null?void 0:g.excludeAds)??(n==null?void 0:n.excludeAds);return d.type==="content-list-native"&&(y!=null&&y.contentListNativeAd)&&(b=!1),d.type==="content-body-native"&&(y!=null&&y.contentBodyNativeAd)&&(b=!1),d.type==="content-body-embed"&&(y!=null&&y.contentBodyEmbedAd)&&(b=!1),d.type==="reskin"&&(y!=null&&y.reskinAd)&&(b=!1),d.key==="wa"&&(y!=null&&y.welcomeAd)&&(b=!1),d.type==="sticky-bottom"&&(y!=null&&y.stickyLeaderboardAd)&&(b=!1),d.type==="header-leaderboard"&&(y!=null&&y.headerLeaderboardAd)&&(b=!1),m&&b}const l=se(()=>t==null?void 0:t.value.loaded),c=se(()=>t==null?void 0:t.value.rendered),u=se(()=>t==null?void 0:t.value.visible);return{valid:s(e),path:i(),loaded:l,visible:u,rendered:c,onLoad:r,onRender:o,onVisible:a}}const yu=()=>"xxxx-xxxx-xxx-xxxx".replace(/[x]/g,()=>Math.floor(Math.random()*16).toString(16)),DL={incomingItems:[],contentLists:[],listItems:{},body:{nativeTitle:"",nativeSummary:"",nativeUrl:"",nativeImagePath:"",nativeImpressionTrackerUrl:"",labels:["Sponsored"],primarySection:{}}},ln=e=>{const t=Ee("nativeAd",()=>DL);return e&&(t.value=e),t};ln.registerContentList=e=>{const t=ln(),n=JSON.parse(JSON.stringify(t.value));if(n.contentLists.push(e),Object.keys(n.listItems).length>0){let r=1,o=0;for(const i in n.listItems){const s=n.listItems[i];r=s.order>r?s.order:r,o=s.order>r?0:s.adIndex}const a=o+1>=n.incomingItems.length?0:o+1;n.listItems[e]={...n.incomingItems[a],order:r+1,adIndex:a}}return t.value=n,t};ln.addNativeListItem=e=>{const t=ln(),n={nativeTitle:"",nativeSummary:"",nativeUrl:"",nativeImagePath:"",nativeImpressionTrackerUrl:"",labels:["Sponsored"],primarySection:{}};for(const o in e)n[o]=e[o];n.primarySection={name:"Learn More",alias:e.nativeUrl};const r=[...t.value.incomingItems];r.push(n),t.value.incomingItems=[...r]};ln.completeNativeList=()=>{const e=ln(),t={};let n=0,r=1;for(const o of e.value.contentLists)t[o]={...e.value.incomingItems[n],order:r,adIndex:n},n++,n+1>e.value.incomingItems.length&&(n=0),r++;e.value.listItems={...t}};ln.addNativeBody=e=>{const t=ln();for(const n in e)t.value.body[n]=e[n];t.value.body.primarySection={name:"Learn More",alias:e.nativeUrl}};const Ld={__name:"GAMSlotBuilder",props:{adUnit:{type:Object},useAdUnitTargetId:{type:Boolean,default:!1},renderTarget:{type:Boolean,default:!0},zeroHeight:{type:Boolean,default:!1}},setup(e){const{valid:t,path:n,onLoad:r,onRender:o,onVisible:a}=Od(e.adUnit),i=he(0),s=he(void 0),l=e.useAdUnitTargetId?e.adUnit.targetId:"gam-"+yu();Xe(async()=>{t&&(await at(),c())}),Lr(()=>{if(s.value&&clearTimeout(s.value),window!=null&&window.googletag){const f=window==null?void 0:window.googletag;f.cmd.push(()=>{f.pubads().clear()})}});async function c(){let f,m=500,b=5;for(;!f;){const y=window==null?void 0:window.googletag;if(y&&document.getElementById(l)){const{sizeMapping:x,size:w}=e.adUnit;y.cmd.push(function(){if(f=y.defineSlot(n,w??[[1,1]],l),f){if(x){let g=y.sizeMapping();for(const{viewport:h,size:p}of x)g=g.addSize(h,p);f=f.defineSizeMapping(g.build())}f=f.setCollapseEmptyDiv(!0),f.addService(y.pubads()),y.display(f)}}),y.cmd.push(()=>{y.pubads().addEventListener("slotVisibilityChanged",g=>{const{slot:h,inViewPercentage:p}=g;h.getSlotId().getDomId()===l&&(i.value=p)}),y.pubads().addEventListener("slotRenderEnded",g=>{const{slot:h}=g,p=h.getSlotId().getDomId();o(),l.trim()==p.trim()&&e.adUnit.type==="content-list-native"&&window.setTimeout(()=>{ln.completeNativeList()},500)})})}if(await new Promise(x=>setTimeout(x,m)),m+=500,b--===0)break}f&&e.adUnit.refreshRate&&u(f)}function u(f){const{googletag:m}=window;s.value=setTimeout(()=>{i.value>75&&m.cmd.push(function(){m.pubads().refresh([f])}),u(f)},1e3*e.adUnit.refreshRate)}function d(f){if(!window.MutationObserver){r();return}const m=x=>{for(const{addedNodes:w}of x)for(const g of w)g.tagName==="IFRAME"&&r()},b=new MutationObserver(m),y={attributes:!1,childList:!0,subtree:!0};b.observe(f,y),setTimeout(()=>{b&&b.disconnect()},10*1e3)}return(f,m)=>{const b=BL;return B(t)&&e.renderTarget?(P(),ye(b,{key:0,"target-id":B(l),observe:d,"zero-height":e.zeroHeight,onVisible:B(a)},null,8,["target-id","zero-height","onVisible"])):le("",!0)}}},$L={key:0,id:"header-leaderboard-ad"},UL={__name:"GAMHeaderLeaderboard",setup(e){var o;const t=(o=Sr().value)==null?void 0:o.find(({type:a})=>a==="header-leaderboard"),{valid:n,rendered:r}=Od(t);return(a,i)=>{const s=Ld;return B(n)?Ft((P(),V("div",$L,[K(s,{"ad-unit":B(t),style:{padding:"calc(var(--spacing)/8) 0"}},null,8,["ad-unit"])],512)),[[Ht,B(r)]]):le("",!0)}}},FL=Fe(UL,[["__scopeId","data-v-06639cce"]]),VL=["innerHTML"],Ad={__name:"WebImgLazyLoader",props:{lazyLoad:{type:Boolean,default:!0}},setup(e){const t=Hu(),n=se(()=>`<img ${Object.keys(t).map(o=>o==="style"?`style="${Object.keys(t.style).map(i=>`${i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}: ${t.style[i]};`)}"`:`${o}="${t[o]}"`).join(" ")} loading="${e.lazyLoad?"lazy":"auto"}" width="${t.width}" height="${t.height}" />`);return(r,o)=>(P(),V("div",{innerHTML:B(n)},null,8,VL))}};var Jb=typeof global=="object"&&global&&global.Object===Object&&global,HL=typeof self=="object"&&self&&self.Object===Object&&self,Ba=Jb||HL||Function("return this")(),tr=Ba.Symbol,Qb=Object.prototype,qL=Qb.hasOwnProperty,jL=Qb.toString,Do=tr?tr.toStringTag:void 0;function WL(e){var t=qL.call(e,Do),n=e[Do];try{e[Do]=void 0;var r=!0}catch{}var o=jL.call(e);return r&&(t?e[Do]=n:delete e[Do]),o}var zL=Object.prototype,GL=zL.toString;function KL(e){return GL.call(e)}var YL="[object Null]",JL="[object Undefined]",rm=tr?tr.toStringTag:void 0;function Us(e){return e==null?e===void 0?JL:YL:rm&&rm in Object(e)?WL(e):KL(e)}function Fs(e){return e!=null&&typeof e=="object"}var QL="[object Symbol]";function Vs(e){return typeof e=="symbol"||Fs(e)&&Us(e)==QL}function XL(e,t){for(var n=-1,r=e==null?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}var xo=Array.isArray,ZL=1/0,om=tr?tr.prototype:void 0,am=om?om.toString:void 0;function Xb(e){if(typeof e=="string")return e;if(xo(e))return XL(e,Xb)+"";if(Vs(e))return am?am.call(e):"";var t=e+"";return t=="0"&&1/e==-ZL?"-0":t}var eA=/\s/;function tA(e){for(var t=e.length;t--&&eA.test(e.charAt(t)););return t}var nA=/^\s+/;function rA(e){return e&&e.slice(0,tA(e)+1).replace(nA,"")}function vn(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var im=NaN,oA=/^[-+]0x[0-9a-f]+$/i,aA=/^0b[01]+$/i,iA=/^0o[0-7]+$/i,sA=parseInt;function Xo(e){if(typeof e=="number")return e;if(Vs(e))return im;if(vn(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=vn(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=rA(e);var n=aA.test(e);return n||iA.test(e)?sA(e.slice(2),n?2:8):oA.test(e)?im:+e}function Zb(e){return e}var lA="[object AsyncFunction]",cA="[object Function]",uA="[object GeneratorFunction]",dA="[object Proxy]";function ev(e){if(!vn(e))return!1;var t=Us(e);return t==cA||t==uA||t==lA||t==dA}var kl=Ba["__core-js_shared__"],sm=function(){var e=/[^.]+$/.exec(kl&&kl.keys&&kl.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function fA(e){return!!sm&&sm in e}var pA=Function.prototype,mA=pA.toString;function hA(e){if(e!=null){try{return mA.call(e)}catch{}try{return e+""}catch{}}return""}var gA=/[\\^$.*+?()[\]{}|]/g,yA=/^\[object .+?Constructor\]$/,bA=Function.prototype,vA=Object.prototype,_A=bA.toString,wA=vA.hasOwnProperty,xA=RegExp("^"+_A.call(wA).replace(gA,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function CA(e){if(!vn(e)||fA(e))return!1;var t=ev(e)?xA:yA;return t.test(hA(e))}function SA(e,t){return e==null?void 0:e[t]}function Md(e,t){var n=SA(e,t);return CA(n)?n:void 0}function TA(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var kA=800,EA=16,IA=Date.now;function PA(e){var t=0,n=0;return function(){var r=IA(),o=EA-(r-n);if(n=r,o>0){if(++t>=kA)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function OA(e){return function(){return e}}var Ki=function(){try{var e=Md(Object,"defineProperty");return e({},"",{}),e}catch{}}(),LA=Ki?function(e,t){return Ki(e,"toString",{configurable:!0,enumerable:!1,value:OA(t),writable:!0})}:Zb,tv=PA(LA),AA=9007199254740991,MA=/^(?:0|[1-9]\d*)$/;function Hs(e,t){var n=typeof e;return t=t??AA,!!t&&(n=="number"||n!="symbol"&&MA.test(e))&&e>-1&&e%1==0&&e<t}function RA(e,t,n){t=="__proto__"&&Ki?Ki(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function qs(e,t){return e===t||e!==e&&t!==t}var NA=Object.prototype,BA=NA.hasOwnProperty;function DA(e,t,n){var r=e[t];(!(BA.call(e,t)&&qs(r,n))||n===void 0&&!(t in e))&&RA(e,t,n)}var lm=Math.max;function nv(e,t,n){return t=lm(t===void 0?e.length-1:t,0),function(){for(var r=arguments,o=-1,a=lm(r.length-t,0),i=Array(a);++o<a;)i[o]=r[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=r[o];return s[t]=n(i),TA(e,this,s)}}function $A(e,t){return tv(nv(e,t,Zb),e+"")}var UA=9007199254740991;function Rd(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=UA}function rv(e){return e!=null&&Rd(e.length)&&!ev(e)}function FA(e,t,n){if(!vn(n))return!1;var r=typeof t;return(r=="number"?rv(n)&&Hs(t,n.length):r=="string"&&t in n)?qs(n[t],e):!1}var VA=Object.prototype;function HA(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||VA;return e===n}function qA(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var jA="[object Arguments]";function cm(e){return Fs(e)&&Us(e)==jA}var ov=Object.prototype,WA=ov.hasOwnProperty,zA=ov.propertyIsEnumerable,Nd=cm(function(){return arguments}())?cm:function(e){return Fs(e)&&WA.call(e,"callee")&&!zA.call(e,"callee")};function GA(){return!1}var av=typeof exports=="object"&&exports&&!exports.nodeType&&exports,um=av&&typeof module=="object"&&module&&!module.nodeType&&module,KA=um&&um.exports===av,dm=KA?Ba.Buffer:void 0,YA=dm?dm.isBuffer:void 0,JA=YA||GA,QA="[object Arguments]",XA="[object Array]",ZA="[object Boolean]",e2="[object Date]",t2="[object Error]",n2="[object Function]",r2="[object Map]",o2="[object Number]",a2="[object Object]",i2="[object RegExp]",s2="[object Set]",l2="[object String]",c2="[object WeakMap]",u2="[object ArrayBuffer]",d2="[object DataView]",f2="[object Float32Array]",p2="[object Float64Array]",m2="[object Int8Array]",h2="[object Int16Array]",g2="[object Int32Array]",y2="[object Uint8Array]",b2="[object Uint8ClampedArray]",v2="[object Uint16Array]",_2="[object Uint32Array]",ze={};ze[f2]=ze[p2]=ze[m2]=ze[h2]=ze[g2]=ze[y2]=ze[b2]=ze[v2]=ze[_2]=!0;ze[QA]=ze[XA]=ze[u2]=ze[ZA]=ze[d2]=ze[e2]=ze[t2]=ze[n2]=ze[r2]=ze[o2]=ze[a2]=ze[i2]=ze[s2]=ze[l2]=ze[c2]=!1;function w2(e){return Fs(e)&&Rd(e.length)&&!!ze[Us(e)]}function x2(e){return function(t){return e(t)}}var iv=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Zo=iv&&typeof module=="object"&&module&&!module.nodeType&&module,C2=Zo&&Zo.exports===iv,El=C2&&Jb.process,fm=function(){try{var e=Zo&&Zo.require&&Zo.require("util").types;return e||El&&El.binding&&El.binding("util")}catch{}}(),pm=fm&&fm.isTypedArray,S2=pm?x2(pm):w2,T2=Object.prototype,k2=T2.hasOwnProperty;function E2(e,t){var n=xo(e),r=!n&&Nd(e),o=!n&&!r&&JA(e),a=!n&&!r&&!o&&S2(e),i=n||r||o||a,s=i?qA(e.length,String):[],l=s.length;for(var c in e)(t||k2.call(e,c))&&!(i&&(c=="length"||o&&(c=="offset"||c=="parent")||a&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||Hs(c,l)))&&s.push(c);return s}function I2(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var P2=Object.prototype,O2=P2.hasOwnProperty;function L2(e){if(!vn(e))return I2(e);var t=HA(e),n=[];for(var r in e)r=="constructor"&&(t||!O2.call(e,r))||n.push(r);return n}function A2(e){return rv(e)?E2(e,!0):L2(e)}var M2=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,R2=/^\w*$/;function N2(e,t){if(xo(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||Vs(e)?!0:R2.test(e)||!M2.test(e)||t!=null&&e in Object(t)}var ha=Md(Object,"create");function B2(){this.__data__=ha?ha(null):{},this.size=0}function D2(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var $2="__lodash_hash_undefined__",U2=Object.prototype,F2=U2.hasOwnProperty;function V2(e){var t=this.__data__;if(ha){var n=t[e];return n===$2?void 0:n}return F2.call(t,e)?t[e]:void 0}var H2=Object.prototype,q2=H2.hasOwnProperty;function j2(e){var t=this.__data__;return ha?t[e]!==void 0:q2.call(t,e)}var W2="__lodash_hash_undefined__";function z2(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=ha&&t===void 0?W2:t,this}function kr(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}kr.prototype.clear=B2;kr.prototype.delete=D2;kr.prototype.get=V2;kr.prototype.has=j2;kr.prototype.set=z2;function G2(){this.__data__=[],this.size=0}function js(e,t){for(var n=e.length;n--;)if(qs(e[n][0],t))return n;return-1}var K2=Array.prototype,Y2=K2.splice;function J2(e){var t=this.__data__,n=js(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Y2.call(t,n,1),--this.size,!0}function Q2(e){var t=this.__data__,n=js(t,e);return n<0?void 0:t[n][1]}function X2(e){return js(this.__data__,e)>-1}function Z2(e,t){var n=this.__data__,r=js(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function Co(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Co.prototype.clear=G2;Co.prototype.delete=J2;Co.prototype.get=Q2;Co.prototype.has=X2;Co.prototype.set=Z2;var eM=Md(Ba,"Map");function tM(){this.size=0,this.__data__={hash:new kr,map:new(eM||Co),string:new kr}}function nM(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Ws(e,t){var n=e.__data__;return nM(t)?n[typeof t=="string"?"string":"hash"]:n.map}function rM(e){var t=Ws(this,e).delete(e);return this.size-=t?1:0,t}function oM(e){return Ws(this,e).get(e)}function aM(e){return Ws(this,e).has(e)}function iM(e,t){var n=Ws(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function Br(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Br.prototype.clear=tM;Br.prototype.delete=rM;Br.prototype.get=oM;Br.prototype.has=aM;Br.prototype.set=iM;var sM="Expected a function";function Bd(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(sM);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],a=n.cache;if(a.has(o))return a.get(o);var i=e.apply(this,r);return n.cache=a.set(o,i)||a,i};return n.cache=new(Bd.Cache||Br),n}Bd.Cache=Br;var lM=500;function cM(e){var t=Bd(e,function(r){return n.size===lM&&n.clear(),r}),n=t.cache;return t}var uM=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,dM=/\\(\\)?/g,fM=cM(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(uM,function(n,r,o,a){t.push(o?a.replace(dM,"$1"):r||n)}),t});function Da(e){return e==null?"":Xb(e)}function zs(e,t){return xo(e)?e:N2(e,t)?[e]:fM(Da(e))}var pM=1/0;function Dd(e){if(typeof e=="string"||Vs(e))return e;var t=e+"";return t=="0"&&1/e==-pM?"-0":t}function mM(e,t){t=zs(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[Dd(t[n++])];return n&&n==r?e:void 0}function hM(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}var mm=tr?tr.isConcatSpreadable:void 0;function gM(e){return xo(e)||Nd(e)||!!(mm&&e&&e[mm])}function yM(e,t,n,r,o){var a=-1,i=e.length;for(n||(n=gM),o||(o=[]);++a<i;){var s=e[a];n(s)?hM(o,s):o[o.length]=s}return o}function bM(e){var t=e==null?0:e.length;return t?yM(e):[]}function vM(e){return tv(nv(e,void 0,bM),e+"")}function _M(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(o);++r<o;)a[r]=e[r+t];return a}function wM(e,t,n){var r=e.length;return n=n===void 0?r:n,!t&&n>=r?e:_M(e,t,n)}var xM="\\ud800-\\udfff",CM="\\u0300-\\u036f",SM="\\ufe20-\\ufe2f",TM="\\u20d0-\\u20ff",kM=CM+SM+TM,EM="\\ufe0e\\ufe0f",IM="\\u200d",PM=RegExp("["+IM+xM+kM+EM+"]");function sv(e){return PM.test(e)}function OM(e){return e.split("")}var lv="\\ud800-\\udfff",LM="\\u0300-\\u036f",AM="\\ufe20-\\ufe2f",MM="\\u20d0-\\u20ff",RM=LM+AM+MM,NM="\\ufe0e\\ufe0f",BM="["+lv+"]",bu="["+RM+"]",vu="\\ud83c[\\udffb-\\udfff]",DM="(?:"+bu+"|"+vu+")",cv="[^"+lv+"]",uv="(?:\\ud83c[\\udde6-\\uddff]){2}",dv="[\\ud800-\\udbff][\\udc00-\\udfff]",$M="\\u200d",fv=DM+"?",pv="["+NM+"]?",UM="(?:"+$M+"(?:"+[cv,uv,dv].join("|")+")"+pv+fv+")*",FM=pv+fv+UM,VM="(?:"+[cv+bu+"?",bu,uv,dv,BM].join("|")+")",HM=RegExp(vu+"(?="+vu+")|"+VM+FM,"g");function qM(e){return e.match(HM)||[]}function jM(e){return sv(e)?qM(e):OM(e)}function WM(e){return function(t){t=Da(t);var n=sv(t)?jM(t):void 0,r=n?n[0]:t.charAt(0),o=n?wM(n,1).join(""):t.slice(1);return r[e]()+o}}var mv=WM("toUpperCase");function zM(e){return mv(Da(e).toLowerCase())}function GM(e,t,n,r){for(var o=-1,a=e==null?0:e.length;++o<a;)n=t(n,e[o],o,e);return n}function KM(e){return function(t){return e==null?void 0:e[t]}}var YM={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},JM=KM(YM),QM=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,XM="\\u0300-\\u036f",ZM="\\ufe20-\\ufe2f",eR="\\u20d0-\\u20ff",tR=XM+ZM+eR,nR="["+tR+"]",rR=RegExp(nR,"g");function oR(e){return e=Da(e),e&&e.replace(QM,JM).replace(rR,"")}var aR=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function iR(e){return e.match(aR)||[]}var sR=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function lR(e){return sR.test(e)}var hv="\\ud800-\\udfff",cR="\\u0300-\\u036f",uR="\\ufe20-\\ufe2f",dR="\\u20d0-\\u20ff",fR=cR+uR+dR,gv="\\u2700-\\u27bf",yv="a-z\\xdf-\\xf6\\xf8-\\xff",pR="\\xac\\xb1\\xd7\\xf7",mR="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",hR="\\u2000-\\u206f",gR=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",bv="A-Z\\xc0-\\xd6\\xd8-\\xde",yR="\\ufe0e\\ufe0f",vv=pR+mR+hR+gR,_v="['’]",hm="["+vv+"]",bR="["+fR+"]",wv="\\d+",vR="["+gv+"]",xv="["+yv+"]",Cv="[^"+hv+vv+wv+gv+yv+bv+"]",_R="\\ud83c[\\udffb-\\udfff]",wR="(?:"+bR+"|"+_R+")",xR="[^"+hv+"]",Sv="(?:\\ud83c[\\udde6-\\uddff]){2}",Tv="[\\ud800-\\udbff][\\udc00-\\udfff]",jr="["+bv+"]",CR="\\u200d",gm="(?:"+xv+"|"+Cv+")",SR="(?:"+jr+"|"+Cv+")",ym="(?:"+_v+"(?:d|ll|m|re|s|t|ve))?",bm="(?:"+_v+"(?:D|LL|M|RE|S|T|VE))?",kv=wR+"?",Ev="["+yR+"]?",TR="(?:"+CR+"(?:"+[xR,Sv,Tv].join("|")+")"+Ev+kv+")*",kR="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ER="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",IR=Ev+kv+TR,PR="(?:"+[vR,Sv,Tv].join("|")+")"+IR,OR=RegExp([jr+"?"+xv+"+"+ym+"(?="+[hm,jr,"$"].join("|")+")",SR+"+"+bm+"(?="+[hm,jr+gm,"$"].join("|")+")",jr+"?"+gm+"+"+ym,jr+"+"+bm,ER,kR,wv,PR].join("|"),"g");function LR(e){return e.match(OR)||[]}function AR(e,t,n){return e=Da(e),t=t,t===void 0?lR(e)?LR(e):iR(e):e.match(t)||[]}var MR="['’]",RR=RegExp(MR,"g");function NR(e){return function(t){return GM(AR(oR(t).replace(RR,"")),e,"")}}var BR=NR(function(e,t,n){return t=t.toLowerCase(),e+(n?zM(t):t)});function DR(e,t,n){return e===e&&(n!==void 0&&(e=e<=n?e:n),t!==void 0&&(e=e>=t?e:t)),e}function $R(e,t,n){return n===void 0&&(n=t,t=void 0),n!==void 0&&(n=Xo(n),n=n===n?n:0),t!==void 0&&(t=Xo(t),t=t===t?t:0),DR(Xo(e),t,n)}function UR(e,t){return e!=null&&t in Object(e)}function FR(e,t,n){t=zs(t,e);for(var r=-1,o=t.length,a=!1;++r<o;){var i=Dd(t[r]);if(!(a=e!=null&&n(e,i)))break;e=e[i]}return a||++r!=o?a:(o=e==null?0:e.length,!!o&&Rd(o)&&Hs(i,o)&&(xo(e)||Nd(e)))}function VR(e,t){return e!=null&&FR(e,t,UR)}var Il=function(){return Ba.Date.now()},HR="Expected a function",qR=Math.max,jR=Math.min;function Iv(e,t,n){var r,o,a,i,s,l,c=0,u=!1,d=!1,f=!0;if(typeof e!="function")throw new TypeError(HR);t=Xo(t)||0,vn(n)&&(u=!!n.leading,d="maxWait"in n,a=d?qR(Xo(n.maxWait)||0,t):a,f="trailing"in n?!!n.trailing:f);function m(S){var E=r,F=o;return r=o=void 0,c=S,i=e.apply(F,E),i}function b(S){return c=S,s=setTimeout(w,t),u?m(S):i}function y(S){var E=S-l,F=S-c,N=t-E;return d?jR(N,a-F):N}function x(S){var E=S-l,F=S-c;return l===void 0||E>=t||E<0||d&&F>=a}function w(){var S=Il();if(x(S))return g(S);s=setTimeout(w,y(S))}function g(S){return s=void 0,f&&r?m(S):(r=o=void 0,i)}function h(){s!==void 0&&clearTimeout(s),c=0,r=l=o=s=void 0}function p(){return s===void 0?i:g(Il())}function _(){var S=Il(),E=x(S);if(r=arguments,o=this,l=S,E){if(s===void 0)return b(l);if(d)return clearTimeout(s),s=setTimeout(w,t),m(l)}return s===void 0&&(s=setTimeout(w,t)),i}return _.cancel=h,_.flush=p,_}var Pv=Object.prototype,WR=Pv.hasOwnProperty,zR=$A(function(e,t){e=Object(e);var n=-1,r=t.length,o=r>2?t[2]:void 0;for(o&&FA(t[0],t[1],o)&&(r=1);++n<r;)for(var a=t[n],i=A2(a),s=-1,l=i.length;++s<l;){var c=i[s],u=e[c];(u===void 0||qs(u,Pv[c])&&!WR.call(e,c))&&(e[c]=a[c])}return e});function GR(e,t,n,r){if(!vn(e))return e;t=zs(t,e);for(var o=-1,a=t.length,i=a-1,s=e;s!=null&&++o<a;){var l=Dd(t[o]),c=n;if(l==="__proto__"||l==="constructor"||l==="prototype")return e;if(o!=i){var u=s[l];c=void 0,c===void 0&&(c=vn(u)?u:Hs(t[o+1])?[]:{})}DA(s,l,c),s=s[l]}return e}function KR(e,t,n){for(var r=-1,o=t.length,a={};++r<o;){var i=t[r],s=mM(e,i);n(s,i)&&GR(a,zs(i,e),s)}return a}function YR(e,t){return KR(e,t,function(n,r){return VR(e,r)})}var Ov=vM(function(e,t){return e==null?{}:YR(e,t)}),JR="Expected a function";function QR(e,t,n){var r=!0,o=!0;if(typeof e!="function")throw new TypeError(JR);return vn(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Iv(e,t,{leading:r,maxWait:t,trailing:o})}const Rn=()=>{};Rn.trackCustomEvent=async(e,t,n)=>{if(Tr.getCategories().performance){const o=Bb();let a=2;o.trackEvent({event:e,...t??{},eventCallback:async function(i){i.indexOf("GTM-")===0&&(a=a-1,a===0&&typeof n=="function"&&await n())}})}};Rn.trackEvent=async e=>{var o,a,i,s,l,c,u,d,f,m,b;console.log("track GTM event");const t=(o=e==null?void 0:e.pageData)!=null&&o.body?e.pageData.body.replace(/((<a(.*?)>(.*?)<\/a>)|(<[^>]*>))/g,"").split(" ").length:0,{$ss:n,$gql:r}=G();if(n.googleTagManager.containerID){const y=Bb(),x=Ge().fullPath.split("?").length>0?Ge().fullPath.split("?")[1]:"";let w={};if(n.memberships.allowIpGating){const p=await te.getUserIp(),_=await r.query("siteLicenseCompany",{userIpAddress:p});w=(a=_==null?void 0:_.data)!=null&&a.companyName?{site_user_organization:company}:null}const g=await te.getUserInfo(),h=g!=null&&g.email?{site_user_id:g.omedaEncryptedCustomerId,site_user_email:g.email,site_user_organization:g.company}:null;if(((i=e==null?void 0:e.pageData)==null?void 0:i.type)==="section"){const p=e.pageData,_=(p==null?void 0:p.hierarchy)??[];y.trackEvent({event:"page_load",page_type:"website-section",canonical_path:p.canonicalPath,query_string:x,section:{id:p.id,name:p.name,alias:p.alias,fullName:p.fullName},section_hierarchy:_.map(S=>({id:S.id,name:S.name,alias:S.alias})),...h,...w})}else if((s=e==null?void 0:e.pageData)!=null&&s.contentId&&((l=e==null?void 0:e.pageData)==null?void 0:l.type)!=="Page"){const p=e.pageData,_=p.primarySection,S=((c=p==null?void 0:p.company)==null?void 0:c.id)??null,E=p.company?p.company.name:null,F=p.authors?p.authors.edges.map($=>({id:$.node.id,name:$.node.name})):null,N=p.authors?p.authors.edges.map($=>$.node.name).join():null,v=p.byline??null,T=p.source??null,I=p.taxonomy.edges?p.taxonomy.edges.map($=>({id:$.node.id,type:$.node.type,name:$.node.name,fullName:$.node.fullName})):null,A=p.websiteSchedules?p.websiteSchedules.map($=>$.section.name).filter($=>$!==_.name):null,z={event:"page_load",page_type:"content",canonical_path:p.siteContext.path,auto_tags:((u=p==null?void 0:p.metadata)==null?void 0:u.aiKeywords)??[],query_string:x,word_count:t,content:{id:p.id,type:p.type,name:p.name,published:p.published?new Date(p.published).toISOString():void 0,publishedDate:p.published?new Date(p.published).toISOString().split("T")[0].replace(/-/g,""):void 0},created_by:{id:(d=p.createdBy)==null?void 0:d.id,username:(f=p.createdBy)==null?void 0:f.username,firstName:(m=p.createdBy)==null?void 0:m.firstName,lastName:(b=p.createdBy)==null?void 0:b.lastName},company:{id:S,name:E},section:{id:_==null?void 0:_.id,name:_.name,alias:_.alias,fullName:_.fullName},section_hierarchy:_.hierarchy.map($=>({id:$.id,name:$.name,alias:$.alias})),taxonomy:I,sterms:A,authors:F,author_names:N,by_line:v,source:T,date:p.publishedDate,...h,...w};y.trackEvent(z)}else y.trackEvent({event:"page_load"})}};function $a(){return{getMembershipOptions:()=>{const r=Ee("membershipOptions");if(r.value)return r.value;r.value=[{}];const{$gql:o}=G();return o.query("getMembershipStream",{}).then(a=>{const i=a.data.edges.filter(({node:s})=>s.status===1).map(s=>({value:s.node.id,label:s.node.title,status:s.node.status}));r.value=i}),r.value},getMemberships:async()=>{const r=Ee("membershipList");if(r.value)return r.value;r.value=[{}];const{$gql:o}=G(),a=await o.queryStream("getMembershipStream",{status:1});return a.error||(r.value=a.data.items),r.value},isFree:async r=>{const{$gql:o}=G(),a=await o.query("getMembership",{id:r});return a!=null&&a.data?a.data.isFree:!1}}}const Bn={token:"",userInfo:{},membershipOverviewVisible:[]},Lv=(e,t)=>Ke(e).value??t,te=async()=>{};te.membershipOverviewVisible=()=>{const e=Ee("siteUser",()=>Bn);return e.value.membershipOverviewVisible.length?e.value.membershipOverviewVisible:[]};te.hideMembershipOverview=()=>{const e=Ee("siteUser",()=>Bn);e.value.membershipOverviewVisible=[]};te.getUserIp=async()=>{let e="";return window&&(e=await fetch(window.location.href).then(t=>t.headers.get("EBM-IPAddress")),console.log("cf ip",e)),e||(e=await fetch("https://api.ipify.org?format=json").then(t=>t.json()).then(({ip:t})=>t),console.log("ipify ip",e)),e};te.hasSiteLicenseCompany=async()=>{var n;const{$gql:e,$ss:t}=G();if(!Lv("noSiteLicenseNew")&&t.memberships.allowIpGating){const r=await te.getUserIp();return(n=(await e.query("siteLicenseCompany",{userIpAddress:r})).data)!=null&&n.companyName?!0:(Ke("noSiteLicenseNew",{maxAge:86400,path:"/"}).value="Company Not Found",!1)}else return!1};te.getSiteLicenseCompany=async()=>{var r;const{$gql:e}=G(),t=await te.getUserIp(),n=await e.query("siteLicenseCompany",{userIpAddress:t});return(r=n.data)!=null&&r.companyName?n.data.companyName:!1};te.isLoggedIn=()=>{var n,r,o;const{$ss:e}=G();if((n=e.systemOutage)!=null&&n.disableOmeda)return!1;const t=Ee("siteUser",()=>Bn);return(r=t.value)!=null&&r.token||(t.value.token=Lv("siteUserToken")),!!((o=t.value)!=null&&o.token)};te.getUserInfo=async(e=!0)=>{var n,r;const{$gql:t}=G();if(te.membershipSystemActive()){const o=Ee("siteUser",()=>Bn);if(te.isLoggedIn()){if(!e||((n=o.value.userInfo)==null?void 0:n.firstName)===void 0){const a=JSON.parse(localStorage.getItem("siteUserInfo")),i=new Date().getTime();if(e&&a&&a.expires>i)return o.value.userInfo=a.value,o.value.userInfo;{localStorage.removeItem("siteUserInfo");const s=await t.query("getActiveSiteUserWithNewsletters",{useCache:e});if(s.error||!((r=s.data)!=null&&r.userInfo))return o.value.userInfo;te.updateUserInfo(s.data.userInfo),typeof olytics<"u"&&!Ke("simulatingSiteUser").value&&olytics.confirm(s.data.userInfo.omedaEncryptedCustomerId)}}return o.value.userInfo}else return null}};te.updateUserInfo=e=>{const t=Ee("siteUser",()=>Bn);t.value.userInfo=e,Ke("omedaEncryptedCustomerId").value=e.omedaEncryptedCustomerId,localStorage.setItem("siteUserInfo",JSON.stringify({value:e,expires:new Date(Date.now()+1e3*60*60*24).getTime()}))};te.logout=async(e=!0)=>{const{$gql:t,$ss:n}=G(),{viafoura:r,vfLogout:o}=So();await t.mutate("logoutSiteUser"),localStorage.removeItem("siteUserInfo"),Ke("simulatingSiteUser",{path:"/"}).value=null,Ke("siteUserToken",{path:"/"}).value=null,hk("siteUser"),await at(),r.value.initialized&&o(),e&&n.useNewDesign&&await ks("/")};te.contactSSOService=(e,t)=>{const{$config:n}=G();let r=`https://sso${n.public.isDev?"-dev":""}.aspire-ebm.com/auth?redirect=${encodeURIComponent(t)}`;e&&(r+=`&siteUserToken=${e}`),window.location=r};te.login=async(e,t,n)=>{const{$gql:r,$ss:o}=G(),{query:a,hash:i}=Ge(),s=await r.mutate("loginSiteUser",{username:e,password:t,recaptchaToken:n});if(s!=null&&s.error)return{error:!0,message:`Please try again or use the reset password link below. If you continue to have issues, please email us at <a href="mailto:customerservice@${o.general.rootDomain}">customerservice@${o.general.rootDomain}</a> and include browser details.`};{te.updateUserInfo(s.data.userInfo);const l=(a==null?void 0:a.redirectTo)!==void 0?(a==null?void 0:a.redirectTo)===""?"/":`${a==null?void 0:a.redirectTo}${i}`:"/",c={redirect_to:l,...Ov(a,["source"])};await Rn.trackCustomEvent("site_user_login_success",c,async()=>{await te.finalizeLogin(s.data.token,s.data.userInfo.omedaEncryptedCustomerId,l)})}};te.finalizeLogin=async(e,t,n)=>{const r=Ee("siteUser",()=>Bn);r.value.token=e,Ke("siteUserToken",{expires:new Date(Date.now()+3600*1e3*24*30),path:"/"}).value=e;try{olytics.confirm(t)}catch(s){console.error(s)}const{isCommentingActive:o,viafoura:a,vfLogin:i}=So();o()&&a.value.initialized&&await i(e),window.location=n};te.requestSignup=async(e,t,n,r,o,a,i)=>{var d,f;const{$gql:s}=G(),l={email:e,membershipId:t,countryCode:n,region:r,consent:te.formatConsentObject({country:n,region:r,compliance:o}),path:a,recaptchaToken:i},c=(f=(d=Ge())==null?void 0:d.query)==null?void 0:f.pk;return c&&(l.promoCode=c),await s.mutate("requestRegisterSiteUser",l)};te.getSiteUserStub=async e=>{const{$gql:t}=G(),n={id:e};return await t.mutate("getSiteUserStub",n)};te.getSiteUser=async(e,t,n)=>{const{$gql:r}=G(),o={id:e,username:t,useOmedaCache:n};return await r.query("getSiteUser",o)};te.simulateSiteUser=async e=>{const{$gql:t}=G(),n={username:e};await te.logout();const r=await t.mutate("simulateSiteUser",n);if(r.error){Et.error(r.message);return}const o={expires:yb(new Date,1),path:"/"};Ke("simulatingSiteUser",o).value=!0,Ke("siteUserToken",o).value=r.data.token,Et.success(`Successfully signed into ${e}`)};te.signupUser=async e=>{var p;const{$ss:t,$gql:n}=G(),{id:r,password:o,membershipId:a,firstName:i,lastName:s,title:l,company:c,city:u,postalCode:d,locale:f,customerDemographics:m,newsletters:b,expiration:y,recaptchaToken:x}=e,w=Object.keys(m).map(_=>{const S=Number(_.replace("demo_","")),E=[];return Array.isArray(m[_])?E.push(...m[_].map(Number)):E.push(Number(m[_])),{questionId:S,answerIds:E}}),g={id:r,password:o,membershipId:a,firstName:i,lastName:s,title:l,company:c,city:u,region:f.region,countryCode:f.countryCode,postalCode:d,demographics:w,newsletters:b,expiration:y,consent:JSON.parse(JSON.stringify(f.compliance)),recaptchaToken:x},h=await n.mutate("registerSiteUser",g);if(!h.error){const{query:_,hash:S}=Ge();te.updateUserInfo(h.data.userInfo);const E=((p=Ge().query)==null?void 0:p.redirectTo)!==void 0?(_==null?void 0:_.redirectTo)===""?"/":`${_==null?void 0:_.redirectTo}${S}`:"/";console.log("fire gtm events");const F=b!==void 0?t.newsletters.enabledNewsletters.filter(v=>b.find(T=>v.omedaProductId===T)).map(v=>v.title).join("|"):"",N={redirect_to:E,...Ov(_,["source"])};await Rn.trackCustomEvent("site_user_registration_success",N,async()=>{F?await Rn.trackCustomEvent("subscribe_to_newsletters",{newsletters:F,nlsub_source:"registration"},async()=>{await te.finalizeLogin(h.data.token,h.data.userInfo.omedaEncryptedCustomerId,E)}):await te.finalizeLogin(h.data.token,h.data.userInfo.omedaEncryptedCustomerId,E)})}return h};te.hasMembership=e=>{var n,r;return(r=(n=Ee("siteUser").value.userInfo)==null?void 0:n.memberships)==null?void 0:r.includes(e)};te.getMemberships=async e=>{const{$gql:t}=G(),n=await t.query("getMembershipStream",{id:e});return n.error?null:n.data};te.getMembershipInfo=async e=>{const{$gql:t}=G(),n=await t.query("getMembership",{id:e});return n.error?null:n.data};te.getRequiredQuestions=async()=>{var o,a;const{getMemberships:e}=$a(),t=await e(),n=(o=t.map(i=>i.requiredUserCommonFields))==null?void 0:o.flat(),r=(a=t.map(i=>i.requiredUserDemographicFields))==null?void 0:a.flat();return{requiredCommonFields:n,requiredDemographicFields:r}};te.getAdditionalQuestions=async()=>{var r;const{getMemberships:e}=$a();return{additionalDemographicFields:(r=(await e()).map(o=>o.additionalUserDemographicFields))==null?void 0:r.flat()}};te.addMembership=async(e,t)=>{const{$gql:n}=G(),r=await n.query("getMembership",{id:e});if(r!=null&&r.data){const o=r.data.omedaProduct,a=Ee("siteUser").value.userInfo,i={email:a.emails[0].EmailAddress,omedaCustomerId:a.id,hashedOmedaCustomerId:a.hashedId,products:[{id:o,version:"D",expirationDate:new Date(t),amount:0}]},s=await n.mutate("setOmedaCustomer",i);return te.updateLocalUserData(s.data.token,s.data.userInfo),s}};te.membershipSystemActive=async()=>{var t,n;const{$ss:e}=G();if((t=e.modules)!=null&&t.memberships){const{getMemberships:r}=$a();return((n=(await r()).filter(({status:i})=>i===1))==null?void 0:n.length)>0}return!1};te.requestUpdateUsername=async(e,t)=>{const{$gql:n}=G(),r={password:e,newUsername:t};return await n.mutate("requestSiteUserChangeUsername",r)};te.updateUsername=async e=>{const{$gql:t}=G(),n={id:e};return await t.mutate("updateSiteUserUsername",n)};te.requestPasswordReset=async(e,t,n)=>{const{$gql:r}=G(),o={username:e,path:t,recaptchaToken:n};return await r.mutate("requestSiteUserPasswordReset",o)};te.resetPassword=async(e,t,n)=>{const{$gql:r}=G(),o={id:e,password:t,recaptchaToken:n};return await r.mutate("resetSiteUserPassword",o)};te.updatePassword=async(e,t)=>{const{$gql:n}=G(),r={password:e,newPassword:t};return await n.mutate("updateSiteUserPassword",r)};te.getDemographicQuestions=async e=>{const{$gql:t}=G();if(e){const n={demographicIds:e,limit:10},{error:r,data:o,message:a}=await t.queryStream("getOmedaDemographicStream",n);r&&Et.error(`Failed: ${a}`);const i=c=>{const u={};return c.forEach(d=>{var b;const f=s(d.demographicType),m={type:f==="single_select"||f==="multi_select"?"select":f,label:d.omedaWebformText??d.description};(f==="single_select"||f==="multi_select")&&(m.allowMultiple=f==="multi_select"),(f==="single_select"||f==="multi_select"||f==="checkbox_group")&&(m.options=l(d.demographicValues)),u["demo_"+((b=d.id)==null?void 0:b.toString())]=m}),u},s=c=>({1:"single_select",2:"multi_select",3:"text",5:"checkbox",6:"date",7:"number",8:"number"})[c]??"text",l=c=>c.map(d=>{var f;return{label:d.description,value:(f=d.id)==null?void 0:f.toString()}});return i(o.items)}else return[]};te.updateUserProfile=async e=>{const{$gql:t}=G(),{updateVfUser:n,viafoura:r}=So(),{firstName:o,lastName:a,title:i,company:s,city:l,postalCode:c,locale:u,customerDemographics:d}=e,f=[];Object.keys(d).forEach(x=>{const w=Number(x.replace("demo_","")),g=[];Array.isArray(d[x])?g.push(...d[x].map(Number)):d[x]&&g.push(Number(d[x])),g.length&&f.push({questionId:w,answerIds:g})});const m={demographics:f};o&&(m.firstName=o),a&&(m.lastName=a),i&&(m.title=i),s&&(m.company=s),u!=null&&u.countryCode&&(m.countryCode=u.countryCode),u!=null&&u.region&&(m.regionCode=u.region),l&&(m.city=l),c&&(m.postalCode=c),u&&(m.consent=te.formatConsentObject(u));const b=await t.mutate("updateSiteUserProfile",m),y=await te.getUserInfo();return te.updateUserInfo({...y,...m}),r.value.initialized&&await n(m),b};te.updateSiteUserProfileAdmin=async e=>{const{$gql:t}=G(),{id:n,firstName:r,lastName:o,email:a,username:i}=e,s={id:n,firstName:r,lastName:o,email:a,username:i};return await t.mutate("updateSiteUserProfileAdmin",s)};te.mapDemoValues=(e,t)=>{const n={};return e==null||e.forEach(r=>{var a,i;const o=`demo_${r.questionId}`;n[o]=r.answerId?String(r.answerId):((a=t[o])==null?void 0:a.type)==="select"&&((i=t[o])!=null&&i.allowMultiple)?r.answerIds.map(s=>String(s)):String(r.answerIds[0])}),n};te.formatConsentObject=e=>typeof e.compliance>"u"?{}:{[e.country==="CAN"?"CASL":"GDPR"]:e.compliance};te.toggleContentFavorite=async(e,t,n)=>{var l;const{$gql:r}=G(),o={contentId:e},a=n?await r.mutate("addSiteUserFavorite",o):await r.mutate("removeSiteUserFavorite",o),i=Ee("siteUser",()=>Bn),s=((l=i.value.userInfo)==null?void 0:l.favoriteContent)??[];if(n)s.push({id:e,created:new Date});else{const c=s.findIndex(u=>u.id===e);s.splice(c,1)}return te.updateUserInfo({...i.value.userInfo,favoriteContent:s}),n&&Rn.trackCustomEvent("content_favorite",{content_url:t}),a};te.getUserFavoriteStreamContent=async e=>{const{$gql:t}=G(),n={includeContentIds:e};return await t.query("getContentStream",n)};te.subscribeToNewsletter=async(e,t,n,r)=>{const{$gql:o}=G(),a=await o.mutate("subscribeSiteUserNewsletter",{newsletterId:e,promoCode:r});if(!a.error&&a.data){const i=Ee("siteUser",()=>Bn).value.userInfo,s=(i==null?void 0:i.newsletters)??[];s.push(e),te.updateUserInfo({...i,newsletters:s})}return Rn.trackCustomEvent("subscribe_to_newsletters",{newsletters:t,nlsub_source:n}),a};te.unsubscribeToNewsletter=async e=>{const{$gql:t}=G(),n=await t.mutate("unsubscribeSiteUserNewsletter",{newsletterId:e});if(!n.error&&n.data){const r=Ee("siteUser",()=>Bn).value.userInfo,o=r.newsletters;o.splice(o.indexOf(e),1),te.updateUserInfo({...r,newsletters:o})}return n};te.getFreeMemberships=async()=>{const{getMemberships:e}=$a();return(await e()).filter(r=>r.status===1&&r.isFree)};te.getActiveMemberships=async()=>{const{getMemberships:e}=$a();return(await e()).filter(r=>r.status===1)};te.getChosenRegistrationLink=(e,t)=>{if(t.includes("registration"))Et.error("Please complete your registration");else return t.includes("/membership/choose")?window.location=`/membership/signup/${e}?redirectTo=/account/login`:window.location=`/membership/signup/${e}?${t.search("redirectTo=")>=0?t:`redirectTo=${t}`}`};te.getRegistrationLink=async(e,t=!1,n={})=>{var u,d,f,m,b,y;const{hash:r,query:o}=n,{$ss:a}=G(),i=t&&((d=(u=Ge())==null?void 0:u.query)!=null&&d.pk)?`pk=${(m=(f=Ge())==null?void 0:f.query)==null?void 0:m.pk}&`:"";let s=((y=(b=Ge())==null?void 0:b.query)==null?void 0:y.redirectTo)??Ge().path;(s.includes("signup")&&Ge().path.includes("signup")||Ge().path.includes("account/login")&&s.includes("account/login"))&&(s="/account");let l="";const c=await te.getActiveMemberships();Ge().path.includes("registration")?Et.error("Please complete your registration"):e?l=`/membership/signup/${e[0].alias}?${i}redirectTo=${s}`:c.length>1&&!e?l=`/membership/choose?${i}redirectTo=${s}`:c.length===1&&!e?l=`/membership/signup/${c[0].alias}?${i}redirectTo=${s}`:Et.error("Memberships are not available at this time"),l&&(o&&(l=`${l}&${o}`),r&&(l+=r),a.useNewDesign?ks(l):window.location=l)};te.getLoginLink=(e={})=>{const{hash:t,query:n}=e,{query:r,path:o}=Ge(),a=r!=null&&r.pk?`pk=${r==null?void 0:r.pk}&`:"";let i=(r==null?void 0:r.redirectTo)??o;(i.includes("signup")&&o.includes("signup")||o.includes("account/login")&&i.includes("account/login"))&&(i="/account");let s=`/account/login?${a}redirectTo=${i}`;return n&&(s=`${s}&${n}`),t&&(s+=t),s};te.getAccountInfo=async e=>{const{$gql:t}=G(),n=await t.queryStream("getMembershipStream");let r=!1;const o=[];return n.data.items.forEach(a=>{var i,s;(i=e==null?void 0:e.memberships)!=null&&i.includes(a.id)&&!a.isFree&&(r=!0),!((s=e==null?void 0:e.memberships)!=null&&s.includes(a.id))&&!a.isFree&&o.push(a)}),{missingPaid:o,hasPaid:r}};const vm=he(!1),Pl=he(!1);function So(){const e="vfInitialize",t=Ee("viafoura",()=>({initialized:!1,user:null})),n=ot("page",()=>{});async function r(){const b=new CustomEvent(e);window.vfQ=window.vfQ||[],window.vfQ.push(()=>{t.value.initialized||(o(),dispatchEvent(b),t.value.initialized=!0,vm.value=f(),window.vf.$subscribe("vf-tray","loaded",function(y){y.$el.addEventListener("click",x=>{var g;const w={hash:`#${((g=Pl.value)==null?void 0:g.id)??""}`,query:"source=viafoura_tray"};x.target.classList.contains("vf-loader-button__content")&&(x.target.outerText==="Sign Up"&&(window.location=te.getRegistrationLink(null,!1,w)),x.target.outerText==="Log In"&&(window.location=te.getLoginLink(w))),x.target.classList.contains("vf-signup-submit-btn")&&(x.target.form.id==="vf-login-form"&&(window.location=te.getLoginLink(w)),x.target.form.id==="vf-signup-form"&&(window.location=te.getRegistrationLink(null,!1,w)))})}))})}async function o(){te.isLoggedIn()?(t.value.user=await l(),t.value.user??await i(Ke("siteUserToken").value)):await s()}function a(b){addEventListener(e,b)}async function i(b){return await window.vf.session.login.cookie(b).then(y=>(console.log("Via cookie login successful",y),y)).catch(y=>(console.log("Via cookie request error:",y),null))}async function s(){return await window.vf.session.logout()}async function l(){return await window.vf.context.get("user").then(b=>b.user_privilege==="guest"?null:b).catch(b=>(console.log(b),null))}function c(){window.vfQ=window.vfQ||[],window.vfQ.push(()=>window.vf.$publish("widgets","mount",null))}const u=async b=>{const{$ss:y}=G(),{firstName:x,lastName:w,email:g}=b,h=await l();if(!h)return;const p={},_=`${x} ${w}`;_&&h.name!==_&&(p.name=_),g&&h.email!==g&&(p.email=g),Object.keys(p).length!==0&&await gk(`https://api.viafoura.co/v2/${y.general.rootDomain}/users/${h.id}`,{method:"PATCH",headers:{accept:"application/json","content-type":"*/*"},body:JSON.stringify(p)},"$QU0eIgGHlq").then(S=>{window.vf.context.reset(),console.log("Success updating Viafoura user",S)}).catch(S=>console.warn("Error updating Viafoura user",S))};function d(){var y;const{$ss:b}=G();return b.modules.memberships&&((y=b.memberships)==null?void 0:y.commenting)}function f(){const{$ss:b}=G();return d()?b.memberships.allowAnonymousCommenting?!0:te.isLoggedIn():!1}function m(b){window.vfQ=window.vfQ||[],window.vfQ.push(()=>window.vf.context.setCurrentPage(b))}return Xe(()=>{var b;(b=n==null?void 0:n.pageData)!=null&&b.id&&(Pl.value=document.querySelector(`#vf-conversations-container-${n.pageData.id}`))}),{viafoura:t,vfInitialize:r,vfLogin:i,vfLogout:s,getVfUser:l,updateVfUser:u,onVfInitialize:a,remountVfWidgets:c,isCommentingActive:d,setPage:m,commentWidget:Pl,isTrayVisible:vm}}const $d={setup(){const{isTrayVisible:e}=So();return{isTrayVisible:e}},computed:{notificationBellStyle(){return{width:"100%",visibility:this.isTrayVisible?"unset":"hidden","--accent-color-light":this.$ss.primaryColor,"--accent-color":"#000000","--accent-color-dark":"#000000","--dark-text-on-background-color":this.$ss.header.secondaryTextColor,"--text-on-accent-color":"#eeeeee","--background-color":"transparent","--default-color":"transparent"}},notificationBellColor(){return this.$ss.header.secondaryTextColor}}},_m=()=>{Ia(e=>({b58cf1cc:e.notificationBellColor}))},wm=$d.setup;$d.setup=wm?(e,t)=>(_m(),wm(e,t)):_m;function XR(e,t,n,r,o,a){return P(),V("li",{style:de(a.notificationBellStyle)},t[0]||(t[0]=[O("div",{class:"viafoura"},[O("vf-tray-trigger")],-1)]),4)}const ZR=Fe($d,[["render",XR]]),eN={data(){return{hideEmailLink:!1,hideNewsletterLink:!1,hideUpgradeLink:!0}},computed:{childLinksStyle(){return{color:"#000",backgroundColor:"#fff",border:`1px solid ${this.$ss.header.secondaryBackgroundColor}`}}},async mounted(){var e;if(!te.isLoggedIn())window.location="/account/login";else{this.siteUser=await te.getUserInfo();const t=await te.getAccountInfo(this.siteUser);this.hideEmailLink=t.hasPaid,this.hideUpgradeLink=t.missingPaid.length===0,this.hideNewsletterLink=!((e=this.$ss.newsletters)!=null&&e.enabledNewsletters)}},methods:{async logoutSiteUser(){var e;this.error=null;try{await te.logout(),window.location=(e=window.location.href)!=null&&e.includes("account")?"/":window.location.href}catch(t){this.error=`Unable to logout: ${t.message}`}}}},tN={class:"web-site-user-account-menu"},nN={href:"/account"},rN={key:0},oN={key:1},aN={key:2};function iN(e,t,n,r,o,a){const i=Ot;return P(),V("li",tN,[O("a",nN,[K(i,{icon:"mdi:account",width:25})]),O("ul",{class:"child-links",style:de(a.childLinksStyle)},[t[4]||(t[4]=O("li",null,[O("a",{href:"/account"},"My Profile")],-1)),t[5]||(t[5]=O("li",null,[O("a",{href:"/account#manage-favorites"},"Manage Favorites")],-1)),o.hideNewsletterLink?le("",!0):(P(),V("li",rN,t[1]||(t[1]=[O("a",{href:"/account#manage-newsletters"},"Manage Newsletters",-1)]))),t[6]||(t[6]=O("li",null,[O("a",{href:"/account#change-password"},"Change Password")],-1)),o.hideEmailLink?le("",!0):(P(),V("li",oN,t[2]||(t[2]=[O("a",{href:"/account#change-email"},"Change Email",-1)]))),o.hideUpgradeLink?le("",!0):(P(),V("li",aN,t[3]||(t[3]=[O("a",{href:"/account#upgrade-membership"},"Upgrade Membership",-1)]))),O("li",null,[O("a",{href:"#",onClick:t[0]||(t[0]=(...s)=>a.logoutSiteUser&&a.logoutSiteUser(...s))},"Logout")])],4)])}const sN=Fe(eN,[["render",iN]]),lN={name:"WebButtonElement",props:{color:{type:String,default:""},icon:{type:String},iconPosition:{type:String,default:"left"},label:{type:String,default:""},mode:{type:String,default:"solid"},type:{type:String,default:"button"},link:{type:String},target:{type:String,default:"_self"},size:{type:String,default:"medium"},overrideStyles:{type:Object,default:()=>{}},altColor:{type:String,default:"white"},disabled:{type:Boolean,default:!1}},emits:["onClick"],computed:{buttonClasses(){return["ebm-button",`ebm-button--${this.mode}`,`ebm-button--${this.size}`]},cssVars(){var e,t;return{"--button-accent-color":this.color?this.color:(e=this.$ss)!=null&&e.useNewDesign?this.$ss.colors.primary.main:this.$ss.baseStyles.primaryColor,"--hollow-hover-background":(t=this.$ss)!=null&&t.useNewDesign?this.$ss.colors.primary.container:this.$ss.baseStyles.primaryColor}},buttonStyles(){return this.$ss.useNewDesign?{}:{backgroundColor:this.disabled?"#d0d0d0":this.mode==="solid"?this.color?this.color:this.$ss.baseStyles.primaryColor:this.altColor,color:this.mode==="hollow"?this.color?this.color:this.$ss.baseStyles.primaryColor:this.altColor,borderWidth:"1px",borderColor:this.disabled?"#f0f0f0":this.color?this.color:this.$ss.baseStyles.primaryColor,...this.overrideStyles}}},methods:{onClick(){this.$emit("onClick")}}},cN=["type","disabled"],uN={class:"ebm-button-label"},dN=["href","target"],fN={class:"ebm-button-label"};function pN(e,t,n,r,o,a){var s;const i=Ot;return P(),V("div",{class:Se(["ebm-button-wrapper",n.icon?"icon":"",n.disabled?"disabled":"",(s=e.$ss)!=null&&s.useNewDesign?"new-design":"",n.mode]),style:de(a.cssVars)},[n.type==="button"||n.type==="submit"?(P(),V("button",{key:0,type:n.type,class:Se(a.buttonClasses),style:de(a.buttonStyles),disabled:n.disabled,onClick:t[0]||(t[0]=(...l)=>a.onClick&&a.onClick(...l))},[O("div",{class:Se(["content",n.iconPosition==="right"?"icon-right":"icon-left"])},[n.label?$t(e.$slots,"default",{key:0},()=>[n.icon?(P(),ye(i,{key:0,icon:n.icon},null,8,["icon"])):le("",!0),O("span",uN,Ie(n.label),1)],!0):le("",!0),n.label?le("",!0):$t(e.$slots,"default",{key:1},void 0,!0)],2)],14,cN)):(P(),V("a",{key:1,href:n.link,class:Se(a.buttonClasses),style:de(a.buttonStyles),target:n.target},[O("div",{class:Se(["content",n.iconPosition==="right"?"icon-right":"icon-left"])},[n.label?$t(e.$slots,"default",{key:0},()=>[n.icon?(P(),ye(i,{key:0,icon:n.icon},null,8,["icon"])):le("",!0),O("span",fN,Ie(n.label),1)],!0):le("",!0),n.label?le("",!0):$t(e.$slots,"default",{key:1},void 0,!0)],2)],14,dN))],6)}const To=Fe(lN,[["render",pN],["__scopeId","data-v-f66234c9"]]),mN={props:{},setup(){return{sponsoredSearchVisible:he(!1)}},methods:{toggleSponsoredSearch(){var e;(e=this.$ss)!=null&&e.sponsoredSearch.enabled?this.sponsoredSearchVisible=!this.sponsoredSearchVisible:window.location="/search"}}},hN={class:"search"},gN=["src"],yN={href:"/search","aria-label":"Search",class:"desktop-search-icon"},bN={key:1},vN={key:1};function _N(e,t,n,r,o,a){var l,c,u,d,f,m,b,y;const i=To,s=Ot;return e.$ss.modules.search?(P(),V("li",{key:0,class:Se(["search-container",(c=(l=e.$ss)==null?void 0:l.sponsoredSearch)!=null&&c.enabled?"sponsored":""])},[O("div",hN,[(d=(u=e.$ss)==null?void 0:u.sponsoredSearch)!=null&&d.enabled?(P(),V("div",{key:0,class:Se(["sponsored-search",r.sponsoredSearchVisible?"visible":""]),style:de({backgroundColor:e.$ss.header.secondaryBackgroundColor})},[t[1]||(t[1]=O("div",{class:"sponsored-search-text"}," Search sponsored by ",-1)),(P(),ye(ar((m=(f=e.$ss)==null?void 0:f.sponsoredSearch)!=null&&m.clickUrl?"a":"span"),{href:(y=(b=e.$ss)==null?void 0:b.sponsoredSearch)==null?void 0:y.clickUrl,target:"_blank"},{default:Be(()=>[O("img",{src:`${e.$ss.sponsoredSearch.logo.split("?")[0]}?auto=format,compress&height=50`,alt:"Sponsored search logo",height:"35",class:"sponsored-search-logo"},null,8,gN)]),_:1},8,["href"])),K(i,{type:"link",link:"/search",label:"Go",size:"small",mode:"hollow",color:"black",class:"sponsored-search-go-button"})],6)):le("",!0),O("a",yN,[e.$ss.header.searchStyle==="icon"?(P(),ye(s,{key:0,icon:"mdi:magnify",width:25})):(P(),V("span",bN,"Search"))]),O("div",{class:"mobile-search-icon",onClick:t[0]||(t[0]=(...x)=>a.toggleSponsoredSearch&&a.toggleSponsoredSearch(...x))},[e.$ss.header.searchStyle==="icon"?(P(),ye(s,{key:0,icon:"mdi:magnify",width:25})):(P(),V("span",vN,"Search"))])])],2)):le("",!0)}const wN=Fe(mN,[["render",_N]]),xN={props:{hoverColor:{type:String},href:{type:String},label:{type:String},textColor:{type:String},selected:{type:Boolean,default:!1}},data(){return{isLinkHovered:!1}},computed:{style(){const{isLinkHovered:e,textColor:t,hoverColor:n,selected:r}=this,o={color:t,backgroundColor:e?n:"transparent"};return r&&(o.fontWeight=800),o},target(){return this.href.search("/")===0?"_self":"_blank"}},methods:{handleLinkMouseover(){this.isLinkHovered=!this.isLinkHovered}}},CN=["href","target","rel"];function SN(e,t,n,r,o,a){return n.label?(P(),V("a",{key:0,class:"ebm-sidebar__link",href:n.href,style:de(a.style),target:a.target,rel:a.target==="_blank"?"noopener":"",onMouseover:t[0]||(t[0]=(...i)=>a.handleLinkMouseover&&a.handleLinkMouseover(...i)),onMouseout:t[1]||(t[1]=(...i)=>a.handleLinkMouseover&&a.handleLinkMouseover(...i))},Ie(n.label),45,CN)):le("",!0)}const TN=Fe(xN,[["render",SN]]),kN=e=>{switch(e){case"facebook":return"#4267B2";case"instagram":return"#E1306C";case"linkedin":return"#0a66c2";case"pinterest":return"#E60023";case"twitter":return"#000000";case"youtube":return"#FF0000"}},EN={props:{usePrimaryColor:{type:Boolean,default:!1},iconWidth:{type:Number,default:30}},computed:{socialLinks(){return Object.entries(this.$ss.socialLinks).filter(([,e])=>!!e).map(([e,t])=>({iconName:e==="twitter"?"fa6-brands:x-twitter":`mdi:${e==null?void 0:e.toLowerCase()}`,url:t,color:kN(e)}))}}},IN={class:"ebm-socials"},PN=["href"],ON={class:"text"};function LN(e,t,n,r,o,a){const i=Ot;return P(),V("div",IN,[(P(!0),V(we,null,De(a.socialLinks,s=>(P(),V("a",{key:s.url,class:"ebm-socials__icon",href:s.url,target:"_blank",rel:"noopener",style:de({color:n.usePrimaryColor?"inherit":s.color})},[O("div",ON,Ie(s.url),1),K(i,{icon:s.iconName,width:Number(n.iconWidth)},null,8,["icon","width"])],12,PN))),128))])}const Gs=Fe(EN,[["render",LN],["__scopeId","data-v-37f1e55b"]]),AN={props:{headerHeight:{type:Number},isSidebarOpen:{type:Boolean,default:!1},primarySectionPath:{type:String,default:""}},data(){return{collapsed:this.$ss.menu.hamburger.links.map(()=>this.$ss.header.hamburgerMenuCollapsibleGroups),cmsLoggedIn:!1}},computed:{isBurgerStylePrimary(){return this.hamburgerMenuStyle==="primary"},sidebarHeaderStyle(){return{backgroundColor:this.isBurgerStylePrimary?"rgba(255, 255, 255, 0.1)":"rgba(200, 200, 200, 0.08)"}},sidebarStyle(){var t;return{backgroundColor:this.$ss.header.hamburgerMenuStyle==="primary"?this.$ss.baseStyles.secondaryColor:"white",color:this.textColor,height:(t=this.$cmsUser.getUserInfo())!=null&&t.username?`calc(100% - ${this.headerHeight+38}px)`:`calc(100% - ${this.headerHeight}px)`}},textColor(){return this.isBurgerStylePrimary?"white":"black"},hamburgerMenu(){return this.$ss.menu.hamburger},hamburgerMenuStyle(){return this.$ss.header.hamburgerMenuStyle}},mounted(){this.cmsLoggedIn=this.$cmsUser.isLoggedIn()},methods:{target(e){return e!=null&&e.href&&e.href.search("/")===0?"_self":"_blank"}}},MN={class:"link-group-label"};function RN(e,t,n,r,o,a){const i=Ot,s=TN,l=Gs;return P(),V("aside",{class:Se(["ebm-sidebar",{"ebm-sidebar--open":n.isSidebarOpen,"burger-style-primary":a.isBurgerStylePrimary}]),style:de({...a.sidebarStyle,left:o.cmsLoggedIn?"49px":0,top:o.cmsLoggedIn?`${n.headerHeight+38}px`:`${n.headerHeight}px`})},[(P(!0),V(we,null,De(a.hamburgerMenu.links,(c,u)=>{var d,f;return P(),V("div",{key:c.label,class:"link-group"},[O("div",MN,[c.label?(P(),ye(ar(c.href?"a":"span"),{key:0,href:c.href,target:a.target(c),style:de(a.sidebarHeaderStyle),class:"link"},{default:Be(()=>[nt(Ie(c.label),1)]),_:2},1032,["href","target","style"])):le("",!0),e.$ss.header.hamburgerMenuCollapsibleGroups&&c.links.length&&((f=(d=c.links)==null?void 0:d[0])!=null&&f.href)?(P(),ye(i,{key:1,width:24,icon:o.collapsed[u]?"material-symbols:arrow-drop-down":"material-symbols:arrow-drop-up",class:"icon",onClick:()=>{o.collapsed[u]=!o.collapsed[u]}},null,8,["icon","onClick"])):le("",!0)]),O("div",{class:Se(`links ${o.collapsed[u]?"collapsed":""}`)},[(P(!0),V(we,null,De(c.links,m=>(P(),ye(s,{key:m.href,href:m.href,"text-color":a.textColor,label:m.label,selected:n.primarySectionPath===m.href,"hover-color":"rgba(100 100 100 / 0.1)",class:"link"},null,8,["href","text-color","label","selected"]))),128))],2)])}),128)),K(l,{"use-primary-color":a.isBurgerStylePrimary,class:"ebm-sidebar__socials"},null,8,["use-primary-color"])],6)}const NN=Fe(AN,[["render",RN],["__scopeId","data-v-c27fc627"]]),xm=e=>{const t=Ee("windowDimensions");return e&&(t.value=e),t},BN={props:{page:{type:Object},logo:{type:String},cmsUsername:{type:String},includeShell:{type:Boolean}},setup(e){var w,g,h,p,_,S,E,F,N,v,T,I,A,z,$,R,q,j,X,me,be,Q,U,J,ce,_e,D,Z,ne,ie,ge;const{$ss:t}=G(),{pageData:n}=e.page,r=((w=n==null?void 0:n.metadata)==null?void 0:w.description)??(n==null?void 0:n.teaser)??"",o=((g=n==null?void 0:n.siteContext)==null?void 0:g.path)??(n==null?void 0:n.canonicalPath)??"",a=((h=n==null?void 0:n.authors)==null?void 0:h.edges)??[],i=((p=n==null?void 0:n.images)==null?void 0:p.edges)??[],s=t.general.favicon,l=t.socialLinks?Object.values(t.socialLinks).filter(pe=>pe!==""):[],c=!!(n!=null&&n.gating),u=(_=n==null?void 0:n.userRegistration)==null?void 0:_.isRequired,d=!c&&!u,f=(n==null?void 0:n.type)==="section"?{rel:"alternate",type:"application/rss+xml",title:"RSS Feed",href:`/__rss/website-scheduled-content.xml?input=%7B%22sectionAlias%22%3A%22${n.alias}%22%7D`}:"",m=[{rel:"canonical",href:((S=n==null?void 0:n.siteContext)==null?void 0:S.canonicalUrl)??"https://www."+((E=t==null?void 0:t.general)==null?void 0:E.rootDomain)+o},{rel:"icon",type:"image/x-icon",href:s},{rel:"apple-touch-icon",size:"180x180",href:s+"?w=180&h=180&fm=png"},{rel:"icon",type:"image/png",size:"32x32",href:s+"?w=32&h=32&fm=png"},{rel:"icon",type:"image/png",size:"16x16",href:s+"?w=16&h=16&fm=png"},f,{href:"https://fonts.gstatic.com",rel:"preconnect"}],b=["section","video","event"].find(pe=>pe===(n!=null&&n.type?n.type.toLowerCase():"section"))??"article";let y;if(o==="/"){y=[];const pe={"@context":"https://schema.org"};pe["@type"]="NewsMediaOrganization",pe.name=((F=t==null?void 0:t.general)==null?void 0:F.siteName)??"",pe.url="https://www."+((N=t==null?void 0:t.general)==null?void 0:N.rootDomain),pe.logo=(v=t==null?void 0:t.header)==null?void 0:v.logo,pe.sameAs=l,y.push(pe);const C={"@context":"https://schema.org"};C["@type"]="WebSite",C.url="https://www."+((T=t==null?void 0:t.general)==null?void 0:T.rootDomain),C.potentialAction={},C.potentialAction["@type"]="SearchAction",C.potentialAction.target={},C.potentialAction.target["@type"]="EntryPoint",C.potentialAction.target.urlTemplate="https://www."+((I=t==null?void 0:t.general)==null?void 0:I.rootDomain)+"/search?"+Cd().root+"[query]={search_term_string}",C.potentialAction["query-input"]="required name=search_term_string",y.push(C)}else if(["article","video","event"].includes(b)){if(y={"@context":"https://schema.org"},b==="event"&&(y["@type"]="Event",y.name=(n==null?void 0:n.name)??"",y.startDate=n!=null&&n.startDate?et(new Date(n.startDate),"yyyy-MM-dd'T'HH:mmxxx"):"",y.endDate=n!=null&&n.endDate?et(new Date(n.endDate),"yyyy-MM-dd'T'HH:mmxxx"):"",n!=null&&n.teaser&&(y.description=n==null?void 0:n.teaser),n!=null&&n.venue||n!=null&&n.address1)){y.location={},y.location["@type"]="Place",(A=n.venue)!=null&&A.name&&(y.location.name=n.venue.name??"");const pe={};(n.address1??((z=n.venue)==null?void 0:z.address1))&&(pe.streetAddress=n.address1??(($=n.venue)==null?void 0:$.address1)),(n.city??((R=n.venue)==null?void 0:R.city))&&(pe.addressLocality=n.city??((q=n.venue)==null?void 0:q.city)),(n.postalCode||(j=n.venue)!=null&&j.postalCode)&&(pe.postalCode=n.postalCode??((X=n.venue)==null?void 0:X.postalCode)),(n.state||(me=n.venue)!=null&&me.region)&&(pe.addressRegion=n.state??((be=n.venue)==null?void 0:be.region)),(n.country??((Q=n.venue)==null?void 0:Q.country))&&(pe.addressCountry=n.country??((U=n.venue)==null?void 0:U.country)),Object.keys(pe).length>0&&(y.location.address={},y.location.address["@type"]="PostalAddress",y.location.address={...y.location.address,...pe})}if((b==="article"||b==="video")&&(y["@type"]="NewsArticle",y.mainEntityOfPage={},y.mainEntityOfPage["@type"]="WebPage",y.mainEntityOfPage["@id"]="https://www."+((J=t==null?void 0:t.general)==null?void 0:J.rootDomain)+o,y.headline=n==null?void 0:n.name,y.description=r,i.length&&(y.image=i.map(pe=>pe.node.src)),n!=null&&n.published&&(y.datePublished=et(new Date(n.published),"yyyy-MM-dd")??""),n!=null&&n.updated&&(y.dateModified=et(new Date(n.updated),"yyyy-MM-dd")??""),a.length&&(y.author=a.map(pe=>{var C;return{"@type":"Person",name:pe.node.name,url:"https://www."+((C=t==null?void 0:t.general)==null?void 0:C.rootDomain)+"/"+pe.node.id}})),y.publisher={},y.publisher["@type"]="Organization",y.publisher.name=((ce=t==null?void 0:t.general)==null?void 0:ce.siteName)??"",(_e=t==null?void 0:t.header)!=null&&_e.logo&&(y.publisher.logo={},y.publisher.logo["@type"]="ImageObject",y.publisher.logo.url=(D=t==null?void 0:t.header)==null?void 0:D.logo,y.publisher.logo.width=((Z=t==null?void 0:t.header)==null?void 0:Z.logoWidth)??"",y.publisher.logo.height=((ne=t==null?void 0:t.header)==null?void 0:ne.logoHeight)??""),b==="video"&&(n!=null&&n.embedCode))){n.embedCode.match(/(http:|https:|)\/\/(player.|www.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com))\/(video\/|embed\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(&\S+)?/);const pe=RegExp.$6;let C="";RegExp.$3.includes("youtu")?C=`https://www.youtube.com/embed/${pe}`:RegExp.$3.includes("vimeo")&&(C=`https://player.vimeo.com/video/${pe}`),y.video={},y.video["@type"]="VideoObject",y.video.name=n==null?void 0:n.name,y.video.description=r,y.video.contentUrl=C,y.video.uploadDate=n!=null&&n.published?et(new Date(n.published),"yyyy-MM-dd'T'HH:mmxxx"):"",i.length&&(y.video.thumbnailUrl=i.map(k=>k.node.src))}d||(y.isAccessibleForFree="False",y.hasPart={},y.hasPart["@type"]="WebPageElement",y.hasPart.isAccessibleForFree="False",y.hasPart.cssSelector=".paywall")}const x=[];return y&&x.push({type:"application/ld+json",children:JSON.stringify(y)}),Gt({title:(((ie=n==null?void 0:n.seoTitle)==null?void 0:ie.replace(/(<([^>]+)>)/gi,""))??((ge=n==null?void 0:n.name)==null?void 0:ge.replace(/(<([^>]+)>)/gi,""))??"")+" | "+t.general.siteName,script:x,link:m}),{siteUserLoggedIn:null,membershipSystemActive:null,scriptsAdded:{}}},data(){return{isSidenavOpen:!1}},computed:{primaryFontSize(){const e=this.primaryMenu.links.map(t=>t.label).join(" ").length;return e>=135?"12px":e>=110?"13px":e>=85?"14px":"15px"},headerLogo(){return this.$ss.header.logo.split("?")[0]+`?auto=format,compress&fit=fill&fill=solid&height=${this.logoHeight}`},headerHeight(){return xm().value},primarySectionPath(){var t;const{pageData:e}=this.page;return((t=e==null?void 0:e.primarySection)==null?void 0:t.canonicalPath)??(e==null?void 0:e.canonicalPath)},logoHeight(){return this.$ss.header.logoHeight??35},primaryMenu(){return this.$ss.menu.header_primary},secondaryMenu(){var t,n,r,o;return[...((n=(t=this.$ss.menu)==null?void 0:t.header_secondary)==null?void 0:n.links)??[]].splice(0,(o=(r=this.$ss)==null?void 0:r.sponsoredSearch)!=null&&o.enabled?4:8)}},async mounted(){this.membershipSystemActive=await te.membershipSystemActive(),window.addEventListener("resize",this.updateHeaderHeight),this.updateHeaderHeight(),this.siteUserLoggedIn=te.isLoggedIn()},unmounted(){window.removeEventListener("resize",this.updateHeaderHeight)},methods:{register(){te.getRegistrationLink()},login(){return te.getLoginLink()},handleLogin(e){Ge().path.includes("registration")&&(e.preventDefault(),Et.error("Please complete your registration before you login"))},openCloseNav(){this.updateHeaderHeight();const e=this.isSidenavOpen;this.isSidenavOpen=!e},updateHeaderHeight(){xm(this.$el.clientHeight),console.log("header height",this.$el.clientHeight)}}},DN=["data-interstitial-value"],$N={href:"/",class:"logo"},UN=["src","alt","height"],FN={class:"secondary-menu"},VN=["href","target"],HN={class:"login-search"},qN=["href"],jN={class:"primary-menu"},WN=["href","target"];function zN(e,t,n,r,o,a){var d,f;const i=Ot,s=ZR,l=sN,c=wN,u=NN;return P(),V("header",{class:"web-header",style:de({top:n.includeShell&&n.cmsUsername?"38px":0})},[e.$ss.header.prestitialLogo?(P(),V("div",{key:0,id:"wl_flogop_div","data-interstitial-prop":"logo-url","data-interstitial-value":e.$ss.header.prestitialLogo,style:{display:"none"}},null,8,DN)):le("",!0),O("div",{class:"secondary",style:de({backgroundColor:e.$ss.header.secondaryBackgroundColor,color:e.$ss.header.secondaryTextColor,fontFamily:e.$ss.primaryFontFamily})},[O("div",{style:de({maxWidth:e.$ss.siteMaxWidth+"px"}),class:"secondary__content"},[O("div",{class:"secondary__burger",onClick:t[0]||(t[0]=(...m)=>a.openCloseNav&&a.openCloseNav(...m))},[K(i,{icon:o.isSidenavOpen?"mdi:close":"mdi:menu",width:30},null,8,["icon","width"])]),O("div",{class:"secondary__burger_mobile",style:de({backgroundColor:e.$ss.header.hamburgerMenuIconBGColor}),onClick:t[1]||(t[1]=(...m)=>a.openCloseNav&&a.openCloseNav(...m))},[K(i,{icon:o.isSidenavOpen?"mdi:close":"mdi:menu",width:30,"icon-color":e.$ss.header.hamburgerMenuIconColor},null,8,["icon","width","icon-color"])],4),O("a",$N,[O("img",{src:a.headerLogo,style:de({maxHeight:a.logoHeight+"px"}),alt:e.$ss.general.siteName,height:a.logoHeight},null,12,UN)]),O("div",FN,[(P(!0),V(we,null,De(a.secondaryMenu,m=>(P(),V("li",{key:m.href},[O("a",{href:m.href,class:Se([a.primarySectionPath===m.href?"selected":""]),target:m.href[0]==="/"?"_self":"_blank"},Ie(m.label),11,VN)]))),128))]),t[4]||(t[4]=O("div",{class:"secondary-spacer"},null,-1)),O("ul",HN,[(f=(d=e.$ss)==null?void 0:d.memberships)!=null&&f.commenting?(P(),ye(s,{key:0})):le("",!0),r.membershipSystemActive?(P(),V(we,{key:1},[r.siteUserLoggedIn===!0?(P(),ye(l,{key:0})):r.siteUserLoggedIn===!1?(P(),V(we,{key:1},[O("li",null,[O("a",{href:a.login(),onClick:t[2]||(t[2]=(...m)=>a.handleLogin&&a.handleLogin(...m))},"Login",8,qN)]),O("li",null,[O("a",{href:"#",onClick:t[3]||(t[3]=(...m)=>a.register&&a.register(...m))},"Join")])],64)):le("",!0)],64)):le("",!0),K(c)])],4)],4),a.primaryMenu.links.length?(P(),V("div",{key:1,class:"primary",style:de({backgroundColor:e.$ss.header.primaryBackgroundColor,color:e.$ss.header.primaryTextColor,fontFamily:e.$ss.primaryFontFamily})},[O("div",{style:de({maxWidth:e.$ss.siteMaxWidth+"px",margin:"auto",fontSize:a.primaryFontSize})},[O("div",jN,[(P(!0),V(we,null,De(a.primaryMenu.links,m=>(P(),V("li",{key:m.href},[O("a",{href:m.href,class:Se([a.primarySectionPath===m.href?"selected":""]),target:m.href[0]==="/"?"_self":"_blank"},Ie(m.label),11,WN)]))),128))])],4)],4)):le("",!0),a.headerHeight?(P(),ye(u,{key:2,"header-height":a.headerHeight,"is-sidebar-open":o.isSidenavOpen,"primary-section-path":a.primarySectionPath,style:de({fontFamily:e.$ss.primaryFontFamily})},null,8,["header-height","is-sidebar-open","primary-section-path","style"])):le("",!0)],4)}const GN=Fe(BN,[["render",zN]]),KN={},YN={class:"sponsored-search-container"},JN=["src"];function QN(e,t){var n,r,o,a;return P(),V("div",YN,[t[0]||(t[0]=O("div",{class:"sponsored-search-text"}," Search sponsored by ",-1)),(P(),ye(ar((r=(n=e.$ss)==null?void 0:n.sponsoredSearch)!=null&&r.clickUrl?"a":"span"),{href:(a=(o=e.$ss)==null?void 0:o.sponsoredSearch)==null?void 0:a.clickUrl,target:"_blank"},{default:Be(()=>[O("img",{src:`${e.$ss.sponsoredSearch.logo.split("?")[0]}?auto=format,compress&height=30`,alt:"Sponsored search logo",height:"30",class:"sponsored-search-logo"},null,8,JN)]),_:1},8,["href"]))])}const XN=Fe(KN,[["render",QN]]),ZN={__name:"Popover",emits:["close","open"],setup(e,{expose:t,emit:n}){const r=he(null),o=he(!1),a=n;async function i(c){if(!(c instanceof HTMLElement)){console.warn("Popover attempted to open without a valid HTML Element instance.");return}c.style.position="relative",c.appendChild(r.value),o.value=!0,a("open")}function s(){o.value=!1,a("close")}function l(c){const u=["v-enter-active","v-leave-active"].some(f=>r.value.classList.value.includes(f));!(r.value===c.target||r.value.contains(c.target))&&!u&&s()}return Xe(()=>{window.addEventListener("click",l)}),qt(()=>{window.removeEventListener("click",l)}),t({open:i,close:s,isOpen:o}),(c,u)=>(P(),ye(Ar,null,{default:Be(()=>[Ft(O("div",{ref_key:"wrapper",ref:r,class:Se({wrapper:B(r),open:B(o)})},[$t(c.$slots,"default",{},void 0,!0)],2),[[Ht,B(o)]])]),_:3}))}},eB=Fe(ZN,[["__scopeId","data-v-430a6d3d"]]),tB={class:"ebm-search-field"},nB={class:"input"},rB=["placeholder"],oB={key:0,class:"sponsor-container"},aB=["href"],iB=["src"],sB={__name:"WebSearchFieldNew",props:{placeholder:{type:String,default:"Search here..."},value:{type:String,default:""},sponsorLogo:{type:String,default:""},sponsorUrl:{type:String,default:""},colorScheme:{type:String,default:"light"}},emits:["update","search"],setup(e,{emit:t}){Ia(u=>({"3f1c3113":B(i),"7fd25feb":B(s),"0d71c1e8":B(l)}));const n=e,r=t,o=he(n.value),a=n.sponsorLogo?Mn(n.sponsorLogo.split("?")[0]+"?auto=format,compress&fit=fill&fill=solid&height=35"):null,i=se(()=>n.colorScheme==="light"?"#fff":"rgba(255, 255, 255, 0.05)"),s=se(()=>n.colorScheme==="light"?"var(--color-black)":"#fff"),l=se(()=>n.colorScheme==="light"?"var(--color-line)":"none");function c(){r("search",o.value)}return(u,d)=>{const f=Ot;return P(),V("div",tB,[O("div",nB,[K(f,{icon:"mdi:magnify",class:"icon",width:24,"icon-color":B(s),onClick:c},null,8,["icon-color"]),Ft(O("input",{"onUpdate:modelValue":d[0]||(d[0]=m=>Je(o)?o.value=m:null),type:"search",placeholder:e.placeholder,onKeyup:Ss(c,["enter"]),onInput:d[1]||(d[1]=m=>{u.$emit("update",m.target.value)})},null,40,rB),[[uo,B(o)]])]),B(a)?(P(),V("div",oB,[d[2]||(d[2]=O("div",null,"Search Sponsored by",-1)),O("a",{href:e.sponsorUrl,target:"_blank"},[O("img",{src:B(a),alt:"sponsor-logo"},null,8,iB)],8,aB)])):le("",!0)])}}},lB={class:"ebm-affiliated-brands"},cB={class:"ebm-affiliated-brands__links"},uB=["href"],dB={__name:"WebAffiliatedBrands",setup(e){var r,o;const{$ss:t}=G(),n=((o=(r=t.menu)==null?void 0:r.affiliated_brands)==null?void 0:o.links)??[];return(a,i)=>(P(),V("div",lB,[i[0]||(i[0]=O("div",{class:"ebm-affiliated-brands__label"}," Affiliated Brands ",-1)),O("div",cB,[(P(!0),V(we,null,De(B(n),s=>(P(),V("div",{key:s.href},[O("a",{class:"ebm-footer__link",href:s.href,target:"_blank"},Ie(s.label.toUpperCase()),9,uB)]))),128))])]))}},Av=Fe(dB,[["__scopeId","data-v-c4bb3da9"]]),fB={class:"mega-menu-header"},pB={class:"mega-menu-container"},mB={class:"nav-links"},hB={class:"section"},gB=["href","target"],yB={class:"section"},bB=["href","target"],vB={class:"section"},_B=["href","target"],wB={class:"affiliate-links"},xB={class:"social-links"},CB={__name:"WebMegaMenu",props:{menus:{type:Object,default:()=>({})}},emits:["onClose","onOpen"],setup(e,{expose:t,emit:n}){var y;const r=n,{$cmsUser:o,$ss:a}=G(),i=o.isLoggedIn(),s=he(!1),l=((y=a.new.general.whiteLogo)==null?void 0:y.split("?")[0])+"?auto=format,compress&height=45",c=a.sponsoredSearch.enabled===!0?a.sponsoredSearch.logo.split("?")[0]+"?auto=format,compress&height=45":"",u=a.sponsoredSearch.enabled===!0?a.sponsoredSearch.clickUrl:"";function d(){s.value=!1,r("onClose",s)}function f(){s.value=!0,r("onOpen",s)}function m(x){d(),ks(`/search?filters={"text":"${encodeURIComponent(x)}","type":{"value":[]},"websiteSchedule":{"value":[]},"page":1}`)}function b(x){(x==null?void 0:x.key)==="Escape"&&(x.preventDefault(),d())}return Xe(()=>{window.addEventListener("keydown",b)}),qt(()=>window.removeEventListener("keydown",b)),t({open:f,close:d,isOpen:s}),(x,w)=>{var S,E,F,N;const g=Ot,h=sB,p=Av,_=Gs;return P(),V("div",{class:Se(["ebm-mega-menu",{open:B(s),"cms-user-logged-in":B(i)}])},[O("div",fB,[K(g,{icon:"mdi:close",class:"icon","icon-color":"white",width:24,onClick:d}),O("a",{href:"/",class:"logo"},[O("img",{class:"logo",src:l,alt:"mega-logo"})])]),O("div",pB,[K(h,{class:"search-field",placeholder:"Start your search here...","sponsor-logo":B(c),"sponsor-url":B(u),"color-scheme":"dark",onSearch:m},null,8,["sponsor-logo","sponsor-url"]),O("div",mB,[O("div",hB,[w[0]||(w[0]=O("div",{class:"title"}," Sections ",-1)),(P(!0),V(we,null,De(e.menus,v=>(P(),V("div",{key:v.href},[O("a",{href:v.href,target:v.href[0]==="/"?"_self":"_blank",onClick:d},Ie(v.label),9,gB)]))),128))]),O("div",yB,[w[1]||(w[1]=O("div",{class:"title"}," Special ",-1)),(P(!0),V(we,null,De((E=(S=B(a).menu)==null?void 0:S.mega_1)==null?void 0:E.links,v=>(P(),V("div",{key:v.href},[O("a",{href:v.href,target:v.href[0]==="/"?"_self":"_blank",onClick:d},Ie(v.label),9,bB)]))),128))]),O("div",vB,[w[2]||(w[2]=O("div",{class:"title"}," Contact ",-1)),(P(!0),V(we,null,De((N=(F=B(a).menu)==null?void 0:F.mega_2)==null?void 0:N.links,v=>(P(),V("div",{key:v.href},[O("a",{href:v.href,target:v.href[0]==="/"?"_self":"_blank",onClick:d},Ie(v.label),9,_B)]))),128))])]),O("div",wB,[K(p,{class:"ebm-affiliated-brands-direction"})]),O("div",xB,[w[3]||(w[3]=nt(" Follow us on ")),K(_,{class:"socials","icon-width":20,"use-primary-color":!0})])])],2)}}};function Ud(e={}){const{idle:n=200,throttleTime:r=50,offset:o={top:0,bottom:0}}=e,a=he(0),i=he(0),s=he(!1),l=Ye({top:!1,bottom:!1}),c=Ye({top:!0,bottom:!1}),u=Iv(m,n+r);function d(){window&&(b(),s.value=!0,u())}function f(y){typeof window>"u"||window.addEventListener("scroll",QR(y,r))}function m(){s.value&&(s.value=!1,l.top=!1,l.bottom=!1)}function b(){if(!window)return;const y=document.documentElement.scrollLeft;a.value=y;const x=document.documentElement.scrollTop;l.top=x<i.value,l.bottom=x>i.value,c.top=Math.abs(x)<=o.top,c.bottom=Math.abs(x)+document.documentElement.clientHeight>=document.documentElement.scrollHeight-o.bottom-1,i.value=x}return f(d),Xe(()=>b()),{x:io(a),y:io(i),onScroll:f,isScrolling:s,directions:l,positionState:c}}const SB={adTitle:"",adSkinType:"",adSkinWidth:"",adClickUrl:"",adImagePath:"",backgroundImagePath:"",background:"",adLeftColumnImage:"",adLeftColumnUrl:"",adRightColumnImage:"",adRightColumnUrl:""},ga=e=>{const t=Ee("skinAd",()=>SB);return e&&(t.value=e),t};ga.add=e=>{const t=ga();return t.value={...t.value,...e},t};const TB={class:"navbar"},kB={class:"content"},EB={class:"actions left"},IB={key:0,href:"/search"},PB={href:"/",class:"logo"},OB=["src","alt"],LB={class:"actions right"},AB={class:"popover-menu"},MB=["href"],RB={class:"login-container"},NB=["href"],BB=["innerHTML"],DB={class:"sub-menu"},$B=["href"],UB={__name:"WebHeaderNew",props:{pageData:{type:Object,required:!0}},async setup(e){let t,n;const r=e,{$ss:o}=G(),{positionState:a}=Ud(),i=[{label:"My Profile",icon:"mdi:account-circle-outline",to:"/account#update-profile"},{label:"Favorites",icon:"mdi:bookmark-multiple-outline",to:"/account#manage-favorites"},{label:"Newsletters",icon:"mdi:note-text-outline",to:"/account#manage-newsletters"}],s=pr("headerRef"),l=pr("topNavbarRef"),c=pr("megaMenuRef"),u=pr("accountPopoverRef"),d=pr("accountMenuButtonRef"),f=he(!1),m=he(!0),b=([t,n]=gs(()=>te.membershipSystemActive()),t=await t,n(),t),y=he(o.header.logo.split("?")[0]+`?height=${o.header.logoHeight??35}`),x=se(()=>{var p,_,S;return((_=(p=r.pageData)==null?void 0:p.primarySection)==null?void 0:_.canonicalPath)??((S=r.pageData)==null?void 0:S.canonicalPath)}),w=ga(),g=se(()=>{var p;return((p=w.value)==null?void 0:p.adSkinType)==="reskin"});pt(()=>a.top,()=>{var p;document.body.scrollHeight-window.innerHeight<((p=s.value)==null?void 0:p.offsetHeight)?m.value=!0:(m.value=a.top,m.value===!1?l.value.style.height="16px":l.value.style.height=null)});async function h(){await te.logout()}return Xe(()=>{f.value=te.isLoggedIn()}),(p,_)=>{var I,A,z,$,R,q,j;const S=Ot,E=XN,F=eB,N=To,v=$s,T=CB;return P(),V("header",{ref_key:"headerRef",ref:s,style:de({maxWidth:B(g)?"var(--site-max-width)":"100%"})},[O("nav",TB,[O("div",kB,[O("div",{ref_key:"topNavbarRef",ref:l,class:"top-navbar"},[O("div",EB,[K(S,{class:"hamburger-icon",icon:(I=B(c))!=null&&I.isOpen?"mdi:close":"mdi:menu",width:30,"icon-color":B(o).colors.primary.main,onClick:_[0]||(_[0]=X=>B(c).open())},null,8,["icon","icon-color"]),B(o).modules.search?(P(),V("a",IB,[K(S,{class:"search-icon",icon:"mdi:magnify",width:30,"icon-color":B(o).colors.primary.main},null,8,["icon-color"])])):le("",!0),B(o).modules.search&&((z=(A=B(o))==null?void 0:A.sponsoredSearch)!=null&&z.enabled)?(P(),ye(E,{key:1})):le("",!0)]),O("a",PB,[O("img",{src:B(y),alt:B(o).general.siteName},null,8,OB)]),O("div",LB,[K(v,null,{default:Be(()=>[B(b)?(P(),V(we,{key:0},[Ft(O("div",null,[K(F,{ref_key:"accountPopoverRef",ref:u},{default:Be(()=>[O("div",AB,[(P(),V(we,null,De(i,X=>O("a",{key:X.to,href:X.to,class:"menu-item"},[K(S,{class:"icon",icon:X.icon,width:24,"icon-color":"black"},null,8,["icon"]),nt(" "+Ie(X.label),1)],8,MB)),64)),_[3]||(_[3]=O("hr",null,null,-1)),O("div",{to:"/account",class:"menu-item",onClick:h}," Sign out ")])]),_:1},512),K(S,{ref_key:"accountMenuButtonRef",ref:d,class:"account",icon:"mdi:account-circle-outline","icon-color":"var(--color-primary-main)",width:24,onClick:_[1]||(_[1]=X=>B(u).open(B(d).$el))},null,512)],512),[[Ht,B(f)]]),Ft(O("div",RB,[K(N,{type:"link",mode:"primary",size:"large",class:"signup",onClick:_[2]||(_[2]=X=>("useSiteUser"in p?p.useSiteUser:B(te)).getRegistrationLink())},{default:Be(()=>_[4]||(_[4]=[nt(" Join now ")])),_:1}),O("a",{href:("useSiteUser"in p?p.useSiteUser:B(te)).getLoginLink()},[K(N,{mode:"borderless",size:"large",class:"login"},{default:Be(()=>_[5]||(_[5]=[nt("Login")])),_:1})],8,NB)],512),[[Ht,!B(f)]])],64)):le("",!0)]),_:1})])],512),O("div",{class:Se(["bottom-navbar",{hidden:!B(m)}])},[B(o).header.ctaText?(P(),V("div",{key:0,class:"cta",innerHTML:B(o).header.ctaText},null,8,BB)):le("",!0),O("ul",DB,[(P(!0),V(we,null,De((R=($=B(o).menu.header_primary)==null?void 0:$.links)==null?void 0:R.slice(0,5),X=>(P(),V("li",{key:X.href,class:"sub-menu-item"},[O("a",{href:X.href,class:Se({selected:B(x)===X.href,"sub-menu-link":!0})},Ie(X.label),11,$B)]))),128))])],2)]),(j=(q=B(o).menu.header_primary)==null?void 0:q.links)!=null&&j.length?(P(),ye(T,{key:0,ref_key:"megaMenuRef",ref:c,menus:B(o).menu.header_primary.links},null,8,["menus"])):le("",!0)])],4)}}},FB=Fe(UB,[["__scopeId","data-v-5525cf55"]]),VB={__name:"GAMPageAd",props:{adUnit:{type:Object}},setup(e){return(t,n)=>{const r=Ld;return P(),ye(r,{"ad-unit":e.adUnit,"zero-height":!0},null,8,["ad-unit"])}}},Mv={adType:"",adTag:"",adClickUrl:"",adImagePath:"",adDelay:"0",adLength:"15",mobileAlternate:!1,desktopAlternate:!1},Er=()=>Ee("welcomeAd",()=>Mv);Er.update=e=>{const t=Er();return t.value={...t.value,...e},t};Er.reset=()=>{const e=Er();return e.value=Mv,e};const HB={style:{position:"fixed"}},qB={__name:"GAMPageAds",setup(e){const{$constants:t}=G(),n=({type:a})=>t.PAGE_AD_TYPES.includes(a),r=Sr().value?Sr().value.filter(n):[];Xe(()=>{window.addEventListener("message",o)}),qt(()=>{window.removeEventListener("message",o)});function o({data:a}){if(typeof a=="string")try{const i=JSON.parse(a);console.log("message",i),"adSkinType"in i?ga.add(i):(i==null?void 0:i.adType)==="welcomeAdImage"||(i==null?void 0:i.adType)==="welcomeAdTag"?Er.update(i):"nativeTitle"in i&&(r.some(c=>c.type==="content-list-native")&&ln.addNativeListItem(i),r.some(c=>c.type==="content-body-native")&&ln.addNativeBody(i))}catch{}}return(a,i)=>{const s=VB;return P(),V("div",HB,[(P(!0),V(we,null,De(B(r),l=>(P(),V("div",{key:l.id},[K(s,{"ad-unit":l},null,8,["ad-unit"])]))),128))])}}},jB={__name:"GAMStickyAd",setup(e){const t=Sr().value.find(({type:u})=>u==="sticky-bottom"),{loaded:n,valid:r}=Od(t),o=he(!0),a=he(!1),i=he(0),{onScroll:s}=Ud();s(()=>c());function l(){o.value=!1}function c(){var u;a.value=!0,window.removeEventListener("scroll",c),document.getElementById("onetrust-banner-sdk")&&(i.value=(u=document.getElementById("onetrust-banner-sdk"))==null?void 0:u.offsetHeight)}return(u,d)=>{const f=Ld;return B(r)&&B(a)?(P(),ye(ls,{key:0,to:"body"},[K(Ar,{appear:"",name:"slide-up"},{default:Be(()=>[Ft(O("div",{id:"sticky-bottom-ad",style:de({bottom:`${B(i)}px`})},[O("button",{class:"close-button",onClick:d[0]||(d[0]=()=>l())}," X "),K(f,{"ad-unit":B(t)},null,8,["ad-unit"])],4),[[Ht,B(o)&&B(n)]])]),_:1})])):le("",!0)}}},WB=Fe(jB,[["__scopeId","data-v-d25a7250"]]),zB={class:Se(["title"])},GB=["href"],Rv={__name:"WebGridTitle",props:{title:{type:String},link:{type:String},icon:{type:String},iconColor:{type:String},style:{type:String}},setup(e){return(t,n)=>{const r=Ot;return e.title?(P(),V("div",{key:0,class:Se(["web-grid-title",e.style??"primary",e.link?"has-link":""])},[n[0]||(n[0]=O("div",{class:"topbar"},null,-1)),O("h2",zB,[e.icon?(P(),ye(r,{key:0,icon:e.icon,"icon-color":e.iconColor,width:36},null,8,["icon","icon-color"])):le("",!0),nt(Ie(e.title),1)]),n[1]||(n[1]=O("div",{class:"divider"},null,-1)),e.link?(P(),V("a",{key:0,href:e.link,class:"view-more"}," View More ",8,GB)):le("",!0)],2)):le("",!0)}}},Nv=(e,t,n)=>{const r=e[t];return r?typeof r=="function"?r():Promise.resolve(r):new Promise((o,a)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(a.bind(null,new Error("Unknown variable dynamic import: "+t+(t.split("/").length!==n?". Note that variables only represent file names one level deep.":""))))})};function KB(){const{$ss:e}=G(),t=Ke("contentMeter"),n=Object.freeze({PASSED_MORE:"passed-metered-more",PASSED_OUT:"passed-metered-out",FAILED:"failed-metered"}),r=se(()=>{var c;if(!((c=e.memberships)!=null&&c.contentMetering)||!t.value)return null;const{numberOfFreeViews:l}=e.memberships.contentMeteringFields;return t.value?$R(t.value.numberOfFreeViews-t.value.views,-1,t.value.numberOfFreeViews):l}),o=se(()=>{var l;return!((l=e.memberships)!=null&&l.contentMetering)||r.value===null?!1:r.value>=0}),a=se(()=>{var m;if(!((m=e.memberships)!=null&&m.contentMetering)||!t.value)return null;const{viewsRemainingIntroText:l,viewsExhaustedPassedIntroText:c,viewsExhaustedFailedIntroText:u}=e.memberships.contentMeteringFields,d={"[VIEWS_REMAINING]":r.value,"[ALLOWED_VIEWS]":t.value.numberOfFreeViews,"[EXPIRATION_DATE]":et(new Date(t.value.expirationTime),"MM/dd/yyyy"),"[VIEWS]":t.value.views};let f=i.value===n.PASSED_MORE?l:i.value===n.PASSED_OUT?c:u;return Object.entries(d).forEach(([b,y])=>f=f==null?void 0:f.replaceAll(b,y)),f}),i=se(()=>{var l;return!((l=e.memberships)!=null&&l.contentMetering)||!t.value?n.FAILED:r.value>0?n.PASSED_MORE:r.value===0?n.PASSED_OUT:n.FAILED});function s(l){var c,u;if((c=e.memberships)!=null&&c.contentMetering)if(!t.value&&((u=e.memberships)!=null&&u.contentMeteringFields)){const{meteringPeriod:d,numberOfFreeViews:f}=e.memberships.contentMeteringFields,m=new Date,b=yb(m,d),y=Ke("contentMeter",{expires:b}),x=[l];y.value={views:1,startTime:m,expirationTime:b,numberOfFreeViews:f,meteringPeriod:d,viewedItems:x},t.value=y.value}else{if(t.value.viewedItems.includes(l))return;t.value.viewedItems.push(l),t.value.views++}}return{ContentMeterStatus:n,numberOfViewsRemaining:r,hasFreeView:o,meterDescription:a,meterStatus:i,checkContentMeter:s}}function Bv(e){const t=(e==null?void 0:e.zmagId)??(e==null?void 0:e.contentId),n=Ee(`gatingInfoState${t}`,()=>{}),r=Object.freeze({PASSED:"passed",FAILED:"failed"}),o=Object.freeze({OMEDA:"omeda",MEMBERSHIP:"membership"});async function a(){var b,y,x;if(n.value)return;let i=(b=e==null?void 0:e.gating)==null?void 0:b.surveyType,s=[],l="";(e==null?void 0:e.type)==="zmag"?(i="membership",s=await te.getFreeMemberships()):(y=e==null?void 0:e.membership)!=null&&y.length&&(i="membership",s=e==null?void 0:e.membership);const{checkContentMeter:c,meterStatus:u,ContentMeterStatus:d}=KB();let f="";if(i==="membership"){const w=await te.getUserInfo(),h=await te.isLoggedIn()?((x=w==null?void 0:w.memberships)==null?void 0:x.filter(S=>{const E=S==null?void 0:S.map(F=>F.id);return E==null?void 0:E.includes(S)}).length)>0:!1,p=await te.hasSiteLicenseCompany(),_=navigator.userAgent.includes("Googlebot");c(e.contentId),f=h||p||_?r.PASSED:r.FAILED}let m=[];f===r.PASSED&&u===d.FAILED&&m.push("gating_form"),f===r.FAILED&&u.value===d.FAILED&&i!==o.OMEDA&&(m=["image_gallery","video_player","content_sidebars","document_download","zmag_embed","simplemaps_us"]),n.value={type:i,status:f,hiddenBlocks:m,memberships:s,meterDescription:l,isGated:i===o.MEMBERSHIP||i===o.OMEDA}}return{ContentGateStatus:r,ContentGateTypes:o,initializeContentGating:a,gatingInfo:n}}function Dv(){function e(n){const{$ss:r}=G();let o={};r!=null&&r.useNewDesign&&(Ke("colorOverrides").value?o=Ke("colorOverrides").value:o=r.colors);const a={buttonColor:"var(--color-primary-main)"};switch(n??"default"){case"default":a.backgroundColor="white",a.ctaBorderColor="var(--color-line)";break;case"primary-main":a.backgroundColor="var(--color-primary-main)",a.textColor="white",a.borderColor="white",a.ctaBorderColor="white",a.buttonMode="hollow";break;case"primary-container":a.backgroundColor="var(--color-primary-container)",a.borderColor="var(--color-line)";break;case"on-primary-container":a.backgroundColor="var(--color-on-primary-container)",a.textColor="white",a.borderColor="white",a.ctaBorderColor="white",a.buttonMode="hollow",a.buttonColor=o.primary.onContainer;break;case"secondary-main":a.backgroundColor="var(--color-secondary-main)",a.textColor="white",a.borderColor="white",a.buttonMode="hollow",a.buttonColor=o.secondary.main;break;case"secondary-container":a.backgroundColor="var(--color-secondary-container)",a.borderColor="var(--color-line)";break;case"on-secondary-container":a.backgroundColor="var(--color-on-secondary-container)",a.textColor="white",a.borderColor="white",a.buttonMode="hollow",a.buttonColor=o.secondary.main;break}return a}function t(){var o,a;const{$ss:n}=G();let r={};return n!=null&&n.useNewDesign&&(Ke("colorOverrides").value?r=Ke("colorOverrides").value:r=n.colors),{"--spacing-unit":n!=null&&n.useNewDesign?`${n.general.spacing/8}px`:"8px","--spacing":n!=null&&n.useNewDesign?`${n.general.spacing}px`:"48px","--color-line":n!=null&&n.useNewDesign?(a=(o=n==null?void 0:n.colors)==null?void 0:o.other)==null?void 0:a.line:"#f0f0f0","--color-primary-main":n!=null&&n.useNewDesign?r==null?void 0:r.primary.main:n.baseStyles.primaryColor,"--color-primary-container":n!=null&&n.useNewDesign?r==null?void 0:r.primary.container:"","--color-on-primary-container":n!=null&&n.useNewDesign?r==null?void 0:r.primary.onContainer:"","--color-secondary-main":n!=null&&n.useNewDesign?r==null?void 0:r.secondary.main:n.baseStyles.secondaryColor,"--color-secondary-container":n!=null&&n.useNewDesign?r==null?void 0:r.secondary.container:"","--color-on-secondary-container":n!=null&&n.useNewDesign?r==null?void 0:r.secondary.onContainer:"","--color-black":"#0d0d0d","--color-grey":"#b2c3ce","--primary-font-family":n.primaryFontFamily,"--site-max-width":"1300px"}}return{getStyles:e,getCssVars:t}}const YB=["href"],JB={key:1},QB={__name:"WebBlock",props:{block:{type:Object},blockIndex:{type:Number},groupBlocks:{type:Boolean,default:!1}},emits:["hide","show"],setup(e,{emit:t}){var m,b,y,x,w;const{$ss:n}=G(),r=e,o=t;vt("blockIndex",r.blockIndex);const a=ot("page"),{gatingInfo:i}=Bv(a==null?void 0:a.pageData),s=`${mv(BR(r.block.type))}Block`,l=gn(()=>Nv(Object.assign({"../blocks/AboutAuthorBlock.vue":()=>L(()=>import("./AboutAuthorBlock-CZOE_qFr.mjs"),__vite__mapDeps([275,276,74,75,44,76,77,78,79,80,81,82,83,84,85,277,278]),import.meta.url),"../blocks/AuthorProfileBlock.vue":()=>L(()=>import("./AuthorProfileBlock-DSNKCSTG.mjs"),__vite__mapDeps([279,280]),import.meta.url),"../blocks/BlueconicRecommendationsBlock.vue":()=>L(()=>import("./BlueconicRecommendationsBlock-mDwHJqAg.mjs"),__vite__mapDeps([281,78,79,75,44,76,80,81,82,282]),import.meta.url),"../blocks/CallToActionBlock.vue":()=>L(()=>import("./CallToActionBlock-D_79ndkf.mjs"),__vite__mapDeps([283,74,75,44,76,77,78,79,80,81,82,83,84,85,284]),import.meta.url),"../blocks/CarouselBlock.vue":()=>L(()=>import("./CarouselBlock-BbEoJsjo.mjs"),__vite__mapDeps([285,75,44,76,286]),import.meta.url),"../blocks/CatsoneJobsBlock.vue":()=>L(()=>import("./CatsoneJobsBlock-pwThvXqd.mjs"),__vite__mapDeps([287,288]),import.meta.url),"../blocks/ChooseMembershipBlock.vue":()=>L(()=>import("./ChooseMembershipBlock-CMwu_GmU.mjs"),__vite__mapDeps([289,290,291,292,293]),import.meta.url),"../blocks/CommentsBlock.vue":()=>L(()=>import("./CommentsBlock-BgVKDdpw.mjs"),[],import.meta.url),"../blocks/CompanyBannerBlock.vue":()=>L(()=>import("./CompanyBannerBlock-DI2Ox5L8.mjs"),__vite__mapDeps([294,75,44,76,295]),import.meta.url),"../blocks/CompanyKeyContactBlock.vue":()=>L(()=>import("./CompanyKeyContactBlock-B7fwi2iV.mjs"),__vite__mapDeps([296,297]),import.meta.url),"../blocks/CompanyOverviewBlock.vue":()=>L(()=>import("./CompanyOverviewBlock--ldZDE5F.mjs"),__vite__mapDeps([298,73,74,75,44,76,77,78,79,80,81,82,83,84,85,86,299]),import.meta.url),"../blocks/CompanyVideosBlock.vue":()=>L(()=>import("./CompanyVideosBlock-Dc6eh67W.mjs"),__vite__mapDeps([300,78,79,75,44,76,80,81,82]),import.meta.url),"../blocks/ContactUsFormBlock.vue":()=>L(()=>import("./ContactUsFormBlock-BQIKEQrC.mjs"),__vite__mapDeps([301,258,259,302]),import.meta.url),"../blocks/ContactsBlock.vue":()=>L(()=>import("./ContactsBlock-CS8rx711.mjs"),__vite__mapDeps([303,304]),import.meta.url),"../blocks/ContentBodyBlock.vue":()=>L(()=>import("./ContentBodyBlock-CendMg28.mjs"),__vite__mapDeps([305,73,74,75,44,76,77,78,79,80,81,82,83,84,85,86,306]),import.meta.url),"../blocks/ContentImageGridBlock.vue":()=>L(()=>import("./ContentImageGridBlock-DadbgZZK.mjs"),__vite__mapDeps([307,75,44,76,308]),import.meta.url),"../blocks/ContentListBlock.vue":()=>L(()=>import("./ContentListBlock-gD2_hN6S.mjs"),__vite__mapDeps([309,78,79,75,44,76,80,81,82]),import.meta.url),"../blocks/ContentPrimaryImageBlock.vue":()=>L(()=>import("./ContentPrimaryImageBlock-DUU0o0gZ.mjs"),__vite__mapDeps([310,311,75,44,76,80,312]),import.meta.url),"../blocks/ContentSidebarsBlock.vue":()=>L(()=>import("./ContentSidebarsBlock-Da5qRtcz.mjs"),__vite__mapDeps([313,314,315]),import.meta.url),"../blocks/ContentTitleBlock.vue":()=>L(()=>import("./ContentTitleBlock-DtTfZuiq.mjs"),__vite__mapDeps([316,317,95,318,75,44,76,153,80,319]),import.meta.url),"../blocks/CountdownTimerBlock.vue":()=>L(()=>import("./CountdownTimerBlock-BYhCvSgt.mjs"),[],import.meta.url),"../blocks/CredsparkBlock.vue":()=>L(()=>import("./CredsparkBlock-COayuNxM.mjs"),[],import.meta.url),"../blocks/DocumentDownloadBlock.vue":()=>L(()=>import("./DocumentDownloadBlock-BHY8-Ow-.mjs"),[],import.meta.url),"../blocks/ExternalRssFeedBlock.vue":()=>L(()=>import("./ExternalRssFeedBlock-BO-2fNnW.mjs"),__vite__mapDeps([320,78,79,75,44,76,80,81,82,321]),import.meta.url),"../blocks/GamAdBlock.vue":()=>L(()=>import("./GamAdBlock-C3uKB-Ml.mjs"),__vite__mapDeps([322,323]),import.meta.url),"../blocks/GatingFormBlock.vue":()=>L(()=>import("./GatingFormBlock-DID9f_4Z.mjs"),[],import.meta.url),"../blocks/ImageGalleryBlock.vue":()=>L(()=>import("./ImageGalleryBlock-COgOjl1t.mjs"),__vite__mapDeps([324,311,75,44,76,80,312,325]),import.meta.url),"../blocks/InquiryFormBlock.vue":()=>L(()=>import("./InquiryFormBlock-Ci7ELfKI.mjs"),__vite__mapDeps([326,327]),import.meta.url),"../blocks/IssueOverviewBlock.vue":()=>L(()=>import("./IssueOverviewBlock-ByLO7v-p.mjs"),__vite__mapDeps([328,329,11,12,330]),import.meta.url),"../blocks/JobBoardBlock.vue":()=>L(()=>import("./JobBoardBlock-DvM6nuND.mjs"),__vite__mapDeps([331,332]),import.meta.url),"../blocks/LeadingCompaniesBlock.vue":()=>L(()=>import("./LeadingCompaniesBlock-C29FCeXo.mjs"),[],import.meta.url),"../blocks/MagazineIssueBlock.vue":()=>L(()=>import("./MagazineIssueBlock-DWeB07dz.mjs"),__vite__mapDeps([333,75,44,76,334]),import.meta.url),"../blocks/MagazineOverviewBlock.vue":()=>L(()=>import("./MagazineOverviewBlock-D1gbSRgH.mjs"),__vite__mapDeps([335,329,11,12,330]),import.meta.url),"../blocks/MarketingPageContentBlock.vue":()=>L(()=>import("./MarketingPageContentBlock-BsGxdWPw.mjs"),__vite__mapDeps([336,73,74,75,44,76,77,78,79,80,81,82,83,84,85,86,337]),import.meta.url),"../blocks/MembershipOverviewBlock.vue":()=>L(()=>import("./MembershipOverviewBlock-BJd6jhK3.mjs"),__vite__mapDeps([338,290,291,292,293]),import.meta.url),"../blocks/MembershipSignupBlock.vue":()=>L(()=>import("./MembershipSignupBlock-TkBz0TNJ.mjs"),__vite__mapDeps([339,290,291,292,293,340,341]),import.meta.url),"../blocks/NewsletterCampaignsBlock.vue":()=>L(()=>import("./NewsletterCampaignsBlock-BzRl-tJZ.mjs"),__vite__mapDeps([342,200,51,201,343]),import.meta.url),"../blocks/OmedaGatedPageContentBlock.vue":()=>L(()=>import("./OmedaGatedPageContentBlock-CdjiPRjY.mjs"),__vite__mapDeps([344,75,44,76,345,79,80,81,346,73,74,77,78,82,83,84,85,86,347,348,349,350]),import.meta.url),"../blocks/OmedaInjectionBlock.vue":()=>L(()=>import("./OmedaInjectionBlock-VJH_O3G-.mjs"),__vite__mapDeps([351,352]),import.meta.url),"../blocks/PodcastPlayerBlock.vue":()=>L(()=>import("./PodcastPlayerBlock-DkV2f9f8.mjs"),[],import.meta.url),"../blocks/RelatedContentBlock.vue":()=>L(()=>import("./RelatedContentBlock-CjCbEEM-.mjs"),__vite__mapDeps([353,78,79,75,44,76,80,81,82]),import.meta.url),"../blocks/RichTextBlock.vue":()=>L(()=>import("./RichTextBlock-DzV0nDbA.mjs"),__vite__mapDeps([354,74,75,44,76,77,78,79,80,81,82,83,84,85,355]),import.meta.url),"../blocks/SearchBlock.vue":()=>L(()=>import("./SearchBlock-CYwZNZDW.mjs"),__vite__mapDeps([356,11,12,56,57,18,19,23,24,17,20,78,79,75,44,76,80,81,82,200,51,201,63,64,65,357]),import.meta.url),"../blocks/SectionOverviewBlock.vue":()=>L(()=>import("./SectionOverviewBlock-DKhpxJSZ.mjs"),__vite__mapDeps([358,329,11,12,330]),import.meta.url),"../blocks/SectionTreeBlock.vue":()=>L(()=>import("./SectionTreeBlock-Bw8WydzN.mjs"),__vite__mapDeps([359,360]),import.meta.url),"../blocks/ShareLinksBlock.vue":()=>L(()=>import("./ShareLinksBlock-BL1owZtd.mjs"),__vite__mapDeps([361,362,317,95,363]),import.meta.url),"../blocks/SimplemapsUsBlock.vue":()=>L(()=>import("./SimplemapsUsBlock-CJSlKRFd.mjs"),__vite__mapDeps([364,365]),import.meta.url),"../blocks/SiteSearchBlock.vue":()=>L(()=>import("./SiteSearchBlock-BYaS23f0.mjs"),__vite__mapDeps([366,367]),import.meta.url),"../blocks/SiteUserAccountBlock.vue":()=>L(()=>import("./SiteUserAccountBlock-C6s7gIZf.mjs"),__vite__mapDeps([368,89,90,318,75,44,76,362,317,95,363,200,51,201,369,370,290,291,292,293,371]),import.meta.url),"../blocks/SiteUserChangeEmailBlock.vue":()=>L(()=>import("./SiteUserChangeEmailBlock-UbXn1-8J.mjs"),[],import.meta.url),"../blocks/SiteUserCompleteRegistrationBlock.vue":()=>L(()=>import("./SiteUserCompleteRegistrationBlock-fGj2UbiR.mjs"),__vite__mapDeps([372,291,292,373]),import.meta.url),"../blocks/SiteUserLoginBlock.vue":()=>L(()=>import("./SiteUserLoginBlock-WTvGmLTY.mjs"),__vite__mapDeps([374,375]),import.meta.url),"../blocks/SiteUserResetPasswordBlock.vue":()=>L(()=>import("./SiteUserResetPasswordBlock-C6y4XpTE.mjs"),__vite__mapDeps([376,369,370,377]),import.meta.url),"../blocks/SocialLinksBlock.vue":()=>L(()=>import("./SocialLinksBlock-BHit0xBM.mjs"),[],import.meta.url),"../blocks/SourceEsbDataSheetBlock.vue":()=>L(()=>import("./SourceEsbDataSheetBlock-DdR4YbUj.mjs"),__vite__mapDeps([378,379,380,28,29,381,382,383]),import.meta.url),"../blocks/SourceEsbPartDetailsBlock.vue":()=>L(()=>import("./SourceEsbPartDetailsBlock-zik7DJre.mjs"),__vite__mapDeps([384,379,380,28,29,381,382]),import.meta.url),"../blocks/SourceEsbPartSearchBlock.vue":()=>L(()=>import("./SourceEsbPartSearchBlock-BE8tv8OR.mjs"),__vite__mapDeps([385,386,380,28,29,381,387]),import.meta.url),"../blocks/SubscribeBlock.vue":()=>L(()=>import("./SubscribeBlock-BfytjVwi.mjs"),[],import.meta.url),"../blocks/SwiftrevBlock.vue":()=>L(()=>import("./SwiftrevBlock-D2eSwoqo.mjs"),[],import.meta.url),"../blocks/ThreeDxSearchBlock.vue":()=>L(()=>import("./ThreeDxSearchBlock-D9Ldydix.mjs"),__vite__mapDeps([388,389]),import.meta.url),"../blocks/VideoPlayerBlock.vue":()=>L(()=>import("./VideoPlayerBlock-DtLW7OgK.mjs"),[],import.meta.url),"../blocks/WebinarLinkBlock.vue":()=>L(()=>import("./WebinarLinkBlock-DCaE3OD3.mjs"),[],import.meta.url),"../blocks/WebinarsBlock.vue":()=>L(()=>import("./WebinarsBlock-D9Qz9hhJ.mjs"),__vite__mapDeps([390,78,79,75,44,76,80,81,82]),import.meta.url),"../blocks/ZmagEmbedBlock.vue":()=>L(()=>import("./ZmagEmbedBlock-nl3Zzbhd.mjs"),__vite__mapDeps([391,392,290,291,292,293,340,341,77,393]),import.meta.url)}),`../blocks/${s}.vue`,3));let c=Ye({...r.block.settings??{}});c.borderRadius=!1,c.dropShadow=!1,c.titleUnderlineColor="",c.titleBackgroundColor="",c.titleColor="",c.titleBottomPadding="15px",c.titleFontWeight=400,n!=null&&n.useNewDesign||(n.baseStyles.siteTheme===1?(c.titleFontWeight=600,c.titleBottomPadding=0,c.titleUnderlineColor=n.podStyle.accentColor,c.titleColor=n.podStyle.accentColor):n.baseStyles.siteTheme===2?(c.titleBackgroundColor=n.podStyle.accentColor,c.titleColor="white",c.backgroundColor=c.backgroundColor&&c.backgroundColor!=="transparent"?c.backgroundColor:r.block.type==="gam_ad"||r.groupBlocks?"transparent":"white",c.borderRadius=!0,c.dropShadow=r.block.type!=="gam_ad"&&!r.groupBlocks):(c.titleBackgroundColor=n.podStyle.accentColor,c.titleColor="white"),c.titleBorderBottom=c.titleUnderlineColor?"4px solid "+c.titleUnderlineColor:"none"),c.title=((m=r.block.settings)==null?void 0:m.title)??"",c.title=c.title.replace("[sectionname]",((b=r.block.data)==null?void 0:b.filterSectionName)??""),c.title=c.title.replace("[issuename]",((y=a.pageData)==null?void 0:y.name)??""),c.title=c.title.replace("[pagename]",((x=a.pageData)==null?void 0:x.name)??""),c.titleLink=c.link??"",c.titleLink=c.titleLink.replace("[sectionlink]",((w=r.block.data)==null?void 0:w.filterSectionLink)??"");const u=Ye({});u.padding=n!=null&&n.useNewDesign?0:c.contentPadding?10:0,u.borderRadius=n!=null&&n.useNewDesign?"0":c.borderRadius?c!=null&&c.title?" 0 0 8px 8px":" 8px":" 0 ";const d=((c==null?void 0:c.colorScheme)??"default")==="default"?"0":"calc(var(--spacing)/2)",{getStyles:f}=Dv();return c={...c,...n!=null&&n.useNewDesign?f(c==null?void 0:c.colorScheme):{}},Yn(()=>{var h;(((h=i.value)==null?void 0:h.hiddenBlocks)??[]).indexOf(r.block.type)!==-1&&o("hide",r.block)}),(g,h)=>{var S,E,F,N,v,T,I,A,z,$,R,q,j,X,me,be,Q,U,J,ce,_e,D;const p=Rv,_=To;return P(),V("div",{ref:"block",class:Se([`block-${e.blockIndex+1}`,"block"])},[O("div",{class:"above-cta",style:de({backgroundColor:((S=B(c))==null?void 0:S.backgroundColor)??"white",border:(E=B(c))!=null&&E.borderColor?`1px solid ${(F=B(c))==null?void 0:F.borderColor}`:"",color:(N=B(c))==null?void 0:N.textColor,padding:e.block.type!=="omeda_gated_page_content"&&e.block.type!=="marketing_page_content"?B(d):0,borderRadius:B(c).borderRadius?"8px":"0",boxShadow:B(c).dropShadow?"0 1px 7px rgba(0,0,0,.05)":""})},[(v=B(n))!=null&&v.useNewDesign?(P(),ye(p,{key:0,title:B(c).title,link:B(c).titleLink,icon:B(c).titleIcon,"icon-color":B(c).textColor??B(n).colors.primary.main,class:"block-title"},null,8,["title","link","icon","icon-color"])):(P(),V(we,{key:1},[B(c).title?(P(),V("h2",{key:0,class:Se(["title"]),style:de({backgroundColor:B(c).titleBackgroundColor!==""?B(c).titleBackgroundColor:"white",color:B(c).titleColor,borderRadius:B(c).borderRadius?"8px 8px 0 0":"0",padding:(T=B(n))!=null&&T.useNewDesign?`0 0 ${B(n).general.spacing}px 0`:`10px ${B(u).padding}px`,fontWeight:B(c).titleFontWeight})},[O("div",{style:de({display:"inline-block",borderBottom:B(c).titleBorderBottom,paddingBottom:B(c).titleUnderlineColor?"8px":"0"})},[B(c).titleLink?(P(),V("a",{key:0,href:B(c).titleLink},Ie(B(c).title),9,YB)):le("",!0),B(c).titleLink?le("",!0):(P(),V("div",JB,Ie(B(c).title),1))],4)],4)):le("",!0)],64)),O("div",{class:"content",style:de({borderRadius:B(u).borderRadius,padding:`${B(u).padding}px`})},[(P(),ye(ar(B(l)),{"block-id":e.block.id,data:e.block.data,settings:e.block.settings,page:B(a),onShow:h[0]||(h[0]=Z=>o("show",e.block)),onHide:h[1]||(h[1]=Z=>o("hide",e.block))},null,40,["block-id","data","settings","page"]))],4)],4),(I=B(n))!=null&&I.useNewDesign&&((z=(A=B(c))==null?void 0:A.cta)!=null&&z.buttonLabel)&&(($=B(c).cta)!=null&&$.buttonLink)?(P(),V("div",{key:0,class:"cta",style:de({backgroundColor:((R=B(c))==null?void 0:R.backgroundColor)??"white",border:(q=B(c))!=null&&q.borderColor?`1px solid ${(j=B(c))==null?void 0:j.borderColor}`:"",borderTop:(X=B(c))!=null&&X.ctaBorderColor?`1px solid ${(me=B(c))==null?void 0:me.ctaBorderColor}`:"none !important",color:(be=B(c))==null?void 0:be.textColor,padding:B(d)})},[nt(Ie((U=(Q=B(c))==null?void 0:Q.cta)==null?void 0:U.text)+" ",1),K(_,{label:(ce=(J=B(c))==null?void 0:J.cta)==null?void 0:ce.buttonLabel,color:(_e=B(c))==null?void 0:_e.buttonColor,icon:"ic:round-arrow-forward",size:"large","icon-position":"right",type:"link",mode:B(c).buttonMode,link:(D=B(c).cta)==null?void 0:D.buttonLink},null,8,["label","color","mode","link"])],4)):le("",!0)],2)}}},XB=Fe(QB,[["__scopeId","data-v-18405aaa"]]),ZB={props:{column:{type:Object},columnIndex:{type:Number},groupBlocks:{type:Boolean,default:!1}},setup(e){const n=he(0),r=he(null),{onScroll:o}=Ud();return Xe(()=>{r.value=document.querySelector("header")}),o(()=>{n.value!==r.value.clientHeight&&(n.value=r.value.clientHeight+20)}),vt("columnIndex",e.columnIndex),{headerHeight:n,header:r}},data(){return{hiddenBlocks:[]}},computed:{columnInfo(){return{...this.column,settings:this.column.settings?this.column.settings:{}}},standardBlocks(){const e=[];let t=!0;return this.columnInfo.blocks.forEach(n=>{!n.settings.keepInView&&t?e.push(n):t=!1}),JSON.parse(JSON.stringify(e))},stickyBlocks(){const e=[];let t=!1;return this.columnInfo.blocks.forEach(n=>{(n.settings.keepInView||t)&&(t=!0,e.push(n))}),JSON.parse(JSON.stringify(e))}},methods:{hideBlock(e){!e&&!id in e||this.hiddenBlocks.push(e.id)},showBlock(e){!e&&!id in e||(this.hiddenBlocks=this.hiddenBlocks.filter(t=>t!==e.id))},excludeBottomBorder(e,t){var u,d,f;const n=e==null?void 0:e[t],r=e==null?void 0:e[t+1],o=(u=n.settings)==null?void 0:u.colorScheme,a=n.type,i=(d=r==null?void 0:r.settings)==null?void 0:d.colorScheme,s=r==null?void 0:r.type,l=(f=r==null?void 0:r.settings)==null?void 0:f.title;let c=!1;return(l||a==="gam_ad"||s==="gam_ad"||o&&o!=="default"||i&&i!=="default")&&(c=!0),c}}};function eD(e,t,n,r,o,a){var s,l;const i=XB;return P(),V("div",{class:Se([`column-${n.columnIndex+1}`,"column",(s=e.$ss)!=null&&s.useNewDesign?"new-design":"",(l=e.$ss)!=null&&l.useNewDesign?"block-align-"+(a.stickyBlocks.length?"sticky":"top"):"block-align-"+(a.columnInfo.settings.blockAlignment?a.columnInfo.settings.blockAlignment:"top")])},[a.standardBlocks.length?(P(),V("div",{key:0,class:Se(["standard-blocks",a.stickyBlocks.length?"has-sticky":""]),style:de({display:a.stickyBlocks.length===0&&a.standardBlocks.length===1?"flex":"block",flex:a.stickyBlocks.length===0&&a.standardBlocks.length===1?"1 0 100%":"",alignItems:a.stickyBlocks.length===0&&a.standardBlocks.length===1?"stretch":""})},[(P(!0),V(we,null,De(a.standardBlocks,(c,u)=>{var d,f;return Ft((P(),V("div",{key:c.id,class:Se(["block-wrapper",c.settings.trackingId,c.id,a.excludeBottomBorder(a.columnInfo.blocks,u)?"hide-bottom-border":""]),style:de({marginBottom:(d=e.$ss)!=null&&d.useNewDesign?u+1<a.standardBlocks.length?`${e.$ss.general.spacing/2}px`:"0":u+1<a.standardBlocks.length?"10px":"0px",paddingTop:(f=e.$ss)!=null&&f.useNewDesign?u>0?`${e.$ss.general.spacing/2}px`:"0":u>0?"10px":"0px",display:a.stickyBlocks.length===0&&a.standardBlocks.length===1?"flex":"block",flex:a.stickyBlocks.length===0&&a.standardBlocks.length===1?"1 0 100%":"",alignItems:a.stickyBlocks.length===0&&a.standardBlocks.length===1?"stretch":""})},[K(i,{block:c,"block-index":u,"group-blocks":n.groupBlocks,onHide:a.hideBlock,onShow:a.showBlock},null,8,["block","block-index","group-blocks","onHide","onShow"])],6)),[[Ht,!o.hiddenBlocks.includes(c.id)]])}),128))],6)):le("",!0),a.stickyBlocks.length?(P(),V("div",{key:1,ref:"sticky",class:Se(["sticky-blocks",a.standardBlocks.length?"has-standard":""]),style:de({position:"sticky",top:r.headerHeight+"px",display:a.standardBlocks.length===0&&a.stickyBlocks.length===1?"flex":"",flex:a.standardBlocks.length===0&&a.stickyBlocks.length===1?"1 0 100%":""})},[(P(!0),V(we,null,De(a.stickyBlocks,(c,u)=>{var d,f;return Ft((P(),V("div",{key:c.id,class:Se(["block-wrapper",a.excludeBottomBorder(a.columnInfo.blocks,a.standardBlocks.length+u)?"hide-bottom-border":""]),style:de({marginBottom:(d=e.$ss)!=null&&d.useNewDesign?u+1<a.stickyBlocks.length?`${e.$ss.general.spacing/2}px`:"0":u+1<a.stickyBlocks.length?"10px":0,paddingTop:(f=e.$ss)!=null&&f.useNewDesign?u>0?`${e.$ss.general.spacing/2}px`:"0":u>0?"10px":0,display:a.standardBlocks.length===0&&a.stickyBlocks.length===1?"flex":"",flex:a.standardBlocks.length===0&&a.stickyBlocks.length===1?"1 0 100%":""})},[K(i,{block:c,"block-index":u,"group-blocks":n.groupBlocks,onHide:a.hideBlock,onShow:a.showBlock},null,8,["block","block-index","group-blocks","onHide","onShow"])],6)),[[Ht,!o.hiddenBlocks.includes(c.id)]])}),128))],6)):le("",!0)],2)}const tD=Fe(ZB,[["render",eD],["__scopeId","data-v-f6470316"]]),Fd={props:{row:{type:Object},rowIndex:{type:Number},isReskinActive:{type:Boolean,default:!1}},setup(e){return vt("rowIndex",e.rowIndex),vt("rowLayout",e.row.settings.layout),{page:ot("page")}},computed:{modifiedLayout(){var t;let e=this.row.settings.layout;return(t=this.$ss)!=null&&t.useNewDesign&&(e==="1_3"&&(e="1_2"),e==="3_1"&&(e="2_1"),e==="1_2_1"&&(e="1_1_1")),e},horizontalPadding(){var t;let e=0;return(t=this.$ss)!=null&&t.useNewDesign||(this.row.settings.horizontalPadding??"default")!=="none"&&(e="20px"),e},verticalPadding(){var t;let e=0;return(t=this.$ss)!=null&&t.useNewDesign||this.row.settings.verticalPadding!=="none"&&(e="10px"),e}}},Cm=()=>{Ia(e=>({cc7ed092:e.verticalPadding,"6a9c6449":e.horizontalPadding}))},Sm=Fd.setup;Fd.setup=Sm?(e,t)=>(Cm(),Sm(e,t)):Cm;const nD={class:Se(["web-row"])},rD={style:{width:"100%"}};function oD(e,t,n,r,o,a){var l,c,u,d,f,m,b,y,x,w,g,h;const i=Rv,s=tD;return P(),V("div",nD,[(l=e.$ss)!=null&&l.useNewDesign?(P(),ye(i,{key:0,title:(f=(c=n.row.settings)==null?void 0:c.title)==null?void 0:f.replace("[sectionname]",((d=(u=r.page)==null?void 0:u.pageData)==null?void 0:d.name)??""),link:n.row.settings.link,class:"row-title"},null,8,["title","link"])):le("",!0),O("div",{class:Se([`row-${n.rowIndex+1}`,"row","layout"+a.modifiedLayout,(b=(m=n.row)==null?void 0:m.settings)==null?void 0:b.columnPriority,((x=(y=n.row)==null?void 0:y.settings)==null?void 0:x.width)??"site-width",(w=e.$ss)!=null&&w.useNewDesign?"new-design":""]),style:de({borderTop:n.row.settings.borderTopWidth?n.row.settings.borderTopWidth+"px solid "+n.row.settings.borderTopColor:"",backgroundColor:n.row.settings.backgroundColor,color:n.row.settings.textColor,borderRadius:n.row.settings.borderRadius?"8px":"0",marginBottom:n.row.settings.borderRadius?"10px":"0",boxShadow:n.row.settings.dropShadow?"0 1px 7px rgba(0,0,0,.05)":"",gap:(g=e.$ss)!=null&&g.useNewDesign?`${e.$ss.general.spacing}px`:"10px",padding:(h=e.$ss)!=null&&h.useNewDesign?"0":"10px"})},[(P(!0),V(we,null,De(n.row.columns,(p,_)=>(P(),V("div",{key:p.id,style:de({paddingTop:a.verticalPadding/2+"px",paddingBottom:a.verticalPadding/2+"px"}),class:"column-wrapper"},[O("div",rD,[p.blocks&&p.blocks.length>0?(P(),ye(s,{key:0,column:p,"column-index":_,"group-blocks":n.row.settings.groupBlocks},null,8,["column","column-index","group-blocks"])):le("",!0)])],4))),128))],6)])}const aD=Fe(Fd,[["render",oD],["__scopeId","data-v-d16f253a"]]),iD={props:{grid:{type:Object,required:!0},page:{type:Object,required:!0},isReskinActive:{type:Boolean,default:!1},fullWidth:{type:Boolean,default:!1}},setup(e){vt("page",{...e.page})},computed:{currentGrid(){var r;const e={...this.grid},t=[];let n=null;return(r=e.rows)==null||r.map((o,a)=>{var l,c,u,d,f,m,b,y,x,w;const i=[],s=o.columns.length===1&&o.columns[0].blocks.length===1&&o.columns[0].blocks[0].type==="gam_ad";!s&&n===null&&(n=a),o.settings||(o.settings={}),o.settings.borderRadius=!1,o.settings.dropShadow=!1,o.settings.backgroundColor=((l=o.settings)==null?void 0:l.backgroundColor)??"white",o.settings.textColor=((c=o.settings)==null?void 0:c.textColor)??"black",o.settings.borderTopWidth=0,o.settings.borderTopColor="transparent",(u=this.$ss)!=null&&u.useNewDesign||(((f=(d=this.$ss)==null?void 0:d.baseStyles)==null?void 0:f.siteTheme)===1?(o.settings.backgroundColor=s?"transparent":"white",o.settings.borderTopWidth=n===a?5:0,o.settings.borderTopColor=n===a?this.$ss.baseStyles.primaryColor:"transparent"):((b=(m=this.$ss)==null?void 0:m.baseStyles)==null?void 0:b.siteTheme)===2&&(o.settings.backgroundColor=(y=o.settings)!=null&&y.groupBlocks?"white":"transparent",o.settings.borderRadius=(x=o.settings)==null?void 0:x.groupBlocks,o.settings.dropShadow=(w=o.settings)==null?void 0:w.groupBlocks)),o.columns.map(g=>{const h=[];g.blocks.map(p=>{var E,F,N,v,T,I,A,z,$,R,q,j,X,me,be,Q,U,J,ce,_e,D,Z,ne,ie,ge,pe,C,k,M,W,H,Y,ae,oe,re,ee;let _=!1;(p.type==="content_list"||p.type==="carousel"||p.type==="related_content"||p.type==="content_image_grid"||p.type==="external_rss_feed")&&((F=(E=p==null?void 0:p.data)==null?void 0:E.items)==null?void 0:F.length)===0&&(_=!0),p.type==="image_gallery"&&!((N=p.data)!=null&&N.primaryImage)&&(_=!0),p.type==="gating_form"&&((I=(T=(v=this.page)==null?void 0:v.pageData)==null?void 0:T.gating)==null?void 0:I.surveyType)!=="omeda"&&(((z=(A=this.page)==null?void 0:A.pageData)==null?void 0:z.membership)??[]).length===0&&(_=!0),p.type==="comments"&&!((R=($=this.$ss)==null?void 0:$.memberships)!=null&&R.commenting)&&(_=!0),p.type==="blueconic_recommendations"&&p.settings.method==="api"&&((j=(q=p==null?void 0:p.data)==null?void 0:q.items)==null?void 0:j.length)===0&&(_=!0),["author_profile","company_banner","company_overview","company_key_contact","content_title","content_sidebars","share_links","content_primary_image","section_overview","site_search","carousel"].includes(p.type)&&!(p!=null&&p.data)&&(_=!0),p.type==="about_author"&&(!((me=(X=p==null?void 0:p.data)==null?void 0:X.items)!=null&&me.length)||!((Q=(be=p==null?void 0:p.data)==null?void 0:be.ids)!=null&&Q.length))&&(_=!0),p.type==="subscribe"&&(_=((J=(U=this.$ss.newsletters)==null?void 0:U.enabledNewsletters)==null?void 0:J.length)===0||((_e=(ce=this.$ss.newsletters)==null?void 0:ce.enabledNewsletters)==null?void 0:_e.find(xe=>xe.showInSubscribeBlock===!0))===void 0),p.type==="company_key_contact"&&!((Z=(D=p==null?void 0:p.data)==null?void 0:D.publicContacts)!=null&&Z.edges.length)&&(_=!0),p.type==="comments"&&!this.$ss.memberships.commenting&&(_=!0),p.type==="inquiry_form"&&!((ne=p==null?void 0:p.data)!=null&&ne.enableRmi)&&!((ge=(ie=p==null?void 0:p.data)==null?void 0:ie.company)!=null&&ge.enableRmi)&&(_=!0),p.type==="document_download"&&!((pe=p==null?void 0:p.data)!=null&&pe.fileSrc)&&(_=!0),p.type==="company_videos"&&!((M=(k=(C=p.data)==null?void 0:C.youtubeVideos)==null?void 0:k.edges)!=null&&M.length)&&(_=!0),p.type==="webinar_link"&&!((H=(W=this.page)==null?void 0:W.pageData)!=null&&H.linkUrl)&&(_=!0),p.type==="content_primary_image"&&(!((Y=p.data)!=null&&Y.primaryImage)||!((ae=this.$ss)!=null&&ae.useNewDesign)&&((re=(oe=p.data)==null?void 0:oe.primaryImage)!=null&&re.isLogo))&&(_=!0),p.type==="content_sidebars"&&!((ee=p==null?void 0:p.data)!=null&&ee.sidebars)&&(_=!0),_||h.push({...p})}),h.length&&i.push({...g,blocks:h})}),i.length&&t.push({...o,columns:i})}),{rows:[...t]}},padTop(){var e,t,n;return((n=(t=(e=this.currentGrid)==null?void 0:e.rows[0])==null?void 0:t.settings)==null?void 0:n.verticalPadding)==="none"}},methods:{excudeBottomBorder(e){var u,d,f,m,b,y,x,w,g,h,p,_,S,E,F,N,v,T,I,A,z,$,R,q,j,X;const t=(u=this.currentGrid.rows)==null?void 0:u[e],n=((d=this.currentGrid.rows)==null?void 0:d[e+1])??{},r=(x=(y=(b=(m=(f=t==null?void 0:t.columns)==null?void 0:f[0])==null?void 0:m.blocks)==null?void 0:b[0])==null?void 0:y.settings)==null?void 0:x.colorScheme,o=(p=(h=(g=(w=t==null?void 0:t.columns)==null?void 0:w[0])==null?void 0:g.blocks)==null?void 0:h[0])==null?void 0:p.type,a=(N=(F=(E=(S=(_=n==null?void 0:n.columns)==null?void 0:_[0])==null?void 0:S.blocks)==null?void 0:E[0])==null?void 0:F.settings)==null?void 0:N.colorScheme,i=(A=(I=(T=(v=n==null?void 0:n.columns)==null?void 0:v[0])==null?void 0:T.blocks)==null?void 0:I[0])==null?void 0:A.type,s=(z=n==null?void 0:n.settings)==null?void 0:z.title,l=(X=(j=(q=(R=($=n==null?void 0:n.columns)==null?void 0:$[0])==null?void 0:R.blocks)==null?void 0:q[0])==null?void 0:j.settings)==null?void 0:X.title;let c=!1;return(s||l||o==="gam_ad"||i==="gam_ad"||r&&r!=="default"||a&&a!=="default")&&(c=!0),c}}};function sD(e,t,n,r,o,a){var s,l;const i=aD;return P(),V("div",{ref:"grid",class:"grid",style:de({maxWidth:n.fullWidth?"100%":e.$ss.siteMaxWidth+"px",paddingTop:(s=e.$ss)!=null&&s.useNewDesign?0:a.padTop?"15px":"0",marginTop:(l=e.$ss)!=null&&l.useNewDesign?0:"15px"})},[(P(!0),V(we,null,De(a.currentGrid.rows,(c,u)=>{var d,f,m,b,y,x,w,g;return P(),ye(i,{key:c.id,row:{...c},"row-index":u,"is-reskin-active":n.isReskinActive,class:Se(["grid-row",(d=e.$ss)!=null&&d.useNewDesign?"new-design":"",a.excudeBottomBorder(u)||((f=c.settings)==null?void 0:f.width)==="restricted"||((x=(y=(b=(m=a.currentGrid)==null?void 0:m.rows)==null?void 0:b[u+1])==null?void 0:y.settings)==null?void 0:x.width)==="restricted"?"hide-bottom-border":"",((w=c==null?void 0:c.settings)==null?void 0:w.displayCondition)??"always"]),style:de({marginBottom:(g=e.$ss)!=null&&g.useNewDesign&&u+1<a.currentGrid.rows.length?`${e.$ss.general.spacing}px`:"0"})},null,8,["row","row-index","is-reskin-active","class","style"])}),128))],4)}const lD=Fe(iD,[["render",sD],["__scopeId","data-v-feec86dc"]]),cD={props:{event:{type:String,default:""}},mounted(){Tr.getCategories().performance&&Rn.trackEvent({event:this.event})}};function uD(e,t,n,r,o,a){return P(),V("div",{class:Se(["ebm-gtm_event_trigger",n.event])},null,2)}const dD=Fe(cD,[["render",uD]]),fD={props:{id:{type:String,default:null},required:{type:Boolean,default:!1}}},pD=["for"],mD={key:0,class:"text-danger"};function hD(e,t,n,r,o,a){var i;return P(),V("label",{for:n.id,class:Se(["field-label",(i=e.$ss)!=null&&i.useNewDesign?"new-design":""])},[$t(e.$slots,"default",{},void 0,!0),n.required?(P(),V("div",mD,"*")):le("",!0)],10,pD)}const gD=Fe(fD,[["render",hD],["__scopeId","data-v-596b497a"]]),yD={props:{fieldInfo:{type:Object},fieldValues:{type:Object},hidePopulated:{type:Boolean,default:!1}},emits:["update"],setup(e){const t={},n=o=>o.slice(0,1).toUpperCase()+o.slice(1,o.length),r=o=>o.split("_").map(a=>n(a.split("/").map(n).join("/"))).join("").replaceAll("Input","");return e.fieldInfo.rows.forEach((o,a)=>{Object.keys(o.fields).forEach(i=>{var l;const s=o.fields[i];if(!t[s.type]){const c="WebFormField"+r(s.type);t[s.type]=gn(()=>Nv(Object.assign({"../fields/WebFormFieldCheckbox.vue":()=>L(()=>import("./WebFormFieldCheckbox-D7R0SBta.mjs"),__vite__mapDeps([394,395,396]),import.meta.url),"../fields/WebFormFieldCheckboxGroup.vue":()=>L(()=>import("./WebFormFieldCheckboxGroup--rMIMiqt.mjs"),__vite__mapDeps([397,398,395,399]),import.meta.url),"../fields/WebFormFieldDate.vue":()=>L(()=>import("./WebFormFieldDate-BU7-GRsB.mjs"),__vite__mapDeps([400,398,395,401]),import.meta.url),"../fields/WebFormFieldEmail.vue":()=>L(()=>import("./WebFormFieldEmail-Brcc7HS2.mjs"),__vite__mapDeps([402,398,395,403]),import.meta.url),"../fields/WebFormFieldLocale.vue":()=>L(()=>import("./WebFormFieldLocale-ABL281Sf.mjs"),__vite__mapDeps([404,395]),import.meta.url),"../fields/WebFormFieldMultiLineText.vue":()=>L(()=>import("./WebFormFieldMultiLineText-BAe1FmZB.mjs"),__vite__mapDeps([405,398,395,406]),import.meta.url),"../fields/WebFormFieldNumber.vue":()=>L(()=>import("./WebFormFieldNumber-B-nawvbP.mjs"),__vite__mapDeps([407,398,395,408]),import.meta.url),"../fields/WebFormFieldPassword.vue":()=>L(()=>import("./WebFormFieldPassword-BgPT9oHh.mjs"),__vite__mapDeps([409,398,395,410]),import.meta.url),"../fields/WebFormFieldPhone.vue":()=>L(()=>import("./WebFormFieldPhone-Cj5gXEPV.mjs"),__vite__mapDeps([411,398,395,412]),import.meta.url),"../fields/WebFormFieldRadioGroup.vue":()=>L(()=>import("./WebFormFieldRadioGroup-CxSwJAOh.mjs"),__vite__mapDeps([413,398,395,414]),import.meta.url),"../fields/WebFormFieldSelect.vue":()=>L(()=>import("./WebFormFieldSelect--bj6hTgx.mjs"),__vite__mapDeps([415,18,19,395,416]),import.meta.url),"../fields/WebFormFieldText.vue":()=>L(()=>import("./WebFormFieldText-T8o67AAB.mjs"),__vite__mapDeps([417,398,395,418]),import.meta.url)}),`../fields/${c}.vue`,3))}e.hidePopulated&&((l=e.fieldValues)!=null&&l[i])&&delete e.fieldInfo.rows[a].fields[i]})}),{fieldComponents:t}},methods:{fieldProps(e,t){var r;return{...t,name:e,value:((r=this.fieldValues)==null?void 0:r[e])??null}},update(e,t,n){this.$emit("update",e,t,n)},rowColumns(e){const t=Object.keys(e.fields).length,n=(e==null?void 0:e.numberOfColumns)??1;return t>n?n:t},cleanLabel(e){return e.replace(/(<([^>]+)>)/gi,"")}}};function bD(e,t,n,r,o,a){var l;const i=gD,s=$s;return P(),V("div",{class:Se(["web-form-fields",(l=e.$ss)!=null&&l.useNewDesign?"new-design":""])},[O("div",{class:"form",style:de({fontFamily:e.$ss.primaryFontFamily})},[(P(!0),V(we,null,De(n.fieldInfo.rows,(c,u)=>(P(),V("div",{key:u,style:de({zIndex:n.fieldInfo.rows.length-u}),class:"row"},[O("div",{class:Se(`fields columns-${a.rowColumns(c)}`)},[K(s,null,{default:Be(()=>[(P(!0),V(we,null,De(c.fields,(d,f)=>(P(),V("div",{key:f,class:"field"},[d.label&&d.type!=="checkbox"?(P(),ye(i,{key:0,required:d.required},{default:Be(()=>[nt(Ie(a.cleanLabel(d.label)),1)]),_:2},1032,["required"])):le("",!0),(P(),ye(ar(r.fieldComponents[d.type]),jt({ref_for:!0},a.fieldProps(f,d),{onChangeValue:a.update}),null,16,["onChangeValue"]))]))),128))]),_:2},1024)],2)],4))),128))],4)],2)}const vD=Fe(yD,[["render",bD]]),_D={props:{error:{type:[String,Object]},message:{type:[String,Boolean,Object]},qualifyingMembership:{type:[String,Boolean,Object]},processing:{type:Boolean,default:!1},padding:{type:String,default:"15px"},includeFrame:{type:Boolean,default:!0}}},wD={key:0,class:"spinner"},xD={key:1,class:"form-error"},CD=["innerHTML"],SD={key:2,class:"form-message"},TD=["innerHTML"];function kD(e,t,n,r,o,a){var s,l;const i=Ot;return P(),V("div",{class:Se(["web-form-wrapper",(s=e.$ss)!=null&&s.useNewDesign?"new-design":"",n.includeFrame?"include-frame":""]),style:de({padding:n.padding})},[n.processing?(P(),V("div",wD,[O("div",null,[K(i,{icon:"ei:spinner-3",width:100,"icon-color":(l=e.$ss)!=null&&l.useNewDesign?e.$ss.colors.primary.main:e.$ss.baseStyles.primaryColor},null,8,["icon-color"])])])):le("",!0),n.error?(P(),V("div",xD,[K(i,{icon:"mdi:alert","icon-color":"ba3329",class:"icon",width:16}),O("div",{innerHTML:n.error},null,8,CD)])):le("",!0),n.message||n.qualifyingMembership?(P(),V("div",SD,[K(i,{icon:"mdi:alert-circle","icon-color":"34a853",class:"icon",width:16}),O("div",{innerHTML:n.message??n.qualifyingMembership.message},null,8,TD)])):le("",!0),$t(e.$slots,"default")],6)}const ED=Fe(_D,[["render",kD]]),ID={__name:"WebPane",emits:["close","open"],setup(e,{expose:t,emit:n}){const r=n,{$cmsUser:o}=G(),a=o.isLoggedIn(),i=he(!1);function s(){i.value=!0,r("open")}function l(){i.value=!1,r("close")}function c(u){(u==null?void 0:u.key)==="Escape"&&(u.preventDefault(),l())}return Xe(()=>{window.addEventListener("keydown",c)}),qt(()=>window.removeEventListener("keydown",c)),t({open:s,close:l,isOpen:i}),(u,d)=>{const f=$s;return P(),ye(f,null,{default:Be(()=>[(P(),ye(ls,{to:".ebm-layout"},[O("div",{class:Se(["ebm-web-pane",{hidden:!B(i)}])},[d[0]||(d[0]=O("div",{class:"web-pane-mask"},null,-1)),O("div",{class:Se(["contents",{"cms-user-logged-in":B(a)}])},[$t(u.$slots,"default")],2)],2)]))]),_:3})}}};function PD(e={}){e=zR(e,{inlineLabels:!1,alphaCodeSize:3});const t=gb.map(({label:a,friendlyLabel:i,alpha2code:s,alpha3code:l,regions:c,compliance:u})=>({label:a,friendlyLabel:i,value:e.alphaCodeSize===3?l:s,regions:c,compliance:u})),n={countryCode:null,region:null,compliance:null},r={countryCode:{type:"select",label:e.inlineLabels?null:"Country",options:t,required:!0,showErrors:!1,placeholder:e.inlineLabels?"Country":"Select..."},region:{type:"select",label:e.inlineLabels?null:"",options:[],required:!0,showErrors:!1,placeholder:e.inlineLabels?"":"Select..."},compliance:{type:"checkbox",label:"I acknowledge and agree to Endeavor’s Terms of Use and processing my personal information to provide the services I have requested and to communicate with me by email or mail about offerings by Endeavor, its brands, affiliates and/or third-party partners, consistent with Endeavor’s Privacy Policy.",showErrors:!1}};return{countries:t,localeValues:n,localeFields:r,getCurrentCountry:a=>t.find(i=>i.value===a)}}var ya={},$v={},bo={},Ua={},OD=yn&&yn.__awaiter||function(e,t,n,r){function o(a){return a instanceof n?a:new n(function(i){i(a)})}return new(n||(n=Promise))(function(a,i){function s(u){try{c(r.next(u))}catch(d){i(d)}}function l(u){try{c(r.throw(u))}catch(d){i(d)}}function c(u){u.done?a(u.value):o(u.value).then(s,l)}c((r=r.apply(e,t||[])).next())})},LD=yn&&yn.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,o,a,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(u){return l([c,u])}}function l(c){if(r)throw new TypeError("Generator is already executing.");for(;i&&(i=0,c[0]&&(n=0)),n;)try{if(r=1,o&&(a=c[0]&2?o.return:c[0]?o.throw||((a=o.return)&&a.call(o),0):o.next)&&!(a=a.call(o,c[1])).done)return a;switch(o=0,a&&(c=[c[0]&2,a.value]),c[0]){case 0:case 1:a=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,o=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(a=n.trys,!(a=a.length>0&&a[a.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!a||c[1]>a[0]&&c[1]<a[3])){n.label=c[1];break}if(c[0]===6&&n.label<a[1]){n.label=a[1],a=c;break}if(a&&n.label<a[2]){n.label=a[2],n.ops.push(c);break}a[2]&&n.ops.pop(),n.trys.pop();continue}c=t.call(e,n)}catch(u){c=[6,u],o=0}finally{r=a=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}};Object.defineProperty(Ua,"__esModule",{value:!0});Ua.ReCaptchaInstance=void 0;var AD=function(){function e(t,n,r){this.siteKey=t,this.recaptchaID=n,this.recaptcha=r,this.styleContainer=null}return e.prototype.execute=function(t){return OD(this,void 0,void 0,function(){var n;return LD(this,function(r){switch(r.label){case 0:return this.recaptcha.enterprise?[4,this.recaptcha.enterprise.execute(this.recaptchaID,{action:t})]:[3,2];case 1:return n=r.sent(),[3,4];case 2:return[4,this.recaptcha.execute(this.recaptchaID,{action:t})];case 3:n=r.sent(),r.label=4;case 4:return[2,n]}})})},e.prototype.getSiteKey=function(){return this.siteKey},e.prototype.hideBadge=function(){this.styleContainer===null&&(this.styleContainer=document.createElement("style"),this.styleContainer.innerHTML=".grecaptcha-badge{visibility:hidden !important;}",document.head.appendChild(this.styleContainer))},e.prototype.showBadge=function(){this.styleContainer!==null&&(document.head.removeChild(this.styleContainer),this.styleContainer=null)},e}();Ua.ReCaptchaInstance=AD;var _u=yn&&yn.__assign||function(){return _u=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},_u.apply(this,arguments)};Object.defineProperty(bo,"__esModule",{value:!0});bo.getInstance=bo.load=void 0;var MD=Ua,zn;(function(e){e[e.NOT_LOADED=0]="NOT_LOADED",e[e.LOADING=1]="LOADING",e[e.LOADED=2]="LOADED"})(zn||(zn={}));var Uv=function(){function e(){}return e.load=function(t,n){if(n===void 0&&(n={}),typeof document>"u")return Promise.reject(new Error("This is a library for the browser!"));if(e.getLoadingState()===zn.LOADED)return e.instance.getSiteKey()===t?Promise.resolve(e.instance):Promise.reject(new Error("reCAPTCHA already loaded with different site key!"));if(e.getLoadingState()===zn.LOADING)return t!==e.instanceSiteKey?Promise.reject(new Error("reCAPTCHA already loaded with different site key!")):new Promise(function(o,a){e.successfulLoadingConsumers.push(function(i){return o(i)}),e.errorLoadingRunnable.push(function(i){return a(i)})});e.instanceSiteKey=t,e.setLoadingState(zn.LOADING);var r=new e;return new Promise(function(o,a){r.loadScript(t,n.useRecaptchaNet||!1,n.useEnterprise||!1,n.renderParameters?n.renderParameters:{},n.customUrl).then(function(){e.setLoadingState(zn.LOADED);var i=r.doExplicitRender(grecaptcha,t,n.explicitRenderParameters?n.explicitRenderParameters:{},n.useEnterprise||!1),s=new MD.ReCaptchaInstance(t,i,grecaptcha);e.successfulLoadingConsumers.forEach(function(l){return l(s)}),e.successfulLoadingConsumers=[],n.autoHideBadge&&s.hideBadge(),e.instance=s,o(s)}).catch(function(i){e.errorLoadingRunnable.forEach(function(s){return s(i)}),e.errorLoadingRunnable=[],a(i)})})},e.getInstance=function(){return e.instance},e.setLoadingState=function(t){e.loadingState=t},e.getLoadingState=function(){return e.loadingState===null?zn.NOT_LOADED:e.loadingState},e.prototype.loadScript=function(t,n,r,o,a){var i=this;n===void 0&&(n=!1),r===void 0&&(r=!1),o===void 0&&(o={}),a===void 0&&(a="");var s=document.createElement("script");s.setAttribute("recaptcha-v3-script",""),s.setAttribute("async",""),s.setAttribute("defer","");var l="https://www.google.com/recaptcha/api.js";n?r?l="https://recaptcha.net/recaptcha/enterprise.js":l="https://recaptcha.net/recaptcha/api.js":r&&(l="https://www.google.com/recaptcha/enterprise.js"),a&&(l=a),o.render&&(o.render=void 0);var c=this.buildQueryString(o);return s.src=l+"?render=explicit"+c,new Promise(function(u,d){s.addEventListener("load",i.waitForScriptToLoad(function(){u(s)},r),!1),s.onerror=function(f){e.setLoadingState(zn.NOT_LOADED),d(f)},document.head.appendChild(s)})},e.prototype.buildQueryString=function(t){var n=Object.keys(t);return n.length<1?"":"&"+Object.keys(t).filter(function(r){return!!t[r]}).map(function(r){return r+"="+t[r]}).join("&")},e.prototype.waitForScriptToLoad=function(t,n){var r=this;return function(){window.grecaptcha===void 0?setTimeout(function(){r.waitForScriptToLoad(t,n)},e.SCRIPT_LOAD_DELAY):n?window.grecaptcha.enterprise.ready(function(){t()}):window.grecaptcha.ready(function(){t()})}},e.prototype.doExplicitRender=function(t,n,r,o){var a=_u({sitekey:n},r);return r.container?o?t.enterprise.render(r.container,a):t.render(r.container,a):o?t.enterprise.render(a):t.render(a)},e.loadingState=null,e.instance=null,e.instanceSiteKey=null,e.successfulLoadingConsumers=[],e.errorLoadingRunnable=[],e.SCRIPT_LOAD_DELAY=25,e}();bo.load=Uv.load;bo.getInstance=Uv.getInstance;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ReCaptchaInstance=e.getInstance=e.load=void 0;var t=bo;Object.defineProperty(e,"load",{enumerable:!0,get:function(){return t.load}}),Object.defineProperty(e,"getInstance",{enumerable:!0,get:function(){return t.getInstance}});var n=Ua;Object.defineProperty(e,"ReCaptchaInstance",{enumerable:!0,get:function(){return n.ReCaptchaInstance}})})($v);const RD=Sd(Cw);var Fv=yn&&yn.__awaiter||function(e,t,n,r){function o(a){return a instanceof n?a:new n(function(i){i(a)})}return new(n||(n=Promise))(function(a,i){function s(u){try{c(r.next(u))}catch(d){i(d)}}function l(u){try{c(r.throw(u))}catch(d){i(d)}}function c(u){u.done?a(u.value):o(u.value).then(s,l)}c((r=r.apply(e,t||[])).next())})},Vv=yn&&yn.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,o,a,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(u){return l([c,u])}}function l(c){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,o&&(a=c[0]&2?o.return:c[0]?o.throw||((a=o.return)&&a.call(o),0):o.next)&&!(a=a.call(o,c[1])).done)return a;switch(o=0,a&&(c=[c[0]&2,a.value]),c[0]){case 0:case 1:a=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,o=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(a=n.trys,!(a=a.length>0&&a[a.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!a||c[1]>a[0]&&c[1]<a[3])){n.label=c[1];break}if(c[0]===6&&n.label<a[1]){n.label=a[1],a=c;break}if(a&&n.label<a[2]){n.label=a[2],n.ops.push(c);break}a[2]&&n.ops.pop(),n.trys.pop();continue}c=t.call(e,n)}catch(u){c=[6,u],o=0}finally{r=a=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}};Object.defineProperty(ya,"__esModule",{value:!0});var Hv=ya.useReCaptcha=jv=ya.VueReCaptcha=void 0,ND=$v,wu=RD,qv=Symbol("VueReCaptchaInjectKey"),oo={loadedWaiters:[],error:null},jv=ya.VueReCaptcha={install:function(e,t){var n=wu.ref(!1),r=wu.ref(void 0);e.config.globalProperties.$recaptchaLoaded=Tm(n),DD(t).then(function(o){n.value=!0,r.value=o,e.config.globalProperties.$recaptcha=km(r),e.config.globalProperties.$recaptchaInstance=r,oo.loadedWaiters.forEach(function(a){return a.resolve(!0)})}).catch(function(o){oo.error=o,oo.loadedWaiters.forEach(function(a){return a.reject(o)})}),e.provide(qv,{instance:r,isLoaded:n,executeRecaptcha:km(r),recaptchaLoaded:Tm(n)})}};function BD(){return wu.inject(qv)}Hv=ya.useReCaptcha=BD;function DD(e){return Fv(this,void 0,void 0,function(){return Vv(this,function(t){switch(t.label){case 0:return[4,ND.load(e.siteKey,e.loaderOptions)];case 1:return[2,t.sent()]}})})}function Tm(e){return function(){return new Promise(function(t,n){if(oo.error!==null)return n(oo.error);if(e.value)return t(!0);oo.loadedWaiters.push({resolve:t,reject:n})})}}function km(e){var t=this;return function(n){return Fv(t,void 0,void 0,function(){var r;return Vv(this,function(o){switch(o.label){case 0:return[4,(r=e.value)===null||r===void 0?void 0:r.execute(n)];case 1:return[2,o.sent()]}})})}}function $D(e){const{vueApp:t}=G();t.use(jv,{siteKey:e,loaderOptions:{autoHideBadge:!0}});const{executeRecaptcha:n,recaptchaLoaded:r}=Hv();return async o=>(await r(),await n(o))}const UD=e=>{let t=0;const n=r=>{Object.keys(r).forEach(o=>{o==="valid"&&r[o]===!1&&t++,typeof r[o]=="object"&&r[o]!==null&&n(r[o])})};return n(e),t},FD={class:"ebm-web-subscribe-wrapper"},VD={class:"ebm-web-subscribe-content"},HD={class:"web-subscribe-header"},qD={class:"web-subscribe-title"},jD={class:"web-subscribe-subtext"},WD={key:0},zD={key:0},GD={key:1},KD={class:"newsletter-items"},YD={class:"newsletter-title"},JD={class:"newsletter-description"},QD={key:0,class:"web-subscribe-footer"},XD={key:0,class:"user-info-container"},ZD={class:"nl-user-info"},e3={key:1,class:"subscribe-login-container"},t3={class:"nl-selected"},n3={class:"form-fields-setup"},r3={key:2,class:"subscribe-consent"},o3={class:"account-check"},a3=["href"],i3={__name:"WebSubscribePane",async setup(e,{expose:t}){let n,r;t({open:F,close:N});const{$ss:o,$gql:a}=G(),i=he(null),s=he(null),l=he([]),c=he([]),{localeFields:u,getCurrentCountry:d}=PD(),f=Ye({message:"",processing:!1,showErrors:!1,error:"",fieldValues:{email:""},fieldValuesCompliance:{},fieldErrors:{},complianceNeeded:!1}),m=he(null),b=Ye({rows:[{fields:{email:{type:"email_input",label:"Email Address",placeholder:"Enter your email here",required:!0,showErrors:!1,icon:!1}}},{fields:{countryCode:u.countryCode}}]}),y=Ye({rows:[{fields:{compliance:u.compliance}}]}),{data:x}=([n,r]=gs(()=>hb("recaptcha",()=>a.query("getReCAPTCHAPublicKey"))),n=await n,r(),n);i.value=$D(x.value.data),pt(()=>f.fieldValues.countryCode,()=>{g()});function w(v,T,I){f.fieldValues[v]=T,f.fieldErrors[v]={errorObj:I}}function g(){const v=d(f.fieldValues.countryCode);v!=null&&v.regions?(u.region.options=v.regions.options,u.region.label=v.regions.label,u.region.placeholder=v.regions.label,b.rows[2]={fields:{region:u.region}}):(delete f.fieldValues.region,b.rows.splice(2,1)),v!=null&&v.compliance?f.complianceNeeded=!0:(delete f.fieldValues.compliance,w({...f.fieldValues,error:{valid:!0,errors:[]}}),f.complianceNeeded=!1)}function h(v,T){if(s.value){E(v,T);return}const I=l.value.indexOf(v);I===-1?l.value.push(v):l.value.splice(I,1)}function p(){f.showErrors=UD(f.fieldErrors.email??{})>0,S()}async function _(){var v,T;try{if(f.error="",l.value.length===0)throw new Error("Please select a newsletter before continuing");if(f.showErrors)throw new Error("Please correct issues with this form");f.fieldValues.compliance===""&&(f.fieldValues.compliance=!1),f.processing=!0;const I=await i.value("newsletterSubscribeSignUp"),A=((T=(v=Ge())==null?void 0:v.query)==null?void 0:T.pk)??o.newsletters.subscribeBlockSettings.promoCode,z={email:f.fieldValues.email,omedaProducts:l.value,countryCode:f.fieldValues.countryCode,regionCode:f.fieldValues.region,consent:te.formatConsentObject({country:f.fieldValues.countryCode,region:f.fieldValues.region,compliance:f.fieldValues.compliance}),recaptchaToken:I,promoCode:A},$=await a.mutate("subscribeAnonymousCustomer",z);if($.error)throw new Error($.message);f.message="You're all done! You will now receive updates from the newsletter(s) you selected."}catch(I){f.error=I}finally{f.processing=!1}}function S(){var v,T,I,A,z,$;b.rows[0].fields.email.showErrors=!((v=f.fieldErrors.email)!=null&&v.errorObj.valid),b.rows[1].fields.countryCode.showErrors=!((T=f.fieldErrors.countryCode)!=null&&T.errorObj.valid),(I=b.rows[2])!=null&&I.fields.region&&(b.rows[2].fields.region.showErrors=!((A=f.fieldErrors.region)!=null&&A.errorObj.valid)),(z=y.rows[0])!=null&&z.fields.compliance&&(y.rows[0].fields.compliance.showErrors=!(($=f.fieldErrors.compliance)!=null&&$.errorObj.valid))}async function E(v,T){var I,A;if(l.value.includes(v))confirm("Are you sure you wish to opt out from this newsletter?")&&((await te.unsubscribeToNewsletter(v)).error?Et.error("Newsletter opt out failed. Please try again or contact support for assistance."):(l.value.splice(l.value.indexOf(v),1),Et.success("Newsletter opt out successful!")));else{const z=((A=(I=Ge())==null?void 0:I.query)==null?void 0:A.pk)??o.newsletters.subscribeBlockSettings.promoCode;(await te.subscribeToNewsletter(v,T,"nl_widget",z)).error?Et.error("Newsletter opt in failed. Please try again or contact support for assistance."):(l.value.push(v),Et.success("Newsletter opt in successful!"))}}function F(){m.value.open()}function N(){m.value.close()}return Xe(async()=>{var v;s.value=await te.getUserInfo(),l.value=((v=s.value)==null?void 0:v.newsletters)??[],c.value=o.newsletters.enabledNewsletters.filter(T=>s.value?!l.value.includes(T.omedaProductId)&&T.showInSubscribeBlock:T.showInSubscribeBlock)}),(v,T)=>{const I=Ot,A=vD,z=To,$=ED,R=ID;return P(),ye(R,{ref_key:"pane",ref:m},{default:Be(()=>[O("div",FD,[O("div",VD,[O("div",HD,[O("div",qD,[T[1]||(T[1]=O("h2",null,"Select the newsletters you want to receive",-1)),O("div",{class:"close-button",onClick:N},[T[0]||(T[0]=nt(" Close ")),K(I,{icon:"mdi:close",class:"close-icon","icon-color":"black",width:20})])]),O("div",jD,Ie(B(o).new.general.siteName)+" Email Newsletters ",1),B(c).length===0?(P(),V("div",WD,[B(s)?(P(),V("div",zD," Congrats, you have subscribed to all of our newsletters! Please check back later to see if we have added any new ones. ")):(P(),V("div",GD," There are no newsletters currently available, please check back later. "))])):le("",!0),O("div",KD,[(P(!0),V(we,null,De(B(c),q=>{var j;return P(),V("div",{key:q.id,class:"newsletter-item"},[O("div",YD,[nt(Ie(q.title)+" ",1),K(I,{icon:B(l).includes(q.omedaProductId)?"mdi:check-circle":"mdi:circle-outline",width:26,"icon-color":B(l).includes(q.omedaProductId)?(j=B(o).colors)==null?void 0:j.primary.main:"black",onClick:X=>h(q.omedaProductId,q.title)},null,8,["icon","icon-color","onClick"])]),O("div",JD,Ie(q.description.replace(/(<([^>]+)>)/gi,"")),1)])}),128))])])]),B(c).length>0?(P(),V("div",QD,[K($,{error:B(f).error,message:B(f).message,processing:B(f).processing,class:"subscribe-footer-wrapper"},{default:Be(()=>{var q,j;return[B(s)?(P(),V("div",XD,[O("div",ZD,[K(I,{icon:"mdi:user-circle",width:26,"icon-color":(q=B(o).colors)==null?void 0:q.primary.main},null,8,["icon-color"]),nt(" Logged in as "+Ie((j=B(s))==null?void 0:j.email)+". ",1)])])):(P(),V("div",e3,[O("div",t3,Ie(B(l).length)+" newsletters selected ",1),T[2]||(T[2]=nt(" Enter your email address to subscribe! ")),O("form",{onSubmit:Cs(_,["prevent"])},[O("div",n3,[K(A,{"field-info":B(b),"field-values":B(f).fieldValues,onUpdate:w},null,8,["field-info","field-values"]),K(z,{class:"subscribe-button",type:"submit",label:"Subscribe Now",icon:"ic:round-arrow-forward","icon-position":"right",size:"large",onOnClick:p})]),B(f).complianceNeeded?(P(),ye(A,{key:0,class:"compliance-field","field-info":B(y),"field-values":B(f).fieldValuesCompliance,onUpdate:w},null,8,["field-info","field-values"])):le("",!0)],32)])),B(s)?le("",!0):(P(),V("div",r3,[T[4]||(T[4]=nt(" By signing up, you agree to communications from Endeavor Business Media and its trusted partners. ")),T[5]||(T[5]=O("br",null,null,-1)),T[6]||(T[6]=nt(" For more details please refer to our ")),T[7]||(T[7]=O("a",{href:"https://www.endeavorbusinessmedia.com/privacy-policy",target:"_blank"},"Privacy Notice",-1)),T[8]||(T[8]=nt(". You can unsubscribe at any time. ")),O("div",o3,[T[3]||(T[3]=nt(" Already have an account? ")),O("a",{href:("useSiteUser"in v?v.useSiteUser:B(te)).getLoginLink(),onClick:N}," Login ",8,a3)])]))]}),_:1},8,["error","message","processing"])])):le("",!0)])]),_:1},512)}}},Wv=ud("/images/corporate_logo.png"),s3={class:"web-footer-new"},l3={class:"container"},c3={class:"container-wrapper"},u3={class:"row"},d3={class:"column-wrapper cols1_1_1"},f3={class:"col"},p3={href:"/"},m3={class:"text"},h3={class:"col"},g3={class:"text"},y3={class:"col"},b3={class:"text"},v3={key:0,class:"row"},_3={class:"column-wrapper"},w3={class:"col"},x3={class:"row"},C3={class:"menu-copyright"},S3={class:"links"},T3=["href","target"],k3={class:"copyright valign-middle"},E3={style:{alignSelf:"flex-end"}},I3={__name:"WebFooterNew",props:{corporateSite:{type:String,default:"https://www.endeavorbusinessmedia.com/"}},setup(e){var l,c,u,d,f,m,b,y;const{$ss:t}=G(),n=et(new Date,"yyyy"),r=((c=(l=t.new)==null?void 0:l.header)==null?void 0:c.logo.split("?")[0])+"?height=45",o=((d=(u=t.new)==null?void 0:u.footer)==null?void 0:d.text)??"",a=((m=(f=t.new)==null?void 0:f.footer)==null?void 0:m.signupText)??"",i=((y=(b=t.new)==null?void 0:b.footer)==null?void 0:y.contactUsText)??"",s=he(null);return(x,w)=>{var E,F,N;const g=Ad,h=To,p=Gs,_=Av,S=i3;return P(),V("footer",s3,[O("div",l3,[O("div",c3,[O("div",u3,[O("div",d3,[O("div",f3,[O("a",p3,[K(g,{class:"sitelogo",src:r,height:35,alt:B(t).general.siteName},null,8,["alt"])]),O("div",m3,Ie(B(o)),1)]),O("div",h3,[w[1]||(w[1]=O("div",{class:"blocktitle"}," Newsletters ",-1)),O("div",g3,Ie(B(a)),1),K(h,{label:"Sign Up",icon:"ic:round-arrow-forward",size:"large","icon-position":"right",type:"button",style:{maxWidth:"118px"},onOnClick:w[0]||(w[0]=v=>B(s).open())})]),O("div",y3,[w[2]||(w[2]=O("div",{class:"blocktitle"}," Connect ",-1)),O("div",b3,Ie(B(i)),1),K(p,{class:"socials","icon-width":20,"use-primary-color":!0})])])]),((N=(F=(E=B(t).menu)==null?void 0:E.affiliated_brands)==null?void 0:F.links)==null?void 0:N.length)>0?(P(),V("div",v3,[O("div",_3,[O("div",w3,[K(_,{class:"web-affiliated-brands-direction"})])])])):le("",!0),O("div",x3,[O("div",C3,[O("ul",S3,[(P(!0),V(we,null,De(B(t).menu.footer.links,v=>(P(),V("li",{key:v.href},[O("a",{class:"link",href:v.href,target:v.href[0]==="/"?"_self":"_blank"},Ie(v.label),9,T3)]))),128))]),O("div",k3,[w[3]||(w[3]=O("img",{src:Wv,alt:"Endeavor Business Media Logo",loading:"lazy",class:"corporatelogo"},null,-1)),O("div",E3," © "+Ie(B(n))+" All rights reserved. ",1)])])])])]),K(S,{ref_key:"subscribePane",ref:s},null,512)])}}},P3={props:{corporateSite:{type:String,default:"https://www.endeavorbusinessmedia.com/"}},computed:{currentYear(){return new Date().getFullYear()},footerLogo(){return this.$ss.footer.logo.split("?")[0]+"?auto=format,compress&fit=fill&fill=solid&height=45"}}},O3={class:"ebm-footer__logo-wrapper ebm-footer--center-cross",href:"/"},L3={class:"ebm-footer__links ebm-footer--center-both"},A3=["href","target"],M3={class:"ebm-footer__copyright"},R3=["href"],N3={class:"ebm-footer__ebm-icon"},B3=["href"];function D3(e,t,n,r,o,a){const i=Ad,s=Gs;return P(),V("footer",{class:"ebm-footer",style:de({fontFamily:e.$ss.primaryFontFamily})},[O("div",{class:"ebm-footer__container ebm-footer--center-main",style:de({backgroundColor:e.$ss.footer.logoBackgroundColor})},[O("a",O3,[K(i,{class:"ebm-footer__logo",src:a.footerLogo,style:{height:"45px"},height:45,alt:e.$ss.general.siteName},null,8,["src","alt"])])],4),O("div",{class:"ebm-footer__container ebm-footer--center-both ebm-footer--column",style:de({backgroundColor:e.$ss.footer.primaryBackgroundColor})},[K(s,{class:"ebm-footer__socials","icon-width":50,"use-primary-color":!0}),O("ul",L3,[(P(!0),V(we,null,De(e.$ss.menu.footer.links,l=>(P(),V("li",{key:l.href},[O("a",{class:"ebm-footer__link",href:l.href,target:l.href[0]==="/"?"_self":"_blank"},Ie(l.label),9,A3)]))),128))]),O("div",M3,[O("a",{href:n.corporateSite,target:"_blank"}," © "+Ie(a.currentYear)+" Endeavor Business Media, LLC. All rights reserved. ",9,R3)]),O("div",N3,[O("a",{href:n.corporateSite,target:"_blank"},t[0]||(t[0]=[O("img",{src:Wv,alt:"Endeavor Business Media Logo",loading:"lazy"},null,-1)]),8,B3)])],4)],4)}const $3=Fe(P3,[["render",D3],["__scopeId","data-v-90404829"]]);function U3(){let e=[];return{cleanup:()=>{e=e.filter(r=>(r(),!1))},onCleanup:r=>{e.push(r)}}}function F3(e){let t=()=>{};const n=new Promise(o=>{t=()=>{e(),o()}});return{promise:n,resolvePromise:t,onResolvedPromise:o=>{n.then(o)}}}function V3(e){const t=e.effect.fn,n=e.render;e.render=(...r)=>{e.effect.fn=()=>n(...r);const o=e.effect.run();return e.effect.fn=t,e.render=n,o}}const H3=e=>typeof e=="function",q3=e=>e!==null&&typeof e=="object";function bi(e,t){if(Vt(e)&&(t(e),e.children!==null)){if(Array.isArray(e.children)){e.children.forEach(n=>bi(n,t));return}q3(e.children)&&Object.keys(e.children).forEach(n=>{if(!H3(e.children[n]))return;const r=e.children[n]();if(Array.isArray(r)){r.forEach(o=>bi(o,t));return}bi(r,t)})}}function j3(e){var t,n;return((t=e.type)==null?void 0:t.__asyncLoader)&&((n=e.type)==null?void 0:n.name)==="AsyncComponentWrapper"}function W3({subTree:e},t){const n=[];if(bi(e,r=>{j3(r)&&n.push(r.type.__asyncLoader())}),n.length>0){Promise.all(n).then(t);return}t()}function z3(e){if(!e||!e.subTree)return;const t=e.subTree.el,n=e.u;e.u===null&&(e.u=[]),e.u.push(()=>{e.subTree.el===null&&(e.subTree.el=t),e.u=n})}function G3(){const e=tt();if(!e||e.isMounted)throw new Error("useLazyHydration must be called from the setup method.");const t=e.vnode.el!==null;if(e.vnode.type.__isLazilyHydrated=!0,!t)return{willPerformHydration:t,onHydrated:()=>{}};const{cleanup:n,onCleanup:r}=U3(),{promise:o,resolvePromise:a,onResolvedPromise:i}=F3(n),s=l=>i(()=>at(()=>W3(e,l)));return e.type.__asyncLoader=()=>o,z3(e.parent),Ca(()=>{e.asyncDep=new Promise(l=>{l(!0)})}),i(()=>{V3(e),e.asyncDep=null}),qt(n),{willPerformHydration:t,hydrate:a,onHydrated:s,onCleanup:r}}function K3({willPerformHydration:e,hydrate:t,onCleanup:n},r=2e3){if(!e)return;if(!tt())throw new Error("useHydrateWhenIdle must be called from the setup or lifecycle hook methods.");if(!("requestIdleCallback"in window)){t();return}const o=requestIdleCallback(()=>{t()},{timeout:r});n(()=>{cancelIdleCallback(o)})}const zv={ELEMENT:1,TEXT:3,COMMENT:8},Em=e=>e&&e.nodeType===zv.ELEMENT,Gv=e=>e&&e.nodeType===zv.COMMENT,Y3=e=>Gv(e)&&(e==null?void 0:e.data)==="[",J3=e=>Gv(e)&&(e==null?void 0:e.data)==="]";function Kv({vnode:e,subTree:t}){if(!e||e.el===null)return[];if(Em(e.el))return[e.el];const n=[];if(t&&Y3(t.el)&&J3(t.anchor)){let r=e.el.nextSibling;for(;r;){if(r&&Em(r)&&n.push(r),r===t.anchor)return n;r=r.nextSibling}}return n}function Q3({willPerformHydration:e,hydrate:t,onCleanup:n},r=["focus"]){if(!e)return;const o=tt();if(!o||o.isMounted)throw new Error("useHydrateOnInteraction must be called from the setup method.");const a=B(r);Xe(()=>{const i=Kv(o),s=i.length>1?i[0].parentElement||document:i[0],l={capture:!0,once:!1,passive:!0},c=u=>{u.stopPropagation();const d=u.composedPath&&u.composedPath()||u.path;if(!d){let f=u.target;for(;f;){if(i.includes(f)){t();return}if(f===s)return;f=f.parentElement}return}i.forEach(f=>{d.includes(f)&&t()})};a.forEach(u=>{s.addEventListener(u,c,l)}),n(()=>{a.forEach(u=>{s.removeEventListener(u,c,l)})})})}function X3({willPerformHydration:e,hydrate:t,onCleanup:n},r){if(!e)return;if(!tt())throw new Error("useHydrateWhenTriggered must be called from the setup or lifecycle hook methods.");const o=pt(Je(r)?r:()=>r,a=>{a&&t()},{immediate:!0});n(o)}const Ol=new Map;function Z3(e){const t=typeof IntersectionObserver<"u";if(!t)return{supported:t};const n=JSON.stringify(e);if(Ol.has(n))return{supported:t,observer:Ol.get(n)};const r=new IntersectionObserver(o=>{o.forEach(a=>{!(a.isIntersecting||a.intersectionRatio>0)||!a.target.hydrate||a.target.hydrate()})},e);return Ol.set(n,r),{supported:t,observer:r}}function e$({willPerformHydration:e,hydrate:t,onCleanup:n},r){if(!e)return;const o=tt();if(!o||o.isMounted)throw new Error("useHydrateWhenVisible must be called from the setup method.");const{supported:a,observer:i}=Z3(r);if(!a){t();return}Xe(()=>{const s=Kv(o);s.forEach(l=>{l.hydrate=t,i.observe(l)}),n(()=>{s.forEach(l=>{delete l.hydrate,i.unobserve(l)})})})}const Im=e=>e.length===1?e[0]:e,t$=Qe({name:"LazyHydrationWrapper",inheritAttrs:!1,suspensible:!1,props:{whenIdle:{default:!1,type:[Boolean,Number]},whenVisible:{default:!1,type:[Boolean,Object]},onInteraction:{default:!1,type:[Array,Boolean,String]},whenTriggered:{default:void 0,type:[Boolean,Object]}},emits:["hydrated"],setup(e,{slots:t,emit:n}){const r=G3();if(!r.willPerformHydration)return()=>Im(t.default());if(r.onHydrated(()=>n("hydrated")),e.whenIdle&&K3(r,e.whenIdle!==!0?e.whenIdle:void 0),e.whenVisible&&e$(r,e.whenVisible!==!0?e.whenVisible:void 0),e.onInteraction){let o;e.onInteraction!==!0&&(o=se(()=>Array.isArray(e.onInteraction)?e.onInteraction:[e.onInteraction]).value),Q3(r,o)}return e.whenTriggered!==void 0&&X3(r,Mn(e,"whenTriggered")),()=>Im(t.default())}}),n$=os(t$);function r$(e={}){var p,_,S,E,F,N,v,T,I,A,z,$,R,q,j,X,me,be,Q,U;const{$ss:t}=G(),{query:n,fullPath:r}=Ge(),o=(p=e.primaryImage)!=null&&p.src?e.primaryImage.src.split("?")[0]+"?auto=format,compress&fit=fill&fill=blur&w=1200&h=630":"",a=((_=e.metadata)==null?void 0:_.description)??e.teaser??"",i=((S=e.siteContext)==null?void 0:S.path)??e.canonicalPath??"",s=e.company?e.company.id:"",l=e.company?e.company.name:"",c=e.type==="section"?"website":"article",u=((E=e.taxonomy)==null?void 0:E.edges)??[],d=((F=e.authors)==null?void 0:F.edges)??[],f=(v=(N=t.general)==null?void 0:N.enableNoIndexByContentType)==null?void 0:v.map(J=>J.toLowerCase()),b=f==null?void 0:f.includes("wip"),y=n["preview-mode"],x=`${t.header.logo.split("?")[0]}?auto=format,compress&fit=fill&fill=solid&fill-color=&w=1200&h=627`,w=[];e.websiteSchedules&&e.websiteSchedules.map(J=>{J.section.name!==e.primarySection.name&&w.push(J.section.name)});let g="";e.type&&!y&&((e.type==="Whitepaper"||e.type==="Webinar")&&((T=e.labels)!=null&&T.includes("Sponsored"))?g="internalSponsored":["Whitepaper","Webinar","Article","Video","MediaGallery"].includes(e.type)&&(g="internalEditorial"));let h={};return e.id&&e.type!=="Page"&&!y&&(h={page_type:"content",canonical_path:i,query_string:r.split("?").length>0?r.split("?")[1]:"",content:{id:e.id,type:((I=e.type)==null?void 0:I.toLowerCase())??"",name:e.name??"",published:e.published?new Date(e.published).toISOString():void 0},created_by:e.createdBy,company:{id:s,name:l},section:{id:((A=e.primarySection)==null?void 0:A.id)??"",name:((z=e.primarySection)==null?void 0:z.name)??"",alias:(($=e.primarySection)==null?void 0:$.alias)??"",fullName:((R=e.primarySection)==null?void 0:R.fullName)??""},section_hierarchy:(j=(q=e.primarySection)==null?void 0:q.hierarchy)==null?void 0:j.map(J=>({id:J.id,name:J.name,alias:J.alias})),taxonomy:u.map(J=>J.node),authors:d.map(J=>({id:J.node.id,name:J.node.name}))}),[{charset:"utf-8"},{name:"viewport",content:"width=device-width, initial-scale=1, shrink-to-fit=no"},{"http-equiv":"X-UA-Compatible",content:"IE=edge"},{name:"description",property:"og:description","item-prop":"description",content:a},{property:"og:title","item-prop":"name",content:e.name??""},{name:"og:url",content:"https://www."+((X=t==null?void 0:t.general)==null?void 0:X.rootDomain)+i},{name:"og:site_name",content:((me=t==null?void 0:t.general)==null?void 0:me.siteName)??""},{name:"og:locale",content:"en"},{name:"twitter:card",content:"summary_large_image"},{name:"twitter:title",content:e.name??""},{name:"twitter:description",content:a},{hid:"og-type",name:"og:type",content:c},{hid:"type",name:"type",content:c},{name:"theme-color",content:t.baseStyles.primaryColor},{name:"image",property:"og:image","item-prop":"image",content:o||x},{name:"twitter:image:src",content:o||x},{name:"robots",content:"max-image-preview:large"},(be=e.primarySection)!=null&&be.name?{name:"pterm",content:e.primarySection.name.toLowerCase()}:null,u?{name:"tag",content:u.map(J=>J.node.name).join().toLowerCase()}:null,d!=null&&d.length?{name:"author",content:d.map(J=>J.node.name).join()}:null,e.published?{name:"date-pub",content:et(new Date(e.published),"yyyy-MM-dd")??""}:null,e.publishedDate?{name:"article:published_time",content:e.publishedDate??""}:null,e.updatedDate?{name:"article:modified_time",content:e.updatedDate??""}:null,b?{name:"robots",content:"noindex"}:null,e.websiteSchedules?{name:"sterms",content:w.join(",").toLowerCase()}:null,(Q=e.metadata)!=null&&Q.aiKeywords?{name:"autoTags",content:JSON.stringify(e.metadata.aiKeywords)}:null,(U=e.metadata)!=null&&U.aiIndustries?{name:"autoIndustries",content:JSON.stringify(e.metadata.aiIndustries)}:null,e.type&&!y&&g!==""?{name:"bcCatalog",content:g}:null,e.id&&e.type!=="Page"&&!y?{name:"BlueConic",content:JSON.stringify(h)}:null]}function o$(e={}){var d,f,m,b,y,x,w,g,h,p,_,S,E,F,N,v,T,I,A,z,$,R,q,j,X,me,be;const{$ss:t}=G(),n=((d=e.siteContext)==null?void 0:d.path)??e.canonicalPath??"",r=((f=e.authors)==null?void 0:f.edges)??[],o=((m=e.images)==null?void 0:m.edges)??[],a=((b=e.metadata)==null?void 0:b.description)??e.teaser??"",i=t.socialLinks?Object.values(t.socialLinks).filter(Q=>Q!==""):[],l=!!!e.gating&&!((y=e.userRegistration)!=null&&y.isRequired),c=["section","video","event"].find(Q=>Q===(e.type?e.type.toLowerCase():"section"))??"article";let u;if(n==="/"){u=[];const Q={"@context":"https://schema.org"};Q["@type"]="NewsMediaOrganization",Q.name=((x=t==null?void 0:t.general)==null?void 0:x.siteName)??"",Q.url="https://www."+((w=t==null?void 0:t.general)==null?void 0:w.rootDomain),Q.logo=(g=t==null?void 0:t.header)==null?void 0:g.logo,Q.sameAs=i,u.push(Q);const U={"@context":"https://schema.org"};U["@type"]="WebSite",U.url="https://www."+((h=t==null?void 0:t.general)==null?void 0:h.rootDomain),U.potentialAction={},U.potentialAction["@type"]="SearchAction",U.potentialAction.target={},U.potentialAction.target["@type"]="EntryPoint",U.potentialAction.target.urlTemplate="https://www."+((p=t==null?void 0:t.general)==null?void 0:p.rootDomain)+"/search?"+Cd().root+"[query]={search_term_string}",U.potentialAction["query-input"]="required name=search_term_string",u.push(U)}else if(["article","video","event"].includes(c)){if(u={"@context":"https://schema.org"},c==="event"&&(u["@type"]="Event",u.name=e.name??"",u.startDate=e.startDate?et(new Date(e.startDate),"yyyy-MM-dd'T'HH:mmxxx"):"",u.endDate=e.endDate?et(new Date(e.endDate),"yyyy-MM-dd'T'HH:mmxxx"):"",e.teaser&&(u.description=Mn(e.teaser)),e.venue||e.address1)){u.location={},u.location["@type"]="Place",(_=e.venue)!=null&&_.name&&(u.location.name=e.venue.name??"");const Q={};(e.address1??((S=e.venue)==null?void 0:S.address1))&&(Q.streetAddress=e.address1??((E=e.venue)==null?void 0:E.address1)),(e.city??((F=e.venue)==null?void 0:F.city))&&(Q.addressLocality=e.city??((N=e.venue)==null?void 0:N.city)),(e.postalCode||(v=e.venue)!=null&&v.postalCode)&&(Q.postalCode=e.postalCode??((T=e.venue)==null?void 0:T.postalCode)),(e.state||(I=e.venue)!=null&&I.region)&&(Q.addressRegion=e.state??((A=e.venue)==null?void 0:A.region)),(e.country??((z=e.venue)==null?void 0:z.country))&&(Q.addressCountry=e.country??(($=e.venue)==null?void 0:$.country)),Object.keys(Q).length>0&&(u.location.address={},u.location.address["@type"]="PostalAddress",u.location.address={...u.location.address,...Q})}if((c==="article"||c==="video")&&(u["@type"]="NewsArticle",u.mainEntityOfPage={},u.mainEntityOfPage["@type"]="WebPage",u.mainEntityOfPage["@id"]="https://www."+((R=t==null?void 0:t.general)==null?void 0:R.rootDomain)+n,u.headline=Mn(e.name),u.description=a,o.length&&(u.image=o.map(Q=>Q.node.src)),e.published&&(u.datePublished=et(new Date(e.published),"yyyy-MM-dd")??""),e.updated&&(u.dateModified=et(new Date(e.updated),"yyyy-MM-dd")??""),r.length&&(u.author=r.map(Q=>{var U;return{"@type":"Person",name:Q.node.name,url:"https://www."+((U=t==null?void 0:t.general)==null?void 0:U.rootDomain)+"/"+Q.node.id}})),u.publisher={},u.publisher["@type"]="Organization",u.publisher.name=((q=t==null?void 0:t.general)==null?void 0:q.siteName)??"",(j=t.header)!=null&&j.logo&&(u.publisher.logo={},u.publisher.logo["@type"]="ImageObject",u.publisher.logo.url=(X=t.header)==null?void 0:X.logo,u.publisher.logo.width=((me=t.header)==null?void 0:me.logoWidth)??"",u.publisher.logo.height=((be=t.header)==null?void 0:be.logoHeight)??""),c==="video"&&e.embedCode)){e.embedCode.match(/(http:|https:|)\/\/(player.|www.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com))\/(video\/|embed\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(&\S+)?/);const Q=RegExp.$6;let U="";RegExp.$3.includes("youtu")?U=`https://www.youtube.com/embed/${Q}`:RegExp.$3.includes("vimeo")&&(U=`https://player.vimeo.com/video/${Q}`),u.video={},u.video["@type"]="VideoObject",u.video.name=e.name,u.video.description=a,u.video.contentUrl=U,u.video.uploadDate=e.published?et(new Date(e.published),"yyyy-MM-dd'T'HH:mmxxx"):"",o.length&&(u.video.thumbnailUrl=o.map(J=>{var ce;return(ce=J.node)==null?void 0:ce.src}))}l||(u.isAccessibleForFree="False",u.hasPart={},u.hasPart["@type"]="WebPageElement",u.hasPart.isAccessibleForFree="False",u.hasPart.cssSelector=".paywall")}return u}const a$={blocks:[],recommendationsByBlock:{}},ba=()=>Ee("bcEventRecommendations",()=>a$);ba.registerBlock=(e,t)=>{var o;const n=ba(),r={...n.value};return(o=r.recommendationsByBlock)!=null&&o[e]||(r.blocks.push(e),r.recommendationsByBlock[e]={numberOfItems:t,recommendations:[]},n.value=r),n};ba.reportRecommendations=e=>{const t=ba();if(e){let n=[...e].map(i=>({id:i.id,teaser:i.description,name:i.name,primaryImage:{src:i.image},published:i.publicationDate,originalUrl:i.url,siteContext:{path:i.trackingUrl}})),r=0;const o={...t.value};[...o.blocks].forEach(i=>{const s=o.recommendationsByBlock[i];let l=JSON.parse(JSON.stringify(n.slice(r,r+s.numberOfItems)));if(r=r+l.length,l.length<s.numberOfItems){const c=s.numberOfItems-l.length;l=JSON.parse(JSON.stringify(l.concat(JSON.parse(JSON.stringify(n.slice(0,c)))))),r=c}o.recommendationsByBlock[i].recommendations=JSON.parse(JSON.stringify(l))}),o.blocks=[],t.value={...o}}};const it={facebookPixelLoad(e,t,n){var r,o,a,i,s,l,c,u;if((o=(r=e.thirdPartyScripts)==null?void 0:r.facebookPixel)!=null&&o.enable&&n.social&&!((a=t==null?void 0:t.value)!=null&&a.facebookPixel)){(function(f,m,b,y,x,w,g){f.fbq||(x=f.fbq=function(){x.callMethod?x.callMethod.apply(x,arguments):x.queue.push(arguments)},f._fbq||(f._fbq=x),x.push=x,x.loaded=!0,x.version="2.0",x.queue=[],w=m.createElement(b),w.async=!0,w.src=y,g=m.getElementsByTagName(b)[0],g.parentNode.insertBefore(w,g))})(window,document,"script","https://connect.facebook.net/en_US/fbevents.js");const d=[];it.facebookPixelLoad((s=(i=e.thirdPartyScripts)==null?void 0:i.facebookPixel)==null?void 0:s.ids),(u=(c=(l=e.thirdPartyScripts)==null?void 0:l.facebookPixel)==null?void 0:c.ids)==null||u.forEach(f=>{d.push({children:`<img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=${f}&ev=PageView&noscript=1"/>`})}),Gt({noscript:d}),t.value.facebookPixel=!0}},hotjarLoad(e,t,n){var r,o,a;(o=(r=e.thirdPartyScripts)==null?void 0:r.hotjar)!=null&&o.siteId&&n.performance&&!((a=t==null?void 0:t.value)!=null&&a.hotjar)&&(function(i,s,l,c,u,d){var f,m;i.hj=i.hj||function(){(i.hj.q=i.hj.q||[]).push(arguments)},i._hjSettings={hjid:(m=(f=e.thirdPartyScripts)==null?void 0:f.hotjar)==null?void 0:m.siteId,hjsv:6},u=s.getElementsByTagName("head")[0],d=s.createElement("script"),d.async=1,d.src=l+i._hjSettings.hjid+c+i._hjSettings.hjsv,u.appendChild(d)}(window,document,"https://static.hotjar.com/c/hotjar-",".js?sv="),t.value.hotjar=!0)},blueconicLoad(e,t,n){var r,o,a,i,s;n.functional&&!((r=t==null?void 0:t.value)!=null&&r.blueConic)&&(Gt({link:[{href:(a=(o=e.thirdPartyScripts)==null?void 0:o.blueConic)==null?void 0:a.sourceUrl,rel:"preconnect"}],script:[{type:"text/javascript",async:!0,src:(s=(i=e.thirdPartyScripts)==null?void 0:i.blueConic)==null?void 0:s.sourceUrl}]}),window.addEventListener("onBlueConicLoaded",function(){window.blueConicClient.event.subscribe("recommendationsDialogue",{},function(l,c){console.log("bc event: recommendations received",c),ba.reportRecommendations(c==null?void 0:c.recommendations)})},!1),t.value.blueConic=!0)},adDaptiveLoad(e,t,n){var r,o,a;(o=(r=e.thirdPartyScripts)==null?void 0:r.adDaptive)!=null&&o.enable&&n.targeting&&!((a=t==null?void 0:t.value)!=null&&a.adDaptive)&&(Gt({link:[{href:"https://s.dpmsrv.com/dpm_1592af7e76a7114b4f9beea0be4746f59ada13a6.min.js",rel:"preconnect"}],script:[{type:"text/javascript",async:!0,src:"https://s.dpmsrv.com/dpm_1592af7e76a7114b4f9beea0be4746f59ada13a6.min.js"}]}),t.value.adDaptive=!0)},viafouraLoad(e){var r;const{isCommentingActive:t,vfInitialize:n}=So();t()&&!((r=e==null?void 0:e.value)!=null&&r.vf)&&(Gt({link:[{href:"https://cdn.viafoura.net/entry/index.js",rel:"preconnect",as:"script"}],script:[{async:!0,type:"text/javascript",src:"https://cdn.viafoura.net/entry/index.js"}]}),n(),e.value.vf=!0)},gtmLoad(e,t,n){var r;if(n.performance&&!((r=t==null?void 0:t.value)!=null&&r.gtm)){const o={link:[]};o.link.push({href:`https://www.googletagmanager.com/gtm.js?id=${e.googleTagManager.containerID}`,rel:"preload",as:"script"}),o.link.push({href:"https://www.googletagmanager.com/gtm.js?id=GTM-T4W5889M",rel:"preload",as:"script"}),o.link.push({href:"https://www.google-analytics.com/analytics.js",rel:"preload",as:"script"}),Gt(o),t.value.gtm=!0}},gamLoad(e,t,n,r,o){var a,i,s,l,c,u,d,f;if(n.targeting&&!((a=t==null?void 0:t.value)!=null&&a.gam)){Gt({link:[{href:"https://securepubads.g.doubleclick.net/tag/js/gpt.js",rel:"preload",as:"script"}],script:[{async:!0,src:"https://securepubads.g.doubleclick.net/tag/js/gpt.js"}]}),window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[];const{googletag:m}=window,{type:b,contentId:y}=(r==null?void 0:r.pageData)??{},{path:x}=((i=r==null?void 0:r.pageData)==null?void 0:i.route)??{},w=b==="Company"&&y?y:((l=(s=r==null?void 0:r.pageData)==null?void 0:s.company)==null?void 0:l.id)??null;m.cmd.push(function(){m.pubads().enableSingleRequest(),m.pubads().collapseEmptyDivs(),m.pubads().setTargeting("path",x),m.pubads().setTargeting("uri",x),m.pubads().setTargeting("env","production"),m.pubads().setTargeting("host",window.location.host.replace(/\./g,"|")),o&&o.forEach(p=>{m.pubads().setTargeting(p.key,p.value)})}),b&&m.cmd.push(function(){m.pubads().setTargeting("cont_type",b)}),y&&m.cmd.push(function(){m.pubads().setTargeting("cont_id",`${y}`)}),w&&m.cmd.push(function(){m.pubads().setTargeting("comp_id",`${w}`)});const g=(((u=(c=r==null?void 0:r.pageData)==null?void 0:c.metadata)==null?void 0:u.aiKeywords)??[]).map(p=>p.replaceAll(",","")).join(",");g&&m.cmd.push(function(){m.pubads().setTargeting("generativeTag",`${g}`)});const h=(((f=(d=r==null?void 0:r.pageData)==null?void 0:d.taxonomy)==null?void 0:f.edges)??[]).filter(p=>p.node.type==="Tag").map(p=>p.node.name.replaceAll(",","")).join(",");h&&m.cmd.push(function(){m.pubads().setTargeting("tag",`${h}`)}),e.googleAdManager.lazyLoad&&m.cmd.push(function(){m.pubads().enableLazyLoad({fetchMarginPercent:100,renderMarginPercent:50,mobileScaling:2})}),m.cmd.push(function(){m.enableServices()}),t.value.gam=!0}},facebookPixelTrackPage(e,t,n,r){var o,a,i,s;(a=(o=e.thirdPartyScripts)==null?void 0:o.facebookPixel)!=null&&a.enable&&n.social&&!t.value.facebookPixel[r]&&typeof fbq<"u"&&(((s=(i=e.thirdPartyScripts)==null?void 0:i.facebookPixel)==null?void 0:s.ids).forEach(c=>{fbq("init",c)}),fbq("track","PageView"),t.value.facebookPixel[r]=!0)},feathrSuperPixelLoad(e,t,n){var r,o,a;(o=(r=e.thirdPartyScripts)==null?void 0:r.feathrSuperPixel)!=null&&o.enable&&n.targeting&&!((a=t==null?void 0:t.value)!=null&&a.feathrSuperPixel)&&(function(i,s,l,c,u,d){if(!i[u]){d=i[u]=function(){d.invoke?d.invoke.apply(d,arguments):d.queue.push(arguments)},d.queue=[],d.loaded=1*new Date,d.version="1.0.0",i.FeathrBoomerang=d;var f=s.createElement(l),u=s.getElementsByTagName("head")[0]||s.getElementsByTagName("script")[0].parentNode;f.async=!0,f.src=c,u.appendChild(f)}}(window,document,"script","https://cdn.feathr.co/js/boomerang.min.js","feathr"),t.value.feathrSuperPixel=!0)},feathrSuperPixelTrackPage(e,t,n,r){var o,a;(a=(o=e.thirdPartyScripts)==null?void 0:o.feathrSuperPixel)!=null&&a.enable&&n.targeting&&!t.value.feathr[r]&&typeof feathr<"u"&&(t.value.feathr[r]=!0,feathr("fly","5d3f06f2c0645c763104b681"),feathr("sprinkle","page_view"))},linkedInInsightLoad(e,t,n){var r,o,a,i,s,l;if((o=(r=e.thirdPartyScripts)==null?void 0:r.linkedInInsight)!=null&&o.enable&&n.social&&!((a=t==null?void 0:t.value)!=null&&a.linkedInInsight)){const c=[];(l=(s=(i=e.thirdPartyScripts)==null?void 0:i.linkedInInsight)==null?void 0:s.ids)==null||l.forEach(u=>{window._linkedin_data_partner_ids=window._linkedin_data_partner_ids||[],window._linkedin_data_partner_ids.push(u),function(d){d||(window.lintrk=function(b,y){window.lintrk.q.push([b,y])},window.lintrk.q=[]);var f=document.getElementsByTagName("script")[0],m=document.createElement("script");m.type="text/javascript",m.async=!0,m.src="https://snap.licdn.com/li.lms-analytics/insight.min.js",f.parentNode.insertBefore(m,f)}(window.lintrk),c.push({children:`<img height="1" width="1" style="display:none;" alt="" src=https://px.ads.linkedin.com/collect/?pid=${u}&fmt=gif />`})}),Gt({noscript:c}),t.value.linkedInInsight=!0}},olyticsLoad(e,t,n){var a,i,s,l;if(n.functional&&!((a=t==null?void 0:t.value)!=null&&a.olytics)&&!((i=e.systemOutage)!=null&&i.disableOmeda)){window.olytics||(window.olytics=[]),window.olytics.methods=["fire","confirm"],window.olytics.factory=function(c){return function(){var u=Array.prototype.slice.call(arguments);return u.unshift(c),window.olytics.push(u),window.olytics}};for(var r=0;r<window.olytics.methods.length;r++){var o=window.olytics.methods[r];window.olytics[o]=window.olytics.factory(o)}olytics.load=function(c){if(!document.getElementById("olyticsImport")){Gt({link:[{rel:"stylesheet",href:"https://olytics.omeda.com/olytics/css/v3/p/olytics.css"}]}),window.a=window.olytics;var u=document.createElement("script");u.async=!0,u.id="olyticsImport",u.type="text/javascript";var d="";c!==void 0&&c.oid!==void 0&&(d=c.oid),u.setAttribute("data-oid",d),u.src="https://olytics.omeda.com/olytics/js/v3/p/olytics.min.js",u.addEventListener("load",function(){for(olytics.initialize({Olytics:c});window.a.length>0;){var m=window.a.shift(),b=m.shift();olytics[b]&&olytics[b].apply(olytics,m)}},!1);var f=document.getElementsByTagName("script")[0];f.parentNode.insertBefore(u,f)}},olytics.load({oid:(l=(s=e.thirdPartyScripts)==null?void 0:s.olytics)==null?void 0:l.oid}),t.value.olytics=!0}},olyticsTrackPage(e,t,n,r,o){var a,i,s,l,c,u,d,f;if(n.functional&&!t.value.olytics[o]&&!((a=e.systemOutage)!=null&&a.disableOmeda)){const m=((s=(i=r.pageData)==null?void 0:i.taxonomy)==null?void 0:s.edges)??[],b=r.pageData,y=(c=(l=e.thirdPartyScripts)==null?void 0:l.olytics)==null?void 0:c.behaviorId,x=(b==null?void 0:b.type)==="section"?"website-section":b!=null&&b.contentId?"content":"",w=()=>{if(Array.isArray(m))return m.filter(function({node:_}){return(_==null?void 0:_.type)==="Tag"&&(_==null?void 0:_.name)}).map(function({node:_}){var S;return(S=_==null?void 0:_.name)==null?void 0:S.replace(/,/g,"")}).join(", ")},h=((d=(b!=null&&b.hierarchy?(u=b==null?void 0:b.hierarchy)==null?void 0:u.map(_=>({id:_.id,name:_.name,alias:_.alias})):[])[0])==null?void 0:d.name)??null,p=(((f=b==null?void 0:b.metadata)==null?void 0:f.aiKeywords)??[]).join(",");(function(){try{y&&function(){var S,E;if(window.olytics)switch(x){case"website-section":var _={behaviorId:y,pageType:"Landing Page",channel:h};console.log("firing olytics",_),olytics.fire(_);break;case"content":var _={behaviorId:y,tag:w(),pageType:"Content Page",name:b==null?void 0:b.name,contentType:b==null?void 0:b.type,channel:h,generativeTag:p};(S=b==null?void 0:b.company)!=null&&S.name&&(_.companyName=(E=b==null?void 0:b.company)==null?void 0:E.name),console.log("firing olytics",_),olytics.fire(_);break;default:break}}()}catch{}})(),t.value.olytics[o]=!0}},gtmTrackPage(e,t,n,r,o){n.performance&&!t.value.gtm[o]&&(Rn.trackEvent(r),t.value.gtm[o]=!0)},websiteVisualOptimizerLoad(e,t){var n;t.performance&&!((n=e==null?void 0:e.value)!=null&&n.wvo)&&(Gt({link:[{href:"https://dev.visualwebsiteoptimizer.com",rel:"preconnect"}],script:[{type:"text/javascript",async:!0,src:"/scripts/websiteVisualOptimizer.js"}]}),e.value.wvo=!0)},async trackPage(e){var a;const{$ss:t}=G(),n=Ee("scriptsTrackedPage",()=>({facebookPixel:{},feathr:{},olytics:{},gtm:{}})),r=Tr.getCategories(),o=(a=e==null?void 0:e.pageData)==null?void 0:a.id;await Promise.all([it.gtmTrackPage(t,n,r,e,o),it.facebookPixelTrackPage(t,n,r,o),it.feathrSuperPixelTrackPage(t,n,r,o),it.olyticsTrackPage(t,n,r,e,o)])},async loadScripts(e){var o;const{$ss:t}=G(),n=Ee("scriptsAdded",()=>({})),r=Tr.getCategories();if((o=t==null?void 0:t.blueconic)!=null&&o.gamTargeting&&r.targeting){let a=null;const i=localStorage.getItem("bcDFPTargetingParams");i&&(a=JSON.parse(i)),it.gamLoad(t,n,r,e,a)}else it.gamLoad(t,n,r,e);await Promise.all([it.gtmLoad(t,n,r),it.hotjarLoad(t,n,r),it.olyticsLoad(t,n,r),it.adDaptiveLoad(t,n,r),it.blueconicLoad(t,n,r),it.facebookPixelLoad(t,n,r),it.linkedInInsightLoad(t,n,r),it.feathrSuperPixelLoad(t,n,r),it.websiteVisualOptimizerLoad(n,r),it.viafouraLoad(n)])}},i$=gn(()=>L(()=>import("./AdminToolbar-DYTQfbLP.mjs"),__vite__mapDeps([54,7,8,55,56,57,18,19,58,59,60,11,12,28,29,61]),import.meta.url).then(e=>e.default||e)),s$=gn(()=>L(()=>import("./AdminPageTitle-CPIx4trP.mjs").then(e=>e.A),__vite__mapDeps([45,7,8,46]),import.meta.url).then(e=>e.default||e)),l$=gn(()=>L(()=>import("./GamWelcomeAd-CdJ7Z0GA.mjs"),__vite__mapDeps([419,420]),import.meta.url).then(e=>e.default||e)),c$={name:"WebPageContent",components:{LazyHydrationWrapper:n$},props:{page:{type:Object,default:()=>({id:"",layoutType:{type:""},loadMoreType:{type:"none"},pageData:{},primaryGrid:{rows:[{settings:{},columns:[{settings:{},blocks:[]}]}]},secondaryGrid:{rows:[{settings:{},columns:[{settings:{},blocks:[]}]}]}})},includeReskin:{type:Boolean,default:!0},includeShell:{type:Boolean,default:!0},previewMode:{type:Boolean,default:!1},pageLevel:{type:String,default:"top",validator:e=>["top","secondary","none"].includes(e)},fullHeight:{type:Boolean,default:!0},fullWidth:{type:Boolean,default:!1}},setup(e){var c,u,d,f,m,b,y,x,w,g;const{$ss:t}=G(),{initializeContentGating:n}=Bv(e.page.pageData);vt("page",{...e.page});const r=((u=(c=e.page.pageData)==null?void 0:c.siteContext)==null?void 0:u.path)??((d=e.page.pageData)==null?void 0:d.canonicalPath)??"",o=(f=t.oneTrust)==null?void 0:f.scriptId;o&&Gt({link:[{href:"https://cdn.cookielaw.org/scripttemplates/otSDKStub.js",rel:"preload",as:"script"}],script:[{type:"text/javascript",src:"https://cdn.cookielaw.org/scripttemplates/otSDKStub.js","data-domain-script":o},{type:"text/javascript",children:`function OptanonWrapper() { window.postMessage('optanon-wrapper'); }`}],meta:[{name:"og:url",content:"https://www."+((m=t==null?void 0:t.general)==null?void 0:m.rootDomain)+r}]});const a=r$(e.page.pageData),i=o$(e.page.pageData),s=e.page.pageData.type==="section"?{rel:"alternate",type:"application/rss+xml",title:"RSS Feed",href:`/__rss/website-scheduled-content.xml?input=%7B%22sectionAlias%22%3A%22${e.page.pageData.alias}%22%7D`}:"",l=[{rel:"canonical",href:((y=(b=e.page.pageData)==null?void 0:b.siteContext)==null?void 0:y.canonicalUrl)??"https://www."+((x=t==null?void 0:t.general)==null?void 0:x.rootDomain)+r},{rel:"icon",type:"image/x-icon",href:t.general.favicon},{rel:"apple-touch-icon",size:"180x180",href:t.general.favicon+"?w=180&h=180&fm=png"},{rel:"icon",type:"image/png",size:"32x32",href:t.general.favicon+"?w=32&h=32&fm=png"},{rel:"icon",type:"image/png",size:"16x16",href:t.general.favicon+"?w=16&h=16&fm=png"},s,{href:"https://fonts.gstatic.com",rel:"preconnect"}];return Gt({meta:a,link:l,title:(((w=e.page.pageData.seoTitle)==null?void 0:w.replace(/(<([^>]+)>)/gi,""))??((g=e.page.pageData.name)==null?void 0:g.replace(/(<([^>]+)>)/gi,""))??"")+" | "+t.general.siteName,script:[{type:"application/ld+json",children:JSON.stringify(i)}]}),{initializeContentGating:n}},data(){var e,t,n;return{gamWelcomeAd:Er(),loadingMore:!1,secondaryGrids:[],secondaryPages:[],excludeContentIds:((e=this==null?void 0:this.page)==null?void 0:e.usedContentIds)??[],excludeIssueIds:((t=this==null?void 0:this.page)==null?void 0:t.usedIssueIds)??[],adUnitPatterns:Sr().value,allowPaging:!((n=this.page)!=null&&n.hasUnderFilledBlocks),adminActions:[],scriptsAdded:{},scriptsTrackedPage:{},cmsUserIsLoggedIn:!1,cmsUser:{}}},computed:{skinAd(){return ga().value},isSiteskinActive(){var e,t;return parseInt((e=this.skinAd)==null?void 0:e.adSkinWidth),!this.fullWidth&&((t=this.skinAd)==null?void 0:t.adSkinType)==="siteskin"&&this.includeReskin&&this.includeShell},isReskinActive(){var e;return((e=this.skinAd)==null?void 0:e.adSkinType)==="reskin"&&this.includeReskin},siteSkinTop(){let e=90;return this.cmsUserIsLoggedIn&&(e+=30),this.$ss.menu.header_primary.links.length&&(e+=45),e+"px"},loadType(){var e,t;return((t=(e=this.page)==null?void 0:e.loadMoreType)==null?void 0:t.type)??"none"},triggerLoadMore(){return this.loadType&&this.loadType!=="none"&&this.secondaryPages.length<8&&this.secondaryGrids.length<8&&this.allowPaging},pageBackgroundColor(){var e,t;return(e=this.$ss)!=null&&e.useNewDesign?"white":((t=this.$ss.baseStyles)==null?void 0:t.bodyBackgroundColor)??"white"},hasUnrenderedSecondary(){var e,t,n;return this.secondaryPages.length&&this.secondaryPages[this.secondaryPages.length-1].render===!1||this.secondaryGrids.length&&((e=this.secondaryGrids[this.secondaryGrids.length-1])==null?void 0:e.render)===!1&&((n=(t=this.secondaryGrids[this.secondaryGrids.length-1])==null?void 0:t.rows)==null?void 0:n.length)>0}},unmounted(){window.removeEventListener("scroll",this.handleScroll),window.removeEventListener("message",this.onMessage)},mounted(){var n,r,o,a,i;this.initializeContentGating(),this.cmsUserIsLoggedIn=this.$cmsUser.isLoggedIn();const{setPage:e}=So();e(this.$refs.pageRef),this.updateThirdPartyScripts(),window.addEventListener("message",this.onMessage),this.loadType&&this.loadType!=="none"&&this.allowPaging&&(window.addEventListener("scroll",this.handleScroll),this.loadPage());const t=[];this.$cmsUser.userHasPermission(["manage_content"])&&((r=(n=this.page)==null?void 0:n.pageData)!=null&&r.contentId)&&t.push({label:"Edit Content",icon:"mdi:pencil",click:this.editPage}),this.$cmsUser.userHasPermission(["manage_site_sections"])&&((a=(o=this.page)==null?void 0:o.pageData)==null?void 0:a.type)==="section"&&t.push({label:"Edit Section",icon:"mdi:pencil",click:this.editPage}),this.$cmsUser.userHasPermission(["manage_site_layouts"])&&((i=this.page)!=null&&i.name)&&t.push({label:`Configure <em>${this.page.name}</em> Layout`,icon:"mdi:cog",click:this.editLayout}),this.adminActions=t},methods:{onMessage(e){e.data==="optanon-wrapper"&&this.updateThirdPartyScripts()},updateThirdPartyScripts(){this.scriptsAdded=it.loadScripts(this.page),this.scriptsTrackedPage=it.trackPage(this.page)},editPage(){var e,t,n,r;this.page.pageData.type==="section"?window.open(`/admin/edit-website-section/${(t=(e=this.page)==null?void 0:e.pageData)==null?void 0:t.id}`):window.open(`/admin/edit-content/${((r=(n=this.page)==null?void 0:n.pageData)==null?void 0:r.contentId)??this.page.pageData.id}`)},editLayout(){window.open(`/admin/edit-web-layout/${this.page.id}`)},closeWelcomeAd(){Er.reset()},handleScroll(){const e=document.querySelector(".load-more");if(!e){window.removeEventListener("scroll",this.handleScroll);return}const t=document.documentElement.clientHeight-e.getBoundingClientRect().y;(this.loadType==="custom-scroll"||this.loadType==="page-scroll")&&t>=-250&&!this.loadingMore&&this.renderPage()},renderPage(){if(this.loadType==="custom-click"||this.loadType==="custom-scroll"){if(this.secondaryGrids.filter(t=>t.rows.length>0).length>0){const t=[...this.secondaryGrids];t[t.length-1].render=!0,this.secondaryGrids=[...t]}}else if(this.page.pageData.type!=="section"){const e=[...this.secondaryPages];e[e.length-1].render=!0,this.secondaryPages=[...e]}this.triggerLoadMore&&!this.loadingMore&&this.loadPage()},async loadPage(){var e,t;if(this.loadingMore=!0,this.loadType==="custom-click"||this.loadType==="custom-scroll"){const n=yu();this.secondaryGrids.push({id:n,render:!1});const{pageData:r,secondaryGrid:o}=this.page,a={excludeContentIds:this.excludeContentIds,excludeIssueIds:this.excludeIssueIds,sectionId:(r==null?void 0:r.sectionId)??((e=r==null?void 0:r.primarySection)==null?void 0:e.id),defaultContentTypes:(t=this.$ss.contentStyle)==null?void 0:t.defaultContentTypes},{nextSecondaryGrid:i,hasUnderFilledBlocks:s,excludeContentIds:l,excludeIssueIds:c}=await this.$page.getNextSecondaryGrid({gridSettings:a,pageData:r,secondaryGrid:o});this.allowPaging=!s;const u=this.secondaryGrids.findIndex(d=>d.id===n);this.secondaryGrids[u]={...JSON.parse(JSON.stringify(this.secondaryGrids[u])),...JSON.parse(JSON.stringify(i))},this.excludeContentIds=l,this.excludeIssueIds=c}else if(this.page.pageData.type!=="section"){const n=yu();this.secondaryPages.push({id:n,render:!1});const{pageData:r}=this.page,o=[this.page.pageData.id];this.secondaryPages.forEach(s=>{s.render&&o.push(s.pageData.id)});const a={limit:1,includeContentTypes:[r.type],excludeContentIds:o,sectionId:r.primarySection.id,sortField:"published",sortOrder:"desc"},i=await this.$page.getNextSecondaryPage({nextSecondaryPageSettings:a});if(!i)this.allowPaging=!1;else{this.excludeContentIds=i.usedContentIds,this.excludeIssueIds=i.usedIssueIds;const s=this.secondaryPages.findIndex(l=>l.id===n);this.secondaryPages[s]={...JSON.parse(JSON.stringify(this.secondaryPages[s])),...JSON.parse(JSON.stringify(i))}}}this.loadingMore=!1,this.hasUnrenderedSecondary&&this.handleScroll()},toTop(){window.scrollTo({top:0,behavior:"smooth"})}}},u$={style:{width:"100%",display:"flex",flexDirection:"row"}},d$=["href"],f$={key:3,class:"ebm-page__reskin-ad"},p$=["href","alt"],m$={ref:"layout",class:"ebm-page__layout"},h$={key:0,ref:"siteskinLeft",class:"ebm-page__siteskin-ad ebm-page__siteskin-ad__left",style:{transform:"translateX(-650px)"}},g$=["href","alt"],y$=["href","alt"],b$={key:2,class:"ebm-page__reskin-ad"},v$=["href","alt"],_$={ref:"pageRef",class:"ebm-page__page"},w$={class:"ebm-page__content-wrapper"},x$={key:0},C$={class:"ebm-page__primary"},S$={key:0,class:"load-more-wrapper"},T$={class:"load-more"},k$={key:0,class:"label"},E$={key:1,class:"label"},I$={class:"label"},P$={key:0},O$={key:1,class:"footer"},L$={key:8,class:"footer"};function A$(e,t,n,r,o,a){var F,N,v,T,I,A,z,$,R,q,j;const i=i$,s=OL,l=s$,c=FL,u=Ad,d=GN,f=FB,m=l$,b=qB,y=WB,x=lD,w=dD,g=Yv,h=Ot,p=To,_=I3,S=Uu("LazyHydrationWrapper"),E=$3;return P(),V("div",{class:Se(["ebm-page",o.cmsUserIsLoggedIn?"ebm-page--logged-in":"",(F=e.$ss)!=null&&F.useNewDesign?"new-design":"",n.fullWidth?"full-width":""]),style:de({backgroundColor:n.includeShell?a.pageBackgroundColor:"",fontFamily:e.$ss.secondaryFontFamily,minHeight:n.fullHeight?"100vh":0})},[O("div",u$,[o.cmsUserIsLoggedIn&&n.includeShell&&!(e._.provides[Pn]||e.$route).query["preview-mode"]?(P(),ye(i,{key:0,page:n.page},null,8,["page"])):le("",!0),O("div",{class:Se({hasToolbar:o.cmsUserIsLoggedIn&&n.includeShell&&!(e._.provides[Pn]||e.$route).query["preview-mode"]}),style:{flex:1}},[a.isReskinActive&&n.includeShell?(P(),V("a",{key:0,href:a.skinAd.adClickUrl,style:de({backgroundImage:a.skinAd.backgroundImagePath?"url("+a.skinAd.backgroundImagePath+")":"none"}),target:"_blank",rel:"noopener noreferrer",class:"ebm-page__reskin-background"},null,12,d$)):le("",!0),K(s),o.cmsUserIsLoggedIn&&!(e._.provides[Pn]||e.$route).query["preview-mode"]&&n.pageLevel==="top"?(P(),ye(l,{key:1,title:(N=n.page.pageData)==null?void 0:N.name,"title-icon":"mdi:book-open-page-variant",actions:o.adminActions,"enable-cache-switch":!0},null,8,["title","actions"])):le("",!0),n.includeShell?(P(),ye(c,{key:2})):le("",!0),a.isReskinActive&&((v=e.$ss)!=null&&v.useNewDesign)&&n.includeShell?(P(),V("div",f$,[O("a",{href:a.skinAd.adClickUrl,alt:a.skinAd.adTitle,target:"_blank"},[K(u,{src:a.skinAd.adImagePath,style:{marginLeft:"auto",marginRight:"auto"}},null,8,["src"])],8,p$)])):le("",!0),n.includeShell?(P(),V(we,{key:4},[(T=e.$ss)!=null&&T.useNewDesign?(P(),ye(f,{key:1,ref:"header","page-data":((I=n.page)==null?void 0:I.pageData)??{}},null,8,["page-data"])):(P(),ye(d,{key:0,ref:"header",page:n.page,"cms-username":(e._.provides[Pn]||e.$route).query["preview-mode"]?"":o.cmsUser.username},null,8,["page","cms-username"]))],64)):le("",!0),o.gamWelcomeAd.adType?(P(),ye(m,{key:5,"ad-info":o.gamWelcomeAd,onClose:a.closeWelcomeAd},null,8,["ad-info","onClose"])):le("",!0),n.includeShell?(P(),ye(b,{key:6})):le("",!0),n.pageLevel==="top"?(P(),ye(y,{key:7})):le("",!0),O("div",m$,[a.isSiteskinActive?(P(),V("div",h$,[O("a",{href:a.skinAd.adLeftColumnUrl,alt:a.skinAd.adTitle,target:"_blank"},[K(u,{src:a.skinAd.adLeftColumnImage,alt:a.skinAd.adTitle},null,8,["src","alt"])],8,g$)],512)):le("",!0),a.isSiteskinActive?(P(),V("div",{key:1,ref:"siteskinRight",class:"ebm-page__siteskin-ad ebm-page__siteskin-ad__right",style:de({transform:o.cmsUserIsLoggedIn?"translateX(699px)":"translateX(650px)"})},[O("a",{href:a.skinAd.adRightColumnUrl,alt:a.skinAd.adTitle,target:"_blank"},[K(u,{src:a.skinAd.adRightColumnImage,alt:a.skinAd.adTitle},null,8,["src","alt"])],8,y$)],4)):le("",!0),a.isReskinActive&&!((A=e.$ss)!=null&&A.useNewDesign)?(P(),V("div",b$,[O("a",{href:a.skinAd.adClickUrl,alt:a.skinAd.adTitle,target:"_blank"},[K(u,{src:a.skinAd.adImagePath,style:{marginLeft:"auto",marginRight:"auto"}},null,8,["src"])],8,v$)])):le("",!0),O("div",{class:"page-content-wrapper",style:de({backgroundColor:(z=e.$ss)!=null&&z.useNewDesign?"white":"transparent"})},[O("div",_$,[O("div",{ref:"main",class:"ebm-page__main",style:de({maxWidth:n.fullWidth?"100%":"1300px"})},[O("div",w$,[O("div",{class:"ebm-page__content",style:de({margin:e.$ss.useNewDesign?0:o.secondaryGrids.length===0&&o.secondaryPages.length===0?"0 10px 20px 10px":"0 10px",backgroundColor:($=e.$ss)!=null&&$.useNewDesign?"transparent":a.isReskinActive?((R=e.$ss.baseStyles)==null?void 0:R.bodyBackgroundColor)??"white":"transparent"})},[Object.keys(e.$slots).length?(P(),V("div",x$,[$t(e.$slots,"default",{},void 0,!0)])):le("",!0),O("div",C$,[K(x,{grid:n.page.primaryGrid,page:n.page,"is-reskin-active":a.isReskinActive,"full-width":n.fullWidth},null,8,["grid","page","is-reskin-active","full-width"])]),(P(!0),V(we,null,De(o.secondaryGrids.filter(X=>X.render&&X.rows),X=>(P(),V("div",{key:X.id,class:"ebm-page__secondary"},[(P(),V("div",{key:X.render},[K(w,{event:"page_load"}),K(x,{grid:X,page:n.page,"is-reskin-active":a.isReskinActive,"full-width":n.fullWidth},null,8,["grid","page","is-reskin-active","full-width"])]))]))),128))],4)])],4)],512),(P(!0),V(we,null,De(o.secondaryPages,(X,me)=>(P(),V("div",{key:me++,class:"secondary-pages"},[X.render&&X.pageData?(P(),ye(g,{key:X.id,page:JSON.parse(JSON.stringify({...X,pageData:{...X.pageData,route:{...n.page.pageData.route}}})),"include-shell":!1,"page-level":"secondary",class:"ebm-page__secondary"},null,8,["page"])):le("",!0)]))),128)),a.loadType&&a.loadType!=="none"&&o.allowPaging?(P(),V("div",S$,[O("div",T$,[a.triggerLoadMore||a.hasUnrenderedSecondary?(P(),ye(p,{key:0,size:"large",onOnClick:a.renderPage},{default:Be(()=>[o.loadingMore?(P(),V("div",k$,[t[0]||(t[0]=O("div",null," Loading Content ",-1)),K(h,{icon:"ei:spinner-3"})])):(P(),V("div",E$," Load More Content "))]),_:1},8,["onOnClick"])):le("",!0),a.loadType==="custom-click"||a.loadType==="page-click"?(P(),ye(p,{key:1,mode:"hollow",size:"large",onOnClick:a.toTop},{default:Be(()=>[O("div",I$,[t[1]||(t[1]=O("div",null,"Back To Top",-1)),K(h,{icon:"mdi:chevron-up"})])]),_:1},8,["onOnClick"])):le("",!0)]),a.loadType==="custom-scroll"||a.loadType==="page-scroll"?(P(),V("div",P$)):le("",!0)])):le("",!0),n.includeShell&&((q=e.$ss)!=null&&q.useNewDesign)?(P(),V("div",O$,[K(S,{"when-visible":""},{default:Be(()=>[K(_,{ref:"footer"},null,512)]),_:1})])):le("",!0)],4)],512),n.includeShell&&!((j=e.$ss)!=null&&j.useNewDesign)?(P(),V("div",L$,[K(S,{"when-visible":""},{default:Be(()=>[K(E,{ref:"footer"},null,512)]),_:1})])):le("",!0)],2)])],6)}const Yv=Fe(c$,[["render",A$],["__scopeId","data-v-4189142b"]]),M$={class:"ebm-error"},R$={class:"alert-icon"},N$={key:0},B$={key:1},D$={__name:"error",props:{error:Object},async setup(e){const{getCssVars:t}=Dv();return(n,r)=>{const o=Ot,a=Yv;return P(),V("div",{style:de(B(t)()),class:"ebm-layout"},[K(a,null,{default:Be(()=>[O("div",M$,[O("div",R$,[K(o,{icon:"mdi:alert-rhombus-outline",width:100,"icon-color":"#777"}),e.error.statusCode===404?(P(),V("h1",N$," 404 - Page Not Found ")):(P(),V("h1",B$,Ie(e.error.statusCode)+" - "+Ie(e.error.message),1))]),r[0]||(r[0]=O("br",null,null,-1)),r[1]||(r[1]=O("h2",null,[O("a",{href:"/"},"Return to Home")],-1))])]),_:1})],4)}}},$$=Fe(D$,[["__scopeId","data-v-4abaec5d"]]),U$={key:0},Pm={__name:"nuxt-root",setup(e){const t=()=>null,n=G(),r=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",r);Xt().beforeEach(l)}const o=!1;vt(Pn,Ge()),n.hooks.callHookWith(l=>l.map(c=>c()),"vue:setup");const a=Es(),i=!1;hs((l,c,u)=>{if(n.hooks.callHook("vue:error",l,c,u).catch(d=>console.error("[nuxt] Error in `vue:error` hook",d)),wx(l)&&(l.fatal||l.unhandled))return n.runWithContext(()=>Kr(l)),!1});const s=!1;return(l,c)=>(P(),ye(ka,{onResolve:B(r)},{default:Be(()=>[B(i)?(P(),V("div",U$)):B(a)?(P(),ye(B($$),{key:1,error:B(a)},null,8,["error"])):B(s)?(P(),ye(B(t),{key:2,context:B(s)},null,8,["context"])):B(o)?(P(),ye(ar(B(o)),{key:3})):(P(),ye(B(JO),{key:4}))]),_:1},8,["onResolve"]))}};let Om;{let e;Om=async function(){var i,s;if(e)return e;const r=!!(((i=window.__NUXT__)==null?void 0:i.serverRendered)??((s=document.getElementById("__NUXT_DATA__"))==null?void 0:s.dataset.ssr)==="true")?Ts(Pm):po(Pm),o=D1({vueApp:r});async function a(l){await o.callHook("app:error",l),o.payload.error=o.payload.error||Oa(l)}r.config.errorHandler=a,o.hook("app:suspense:resolve",()=>{r.config.errorHandler===a&&(r.config.errorHandler=void 0)});try{await F1(o,VO)}catch(l){a(l)}try{await o.hooks.callHook("app:created",r),await o.hooks.callHook("app:beforeMount",r),r.mount(R1),await o.hooks.callHook("app:mounted",r),await at()}catch(l){a(l)}return r},e=Om().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{nd as $,Et as A,FP as B,fa as C,uP as D,Cd as E,we as F,Uu as G,cP as H,Rh as I,Jt as J,gn as K,L,Cs as M,Ft as N,uo as O,Pn as P,$s as Q,he as R,Xe as S,kc as T,vt as U,hP as V,se as W,rU as X,aU as Y,sU as Z,Fe as _,O as a,hA as a$,$t as a0,yu as a1,We as a2,Qe as a3,pt as a4,Yn as a5,Ra as a6,ot as a7,iU as a8,et as a9,tU as aA,Mr as aB,vx as aC,ld as aD,xr as aE,Xl as aF,sd as aG,vn as aH,RA as aI,DA as aJ,A2 as aK,Ba as aL,hM as aM,tr as aN,HA as aO,Fs as aP,fm as aQ,x2 as aR,JA as aS,xo as aT,Ar as aU,Md as aV,rv as aW,E2 as aX,Co as aY,eM as aZ,Br as a_,Ht as aa,is as ab,Iv as ac,Sa as ad,Je as ae,Dv as af,ls as ag,jt as ah,ar as ai,mv as aj,UD as ak,Nv as al,RD as am,yn as an,Ms as ao,ri as ap,Ss as aq,Ke as ar,ud as as,ws as at,Xt as au,gd as av,gp as aw,Lr as ax,nU as ay,Fw as az,ye as b,LP as b$,Us as b0,Ca as b1,oh as b2,S2 as b3,Nd as b4,Ld as b5,Mn as b6,OL as b7,To as b8,He as b9,i3 as bA,Qi as bB,po as bC,Ku as bD,oy as bE,Su as bF,Ce as bG,Jn as bH,rt as bI,Z$ as bJ,Ln as bK,X$ as bL,Mg as bM,Q$ as bN,J$ as bO,K$ as bP,Nm as bQ,Y$ as bR,q$ as bS,$D as bT,Ia as bU,Ii as bV,NR as bW,qs as bX,vD as bY,ED as bZ,zk as b_,$e as ba,fe as bb,an as bc,Xv as bd,_o as be,ft as bf,Kt as bg,Pe as bh,Xr as bi,Ue as bj,V$ as bk,va as bl,Qr as bm,G$ as bn,j$ as bo,W$ as bp,z$ as bq,c_ as br,_n as bs,Cg as bt,H$ as bu,eU as bv,Sd as bw,ln as bx,te as by,lU as bz,V as c,pP as c0,xs as c1,hb as c2,Pr as c3,br as c4,PD as c5,rd as c6,Mm as c7,Qu as c8,gD as c9,oE as cA,uE as cB,mE as cC,Vp as cD,pE as cE,Zk as cF,GE as cG,qh as cH,qt as cI,at as cJ,Xk as cK,ms as cL,Qk as cM,ds as cN,fs as cO,PL as cP,n$ as cQ,Nh as ca,ba as cb,pr as cc,$a as cd,Bv as ce,KB as cf,So as cg,Od as ch,Ud as ci,cU as cj,oU as ck,Rv as cl,sB as cm,Gs as cn,vg as co,_t as cp,cn as cq,er as cr,pa as cs,yb as ct,As as cu,Jk as cv,vb as cw,ji as cx,qi as cy,sE as cz,K as d,Yv as e,Ot as f,Ee as g,Ge as h,Oa as i,Sr as j,B as k,le as l,Gt as m,ks as n,P as o,de as p,nt as q,Ad as r,Be as s,Ie as t,G as u,TL as v,gs as w,De as x,Se as y,Ye as z};