import{z as m,aA as k,_ as b,i as f,Z as v,av as h,o as c,c as _,a as o,b as n,w as u,j as t,F as g,l as w,t as x,d as y,e as M,p as N,f as C}from"./entry.DlRW3iOL.js";import{_ as S,a as E}from"./exit-white.DOynFvWv.js";import B from"./TheNewsletterFormMobile.kA-aOBBg.js";import I from"./ModalNavSearch.CfkamqcF.js";const s=m(!1);function D(){s.value=!0}function T(){document.getElementById("modal_nav_dk_wr").style.backgroundColor="rgba(0, 0, 0, 0)",document.getElementById("modal_content_wr").style.right="-400px",setTimeout(()=>{s.value=!1},500)}function F(){return{dkNavModalShowing:k(s),showModal:D,hideModal:T}}const V=l=>(N("data-v-5e0f7c27"),l=l(),C(),l),j={id:"modal_nav_dk_wr"},O={class:"hd_wr"},z=V(()=>o("img",{src:E,class:"wm"},null,-1)),A={class:"bd_wr"},L={class:"link"},W={class:"nl"},P={__name:"ModalNavDesktop",emits:["exit"],setup(l,{emit:Z}){const{hideModal:e}=F();f(()=>{document.body.style.overflow="hidden",setTimeout(()=>{document.getElementById("modal_nav_dk_wr").style.backgroundColor="rgba(0, 0, 0, 0.5)",document.getElementById("modal_content_wr").style.right="0px"},1)}),v(()=>{document.body.style.overflow="auto"});const d=m(null),p=[{label:"About",link:"/about"},{label:"Visit",link:"/visit"},{label:"Calendar",link:"/updates"},{label:"Exhibitions",link:"/exhibitions"},{label:"Funding",link:"/funding"},{label:"Explore",link:"/explore"},{label:"Bookshop",link:"/bookshop"}];return h(d,e),($,i)=>{const r=M;return c(),_("div",j,[o("div",{ref_key:"modalWr",ref:d,id:"modal_content_wr"},[o("div",O,[n(r,{to:"/",onClick:t(e)},{default:u(()=>[z]),_:1},8,["onClick"]),o("img",{onClick:i[0]||(i[0]=(...a)=>t(e)&&t(e)(...a)),class:"exit",src:S})]),o("div",A,[o("div",null,[(c(),_(g,null,w(p,a=>n(r,{to:a.link,onClick:t(e)},{default:u(()=>[o("div",L,x(a.label),1)]),_:2},1032,["to","onClick"])),64)),n(I,{onExit:t(e)},null,8,["onExit"])]),o("div",W,[y(" Subscribe to our newlstter "),n(B)])])],512)])}}},U=b(P,[["__scopeId","data-v-5e0f7c27"]]),K=Object.freeze(Object.defineProperty({__proto__:null,default:U},Symbol.toStringTag,{value:"Module"}));export{U as M,K as a,F as u};
