PageSourceSearch

https://mohmuseum.org/_next/static/chunks/1i1is_k1ored2.js?dpl=dpl_cgkQyXzkWBJQE6GWUrte47bkevCa

js mohmuseum.org collected 2026-09-24 19:38:01 UTC 67,290 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,65289,e=>{"use strict";var t=e.i(43476);e.s(["TimesIcon",0,e=>(0,t.jsx)("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,t.jsx)("path",{d:"M1 1L9 9M9 1L1 9",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})])},45159,e=>{"use strict";var t=e.i(43476),n=e.i(71645),a=e.i(18566);e.i(63078);var i=e.i(83931),o=e.i(65289);let r="nmohm:site-alert:dismissed-at:v1";e.s(["SiteAlert",0,function({title:e,closeButtonText:s,children:l}){let c=(0,n.useRef)(null),u=(0,n.useId)(),d=(0,n.useId)(),p=(0,a.usePathname)(),f=s?.trim();(0,n.useEffect)(()=>{let e=c.current;if(!e)return;try{let e=Number(localStorage.getItem(r)),t=Date.now()-e;if(e>0&&t>=0&&t<864e5)return}catch{}e.showModal();let t=document.body.style.overflow;document.body.style.overflow="hidden";let n=()=>{document.body.style.overflow=t};return e.addEventListener("close",n),()=>{e.removeEventListener("close",n),e.close(),n()}},[p]);let m=()=>{try{localStorage.setItem(r,String(Date.now()))}catch{}c.current?.close()};return(0,t.jsxs)("dialog",{ref:c,role:"alertdialog","aria-labelledby":u,"aria-describedby":d,"aria-modal":"true",onCancel:e=>{e.preventDefault(),m()},className:"m-auto max-h-[90dvh] w-[calc(100%-2rem)] max-w-xl overflow-y-auto border border-navy/10 bg-white p-6 text-navy shadow-2xl backdrop:bg-black/70 sm:p-8",children:[(0,t.jsxs)("div",{className:"mb-4 flex items-center justify-between gap-4",children:[(0,t.jsx)("h2",{id:u,className:"m-0 min-w-0 break-words font-display-condensed text-heading font-bold uppercase text-balance",children:e}),(0,t.jsx)("button",{type:"button","aria-label":"Dismiss alert",autoFocus:!f,onClick:m,className:"flex size-11 shrink-0 items-center justify-center text-navy transition-colors hover:bg-surface focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-navy",children:(0,t.jsx)(o.TimesIcon,{className:"size-4","aria-hidden":"true"})})]}),(0,t.jsx)("div",{id:d,className:"break-words font-body text-copy text-navy [&_p]:m-0 [&_p+p]:mt-4 [&_a]:underline [&_a]:underline-offset-4 [&_a:hover]:text-navy/70 [&_a:focus-visible]:outline-2 [&_a:focus-visible]:outline-offset-2 [&_strong]:font-bold",children:l}),f&&(0,t.jsx)(i.Button,{type:"button",variant:"contained",className:"mt-6 w-full sm:w-auto",onClick:m,autoFocus:!0,children:f})]})}])},68773,e=>{"use strict";var t=e.i(43476),n=e.i(18566),a=e.i(71645),i=e.i(22016),o=e.i(37715),r=e.i(75356);let s=e=>(0,t.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.25 8.75079L7.25 16H8.75L8.75 8.75079L16 8.75079L16 7.25079L8.75 7.25079L8.75 0L7.25 0L7.25 7.25079L2.28072e-09 7.25079L2.75254e-09 8.75079L7.25 8.75079Z",fill:"currentColor"})}),l=e=>(0,t.jsx)("svg",{width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,t.jsx)("path",{d:"M0.541626 6.50049L12.5416 6.50049",stroke:"currentColor",strokeWidth:"1.5"})}),c=e=>(0,t.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,t.jsx)("path",{d:"M3 6H21M3 12H21M3 18H21",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})});var u=e.i(65289);e.i(63078);var d=e.i(83931),p=e.i(46898);function f({showNotice:e,handleNoticeClose:n,noticeText:a,noticeCta:o}){return e?(0,t.jsxs)("div",{role:"region","aria-label":"Museum notice",className:"relative flex min-h-12 shrink-0 items-center justify-between gap-4 border-b border-gold bg-navy px-5 py-2 text-white lg:px-10",children:[(0,t.jsxs)("div",{className:"flex min-w-0 translate-y-0.5 flex-col gap-1 font-body text-copy font-normal leading-snug lg:flex-row lg:flex-wrap lg:items-center lg:gap-x-2",children:[(0,t.jsx)("span",{children:a}),o.caption&&o.url&&(0,t.jsx)(i.default,{href:o.url,className:"w-fit text-gold underline underline-offset-2 transition-colors hover:text-white focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white",...(0,p.resolveCtaAction)(o.action,o.targetAnchor),children:o.caption})]}),(0,t.jsx)("button",{type:"button",onClick:n,className:"flex size-6 shrink-0 cursor-pointer items-center justify-center rounded-sm text-white transition-colors hover:bg-white/10 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white",name:"close-notice","aria-label":"Close notice",children:(0,t.jsx)(u.TimesIcon,{className:"size-2.5"})})]}):null}function m({href:e,action:n,targetAnchor:a,children:o,...r}){let s=(0,p.resolveCtaAction)(n,a),l="jumptoanchor"===n&&a?`#${a}`:e;return/^https?:\/\//.test(l)?(0,t.jsx)("a",{href:l,...r,...s,children:o}):(0,t.jsx)(i.default,{href:l,...r,...s,children:o})}function h({link:e,solidHeader:n}){return(0,t.jsx)("li",{children:(0,t.jsxs)(m,{href:e.href,className:"flex items-center gap-2 font-display text-xs font-normal leading-3 group","data-title":"Navigation_Header_Icons","data-text":e.text,children:[(0,t.jsx)("span",{className:(0,o.cn)("w-3 h-3 [&>svg]:w-3 [&>svg]:h-3 transition-colors",n?"text-navy group-hover:text-navy/70":"text-white group-hover:text-light-blue"),children:e.icon}),(0,t.jsx)("span",{className:(0,o.cn)("transition-colors",n?"text-navy group-hover:text-navy/70":"text-white group-hover:text-light-blue"),children:e.text})]})})}function v({callout:e,navMenuLinks:n,desktopMenuOpen:a=!1,whiteBackgroun
1d:i=!1}){let r=a||i;return(0,t.jsxs)("div",{className:(0,o.cn)("hidden lg:flex items-center justify-between px-10 py-[13px] transition-colors duration-300",r?"bg-white text-navy border-b border-navy/40":"bg-transparent text-white border-b border-white"),children:[e?(0,t.jsxs)("a",{href:e.cta.url,className:(0,o.cn)("flex items-center gap-2 font-display text-xs font-normal leading-3 transition-colors",r?"text-navy hover:text-navy/70":"text-white hover:text-light-blue"),"data-title":"Navigation_Header","data-text":e.cta.caption,...(0,p.resolveCtaAction)(e.cta.action,e.cta.targetAnchor),children:[(0,t.jsx)("span",{className:"w-3 h-3 [&>svg]:w-3 [&>svg]:h-3",children:e.icon}),(0,t.jsx)("span",{children:e.text}),(0,t.jsx)("span",{className:"underline",children:e.cta.caption})]}):(0,t.jsx)("span",{}),(0,t.jsx)("ul",{className:"list-none p-0 m-0 flex gap-6",children:n.map(e=>(0,t.jsx)(h,{link:e,solidHeader:r},`${e.text}-${e.href}`))})]})}var b=e.i(25680);function x({group:e}){return(0,t.jsxs)("li",{className:"flex flex-col min-w-[240px]",children:[e.title&&(0,t.jsx)("span",{className:"block font-display uppercase text-xs font-normal leading-3 mb-5 text-navy/70 select-none",children:e.title}),e.links.map(e=>(0,t.jsx)(g,{link:e},`${e.text}-${e.href}`))]})}function g({link:e}){return(0,t.jsx)(m,{href:e.href,className:"mb-6 block font-display text-sm font-normal leading-none text-navy no-underline transition-colors duration-300 hover:text-navy/70","data-title":"Navigation_Secondary","data-text":e.text,action:e.action,targetAnchor:e.targetAnchor,children:e.text})}function y({thumbnails:e}){return(0,t.jsx)("div",{className:(0,o.cn)("grid gap-5 self-end",1===e.length?"grid-cols-1 w-[450px]":"grid-cols-[minmax(min-content,303px)_minmax(min-content,303px)]"),children:e.map(e=>(0,t.jsx)(w,{thumbnail:e},`${e.title}-${e.href}`))})}function w({thumbnail:e}){return(0,t.jsx)(m,{href:e.href,className:"flex justify-center items-end h-[212px] p-3 bg-navy bg-cover bg-center group",style:{backgroundImage:`url(${e.thumbnail})`},"data-title":"Navigation_Secondary_Card","data-text":e.title,children:(0,t.jsxs)("div",{className:"flex justify-between items-end w-full px-4 pt-3 pb-4 bg-white transition-colors duration-300 group-hover:bg-light-blue",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{className:"block font-display text-xs font-normal leading-3 uppercase mb-2 text-navy/70",children:e.linkText}),(0,t.jsx)("span",{className:"block font-display text-sm font-normal leading-none text-navy",children:e.title})]}),(0,t.jsx)(b.ArrowUpRightIcon,{className:"size-3 shrink-0 transition-transform duration-300 group-hover:translate-x-1"})]})})}function j({id:e,menu:n,isActive:a}){return(0,t.jsx)("div",{id:e,className:(0,o.cn)("absolute left-0 w-full pt-5 transition-opacity duration-300 min-[1440px]:block hidden","top-[calc(100%-20px)]",a?"opacity-100 pointer-events-auto":"opacity-0 pointer-events-none"),children:(0,t.jsxs)("div",{className:"text-navy bg-surface flex flex-col justify-between gap-8 px-[60px] py-16",children:[(0,t.jsxs)(m,{href:n.mainCta.href,className:"group flex items-center gap-2 self-start p-5 font-display text-lg font-normal uppercase leading-[0.9] text-navy transition-colors duration-500 hover:text-navy/70","data-title":"Navigation_Secondary","data-text":n.mainCta.text,action:n.mainCta.action,targetAnchor:n.mainCta.targetAnchor,children:[n.mainCta.text,(0,t.jsx)(b.ArrowUpRightIcon,{className:"w-3 h-3 mt-1 transition-transform duration-500 group-hover:translate-x-1"})]}),(0,t.jsxs)("div",{className:"flex justify-between",children:[(0,t.jsx)("ul",{className:"flex items-start gap-5 list-none pl-5 m-0",children:n.dropdownGroups.map((e,a)=>(0,t.jsx)(x,{group:e},`${n.title}-${e.title??"group"}-${a}`))}),n.thumbnails&&n.thumbnails.length>0&&(0,t.jsx)(y,{thumbnails:n.thumbnails})]})]})})}function k({menu:e,index:n,isActive:a,onToggle:i}){let r=`global-nav-mobile-panel-${n}`;return(0,t.jsxs)("li",{className:"border-b border-navy/40",children:[(0,t.jsxs)("button",{type:"button",className:(0,o.cn)("flex w-full items-center justify-between py-7 cursor-pointer transition-colors duration-300 bg-transparent border-0 text-left",a?"text-navy/70":"text-navy"),onClick:()=>i(n),"aria-expanded":a,"aria-controls":r,children:[(0,t.jsx)("span",{className:"font-display text-xl font-normal leading-[0.9]",children:e.title}),a?(0,t.jsx)(l,{className:"size-7 font-light","aria-hidden":"true"}):(0,t.jsx)(s,{className:"size-7 font-light","aria-hidden":"true"})]}),(0,t.jsxs)("div",{id:r,className:(0,o.cn)("overflow-hidden px-5 transition-all duration-500",a?"max-h-[1000px]":"max-h-0"),children:[(0,t.jsxs)(m,{href:e.mainCta.href,className:"flex items-center gap-2 py-2 mb-8 text-navy",action:e.mainCta.action,targetAnchor:e.mainCta.targetAnchor,children:[(0,t.jsx)("span",{className:"font-display text-base font-normal leading-4 tracking-tight uppercase",children:e.mainCta.text}),(0,t.jsx)(b.ArrowUpRightIcon,{className:"w-3 h-3","aria-hidden":"true"})]}),(0,t.jsx)("ul",{className:"flex flex-col gap-8 list-none mb-9",children:e.dropdownGroups.map((n,a)=>(0,t.jsx)(N,{group:n},`${e.title}-${n.title??"group"}-${a}`))})]})]})}function N({group:e}){return(0,t.jsxs)("li",{className:"flex flex-col gap-8",children:[e.title&&(0,t.jsx)("span",{className:"block text-navy/70 font-display text-xs font-normal leading-3 up
1percase",children:e.title}),e.links.map(e=>(0,t.jsx)(T,{link:e},`${e.text}-${e.href}`))]})}function T({link:e}){return(0,t.jsx)(m,{href:e.href,className:"block font-display text-base font-normal leading-4 tracking-tight","data-title":"Navigation_Secondary","data-text":e.text,action:e.action,targetAnchor:e.targetAnchor,children:e.text})}function E({link:e}){return(0,t.jsxs)("li",{children:[(0,t.jsxs)(m,{href:e.href,className:"grid items-center grid-cols-[auto_1fr] grid-rows-auto gap-2",children:[(0,t.jsx)("span",{className:"flex justify-center items-center w-4 h-4 [&>svg]:w-4 [&>svg]:h-4",children:e.icon}),(0,t.jsx)("span",{className:"font-display text-base font-normal leading-4 tracking-tight",children:e.text})]}),e.action&&(0,t.jsxs)("div",{className:"grid grid-cols-[auto_1fr] gap-2 mt-2",children:[(0,t.jsx)("span",{}),(0,t.jsx)("a",{href:e.action.url,className:"underline font-normal font-display text-base leading-4",children:e.action.text})]})]})}function S({navMenuItems:e,navMenuLinks:n,navMenuOpen:a,activeDropdown:i,handleDropdownClick:r,membershipPageUrl:s,buyTicketsPageUrl:l,isMembershipPage:c,isTicketsPage:u}){return(0,t.jsxs)("div",{className:(0,o.cn)("absolute top-full left-0 right-0 h-[calc(100dvh-var(--global-nav-height))] overflow-y-auto pb-6 z-[-1] flex-1 bg-surface text-navy transition-all duration-300 min-[1440px]:hidden",a?"opacity-100 visible pointer-events-auto":"opacity-0 invisible pointer-events-none"),"aria-hidden":!a,children:[(0,t.jsxs)("div",{className:"grid grid-cols-1 px-5 pt-6 pb-[120px] gap-10",children:[(0,t.jsx)("ul",{className:"list-none p-0 m-0",children:e.map((e,n)=>(0,t.jsx)(k,{menu:e,index:n,isActive:i===n,onToggle:r},`${e.title}-${e.mainCta.href}`))}),(0,t.jsx)("ul",{className:"flex flex-col gap-8 list-none p-0",children:n.map(e=>(0,t.jsx)(E,{link:e},`${e.text}-${e.href}`))})]}),(0,t.jsxs)("div",{className:"fixed bottom-0 left-0 right-0 flex justify-between gap-6 p-5 border-t border-navy/40 bg-white",children:[!c&&s&&(0,t.jsx)(d.ButtonLink,{href:s,"data-title":"Member_CTA","data-text":"Become a Member","data-additional":"Global_Header",theme:"dark",variant:"outlined",className:"-m-px flex-1",children:"Become a Member"}),!c&&!s&&(0,t.jsx)(d.Button,{"data-title":"Member_CTA","data-text":"Become a Member","data-additional":"Global_Header",onClick:()=>{},theme:"dark",variant:"outlined",className:"-m-px flex-1",...(0,p.resolveCtaAction)("membership"),children:"Become a Member"}),!u&&l&&(0,t.jsx)(d.ButtonLink,{href:l,"data-title":"Ticket_CTA","data-text":"Buy Tickets","data-additional":"Global_Header",theme:"dark",variant:"contained",className:"-m-px flex-1",children:"Buy Tickets"}),!u&&!l&&(0,t.jsx)(d.Button,{"data-title":"Ticket_CTA","data-text":"Buy Tickets","data-additional":"Global_Header",onClick:()=>{},theme:"dark",variant:"contained",className:"-m-px flex-1",...(0,p.resolveCtaAction)("ticket"),children:"Buy Tickets"})]})]})}function O({navMenuItems:e,activeDropdown:n,desktopMenuOpen:a,whiteBackground:i,onDropdownClick:o}){return(0,t.jsx)("nav",{className:"invisible max-w-0 -translate-x-3 overflow-hidden opacity-0 transition-[max-width,opacity,transform,visibility] duration-300 ease-out motion-reduce:transition-none min-[1440px]:visible min-[1440px]:max-w-[900px] min-[1440px]:translate-x-0 min-[1440px]:opacity-100","aria-label":"Primary navigation",children:(0,t.jsx)("ul",{className:"flex items-center gap-10",children:e.map((e,r)=>(0,t.jsx)(C,{menu:e,index:r,isActive:n===r,desktopMenuOpen:a,whiteBackground:i,onDropdownClick:o},`${e.title}-${e.mainCta.href}`))})})}function C({menu:e,index:n,isActive:a,desktopMenuOpen:i,whiteBackground:r,onDropdownClick:c}){return(0,t.jsx)("li",{children:(0,t.jsxs)("button",{type:"button",onClick:()=>c(n),className:(0,o.cn)("h-full flex shrink-0 items-end gap-2 whitespace-nowrap font-display text-base font-normal leading-4 tracking-tight m-0 p-0 bg-transparent border-none",i||r?"text-navy":"text-white",a&&(i||r?"text-navy/70":"text-light-blue")),"data-title":"Navigation_Primary","data-text":e.title,"aria-expanded":a,"aria-controls":`global-nav-desktop-dropdown-${n}`,children:[e.title,a?(0,t.jsx)(l,{className:"w-3 h-3","aria-hidden":"true"}):(0,t.jsx)(s,{className:"w-3 h-3","aria-hidden":"true"})]})})}function A({headerSolid:e,isMembershipPage:n,membershipPageUrl:a}){if(n)return null;let i=e?"dark":"light";return(0,t.jsx)("div",{className:"mr-0 flex min-w-0 max-w-0 justify-end transition-[max-width,margin] duration-300 ease-out motion-reduce:transition-none min-[1440px]:mr-8 min-[1440px]:max-w-[240px]","data-testid":"global-header-membership-slot",children:(0,t.jsx)("div",{className:"invisible w-max shrink-0 scale-70 opacity-0 transition-[opacity,scale,visibility] duration-300 ease-out motion-reduce:transition-none min-[1440px]:visible min-[1440px]:scale-100 min-[1440px]:opacity-100","data-testid":"global-header-membership-action",children:a?(0,t.jsx)(d.ButtonLink,{href:a,"data-title":"Member_CTA","data-text":"Become a Member","data-additional":"Global_Header",theme:i,variant:"outlined",className:"shrink-0 whitespace-nowrap motion-reduce:transition-none",children:"Become a Member"}):(0,t.jsx)(d.Button,{"data-title":"Member_CTA","data-text":"Become a Member","data-additional":"Global_Header",onClick:()=>{},theme:i,variant:"outlined",className:"shrink-0 whitespace-nowrap motion-reduce:transition-none",...(0,p.resolveCtaAction)("membership"),children:"Become a Member"})})})}function P({headerSolid:e,menuOpen:n,isTicketsPage:a,buyTicketsPageUrl:i}){return a?null:(0,t.jsx)("div",{className:(0,o.cn)("shrink-0 translate-x-0 opacity-100 transition-[opacity,transform,visibility] duration-300 ease-out motion-reduce:transition-none",n&&"max-[1439px]:invisible max-[1439px]:translate-x-2 max-[1439px]:opacity-0"),"data-testid":"global-header-ticket-action",children:i?(0,t.jsx)(d.ButtonLink,{href:i,"data-title":"Ticket_CTA","data-text":"Buy Tickets","data-additional":"Global_Header",theme:e?"dark":"light",variant:"contained",size:"medium",sizeAt1440:"large",className:"shrink-0 whitespace-nowrap transition-[padding,font-size,line-height,letter-spacing,background-color,color,border-color] duration-300 ease-out motion-reduce:transition-none",children:"Buy Tickets"}):(0,t.jsx)(d.Button,{"data-title":"Ticket_CTA","data-text":"Buy Tickets","data-additional":"Global_Header",onClick:()=>{},theme:e?"dark":"light",variant:"contained",size:"medium",sizeAt1440:"large",className:"shrink-0 whitespace-nowrap transition-[padding,font-size,line-height,letter-spacing,background-color,color,border-color] duration-300 ease-out motion-reduce:transition-none",...(0,p.resolveCtaAction)("ticket"),children:"Buy Tickets"})})}
1function F({menuOpen:e,whiteBackground:n,onToggleMenu:a}){return(0,t.jsx)("div",{className:"ml-8 flex min-w-0 max-w-6 justify-end transition-[max-width,margin] duration-300 ease-out motion-reduce:transition-none min-[1440px]:ml-0 min-[1440px]:max-w-0","data-testid":"global-header-menu-toggle-slot",children:(0,t.jsx)("div",{className:"visible w-6 shrink-0 scale-100 opacity-100 transition-[opacity,scale,visibility] duration-300 ease-out motion-reduce:transition-none min-[1440px]:invisible min-[1440px]:scale-70 min-[1440px]:opacity-0","data-testid":"global-header-menu-toggle",children:(0,t.jsx)("button",{type:"button",onClick:a,className:(0,o.cn)("flex h-6 w-6 shrink-0 items-center justify-center border-none bg-transparent transition-colors duration-300 cursor-pointer motion-reduce:transition-none",e||n?"text-navy":"text-white"),name:"toggle-mobile-menu","aria-label":"Toggle mobile menu","aria-expanded":e,children:e?(0,t.jsx)(u.TimesIcon,{className:"w-[18px] h-[18px]","aria-hidden":"true"}):(0,t.jsx)(c,{className:"w-full h-full","aria-hidden":"true"})})})})}function D({navMenuItems:e,activeDropdown:n}){return(0,t.jsx)(t.Fragment,{children:e.map((e,a)=>(0,t.jsx)(I,{menu:e,index:a,isActive:n===a},`${e.title}-${e.mainCta.href}`))})}function I({menu:e,index:n,isActive:a}){return(0,t.jsx)(j,{id:`global-nav-desktop-dropdown-${n}`,menu:e,isActive:a})}function L({navMenuItems:e,navMenuLinks:n,desktopLinks:s,notice:l,isHomePage:c,isMembershipPage:u,isTicketsPage:d,membershipPageUrl:p,buyTicketsPageUrl:m}){let h=(0,a.useSyncExternalStore)(e=>(window.addEventListener("storage",e),window.addEventListener("global-navigation-notice",e),()=>{window.removeEventListener("storage",e),window.removeEventListener("global-navigation-notice",e)}),()=>{let e=sessionStorage.getItem("showNotice");if(null===e)return l.showNotice;try{return!!JSON.parse(e)}catch{return l.showNotice}},()=>l.showNotice),[b,x]=(0,a.useState)(!1),[g,y]=(0,a.useState)(null),[w,j]=(0,a.useState)(!1),[k,N]=(0,a.useState)(null),T=(0,a.useRef)(null),E=null!==g,C=!c||b,I=w||E||C;return(0,a.useEffect)(()=>{let e=window.matchMedia("(min-width: 1440px)"),t=e=>{e.matches&&j(!1)};return e.addEventListener("change",t),()=>{e.removeEventListener("change",t)}},[]),(0,a.useEffect)(()=>{if(c){let e=()=>{x(window.scrollY>=20)};return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}}},[c]),(0,a.useEffect)(()=>{null===sessionStorage.getItem("showNotice")&&sessionStorage.setItem("showNotice",JSON.stringify(l.showNotice))},[l.showNotice]),(0,a.useEffect)(()=>{let e=T.current;if(!e)return;let t=document.documentElement,n=()=>{t.style.setProperty("--global-nav-height",`${e.offsetHeight}px`)};n();let a=new ResizeObserver(n);return a.observe(e),()=>{a.disconnect(),t.style.removeProperty("--global-nav-height")}},[]),(0,a.useEffect)(()=>{if(w){let e=window.scrollY;document.body.style.overflow="hidden",document.body.style.position="fixed",document.body.style.top=`-${e}px`,document.body.style.width="100%"}else{let e=document.body.style.top;document.body.style.overflow="",document.body.style.position="",document.body.style.top="",document.body.style.width="",e&&window.scrollTo(0,-1*parseInt(e||"0"))}return()=>{document.body.style.overflow="",document.body.style.position="",document.body.style.top="",document.body.style.width=""}},[w]),(0,t.jsxs)("div",{ref:T,className:"fixed top-0 left-0 right-0 flex flex-col z-100 font-display",children:[(0,t.jsx)("span",{className:(0,o.cn)("fixed top-0 left-0 right-0 bottom-0 bg-navy/10 backdrop-blur-md z-[-1] transition-opacity duration-300 min-[1440px]:block hidden",E?"opacity-100 pointer-events-auto":"opacity-0 pointer-events-none"),onClick:()=>y(null)}),(0,t.jsx)(f,{showNotice:h,handleNoticeClose:function(){sessionStorage.setItem("showNotice",JSON.stringify(!1)),window.dispatchEvent(new Event("global-navigation-notice"))},noticeText:l.noticeText,noticeCta:l.noticeCta}),(0,t.jsx)(v,{callout:s.callout,navMenuLinks:s.navMenuLinks,desktopMenuOpen:E,whiteBackground:C}),(0,t.jsxs)("header",{className:(0,o.cn)("relative h-14 transition-[height,background-color,color,border-color,box-shadow] duration-300 ease-out motion-reduce:transition-none","min-[1440px]:h-24",I?"bg-white text-navy":"bg-transparent text-white border-b border-white",C&&"shadow-[0_4px_4px_color-mix(in_srgb,var(--color-navy)_13%,transparent)]",w&&"border-b-0"),children:[(0,t.jsxs)("div",{className:"relative flex h-full items-center justify-between px-5 py-2 transition-[padding] duration-300 ease-out motion-reduce:transition-none min-[1440px]:px-10 min-[1440px]:py-4",children:[(0,t.jsxs)("div",{className:"flex h-full min-w-0 items-center gap-0 transition-[gap] duration-300 ease-out motion-reduce:transition-none min-[1440px]:gap-12",children:[(0,t.jsx)(i.default,{href:"/",className:(0,o.cn)("h-10 shrink-0 transition-[height,filter] duration-300 ease-out motion-reduce:transition-none min-[1440px]:h-16",!w&&!E&&!C&&"brightness-0 invert"),onClick:()=>y(null),children:(0,t.jsx)(r.Logo,{className:"h-full"})}),(0,t.jsx)(O,{navMenuItems:e,activeDropdown:g,desktopMenuOpen:E,whiteBackgroun
1d:C,onDropdownClick:function(e){g===e?y(null):y(e)}})]}),(0,t.jsxs)("div",{className:"flex shrink-0 items-center",children:[(0,t.jsx)(A,{headerSolid:I,isMembershipPage:u,membershipPageUrl:p}),(0,t.jsx)(P,{headerSolid:I,menuOpen:w,isTicketsPage:d,buyTicketsPageUrl:m}),(0,t.jsx)(F,{menuOpen:w,whiteBackground:C,onToggleMenu:function(){y(null),j(e=>!e)}})]})]}),(0,t.jsx)(S,{navMenuItems:e,navMenuLinks:n,navMenuOpen:w,activeDropdown:k,handleDropdownClick:function(e){k===e?N(null):N(e)},membershipPageUrl:p,buyTicketsPageUrl:m,isMembershipPage:u,isTicketsPage:d})]}),(0,t.jsx)(D,{navMenuItems:e,activeDropdown:g})]})}e.s(["default",0,function({isHomePage:e,membershipPageUrl:a,buyTicketsPageUrl:i,...o}){let r=(0,n.usePathname)();return(0,t.jsx)(L,{...o,isHomePage:e||"/"===r,isMembershipPage:r===a,isTicketsPage:r===i,membershipPageUrl:a,buyTicketsPageUrl:i},r)}],68773)},6228,e=>{"use strict";var t=e.i(43476),n=e.i(57688),a=e.i(22016),i=e.i(40141),o=e.i(11152),r=e.i(14674),s=e.i(41014),l=e.i(33499);function c(){let{isReady:e,isSubmitting:n,onSubmit:a,recaptchaError:i,state:o,tokenRef:c}=(0,l.useNewsletterSignup)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsx)("p",{className:"font-body text-sm font-medium leading-none text-navy mb-4 text-center px-6 md:text-left md:px-0",children:"Be the first to know about museum updates and events"}),(0,t.jsxs)("form",{onSubmit:a,className:"flex",children:[(0,t.jsx)("input",{type:"email",name:"email","aria-label":"Email address",placeholder:"Your Email Address",required:!0,disabled:n,className:"w-full border border-navy p-4 font-body text-base font-medium leading-4 tracking-tight text-navy outline-none placeholder:text-navy placeholder:opacity-70 disabled:opacity-70"}),(0,t.jsx)("input",{type:"hidden",name:"recaptchaToken",ref:c}),(0,t.jsx)("button",{type:"submit",disabled:!e||n,"data-title":"Email_CTA","data-text":"Sign Up",className:"hidden md:flex shrink-0 items-center gap-2 bg-navy px-6 py-4 font-display text-base font-normal text-white hover:bg-light-blue hover:text-navy disabled:opacity-70 disabled:cursor-not-allowed transition-colors",children:n?"Sending...":"Sign Up"}),(0,t.jsx)("button",{type:"submit",disabled:!e||n,"data-title":"Email_CTA","data-text":"Sign Up",className:"flex md:hidden shrink-0 items-center justify-center bg-navy p-4 text-white hover:bg-light-blue hover:text-navy disabled:opacity-70 disabled:cursor-not-allowed transition-colors","aria-label":"Sign up for newsletter",children:n?(0,t.jsx)("span",{className:"text-sm",children:"..."}):(0,t.jsx)(r.HiArrowRight,{className:"w-5 h-5"})})]}),i&&(0,t.jsx)("p",{className:"font-body text-sm text-danger",role:"alert",children:i}),o&&(0,t.jsx)("p",{className:`font-body text-sm ${o.success?"text-success":"text-danger"}`,role:o.success?"status":"alert",children:o.message})]}),(0,t.jsx)(s.default,{})]})}e.i(86249);var u=e.i(47905);let d={facebook:function(e){return(0,i.GenIcon)({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-92.4 233.5h-63.9c-50.1 0-59.8 23.8-59.8 58.8v77.1h119.6l-15.6 120.7h-104V912H539.2V602.2H434.9V481.4h104.3v-89c0-103.3 63.1-159.6 155.3-159.6 44.2 0 82.1 3.3 93.2 4.8v107.9z"},child:[]}]})(e)},meta:function(e){return(0,i.GenIcon)({tag:"svg",attr:{viewBox:"0 0 1024 1024",fill:"currentColor",fillRule:"evenodd"},child:[{tag:"path",attr:{d:"M818 800 498.11 333.745l.546.437L787.084 0h-96.385L455.738 272 269.15 0H16.367l298.648 435.31-.036-.037L0 800h96.385l261.222-302.618L565.217 800zM230.96 72.727l448.827 654.546h-76.38L154.217 72.727z",transform:"translate(103 112)"},child:[]}]})(e)},instagram:function(e){return(0,i.GenIcon)({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M512 306.9c-113.5 0-205.1 91.6-205.1 205.1S398.5 717.1 512 717.1 717.1 625.5 717.1 512 625.5 306.9 512 306.9zm0 338.4c-73.4 0-133.3-59.9-133.3-133.3S438.6 378.7 512 378.7 645.3 438.6 645.3 512 585.4 645.3 512 645.3zm213.5-394.6c-26.5 0-47.9 21.4-47.9 47.9s21.4 47.9 47.9 47.9 47.9-21.3 47.9-47.9a47.84 47.84 0 0 0-47.9-47.9zM911.8 512c0-55.2.5-109.9-2.6-165-3.1-64-17.7-120.8-64.5-167.6-46.9-46.9-103.6-61.4-167.6-64.5-55.2-3.1-109.9-2.6-165-2.6-55.2 0-109.9-.5-165 2.6-64 3.1-120.8 17.7-167.6 64.5C132.6 226.3 118.1 283 115 347c-3.1 55.2-2.6 109.9-2.6 165s-.5 109.9 2.6 165c3.1 64 17.7 120.8 64.5 167.6 46.9 46.9 103.6 61.4 167.6 64.5 55.2 3.1 109.9 2.6 165 2.6 55.2 0 109.9.5 165-2.6 64-3.1 120.8-17.7 167.6-64.5 46.9-46.9 61.4-103.6 64.5-167.6 3.2-55.1 2.6-109.8 2.6-165zm-88 235.8c-7.3 18.2-16.1 31.8-30.2 45.8-14.1 14.1-27.6 22.9-45.8 30.2C695.2 844.7 570.3 840 512 840c-58.3 0-183.3 4.7-235.9-16.1-18.2-7.3-31.8-16.1-45.8-30.2-14.1-14.1-22.9-27.6-30.2-45.8C179.3 695.2 184 570.3 184 512c0-58.3-4.7-183.3 16.1-235.9 7.3-18.2 16.1-31.8 30.2-45.8s27.6-22.9 45.8-30.2C328.7 179.3 453.7 184 512 184s183.3-4.7 235.9 16.1c18.2 7.3 31.8 16.1 45.8 30.2 14.1 14.1 22.9 27.6 30.2 45.8C844.7 328.7 840 453.7 840 512c0 58.3 4.7 183.2-16.2 235.8z"},child:[]}]})(e)},youtube:o.FaYoutube,linkedin:function(e){return(0,i.GenIcon)({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM349.3 793.7H230.6V411.9h118.7v381.8zm-59.3-434a68.8 68.8 0 1 1 68.8-68.8c-.1 38-30.9 68.8-68.8 68.8zm503.7 434H675.1V608c0-44.3-.8-101.2-61.7-101.2-61.7 0-71.2 48.2-71.2 98v188.9H423.7V411.9h113.8v52.2h1.6c15.8-30 54.5-61.7 112.3-61.7 120.2 0 142.3 79.1 142.3 181.9v209.4z"},child:[]}]})(e)}},p="flex flex-col gap-5 items-center text-center md:items-start md:text-left",f="flex flex-col gap-1.5 items-center text-center md:items-start md:text-left",m="font-body text-sm font-medium leading-none text-navy",h="font-body text-sm font-medium leading-none text-navy underline",v=({address1:e,address2:n,addressOnGoogleMapUrl:a,city:i,state:o,zip:r,copyright:s,links:l,phone:c,socialLinks:u,accordions:d,hourBlocks:p})=>(0,t.jsxs)("div",{children:[(0,t.jsx)(b,{}),(0,t.jsxs)("footer",{className:"flex flex-col gap-5 px-6 pt-12 pb-8 md:gap-16 md:px-[122px] md:pt-16 md:pb-8",children:[(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-[30px] items-start lg:grid-cols-[7fr_4fr] lg:gap-12",children:[(0,t.jsx)(x,{address1:e,address2:n,addressOnGoogleMapUrl:a,city:i,state:o,zip:r,phone:c,hourBlocks:p,socialLinks:u}),(0,t.jsx)(S,{accordions:d})]}),(0,t.jsx)(P,{copyright:s,links:l})]})]});function b(){return(0,t.jsx)("div",{className:"border-t border-navy opacity-40"})}function x({address1:e,address2:n,addressOnGoogleMapUrl:a,city:i,hourBlocks:o,phone:r,socialLinks:s,state:l,zip:c}){return(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-5 md:grid-cols-[3fr_1fr] md:gap-12",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-5 md:gap-12",children:[(0,t.jsxs)("div",{className:"flex flex-col items-center gap-[30px] md:grid md:grid-cols-2 md:gap-12 md:items-start",children:[(0,t.jsx)(g,{}),(0,t.jsx)(y,{address1:e,address2:n,addressOnGoogleMapUrl:a,city:i,phone:r,state:l,zip:c})]}),(0,t.jsx)(w,{viewport:"desktop"})]}),(0,t.jsxs)("div",{className:"flex flex-col justify-between gap-5 items-center text-center md:items-start md:text-left",children:[(0,t.jsx)(j,{hourBlocks:o}),(0,t.jsx)(w,{viewport:"mobile"}),(0,t.jsx)(T,{socialLinks:s})]})]})}function g(){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.default,{src:"/images/medal-honor-footer-logo.webp",alt:"Medal Honor Logo",width:700,height:480,className:"hidden md:block w-full h-auto object-contain",priority:!0}),(0,t.jsx)(n.default,{src:"/images/medal-honor-footer-logo.webp",alt:"Medal Honor Logo",width:700,height:480,className:"block md:hidden max-w-[150px] w-full h-auto object-contain",priority:!0})]})}function y({address1:e,address2:n,addressOnGoogleMapUrl:a,city:i,phone:o,state:r,zip:s}
1){return(0,t.jsxs)("div",{className:p,children:[(0,t.jsx)("div",{className:f,children:(0,t.jsxs)("a",{href:a,className:h,children:[e,n?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("br",{}),n]}):null,(0,t.jsx)("br",{}),i,", ",r," ",s]})}),(0,t.jsx)("div",{className:f,children:(0,t.jsx)("span",{className:m,children:o})})]})}function w({viewport:e}){return(0,t.jsx)("div",{className:"desktop"===e?"hidden md:block":"block md:hidden w-full",children:(0,t.jsx)(c,{})})}function j({hourBlocks:e}){return(0,t.jsx)("div",{className:p,children:e.map(e=>(0,t.jsx)(k,{hourBlock:e},e.hourBlockTitle))})}function k({hourBlock:e}){return(0,t.jsxs)("div",{className:f,children:[(0,t.jsx)("span",{className:h,children:e.hourBlockTitle}),e.details.map((e,n)=>(0,t.jsx)(N,{detail:e},`${e.detail}_${n}`))]})}function N({detail:e}){return(0,t.jsx)("span",{className:m,children:e.detail})}function T({socialLinks:e}){return(0,t.jsx)("div",{className:"flex gap-5 justify-center md:justify-start",children:e.map(e=>(0,t.jsx)(E,{socialLink:e},e.link))})}function E({socialLink:e}){let n=d[e.icon];return n?(0,t.jsx)(a.default,{"aria-label":e.name,"data-title":"Footer_Social","data-text":e.name,href:e.link,className:"w-[22px] h-[22px] text-navy hover:text-navy/70 transition-colors",children:(0,t.jsx)(n,{className:"w-[22px] h-[22px]"})}):null}function S({accordions:e}){return(0,t.jsx)(u.Accordion,{className:"font-display text-2xl font-normal leading-[0.9] md:text-xl",children:e.map((e,n)=>(0,t.jsx)(O,{accordion:e,itemIndex:n},e.label))})}function O({accordion:e,itemIndex:n}){return(0,t.jsx)(u.Accordion.Item,{itemIndex:n,title:e.label,children:(0,t.jsx)(u.Accordion.Body,{children:(0,t.jsx)(C,{links:e.links})})})}function C({links:e}){return(0,t.jsx)("div",{className:"flex flex-col gap-5",children:e.map(e=>(0,t.jsx)(A,{cta:e},e.label))})}function A({cta:e}){return(0,t.jsx)(a.default,{"data-title":"Footer_Accordion","data-text":e.label,href:e.link,children:(0,t.jsx)("span",{className:"font-display text-2xl font-normal leading-[0.9] text-navy md:text-xl",children:e.label})})}function P({copyright:e,links:n}){return(0,t.jsxs)("div",{className:"flex flex-col items-center gap-6 md:flex-row md:justify-between md:gap-0",children:[(0,t.jsx)("p",{className:"font-body text-xs font-medium leading-6 text-navy opacity-80 text-center md:text-left",children:e}),(0,t.jsx)("div",{className:"flex items-center",children:n.map(e=>(0,t.jsx)(F,{link:e},e.label))})]})}function F({link:e}){return(0,t.jsx)(a.default,{"data-title":"Footer_Links","data-text":e.label,href:e.link,className:"font-body text-xs font-medium leading-6 text-navy opacity-80 hover:opacity-100 transition-opacity px-3 border-r border-navy last:border-r-0 last:pr-0 first:pl-0",children:e.label})}e.s(["Footer",0,v,"default",0,v],6228)},52623,e=>{"use strict";var t=e.i(43476),n=e.i(71645),a=e.i(18566);let i=["promocode","promo","package"];function o(){let e=(0,a.usePathname)(),t=(0,a.useSearchParams)();return(0,n.useEffect)(()=>{let e=window.accesso;if(!e)return;e.options.search=window.location.search,e.reinitializeHooks();let n=document.querySelectorAll("[data-accesso-launch]"),a=new Set;n.forEach(e=>{let t=e.getAttribute("data-accesso-launch");t&&a.add(`[data-accesso-launch="${t}"]`)}),a.forEach(t=>e.attachListener(t)),i.some(e=>null!==t.get(e))&&n.length>0&&e.overlay.open({preventDefault:()=>{},target:n[0]})},[e,t]),null}e.s(["default",0,function(){return(0,t.jsx)(n.Suspense,{fallback:null,children:(0,t.jsx)(o,{})})}])},92329,e=>{"use strict";var t=e.i(43476),n=e.i(3303),a=e.i(18566),i=e.i(82624);e.s(["default",0,function(){return(0,a.usePathname)().startsWith("/slice-simulator")||!(0,i.isThirdPartyIntegrationEnabled)()?null:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.default,{src:"https://web.cmp.usercentrics.eu/modules/autoblocker.js",strategy:"beforeInteractive"}),(0,t.jsx)(n.default,{id:"usercentrics-cmp",src:"https://web.cmp.usercentrics.eu/ui/loader.js","data-settings-id":"V6SQvPJpxtV7Eg",strategy:"beforeInteractive"})]})}])},67510,e=>{"use strict";var t=e.i(43476),n=e.i(71645),a=e.i(69620),i=e.i(37715);let o=function({isOpen:e,onClose:o,children:r,className:s,overlayClassName:l,closeButtonClassName:c,showCloseButton:u=!0}){let d=(0,n.useRef)(null);return((0,n.useEffect)(()=>
1{if(e)return document.body.style.overflow="hidden",()=>{document.body.style.overflow=""}},[e]),(0,n.useEffect)(()=>{if(!e)return;let t=e=>{"Escape"===e.key&&o()};return document.addEventListener("keydown",t),()=>{document.removeEventListener("keydown",t)}},[e,o]),e)?(0,t.jsx)("div",{className:(0,i.cn)("fixed inset-0 z-50","flex items-center justify-center","bg-black/70 backdrop-blur-sm","p-4","animate-in fade-in duration-200",l),onClick:e=>{e.target===e.currentTarget&&o()},role:"dialog","aria-modal":"true",children:(0,t.jsxs)("div",{ref:d,className:(0,i.cn)("relative w-full max-w-2xl max-h-[90vh]","bg-white rounded-lg shadow-2xl","overflow-y-auto","animate-in zoom-in-95 duration-200",s),children:[u&&(0,t.jsx)("button",{onClick:o,className:(0,i.cn)("absolute top-4 right-4 z-10","p-2 rounded-full","bg-white/90 hover:bg-white","text-navy hover:text-navy/70","transition-colors","shadow-md hover:shadow-lg",c),"aria-label":"Close modal",children:(0,t.jsx)(a.IoClose,{className:"size-6"})}),r]})}):null};function r({modalId:e,children:a,className:i,overlayClassName:s,showCloseButton:l=!0}
1){let[c,u]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{let t=t=>{t.detail.modalId===e&&u(!0)},n=t=>{t.detail.modalId===e&&u(!1)};return document.addEventListener("openModal",t),document.addEventListener("closeModal",n),()=>{document.removeEventListener("openModal",t),document.removeEventListener("closeModal",n)}},[e]),(0,t.jsx)(o,{isOpen:c,onClose:()=>u(!1),className:i,overlayClassName:s,showCloseButton:l,children:a})}e.s(["GlobalModal",0,r,"default",0,r],67510)},71481,e=>{"use strict";var t=e.i(43476),n=e.i(82624);function a(){return(0,t.jsx)("div",{className:"w-full min-h-[600px] p-4",children:(0,n.isThirdPartyIntegrationEnabled)()?(0,t.jsx)("iframe",{src:"https://give.mohmuseum.org/give/584530/#!/donation/checkout?eg=true&egp=do&renderedAs=inline",className:"w-full h-[600px] border-0 rounded",allow:"payment",allowFullScreen:!0,title:"Donation Form",name:"donation-iframe"}):(0,t.jsx)("p",{children:"Donation checkout is disabled in development."})})}e.s(["DonationModal",0,a,"default",0,a])},97126,e=>{"use strict";var t=["input:not([inert]):not([inert] *)","select:not([inert]):not([inert] *)","textarea:not([inert]):not([inert] *)","a[href]:not([inert]):not([inert] *)","area[href]:not([inert]):not([inert] *)","button:not([inert]):not([inert] *)","[tabindex]:not(slot):not([inert]):not([inert] *)","audio[controls]:not([inert]):not([inert] *)","video[controls]:not([inert]):not([inert] *)",'[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)',"details>summary:first-of-type:not([inert]):not([inert] *)","details:not([inert]):not([inert] *)"],n=t.join(","),a="u"<typeof Element,i=a?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,o=!a&&Element.prototype.getRootNode?function(e){var t;return null==e||null==(t=e.getRootNode)?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},r=function(e,t){void 0===t&&(t=!0);var n,a=null==e||null==(n=e.getAttribute)?void 0:n.call(e,"inert");return""===a||"true"===a||t&&e&&("function"==typeof e.closest?e.closest("[inert]"):r(e.parentNode))},s=function(e){var t,n=null==e||null==(t=e.getAttribute)?void 0:t.call(e,"contenteditable");return""===n||"true"===n},l=function(e,t,a){if(r(e))return[];var o=Array.prototype.slice.apply(e.querySelectorAll(n));return t&&i.call(e,n)&&o.unshift(e),o=o.filter(a)},c=function(e,t,a){for(var o=[],s=Array.from(e);s.length;){var l=s.shift();if(!r(l,!1))if("SLOT"===l.tagName){var u=l.assignedElements(),d=c(u.length?u:l.children,!0,a);a.flatten?o.push.apply(o,d):o.push({scopeParent:l,candidates:d})}else{i.call(l,n)&&a.filter(l)&&(t||!e.includes(l))&&o.push(l);var p=l.shadowRoot||"function"==typeof a.getShadowRoot&&a.getShadowRoot(l),f=!r(p,!1)&&(!a.shadowRootFilter||a.shadowRootFilter(l));if(p&&f){var m=c(!0===p?l.children:p.children,!0,a);a.flatten?o.push.apply(o,m):o.push({scopeParent:l,candidates:m})}else s.unshift.apply(s,l.children)}}return o},u=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},d=function(e){if(!e)throw Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||s(e))&&!u(e)?0:e.tabIndex},p=function(e,t){var n=d(e);return n<0&&t&&!u(e)?0:n},f=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},m=function(e){return"INPUT"===e.tagName},h=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]},v=function(e){if(!e.name)return!0;var t,n=e.form||o(e),a=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("u">typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=a(window.CSS.escape(e.name));else try{t=a(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var i=h(t,e.form);return!i||i===e},b=function(e){return m(e)&&"radio"===e.type&&!v(e)},x=function(e){var t,n,a,i,r,s,l,c=e&&o(e),u=null==(t=c)?void 0:t.host,d=!1;if(c&&c!==e)for(d=!!(null!=(n=u)&&null!=(a=n.ownerDocument)&&a.contains(u)||null!=e&&null!=(i=e.ownerDocument)&&i.contains(e));!d&&u;)d=!!(null!=(s=u=null==(r=c=o(u))?void 0:r.host)&&null!=(l=s.ownerDocument)&&l.contains(u));return d}
1,g=function(e){var t=e.getBoundingClientRect(),n=t.width,a=t.height;return 0===n&&0===a},y=function(e,t){var n=t.displayCheck,a=t.getShadowRoot;if("full-native"===n&&"checkVisibility"in e)return!e.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});var r=getComputedStyle(e).visibility;if("hidden"===r||"collapse"===r)return!0;var s=i.call(e,"details>summary:first-of-type")?e.parentElement:e;if(i.call(s,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"full-native"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return g(e)}else{if("function"==typeof a){for(var l=e;e;){var c=e.parentElement,u=o(e);if(c&&!c.shadowRoot&&!0===a(c))return g(e);e=e.assignedSlot?e.assignedSlot:c||u===e.ownerDocument?c:u.host}e=l}if(x(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},w=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var a=t.children.item(n);if("LEGEND"===a.tagName)return!!i.call(t,"fieldset[disabled] *")||!a.contains(e)}return!0}t=t.parentElement}return!1},j=function(e,t){return!(t.disabled||m(t)&&"hidden"===t.type||y(t,e)||"DETAILS"===t.tagName&&Array.prototype.slice.apply(t.children).some(function(e){return"SUMMARY"===e.tagName})||w(t))},k=function(e,t){return!(b(t)||0>d(t))&&!!j(e,t)},N=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!isNaN(t)||!!(t>=0)},T=function(e){var t=[],n=[];return e.forEach(function(e,a){var i=!!e.scopeParent,o=i?e.scopeParent:e,r=p(o,i),s=i?T(e.candidates):o;0===r?i?t.push.apply(t,s):t.push(o):n.push({documentOrder:a,tabIndex:r,item:e,isScope:i,content:s})}),n.sort(f).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(t)},E=t.concat("iframe:not([inert]):not([inert] *)").join(",");e.s(["focusable",0,function(e,t){return(t=t||{}).getShadowRoot?c([e],t.includeContainer,{filter:j.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):l(e,t.includeContainer,j.bind(null,t))},"getTabIndex",0,d,"isFocusable",0,function(e,t){if(t=t||{},!e)throw Error("No node provided");return!1!==i.call(e,E)&&j(t,e)},"isTabbable",0,function(e,t){if(t=t||{},!e)throw Error("No node provided");return!1!==i.call(e,n)&&k(t,e)},"tabbable",0,function(e,t){return T((t=t||{}).getShadowRoot?c([e],t.includeContainer,{filter:k.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:N}):l(e,t.includeContainer,k.bind(null,t)))}])},22369,e=>{"use strict";var t=e.i(97126);function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n<t;n++)a[n]=e[n];return a}function a(e,t){var n="u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=r(e))||t){n&&(e=n);var a=0,i=function(){};return{s:i,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach(function(t){var a,i;a=t,i=n[t],(a=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t);if("object"!=typeof a)return a;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(a))in e?Object.defineProperty(e,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[a]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEac
1h(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function r(e,t){if(e){if("string"==typeof e)return n(e,t);var a=({}).toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?n(e,t):void 0}}var s={getActiveTrap:function(e){return(null==e?void 0:e.length)>0?e[e.length-1]:null},activateTrap:function(e,t){t!==s.getActiveTrap(e)&&s.pauseTrap(e);var n=e.indexOf(t);-1===n||e.splice(n,1),e.push(t)},deactivateTrap:function(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1),s.unpauseTrap(e)},pauseTrap:function(e){var t=s.getActiveTrap(e);null==t||t._setPausedState(!0)},unpauseTrap:function(e){var t=s.getActiveTrap(e);t&&!t._isManuallyPaused()&&t._setPausedState(!1)}},l=function(e){return(null==e?void 0:e.key)==="Tab"||(null==e?void 0:e.keyCode)===9},c=function(e){return l(e)&&!e.shiftKey},u=function(e){return l(e)&&e.shiftKey},d=function(e){return setTimeout(e,0)},p=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];return"function"==typeof e?e.apply(void 0,n):e},f=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},m=[];e.s(["createFocusTrap",0,function(e,i){var h,v=(null==i?void 0:i.document)||document,b=(null==i?void 0:i.trapStack)||m,x=o({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,delayReturnFocus:!0,isolateSubtrees:!1,isKeyForward:c,isKeyBackward:u},i),g={containers:[],containerGroups:[],tabbableGroups:[],adjacentElements:new Set,alreadySilent:new Set,nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},y=function(e,t,n){return e&&void 0!==e[t]?e[t]:x[n||t]},w=function(e,t){var n="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return g.containerGroups.findIndex(function(t){var a=t.container,i=t.tabbableNodes;return a.contains(e)||(null==n?void 0:n.includes(a))||i.find(function(t){return t===e})})},j=function(e){var t,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=a.hasFallback,o=a.params,s=x[e];if("function"==typeof s&&(s=s.apply(void 0,function(e){if(Array.isArray(e))return n(e)}(t=void 0===o?[]:o)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||r(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())),!0===s&&(s=void 0),!s){if(void 0===s||!1===s)return s;throw Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var l=s;if("string"==typeof s){try{l=v.querySelector(s)}catch(t){throw Error("`".concat(e,'` appears to be an invalid selector; error="').concat(t.message,'"'))}if(!l&&!(void 0!==i&&i))throw Error("`".concat(e,"` as selector refers to no known node"))}return l},k=function(e){var t=e.activeElement;return t?t.shadowRoot&&null!==t.shadowRoot.activeElement?k(t.shadowRoot):t:null},N=function(){var e=j("initialFocus",{hasFallback:!0});if(!1===e)return!1;if(void 0===e||e&&!(0,t.isFocusable)(e,x.tabbableOptions)){var n=k(v);if(w(n)>=0)e=n;else{var a=g.tabbableGroups[0];e=a&&a.firstTabbableNode||j("fallbackFocus")}}else null===e&&(e=j("fallbackFocus"));if(!e)throw Error("Your focus-trap needs to have at least one focusable element");return e},T=function(){if(g.containerGroups=g.containers.map(function(e){var n=(0,t.tabbable)(e,x.tabbableOptions),a=(0,t.focusable)(e,x.tabbableOptions),i=n.length>0?n[0]:void 0,o=n.length>0?n[n.length-1]:void 0,r=a.find(function(e){return(0,t.isTabbable)(e)}),s=a.slice().reverse().find(function(e){return(0,t.isTabbable)(e)}),l=!!n.find(function(e){return(0,t.getTabIndex)(e)>0});return{container:e,tabbableNodes:n,focusableNodes:a,posTabIndexesFound:l,firstTabbableNode:i,lastTabbableNode:o,firstDomTabbableNode:r,lastDomTabbableNode:s,nextTabbableNode:function(e){var i=!(arguments.length>1)||void 0===arguments[1]||arguments[1],o=n.indexOf(e);return o<0?i?a.slice(a.indexOf(e)+1).find(function(e){return(0,t.isTabbable)(e)}):a.slice(0,a.indexOf(e)).reverse().find(function(e){return(0,t.isTabbable)(e)}):n[o+(i?1:-1)]}}}),g.tabbableGroups=g.containerGroups.filter(function(e){return e.tabbableNodes.length>0}),g.tabbableGroups.length<=0&&!j("fallbackFocus"))throw Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(g.containerGroups.find(function(e){return e.posTabIndexesFound})&&g.containerGroups.length>1)throw Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},E=function(e){if(!1!==e&&e!==k(document)){if(!e||!e.focus)return void E(N());e.focus({preventScroll:!!x.preventScroll}),g.mostRecentlyFocusedNode=e,e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select&&e.select()}},S=function(e){var t=j("setReturnFocus",{params:[e]});return t||!1!==t&&e},O=function(e){var n=e.target,a=e.event,i=e.isBackward,o=void 0!==i&&i;n=n||f(a),T();var r=null;if(g.tabbableGroups.length>0){var s=w(n,a),c=s>=0?g.containerGroups[s]:void 0;if(s<0)r=o?g.tabbableGroups[g.tabbableGroups.length-1].lastTabbableNode:g.tabbableGroups[0].firstTabbableNode;else if(o){var u=g.tabbableGroups.findIndex(function(e){var t=e.firstTabbableNode;return n===t});if(u<0&&(c.container===n||(0,t.isFocusable)(n,x.tabbableOptions)&&!(0,t.isTabbable)(n,x.tabbableOptions)&&!c.nextTabbableNode(n,!1))&&(u=s),u>=0){var d=0===u?g.tabbableGroups.length-1:u-1,p=g.tabbableGroups[d];r=(0,t.getTabIndex)(n)>=0?p.lastTabbableNode:p.lastDomTabbableNode}else l(a)||(r=c.nextTabbableNode(n,!1))}else{var m=g.tabbableGroups.findIndex(function(e){var t=e.lastTabbableNode;return n===t});if(m<0&&(c.container===n||(0,t.isFocusable)(n,x.tabbableOptions)&&!(0,t.isTabbable)(n,x.tabbableOptions)&&!c.nextTabbableNode(n))&&(m=s),m>=0){var h=m===g.tabbableGroups.length-1?0:m+1,v=g.tabbableGroups[h];r=(0,t.getTabIndex)(n)>=0?v.firstTabbableNode:v.firstDomTabbableNode}else l(a)||(r=c.nextTabbableNode(n))}}else r=j("fallbackFocus");return r},C=function(e){w(f(e),e)>=0||(p(x.clickOutsideDeactivates,e)?h.deactivate({returnFocus:x.returnFocusOnDeactivate}):p(x.allowOutsideClick,e)||e.preventDefault())},A=function(e){var n=f(e),a=w(n,e)>=0;if(a||n instanceof Document)a&&(g.mostRecentlyFocusedNode=n);else{e.stopImmediatePropagation();var i,o=!0;if(g.mostRecentlyFocusedNode)if((0,t.getTabIndex)(g.mostRecentlyFocusedNode)>0){var r=w(g.mostRecentlyFocusedNode),s=g.containerGroups[r].tabbableNodes;if(s.length>0){var l=s.findIndex(function(e){return e===g.mostRecentlyFocusedNode});l>=0&&(x.isKeyForward(g.recentNavEvent)?l+1<s.length&&(i=s[l+1],o=!1):l-1>=0&&(i=s[l-1],o=!1))}}else g.containerGroups.some(function(e){return e.tabbableNodes.some(function(e){return(0,t.getTabIndex)(e)>0})})||(o=!1);else o=!1;o&&(i=O({target:g.mostRecentlyFocusedNode,isBackward:x.isKeyBackward(g.recentNavEvent)})),i?E(i):E(g.mostRecentlyFocusedNode||N())}
1g.recentNavEvent=void 0},P=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];g.recentNavEvent=e;var n=O({event:e,isBackward:t});n&&(l(e)&&e.preventDefault(),E(n))},F=function(e){(x.isKeyForward(e)||x.isKeyBackward(e))&&P(e,x.isKeyBackward(e))},D=function(e){((null==e?void 0:e.key)==="Escape"||(null==e?void 0:e.key)==="Esc"||(null==e?void 0:e.keyCode)===27)&&!1!==p(x.escapeDeactivates,e)&&(e.preventDefault(),h.deactivate())},I=function(e){w(f(e),e)>=0||p(x.clickOutsideDeactivates,e)||p(x.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},L=function(){var e;if(g.active)return s.activateTrap(b,h),x.delayInitialFocus?e=new Promise(function(e){g.delayInitialFocusTimer=d(function(){E(N()),e()})}):E(N()),v.addEventListener("focusin",A,!0),v.addEventListener("mousedown",C,{capture:!0,passive:!1}),v.addEventListener("touchstart",C,{capture:!0,passive:!1}),v.addEventListener("click",I,{capture:!0,passive:!1}),v.addEventListener("keydown",F,{capture:!0,passive:!1}),v.addEventListener("keydown",D),e},R=function(e){g.active&&!g.paused&&h._setSubtreeIsolation(!1),g.adjacentElements.clear(),g.alreadySilent.clear();var t,n=new Set,i=new Set,o=a(e);try{for(o.s();!(t=o.n()).done;){var r=t.value;n.add(r);for(var s="u">typeof ShadowRoot&&r.getRootNode()instanceof ShadowRoot,l=r;l;){n.add(l);var c=l.parentElement,u=[];c?u=c.children:!c&&s&&(u=l.getRootNode().children,c=l.getRootNode().host,s="u">typeof ShadowRoot&&c.getRootNode()instanceof ShadowRoot);var d,p=a(u);try{for(p.s();!(d=p.n()).done;){var f=d.value;i.add(f)}}catch(e){p.e(e)}finally{p.f()}l=c}}}catch(e){o.e(e)}finally{o.f()}n.forEach(function(e){i.delete(e)}),g.adjacentElements=i},_=function(){if(g.active)return v.removeEventListener("focusin",A,!0),v.removeEventListener("mousedown",C,!0),v.removeEventListener("touchstart",C,!0),v.removeEventListener("click",I,!0),v.removeEventListener("keydown",F,!0),v.removeEventListener("keydown",D),h},M="u">typeof window&&"MutationObserver"in window?new MutationObserver(function(e){var t=g.mostRecentlyFocusedNode;t&&e.some(function(e){return Array.from(e.removedNodes).some(function(e){return e===t||"function"==typeof e.contains&&e.contains(t)})})&&g.containers.some(function(e){return null==e?void 0:e.isConnected})&&(T(),E(N()))}):void 0,B=function(){M&&(M.disconnect(),g.active&&!g.paused&&g.containers.map(function(e){M.observe(e,{subtree:!0,childList:!0})}))};return Object.defineProperties(h={get active(){return g.active},get paused(){return g.paused},activate:function(e){if(g.active)return this;var t,n,a=y(e,"onActivate"),i=y(e,"onPostActivate"),o=y(e,"checkCanFocusTrap"),r=s.getActiveTrap(b),l=!1;r&&!r.paused&&(null==(t=r._setSubtreeIsolation)||t.call(r,!1),l=!0);try{o||T(),g.active=!0,g.paused=!1,g.nodeFocusedBeforeActivation=k(v),null==a||a({trap:h});var c=function(){o&&T();var e=function(){h._setSubtreeIsolation(!0),B(),null==i||i({trap:h})},t=L();t?t.then(e):e()};if(o)return o(g.containers.concat()).then(c,c),this;c()}catch(e){throw r===s.getActiveTrap(b)&&l&&(null==(n=r._setSubtreeIsolation)||n.call(r,!0)),e}return this},deactivate:function(e){if(!g.active)return this;var t=o({onDeactivate:x.onDeactivate,onPostDeactivate:x.onPostDeactivate,checkCanReturnFocus:x.checkCanReturnFocus},e);clearTimeout(g.delayInitialFocusTimer),g.delayInitialFocusTimer=void 0,g.paused||h._setSubtreeIsolation(!1),g.alreadySilent.clear(),_(),g.active=!1,g.paused=!1,B(),s.deactivateTrap(b,h);var n=y(t,"onDeactivate"),a=y(t,"onPostDeactivate"),i=y(t,"checkCanReturnFocus"),r=y(t,"delayReturnFocus"),l=y(t,"returnFocus","returnFocusOnDeactivate");null==n||n({trap:h});var c=function(){l&&E(S(g.nodeFocusedBeforeActivation)),null==a||a({trap:h})},u=function(){r&&l?d(c):c()};return l&&i?i(S(g.nodeFocusedBeforeActivation)).then(u,u):u(),this},pause:function(e){return g.active?(g.manuallyPaused=!0,this._setPausedState(!0,e)):this},unpause:function(e){return g.active?(g.manuallyPaused=!1,b[b.length-1]!==this)?this:this._setPausedState(!1,e):this},updateContainerElements:function(e){return g.containers=[].concat(e).filter(
1Boolean).map(function(e){return"string"==typeof e?v.querySelector(e):e}),x.isolateSubtrees&&R(g.containers),g.active&&(T(),g.paused||h._setSubtreeIsolation(!0)),B(),this}},{_isManuallyPaused:{value:function(){return g.manuallyPaused}},_setPausedState:{value:function(e,t){if(g.paused===e)return this;if(g.paused=e,e){var n=y(t,"onPause"),a=y(t,"onPostPause");null==n||n({trap:h}),_(),h._setSubtreeIsolation(!1),B(),null==a||a({trap:h})}else{var i,o,r=y(t,"onUnpause"),s=y(t,"onPostUnpause");null==r||r({trap:h}),T(),i=function(){h._setSubtreeIsolation(!0),B(),null==s||s({trap:h})},(o=L())?o.then(i):i()}return this}},_setSubtreeIsolation:{value:function(e){x.isolateSubtrees&&g.adjacentElements.forEach(function(t){var n;e?"aria-hidden"===x.isolateSubtrees?(("true"===t.ariaHidden||(null==(n=t.getAttribute("aria-hidden"))?void 0:n.toLowerCase())==="true")&&g.alreadySilent.add(t),t.setAttribute("aria-hidden","true")):((t.inert||t.hasAttribute("inert"))&&g.alreadySilent.add(t),t.setAttribute("inert",!0)):g.alreadySilent.has(t)||("aria-hidden"===x.isolateSubtrees?t.removeAttribute("aria-hidden"):t.removeAttribute("inert"))})}}}),h.updateContainerElements(e),h}])},40535,(e,t,n)=>{"use strict";function a(e){return(a="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 i(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(i=function(){return!!e})()}function o(e){return(o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function s(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=a(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==a(t)?t:t+""}var l,c,u=e.r(71645),d=e.r(22369).createFocusTrap,p=e.r(97126).isFocusable,f=parseInt(null!=(l=null==(c=/^(\d+)\./.exec(u.version))?void 0:c[1])?l:0,10),m=function(e){var t;function n(e){if(!(this instanceof n))throw TypeError("Cannot call a class as a function");t=n,r=[e],t=o(t),l=d=function(e,t){if(t&&("object"==a(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");var n=e;if(void 0===n)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(this,i()?Reflect.construct(t,r||[],o(this).constructor):t.apply(this,r)),c="getNodeForOption",u=function(e){var t,n,a=null!=(t=this.internalOptions[e])?t:this.originalOptions[e];if("function"==typeof a){for(var i=arguments.length,o=Array(i>1?i-1:0),r=1;r<i;r++)o[r-1]=arguments[r];a=a.apply(void 0,o)}if(!0===a&&(a=void 0),!a){if(void 0===a||!1===a)return a;throw Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var s=a;if("string"==typeof a&&!(s=null==(n=this.getDocument())?void 0:n.querySelector(a)))throw Error("`".concat(e,"` as selector refers to no known node"));return s},(c=s(c))in l?Object.defineProperty(l,c,{value:u,enumerable:!0,configurable:!0,writable:!0}):l[c]=u,d.handleDeactivate=d.handleDeactivate.bind(d),d.handlePostDeactivate=d.handlePostDeactivate.bind(d),d.handleClickOutsideDeactivates=d.handleClickOutsideDeactivates.bind(d),d.internalOptions={returnFocusOnDeactivate:!1,checkCanReturnFocus:null,onDeactivate:d.handleDeactivate,onPostDeactivate:d.handlePostDeactivate,clickOutsideDeactivates:d.handleClickOutsideDeactivates},d.originalOptions={returnFocusOnDeactivate:!0,onDeactivate:null,onPostDeactivate:null,checkCanReturnFocus:null,clickOutsideDeactivates:!1};var t,r,l,c,u,d,p=e.focusTrapOptions;for(var f in p)if(Object.prototype.hasOwnProperty.call(p,f)){if("returnFocusOnDeactivate"===f||"onDeactivate"===f||"onPostDeactivate"===f||"checkCanReturnFocus"===f||"clickOutsideDeactivates"===f){d.originalOptions[f]=p[f];continue}d.internalOptions[f]=p[f]}return d.outsideClick=null,d.focusTrapElements=e.containerElements||[],d.updatePreviousElement(),d}if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&r(n,e),t=[{key:"getDocument",value:function(){return this.props.focusTrapOptions.document||("u">typeof document?document:void 0)}},{key:"getReturnFocusNode",value:function(){var e=this.getNodeForOption("setReturnFocus",this.previouslyFocusedElement);return e||!1!==e&&this.previouslyFocusedElement}},{key:"updatePreviousElement",value:function(){var e=this.getDocument();e&&(this.previouslyFocusedElement=e.activeElement)}},{key:"deactivateTrap",value:function(){this.focusTrap&&this.focusTrap.active&&this.focusTrap.deactivate({returnFocus:!1,checkCanReturnFocus:null,onDeactivate:this.originalOptions.onDeactivate})}},{key:"handleClickOutsideDeactivates",value:function(e){var t="function"==typeof this.originalOptions.clickOutsideDeactivates?this.originalOptions.clickOutsideDeactivates.call(null,e):this.originalOptions.clickOutsideDeactivates;return t&&(this.outsideClick={target:e.target,allowDeactivation:t}),t}},{key:"handleDeactivate",value:function(){this.originalOptions.onDeactivate&&this.originalOptions.onDeactivate.call(null),this.deactivateTrap()}},{key:"handlePostDeactivate",value:function(){var e=this,t=function(){var t=e.getReturnFocusNode(),n=!!(e.originalOptions.returnFocusOnDeactivate&&null!=t&&t.focus&&(!e.outsideClick||e.outsideClick.allowDeactivation&&!p(e.outsideClick.target,e.internalOptions.tabbableOptions))),a=e.internalOptions.preventScroll;
1n&&t.focus({preventScroll:void 0!==a&&a}),e.originalOptions.onPostDeactivate&&e.originalOptions.onPostDeactivate.call(null),e.outsideClick=null};this.originalOptions.checkCanReturnFocus?this.originalOptions.checkCanReturnFocus.call(null,this.getReturnFocusNode()).then(t,t):t()}},{key:"setupFocusTrap",value:function(){this.focusTrap?this.props.active&&!this.focusTrap.active&&(this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause()):this.focusTrapElements.some(Boolean)&&(this.focusTrap=this.props._createFocusTrap(this.focusTrapElements,this.internalOptions),this.props.active&&this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause())}},{key:"componentDidMount",value:function(){this.props.active&&this.setupFocusTrap()}},{key:"componentDidUpdate",value:function(e){if(this.focusTrap){e.containerElements!==this.props.containerElements&&this.focusTrap.updateContainerElements(this.props.containerElements);var t=!e.active&&this.props.active,n=e.active&&!this.props.active,a=!e.paused&&this.props.paused,i=e.paused&&!this.props.paused;if(t&&(this.updatePreviousElement(),this.focusTrap.activate()),n)return void this.deactivateTrap();a&&this.focusTrap.pause(),i&&this.focusTrap.unpause()}else e.containerElements!==this.props.containerElements&&(this.focusTrapElements=this.props.containerElements),this.props.active&&(this.updatePreviousElement(),this.setupFocusTrap())}},{key:"componentWillUnmount",value:function(){this.deactivateTrap()}},{key:"render",value:function(){var e=this,t=this.props.children?u.Children.only(this.props.children):void 0;if(t){if(t.type&&t.type===u.Fragment)throw Error("A focus-trap cannot use a Fragment as its child container. Try replacing it with a <div> element.");return u.cloneElement(t,{ref:function(n){var a=e.props.containerElements;t&&(f>=19?"function"==typeof t.props.ref?t.props.ref(n):t.props.ref&&(t.props.ref.current=n):"function"==typeof t.ref?t.ref(n):t.ref&&(t.ref.current=n)),e.focusTrapElements=a||[n]}})}return null}}],function(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,s(a.key),a)}}(n.prototype,t),Object.defineProperty(n,"prototype",{writable:!1}),n}(u.Component);m.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:d},t.exports=m,t.exports.FocusTrap=m},64295,e=>{"use strict";var t=e.i(43476),n=e.i(71645),a=e.i(18566),i=e.i(69620),o=e.i(40535),r=e.i(37715),s=e.i(84600),l=e.i(82624);let c=function(){let e="https://www.zeffy.com/embed/ticketing/national-medal-of-honor-museum-foundations-memberships?modal=true".trim();if(e)try{let t=new URL(e);t.searchParams.delete("modal");let n=t.searchParams.toString();return t.origin+t.pathname+(n?"?"+n:"")+t.hash}catch{return}}(),u="data-membership-modal-inerted";e.s(["default",0,function(){let[e,d]=(0,n.useState)(!1),p=(0,n.useRef)(null),f=(0,n.useRef)(null),m=(0,n.useRef)(""),h=(0,a.usePathname)(),[v,b]=(0,n.useState)(h),x=(0,n.useCallback)(()=>d(!1),[]);return(v!==h&&(b(h),d(!1)),(0,n.useEffect)(()=>{let e=e=>{e.detail.modalId===s.MODAL_IDS.MEMBERSHIP&&d(!0)},t=e=>{e.detail.modalId===s.MODAL_IDS.MEMBERSHIP&&d(!1)};return document.addEventListener("openModal",e),document.addEventListener("closeModal",t),()=>{document.removeEventListener("openModal",e),document.removeEventListener("closeModal",t)}},[]),(0,n.useEffect)(()=>{if(!e)return;let t=e=>{"Escape"===e.key&&x()};return document.addEventListener("keydown",t),()=>document.removeEventListener("keydown",t)},[e,x]),(0,n.useEffect)(()=>{if(!e)return;m.current=document.body.style.overflow,document.body.style.overflow="hidden";let t=[];for(let e of Array.from(document.body.children))!(e.hasAttribute("data-membership-modal")||e.querySelector("[data-membership-modal]"))&&(e.hasAttribute("inert")||(e.setAttribute("inert",""),e.setAttribute(u,""),t.push(e)));return()=>{document.body.style.overflow=m.current,t.forEach(e=>{e.hasAttribute(u)&&(e.removeAttribute("inert"),e.removeAttribute(u))})}},[e]),c)?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{"data-membership-modal":!0,className:(0,r.cn)("fixed inset-0 z-[101] bg-black/50 transition-opacity duration-300",e?"opacity-100 pointer-events-auto":"opacity-0 pointer-events-none"),onClick:x,"aria-hidden":!e}),(0,t.jsx)(o.FocusTrap,{active:e,focusTrapOptions:{initialFocus:()=>p.current??!1,fallbackFocus:()=>f.current,allowOutsideClick:!0,escapeDeactivates:!1,returnFocusOnDeactivate:!0},children:(0,t.jsx)("div",{ref:f,"data-membership-modal":!0,role:"dialog","aria-modal":e,"aria-hidden":!e,inert:!e,"aria-label":"Membership Form",tabIndex:-1,
1className:(0,r.cn)("fixed inset-0 z-[101] flex items-center justify-center p-4 pointer-events-none transition-opacity duration-300",e?"opacity-100":"opacity-0 invisible"),children:(0,t.jsxs)("div",{className:(0,r.cn)("relative w-full max-w-2xl bg-white rounded-lg shadow-xl max-h-[90vh] overflow-y-auto",e?"pointer-events-auto":"pointer-events-none"),children:[(0,t.jsx)("button",{ref:p,onClick:x,className:"absolute top-3 right-3 z-10 p-1 rounded-full text-white hover:bg-white/20 transition-colors","aria-label":"Close membership form",tabIndex:e?0:-1,children:(0,t.jsx)(i.IoClose,{className:"w-6 h-6"})}),(0,l.isThirdPartyIntegrationEnabled)()?(0,t.jsx)("iframe",{src:c,className:"w-full h-[80vh] border-0",allow:"payment",allowFullScreen:!0,title:"Membership Form",name:"membership-iframe",tabIndex:e?0:-1,"aria-hidden":!e}):(0,t.jsx)("p",{className:"p-8",children:"Membership checkout is disabled in development."})]})})})]}):null}])}]);

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.