1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,678840,e=>{"use strict";var t=e.i(226132),r=e.i(213973),i=e.i(574755);e.i(814647);var n=e.i(592421),s=e.i(275618),a=e.i(832356),o=e.i(896137),l=e.i(995860);let u=a.z.object({addressLines:a.z.array(a.z.string()),fax:a.z.string().optional(),phone:a.z.string().optional()}),c=a.z.object({alt:a.z.string(),height:a.z.number(),id:a.z.string(),url:a.z.string().url(),width:a.z.number()}),d=a.z.object({href:a.z.string(),id:a.z.string(),italicize:a.z.boolean(),label:a.z.string(),target:a.z.union([a.z.literal("_blank"),a.z.literal("_self")]).optional()}),h=a.z.object({destination:a.z.string().url(),icon:a.z.custom(),id:a.z.string()}),f=a.z.object({formInfo:a.z.object({enabled:a.z.boolean().optional(),form:a.z.object({confirmationMessage:a.z.string(),confirmationType:a.z.union([a.z.literal("message"),a.z.literal("redirect")]).nullish(),fields:a.z.array(a.z.object({blockType:a.z.union([a.z.literal("checkbox"),a.z.literal("country"),a.z.literal("email"),a.z.literal("hidden"),a.z.literal("message"),a.z.literal("number"),a.z.literal("select"),a.z.literal("state"),a.z.literal("text"),a.z.literal("textarea")]),defaultValue:a.z.union([a.z.string(),a.z.number()]).optional(),errorMessage:a.z.string().optional(),label:a.z.string().optional(),name:a.z.string(),options:a.z.array(a.z.object({id:a.z.string(),label:a.z.string(),value:a.z.string()})).optional(),placeholder:a.z.string().optional(),required:a.z.boolean()})),id:a.z.string(),submissionUrl:a.z.string(),submitButtonLabel:a.z.string()}),formId:a.z.string(),id:a.z.string(),siteSource:a.z.string()})}),m=a.z.object({form:f,modalDescription:a.z.string().optional(),newsletterFormName:a.z.string().optional()}).optional(),p=a.z.object({centerAffiliationAll:a.z.string().optional(),englishNewsletterAll:a.z.string().optional(),nonEnglishNewsletterAll:a.z.string().optional()}).optional(),b=a.z.object({centerId:a.z.string(),contact:u.optional(),copyright:a.z.string().optional(),logo:c.optional(),marketingControls:p,primaryLinks:a.z.array(d).optional(),secondaryLinks:a.z.array(d).optional(),socials:a.z.array(h).optional(),subscribe:m,tertiaryLinks:a.z.array(d).optional()});var g=e.i(726041),y=e.i(554295);e.i(890134);var v=e.i(438298),w=e.i(565319);e.i(170734);var x=e.i(737709);e.i(15399);var j=e.i(291982);let O=({contact:e,copyright:r,logo:i,marketingControls:n,primaryLinks:s,secondaryLinks:a,socials:o,subscribe:l,t:u,tertiaryLinks:c})=>{let d=s?.length??a?.length??c?.length;return(0,t.jsxs)("footer",{className:"dark z-10 bg-blueDark",children:[l&&(0,t.jsx)("div",{className:"hidden tablet:block desktop:hidden",children:(0,t.jsx)(v.Subscribe,{...l,marketingControls:n,width:"100"})}),(0,t.jsx)(x.Constrainer,{className:"pb-[1.6rem] pt-[4.8rem] desktop:pb-[4.8rem]",children:(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-y-[8rem] tablet:grid-cols-2 tablet:gap-y-[11.2rem] desktop:grid-cols-3 desktop:gap-y-[12.8rem]",children:[(0,t.jsxs)("div",{className:"order-3 flex flex-1 flex-col gap-[2.4rem] text-blanc50 tablet:order-1",children:[i?.url&&(0,t.jsx)(y.Link,{className:"max-w-[80%]",href:"/",children:(0,t.jsx)(g.default,{alt:i.alt,blurDataURL:i.blurhash??void 0,className:"",height:i.height??40,loading:"lazy",placeholder:i.blurhash?"blur":"empty",src:i.url,width:i.width??40})}),(0,t.jsxs)("div",{className:"flex flex-col gap-[1.6rem]",children:[e&&(0,t.jsx)(t.Fragment,{children:e.addressLines&&e.addressLines.length>0&&(0,t.jsxs)("address",{className:"flex flex-col text-body not-italic",children:[e.addressLines.map((e,r)=>(0,t.jsx)("span",{children:e},r)),e.phone&&(0,t.jsx)("a",{className:"text-blanc50 hover:text-blanc",href:`tel:${e.phone}`,children:u?u("Common.phone",{phone:e.phone}):`Phone: ${e.phone}`}),e.fax&&(0,t.jsx)("span",{children:u?u("Common.fax",{fax:e.fax}):`Fax: ${e.fax}`})]})}),o&&o.length>0&&(0,t.jsx)("div",{className:"flex flex-wrap gap-[0.8rem]",children:o.map(e=>(0,t.jsx)(j.IconLink,{asButton:!1,destination:e.destination,icon:e.icon,openInNewTab:!0},e.id))})]})]}),d&&(0,t.jsxs)("nav",{className:"order-2 flex flex-1 flex-wrap gap-[2.4rem]",children:[s&&s.length>0&&(0,t.jsx)("ul",{className:"flex flex-1 flex-col gap-[1.6rem] text-blanc80",children:s.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(y.Link,{className:(0,w.cn)("font-serif text-headlineH4Display transition-colors duration-200 hover:text-blanc",e.italicize&&"italic"),href:e.href,target:e.target,children:e.label})},e.id))}
1),(a??c)&&(0,t.jsxs)("div",{className:"flex flex-1 flex-col gap-[1.6rem]",children:[a&&a.length>0&&(0,t.jsx)("ul",{className:"flex flex-col gap-[0.8rem] text-blanc70",children:a.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(y.Link,{className:(0,w.cn)("text-headlineH5 capitalize transition-colors duration-200 hover:text-blanc",e.italicize&&"italic"),href:e.href,target:e.target,children:e.label})},e.id))}),c&&c.length>0&&(0,t.jsx)("ul",{className:"flex flex-col text-blanc/60",children:c.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(y.Link,{className:(0,w.cn)("text-body capitalize transition-colors duration-200 hover:text-blanc",e.italicize&&"italic"),href:e.href,target:e.target,children:e.label})},e.id))})]})]}),l&&(0,t.jsx)("div",{className:"order-1 max-w-full tablet:hidden desktop:order-3 desktop:inline-block",children:(0,t.jsx)(v.Subscribe,{...l,marketingControls:n,width:"50"})}),r&&(0,t.jsxs)("small",{className:"order-4 text-labelSmall uppercase text-blanc50 tablet:col-span-2",children:["© ",new Date().getFullYear()," ",r]})]})})]})};e.s(["FooterClient",0,({initialCenterSlug:e,initialData:a,initialDataUpdatedAt:u,locale:c})=>{let{centerSlug:d}=(0,n.useCenterSlug)(),h=(0,i.useTranslations)(),f=d===e,{data:m}=(0,r.useQuery)({...(({centerSlug:e,locale:t})=>(0,s.queryOptions)({gcTime:2592e6,persister:(0,l.getIndexedDBPersister)()?.persisterFn,queryFn:async()=>{let r=await fetch(new URL(`/api/d/${t}/${e}/footer`,o.env.NEXT_PUBLIC_PAYLOAD_URL));if(!r.ok)throw Error("Failed to fetch footer");let i=await r.json(),n=await b.safeParseAsync(i);if(!n.success)throw Error("Failed to parse footer data");return n.data},queryKey:["footer",t,e],staleTime:6e5}))({centerSlug:d,locale:c}),initialData:f?a:void 0,initialDataUpdatedAt:f?u:void 0,placeholderData:e=>e});return m?(0,t.jsx)(O,{...m,t:h}):null}],678840)},641446,e=>{"use strict";var t=e.i(226132),r=e.i(398040),i=e.i(213973);e.i(814647);var n=e.i(592421),s=e.i(275618),a=e.i(832356),o=e.i(896137),l=e.i(995860);let u=a.z.object({centerId:a.z.string(),centers:a.z.array(a.z.object({href:a.z.string(),id:a.z.string(),locations:a.z.object({primaryLocation:a.z.string(),secondaryLocation:a.z.object({href:a.z.string(),id:a.z.string(),name:a.z.string()}).optional()}),name:a.z.string()})),formControls:a.z.object({centerAffiliationAll:a.z.string().nullish(),englishNewsletterAll:a.z.string().nullish(),nonEnglishNewsletterAll:a.z.string().nullish()}).nullish(),items:a.z.array(a.z.object({href:a.z.string(),id:a.z.string(),italicize:a.z.boolean().optional(),name:a.z.string()})),languages:a.z.array(a.z.object({code:a.z.string(),name:a.z.string()})).optional(),linkLocale:a.z.custom(),logos:a.z.object({desktop:a.z.object({alt:a.z.string(),height:a.z.number(),src:a.z.string(),width:a.z.number()}).optional(),mobile:a.z.object({alt:a.z.string(),height:a.z.number(),src:a.z.string(),width:a.z.number()}).optional()}).optional(),moreItems:a.z.array(a.z.object({href:a.z.string(),id:a.z.string(),isSecondary:a.z.boolean().optional(),name:a.z.string()})).optional(),regions:a.z.array(a.z.object({href:a.z.string(),id:a.z.string(),name:a.z.string()})).optional(),rootPath:a.z.string(),showDonate:a.z.boolean().optional(),tags:a.z.array(a.z.object({href:a.z.string(),id:a.z.string(),name:a.z.string()})),topics:a.z.array(a.z.object({href:a.z.string(),id:a.z.string(),name:a.z.string()})).optional()});var c=e.i(8711),d=e.i(856794),h=e.i(574755),f=e.i(263014),m=e.i(536925),p=e.i(940105),b=e.i(554295),g=e.i(637531);e.i(700602);var y=e.i(914889);e.i(161148);var v=e.i(877957),w=e.i(565319),x=e.i(768820);let j="u"<typeof document?null:document;e.i(389055);var O=e.i(765237),S=e.i(36193);e.i(365461);var k=e.i(333991);let C=({centers:e,onClose:i})=>{let n=(0,k.useCenter)(),s=e.find(e=>e.id===n.id)??e[0];if(!s)throw Error("No centers available");let[a,o]=(0,r.useState)(s);return(0,t.jsxs)(S.Root,{children:[(0,t.jsx)(S.DropdownMenuTrigger,{asChild:!0,children:(0,t.jsxs)("button",{className:"flex w-full items-center gap-8 bg-blanc py-[0.8rem] font-sans text-[1.6rem] font-[var(--body-base-font-weight)] leading-[var(--body-base-line-height)] tracking-[var(--body-base-letter-spacing)] text-blueDark",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsx)("span",{className:"text-start text-body",children:a.name}),(0,t.jsxs)("div",{className:"flex items-center gap-2 text-labelSmall",children:[(0,t.jsx)(g.Icon,{className:"size-[0.8rem] shrink-0",name:"Location"}),(0,t.jsx)("span",{className:"text-labelSmall uppercase",children:a.locations.primaryLocation})]})]}),(0,t.jsx)(g.Icon,{className:"shrink-0",name:"ArrowDown"})]})}),(0,t.jsx)(S.DropdownMenuContent,{className:"flex w-dvw flex-col gap-8 border border-solid bg-blanc p-[2.2rem]",children:e.map(e=>(0,t.jsx)(S.Item,{className:(0,w.cn)(a.id===e.id?"text-blueDark":"text-blueDark/[0.66]"),children:(0,t.jsxs)(b.Link,{className:"flex flex-col gap-2",href:e.href,locale:"en",onClick:i,children:[(0,t.jsx)("span",{className:"text-body",children:e.name}),(0,t.jsxs)("div",{className:"flex items-center gap-2 text-labelSmall",children:[(0,t.jsx)(g.Icon,{height:"8",name:"Location",width:"8"}),(0,t.jsx)("span",{className:"text-labelSmall uppercase",children:e.locations.primaryLocation})]})]})},e.id))})]})},E=({className:e,href:r,italicize:i,linkLocale:n,name:s})=>(0,t.jsx)(c.Item,{className:(0,w.cn)("text-blueDark/[0.66] hover:text-blueDark/50",i&&"italic",e),children:(0,t.jsx)(c.Link,{asChild:!0,children:(0,t.jsx)(b.Link,{href:r,locale:n,children:s})})},`link-${s}-${r}`);
1var P=e.i(726041);let T=({logos:e={},rootPath:r})=>(0,t.jsxs)(b.Link,{className:"flex items-center justify-center py-[2.2rem]",href:r,children:[e.desktop&&(0,t.jsx)(P.default,{alt:e.desktop.alt,className:"max-desktop:hidden",height:38,priority:!0,src:e.desktop.src,width:38*(e.desktop.width/e.desktop.height)}),e.mobile&&(0,t.jsx)(P.default,{alt:e.mobile.alt,className:"relative h-[38px] object-contain desktop:hidden",height:38,priority:!0,src:e.mobile.src,width:38*(e.mobile.width/e.mobile.height)})]});var M=e.i(921041),M=M;let z=({className:e})=>(0,t.jsx)(M.Root,{className:(0,w.cn)("h-[38px] w-px bg-noir/20",e),orientation:"vertical"});e.i(170734);var A=e.i(737709);let _=({items:e=[],onSeeAll:r,t:i,title:s})=>{let{centerSlug:a}=(0,n.useCenterSlug)();return(0,t.jsxs)("div",{className:"flex flex-col gap-[2.2rem]",children:[(0,t.jsxs)("div",{className:"flex w-full flex-wrap items-center justify-between gap-x-[2.2rem] pe-[5.6rem]",children:[(0,t.jsx)("span",{className:"text-headlineH5 text-noir",children:s}),(0,t.jsx)(v.Button,{className:"max-w-fit text-nowrap p-0",onClick:r,variant:"tertiary",children:i("Common.seeAll",{title:s})})]}),(0,t.jsx)("ul",{className:"grid grid-cols-3 gap-x-[5.6rem] gap-y-[1.6rem] text-body",children:e.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(b.Link,{href:"global"===a?e.href:`/${a}${e.href}`,children:e.name})},`link-${e.name}-${e.href}`))})]})},N=({onSeeAllRegions:e,onSeeAllTopics:r,regions:i=[],t:n,topics:s=[]})=>(0,t.jsx)("div",{className:"z-50 w-full border border-solid bg-blanc",children:(0,t.jsxs)(A.Constrainer,{className:"flex flex-row",children:[(0,t.jsx)("div",{className:"flex flex-1 justify-center border-e border-solid py-[4.65rem]",children:(0,t.jsx)(_,{items:s,onSeeAll:r,t:n,title:n("Common.topics")})}),(0,t.jsx)("div",{className:"flex flex-1 justify-center py-[4.65rem]",children:(0,t.jsx)(_,{items:i,onSeeAll:e,t:n,title:n("Common.regions")})})]})}),I={onPointerEnter:e=>{e.preventDefault()},onPointerLeave:e=>{e.preventDefault()},onPointerMove:e=>{e.preventDefault()}},R={onPointerEnter:e=>{e.preventDefault()},onPointerLeave:e=>{e.preventDefault()}},D=({canonicalDomain:e,centers:i,items:s,languages:a,linkLocale:o,logos:l,moreItems:u,onSeeAllRegions:S,onSeeAllTopics:k,regions:P,rootPath:M,showDonate:A,tags:_,topics:D})=>{let[L,F]=(0,r.useState)(!1),[q,Q]=(()=>{let e=(0,r.useRef)(!1),{body:t}=j??{},i=j?.documentElement,n=(0,r.useCallback)(()=>{t?.style&&e.current&&(i&&(i.style.position="",i.style.overflow=""),t.style.position="",t.style.overflow="",t.style.paddingRight="",e.current=!1)},[t?.style,i]);return(0,r.useEffect)(()=>()=>{e.current&&n()},[n]),[()=>{if(!t?.style||e.current)return;let r=x.isMobile?0:window.innerWidth-(i?.clientWidth??0),n=Number.parseInt(globalThis.getComputedStyle(t).getPropertyValue("padding-right"),10)||0;i&&(i.style.position="relative",i.style.overflow="hidden"),t.style.position="relative",t.style.overflow="hidden",t.style.paddingRight=`${(n+r).toString()}px`,e.current=!0},n]})(),[U,G]=(0,r.useState)(""),$=(0,m.useWindowSize)(),W=(0,h.useTranslations)(),{centerSlug:B}=(0,n.useCenterSlug)(),V=(0,d.useLocale)(),K=(0,f.getLangDir)(V);(0,r.useEffect)(()=>{G("")},[$]),(0,r.useEffect)(()=>{"mobile-menu"!==U&&F(!1)},[U]),(0,r.useEffect)(()=>{L?q():Q()},[L,q,Q,U]);let H=u?.filter(e=>!e.isSecondary),Y=u?.filter(e=>e.isSecondary);return(0,t.jsx)(c.Root,{asChild:!0,delayDuration:0,dir:K,onValueChange:e=>{G(e),F(!!e)},value:U,children:(0,t.jsxs)("header",{className:(0,w.cn)("sticky top-0 z-50 bg-blanc px-[2.2rem]",L&&"fixed end-0 start-0 top-0"),children:[(0,t.jsxs)("div",{className:"flex h-[calc(38px+4.4rem)] items-center justify-center gap-[2.4rem]",children:[(0,t.jsx)("div",{className:"flex flex-1 grow items-center gap-4",children:(0,t.jsxs)(c.List,{className:"flex items-center gap-[1.2rem] font-sans text-[1.6rem] font-[var(--body-base-font-weight)] leading-[var(--body-base-line-height)] tracking-[var(--body-base-letter-spacing)] text-blueDark/[0.66]",children:[(0,t.jsxs)(c.Item,{className:"desktop:hidden",value:"mobile-menu",children:[(0,t.jsx)(c.Trigger,{...I,children:"mobile-menu"===U?(0,t.jsx)(g.Icon,{name:"X"}):(0,t.jsx)(g.Icon,{name:"Hamburger"})}
1),(0,t.jsx)(c.Content,{className:"flex h-[calc(100vh-(38px+4.4rem))] w-full overflow-y-auto border-t border-solid bg-blanc",...R,children:(0,t.jsxs)("div",{className:"flex h-full w-full flex-col",children:[(0,t.jsx)("div",{className:"sticky top-0 border-b border-solid px-[2.2rem]",children:(0,t.jsx)(C,{centers:i,onClose:()=>{G("")}})}),(0,t.jsxs)("div",{className:"flex h-full grow flex-col justify-between",children:[(0,t.jsxs)("div",{className:"flex w-full flex-wrap justify-between gap-[2.4rem] p-[2.4rem] tablet:grid tablet:grid-cols-[1.5fr_1fr] tablet:px-[6.2rem] tablet:py-[4.6rem]",children:[(0,t.jsx)("ul",{className:"col-span-1 flex flex-col gap-[2.2rem]",children:s.map(e=>(0,r.createElement)(E,{...e,className:"text-[2.2rem] font-medium leading-[2.4rem] text-blueDark tablet:text-[4.8rem] tablet:leading-[51.4286px]",italicize:e.italicize,key:e.id,linkLocale:o}))}),(0,t.jsx)("ul",{className:"col-span-1 flex flex-col gap-[1.6rem] tablet:gap-[2.2rem]",children:u?.map(e=>(0,r.createElement)(E,{...e,className:"text-[1.4rem] font-medium leading-[1.6rem] text-blueDark tablet:text-[1.8rem] tablet:leading-[20.5714px]",italicize:e.italicize,key:e.id,linkLocale:o}))})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-[3.2rem]",children:[(0,t.jsx)("div",{className:"flex flex-wrap gap-[0.4rem] px-[2.4rem] tablet:px-[6.2rem]",children:_.map(e=>(0,t.jsx)(y.Badge,{asChild:!0,children:(0,t.jsx)(b.Link,{href:e.href,onClick:()=>{G("")},children:e.name})},e.id))}),(0,t.jsxs)("div",{className:"flex flex-col border-t border-solid tablet:flex-row",children:[(0,t.jsx)("div",{className:"flex flex-1 grow items-center justify-center border-b border-solid py-[2.9rem] tablet:border-e",children:(0,t.jsx)(v.Button,{onClick:k,variant:"tertiary",children:W("Common.seeAll",{title:W("Common.topics")})})}),(0,t.jsx)("div",{className:"flex flex-1 grow items-center justify-center py-[2.9rem]",children:(0,t.jsx)(v.Button,{onClick:S,variant:"tertiary",children:W("Common.seeAll",{title:W("Common.regions")})})})]})]})]})]})})]}),(0,t.jsxs)(c.Item,{className:"text-blueDark/[0.66] hover:text-blueDark/50 max-desktop:hidden",value:"center-selector",children:[(0,t.jsx)(c.Trigger,{...I,className:"current-center-label",children:(0,t.jsxs)("span",{className:"flex items-center gap-2 text-nowrap",children:[W("Navigation.globalLocations"),(0,t.jsx)(g.Icon,{className:(0,w.cn)("opacity-60","center-selector"===U&&"rotate-180"),name:"ArrowDown"})]})}),(0,t.jsx)(c.Content,{className:"flex w-full",...R,children:(0,t.jsx)(c.List,{className:"flex flex-col gap-8 border border-solid bg-blanc p-[2.2rem]",children:i.map(r=>(0,t.jsx)(c.Item,{className:"text-blueDark/[0.66]",children:(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsx)(c.Link,{asChild:!0,children:(0,t.jsxs)(b.Link,{className:"flex flex-col gap-2 transition-colors duration-200 hover:text-blueDark/50",href:`${e??""}${r.href}`,locale:"en",children:[(0,t.jsx)("span",{className:"text-body",children:r.name}),(0,t.jsxs)("div",{className:"flex items-center gap-2 text-labelSmall",children:[(0,t.jsx)(g.Icon,{height:"8",name:"Location",width:"8"}),(0,t.jsx)("span",{className:"text-labelSmall uppercase",children:r.locations.primaryLocation})]})]})}),r.locations.secondaryLocation&&(0,t.jsx)(c.Link,{asChild:!0,children:(0,t.jsx)(b.Link,{className:"transition-colors duration-200 hover:text-blueDark/50",href:`${e??""}${r.locations.secondaryLocation.href}`,locale:"en",children:(0,t.jsxs)("div",{className:"flex items-center gap-2 text-labelSmall",children:[(0,t.jsx)(g.Icon,{height:"8",name:"Location",width:"8"}),(0,t.jsx)("span",{className:"text-labelSmall uppercase",children:r.locations.secondaryLocation.name})]})})})]})},r.id))})})]}),(0,t.jsx)(z,{className:"max-desktop:hidden"}),s.map(e=>(0,r.createElement)(E,{...e,className:"nav-link-text text-nowrap max-desktop:hidden",italicize:e.italicize,key:e.id,linkLocale:o})),u&&u.length>0&&(0,t.jsxs)(c.Item,{className:"text-blueDark/[0.66] hover:text-blueDark/50 max-desktop:hidden",value:"more-selector",children:[(0,t.jsx)(c.Trigger,{...I,children:(0,t.jsxs)("span",{className:"flex items-center gap-2",children:[W("Common.more"),(0,t.jsx)(g.Icon,{className:(0,w.cn)("opacity-60","more-selector"===U&&"rotate-180"),name:"ArrowDown"})]})}
1),(0,t.jsx)(c.Content,{className:"absolute top-full",...R,children:(0,t.jsxs)(c.List,{className:"text-nowrap border border-solid bg-blanc",children:[H?.map(e=>(0,r.createElement)(E,{...e,className:(0,w.cn)("border-b border-solid px-[2.4rem] py-[1.6rem]",Y&&0===Y.length&&"last:border-b-0"),italicize:e.italicize,key:e.id,linkLocale:o})),Y&&Y.length>0&&(0,t.jsx)("div",{className:"px-[2.4rem] py-[2.2rem]",children:Y.map(e=>(0,r.createElement)(E,{...e,className:"border-b-0 py-[1.2rem] text-bodyExtraSmall first:pt-0 last:pb-0",italicize:e.italicize,key:e.id,linkLocale:o}))})]})})]})]})}),(0,t.jsx)(T,{logos:l,rootPath:M}),(0,t.jsxs)("div",{className:"flex flex-1 grow items-center justify-end gap-4",children:[_.map(e=>(0,t.jsx)(y.Badge,{asChild:!0,className:"max-desktop:hidden",children:(0,t.jsx)(b.Link,{className:"nav-tag",href:e.href,children:e.name})},e.id)),(0,t.jsxs)(c.List,{className:"flex items-center gap-[1.2rem] font-sans text-[1.6rem] font-[var(--body-base-font-weight)] leading-[var(--body-base-line-height)] tracking-[var(--body-base-letter-spacing)]",children:[(0,t.jsxs)(c.Item,{className:"h-[38px] text-blueDark/[0.66] hover:text-blueDark/50 max-desktop:hidden",value:"topics-regions-selector",children:[(0,t.jsx)(c.Trigger,{...I,className:"h-full",children:(0,t.jsxs)("span",{className:"flex h-full items-center gap-2 text-nowrap",children:[W("Common.topicsAndRegions"),(0,t.jsx)(g.Icon,{className:(0,w.cn)("opacity-60","topics-regions-selector"===U&&"rotate-180"),name:"ArrowDown"})]})}),(0,t.jsx)(c.Content,{className:"flex w-full",...R,children:(0,t.jsx)(N,{onSeeAllRegions:S,onSeeAllTopics:k,regions:P,t:W,topics:D})})]}),A&&(0,t.jsx)(c.Item,{value:"donate",children:(0,t.jsx)(y.Badge,{asChild:!0,className:"max-desktop:hidden",theme:"teal",children:(0,t.jsx)(b.Link,{href:"https://donate.carnegieendowment.org/support",children:W("Navigation.donate")})})}),(0,t.jsx)(O.ContentLanguageSelector,{href:B===p.DEFAULT_CENTER_SLUG?"/":`/${B}`,languages:a}),(0,t.jsx)(z,{className:"max-desktop:hidden"}),(0,t.jsx)(c.Item,{className:"text-blueDark/[0.66] hover:text-blueDark/50",children:(0,t.jsx)(c.Link,{asChild:!0,children:(0,t.jsx)(b.Link,{className:"search-toggle",href:"global"===B?"/search":`/${B}/search`,children:(0,t.jsx)(g.Icon,{name:"Search"})})})})]})]})]}),!["language-selector","more-selector"].includes(U)&&(0,t.jsx)(c.Viewport,{className:"fixed inset-0 top-[calc(38px+4.4rem)]"})]})})};var L=e.i(477958);e.s(["NavigationClient",0,({canonicalDomain:e,initialCenterSlug:a,initialData:c,initialDataUpdatedAt:d,locale:h})=>{let{centerSlug:f}=(0,n.useCenterSlug)(),{setCenterAffiliationValue:m,setEnglishNewsletterValue:p,setId:b,setNonEnglishNewsletterValue:g}=(0,k.useCenter)(),{regions:y,topics:v}=(0,L.useModals)(),w=f===a,{data:x}=(0,i.useQuery)({...(({centerSlug:e,locale:t})=>(0,s.queryOptions)({gcTime:2592e6,persister:(0,l.getIndexedDBPersister)()?.persisterFn,queryFn:async({queryKey:e})=>{let[,t,r]=e,i=await fetch(new URL(`/api/d/${t}/${r}/navigation`,o.env.NEXT_PUBLIC_PAYLOAD_URL));if(!i.ok)throw Error("Failed to fetch navigation");let n=await u.safeParseAsync(await i.json());if(!n.success)throw Error("Failed to parse navigation");return n.data},queryKey:["navigation",t,e],staleTime:6e5}))({centerSlug:f,locale:h}),initialData:w?c:void 0,initialDataUpdatedAt:w?d:void 0,placeholderData:e=>e}),j=x?.centerId,O=x?.formControls;return((0,r.useEffect)(()=>{j&&b(j)},[j,b]),(0,r.useEffect)(()=>{O?.centerAffiliationAll&&m(O.centerAffiliationAll)},[O?.centerAffiliationAll,m]),(0,r.useEffect)(()=>{O?.englishNewsletterAll&&p(O.englishNewsletterAll)},[O?.englishNewsletterAll,p]),(0,r.useEffect)(()=>{O?.nonEnglishNewsletterAll&&g(O.nonEnglishNewsletterAll)},[O?.nonEnglishNewsletterAll,g]),x)?(0,t.jsx)(D,{canonicalDomain:e,centers:x.centers,items:x.items,languages:x.languages,linkLocale:x.linkLocale,logos:x.logos,moreItems:x.moreItems,onSeeAllRegions:y.openModal,onSeeAllTopics:v.openModal,regions:x.regions,rootPath:x.rootPath,showDonate:x.showDonate,tags:x.tags,topics:x.topics}):null}],641446)},477958,e=>{"use strict";var t=e.i(226132),r=e.i(398040),i=e.i(424335),n=e.i(213973),s=e.i(856794),a=e.i(574755),o=e.i(275618);e.i(365461);var l=e.i(333991);let u=({isOpen:r,onCloseAction:u})=>{let c,d=(0,s.useLocale)(),{id:h}=(0,l.useCenter)(),f=(0,a.useTranslations)("Common"),{data:m}=(0,n.useQuery)((c=h??"",(0,o.queryOptions)({queryFn:async({queryKey:e})=>{let[,t,r]=e,i=await fetch(`/api/d/${t}/center/${r}/regions`);if(!i.ok)throw Error("Failed to fetch center regions");return i.json()},queryKey:["centerRegions",d,c],staleTime:3e5}))),p=(0,i.default)(async()=>(await e.A(59337)).RegionModal,{loadableGenerated:{modules:[446779]},ssr:!1});return(0,t.jsx)(p,{allRegions:m?.regions??[],isOpen:r,label:f("Regions"),onClose:u})},c=({isOpen:r,onCloseAction:u})=>{let c,d=(0,s.useLocale)(),{id:h}=(0,l.useCenter)(),f=(0,a.useTranslations)("Common"),{data:m}=(0,n.useQuery)((c=h??"",(0,o.queryOptions)({queryFn:async({queryKey:e})=>{let[,t,r]=e,i=await fetch(`/api/d/${t}/center/${r}/topics`);if(!i.ok)throw Error("Failed to fetch center topics");return i.json()},queryKey:["centerTopics",d,c],staleTime:3e5}))),p=(0,i.default)(async()=>(await e.A(346216)).TopicModal,{loadableGenerated:{modules:[956257]},ssr:!1});return(0,t.jsx)(p,{allTopics:m?.topics??[],isOpen:r,label:f("Topics"),onClose:u})},d=(0,r.createContext)({regions:{closeModal:()=>{},openModal:()=>{}},topics:{closeModal:()=>{},openModal:()=>{}}});e.s(["ModalsProvider",0,({children:e})=>{let[i,n]=(0,r.useState)(!1),s=()=>{n(!1)},[a,o]=(0,r.useState)(!1),l=()=>{o(!1)};
1return(0,t.jsxs)(d.Provider,{value:{regions:{closeModal:l,openModal:()=>{o(!0)}},topics:{closeModal:s,openModal:()=>{n(!0)}}},children:[e,i&&(0,t.jsx)(c,{isOpen:i,onCloseAction:s}),a&&(0,t.jsx)(u,{isOpen:a,onCloseAction:l})]})},"useModals",0,()=>(0,r.useContext)(d)],477958)},519607,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function({html:e,height:t=null,width:r=null,children:s,dataNtpc:a=""}){return(0,n.useEffect)(()=>{a&&performance.mark("mark_feature_usage",{detail:{feature:`next-third-parties-${a}`}})},[a]),(0,i.jsxs)(i.Fragment,{children:[s,e?(0,i.jsx)("div",{style:{height:null!=t?`${t}px`:"auto",width:null!=r?`${r}px`:"auto"},"data-ntpc":a,dangerouslySetInnerHTML:{__html:e}}):null]})};let i=e.r(226132),n=e.r(398040)},397787,(e,t,r)=>{"use strict";let i;var n=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.GoogleAnalytics=function(e){let{gaId:t,debugMode:r,dataLayerName:n="dataLayer",nonce:l}=e;return void 0===i&&(i=n),(0,a.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-ga"}})},[]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(o.default,{id:"_next-ga-init",dangerouslySetInnerHTML:{__html:` 2 window['${n}'] = window['${n}'] || []; 3 function gtag(){window['${n}'].push(arguments);} 4 gtag('js', new Date()); 5 6 gtag('config', '${t}' ${r?",{ 'debug_mode': true }":""});`},nonce:l}),(0,s.jsx)(o.default,{id:"_next-ga",src:`https://www.googletagmanager.com/gtag/js?id=${t}`,nonce:l})]})},r.sendGAEvent=function(){void 0===i?console.warn("@next/third-parties: GA has not been initialized"):window[i]?window[i].push(arguments):console.warn(`@next/third-parties: GA dataLayer ${i} does not exist`)};let s=e.r(226132),a=e.r(398040),o=n(e.r(229049))},49990,(e,t,r)=>{"use strict";var i=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){let{apiKey:t,...r}=e,i={...r,key:t},{html:o}=(0,s.GoogleMapsEmbed)(i);return(0,n.jsx)(a.default,{height:i.height||null,width:i.width||null,html:o,dataNtpc:"GoogleMapsEmbed"})};let n=e.r(226132),s=e.r(508751),a=i(e.r(519607))},272196,(e,t,r)=>{"use strict";var i=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.sendGTMEvent=void 0,r.GoogleTagManager=function(e){let{gtmId:t,gtmScriptUrl:r="https://www.googletagmanager.com/gtm.js",dataLayerName:i="dataLayer",auth:l,preview:u,dataLayer:c,nonce:d}=e;o=i;let h="dataLayer"!==i?`&l=${i}`:"",f=l?`>m_auth=${l}`:"",m=u?`>m_preview=${u}>m_cookies_win=x`:"";return(0,s.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-gtm"}})},[]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a.default,{id:"_next-gtm-init",dangerouslySetInnerHTML:{__html:` 7 (function(w,l){ 8 w[l]=w[l]||[]; 9 w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'}); 10 ${c?`w[l].push(${JSON.stringify(c)})`:""} 11 })(window,'${i}');`},nonce:d}),(0,n.jsx)(a.default,{id:"_next-gtm","data-ntpc":"GTM",src:`${r}?id=${t}${h}${f}${m}`,nonce:d})]})};let n=e.r(226132),s=e.r(398040),a=i(e.r(229049)),o="dataLayer";r.sendGTMEvent=(e,t)=>{let r=t||o;window[r]=window[r]||[],window[r].push(e)}},846137,(e,t,r)=>{"use strict";var i=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.sendGAEvent=r.GoogleAnalytics=r.sendGTMEvent=r.GoogleTagManager=r.YouTubeEmbed=r.GoogleMapsEmbed=void 0;var n=e.r(49990);Object.defineProperty(r,"GoogleMapsEmbed",{enumerable:!0,get:function(){return i(n).default}});var s=e.r(738396);Object.defineProperty(r,"YouTubeEmbed",{enumerable:!0,get:function(){return i(s).default}});var a=e.r(272196);Object.defineProperty(r,"GoogleTagManager",{enumerable:!0,get:function(){return a.GoogleTagManager}}),Object.defineProperty(r,"sendGTMEvent",{enumerable:!0,get:function(){return a.sendGTMEvent}});
11var o=e.r(397787);Object.defineProperty(r,"GoogleAnalytics",{enumerable:!0,get:function(){return o.GoogleAnalytics}}),Object.defineProperty(r,"sendGAEvent",{enumerable:!0,get:function(){return o.sendGAEvent}})},738396,(e,t,r)=>{"use strict";var i=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){let{html:t,scripts:r,stylesheets:i}=(0,a.YouTubeEmbed)(e);return(0,n.jsx)(o.default,{height:e.height||null,width:e.width||null,html:t,dataNtpc:"YouTubeEmbed",children:null==r?void 0:r.map(e=>(0,n.jsx)(s.default,{src:e.url,strategy:l[e.strategy],stylesheets:i},e.url))})};let n=e.r(226132),s=i(e.r(229049)),a=e.r(508751),o=i(e.r(519607)),l={server:"beforeInteractive",client:"afterInteractive",idle:"lazyOnload",worker:"worker"}},34638,873412,565217,645357,828630,220498,469464,479540,1474,348050,198506,e=>{"use strict";let t,r,i,n,s,a;var o=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}};e.s(["Subscribable",0,o],873412);var l={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},u=new class{#e=l;#t=!1;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}};function c(e){setTimeout(e,0)}e.s(["systemSetTimeoutZero",0,c,"timeoutManager",0,u],565217);var d="u"<typeof window||"Deno"in globalThis;function h(){}function f(e){return"number"==typeof e&&e>=0&&e!==1/0}function m(e,t){return Math.max(e+(t||0)-Date.now(),0)}function p(e,t){return"function"==typeof e?e(t):e}function b(e,t){return"function"==typeof e?e(t):e}function g(e,t){return(t?.queryKeyHashFn||y)(e)}function y(e){return JSON.stringify(e,(e,t)=>j(t)?Object.keys(t).sort().reduce((e,r)=>(e[r]=t[r],e),{}):t)}function v(e,t){return e===t||typeof e==typeof t&&!!e&&!!t&&"object"==typeof e&&"object"==typeof t&&Object.keys(t).every(r=>v(e[r],t[r]))}var w=Object.prototype.hasOwnProperty;function x(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function j(e){if(!O(e))return!1;let t=e.constructor;if(void 0===t)return!0;let r=t.prototype;return!!O(r)&&!!r.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype}function O(e){return"[object Object]"===Object.prototype.toString.call(e)}function S(e){return new Promise(t=>{u.setTimeout(t,e)})}function k(e,t,r){return"function"==typeof r.structuralSharing?r.structuralSharing(e,t):!1!==r.structuralSharing?function e(t,r){if(t===r)return t;let i=x(t)&&x(r);if(!i&&!(j(t)&&j(r)))return r;let n=(i?t:Object.keys(t)).length,s=i?r:Object.keys(r),a=s.length,o=i?Array(a):{},l=0;for(let u=0;u<a;u++){let a=i?u:s[u],c=t[a],d=r[a];if(c===d){o[a]=c,(i?u<n:w.call(t,a))&&l++;continue}if(null===c||null===d||"object"!=typeof c||"object"!=typeof d){o[a]=d;continue}let h=e(c,d);o[a]=h,h===c&&l++}return n===a&&l===n?t:o}(e,t):t}var C=Symbol();function E(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==C?e.queryFn:()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`))}e.s(["addToEnd",0,function(e,t,r=0){let i=[...e,t];return r&&i.length>r?i.slice(1):i},"addToStart",0,function(e,t,r=0){let i=[t,...e];return r&&i.length>r?i.slice(0,-1):i},"ensureQueryFn",0,E,"functionalUpdate",0,function(e,t){return"function"==typeof e?e(t):e},"hashKey",0,y,"hashQueryKeyByOptions",0,g,"isServer",0,d,"isValidTimeout",0,f,"matchMutation",0,function(e,t){let{exact:r,status:i,predicate:n,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(r){if(y(t.options.mutationKey)!==y(s))return!1}else if(!v(t.options.mutationKey,s))return!1}return(!i||t.state.status===i)&&(!n||!!n(t))},"matchQuery",0,function(e,t){let{type:r="all",exact:i,fetchStatus:n,predicate:s,queryKey:a,stale:o}=e;if(a){if(i){if(t.queryHash!==g(a,t.options))return!1}else if(!v(t.queryKey,a))return!1}if("all"!==r){let e=t.isActive();if("active"===r&&!e||"inactive"===r&&e)return!1}return("boolean"!=typeof o||t.isStale()===o)&&(!n||n===t.state.fetchStatus)&&(!s||!!s(t))},"noop",0,h,"partialMatchKey",0,v,"replaceData",0,k,"resolveEnabled",0,b,"resolveStaleTime",0,p,"shallowEqualObjects",0,function(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(let r in e)if(e[r]!==t[r])return!1;return!0},"shouldThrowError",0,function(e,t){return"function"==typeof e?e(...t):!!e},"skipToken",0,C,"sleep",0,S,"timeUntilStale",0,m],645357);var P=new class extends o{#r;#i;#n;constructor(){super(),this.#n=e=>{if(!d&&window.addEventListener){let t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#i||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#i?.(),this.#i=void 0)}setEventListener(e){this.#n=e,this.#i?.(),this.#i=e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()})}setFocused(e){this.#r!==e&&(this.#r=e,this.onFocus())}onFocus(){let e=this.isFocused();
11this.listeners.forEach(t=>{t(e)})}isFocused(){return"boolean"==typeof this.#r?this.#r:globalThis.document?.visibilityState!=="hidden"}};e.s(["focusManager",0,P],34638);var T=(t=[],r=0,i=e=>{e()},n=e=>{e()},s=c,{batch:e=>{let a;r++;try{a=e()}finally{let e;--r||(e=t,t=[],e.length&&s(()=>{n(()=>{e.forEach(e=>{i(e)})})}))}return a},batchCalls:e=>(...t)=>{a(()=>{e(...t)})},schedule:a=e=>{r?t.push(e):s(()=>{i(e)})},setNotifyFunction:e=>{i=e},setBatchNotifyFunction:e=>{n=e},setScheduler:e=>{s=e}});e.s(["notifyManager",0,T],828630);var M=new class extends o{#s=!0;#i;#n;constructor(){super(),this.#n=e=>{if(!d&&window.addEventListener){let t=()=>e(!0),r=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",r)}}}}onSubscribe(){this.#i||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#i?.(),this.#i=void 0)}setEventListener(e){this.#n=e,this.#i?.(),this.#i=e(this.setOnline.bind(this))}setOnline(e){this.#s!==e&&(this.#s=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#s}};function z(){let e,t,r=new Promise((r,i)=>{e=r,t=i});function i(e){Object.assign(r,e),delete r.resolve,delete r.reject}return r.status="pending",r.catch(()=>{}),r.resolve=t=>{i({status:"fulfilled",value:t}),e(t)},r.reject=e=>{i({status:"rejected",reason:e}),t(e)},r}function A(e){return Math.min(1e3*2**e,3e4)}function _(e){return(e??"online")!=="online"||M.isOnline()}e.s(["onlineManager",0,M],220498),e.s(["pendingThenable",0,z,"tryResolveSync",0,function(e){let t;if(e.then(e=>(t=e,e),h)?.catch(h),void 0!==t)return{data:t}}],469464);var N=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function I(e){let t,r=!1,i=0,n=z(),s=()=>P.isFocused()&&("always"===e.networkMode||M.isOnline())&&e.canRun(),a=()=>_(e.networkMode)&&e.canRun(),o=e=>{"pending"===n.status&&(t?.(),n.resolve(e))},l=e=>{"pending"===n.status&&(t?.(),n.reject(e))},u=()=>new Promise(r=>{t=e=>{("pending"!==n.status||s())&&r(e)},e.onPause?.()}).then(()=>{t=void 0,"pending"===n.status&&e.onContinue?.()}),c=()=>{let t;if("pending"!==n.status)return;let a=0===i?e.initialPromise:void 0;try{t=a??e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(o).catch(t=>{if("pending"!==n.status)return;let a=e.retry??3*!d,o=e.retryDelay??A,h="function"==typeof o?o(i,t):o,f=!0===a||"number"==typeof a&&i<a||"function"==typeof a&&a(i,t);r||!f?l(t):(i++,e.onFail?.(i,t),S(h).then(()=>s()?void 0:u()).then(()=>{r?l(t):c()}))})};return{promise:n,status:()=>n.status,cancel:t=>{if("pending"===n.status){let r=new N(t);l(r),e.onCancel?.(r)}},continue:()=>(t?.(),n),cancelRetry:()=>{r=!0},continueRetry:()=>{r=!1},canStart:a,start:()=>(a()?c():u().then(c),n)}}e.s(["CancelledError",0,N,"canFetch",0,_,"createRetryer",0,I],479540);var R=class{#a;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),f(this.gcTime)&&(this.#a=u.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(d?1/0:3e5))}clearGcTimeout(){this.#a&&(u.clearTimeout(this.#a),this.#a=void 0)}};e.s(["Removable",0,R],1474);var D=class extends R{#o;#l;#u;#c;#d;#h;#f;constructor(e){super(),this.#f=!1,this.#h=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#c=e.client,this.#u=this.#c.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#o=F(this.options),this.state=e.state??this.#o,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#d?.promise}setOptions(e){if(this.options={...this.#h,...e},this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){let e=F(this.options);void 0!==e.data&&(this.setData(e.data,{updatedAt:e.dataUpdatedAt,manual:!0}),this.#o=e)}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#u.remove(this)}setData(e,t){let r=k(this.state.data,e,this.options);return this.#m({data:r,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),r}setState(e,t){this.#m({type:"setState",state:e,setStateOptions:t})}cancel(e){let t=this.#d?.promise;return this.#d?.cancel(e),t?t.then(h).catch(h):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#o)}isActive(){return this.observers.some(e=>!1!==b(e.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===C||this.state.dataUpdateCount+this.state.errorUpdate
11Count===0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>"static"===p(e.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(e=0){return void 0===this.state.data||"static"!==e&&(!!this.state.isInvalidated||!m(this.state.dataUpdatedAt,e))}onFocus(){let e=this.observers.find(e=>e.shouldFetchOnWindowFocus());e?.refetch({cancelRefetch:!1}),this.#d?.continue()}onOnline(){let e=this.observers.find(e=>e.shouldFetchOnReconnect());e?.refetch({cancelRefetch:!1}),this.#d?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#u.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#d&&(this.#f?this.#d.cancel({revert:!0}):this.#d.cancelRetry()),this.scheduleGc()),this.#u.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#m({type:"invalidate"})}async fetch(e,t){let r;if("idle"!==this.state.fetchStatus&&this.#d?.status()!=="rejected"){if(void 0!==this.state.data&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#d)return this.#d.continueRetry(),this.#d.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let i=new AbortController,n=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#f=!0,i.signal)})},s=()=>{let e,r=E(this.options,t),i=(n(e={client:this.#c,queryKey:this.queryKey,meta:this.meta}),e);return(this.#f=!1,this.options.persister)?this.options.persister(r,i,this):r(i)},a=(n(r={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#c,state:this.state,fetchFn:s}),r);this.options.behavior?.onFetch(a,this),this.#l=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==a.fetchOptions?.meta)&&this.#m({type:"fetch",meta:a.fetchOptions?.meta}),this.#d=I({initialPromise:t?.initialPromise,fn:a.fetchFn,onCancel:e=>{e instanceof N&&e.revert&&this.setState({...this.#l,fetchStatus:"idle"}),i.abort()},onFail:(e,t)=>{this.#m({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#m({type:"pause"})},onContinue:()=>{this.#m({type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0});try{let e=await this.#d.start();if(void 0===e)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#u.config.onSuccess?.(e,this),this.#u.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof N){if(e.silent)return this.#d.promise;else if(e.revert){if(void 0===this.state.data)throw e;return this.state.data}}throw this.#m({type:"error",error:e}),this.#u.config.onError?.(e,this),this.#u.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#m(e){let t=t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,...L(t.data,this.options),fetchMeta:e.meta??null};case"success":let r={...t,data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#l=e.manual?r:void 0,r;case"error":let i=e.error;return{...t,error:i,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}};this.state=t(this.state),T.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#u.notify({query:this,type:"updated",action:e})})}};function L(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:_(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}function F(e){let t="function"==typeof e.initialData?e.initialData():e.initialData,r=void 0!==t,i=r?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?i??Date.now():0,error:null,errorUpdate
11Count:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}e.s(["Query",0,D,"fetchState",0,L],348050);var q=e.i(398040),Q=e.i(226132),U=q.createContext(void 0);e.s(["QueryClientProvider",0,({client:e,children:t})=>(q.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,Q.jsx)(U.Provider,{value:e,children:t})),"useQueryClient",0,e=>{let t=q.useContext(U);if(e)return e;if(!t)throw Error("No QueryClient set, use QueryClientProvider to set one");return t}],198506)},213973,275618,e=>{"use strict";let t;var r=e.i(34638),i=e.i(828630),n=e.i(348050),s=e.i(873412),a=e.i(469464),o=e.i(645357),l=e.i(565217),u=class extends s.Subscribable{constructor(e,t){super(),this.options=t,this.#c=e,this.#p=null,this.#b=(0,a.pendingThenable)(),this.bindMethods(),this.setOptions(t)}#c;#g=void 0;#y=void 0;#v=void 0;#w;#x;#b;#p;#j;#O;#S;#k;#C;#E;#P=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#g.addObserver(this),c(this.#g,this.options)?this.#T():this.updateResult(),this.#M())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return d(this.#g,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return d(this.#g,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#z(),this.#A(),this.#g.removeObserver(this)}setOptions(e){let t=this.options,r=this.#g;if(this.options=this.#c.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof(0,o.resolveEnabled)(this.options.enabled,this.#g))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#_(),this.#g.setOptions(this.options),t._defaulted&&!(0,o.shallowEqualObjects)(this.options,t)&&this.#c.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#g,observer:this});let i=this.hasListeners();i&&h(this.#g,r,this.options,t)&&this.#T(),this.updateResult(),i&&(this.#g!==r||(0,o.resolveEnabled)(this.options.enabled,this.#g)!==(0,o.resolveEnabled)(t.enabled,this.#g)||(0,o.resolveStaleTime)(this.options.staleTime,this.#g)!==(0,o.resolveStaleTime)(t.staleTime,this.#g))&&this.#N();let n=this.#I();i&&(this.#g!==r||(0,o.resolveEnabled)(this.options.enabled,this.#g)!==(0,o.resolveEnabled)(t.enabled,this.#g)||n!==this.#E)&&this.#R(n)}getOptimisticResult(e){var t,r;let i=this.#c.getQueryCache().build(this.#c,e),n=this.createResult(i,e);return t=this,r=n,(0,o.shallowEqualObjects)(t.getCurrentResult(),r)||(this.#v=n,this.#x=this.options,this.#w=this.#g.state),n}getCurrentResult(){return this.#v}trackResult(e,t){return new Proxy(e,{get:(e,r)=>(this.trackProp(r),t?.(r),"promise"!==r||this.options.experimental_prefetchInRender||"pending"!==this.#b.status||this.#b.reject(Error("experimental_prefetchInRender feature flag is not enabled")),Reflect.get(e,r))})}trackProp(e){this.#P.add(e)}getCurrentQuery(){return this.#g}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=this.#c.defaultQueryOptions(e),r=this.#c.getQueryCache().build(this.#c,t);return r.fetch().then(()=>this.createResult(r,t))}fetch(e){return this.#T({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#v))}#T(e){this.#_();let t=this.#g.fetch(this.options,e);return e?.throwOnError||(t=t.catch(o.noop)),t}#N(){this.#z();let e=(0,o.resolveStaleTime)(this.options.staleTime,this.#g);if(o.isServer||this.#v.isStale||!(0,o.isValidTimeout)(e))return;let t=(0,o.timeUntilStale)(this.#v.dataUpdatedAt,e);this.#k=l.timeoutManager.setTimeout(()=>{this.#v.isStale||this.updateResult()},t+1)}#I(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#g):this.options.refetchInterval)??!1}#R(e){this.#A(),this.#E=e,!o.isServer&&!1!==(0,o.resolveEnabled)(this.options.enabled,this.#g)&&(0,o.isValidTimeout)(this.#E)&&0!==this.#E&&(this.#C=l.timeoutManager.setInterval(()=>{(this.options.refetchIntervalInBackground||r.focusManager.isFocused())&&this.#T()},this.#E))}#M(){this.#N(),this.#R(this.#I())}#z(){this.#k&&(l.timeoutManager.clearTimeout(this.#k),this.#k=void 0)}#A(){this.#C&&(l.timeoutManager.clearInterval(this.#C),this.#C=void 0)}createResult(e,t){let r,i=this.#g,s=this.options,l=this.#v,u=this.#w,d=this.#x,m=e!==i?e.state:this.#y,{state:p}=e,b={...p},g=!1;if(t._optimisticResults){let r=this.hasListeners(),a=!r&&c(e,t),o=r&&h(e,i,t,s);(a||o)&&(b={...b,...(0,n.fetchState)(p.data,e.options)}),"isRestoring"===t._optimisticResults&&(b.fetchStatus="idle")}let{error:y,errorUpdatedAt:v,status:w}=b;r=b.data;let x=!1;if(void 0!==t.placeholderData&&void 0===r&&"pending"===w){let e;l?.isPlaceholderData&&t.placeholderData===d?.placeholderData?(e=l.data,x=!0):e="function"==typeof t.placeholderData?t.placeholderData(this.#S?.state.data,this.#S):t.placeholderData,void 0!==e&&(w="success",r=(0,o.replaceData)(l?.data,e,t),g=!0)}if(t.select&&void 0!==r&&!x)if(l&&r===u?.data&&t.select===this.#j)r=this.#O;else try{this.#j=t.select,r=t.select(r),r=(0,o.replaceData)(l?.data,r,t),this.#O=r,this.#p=null}catch(e){this.#p=e}this.#p&&(y=this.#p,r=this.#O,v=Date.now(),w="error");let j="fetching"===b.fetchStatus,O="pending"===w,S="error"===w,k=O&&j,C=void 0!==r,E={status:w,fetchStatus:b.fetchStatus,isPending:O,isSuccess:"success"===w,isError:S,isInitialLoading:k,isLoading:k,data:r,dataUpdatedAt:b.dataUpdatedAt,error:y,errorUpdatedAt:v,failureCount:b.fetchFailureCount,failureReason:b.fetchFailureReason,errorUpdate
11Count:b.errorUpdateCount,isFetched:b.dataUpdateCount>0||b.errorUpdateCount>0,isFetchedAfterMount:b.dataUpdateCount>m.dataUpdateCount||b.errorUpdateCount>m.errorUpdateCount,isFetching:j,isRefetching:j&&!O,isLoadingError:S&&!C,isPaused:"paused"===b.fetchStatus,isPlaceholderData:g,isRefetchError:S&&C,isStale:f(e,t),refetch:this.refetch,promise:this.#b,isEnabled:!1!==(0,o.resolveEnabled)(t.enabled,e)};if(this.options.experimental_prefetchInRender){let t=e=>{"error"===E.status?e.reject(E.error):void 0!==E.data&&e.resolve(E.data)},r=()=>{t(this.#b=E.promise=(0,a.pendingThenable)())},n=this.#b;switch(n.status){case"pending":e.queryHash===i.queryHash&&t(n);break;case"fulfilled":("error"===E.status||E.data!==n.value)&&r();break;case"rejected":("error"!==E.status||E.error!==n.reason)&&r()}}return E}updateResult(){let e=this.#v,t=this.createResult(this.#g,this.options);if(this.#w=this.#g.state,this.#x=this.options,void 0!==this.#w.data&&(this.#S=this.#g),(0,o.shallowEqualObjects)(t,e))return;this.#v=t;let r=()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,r="function"==typeof t?t():t;if("all"===r||!r&&!this.#P.size)return!0;let i=new Set(r??this.#P);return this.options.throwOnError&&i.add("error"),Object.keys(this.#v).some(t=>this.#v[t]!==e[t]&&i.has(t))};this.#D({listeners:r()})}#_(){let e=this.#c.getQueryCache().build(this.#c,this.options);if(e===this.#g)return;let t=this.#g;this.#g=e,this.#y=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#M()}#D(e){i.notifyManager.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#v)}),this.#c.getQueryCache().notify({query:this.#g,type:"observerResultsUpdated"})})}};function c(e,t){return!1!==(0,o.resolveEnabled)(t.enabled,e)&&void 0===e.state.data&&("error"!==e.state.status||!1!==t.retryOnMount)||void 0!==e.state.data&&d(e,t,t.refetchOnMount)}function d(e,t,r){if(!1!==(0,o.resolveEnabled)(t.enabled,e)&&"static"!==(0,o.resolveStaleTime)(t.staleTime,e)){let i="function"==typeof r?r(e):r;return"always"===i||!1!==i&&f(e,t)}return!1}function h(e,t,r,i){return(e!==t||!1===(0,o.resolveEnabled)(i.enabled,e))&&(!r.suspense||"error"!==e.state.status)&&f(e,r)}function f(e,t){return!1!==(0,o.resolveEnabled)(t.enabled,e)&&e.isStaleByTime((0,o.resolveStaleTime)(t.staleTime,e))}var m=e.i(398040),p=e.i(198506);e.i(226132);var b=m.createContext((t=!1,{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t})),g=m.createContext(!1);g.Provider;var y=(e,t,r)=>t.fetchOptimistic(e).catch(()=>{r.clearReset()});e.s(["useQuery",0,function(e,t){return function(e,t,r){let n=m.useContext(g),s=m.useContext(b),a=(0,p.useQueryClient)(r),l=a.defaultQueryOptions(e);if(a.getDefaultOptions().queries?._experimental_beforeQuery?.(l),l._optimisticResults=n?"isRestoring":"optimistic",l.suspense){let e=e=>"static"===e?e:Math.max(e??1e3,1e3),t=l.staleTime;l.staleTime="function"==typeof t?(...r)=>e(t(...r)):e(t),"number"==typeof l.gcTime&&(l.gcTime=Math.max(l.gcTime,1e3))}(l.suspense||l.throwOnError||l.experimental_prefetchInRender)&&!s.isReset()&&(l.retryOnMount=!1),m.useEffect(()=>{s.clearReset()},[s]);let u=!a.getQueryCache().get(l.queryHash),[c]=m.useState(()=>new t(a,l)),d=c.getOptimisticResult(l),h=!n&&!1!==e.subscribed;if(m.useSyncExternalStore(m.useCallback(e=>{let t=h?c.subscribe(i.notifyManager.batchCalls(e)):o.noop;return c.updateResult(),t},[c,h]),()=>c.getCurrentResult(),()=>c.getCurrentResult()),m.useEffect(()=>{c.setOptions(l)},[l,c]),l?.suspense&&d.isPending)throw y(l,c,s);if((({result:e,errorResetBoundary:t,throwOnError:r,query:i,suspense:n})=>e.isError&&!t.isReset()&&!e.isFetching&&i&&(n&&void 0===e.data||(0,o.shouldThrowError)(r,[e.error,i])))({result:d,errorResetBoundary:s,throwOnError:l.throwOnError,query:a.getQueryCache().get(l.queryHash),suspense:l.suspense}))throw d.error;if(a.getDefaultOptions().queries?._experimental_afterQuery?.(l,d),l.experimental_prefetchInRender&&!o.isServer&&d.isLoading&&d.isFetching&&!n){let e=u?y(l,c,s):a.getQueryCache().get(l.queryHash)?.promise;e?.catch(o.noop).finally(()=>{c.updateResult()})}return l.notifyOnChangeProps?d:c.trackResult(d)}(e,u,t)}],213973),e.s(["queryOptions",0,function(e){return e}],275618)},599626,e=>{"use strict";var t=e.i(856794),r=e.i(226132);e.s(["default",0,function({locale:e,...i}){if(!e)throw Error(void 0);return(0,r.jsx)(t.IntlProvider,{locale:e,...i})}])},237933,(e,t,r)=>{"use strict";
11Object.defineProperty(r,"__esModule",{value:!0});var i={bindSnapshot:function(){return u},createAsyncLocalStorage:function(){return l},createSnapshot:function(){return c}};for(var n in i)Object.defineProperty(r,n,{enumerable:!0,get:i[n]});let s=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class a{disable(){throw s}getStore(){}run(){throw s}exit(){throw s}enterWith(){throw s}static bind(e){return e}}let o="u">typeof globalThis&&globalThis.AsyncLocalStorage;function l(){return o?new o:new a}function u(e){return o?o.bind(e):a.bind(e)}function c(){return o?o.snapshot():function(e,...t){return e(...t)}}},664677,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"workAsyncStorageInstance",{enumerable:!0,get:function(){return i}});let i=(0,e.r(237933).createAsyncLocalStorage)()},656944,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"workAsyncStorage",{enumerable:!0,get:function(){return i.workAsyncStorageInstance}});let i=e.r(664677)},4649,(e,t,r)=>{"use strict";function i(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"encodeURIPath",{enumerable:!0,get:function(){return i}})},998348,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"BailoutToCSR",{enumerable:!0,get:function(){return n}});let i=e.r(876006);function n({reason:e,children:t}){if("u"<typeof window)throw Object.defineProperty(new i.BailoutToCSRError(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return t}},795898,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"PreloadChunks",{enumerable:!0,get:function(){return l}});let i=e.r(226132),n=e.r(73165),s=e.r(656944),a=e.r(4649),o=e.r(77942);function l({moduleIds:e}){if("u">typeof window)return null;let t=s.workAsyncStorage.getStore();if(void 0===t)return null;let r=[];if(t.reactLoadableManifest&&e){let i=t.reactLoadableManifest;for(let t of e){if(!i[t])continue;let e=i[t].files;r.push(...e)}}if(0===r.length)return null;let u=(0,o.getAssetTokenQuery)();return(0,i.jsx)(i.Fragment,{children:r.map(e=>{let r=`${t.assetPrefix}/_next/${(0,a.encodeURIPath)(e)}${u}`;return e.endsWith(".css")?(0,i.jsx)("link",{precedence:"dynamic",href:r,rel:"stylesheet",as:"style",nonce:t.nonce},e):((0,n.preload)(r,{as:"script",fetchPriority:"low",nonce:t.nonce}),null)})})}},694951,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return u}});let i=e.r(226132),n=e.r(398040),s=e.r(998348),a=e.r(795898);function o(e){return{default:e&&"default"in e?e.default:e}}let l={loader:()=>Promise.resolve(o(()=>null)),loading:null,ssr:!0},u=function(e){let t={...l,...e},r=(0,n.lazy)(()=>t.loader().then(o)),u=t.loading;function c(e){let o=u?(0,i.jsx)(u,{isLoading:!0,pastDelay:!0,error:null}):null,l=!t.ssr||!!t.loading,c=l?n.Suspense:n.Fragment,d=t.ssr?(0,i.jsxs)(i.Fragment,{children:["u"<typeof window?(0,i.jsx)(a.PreloadChunks,{moduleIds:t.modules}):null,(0,i.jsx)(r,{...e})]}):(0,i.jsx)(s.BailoutToCSR,{reason:"next/dynamic",children:(0,i.jsx)(r,{...e})});return(0,i.jsx)(c,{...l?{fallback:o}:{},children:d})}return c.displayName="LoadableComponent",c}},424335,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return n}});let i=e.r(836437)._(e.r(694951));function n(e,t){let r={};"function"==typeof e&&(r.loader=e);let n={...r,...t};return(0,i.default)({...n,modules:n.loadableGenerated?.modules})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},418704,(e,t,r)=>{t.exports={id:"google-analytics",description:"Install a Google Analytics tag on your website",website:"https://analytics.google.com/analytics/web/",scripts:[{url:"https://www.googletagmanager.com/gtag/js",params:["id"],strategy:"worker",location:"head",action:"append"},{code:"window.dataLayer=window.dataLayer||[];window.gtag=function gtag(){window.dataLayer.push(arguments);};gtag('js',new Date());gtag('config','${args.id}')",strategy:"worker",location:"head",action:"append"}]}},6154,(e,t,r)=>{"use strict";function i(e,t,r=!1){return t?Object.keys(e).filter(e=>r?!t.includes(e):t.includes(e)).reduce((t,r)=>(t[r]=e[r],t),{}):{}}function n(e,t,r,i){let n=i&&Object.keys(i).length>0?new URL(Object.values(i)[0],e):new URL(e);
11return t&&r&&t.forEach(e=>{r[e]&&n.searchParams.set(e,r[e])}),n.toString()}function s(e,t,r,i,s){var a;if(!t)return`<${e}></${e}>`;let o=(null==(a=t.src)?void 0:a.url)?Object.assign(Object.assign({},t),{src:n(t.src.url,t.src.params,i,s)}):t,l=Object.keys(Object.assign(Object.assign({},o),r)).reduce((e,t)=>{let i=null==r?void 0:r[t],n=o[t],s=null!=i?i:n,a=!0===s?t:`${t}="${s}"`;return s?e+` ${a}`:e},"");return`<${e}${l}></${e}>`}Object.defineProperty(r,"__esModule",{value:!0}),r.formatData=r.createHtml=r.formatUrl=void 0,r.formatUrl=n,r.createHtml=s,r.formatData=function(e,t){var r,a,o,l,u;let c=i(t,null==(r=e.scripts)?void 0:r.reduce((e,t)=>[...e,...Array.isArray(t.params)?t.params:[]],[])),d=i(t,null==(o=null==(a=e.html)?void 0:a.attributes.src)?void 0:o.params),h=i(t,[null==(u=null==(l=e.html)?void 0:l.attributes.src)?void 0:u.slugParam]),f=i(t,[...Object.keys(c),...Object.keys(d),...Object.keys(h)],!0);return Object.assign(Object.assign({},e),{html:e.html?s(e.html.element,e.html.attributes,f,d,h):null,scripts:e.scripts?e.scripts.map(e=>Object.assign(Object.assign({},e),{url:n(e.url,e.params,c)})):null})}},880092,(e,t,r)=>{"use strict";var i=e.e&&e.e.__rest||function(e,t){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(r[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,i=Object.getOwnPropertySymbols(e);n<i.length;n++)0>t.indexOf(i[n])&&Object.prototype.propertyIsEnumerable.call(e,i[n])&&(r[i[n]]=e[i[n]]);return r},n=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.GoogleAnalytics=void 0;let s=n(e.r(418704)),a=e.r(6154);r.GoogleAnalytics=e=>{var t=i(e,[]);return(0,a.formatData)(s.default,t)}},731292,(e,t,r)=>{t.exports={id:"google-maps-embed",description:"Embed a Google Maps embed on your webpage",website:"https://developers.google.com/maps/documentation/embed/get-started",html:{element:"iframe",attributes:{loading:"lazy",src:{url:"https://www.google.com/maps/embed/v1/place",slugParam:"mode",params:["key","q","center","zoom","maptype","language","region"]},referrerpolicy:"no-referrer-when-downgrade",frameborder:"0",style:"border:0",allowfullscreen:!0,width:null,height:null}}}},490057,(e,t,r)=>{"use strict";var i=e.e&&e.e.__rest||function(e,t){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(r[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,i=Object.getOwnPropertySymbols(e);n<i.length;n++)0>t.indexOf(i[n])&&Object.prototype.propertyIsEnumerable.call(e,i[n])&&(r[i[n]]=e[i[n]]);return r},n=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.GoogleMapsEmbed=void 0;let s=n(e.r(731292)),a=e.r(6154);r.GoogleMapsEmbed=e=>{var t=i(e,[]);return(0,a.formatData)(s.default,t)}},447716,(e,t,r)=>{t.exports={id:"youtube-embed",description:"Embed a YouTube embed on your webpage.",website:"https://github.com/paulirish/lite-youtube-embed",html:{element:"lite-youtube",attributes:{videoid:null,playlabel:null}},stylesheets:["https://cdn.jsdelivr.net/gh/paulirish/lite-youtube-embed@master/src/lite-yt-embed.css"],scripts:[{url:"https://cdn.jsdelivr.net/gh/paulirish/lite-youtube-embed@master/src/lite-yt-embed.js",strategy:"idle",location:"head",action:"append"}]}},761564,(e,t,r)=>{"use strict";var i=e.e&&e.e.__rest||function(e,t){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(r[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,i=Object.getOwnPropertySymbols(e);n<i.length;n++)0>t.indexOf(i[n])&&Object.prototype.propertyIsEnumerable.call(e,i[n])&&(r[i[n]]=e[i[n]]);return r},n=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.YouTubeEmbed=void 0;let s=n(e.r(447716)),a=e.r(6154);r.YouTubeEmbed=e=>{var t=i(e,[]);return(0,a.formatData)(s.default,t)}},508751,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.YouTubeEmbed=r.GoogleMapsEmbed=r.GoogleAnalytics=void 0;var i=e.r(880092);Object.defineProperty(r,"GoogleAnalytics",{enumerable:!0,get:function(){return i.GoogleAnalytics}});var n=e.r(490057);Object.defineProperty(r,"GoogleMapsEmbed",{enumerable:!0,get:function(){return n.GoogleMapsEmbed}});var s=e.r(761564);Object.defineProperty(r,"YouTubeEmbed",{enumerable:!0,get:function(){return s.YouTubeEmbed}})},123382,(e,t,r)=>{!function(e){"use strict";
vendor: 1,218 bytes, line 11
11var i="function",n="undefined",s="object",a="string",o="major",l="model",u="name",c="type",d="vendor",h="version",f="architecture",m="console",p="mobile",b="tablet",g="smarttv",y="wearable",v="embedded",w="Amazon",x="Apple",j="ASUS",O="BlackBerry",S="Browser",k="Chrome",C="Firefox",E="Google",P="Honor",T="Huawei",M="Microsoft",z="Motorola",A="Nvidia",_="OnePlus",N="Opera",I="OPPO",R="Samsung",D="Sharp",L="Sony",F="Xiaomi",q="Zebra",Q="Facebook",U="Chromium OS",G="Mac OS",$=" Browser",W=function(e,t){var r={};for(var i in e)t[i]&&t[i].length%2==0?r[i]=t[i].concat(e[i]):r[i]=e[i];return r},B=function(e){for(var t={},r=0;r<e.length;r++)t[e[r].toUpperCase()]=e[r];return t},V=function(e,t){return typeof e===a&&-1!==K(t).indexOf(K(e))},K=function(e){return e.toLowerCase()},H=function(e,t){if(typeof e===a)return e=e.replace(/^\s\s*/,""),typeof t===n?e:e.substring(0,500)},Y=function(e,t){for(var r,n,a,o,l,u,c=0;c<t.length&&!l;){var d=t[c],h=t[c+1];for(r=n=0;r<d.length&&!l&&d[r];)if(l=d[r++].exec(e))for(a=0;a<h.length;a++)u=l[++n],typeof(o=h[a])===s&&o.length>0?2===o.length?typeof o[1]==i?this[o[0]]=o[1].call(this,u):this[o[0]]=o[1]:3===o.length?typeof o[1]!==i||o[1].exec&&o[1].test?this[o[0]]=u?u.replace(o[
111],o[2]):void 0:this[o[0]]=u?o[1].call(this,u,o[2]):void 0:4===o.length&&(this[o[0]]=u?o[3].call(this,u.replace(o[1],o[2])):void 0):this[o]=u||void 0;c+=2}},X=function(e,t){for(var r in t)if(typeof t[r]===s&&t[r].length>0){for(var i=0;i<t[r].length;i++)if(V(t[r][i],e))return"?"===r?void 0:r}else if(V(t[r],e))return"?"===r?void 0:r;return t.hasOwnProperty("*")?t["*"]:e},J={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Z={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[h,[u,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[h,[u,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[u,h],[/opios[\/ ]+([\w\.]+)/i],[h,[u,N+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[h,[u,N+" GX"]],[/\bopr\/([\w\.]+)/i],[h,[u,N]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[h,[u,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[h,[u,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[u,h],[/quark(?:pc)?\/([-\w\.]+)/i],[h,[u,"Quark"]],[/\bddg\/([\w\.]+)/i],[h,[u,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[h,[u,"UC"+S]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[h,[u,"WeChat"]],[/konqueror\/([\w\.]+)/i],[h,[u,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[h,[u,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[h,[u,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[h,[u,"Smart Lenovo "+S]],[/(avast|avg)\/([\w\.]+)/i],[[u,/(.+)/,"$1 Secure "+S],h],[/\bfocus\/([\w\.]+)/i],[h,[u,C+" Focus"]],[/\bopt\/([\w\.]+)/i],[h,[u,N+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[h,[u,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[h,[u,"Dolphin"]],[/coast\/([\w\.]+)/i],[h,[u,N+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[h,[u,"MIUI"+$]],[/fxios\/([\w\.-]+)/i],[h,[u,C]],[/\bqihoobrowser\/?([\w\.]*)/i],[h,[u,"360"]],[/\b(qq)\/([\w\.]+)/i],[[u,/(.+)/,"$1Browser"],h],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[u,/(.+)/,"$1"+$],h],[/samsungbrowser\/([\w\.]+)/i],[h,[u,R+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[h,[u,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[u,"Sogou Mobile"],h],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[u,h],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[u],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[h,u],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[u,Q],h],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[u,h],[/\bgsa\/([\w\.]+) .*safari\//i],[h,[u,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[h,[u,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[h,[u,k+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[u,k+" WebView"],h],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[h,[u,"Android "+S]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[u,h],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[h,[u,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[h,u],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[u,[h,X,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[u,h],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[u,"Netscape"],h],[/(wolvic|librewolf)\/([\w\.]+)/i],[u,h],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[h,[u,C+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[u,[h,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[u,[h,/master.|lts./,""]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[f,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[f,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[f,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[f,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[f,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[f,/ower/,"",K]],[/ sun4\w[;\)]/i],[[f,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;
vendor: 8,020 bytes, line 11
11|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[f,K]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[l,[d,R],[c,b]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[l,[d,R],[c,p]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[l,[d,x],[c,p]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[l,[d,x],[c,b]],[/(macintosh);/i],[l,[d,x]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[l,[d,D],[c,p]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[l,[d,P],[c,b]],[/honor([-\w ]+)[;\)]/i],[l,[d,P],[c,p]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[l,[d,T],[c,b]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[l,[d,T],[c,p]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[l,/_/g," "],[d,F],[c,b]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[l,/_/g," "],[d,F],[c,p]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[l,[d,I],[c,p]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[l,[d,X,{OnePlus:["304","403","203"],"*":I}],[c,b]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[l,[d,"Vivo"],[c,p]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[l,[d,"Realme"],[c,p]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[l,[d,z],[c,p]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[l,[d,z],[c,b]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[l,[d,"LG"],[c,b]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i,/\blg-?([\d\w]+) bui/i],[l,[d,"LG"],[c,p]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[l,[d,"Lenovo"],[c,b]],[/(nokia) (t[12][01])/i],[d,l,[c,b]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[l,/_/g," "],[c,p],[d,"Nokia"]],[/(pixel (c|tablet))\b/i],[l,[d,E],[c,b]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[l,[d,E],[c,p]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[l,[d,L],[c,p]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[l,"Xperia Tablet"],[d,L],[c,b]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[l,[d,_],[c,p]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[l,[d,w],[c,b]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[l,/(.+)/g,"Fire Phone $1"],[d,w],[c,p]],[/(playbook);[-\w\),; ]+(rim)/i],[l,d,[c,b]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[l,[d,O],[c,p]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[l,[d,j],[c,b]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[l,[d,j],[c,p]],[/(nexus 9)/i],[l,[d,"HTC"],[c,b]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[d,[l,/_/g," "],[c,p]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[l,[d,"TCL"],[c,b]],[/(itel) ((\w+))/i],[[d,K],l,[c,X,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[l,[d,"Acer"],[c,b]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[l,[d,"Meizu"],[c,p]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[l,[d,"Ulefone"],[c,p]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[l,[d,"Energizer"],[c,p]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[l,[d,"Cat"],[c,p]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[l,[d,"Smartfren"],[c,p]],[/droid.+; (a(?:015|06[35]|142p?))/i],[l,[d,"Nothing"],[c,p]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[l,[d,"Archos"],[c,b]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[l,[d,"Archos"],[c,p]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[d,l,[c,b]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (hmd|imo) ([\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,/(oppo) ?([\w ]+) bui/i],[d,l,[c,p]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[d,l,[c,b]],[/(surface duo)/i],[l,[d,M],[c,b]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[l,[d,"Fairphone"],[c,p]],[/(u304aa)/i],[l,[d,"AT&T"],[c,p]],[/\bsie-(\w*)/i],[l,[d,"Siemens"],[c,p]],[/\b(rct\w+) b/i],[l,[d,"RCA"],[c,b]],[/\b(venue[\d ]{2,7}) b/i],[l,[d,"Dell"],[c,b]],[/\b(q(?:mv|ta)\w+) b/i],[l,[d,"Verizon"],[c,b]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[l,[d,"Barnes & Noble"],[c,b]],[/\b(tm\d{3}\w+) b/i],[l,[d,"NuVision"],[c,b]],[/\b(k88) b/i],[l,[d,"ZTE"],[c,b]],[/\b(nx\d{3}j) b/i],[l,[d,"ZTE"],[c,p]],[/\b(gen\d{3}) b.+49h/i],[l,[d,"Swiss"],[c,p]],[/\b(zur\d{3}) b/i],[l,[d,"Swiss"],[c,b]],[/\b((zeki)?tb.*\b) b/i],[l,[d,"Zeki"],[c,b]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[d,"Dragon Touch"],l,[c,b]],[/\b(ns-?\w{0,9}) b/i],[l,[d,"Insignia"],[c,b]],[/\b((nxa|next)-?\w{0,9}) b/i],[l,[d,"NextBook"],[c,b]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[d,"Voice"],l,[c,p]],[/\b(lvtel\-)?(v1[12]) b/i],[[d,"LvTel"],l,[c,p]],[/\b(ph-1) /i],[l,[d,"Essential"],[c,p]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[l,[d,"Envizen"],[c,b]],[/\b(trio[-\w\. ]+) b/i],[l,[d,"MachSpeed"],[c,b]],[/\btu_(1491) b/i],[l,[d,"Rotor"],[c,b]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[l,[d,A],[c,b]],[/(sprint) (\w+)/i],[d,l,[c,p]],[/(kin\.[onetw]{3})/i],[[l,/\./g," "],[d,M],[c,p]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[l,[d,q],[c,b]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[l,[d,q],[c,p]],[/smart-tv.+(samsung)/i],[d,[c,g]],[/hbbtv.+maple;(\d+)/i],[[l,/^/,"SmartTV"],[d,R],[c,g]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[d,"LG"],[c,g]],[/(apple) ?tv/i],[d,[l,x+" TV"],[c,g]],[/crkey/i],[[l,k+"cast"],[d,E],[c,g]],[/droid.+aft(\w+)( bui|\))/i],[l,[d,w],[c,g]],[/(shield \w+ tv)/i],[l,[d,A],[c,g]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[l,[d,D],[c,g]],[/(bravia[\w ]+)( bui|\))/i],[l,[d,L],[c,g]],[/(mi(tv|box)-?\w+) bui/i],[l,[d,F],[c,g]],[/Hbbtv.*(technisat) (.*);/i],[d,l,[c,g]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[d,H],[l,H],[c,g]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[l,[c,g]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[c,g]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[d,l,[c,m]],[/droid.+; (shield)( bui|\))/i],[l,[d,A],[c,m]],[/(playstation \w+)/i],[l,[d,L],[c,m]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[l,[d,M],[c,m]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[l,[d,R],[c,y]],[/((pebble))app/i,/(asu
vendor: 18,665 bytes, line 11
11s|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[d,l,[c,y]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[l,[d,I],[c,y]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[l,[d,x],[c,y]],[/(opwwe\d{3})/i],[l,[d,_],[c,y]],[/(moto 360)/i],[l,[d,z],[c,y]],[/(smartwatch 3)/i],[l,[d,L],[c,y]],[/(g watch r)/i],[l,[d,"LG"],[c,y]],[/droid.+; (wt63?0{2,3})\)/i],[l,[d,q],[c,y]],[/droid.+; (glass) \d/i],[l,[d,E],[c,y]],[/(pico) (4|neo3(?: link|pro)?)/i],[d,l,[c,y]],[/; (quest( \d| pro)?)/i],[l,[d,Q],[c,y]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[d,[c,v]],[/(aeobc)\b/i],[l,[d,w],[c,v]],[/(homepod).+mac os/i],[l,[d,x],[c,v]],[/windows iot/i],[[c,v]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[l,[c,p]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[l,[c,b]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[c,b]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[c,p]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[l,[d,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[h,[u,"EdgeHTML"]],[/(arkweb)\/([\w\.]+)/i],[u,h],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[h,[u,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[u,h],[/ladybird\//i],[[u,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[h,u]],os:[[/microsoft (windows) (vista|xp)/i],[u,h],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[u,[h,X,J]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[h,X,J],[u,"Windows"]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[h,/_/g,"."],[u,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[u,G],[h,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[h,u],[/(ubuntu) ([\w\.]+) like android/i],[[u,/(.+)/,"$1 Touch"],h],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i],[u,h],[/\(bb(10);/i],[h,[u,O]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[h,[u,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[h,[u,C+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[h,[u,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[h,[u,"watchOS"]],[/crkey\/([\d\.]+)/i],[h,[u,k+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[u,U],h],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[u,h],[/(sunos) ?([\w\.\d]*)/i],[[u,"Solaris"],h],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[u,h]]},ee=function(t,r){if(typeof t===s&&(r=t,t=void 0),!(this instanceof ee))return new ee(t,r).getResult();var m=typeof e!==n&&e.navigator?e.navigator:void 0,g=t||(m&&m.userAgent?m.userAgent:""),y=m&&m.userAgentData?m.userAgentData:void 0,v=r?W(Z,r):Z,w=m&&m.userAgent==g;return this.getBrowser=function(){var e,t={};return t[u]=void 0,t[h]=void 0,Y.call(t,g,v.browser),t[o]=typeof(e=t[h])===a?e.replace(/[^\d\.]/g,"").split(".")[0]:void 0,w&&m&&m.brave&&typeof m.brave.isBrave==i&&(t[u]="Brave"),t},this.getCPU=function(){var e={};return e[f]=void 0,Y.call(e,g,v.cpu),e},this.getDevice=function(){var e={};return e[d]=void 0,e[l]=void 0,e[c]=void 0,Y.call(e,g,v.device),w&&!e[c]&&y&&y.mobile&&(e[c]=p),w&&"Macintosh"==e[l]&&m&&typeof m.standalone!==n&&m.maxTouchPoints&&m.maxTouchPoints>2&&(e[l]="iPad",e[c]=b),e},this.getEngine=function(){var e={};return e[u]=void 0,e[h]=void 0,Y.call(e,g,v.engine),e},this.getOS=function(){var e={};return e[u]=void 0,e[h]=void 0,Y.call(e,g,v.os),w&&!e[u]&&y&&y.platform&&"Unknown"!=y.platform&&(e[u]=y.platform.replace(/chrome os/i,U).replace(/macos/i,G)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return g},this.setUA=function(e){return g=typeof e===a&&e.length>500?H(e,500):e,this},this.setUA(g),this};ee.VERSION="1.0.41",ee.BROWSER=B([u,h,o]),ee.CPU=B([f]),ee.DEVICE=B([l,d,c,m,p,g,b,y,v]),ee.ENGINE=ee.OS=B([u,h]),t.exports&&(r=t.exports=ee),r.UAParser=ee;var et=typeof e!==n&&(e.jQuery||e.Zepto);if(et&&!et.ua){var er=new ee;et.ua=er.getResult(),et.ua.get=function(){return er.getUA()},et.ua.set=function(e){er.setUA(e);var t=er.getResult();for(var r in t)et.ua[r]=t[r]}}}("object"==typeof window?window:e.e)},768820,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var i=e.r(398040),n=i&&"object"==typeof i&&"default"in i?i.default:i,s=e.r(123382),a=new s,o=a.getBrowser(),l=a.getCPU(),u=a.getDevice(),c=a.getEngine(),d=a.getOS(),h=a.getUA(),f=function(e){return a.setUA(e)},m=function(e){if(!e)return void console.error("No userAgent string was provided");var t=new s(e);return{UA:t,browser:t.getBrowser(),cpu:t.getCPU(),device:t.getDevice(),engine:t.getEngine(),os:t.getOS(),ua:t.getUA(),setUserAgent:function(e){return t.setUA(e)}}},p=Object.freeze({ClientUAInstance:a,browser:o,cpu:l,device:u,engine:c,os:d,ua:h,setUa:f,parseUserAgent:m});function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,i)}return r}function g(e){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function y(){return(y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e}).apply(this,arguments)}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function w(e,t){return(w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function x(e,t){if(null==e)return{};var r,i,n=function(e,t){if(null==e)return{};var r,i,n={},s=Object.keys(e);for(i=0;i<s.length;i++)r=s[i],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i<s.length;i++)r=s[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function j(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,i=Array(t);r<t;r++)i[r]=e[r];return i}var S="mobile",k="tablet",C="smarttv",E="console",P="wearable",T="embedded",M=void 0,z={Chrome:"Chrome",Firefox:"Firefox",Opera:"Opera",Yandex:"Yandex",Safari:"Safari",InternetExplorer:"Internet Explorer",Edge:"Edge",Chromium:"Chromium",Ie:"IE",MobileSafari:"Mobile Safari",EdgeChromium:"Edge Chromium",MIUI:"MIUI Browser",SamsungBrowser:"Samsung Browser"},A={IOS:"iOS",Android:"Android",WindowsPhone:"Windows Phone",Windows:"Windows",MAC_OS:"Mac OS"},_={isMobile:!1,isTablet:!1,isBrowser:!1,isSmartTV:!1,isConsole:!1,isWearable:!1},N=function(e){switch(e){case S:return{isMobile:!0};case k:return{isTablet:!0};case C:return{isSmartTV:!0};case E:return{isConsole:!0};case P:return{isWearable:!0};case M:return{isBrowser:!0};case T:return{isEmbedded:!0};default:return _}},I=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none";return e||t},R=function(){return"u">typeof window&&(window.navigator||navigator)},D=function(e){var t=R();return t&&t.platform&&(-1!==t.platform.indexOf(e)||"MacIntel"===t.platform&&t.maxTouchPoints>1&&!window.MSStream)},L=function(e){return e.type===S},F=function(e){return e.type===k},q=function(e){var t=e.type;return t===S||t===k},Q=function(e){return e.type===C},U=function(e){return e.type===M},G=function(e){return e.type===P},$=function(e){return e.type===E},W=function(e){return e.type===T},B=function(e){return I(e.vendor)},V=function(e){return I(e.model)},K=function(e){return I(e.type,"browser")},H=function(e){return e.name===A.Android},Y=function(e){return e.name===A.Windows},X=function(e){return e.name===A.MAC_OS},J=function(e){return e.name===A.WindowsPhone},Z=function(e){return e.name===A.IOS},ee=function(e){return I(e.version)},et=function(e){return I(e.name)},er=function(e){return e.name===z.Chrome},ei=function(e){return e.name===z.Firefox},en=function(e){return e.name===z.Chromium},es=function(e){return e.name===z.Edge},ea=function(e){return e.name===z.Yandex},eo=function(e){var t=e.name;return t===z.Safari||t===z.MobileSafari},el=function(e){return e.name===z.MobileSafari},eu=function(e){return e.name===z.Opera},ec=function(e){var t=e.name;return t===z.InternetExplorer||t===z.Ie},ed=function(e){return e.name===z.MIUI},eh=function(e){return e.name===z.SamsungBrowser},ef=function(e){return I(e.version)},em=function(e){return I(e.major)},ep=function(e){return I(e.name)},eb=function(e){return I(e.name)},eg=function(e){return I(e.version)},ey=function(){var e=R(),t=e&&e.userAgent&&e.userAgent.toLowerCase();return"string"==typeof t&&/electron/.test(t)},ev=function(e){return"string"==typeof e&&-1!==e.indexOf("Edg/")},ew=function(){var e=R();return e&&(/iPad|iPhone|iPod/.test(e.platform)||"MacIntel"===e.platform&&e.maxTouchPoints>1)&&!window.MSStream},ex=function(){return D("iPad")},ej=function(){return D("iPhone")},eO=function(){return D("iPod")},eS=function(e){return I(e)};function ek(e){var t=e||p,r=t.device,i=t.browser,n=t.os,s=t.engine,a=t.ua;return{isSmartTV:Q(r),isConsole:$(r),isWearable:G(r),isEmbedded:W(r),isMobileSafari:el(i)||ex(),isChromium:en(i),isMobile:q(r)||ex(),isMobileOnly:L(r),isTablet:F(r)||ex(),isBrowser:U(r),isDesktop:U(r),isAndroid:H(n),isWinPhone:J(n),isIOS:Z(n)||ex(),isChrome:er(i),isFirefox:ei(i),isSafari:eo(i),isOpera:eu(i),isIE:ec(i),osVersion:ee(n),osName:et(n),fullBrowserVersion:ef(i),browserVersion:em(i),browserName:ep(i),mobileVendor:B(r),mobileModel:V(r),engineName:eb(s),engineVersion:eg(s),getUA:eS(a),isEdge:es(i)||ev(a),isYandex:ea(i),deviceType:K(r),isIOS13:ew(),isIPad13:ex(),isIPhone13:ej(),isIPod13:eO(),isElectron:ey(),isEdgeChromium:ev(a),isLegacyEdge:es(i)&&!ev(a),isWindows:Y(n),isMacOs:X(n),isMIUI:ed(i),isSamsungBrowser:eh(i)}}var eC=Q(u),eE=$(u),eP=G(u),eT=W(u),eM=el(o)||ex(),ez=en(o),eA=q(u)||ex(),e_=L(u),eN=F(u)||ex(),eI=U(u),eR=U(u),eD=H(d),eL=J(d),eF=Z(d)||ex(),eq=er(o),eQ=ei(o),eU=eo(o),eG=eu(o),e$=ec(o),eW=ee(d),eB=et(d),eV=ef(o),eK=em(o),eH=ep(o),eY=B(u),eX=V(u),eJ=eb(c),eZ=eg(c),e0=eS(h),e1=es(o)||ev(h),e2=ea(o),e6=K(u),e3=ew(),e4=ex(),e5=ej(),e8=eO(),e9=ey(),e7=ev(h),te=es(o)&&!ev(h),tt=Y(d),tr=X(d),ti=ed(o),tn=eh(o);function ts(e){return m(e||window.navigator.userAgent)}r.AndroidView=function(e){var t=e.renderWithFragment,r=e.children,s=x(e,["renderWithFragment","children"]);return eD?t?n.createElement(i.Fragment,null,r):n.createElement("div",s,r):null},r.BrowserTypes=z,r.BrowserView=function(e){var t=e.renderWithFragment,r=e.children,s=x(e,["renderWithFragment","children"]);return eI?t?n.createElement(i.Fragment,null,r):n.createElement("div",s,r):null},r.ConsoleView=function(e){var t=e.renderWithFragment,r=e.children,s=x(e,["renderWithFragment","children"]);return eE?t?n.createElement(i.Fragment,null,r):n.createElement("div",s,r):null},r.CustomView=function(e){var t=e.renderWithFragment,r=e.children,s=(e.viewClassName,e.style,e.condition),a=x(e,["renderWithFragment","children","viewClassName","style","condition"]);return s?t?n.createElement(i.Fragment,null,r):n.createElement("div",a,r):null},r.IEView=function(e){var t=e.renderWithFragment,r=e.children,s=x(e,["renderWithFragment","children"]);return e$?t?n.createElement(i.Fragment,null,r):n.createElement("div",s,r):null},r.IOSView=function(e){var t=e.renderWithFragment,r=e.children,s=x(e,["renderWithFragment","children"]);return eF?t?n.createElement(i.Fragment,null,r):n.createElement("div",s,r):null},r.MobileOnlyView=function(e){var t=e.renderWithFragment,r=e.children,s=(e.viewClassName,e.style,x(e,["renderWithFragment","children","viewClassName","style"]));return e_?t?n.createElement(i.Fragment,null,r):n.createElement("div",s,r):null},r.MobileView=function(e){var t=e.renderWithFragment,r=e.children,s=x(e,["renderWithFragment","children"]);return eA?t?n.createElement(i.Fragment,null,r):n.createElement("div",s,r):null},r.OsTypes=A,r.SmartTVView=function(e){var t=e.renderWithFragment,r=e.children,s=x(e,["renderWithFragment","children"]);return eC?t?n.createElement(i.Fragment,null,r):n.createElement("div",s,r):null},r.TabletView=function(e){var t=e.renderWithFragment,r=e.children,s=x(e,["renderWithFragment","children"]);return eN?t?n.createElement(i.Fragment,null,r):n.createElement("div",s,r):null},r.WearableView=function(e){var t=e.renderWithFragment,r=e.children,s=x(e,["renderWithFragment","children"]);return eP?t?n.createElement(i.Fragment,null,r):n.createElement("div",s,r):null},r.WinPhoneView=function(e){var t=e.renderWithFragment,r=e.children,s=x(e,["renderWithFragment","children"]);return eL?t?n.createElement(i.Fragment,null,r):n.createElement("div",s,r):null},r.browserName=eH,r.browserVersion=eK,r.deviceDetect=function(e){var t,r,i,n,s=e?m(e):p,a=s.device,o=s.browser,l=s.engine,u=s.os,c=s.ua,d=N(a.type),h=d.isBrowser,f=d.isMobile,g=d.isTablet,y=d.isSmartTV,v=d.isConsole,w=d.isWearable,x=d.isEmbedded;if(h)return{isBrowser:h,browserMajorVersion:I(o.major),browserFullVersion:I(o.version),browserName:I(o.name),engineName:I(l.name),engineVersion:I(l.version),osName:I(u.name),osVersion:I(u.version),userAgent:I(c)};if(y)return{isSmartTV:y,engineName:I(l.name),engineVersion:I(l.version),osName:I(u.name),osVersion:I(u.version),userAgent:I(c)};if(v)return{isConsole:v,engineName:I(l.name),engineVersion:I(l.version),osName:I(u.name),osVersion:I(u.version),userAgent:I(c)};if(f||g){return t=d,r=a,i=u,n=c,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach(function(t){var i,n,s;i=e,n=t,s=r[t],n in i?Object.defineProperty(i,n,{value:s,enumerable:!0,configurable:!0,writable:!0}):i[n]=s}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},t,{vendor:I(r.vendor),model:I(r.model),os:I(i.name),osVersion:I(i.version),ua:I(n)})}return w?{isWearable:w,engineName:I(l.name),engineVersion:I(l.version),osName:I(u.name),osVersion:I(u.version),userAgent:I(c)}:x?{isEmbedded:x,vendor:I(a.vendor),model:I(a.model),engineName:I(l.name),engineVersion:I(l.version),osName:I(u.name),osVersion:I(u.version),userAgent:I(c)}:void 0},r.deviceType=e6,r.engineName=eJ,r.engineVersion=eZ,r.fullBrowserVersion=eV,r.getSelectorsByUserAgent=function(e){if(!e||"string"!=typeof e)return void console.error("No valid user agent string was provided");var t=m(e);return ek({device:t.device,browser:t.browser,os:t.os,engine:t.engine,ua:t.ua})},r.getUA=e0,r.isAndroid=eD,r.isBrowser=eI,r.isChrome=eq,r.isChromium=ez,r.isConsole=eE,r.isDesktop=eR,r.isEdge=e1,r.isEdgeChromium=e7,r.isElectron=e9,r.isEmbedded=eT,r.isFirefox=eQ,r.isIE=e$,r.isIOS=eF,r.isIOS13=e3,r.isIPad13=e4,r.isIPhone13=e5,r.isIPod13=e8,r.isLegacyEdge=te,r.isMIUI=ti,r.isMacOs=tr,r.isMobile=eA,r.isMobileOnly=e_,r.isMobileSafari=eM,r.isOpera=eG,r.isSafari=eU,r.isSamsungBrowser=tn,r.isSmartTV=eC,r.isTablet=eN,r.isWearable=eP,r.isWinPhone=eL,r.isWindows=tt,r.isYandex=e2,r.mobileModel=eX,r.mobileVendor=eY,r.osName=eB,r.osVersion=eW,r.parseUserAgent=m,r.setUserAgent=function(e){return f(e)},r.useDeviceData=ts,r.useDeviceSelectors=function(e){var t=ts(e||window.navigator.userAgent);return[ek(t),t]},r.useMobileOrientation=function(){var e,t=function(e){if(Array.isArray(e))return e}(e=i.useState(function(){var e=90*(window.innerWidth>window.innerHeight);return{isPortrait:0===e,isLandscape:90===e,orientation:0===e?"portrait":"landscape"}}))||function(e){var t,r,i=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var n=[],s=!0,a=!1;try{for(i=i.call(e);!(s=(t=i.next()).done)&&(n.push(t.value),2!==n.length);s=!0);}catch(e){a=!0,r=e}finally{try{s||null==i.return||i.return()}finally{if(a)throw r}}return n}}(e)||function(e){if(e){if("string"==typeof e)return O(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return O(e,2)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=t[0],n=t[1],s=i.useCallback(function(){var e=90*(window.innerWidth>window.innerHeight),t={isPortrait:0===e,isLandscape:90===e,orientation:0===e?"portrait":"landscape"};r.orientation!==t.orientation&&n(t)},[r.orientation]);return i.useEffect(function(){return("u"<typeof window?"undefined":g(window))!==void 0&&eA&&(s(),window.addEventListener("load",s,!1),window.addEventListener("resize",s,!1)),function(){window.removeEventListener("resize",s,!1),window.removeEventListener("load",s,!1)}},[s]),r},r.withOrientationChange=function(e){return function(t){var r;if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");function i(e){var t;if(!(this instanceof i))throw TypeError("Cannot call a class as a function");return(t=function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return j(e)}(this,v(i).call(this,e))).isEventListenerAdded=!1,t.handleOrientationChange=t.handleOrientationChange.bind(j(t)),t.onOrientationChange=t.onOr
11ientationChange.bind(j(t)),t.onPageLoad=t.onPageLoad.bind(j(t)),t.state={isLandscape:!1,isPortrait:!1},t}return i.prototype=Object.create(t&&t.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),t&&w(i,t),r=[{key:"handleOrientationChange",value:function(){this.isEventListenerAdded||(this.isEventListenerAdded=!0);var e=90*(window.innerWidth>window.innerHeight);this.setState({isPortrait:0===e,isLandscape:90===e})}},{key:"onOrientationChange",value:function(){this.handleOrientationChange()}},{key:"onPageLoad",value:function(){this.handleOrientationChange()}},{key:"componentDidMount",value:function(){("u"<typeof window?"undefined":g(window))!==void 0&&eA&&(this.isEventListenerAdded?window.removeEventListener("load",this.onPageLoad,!1):(this.handleOrientationChange(),window.addEventListener("load",this.onPageLoad,!1)),window.addEventListener("resize",this.onOrientationChange,!1))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.onOrientationChange,!1)}},{key:"render",value:function(){return n.createElement(e,y({},this.props,{isLandscape:this.state.isLandscape,isPortrait:this.state.isPortrait}))}}],function(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(i.prototype,r),i}(n.Component)}},22365,e=>{"use strict";var t=e.i(226132),r=e.i(398040),i=e.i(977986),n=e.i(846137),s=e.i(741300);let a=({children:e})=>{let a,[o,l]=(()=>{let e={};if(void 0!==globalThis.window){let t=globalThis.window.sessionStorage.getItem("utmParameters");t&&(e=JSON.parse(t)??{})}return[{gclid:e.gclid,utmCampaign:e.utmCampaign,utmContent:e.utmContent,utmId:e.utmId,utmMedium:e.utmMedium,utmSource:e.utmSource,utmTerm:e.utmTerm},e=>{void 0!==globalThis.window&&globalThis.window.sessionStorage.setItem("utmParameters",JSON.stringify(e))}]})(),[u,c]=(0,r.useState)({}),d={gclid:(a=(0,i.useSearchParams)()).get("gclid"),utmCampaign:a.get("utm_campaign"),utmContent:a.get("utm_content"),utmId:a.get("utm_id"),utmMedium:a.get("utm_medium"),utmSource:a.get("utm_source"),utmTerm:a.get("utm_term")},h={gclid:d.gclid??o.gclid,utmCampaign:d.utmCampaign??o.utmCampaign,utmContent:d.utmContent??o.utmContent,utmId:d.utmId??o.utmId,utmMedium:d.utmMedium??o.utmMedium,utmSource:d.utmSource??o.utmSource,utmTerm:d.utmTerm??o.utmTerm};l(h);let f=function(e={}){(0,n.sendGTMEvent)({event:"page_data",value:e})},m=function(e,t={}){(0,n.sendGTMEvent)({event:e,value:t})},p=function(e){(0,n.sendGTMEvent)({event:"scrollDepth",value:{depth:e}})},b=function(e,t){(0,n.sendGTMEvent)({event:t,value:{formId:e}})},g=(0,r.useMemo)(()=>({marketingControls:u,sendFormEvent:b,sendGtmEvent:m,sendPageDataEvent:f,sendScrollDepthEvent:p,setMarketingControls:c,utmParameters:h}),[h,f,m,b,p,c,u]);return(0,t.jsx)(s.AnalyticsContext.Provider,{value:g,children:e})};e.s(["AnalyticsProvider",0,({children:e})=>(0,t.jsx)(r.Suspense,{children:(0,t.jsx)(a,{children:e})})],22365)},983910,e=>{"use strict";let t;var r=e.i(226132),i=e.i(198506),n=function(){return null},s=e.i(398040);e.i(469464);var a=e.i(645357),o=e.i(348050),l=e.i(828630),u=e.i(873412),c=class extends u.Subscribable{constructor(e={}){super(),this.config=e,this.#L=new Map}#L;build(e,t,r){let i=t.queryKey,n=t.queryHash??(0,a.hashQueryKeyByOptions)(i,t),s=this.get(n);return s||(s=new o.Query({client:e,queryKey:i,queryHash:n,options:e.defaultQueryOptions(t),state:r,defaultOptions:e.getQueryDefaults(i)}),this.add(s)),s}add(e){this.#L.has(e.queryHash)||(this.#L.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){let t=this.#L.get(e.queryHash);t&&(e.destroy(),t===e&&this.#L.delete(e.queryHash),this.notify({type:"removed",query:e}))}
11clear(){l.notifyManager.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#L.get(e)}getAll(){return[...this.#L.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>(0,a.matchQuery)(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>(0,a.matchQuery)(e,t)):t}notify(e){l.notifyManager.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){l.notifyManager.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){l.notifyManager.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},d=e.i(1474),h=e.i(479540),f=class extends d.Removable{#c;#F;#q;#d;constructor(e){super(),this.#c=e.client,this.mutationId=e.mutationId,this.#q=e.mutationCache,this.#F=[],this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0},this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#F.includes(e)||(this.#F.push(e),this.clearGcTimeout(),this.#q.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#F=this.#F.filter(t=>t!==e),this.scheduleGc(),this.#q.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#F.length||("pending"===this.state.status?this.scheduleGc():this.#q.remove(this))}continue(){return this.#d?.continue()??this.execute(this.state.variables)}async execute(e){let t=()=>{this.#m({type:"continue"})},r={client:this.#c,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#d=(0,h.createRetryer)({fn:()=>this.options.mutationFn?this.options.mutationFn(e,r):Promise.reject(Error("No mutationFn found")),onFail:(e,t)=>{this.#m({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#m({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#q.canRun(this)});let i="pending"===this.state.status,n=!this.#d.canStart();try{if(i)t();else{this.#m({type:"pending",variables:e,isPaused:n}),await this.#q.config.onMutate?.(e,this,r);let t=await this.options.onMutate?.(e,r);t!==this.state.context&&this.#m({type:"pending",context:t,variables:e,isPaused:n})}let s=await this.#d.start();return await this.#q.config.onSuccess?.(s,e,this.state.context,this,r),await this.options.onSuccess?.(s,e,this.state.context,r),await this.#q.config.onSettled?.(s,null,this.state.variables,this.state.context,this,r),await this.options.onSettled?.(s,null,e,this.state.context,r),this.#m({type:"success",data:s}),s}catch(t){try{throw await this.#q.config.onError?.(t,e,this.state.context,this,r),await this.options.onError?.(t,e,this.state.context,r),await this.#q.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,r),await this.options.onSettled?.(void 0,t,e,this.state.context,r),t}finally{this.#m({type:"error",error:t})}}finally{this.#q.runNext(this)}}#m(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}})(this.state),l.notifyManager.batch(()=>{this.#F.forEach(t=>{t.onMutationUpdate(e)}),this.#q.notify({mutation:this,type:"updated",action:e})})}},m=u,p=class extends m.Subscribable{constructor(e={}){super(),this.config=e,this.#Q=new Set,this.#U=new Map,this.#G=0}#Q;#U;#G;build(e,t,r){let i=new f({client:e,mutationCache:this,mutationId:++this.#G,options:e.defaultMutationOptions(t),state:r});return this.add(i),i}add(e){this.#Q.add(e);let t=b(e);if("string"==typeof t){let r=this.#U.get(t);r?r.push(e):this.#U.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#Q.delete(e)){let t=b(e);
11if("string"==typeof t){let r=this.#U.get(t);if(r)if(r.length>1){let t=r.indexOf(e);-1!==t&&r.splice(t,1)}else r[0]===e&&this.#U.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){let t=b(e);if("string"!=typeof t)return!0;{let r=this.#U.get(t),i=r?.find(e=>"pending"===e.state.status);return!i||i===e}}runNext(e){let t=b(e);if("string"!=typeof t)return Promise.resolve();{let r=this.#U.get(t)?.find(t=>t!==e&&t.state.isPaused);return r?.continue()??Promise.resolve()}}clear(){l.notifyManager.batch(()=>{this.#Q.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#Q.clear(),this.#U.clear()})}getAll(){return Array.from(this.#Q)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>(0,a.matchMutation)(t,e))}findAll(e={}){return this.getAll().filter(t=>(0,a.matchMutation)(e,t))}notify(e){l.notifyManager.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return l.notifyManager.batch(()=>Promise.all(e.map(e=>e.continue().catch(a.noop))))}};function b(e){return e.options.scope?.id}var g=e.i(34638),y=e.i(220498);function v(e){return{onFetch:(t,r)=>{let i=t.options,n=t.fetchOptions?.meta?.fetchMore?.direction,s=t.state.data?.pages||[],o=t.state.data?.pageParams||[],l={pages:[],pageParams:[]},u=0,c=async()=>{let r=!1,c=(0,a.ensureQueryFn)(t.options,t.fetchOptions),d=async(e,i,n)=>{let s;if(r)return Promise.reject();if(null==i&&e.pages.length)return Promise.resolve(e);let o=(Object.defineProperty(s={client:t.client,queryKey:t.queryKey,pageParam:i,direction:n?"backward":"forward",meta:t.options.meta},"signal",{enumerable:!0,get:()=>(t.signal.aborted?r=!0:t.signal.addEventListener("abort",()=>{r=!0}),t.signal)}),s),l=await c(o),{maxPages:u}=t.options,d=n?a.addToStart:a.addToEnd;return{pages:d(e.pages,l,u),pageParams:d(e.pageParams,i,u)}};if(n&&s.length){let e="backward"===n,t={pages:s,pageParams:o},r=(e?function(e,{pages:t,pageParams:r}){return t.length>0?e.getPreviousPageParam?.(t[0],t,r[0],r):void 0}:w)(i,t);l=await d(t,r,e)}else{let t=e??s.length;do{let e=0===u?o[0]??i.initialPageParam:w(i,l);if(u>0&&null==e)break;l=await d(l,e),u++}while(u<t)}return l};t.options.persister?t.fetchFn=()=>t.options.persister?.(c,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},r):t.fetchFn=c}}}function w(e,{pages:t,pageParams:r}){let i=t.length-1;return t.length>0?e.getNextPageParam(t[i],t,r[i],r):void 0}var x=class{#$;#q;#h;#W;#B;#V;#K;#H;constructor(e={}){this.#$=e.queryCache||new c,this.#q=e.mutationCache||new p,this.#h=e.defaultOptions||{},this.#W=new Map,this.#B=new Map,this.#V=0}mount(){this.#V++,1===this.#V&&(this.#K=g.focusManager.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#$.onFocus())}),this.#H=y.onlineManager.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#$.onOnline())}))}unmount(){this.#V--,0===this.#V&&(this.#K?.(),this.#K=void 0,this.#H?.(),this.#H=void 0)}isFetching(e){return this.#$.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#q.findAll({...e,status:"pending"}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#$.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),r=this.#$.build(this,t),i=r.state.data;return void 0===i?this.fetchQuery(e):(e.revalidateIfStale&&r.isStaleByTime((0,a.resolveStaleTime)(t.staleTime,r))&&this.prefetchQuery(t),Promise.resolve(i))}getQueriesData(e){return this.#$.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,r){let i=this.defaultQueryOptions({queryKey:e}),n=this.#$.get(i.queryHash),s=n?.state.data,o=(0,a.functionalUpdate)(t,s);if(void 0!==o)return this.#$.build(this,i).setData(o,{...r,manual:!0})}setQueriesData(e,t,r){return l.notifyManager.batch(()=>this.#$.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,r)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#$.get(t.queryHash)?.state}removeQueries(e){let t=this.#$;l.notifyManager.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let r=this.#$;return l.notifyManager.batch(()=>
11(r.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){let r={revert:!0,...t};return Promise.all(l.notifyManager.batch(()=>this.#$.findAll(e).map(e=>e.cancel(r)))).then(a.noop).catch(a.noop)}invalidateQueries(e,t={}){return l.notifyManager.batch(()=>(this.#$.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType==="none")?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t))}refetchQueries(e,t={}){let r={...t,cancelRefetch:t.cancelRefetch??!0};return Promise.all(l.notifyManager.batch(()=>this.#$.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,r);return r.throwOnError||(t=t.catch(a.noop)),"paused"===e.state.fetchStatus?Promise.resolve():t}))).then(a.noop)}fetchQuery(e){let t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);let r=this.#$.build(this,t);return r.isStaleByTime((0,a.resolveStaleTime)(t.staleTime,r))?r.fetch(t):Promise.resolve(r.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(a.noop).catch(a.noop)}fetchInfiniteQuery(e){return e.behavior=v(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(a.noop).catch(a.noop)}ensureInfiniteQueryData(e){return e.behavior=v(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return y.onlineManager.isOnline()?this.#q.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#$}getMutationCache(){return this.#q}getDefaultOptions(){return this.#h}setDefaultOptions(e){this.#h=e}setQueryDefaults(e,t){this.#W.set((0,a.hashKey)(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#W.values()],r={};return t.forEach(t=>{(0,a.partialMatchKey)(e,t.queryKey)&&Object.assign(r,t.defaultOptions)}),r}setMutationDefaults(e,t){this.#B.set((0,a.hashKey)(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#B.values()],r={};return t.forEach(t=>{(0,a.partialMatchKey)(e,t.mutationKey)&&Object.assign(r,t.defaultOptions)}),r}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#h.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=(0,a.hashQueryKeyByOptions)(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===a.skipToken&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#h.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#$.clear(),this.#q.clear()}};function j(){return new x({defaultOptions:{dehydrate:{shouldDehydrateQuery:e=>"success"===e.state.status||"pending"===e.state.status},queries:{staleTime:6e5}}})}let O=(0,s.cache)(j);e.s(["QueryProvider",0,({children:e})=>{let s=a.isServer?O():t??=j();return(0,r.jsxs)(i.QueryClientProvider,{client:s,children:[e,(0,r.jsx)(n,{})]})}],983910)},995860,e=>{"use strict";let t;var r=e.i(645357),i=e.i(828630);function n(e){return new Promise((t,r)=>{e.oncomplete=e.onsuccess=()=>t(e.result),e.onabort=e.onerror=()=>r(e.error)})}function s(){var e;let r;return t||(e="keyval",t=(t,i)=>(()=>{if(r)return r;let t=indexedDB.open("keyval-store");return t.onupgradeneeded=()=>t.result.createObjectStore(e),(r=n(t)).then(e=>{e.onclose=()=>r=void 0},()=>{}),r})().then(r=>i(r.transaction(e,t).objectStore(e)))),t}let a=function({storage:e,buster:t="",maxAge:n=864e5,serialize:s=JSON.stringify,deserialize:a=JSON.parse,prefix:o="tanstack-query",filters:l}){function u(e){if(e.state.dataUpdatedAt){let r=Date.now()-e.state.dataUpdatedAt,i=e.buster!==t;return!!(r>n)||!!i}return!0}async function c(t,r){if(null!=e){let n=`${o}-${t}`;try{let t=await e.getItem(n);if(t){let s=await a(t);if(!u(s))return r&&i.notifyManager.schedule(()=>r(s)),s.state.data;await e.removeItem(n)}}catch(t){await e.removeItem(n)}}}async function d(t,r){if(null!=e){let e=r.getQueryCache().find({queryKey:t});e&&await h(e)}}async function h(r){if(null!=e){let i=`${o}-${r.queryHash}`;e.setItem(i,await s({state:r.state,queryKey:r.queryKey,queryHash:r.queryHash,buster:t}))}}return{persisterFn:async function(t,n,s){let a=!l||(0,r.matchQuery)(l,s);if(a&&void 0===s.state.data&&null!=e){let e=await c(s.queryHash,e=>{s.setState({dataUpdatedAt:e.state.dataUpdatedAt,errorUpdatedAt:e.state.errorUpdatedAt}),s.isStale()&&s.fetch()});if(null!=e)return Promise.resolve(e)}let o=await t(n);return a&&null!=e&&i.notifyManager.schedule(()=>{h(s)}),Promise.resolve(o)},persistQuery:h,persistQueryByKey:d,retrieveQuery:c,persisterGc:async function(){if(e?.entries)for(let[t,r]of(await e.entries()))t.startsWith(o)&&u(await a(r))&&await e.removeItem(t)},restoreQueries:async function(t,i={}){let{exact:n,queryKey:s}=i;
11if(e?.entries){for(let[i,l]of(await e.entries()))if(i.startsWith(o)){let o=await a(l);if(u(o)){await e.removeItem(i);continue}if(s){if(n){if(o.queryHash!==(0,r.hashKey)(s))continue}else if(!(0,r.partialMatchKey)(o.queryKey,s))continue}t.setQueryData(o.queryKey,o.state.data,{updatedAt:o.state.dataUpdatedAt})}}}}}({storage:{getItem:e=>(function(e,t=s()){return t("readonly",t=>n(t.get(e)))})(e),removeItem:e=>(function(e,t=s()){return t("readwrite",t=>(t.delete(e),n(t.transaction)))})(e),setItem:(e,t)=>(function(e,t,r=s()){return r("readwrite",r=>(r.put(t,e),n(r.transaction)))})(e,t)}});e.s(["getIndexedDBPersister",0,function(){return r.isServer?null:a}],995860)}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.