(function(){const c=document.createElement("link").relList;if(c&&c.supports&&c.supports("modulepreload"))return;for(const f of document.querySelectorAll('link[rel="modulepreload"]'))u(f);new MutationObserver(f=>{for(const d of f)if(d.type==="childList")for(const h of d.addedNodes)h.tagName==="LINK"&&h.rel==="modulepreload"&&u(h)}).observe(document,{childList:!0,subtree:!0});function o(f){const d={};return f.integrity&&(d.integrity=f.integrity),f.referrerPolicy&&(d.referrerPolicy=f.referrerPolicy),f.crossOrigin==="use-credentials"?d.credentials="include":f.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function u(f){if(f.ep)return;f.ep=!0;const d=o(f);fetch(f.href,d)}})();const Pg="modulepreload",eb=function(i){return"/"+i},xh={},tb=function(c,o,u){let f=Promise.resolve();if(o&&o.length>0){let h=function(x){return Promise.all(x.map(v=>Promise.resolve(v).then(y=>({status:"fulfilled",value:y}),y=>({status:"rejected",reason:y}))))};document.getElementsByTagName("link");const p=document.querySelector("meta[property=csp-nonce]"),g=(p==null?void 0:p.nonce)||(p==null?void 0:p.getAttribute("nonce"));f=h(o.map(x=>{if(x=eb(x),x in xh)return;xh[x]=!0;const v=x.endsWith(".css"),y=v?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${x}"]${y}`))return;const z=document.createElement("link");if(z.rel=v?"stylesheet":Pg,v||(z.as="script"),z.crossOrigin="",z.href=x,g&&z.setAttribute("nonce",g),document.head.appendChild(z),v)return new Promise((w,N)=>{z.addEventListener("load",w),z.addEventListener("error",()=>N(new Error(`Unable to preload CSS for ${x}`)))})}))}function d(h){const p=new Event("vite:preloadError",{cancelable:!0});if(p.payload=h,window.dispatchEvent(p),!p.defaultPrevented)throw h}return f.then(h=>{for(const p of h||[])p.status==="rejected"&&d(p.reason);return c().catch(d)})};var Mo={exports:{}},zs={};/** * @license React * react-jsx-runtime.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var gh;function lb(){if(gh)return zs;gh=1;var i=Symbol.for("react.transitional.element"),c=Symbol.for("react.fragment");function o(u,f,d){var h=null;if(d!==void 0&&(h=""+d),f.key!==void 0&&(h=""+f.key),"key"in f){d={};for(var p in f)p!=="key"&&(d[p]=f[p])}else d=f;return f=d.ref,{$$typeof:i,type:u,key:h,ref:f!==void 0?f:null,props:d}}return zs.Fragment=c,zs.jsx=o,zs.jsxs=o,zs}var bh;function ab(){return bh||(bh=1,Mo.exports=lb()),Mo.exports}var n=ab(),ko={exports:{}},ue={};/** * @license React * react.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var vh;function nb(){if(vh)return ue;vh=1;var i=Symbol.for("react.transitional.element"),c=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),h=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),x=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),y=Symbol.for("react.activity"),z=Symbol.iterator;function w(S){return S===null||typeof S!="object"?null:(S=z&&S[z]||S["@@iterator"],typeof S=="function"?S:null)}var N={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},T=Object.assign,D={};function U(S,L,V){this.props=S,this.context=L,this.refs=D,this.updater=V||N}U.prototype.isReactComponent={},U.prototype.setState=function(S,L){if(typeof S!="object"&&typeof S!="function"&&S!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,S,L,"setState")},U.prototype.forceUpdate=function(S){this.updater.enqueueForceUpdate(this,S,"forceUpdate")};function X(){}X.prototype=U.prototype;function Z(S,L,V){this.props=S,this.context=L,this.refs=D,this.updater=V||N}var P=Z.prototype=new X;P.constructor=Z,T(P,U.prototype),P.isPureReactComponent=!0;var $=Array.isArray;function K(){}var G={H:null,A:null,T:null,S:null},ee=Object.prototype.hasOwnProperty;function se(S,L,V){var J=V.ref;return{$$typeof:i,type:S,key:L,ref:J!==void 0?J:null,props:V}}function Q(S,L){return se(S.type,L,S.props)}function ae(S){return typeof S=="object"&&S!==null&&S.$$typeof===i}function ye(S){var L={"=":"=0",":":"=2"};return"$"+S.replace(/[=:]/g,function(V){return L[V]})}var Ge=/\/+/g;function Qe(S,L){return typeof S=="object"&&S!==null&&S.key!=null?ye(""+S.key):L.toString(36)}function ce(S){switch(S.status){case"fulfilled":return S.value;case"rejected":throw S.reason;default:switch(typeof S.status=="string"?S.then(K,K):(S.status="pending",S.then(function(L){S.status==="pending"&&(S.status="fulfilled",S.value=L)},function(L){S.status==="pending"&&(S.status="rejected",S.reason=L)})),S.status){case"fulfilled":return S.value;case"rejected":throw S.reason}}throw S}function k(S,L,V,J,re){var fe=typeof S;(fe==="undefined"||fe==="boolean")&&(S=null);var oe=!1;if(S===null)oe=!0;else switch(fe){case"bigint":case"string":case"number":oe=!0;break;case"object":switch(S.$$typeof){case i:case c:oe=!0;break;case v:return oe=S._init,k(oe(S._payload),L,V,J,re)}}if(oe)return re=re(S),oe=J===""?"."+Qe(S,0):J,$(re)?(V="",oe!=null&&(V=oe.replace(Ge,"$&/")+"/"),k(re,L,V,"",function(at){return at})):re!=null&&(ae(re)&&(re=Q(re,V+(re.key==null||S&&S.key===re.key?"":(""+re.key).replace(Ge,"$&/")+"/")+oe)),L.push(re)),1;oe=0;var ze=J===""?".":J+":";if($(S))for(var Ee=0;Ee>>1,je=k[he];if(0>>1;hef(V,te))Jf(re,V)?(k[he]=re,k[J]=te,he=J):(k[he]=V,k[L]=te,he=L);else if(Jf(re,te))k[he]=re,k[J]=te,he=J;else break e}}return Y}function f(k,Y){var te=k.sortIndex-Y.sortIndex;return te!==0?te:k.id-Y.id}if(i.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var d=performance;i.unstable_now=function(){return d.now()}}else{var h=Date,p=h.now();i.unstable_now=function(){return h.now()-p}}var g=[],x=[],v=1,y=null,z=3,w=!1,N=!1,T=!1,D=!1,U=typeof setTimeout=="function"?setTimeout:null,X=typeof clearTimeout=="function"?clearTimeout:null,Z=typeof setImmediate<"u"?setImmediate:null;function P(k){for(var Y=o(x);Y!==null;){if(Y.callback===null)u(x);else if(Y.startTime<=k)u(x),Y.sortIndex=Y.expirationTime,c(g,Y);else break;Y=o(x)}}function $(k){if(T=!1,P(k),!N)if(o(g)!==null)N=!0,K||(K=!0,ye());else{var Y=o(x);Y!==null&&ce($,Y.startTime-k)}}var K=!1,G=-1,ee=5,se=-1;function Q(){return D?!0:!(i.unstable_now()-sek&&Q());){var he=y.callback;if(typeof he=="function"){y.callback=null,z=y.priorityLevel;var je=he(y.expirationTime<=k);if(k=i.unstable_now(),typeof je=="function"){y.callback=je,P(k),Y=!0;break t}y===o(g)&&u(g),P(k)}else u(g);y=o(g)}if(y!==null)Y=!0;else{var S=o(x);S!==null&&ce($,S.startTime-k),Y=!1}}break e}finally{y=null,z=te,w=!1}Y=void 0}}finally{Y?ye():K=!1}}}var ye;if(typeof Z=="function")ye=function(){Z(ae)};else if(typeof MessageChannel<"u"){var Ge=new MessageChannel,Qe=Ge.port2;Ge.port1.onmessage=ae,ye=function(){Qe.postMessage(null)}}else ye=function(){U(ae,0)};function ce(k,Y){G=U(function(){k(i.unstable_now())},Y)}i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(k){k.callback=null},i.unstable_forceFrameRate=function(k){0>k||125he?(k.sortIndex=te,c(x,k),o(g)===null&&k===o(x)&&(T?(X(G),G=-1):T=!0,ce($,te-he))):(k.sortIndex=je,c(g,k),N||w||(N=!0,K||(K=!0,ye()))),k},i.unstable_shouldYield=Q,i.unstable_wrapCallback=function(k){var Y=z;return function(){var te=z;z=Y;try{return k.apply(this,arguments)}finally{z=te}}}})(Ro)),Ro}var Nh;function ib(){return Nh||(Nh=1,Do.exports=sb()),Do.exports}var Uo={exports:{}},mt={};/** * @license React * react-dom.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Sh;function cb(){if(Sh)return mt;Sh=1;var i=Fo();function c(g){var x="https://react.dev/errors/"+g;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(c){console.error(c)}}return i(),Uo.exports=cb(),Uo.exports}/** * @license React * react-dom-client.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Eh;function ob(){if(Eh)return Es;Eh=1;var i=ib(),c=Fo(),o=rb();function u(e){var t="https://react.dev/errors/"+e;if(1je||(e.current=he[je],he[je]=null,je--)}function V(e,t){je++,he[je]=e.current,e.current=t}var J=S(null),re=S(null),fe=S(null),oe=S(null);function ze(e,t){switch(V(fe,t),V(re,e),V(J,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Bm(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Bm(t),e=qm(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}L(J),V(J,e)}function Ee(){L(J),L(re),L(fe)}function at(e){e.memoizedState!==null&&V(oe,e);var t=J.current,l=qm(t,e.type);t!==l&&(V(re,e),V(J,l))}function Me(e){re.current===e&&(L(J),L(re)),oe.current===e&&(L(oe),ys._currentValue=te)}var I,_e;function ke(e){if(I===void 0)try{throw Error()}catch(l){var t=l.stack.trim().match(/\n( *(at )?)/);I=t&&t[1]||"",_e=-1)":-1s||j[a]!==C[s]){var R=` `+j[a].replace(" at new "," at ");return e.displayName&&R.includes("")&&(R=R.replace("",e.displayName)),R}while(1<=a&&0<=s);break}}}finally{tt=!1,Error.prepareStackTrace=l}return(l=e?e.displayName||e.name:"")?ke(l):""}function Jt(e,t){switch(e.tag){case 26:case 27:case 5:return ke(e.type);case 16:return ke("Lazy");case 13:return e.child!==t&&t!==null?ke("Suspense Fallback"):ke("Suspense");case 19:return ke("SuspenseList");case 0:case 15:return yt(e.type,!1);case 11:return yt(e.type.render,!1);case 1:return yt(e.type,!0);case 31:return ke("Activity");default:return""}}function ll(e){try{var t="",l=null;do t+=Jt(e,l),l=e,e=e.return;while(e);return t}catch(a){return` Error generating stack: `+a.message+` `+a.stack}}var Ht=Object.prototype.hasOwnProperty,Wt=i.unstable_scheduleCallback,hl=i.unstable_cancelCallback,Tn=i.unstable_shouldYield,An=i.unstable_requestPaint,dt=i.unstable_now,$s=i.unstable_getCurrentPriorityLevel,Qs=i.unstable_ImmediatePriority,Cn=i.unstable_UserBlockingPriority,Da=i.unstable_NormalPriority,Mn=i.unstable_LowPriority,pl=i.unstable_IdlePriority,kn=i.log,On=i.unstable_setDisableYieldValue,al=null,pt=null;function nl(e){if(typeof kn=="function"&&On(e),pt&&typeof pt.setStrictMode=="function")try{pt.setStrictMode(al,e)}catch{}}var xt=Math.clz32?Math.clz32:Xs,xc=Math.log,gc=Math.LN2;function Xs(e){return e>>>=0,e===0?32:31-(xc(e)/gc|0)|0}var Ra=256,da=262144,ma=4194304;function sl(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Ua(e,t,l){var a=e.pendingLanes;if(a===0)return 0;var s=0,r=e.suspendedLanes,m=e.pingedLanes;e=e.warmLanes;var b=a&134217727;return b!==0?(a=b&~r,a!==0?s=sl(a):(m&=b,m!==0?s=sl(m):l||(l=b&~e,l!==0&&(s=sl(l))))):(b=a&~r,b!==0?s=sl(b):m!==0?s=sl(m):l||(l=a&~e,l!==0&&(s=sl(l)))),s===0?0:t!==0&&t!==s&&(t&r)===0&&(r=s&-s,l=t&-t,r>=l||r===32&&(l&4194048)!==0)?t:s}function Ul(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Vs(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Zs(){var e=ma;return ma<<=1,(ma&62914560)===0&&(ma=4194304),e}function bc(e){for(var t=[],l=0;31>l;l++)t.push(e);return t}function Dn(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Yp(e,t,l,a,s,r){var m=e.pendingLanes;e.pendingLanes=l,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=l,e.entangledLanes&=l,e.errorRecoveryDisabledLanes&=l,e.shellSuspendCounter=0;var b=e.entanglements,j=e.expirationTimes,C=e.hiddenUpdates;for(l=m&~l;0"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var Zp=/[\n"\\]/g;function Bt(e){return e.replace(Zp,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function zc(e,t,l,a,s,r,m,b){e.name="",m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"?e.type=m:e.removeAttribute("type"),t!=null?m==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Lt(t)):e.value!==""+Lt(t)&&(e.value=""+Lt(t)):m!=="submit"&&m!=="reset"||e.removeAttribute("value"),t!=null?Ec(e,m,Lt(t)):l!=null?Ec(e,m,Lt(l)):a!=null&&e.removeAttribute("value"),s==null&&r!=null&&(e.defaultChecked=!!r),s!=null&&(e.checked=s&&typeof s!="function"&&typeof s!="symbol"),b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?e.name=""+Lt(b):e.removeAttribute("name")}function ku(e,t,l,a,s,r,m,b){if(r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"&&(e.type=r),t!=null||l!=null){if(!(r!=="submit"&&r!=="reset"||t!=null)){Sc(e);return}l=l!=null?""+Lt(l):"",t=t!=null?""+Lt(t):l,b||t===e.value||(e.value=t),e.defaultValue=t}a=a??s,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=b?e.checked:!!a,e.defaultChecked=!!a,m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"&&(e.name=m),Sc(e)}function Ec(e,t,l){t==="number"&&Ws(e.ownerDocument)===e||e.defaultValue===""+l||(e.defaultValue=""+l)}function Ga(e,t,l,a){if(e=e.options,t){t={};for(var s=0;s"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Cc=!1;if(bl)try{var Ln={};Object.defineProperty(Ln,"passive",{get:function(){Cc=!0}}),window.addEventListener("test",Ln,Ln),window.removeEventListener("test",Ln,Ln)}catch{Cc=!1}var Ll=null,Mc=null,Is=null;function Bu(){if(Is)return Is;var e,t=Mc,l=t.length,a,s="value"in Ll?Ll.value:Ll.textContent,r=s.length;for(e=0;e=Yn),Xu=" ",Vu=!1;function Zu(e,t){switch(e){case"keyup":return jx.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ku(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Va=!1;function Sx(e,t){switch(e){case"compositionend":return Ku(t);case"keypress":return t.which!==32?null:(Vu=!0,Xu);case"textInput":return e=t.data,e===Xu&&Vu?null:e;default:return null}}function zx(e,t){if(Va)return e==="compositionend"||!Uc&&Zu(e,t)?(e=Bu(),Is=Mc=Ll=null,Va=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:l,offset:t-e};e=a}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=lf(l)}}function nf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?nf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function sf(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Ws(e.document);t instanceof e.HTMLIFrameElement;){try{var l=typeof t.contentWindow.location.href=="string"}catch{l=!1}if(l)e=t.contentWindow;else break;t=Ws(e.document)}return t}function Bc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var kx=bl&&"documentMode"in document&&11>=document.documentMode,Za=null,qc=null,Xn=null,Yc=!1;function cf(e,t,l){var a=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Yc||Za==null||Za!==Ws(a)||(a=Za,"selectionStart"in a&&Bc(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),Xn&&Qn(Xn,a)||(Xn=a,a=Xi(qc,"onSelect"),0>=m,s-=m,il=1<<32-xt(t)+s|l<me?(be=F,F=null):be=F.sibling;var Se=M(_,F,A[me],H);if(Se===null){F===null&&(F=be);break}e&&F&&Se.alternate===null&&t(_,F),E=r(Se,E,me),Ne===null?ne=Se:Ne.sibling=Se,Ne=Se,F=be}if(me===A.length)return l(_,F),ve&&yl(_,me),ne;if(F===null){for(;meme?(be=F,F=null):be=F.sibling;var ia=M(_,F,Se.value,H);if(ia===null){F===null&&(F=be);break}e&&F&&ia.alternate===null&&t(_,F),E=r(ia,E,me),Ne===null?ne=ia:Ne.sibling=ia,Ne=ia,F=be}if(Se.done)return l(_,F),ve&&yl(_,me),ne;if(F===null){for(;!Se.done;me++,Se=A.next())Se=B(_,Se.value,H),Se!==null&&(E=r(Se,E,me),Ne===null?ne=Se:Ne.sibling=Se,Ne=Se);return ve&&yl(_,me),ne}for(F=a(F);!Se.done;me++,Se=A.next())Se=O(F,_,me,Se.value,H),Se!==null&&(e&&Se.alternate!==null&&F.delete(Se.key===null?me:Se.key),E=r(Se,E,me),Ne===null?ne=Se:Ne.sibling=Se,Ne=Se);return e&&F.forEach(function(Ig){return t(_,Ig)}),ve&&yl(_,me),ne}function Re(_,E,A,H){if(typeof A=="object"&&A!==null&&A.type===T&&A.key===null&&(A=A.props.children),typeof A=="object"&&A!==null){switch(A.$$typeof){case w:e:{for(var ne=A.key;E!==null;){if(E.key===ne){if(ne=A.type,ne===T){if(E.tag===7){l(_,E.sibling),H=s(E,A.props.children),H.return=_,_=H;break e}}else if(E.elementType===ne||typeof ne=="object"&&ne!==null&&ne.$$typeof===ee&&za(ne)===E.type){l(_,E.sibling),H=s(E,A.props),Fn(H,A),H.return=_,_=H;break e}l(_,E);break}else t(_,E);E=E.sibling}A.type===T?(H=va(A.props.children,_.mode,H,A.key),H.return=_,_=H):(H=ri(A.type,A.key,A.props,null,_.mode,H),Fn(H,A),H.return=_,_=H)}return m(_);case N:e:{for(ne=A.key;E!==null;){if(E.key===ne)if(E.tag===4&&E.stateNode.containerInfo===A.containerInfo&&E.stateNode.implementation===A.implementation){l(_,E.sibling),H=s(E,A.children||[]),H.return=_,_=H;break e}else{l(_,E);break}else t(_,E);E=E.sibling}H=Kc(A,_.mode,H),H.return=_,_=H}return m(_);case ee:return A=za(A),Re(_,E,A,H)}if(ce(A))return W(_,E,A,H);if(ye(A)){if(ne=ye(A),typeof ne!="function")throw Error(u(150));return A=ne.call(A),ie(_,E,A,H)}if(typeof A.then=="function")return Re(_,E,pi(A),H);if(A.$$typeof===Z)return Re(_,E,fi(_,A),H);xi(_,A)}return typeof A=="string"&&A!==""||typeof A=="number"||typeof A=="bigint"?(A=""+A,E!==null&&E.tag===6?(l(_,E.sibling),H=s(E,A),H.return=_,_=H):(l(_,E),H=Zc(A,_.mode,H),H.return=_,_=H),m(_)):l(_,E)}return function(_,E,A,H){try{Wn=0;var ne=Re(_,E,A,H);return nn=null,ne}catch(F){if(F===an||F===mi)throw F;var Ne=Mt(29,F,null,_.mode);return Ne.lanes=H,Ne.return=_,Ne}finally{}}}var wa=Cf(!0),Mf=Cf(!1),$l=!1;function ir(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function cr(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Ql(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Xl(e,t,l){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(we&2)!==0){var s=a.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),a.pending=t,t=ci(e),hf(e,null,l),t}return ii(e,a,t,l),ci(e)}function In(e,t,l){if(t=t.updateQueue,t!==null&&(t=t.shared,(l&4194048)!==0)){var a=t.lanes;a&=e.pendingLanes,l|=a,t.lanes=l,ju(e,l)}}function rr(e,t){var l=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,l===a)){var s=null,r=null;if(l=l.firstBaseUpdate,l!==null){do{var m={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};r===null?s=r=m:r=r.next=m,l=l.next}while(l!==null);r===null?s=r=t:r=r.next=t}else s=r=t;l={baseState:a.baseState,firstBaseUpdate:s,lastBaseUpdate:r,shared:a.shared,callbacks:a.callbacks},e.updateQueue=l;return}e=l.lastBaseUpdate,e===null?l.firstBaseUpdate=t:e.next=t,l.lastBaseUpdate=t}var or=!1;function Pn(){if(or){var e=ln;if(e!==null)throw e}}function es(e,t,l,a){or=!1;var s=e.updateQueue;$l=!1;var r=s.firstBaseUpdate,m=s.lastBaseUpdate,b=s.shared.pending;if(b!==null){s.shared.pending=null;var j=b,C=j.next;j.next=null,m===null?r=C:m.next=C,m=j;var R=e.alternate;R!==null&&(R=R.updateQueue,b=R.lastBaseUpdate,b!==m&&(b===null?R.firstBaseUpdate=C:b.next=C,R.lastBaseUpdate=j))}if(r!==null){var B=s.baseState;m=0,R=C=j=null,b=r;do{var M=b.lane&-536870913,O=M!==b.lane;if(O?(ge&M)===M:(a&M)===M){M!==0&&M===tn&&(or=!0),R!==null&&(R=R.next={lane:0,tag:b.tag,payload:b.payload,callback:null,next:null});e:{var W=e,ie=b;M=t;var Re=l;switch(ie.tag){case 1:if(W=ie.payload,typeof W=="function"){B=W.call(Re,B,M);break e}B=W;break e;case 3:W.flags=W.flags&-65537|128;case 0:if(W=ie.payload,M=typeof W=="function"?W.call(Re,B,M):W,M==null)break e;B=y({},B,M);break e;case 2:$l=!0}}M=b.callback,M!==null&&(e.flags|=64,O&&(e.flags|=8192),O=s.callbacks,O===null?s.callbacks=[M]:O.push(M))}else O={lane:M,tag:b.tag,payload:b.payload,callback:b.callback,next:null},R===null?(C=R=O,j=B):R=R.next=O,m|=M;if(b=b.next,b===null){if(b=s.shared.pending,b===null)break;O=b,b=O.next,O.next=null,s.lastBaseUpdate=O,s.shared.pending=null}}while(!0);R===null&&(j=B),s.baseState=j,s.firstBaseUpdate=C,s.lastBaseUpdate=R,r===null&&(s.shared.lanes=0),Wl|=m,e.lanes=m,e.memoizedState=B}}function kf(e,t){if(typeof e!="function")throw Error(u(191,e));e.call(t)}function Of(e,t){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;er?r:8;var m=k.T,b={};k.T=b,Tr(e,!1,t,l);try{var j=s(),C=k.S;if(C!==null&&C(b,j),j!==null&&typeof j=="object"&&typeof j.then=="function"){var R=Yx(j,a);as(e,t,R,Ut(e))}else as(e,t,a,Ut(e))}catch(B){as(e,t,{then:function(){},status:"rejected",reason:B},Ut())}finally{Y.p=r,m!==null&&b.types!==null&&(m.types=b.types),k.T=m}}function Zx(){}function wr(e,t,l,a){if(e.tag!==5)throw Error(u(476));var s=fd(e).queue;ud(e,s,t,te,l===null?Zx:function(){return dd(e),l(a)})}function fd(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:te,baseState:te,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:zl,lastRenderedState:te},next:null};var l={};return t.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:zl,lastRenderedState:l},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function dd(e){var t=fd(e);t.next===null&&(t=e.alternate.memoizedState),as(e,t.next.queue,{},Ut())}function _r(){return rt(ys)}function md(){return Je().memoizedState}function hd(){return Je().memoizedState}function Kx(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var l=Ut();e=Ql(l);var a=Xl(t,e,l);a!==null&&(_t(a,t,l),In(a,t,l)),t={cache:lr()},e.payload=t;return}t=t.return}}function Jx(e,t,l){var a=Ut();l={lane:a,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},wi(e)?xd(t,l):(l=Xc(e,t,l,a),l!==null&&(_t(l,e,a),gd(l,t,a)))}function pd(e,t,l){var a=Ut();as(e,t,l,a)}function as(e,t,l,a){var s={lane:a,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(wi(e))xd(t,s);else{var r=e.alternate;if(e.lanes===0&&(r===null||r.lanes===0)&&(r=t.lastRenderedReducer,r!==null))try{var m=t.lastRenderedState,b=r(m,l);if(s.hasEagerState=!0,s.eagerState=b,Ct(b,m))return ii(e,t,s,0),Ue===null&&si(),!1}catch{}finally{}if(l=Xc(e,t,s,a),l!==null)return _t(l,e,a),gd(l,t,a),!0}return!1}function Tr(e,t,l,a){if(a={lane:2,revertLane:io(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},wi(e)){if(t)throw Error(u(479))}else t=Xc(e,l,a,2),t!==null&&_t(t,e,2)}function wi(e){var t=e.alternate;return e===de||t!==null&&t===de}function xd(e,t){cn=vi=!0;var l=e.pending;l===null?t.next=t:(t.next=l.next,l.next=t),e.pending=t}function gd(e,t,l){if((l&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,l|=a,t.lanes=l,ju(e,l)}}var ns={readContext:rt,use:Ni,useCallback:Xe,useContext:Xe,useEffect:Xe,useImperativeHandle:Xe,useLayoutEffect:Xe,useInsertionEffect:Xe,useMemo:Xe,useReducer:Xe,useRef:Xe,useState:Xe,useDebugValue:Xe,useDeferredValue:Xe,useTransition:Xe,useSyncExternalStore:Xe,useId:Xe,useHostTransitionStatus:Xe,useFormState:Xe,useActionState:Xe,useOptimistic:Xe,useMemoCache:Xe,useCacheRefresh:Xe};ns.useEffectEvent=Xe;var bd={readContext:rt,use:Ni,useCallback:function(e,t){return gt().memoizedState=[e,t===void 0?null:t],e},useContext:rt,useEffect:td,useImperativeHandle:function(e,t,l){l=l!=null?l.concat([e]):null,zi(4194308,4,sd.bind(null,t,e),l)},useLayoutEffect:function(e,t){return zi(4194308,4,e,t)},useInsertionEffect:function(e,t){zi(4,2,e,t)},useMemo:function(e,t){var l=gt();t=t===void 0?null:t;var a=e();if(_a){nl(!0);try{e()}finally{nl(!1)}}return l.memoizedState=[a,t],a},useReducer:function(e,t,l){var a=gt();if(l!==void 0){var s=l(t);if(_a){nl(!0);try{l(t)}finally{nl(!1)}}}else s=t;return a.memoizedState=a.baseState=s,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:s},a.queue=e,e=e.dispatch=Jx.bind(null,de,e),[a.memoizedState,e]},useRef:function(e){var t=gt();return e={current:e},t.memoizedState=e},useState:function(e){e=jr(e);var t=e.queue,l=pd.bind(null,de,t);return t.dispatch=l,[e.memoizedState,l]},useDebugValue:zr,useDeferredValue:function(e,t){var l=gt();return Er(l,e,t)},useTransition:function(){var e=jr(!1);return e=ud.bind(null,de,e.queue,!0,!1),gt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,l){var a=de,s=gt();if(ve){if(l===void 0)throw Error(u(407));l=l()}else{if(l=t(),Ue===null)throw Error(u(349));(ge&127)!==0||Bf(a,t,l)}s.memoizedState=l;var r={value:l,getSnapshot:t};return s.queue=r,td(Yf.bind(null,a,r,e),[e]),a.flags|=2048,on(9,{destroy:void 0},qf.bind(null,a,r,l,t),null),l},useId:function(){var e=gt(),t=Ue.identifierPrefix;if(ve){var l=cl,a=il;l=(a&~(1<<32-xt(a)-1)).toString(32)+l,t="_"+t+"R_"+l,l=yi++,0<\/script>",r=r.removeChild(r.firstChild);break;case"select":r=typeof a.is=="string"?m.createElement("select",{is:a.is}):m.createElement("select"),a.multiple?r.multiple=!0:a.size&&(r.size=a.size);break;default:r=typeof a.is=="string"?m.createElement(s,{is:a.is}):m.createElement(s)}}r[it]=t,r[jt]=a;e:for(m=t.child;m!==null;){if(m.tag===5||m.tag===6)r.appendChild(m.stateNode);else if(m.tag!==4&&m.tag!==27&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===t)break e;for(;m.sibling===null;){if(m.return===null||m.return===t)break e;m=m.return}m.sibling.return=m.return,m=m.sibling}t.stateNode=r;e:switch(ut(r,s,a),s){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&wl(t)}}return Be(t),Gr(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,l),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&wl(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(u(166));if(e=fe.current,Pa(t)){if(e=t.stateNode,l=t.memoizedProps,a=null,s=ct,s!==null)switch(s.tag){case 27:case 5:a=s.memoizedProps}e[it]=t,e=!!(e.nodeValue===l||a!==null&&a.suppressHydrationWarning===!0||Hm(e.nodeValue,l)),e||Yl(t,!0)}else e=Vi(e).createTextNode(a),e[it]=t,t.stateNode=e}return Be(t),null;case 31:if(l=t.memoizedState,e===null||e.memoizedState!==null){if(a=Pa(t),l!==null){if(e===null){if(!a)throw Error(u(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(u(557));e[it]=t}else ya(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Be(t),e=!1}else l=Ic(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),e=!0;if(!e)return t.flags&256?(Ot(t),t):(Ot(t),null);if((t.flags&128)!==0)throw Error(u(558))}return Be(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(s=Pa(t),a!==null&&a.dehydrated!==null){if(e===null){if(!s)throw Error(u(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(u(317));s[it]=t}else ya(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Be(t),s=!1}else s=Ic(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=s),s=!0;if(!s)return t.flags&256?(Ot(t),t):(Ot(t),null)}return Ot(t),(t.flags&128)!==0?(t.lanes=l,t):(l=a!==null,e=e!==null&&e.memoizedState!==null,l&&(a=t.child,s=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(s=a.alternate.memoizedState.cachePool.pool),r=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(r=a.memoizedState.cachePool.pool),r!==s&&(a.flags|=2048)),l!==e&&l&&(t.child.flags|=8192),Mi(t,t.updateQueue),Be(t),null);case 4:return Ee(),e===null&&uo(t.stateNode.containerInfo),Be(t),null;case 10:return Nl(t.type),Be(t),null;case 19:if(L(Ke),a=t.memoizedState,a===null)return Be(t),null;if(s=(t.flags&128)!==0,r=a.rendering,r===null)if(s)is(a,!1);else{if(Ve!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(r=bi(e),r!==null){for(t.flags|=128,is(a,!1),e=r.updateQueue,t.updateQueue=e,Mi(t,e),t.subtreeFlags=0,e=l,l=t.child;l!==null;)pf(l,e),l=l.sibling;return V(Ke,Ke.current&1|2),ve&&yl(t,a.treeForkCount),t.child}e=e.sibling}a.tail!==null&&dt()>Ui&&(t.flags|=128,s=!0,is(a,!1),t.lanes=4194304)}else{if(!s)if(e=bi(r),e!==null){if(t.flags|=128,s=!0,e=e.updateQueue,t.updateQueue=e,Mi(t,e),is(a,!0),a.tail===null&&a.tailMode==="hidden"&&!r.alternate&&!ve)return Be(t),null}else 2*dt()-a.renderingStartTime>Ui&&l!==536870912&&(t.flags|=128,s=!0,is(a,!1),t.lanes=4194304);a.isBackwards?(r.sibling=t.child,t.child=r):(e=a.last,e!==null?e.sibling=r:t.child=r,a.last=r)}return a.tail!==null?(e=a.tail,a.rendering=e,a.tail=e.sibling,a.renderingStartTime=dt(),e.sibling=null,l=Ke.current,V(Ke,s?l&1|2:l&1),ve&&yl(t,a.treeForkCount),e):(Be(t),null);case 22:case 23:return Ot(t),fr(),a=t.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(l&536870912)!==0&&(t.flags&128)===0&&(Be(t),t.subtreeFlags&6&&(t.flags|=8192)):Be(t),l=t.updateQueue,l!==null&&Mi(t,l.retryQueue),l=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==l&&(t.flags|=2048),e!==null&&L(Sa),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),Nl(Fe),Be(t),null;case 25:return null;case 30:return null}throw Error(u(156,t.tag))}function eg(e,t){switch(Wc(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Nl(Fe),Ee(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Me(t),null;case 31:if(t.memoizedState!==null){if(Ot(t),t.alternate===null)throw Error(u(340));ya()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Ot(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(u(340));ya()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return L(Ke),null;case 4:return Ee(),null;case 10:return Nl(t.type),null;case 22:case 23:return Ot(t),fr(),e!==null&&L(Sa),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Nl(Fe),null;case 25:return null;default:return null}}function Gd(e,t){switch(Wc(t),t.tag){case 3:Nl(Fe),Ee();break;case 26:case 27:case 5:Me(t);break;case 4:Ee();break;case 31:t.memoizedState!==null&&Ot(t);break;case 13:Ot(t);break;case 19:L(Ke);break;case 10:Nl(t.type);break;case 22:case 23:Ot(t),fr(),e!==null&&L(Sa);break;case 24:Nl(Fe)}}function cs(e,t){try{var l=t.updateQueue,a=l!==null?l.lastEffect:null;if(a!==null){var s=a.next;l=s;do{if((l.tag&e)===e){a=void 0;var r=l.create,m=l.inst;a=r(),m.destroy=a}l=l.next}while(l!==s)}}catch(b){Ae(t,t.return,b)}}function Kl(e,t,l){try{var a=t.updateQueue,s=a!==null?a.lastEffect:null;if(s!==null){var r=s.next;a=r;do{if((a.tag&e)===e){var m=a.inst,b=m.destroy;if(b!==void 0){m.destroy=void 0,s=t;var j=l,C=b;try{C()}catch(R){Ae(s,j,R)}}}a=a.next}while(a!==r)}}catch(R){Ae(t,t.return,R)}}function $d(e){var t=e.updateQueue;if(t!==null){var l=e.stateNode;try{Of(t,l)}catch(a){Ae(e,e.return,a)}}}function Qd(e,t,l){l.props=Ta(e.type,e.memoizedProps),l.state=e.memoizedState;try{l.componentWillUnmount()}catch(a){Ae(e,t,a)}}function rs(e,t){try{var l=e.ref;if(l!==null){switch(e.tag){case 26:case 27:case 5:var a=e.stateNode;break;case 30:a=e.stateNode;break;default:a=e.stateNode}typeof l=="function"?e.refCleanup=l(a):l.current=a}}catch(s){Ae(e,t,s)}}function rl(e,t){var l=e.ref,a=e.refCleanup;if(l!==null)if(typeof a=="function")try{a()}catch(s){Ae(e,t,s)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(s){Ae(e,t,s)}else l.current=null}function Xd(e){var t=e.type,l=e.memoizedProps,a=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":l.autoFocus&&a.focus();break e;case"img":l.src?a.src=l.src:l.srcSet&&(a.srcset=l.srcSet)}}catch(s){Ae(e,e.return,s)}}function $r(e,t,l){try{var a=e.stateNode;Ng(a,e.type,l,t),a[jt]=t}catch(s){Ae(e,e.return,s)}}function Vd(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&ta(e.type)||e.tag===4}function Qr(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Vd(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&ta(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Xr(e,t,l){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(e,t):(t=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,t.appendChild(e),l=l._reactRootContainer,l!=null||t.onclick!==null||(t.onclick=gl));else if(a!==4&&(a===27&&ta(e.type)&&(l=e.stateNode,t=null),e=e.child,e!==null))for(Xr(e,t,l),e=e.sibling;e!==null;)Xr(e,t,l),e=e.sibling}function ki(e,t,l){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?l.insertBefore(e,t):l.appendChild(e);else if(a!==4&&(a===27&&ta(e.type)&&(l=e.stateNode),e=e.child,e!==null))for(ki(e,t,l),e=e.sibling;e!==null;)ki(e,t,l),e=e.sibling}function Zd(e){var t=e.stateNode,l=e.memoizedProps;try{for(var a=e.type,s=t.attributes;s.length;)t.removeAttributeNode(s[0]);ut(t,a,l),t[it]=e,t[jt]=l}catch(r){Ae(e,e.return,r)}}var _l=!1,et=!1,Vr=!1,Kd=typeof WeakSet=="function"?WeakSet:Set,st=null;function tg(e,t){if(e=e.containerInfo,ho=Pi,e=sf(e),Bc(e)){if("selectionStart"in e)var l={start:e.selectionStart,end:e.selectionEnd};else e:{l=(l=e.ownerDocument)&&l.defaultView||window;var a=l.getSelection&&l.getSelection();if(a&&a.rangeCount!==0){l=a.anchorNode;var s=a.anchorOffset,r=a.focusNode;a=a.focusOffset;try{l.nodeType,r.nodeType}catch{l=null;break e}var m=0,b=-1,j=-1,C=0,R=0,B=e,M=null;t:for(;;){for(var O;B!==l||s!==0&&B.nodeType!==3||(b=m+s),B!==r||a!==0&&B.nodeType!==3||(j=m+a),B.nodeType===3&&(m+=B.nodeValue.length),(O=B.firstChild)!==null;)M=B,B=O;for(;;){if(B===e)break t;if(M===l&&++C===s&&(b=m),M===r&&++R===a&&(j=m),(O=B.nextSibling)!==null)break;B=M,M=B.parentNode}B=O}l=b===-1||j===-1?null:{start:b,end:j}}else l=null}l=l||{start:0,end:0}}else l=null;for(po={focusedElem:e,selectionRange:l},Pi=!1,st=t;st!==null;)if(t=st,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,st=e;else for(;st!==null;){switch(t=st,r=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(l=0;l title"))),ut(r,a,l),r[it]=e,nt(r),a=r;break e;case"link":var m=eh("link","href",s).get(a+(l.href||""));if(m){for(var b=0;bRe&&(m=Re,Re=ie,ie=m);var _=af(b,ie),E=af(b,Re);if(_&&E&&(O.rangeCount!==1||O.anchorNode!==_.node||O.anchorOffset!==_.offset||O.focusNode!==E.node||O.focusOffset!==E.offset)){var A=B.createRange();A.setStart(_.node,_.offset),O.removeAllRanges(),ie>Re?(O.addRange(A),O.extend(E.node,E.offset)):(A.setEnd(E.node,E.offset),O.addRange(A))}}}}for(B=[],O=b;O=O.parentNode;)O.nodeType===1&&B.push({element:O,left:O.scrollLeft,top:O.scrollTop});for(typeof b.focus=="function"&&b.focus(),b=0;bl?32:l,k.T=null,l=Pr,Pr=null;var r=Il,m=kl;if(lt=0,hn=Il=null,kl=0,(we&6)!==0)throw Error(u(331));var b=we;if(we|=4,sm(r.current),lm(r,r.current,m,l),we=b,hs(0,!1),pt&&typeof pt.onPostCommitFiberRoot=="function")try{pt.onPostCommitFiberRoot(al,r)}catch{}return!0}finally{Y.p=s,k.T=a,Sm(e,t)}}function Em(e,t,l){t=Yt(l,t),t=kr(e.stateNode,t,2),e=Xl(e,t,2),e!==null&&(Dn(e,2),ol(e))}function Ae(e,t,l){if(e.tag===3)Em(e,e,l);else for(;t!==null;){if(t.tag===3){Em(t,e,l);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Fl===null||!Fl.has(a))){e=Yt(l,e),l=wd(2),a=Xl(t,l,2),a!==null&&(_d(l,a,t,e),Dn(a,2),ol(a));break}}t=t.return}}function ao(e,t,l){var a=e.pingCache;if(a===null){a=e.pingCache=new ng;var s=new Set;a.set(t,s)}else s=a.get(t),s===void 0&&(s=new Set,a.set(t,s));s.has(l)||(Jr=!0,s.add(l),e=og.bind(null,e,t,l),t.then(e,e))}function og(e,t,l){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,Ue===e&&(ge&l)===l&&(Ve===4||Ve===3&&(ge&62914560)===ge&&300>dt()-Ri?(we&2)===0&&pn(e,0):Wr|=l,mn===ge&&(mn=0)),ol(e)}function wm(e,t){t===0&&(t=Zs()),e=ba(e,t),e!==null&&(Dn(e,t),ol(e))}function ug(e){var t=e.memoizedState,l=0;t!==null&&(l=t.retryLane),wm(e,l)}function fg(e,t){var l=0;switch(e.tag){case 31:case 13:var a=e.stateNode,s=e.memoizedState;s!==null&&(l=s.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error(u(314))}a!==null&&a.delete(t),wm(e,l)}function dg(e,t){return Wt(e,t)}var Gi=null,gn=null,no=!1,$i=!1,so=!1,ea=0;function ol(e){e!==gn&&e.next===null&&(gn===null?Gi=gn=e:gn=gn.next=e),$i=!0,no||(no=!0,hg())}function hs(e,t){if(!so&&$i){so=!0;do for(var l=!1,a=Gi;a!==null;){if(e!==0){var s=a.pendingLanes;if(s===0)var r=0;else{var m=a.suspendedLanes,b=a.pingedLanes;r=(1<<31-xt(42|e)+1)-1,r&=s&~(m&~b),r=r&201326741?r&201326741|1:r?r|2:0}r!==0&&(l=!0,Cm(a,r))}else r=ge,r=Ua(a,a===Ue?r:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(r&3)===0||Ul(a,r)||(l=!0,Cm(a,r));a=a.next}while(l);so=!1}}function mg(){_m()}function _m(){$i=no=!1;var e=0;ea!==0&&zg()&&(e=ea);for(var t=dt(),l=null,a=Gi;a!==null;){var s=a.next,r=Tm(a,t);r===0?(a.next=null,l===null?Gi=s:l.next=s,s===null&&(gn=l)):(l=a,(e!==0||(r&3)!==0)&&($i=!0)),a=s}lt!==0&<!==5||hs(e),ea!==0&&(ea=0)}function Tm(e,t){for(var l=e.suspendedLanes,a=e.pingedLanes,s=e.expirationTimes,r=e.pendingLanes&-62914561;0b)break;var R=j.transferSize,B=j.initiatorType;R&&Lm(B)&&(j=j.responseEnd,m+=R*(j"u"?null:document;function Wm(e,t,l){var a=bn;if(a&&typeof t=="string"&&t){var s=Bt(t);s='link[rel="'+e+'"][href="'+s+'"]',typeof l=="string"&&(s+='[crossorigin="'+l+'"]'),Jm.has(s)||(Jm.add(s),e={rel:e,crossOrigin:l,href:t},a.querySelector(s)===null&&(t=a.createElement("link"),ut(t,"link",e),nt(t),a.head.appendChild(t)))}}function Og(e){Ol.D(e),Wm("dns-prefetch",e,null)}function Dg(e,t){Ol.C(e,t),Wm("preconnect",e,t)}function Rg(e,t,l){Ol.L(e,t,l);var a=bn;if(a&&e&&t){var s='link[rel="preload"][as="'+Bt(t)+'"]';t==="image"&&l&&l.imageSrcSet?(s+='[imagesrcset="'+Bt(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(s+='[imagesizes="'+Bt(l.imageSizes)+'"]')):s+='[href="'+Bt(e)+'"]';var r=s;switch(t){case"style":r=vn(e);break;case"script":r=yn(e)}Zt.has(r)||(e=y({rel:"preload",href:t==="image"&&l&&l.imageSrcSet?void 0:e,as:t},l),Zt.set(r,e),a.querySelector(s)!==null||t==="style"&&a.querySelector(bs(r))||t==="script"&&a.querySelector(vs(r))||(t=a.createElement("link"),ut(t,"link",e),nt(t),a.head.appendChild(t)))}}function Ug(e,t){Ol.m(e,t);var l=bn;if(l&&e){var a=t&&typeof t.as=="string"?t.as:"script",s='link[rel="modulepreload"][as="'+Bt(a)+'"][href="'+Bt(e)+'"]',r=s;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":r=yn(e)}if(!Zt.has(r)&&(e=y({rel:"modulepreload",href:e},t),Zt.set(r,e),l.querySelector(s)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(vs(r)))return}a=l.createElement("link"),ut(a,"link",e),nt(a),l.head.appendChild(a)}}}function Hg(e,t,l){Ol.S(e,t,l);var a=bn;if(a&&e){var s=qa(a).hoistableStyles,r=vn(e);t=t||"default";var m=s.get(r);if(!m){var b={loading:0,preload:null};if(m=a.querySelector(bs(r)))b.loading=5;else{e=y({rel:"stylesheet",href:e,"data-precedence":t},l),(l=Zt.get(r))&&No(e,l);var j=m=a.createElement("link");nt(j),ut(j,"link",e),j._p=new Promise(function(C,R){j.onload=C,j.onerror=R}),j.addEventListener("load",function(){b.loading|=1}),j.addEventListener("error",function(){b.loading|=2}),b.loading|=4,Ki(m,t,a)}m={type:"stylesheet",instance:m,count:1,state:b},s.set(r,m)}}}function Lg(e,t){Ol.X(e,t);var l=bn;if(l&&e){var a=qa(l).hoistableScripts,s=yn(e),r=a.get(s);r||(r=l.querySelector(vs(s)),r||(e=y({src:e,async:!0},t),(t=Zt.get(s))&&So(e,t),r=l.createElement("script"),nt(r),ut(r,"link",e),l.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},a.set(s,r))}}function Bg(e,t){Ol.M(e,t);var l=bn;if(l&&e){var a=qa(l).hoistableScripts,s=yn(e),r=a.get(s);r||(r=l.querySelector(vs(s)),r||(e=y({src:e,async:!0,type:"module"},t),(t=Zt.get(s))&&So(e,t),r=l.createElement("script"),nt(r),ut(r,"link",e),l.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},a.set(s,r))}}function Fm(e,t,l,a){var s=(s=fe.current)?Zi(s):null;if(!s)throw Error(u(446));switch(e){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(t=vn(l.href),l=qa(s).hoistableStyles,a=l.get(t),a||(a={type:"style",instance:null,count:0,state:null},l.set(t,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){e=vn(l.href);var r=qa(s).hoistableStyles,m=r.get(e);if(m||(s=s.ownerDocument||s,m={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},r.set(e,m),(r=s.querySelector(bs(e)))&&!r._p&&(m.instance=r,m.state.loading=5),Zt.has(e)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},Zt.set(e,l),r||qg(s,e,l,m.state))),t&&a===null)throw Error(u(528,""));return m}if(t&&a!==null)throw Error(u(529,""));return null;case"script":return t=l.async,l=l.src,typeof l=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=yn(l),l=qa(s).hoistableScripts,a=l.get(t),a||(a={type:"script",instance:null,count:0,state:null},l.set(t,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(u(444,e))}}function vn(e){return'href="'+Bt(e)+'"'}function bs(e){return'link[rel="stylesheet"]['+e+"]"}function Im(e){return y({},e,{"data-precedence":e.precedence,precedence:null})}function qg(e,t,l,a){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=1:(t=e.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=1}),t.addEventListener("error",function(){return a.loading|=2}),ut(t,"link",l),nt(t),e.head.appendChild(t))}function yn(e){return'[src="'+Bt(e)+'"]'}function vs(e){return"script[async]"+e}function Pm(e,t,l){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+Bt(l.href)+'"]');if(a)return t.instance=a,nt(a),a;var s=y({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),nt(a),ut(a,"style",s),Ki(a,l.precedence,e),t.instance=a;case"stylesheet":s=vn(l.href);var r=e.querySelector(bs(s));if(r)return t.state.loading|=4,t.instance=r,nt(r),r;a=Im(l),(s=Zt.get(s))&&No(a,s),r=(e.ownerDocument||e).createElement("link"),nt(r);var m=r;return m._p=new Promise(function(b,j){m.onload=b,m.onerror=j}),ut(r,"link",a),t.state.loading|=4,Ki(r,l.precedence,e),t.instance=r;case"script":return r=yn(l.src),(s=e.querySelector(vs(r)))?(t.instance=s,nt(s),s):(a=l,(s=Zt.get(r))&&(a=y({},l),So(a,s)),e=e.ownerDocument||e,s=e.createElement("script"),nt(s),ut(s,"link",a),e.head.appendChild(s),t.instance=s);case"void":return null;default:throw Error(u(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,Ki(a,l.precedence,e));return t.instance}function Ki(e,t,l){for(var a=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),s=a.length?a[a.length-1]:null,r=s,m=0;m title"):null)}function Yg(e,t,l){if(l===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function lh(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function Gg(e,t,l,a){if(l.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var s=vn(a.href),r=t.querySelector(bs(s));if(r){t=r._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Wi.bind(e),t.then(e,e)),l.state.loading|=4,l.instance=r,nt(r);return}r=t.ownerDocument||t,a=Im(a),(s=Zt.get(s))&&No(a,s),r=r.createElement("link"),nt(r);var m=r;m._p=new Promise(function(b,j){m.onload=b,m.onerror=j}),ut(r,"link",a),l.instance=r}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(l,t),(t=l.state.preload)&&(l.state.loading&3)===0&&(e.count++,l=Wi.bind(e),t.addEventListener("load",l),t.addEventListener("error",l))}}var zo=0;function $g(e,t){return e.stylesheets&&e.count===0&&Ii(e,e.stylesheets),0zo?50:800)+t);return e.unsuspend=l,function(){e.unsuspend=null,clearTimeout(a),clearTimeout(s)}}:null}function Wi(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Ii(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Fi=null;function Ii(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Fi=new Map,t.forEach(Qg,e),Fi=null,Wi.call(e))}function Qg(e,t){if(!(t.state.loading&4)){var l=Fi.get(e);if(l)var a=l.get(null);else{l=new Map,Fi.set(e,l);for(var s=e.querySelectorAll("link[data-precedence],style[data-precedence]"),r=0;r"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(c){console.error(c)}}return i(),Oo.exports=ob(),Oo.exports}var Qo=ub();/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const fb=i=>i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),db=i=>i.replace(/^([A-Z])|[\s-_]+(\w)/g,(c,o,u)=>u?u.toUpperCase():o.toLowerCase()),_h=i=>{const c=db(i);return c.charAt(0).toUpperCase()+c.slice(1)},fp=(...i)=>i.filter((c,o,u)=>!!c&&c.trim()!==""&&u.indexOf(c)===o).join(" ").trim(),mb=i=>{for(const c in i)if(c.startsWith("aria-")||c==="role"||c==="title")return!0};/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */var hb={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const pb=q.forwardRef(({color:i="currentColor",size:c=24,strokeWidth:o=2,absoluteStrokeWidth:u,className:f="",children:d,iconNode:h,...p},g)=>q.createElement("svg",{ref:g,...hb,width:c,height:c,stroke:i,strokeWidth:u?Number(o)*24/Number(c):o,className:fp("lucide",f),...!d&&!mb(p)&&{"aria-hidden":"true"},...p},[...h.map(([x,v])=>q.createElement(x,v)),...Array.isArray(d)?d:[d]]));/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const He=(i,c)=>{const o=q.forwardRef(({className:u,...f},d)=>q.createElement(pb,{ref:d,iconNode:c,className:fp(`lucide-${fb(_h(i))}`,`lucide-${i}`,u),...f}));return o.displayName=_h(i),o};/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const xb=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],Sn=He("arrow-up-right",xb);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const gb=[["path",{d:"M2 20v-8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v8",key:"1k78r4"}],["path",{d:"M4 10V6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v4",key:"fb3tl2"}],["path",{d:"M12 4v6",key:"1dcgq2"}],["path",{d:"M2 18h20",key:"ajqnye"}]],bb=He("bed-double",gb);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const vb=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"m9 16 2 2 4-4",key:"19s6y9"}]],yb=He("calendar-check",vb);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const jb=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]],Nb=He("calendar-days",jb);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Sb=[["path",{d:"M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2",key:"5owen"}],["circle",{cx:"7",cy:"17",r:"2",key:"u2ysq9"}],["path",{d:"M9 17h6",key:"r8uit2"}],["circle",{cx:"17",cy:"17",r:"2",key:"axvx0g"}]],zb=He("car",Sb);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Eb=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],dp=He("check",Eb);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const wb=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],fc=He("chevron-down",wb);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const _b=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],oa=He("chevron-left",_b);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Tb=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],ua=He("chevron-right",Tb);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Ab=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Cb=He("clock",Ab);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Mb=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],kb=He("copy",Mb);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Ob=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],Db=He("external-link",Ob);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Rb=[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]],Ub=He("instagram",Rb);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Hb=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],mp=He("mail",Hb);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Lb=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],Ls=He("map-pin",Lb);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Bb=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],hp=He("menu",Bb);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const qb=[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]],Io=He("message-circle",qb);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Yb=[["path",{d:"M5 12h14",key:"1ays0h"}]],Gb=He("minus",Yb);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const $b=[["polygon",{points:"3 11 22 2 13 21 11 13 3 11",key:"1ltx0t"}]],Ho=He("navigation",$b);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Qb=[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]],At=He("phone",Qb);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Xb=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]],Vb=He("play",Xb);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Zb=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],Kb=He("plus",Zb);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Jb=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],Wb=He("rotate-ccw",Jb);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Fb=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],Ib=He("shield-check",Fb);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Pb=[["path",{d:"M3 2v7c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2V2",key:"cjf0a3"}],["path",{d:"M7 2v20",key:"1473qp"}],["path",{d:"M21 15V2a5 5 0 0 0-5 5v6c0 1.1.9 2 2 2h3Zm0 0v7",key:"j28e5"}]],e0=He("utensils",Pb);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const t0=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],pp=He("x",t0);/** * @license lucide-react v0.546.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const l0=[["path",{d:"M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17",key:"1q2vi4"}],["path",{d:"m10 15 5-3-5-3z",key:"1jp15x"}]],a0=He("youtube",l0),xp=q.createContext(null);function n0({payload:i,children:c}){return n.jsx(xp.Provider,{value:i,children:c})}function le(){const i=q.useContext(xp);if(!i)throw new Error("SiteProvider 밖에서 useSite() 를 불렀습니다. payload 없이는 렌더할 수 없습니다.");return i}function s0(){return n.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.6",children:[n.jsx("rect",{x:"2",y:"5",width:"20",height:"14",rx:"2"}),n.jsxs("g",{className:"w4d-reel",children:[n.jsx("circle",{cx:"8.5",cy:"12",r:"2.6"}),n.jsx("path",{d:"M8.5 9.4v5.2M5.9 12h5.2"})]}),n.jsxs("g",{className:"w4d-reel",children:[n.jsx("circle",{cx:"15.5",cy:"12",r:"2.6"}),n.jsx("path",{d:"M15.5 9.4v5.2M12.9 12h5.2"})]}),n.jsx("path",{d:"M6 19l1.5-2.4h9L18 19"})]})}function i0(){return n.jsx("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:n.jsx("path",{d:"M8 5v14l11-7z"})})}function c0(){return n.jsx("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:n.jsx("path",{d:"M7 5h3.4v14H7zm6.6 0H17v14h-3.4z"})})}function r0(){return n.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",children:[n.jsx("path",{d:"M4 7h11M4 12h11M4 17h7"}),n.jsx("path",{d:"M19 17.5V9l3 1.2"}),n.jsx("circle",{cx:"17.4",cy:"17.6",r:"1.7",fill:"currentColor",stroke:"none"})]})}function o0(){return n.jsx("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:n.jsx("path",{d:"M6 6l12 12M18 6L6 18"})})}function Th(i){if(typeof i!="number"||!Number.isFinite(i))return"";const c=Math.floor(i/60),o=Math.floor(i%60);return`${c}:${o<10?"0":""}${o}`}function u0(){const i=le(),c=(i.songs??[]).filter($=>$.audioUrl),[o,u]=q.useState(0),[f,d]=q.useState(!1),[h,p]=q.useState(!1),[g,x]=q.useState({now:0,total:0}),[v,y]=q.useState({}),z=q.useRef(null),w=q.useRef(null),N=q.useRef(null),T=c.length;q.useEffect(()=>{T>1&&u(Math.floor(Math.random()*T))},[T]);const D=q.useCallback(()=>{var ee;const $=document.querySelector("header"),K=$==null?void 0:$.getBoundingClientRect(),G={top:`${K?K.bottom+6:66}px`};if(window.innerWidth<=640)G.left="8px",G.right="8px";else{G.left="auto";const se=(ee=w.current)==null?void 0:ee.getBoundingClientRect();G.right=`${Math.max(12,window.innerWidth-((se==null?void 0:se.right)??0))}px`}y(G)},[]);if(q.useEffect(()=>{if(!h)return;D();const $=()=>D(),K=G=>{var se,Q;const ee=G.target;(se=N.current)!=null&&se.contains(ee)||(Q=w.current)!=null&&Q.contains(ee)||p(!1)};return window.addEventListener("resize",$),window.addEventListener("scroll",$,{passive:!0}),document.addEventListener("click",K),()=>{window.removeEventListener("resize",$),window.removeEventListener("scroll",$),document.removeEventListener("click",K)}},[h,D]),q.useEffect(()=>()=>{var $;return($=z.current)==null?void 0:$.pause()},[]),c.length===0)return null;const U=c[o]??c[0],X=($=o)=>{const K=z.current,G=c[$];!K||!G||(K.getAttribute("src")!==G.audioUrl&&(K.src=G.audioUrl),K.play().then(()=>d(!0),()=>d(!1)))},Z=()=>{var $;($=z.current)==null||$.pause(),d(!1)},P=$=>{const K=($%c.length+c.length)%c.length;u(K),x({now:0,total:0}),X(K)};return n.jsxs(n.Fragment,{children:[n.jsxs("span",{id:"w4d-mini",ref:w,"data-playing":f?"1":"0",children:[n.jsx("span",{id:"w4d-tape","aria-hidden":!0,title:`${i.place.name}이(가) 만든 노래`,children:n.jsx(s0,{})}),n.jsx("span",{id:"w4d-now","aria-live":"polite",children:U.title}),n.jsx("button",{type:"button",id:"w4d-play","data-playing":f?"1":"0",title:`${f?"멈춤":"재생"} · ${U.title}`,onClick:()=>f?Z():X(),children:f?n.jsx(c0,{}):n.jsx(i0,{})}),n.jsx("button",{type:"button",id:"w4d-toggle",title:"노래 목록","aria-expanded":h,onClick:()=>p($=>!$),children:n.jsx(r0,{})})]}),n.jsx("audio",{ref:z,src:c[0].audioUrl,preload:"none",onTimeUpdate:$=>x({now:$.currentTarget.currentTime,total:$.currentTarget.duration}),onDurationChange:$=>x(K=>({...K,total:$.currentTarget.duration})),onEnded:()=>P(o+1),onError:()=>d(!1)}),n.jsxs("div",{id:"w4d-panel",ref:N,hidden:!h,style:v,children:[n.jsxs("div",{className:"w4d-head",children:[n.jsxs("span",{className:"w4d-head-t",children:[i.place.name,"이(가) 만든 노래"]}),n.jsxs("span",{className:"w4d-head-n",children:[c.length,"곡"]}),n.jsx("button",{type:"button",id:"w4d-close",title:"닫기","aria-label":"닫기",onClick:()=>p(!1),children:n.jsx(o0,{})})]}),n.jsx("ol",{children:c.map(($,K)=>n.jsx("li",{children:n.jsxs("button",{type:"button",className:"w4d-item","aria-current":K===o,"data-playing":K===o&&f?"1":"0",onClick:()=>P(K),children:[n.jsxs("span",{className:"w4d-mark",children:[n.jsx("span",{className:"w4d-disc-sm"}),n.jsxs("span",{className:"w4d-eq","aria-hidden":!0,children:[n.jsx("i",{}),n.jsx("i",{}),n.jsx("i",{})]})]}),n.jsxs("span",{className:"w4d-info",children:[n.jsx("span",{className:"w4d-t",children:$.title}),n.jsx("span",{className:"w4d-sub",children:i.place.name})]}),n.jsx("span",{className:"w4d-time",children:K===o&&(f||g.now>0)?`${Th(g.now)}${g.total?` / ${Th(g.total)}`:""}`:""})]})},$.songId))}),n.jsx("div",{id:"w4d-lyrics-box",hidden:!U.lyrics,children:(U.lyrics??"").replace(/^\[.*\]$/gm,"").replace(/\n{3,}/g,` `).trim()})]})]})}const Ma={LODGING:1,CAFE:2,RESTAURANT:3,CLINIC:4},N1={OWNER:1,CRAWL:3},Ah={UNVERIFIED:1,VERIFIED:3,CORRECTED:4},f0=[Ah.VERIFIED,Ah.CORRECTED];function gp(i){return f0.includes(i)}const bt={YANOLJA:1,GOODCHOICE:2,NAVER_PLACE:3,INSTAGRAM:4,OFFICIAL_SITE:5,BLOG:6,NAVER_BOOKING:7,ETC:99},S1={PUBLISHED:3};function Bs(i){return i.filter(c=>gp(c.status)&&c.value!=null&&c.value!=="")}function bp(i){const c=new Map;for(const o of Bs(i))c.set(o.key,o);return c}function ca(i,c){const o=bp(i).get(c);return(o==null?void 0:o.value)??void 0}function Tt(i,c){const o=bp(i).get(c);if(!(o!=null&&o.value))return;const u=o.type==="number"?d0(o.value):o.value;return o.unit?`${u}${o.unit}`:u}function d0(i){const c=Number(i.replace(/,/g,""));return Number.isFinite(c)?c.toLocaleString("ko-KR"):i}function Po(i){return i.type!=="bool"?i.label:i.label.replace(/\s*(가능|여부)$/,"")||i.label}function m0(i){return i.filter(c=>gp(c.status)&&c.question&&c.answer).sort((c,o)=>c.sortOrder-o.sortOrder)}function eu(i){return i.map(c=>({...c,facts:Bs(c.facts)})).sort((c,o)=>c.sortOrder-o.sortOrder)}const h0={songs:"title",daily:"title",course:"name",schedule:"name",people:"name",chronicle:"title",literature:"workTitle",postcard:"line",quiz:"question",planner:"name",itinerary:"name",video:"url",event:"title"};function p0(i){const c=(i??"").trim();if(!c)return;const o=/(?:youtube\.com\/(?:watch\?(?:.*&)?v=|shorts\/|embed\/|live\/)|youtu\.be\/)([A-Za-z0-9_-]{6,20})/.exec(c);return o==null?void 0:o[1]}function x0(i){return/youtube\.com\/shorts\//.test((i??"").trim())}function g0(i){return`https://i.ytimg.com/vi/${i}/hqdefault.jpg`}function b0(i){return`https://www.youtube-nocookie.com/embed/${i}?autoplay=1&rel=0&modestbranding=1`}const ic={items:[],unverified:0,sourced:0};function v0(i,c){var x,v;const o=y=>{const z=i.slice(0,Math.max(0,y)),w=z.split(` `).length,N=y-z.lastIndexOf(` `);return`${w}번째 줄 ${N}번째 글자`},u=(x=/Unexpected token '(.)'/.exec(c))==null?void 0:x[1],f=u==="}"||u==="]"?"닫는 괄호 바로 앞에 쉼표가 하나 더 있는지 보세요.":"그 앞의 쉼표·따옴표·괄호를 확인해 주세요.",d=/line (\d+) column (\d+)/.exec(c);if(d)return`${d[1]}번째 줄 ${d[2]}번째 글자에서 JSON 이 끊깁니다. ${f}`;const h=/position (\d+)/.exec(c);if(h)return`${o(Number(h[1]))}에서 JSON 이 끊깁니다. ${f}`;const p=(v=/\.\.\."([\s\S]*?)" is not valid JSON/.exec(c))==null?void 0:v[1],g=p?i.indexOf(p):-1;return g>=0?`${o(g+p.length)} 부근에서 JSON 이 끊깁니다. ${f}`:"JSON 이 아닙니다. ChatGPT 가 준 답에서 { 로 시작해 } 로 끝나는 부분만 붙여넣어 주세요."}function y0(i,c){const o=h0[i],u=(c??"").trim();if(!o||!u)return ic;let f;try{f=JSON.parse(u)}catch(y){return{...ic,error:v0(u,y instanceof Error?y.message:"")}}if(typeof f!="object"||f===null||Array.isArray(f))return{...ic,error:"바깥이 { } 로 감싸인 JSON 이어야 합니다."};const d=f,h=typeof d.kind=="string"?d.kind:void 0,p=d.items;if(!Array.isArray(p))return{...ic,error:"items 배열이 없습니다. 프롬프트로 다시 만들어 주세요."};const g=p.filter(y=>typeof y=="object"&&y!==null&&!Array.isArray(y)&&typeof y[o]=="string"&&y[o].trim().length>0);let x=0,v=0;for(const y of g){const z=y;z.verified!=="확인"&&(x+=1),z.source&&typeof z.source=="object"&&(v+=1)}return{items:g,title:typeof d.title=="string"?d.title:void 0,subtitle:typeof d.subtitle=="string"?d.subtitle:void 0,linkUrl:typeof d.linkUrl=="string"&&/^https?:\/\//.test(d.linkUrl)?d.linkUrl:void 0,linkLabel:typeof d.linkLabel=="string"?d.linkLabel:void 0,kindMismatch:h&&h!==i?h:void 0,unverified:x,sourced:v}}const j0=1260,N0=60,S0="10:00",Ch=["봄","여름","가을","겨울"];function Mh(i){const c=/^(\d{1,2}):(\d{2})$/.exec(i.trim());if(!c)return;const o=Number(c[1]),u=Number(c[2]);if(!(o>23||u>59))return o*60+u}function cc(i){const c=(i%1440+1440)%1440;return`${String(Math.floor(c/60)).padStart(2,"0")}:${String(c%60).padStart(2,"0")}`}function z0(i){const c=Mh(i.startTime??"")??Mh(S0)??600,o=[];let u=c,f=0;for(const d of i.stops??[]){const h=Math.max(0,d.moveMinutes??0),p=Math.max(1,d.minutes??N0),g=u+h;if(g+p>j0){f+=1;continue}o.push({stop:d,time:cc(g),until:cc(g+p),move:h}),u=g+p}return{stops:o,from:cc(c),to:cc(u),totalMinutes:u-c,dropped:f}}function E0(i=new Date){const c=i.getMonth()+1,o=Math.floor((c-3+12)%12/3),u=Ch[o];return c%3===0&&i.getDate()<=15?[Ch[(o+3)%4],u]:[u]}function kh(i){const c=parseInt(i.replace("#",""),16);return[c>>16&255,c>>8&255,c&255]}function Oh(i,c,o){if(!/^#[0-9a-fA-F]{6}$/.test(i)||!/^#[0-9a-fA-F]{6}$/.test(c))return i;const[u,f,d]=kh(i),[h,p,g]=kh(c),x=(y,z)=>Math.round(y+(z-y)*o),v=y=>y.toString(16).padStart(2,"0");return`#${v(x(u,h))}${v(x(f,p))}${v(x(d,g))}`}function w0(i){return{surface:Oh(i.bg,i.text,.06),surfaceAlt:i.card,inverse:"#1c1917",border:Oh(i.bg,i.text,.2)}}const vp={[Ma.LODGING]:{type:"HotelRoom",path:"rooms",label:"객실"},[Ma.CAFE]:{type:"MenuItem",path:"menu",label:"메뉴"},[Ma.RESTAURANT]:{type:"MenuItem",path:"menu",label:"메뉴"},[Ma.CLINIC]:{type:"Product",path:"programs",label:"시술"}};function _0(i){return i.links.filter(c=>c.confirmed&&/^https?:\/\//i.test(c.url??""))}function yp(i){var c;for(const[o,u]of[["weekday_price","주중 1박"],["price","1박"],["weekend_price","주말 1박"],["peak_price","성수기 1박"]]){const f=Number((c=ca(i.facts,o))==null?void 0:c.replace(/[^0-9]/g,""));if(Number.isFinite(f)&&f>0)return{price:f,label:u}}}const Dh=[bt.NAVER_BOOKING,bt.YANOLJA,bt.GOODCHOICE,bt.NAVER_PLACE];function dc(i){return Bs(i.facts).filter(c=>c.scope==="place").map(c=>({label:Po(c),value:tu(c,i.facts)})).filter(c=>c.value!=="")}function tu(i,c){const o=Tt(c,i.key);return o?i.type!=="bool"?o:/여부$/.test(i.label)?o==="true"?"있음":o==="false"?"없음":o:o==="true"?"가능":o==="false"?"불가":o:""}const T0=new Set(["weekday_price","weekend_price","peak_price","price_range"]);function fl(i){const c=vp[i.place.category],o=new Map(i.media.map(u=>[u.mediaId,u]));return eu(i.units).map(u=>{const f=Tt(u.facts,"room_intro")??Tt(u.facts,"description"),d=i.place.category===Ma.LODGING?["standard_capacity","max_capacity","bed_type","room_size"]:["price","volume","origin"];return{unitId:u.unitId,slug:u.slug,name:u.name,intro:f,chips:d.map(h=>{var x;const p=Tt(u.facts,h),g=((x=u.facts.find(v=>v.key===h))==null?void 0:x.label)??h;return p?{label:g,value:p}:null}).filter(h=>h!==null),rows:u.facts.filter(h=>!T0.has(h.key)).map(h=>({label:Po(h),value:tu(h,u.facts)})).filter(h=>h.value!==""),images:u.mediaIds.map(h=>o.get(h)).filter(h=>{var p;return!!((p=h==null?void 0:h.alt)!=null&&p.trim())}),priceText:A0(u),prices:M0(u),href:`/${c.path}/${u.slug}`}})}function A0(i){var d,h;const c=Tt(i.facts,"price_range");if(c)return c;const o=Number((d=Tt(i.facts,"weekday_price"))==null?void 0:d.replace(/[^0-9]/g,"")),u=Number((h=Tt(i.facts,"price"))==null?void 0:h.replace(/[^0-9]/g,"")),f=Number.isFinite(o)&&o>0?o:u;if(!(!Number.isFinite(f)||f<=0))return`${f.toLocaleString("ko-KR")}원부터`}const C0=[["weekday_price","주중"],["weekend_price","주말"],["peak_price","성수기"]];function M0(i){return Tt(i.facts,"price_range")?[]:Tt(i.facts,"weekday_price")?C0.map(([c,o])=>({label:o,value:Tt(i.facts,c)??"문의"})):[]}function k0(i){const c=i??"";return/눈|설/.test(c)?"눈":/비|우|소나기/.test(c)?"비":/흐림|구름|안개|박무/.test(c)?"흐림":"맑음"}function O0(i){return i>=30?"혹서":i>=25?"더움":i>=20?"선선":i>=10?"쌀쌀":"추움"}function lu(i){return i.media.filter(c=>{var o;return((o=c.alt)==null?void 0:o.trim())&&!c.unitId})}function D0(i){return m0(i.faqs)}function R0(i){return i.theme.sections.filter(c=>c.enabled)}function Kt(i,c){var o;return((o=i.theme.sections.find(u=>u.id===c))==null?void 0:o.enabled)??!1}function U0(i,c){var u;const o=(u=i.theme.sections.find(f=>f.id===c))==null?void 0:u.body;return(o==null?void 0:o.split(/\n\s*\n/).map(f=>f.trim()).filter(Boolean))??[]}function dl(i,c){var d;const o=i.theme.sections.find(h=>h.id===c),u=y0(c,o==null?void 0:o.data),f=(d=i.local.story)==null?void 0:d[c];return!Array.isArray(f)||f.length===0?u:{...u,items:[...u.items,...f]}}function ft(i){return vp[i.place.category]}function Ye(i,c,o){var f,d;const u=(d=(f=i.theme.sections.find(h=>h.id===c))==null?void 0:f.name)==null?void 0:d.trim();return u||o}function zn(i,c){const o=new Map(Bs(i.facts).filter(u=>u.scope==="place").map(u=>[u.key,u]));return c.map(u=>o.get(u)).filter(u=>u!==void 0).map(u=>({label:Po(u),value:tu(u,i.facts)})).filter(u=>u.value!=="")}function H0(i,c){return zn(i,[c])[0]}const L0=["reservation_required","reservation_channel"];function B0(i){return zn(i,L0)}const q0=["seat_count","terrace","room_available","group_seat_max","power_outlet","study_allowed","wheelchair_accessible"];function Y0(i){return zn(i,q0)}const G0=["operating_hours","session_times","closed_days","age_limit","guide_language"];function $0(i){return zn(i,G0)}const Q0=["check_in_time","check_out_time","operating_hours","closed_days","parking","reservation_required"];function Oa(i){return zn(i,Q0).slice(0,4)}function En(i){const c=fl(i).map(u=>u.priceText).filter(u=>!!u);if(c.length===0)return;const o=u=>Number(u.replace(/[^0-9]/g,""))||Number.MAX_SAFE_INTEGER;return c.reduce((u,f)=>o(f)o.confirmed&&c.includes(o.channel))}function Ze(i){const c=new Map(Dh.map((o,u)=>[o,u]));return Np(i,Dh).filter(o=>!V0(o.url)).sort((o,u)=>(c.get(o.channel)??99)-(c.get(u.channel)??99))}function V0(i){return/\/p\/search\/|[?&]query=/.test(i)}const Z0=["check_in_time","check_out_time","cancel_policy","extra_person_fee","reception_hours","cooking_allowed","pet_allowed","smoking"];function K0(i){return eu(i.units).map(c=>{const o=Tt(c.facts,"standard_capacity"),u=Tt(c.facts,"max_capacity"),f=yp(c);return{unitId:c.unitId,name:c.name,capacityText:[o&&`기준 ${o}`,u&&`최대 ${u}`].filter(Boolean).join(" · ")||void 0,rateRows:["weekday_price","weekend_price","peak_price"].map(d=>{var g;const h=Tt(c.facts,d),p=((g=c.facts.find(x=>x.key===d))==null?void 0:g.label)??d;return h?{label:p,value:h}:null}).filter(d=>d!==null),baseRateText:f?`${f.label} ${f.price.toLocaleString("ko-KR")}원`:void 0,href:"#units"}})}function J0(i){if(i.place.category!==Ma.LODGING)return null;const c={offers:K0(i).filter(u=>u.rateRows.length>0||u.capacityText!==void 0),notices:zn(i,Z0),links:Ze(i),contacts:wn(i).filter(u=>!Ze(i).some(f=>f.url===u.url)),phone:i.place.phone};return c.offers.length===0&&c.notices.length===0&&c.links.length===0&&c.contacts.length===0&&!c.phone?null:c}function W0(i,c){return i.theme.sections.some(o=>o.id===c)}function wn(i){return Np(i,X0)}function ht(i,c){const o=ks(i),u=o.endsWith("예약")?o:`${o} 예약`;return c?`${c} ${u}`:u}function Sp(i){return i.channel===bt.NAVER_BOOKING?"네이버 예약으로 바로 예약하기":`${ml(i)}에서 예약`}function F0(){var u;const i=le(),c=ft(i),o=[{label:"소개",href:"#about",show:Kt(i,"intro")},{label:c.label,href:"#units",show:i.units.length>0},{label:"이용 정보",href:"#info",show:!0},{label:"축제",href:"#festival",show:(((u=i.local.festivals)==null?void 0:u.length)??0)>0},{label:"주변 정보",href:"#guide",show:Kt(i,"local")},{label:"오시는 길",href:"#location",show:!0},{label:"FAQ",href:"#faq",show:i.faqs.length>0}].filter(f=>f.show);return n.jsx("header",{className:"border-line safe-t sticky top-0 z-40 w-full border-b backdrop-blur-md",style:{backgroundColor:"color-mix(in srgb, var(--tpl-surface, #fff) 88%, transparent)"},children:n.jsxs("div",{className:"shell flex h-16 items-center justify-between gap-3",children:[n.jsxs("a",{href:"#top",className:"flex min-w-0 items-center gap-2.5",children:[n.jsx("span",{className:"serif flex size-8 shrink-0 items-center justify-center rounded-md text-[length:var(--fs-sm)]",style:{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)",fontWeight:"var(--tpl-heading-weight, 700)"},"aria-hidden":!0,children:i.place.name.slice(0,1)}),n.jsxs("span",{className:"flex min-w-0 flex-col",children:[n.jsx("span",{className:"serif truncate text-[length:var(--fs-lead)] leading-tight",style:{fontWeight:"var(--tpl-heading-weight, 700)"},children:i.place.name}),i.place.englishName&&n.jsx("span",{className:"text-muted truncate text-[10px] uppercase leading-tight tracking-[0.14em]",children:i.place.englishName})]})]}),n.jsx("nav",{"aria-label":"주요 메뉴",className:"hidden items-center gap-7 lg:flex",children:o.map(f=>n.jsx("a",{href:f.href,className:"text-muted py-1 text-[length:var(--fs-sm)] font-medium transition-colors hover:text-current",children:f.label},f.label))}),n.jsxs("div",{className:"flex shrink-0 items-center gap-1.5",children:[n.jsx(u0,{}),i.place.phone&&n.jsxs("a",{href:`tel:${i.place.phone}`,className:"tap inline-flex items-center gap-1.5 rounded-lg px-3 text-[length:var(--fs-xs)] font-bold transition-opacity hover:opacity-90",style:{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)"},children:[n.jsx(At,{className:"size-4"}),n.jsx("span",{className:"hidden sm:inline",children:i.place.phone}),n.jsx("span",{className:"sr-only sm:hidden",children:"전화"})]}),n.jsxs("details",{className:"relative lg:hidden",children:[n.jsx("summary",{className:"tap flex cursor-pointer items-center justify-center rounded-lg marker:content-none [&::-webkit-details-marker]:hidden","aria-label":"메뉴 열기",children:n.jsx(hp,{className:"size-5"})}),n.jsx("nav",{"aria-label":"전체 메뉴",className:"border-line tpl-border absolute right-0 top-[calc(100%+0.5rem)] z-50 w-52 overflow-hidden rounded-xl border shadow-lg",style:{backgroundColor:"var(--tpl-surface, #fff)"},children:n.jsx("ul",{className:"divide-line divide-y",children:o.map(f=>n.jsx("li",{children:n.jsx("a",{href:f.href,className:"tap flex items-center px-4 text-[length:var(--fs-sm)] font-medium",children:f.label})},f.label))})})]})]})]})})}function mc(i){return i.media.find(c=>{var o;return c.isPrimary&&((o=c.alt)==null?void 0:o.trim())})??i.media.find(c=>{var o;return(o=c.alt)==null?void 0:o.trim()})}function I0(i){return P0(i).join(" ")}function P0(i){const{place:c,facts:o}=i,u=[],f=c.addressLocality??c.addressRegion??c.roadAddress??c.address;u.push(f?`${f}에 있는 ${c.name}입니다.`:`${c.name}입니다.`);const d=ca(o,"check_in_time"),h=ca(o,"check_out_time");d&&h&&u.push(`체크인 ${d}, 체크아웃 ${h}.`);const p=ca(o,"business_hours")??ca(o,"open_hours");p&&u.push(`영업시간 ${p}.`);const g=ca(o,"pet_allowed");if(g==="false"&&u.push("반려동물 동반 불가."),g==="true"&&u.push("반려동물 동반 가능."),ca(o,"parking")==="true"){const v=ca(o,"parking_capacity");u.push(v?`주차 ${v}대 가능.`:"주차 가능.")}return c.phone&&u.push(`문의 ${c.phone}.`),u}const ev=6e3,tv=5;function lv(){const i=le(),{place:c,narrative:o}=i,u=Oa(i),f=En(i),d=Ze(i),h=c.addressLocality??c.addressRegion,p=[...i.media].filter(N=>{var T;return(T=N.alt)==null?void 0:T.trim()}).sort((N,T)=>Number(T.isPrimary)-Number(N.isPrimary)).slice(0,tv),[g,x]=q.useState(0),[v,y]=q.useState(!1),z=q.useRef(null),w=q.useCallback(N=>x(T=>(T+N+p.length)%p.length),[p.length]);return q.useEffect(()=>{if(v||p.length<2)return;const N=setInterval(()=>w(1),ev);return()=>clearInterval(N)},[v,w,p.length]),n.jsxs("section",{id:"top",className:"w-full",children:[n.jsxs("div",{className:"relative w-full overflow-hidden",style:{backgroundColor:"var(--tpl-inverse, #1c1917)",color:"var(--tpl-bg, #ffffff)",height:"clamp(24rem, 76vh, 42rem)"},onMouseEnter:()=>y(!0),onMouseLeave:()=>y(!1),onFocusCapture:()=>y(!0),onBlurCapture:()=>y(!1),onTouchStart:N=>{z.current=N.touches[0].clientX},onTouchEnd:N=>{const T=z.current;if(z.current=null,T===null)return;const D=N.changedTouches[0].clientX-T;Math.abs(D)>40&&w(D<0?1:-1)},children:[p.map((N,T)=>n.jsx("img",{src:N.url,alt:N.alt,fetchPriority:T===0?"high":"low",loading:T===0?void 0:"lazy",decoding:"async",className:"absolute inset-0 size-full object-cover object-center transition-opacity duration-700",style:{opacity:T===g?1:0}},N.mediaId)),n.jsx("div",{className:"pointer-events-none absolute inset-0",style:{background:"linear-gradient(to bottom, color-mix(in srgb, var(--tpl-inverse, #1c1917) 34%, transparent) 0%, color-mix(in srgb, var(--tpl-inverse, #1c1917) 16%, transparent) 45%, color-mix(in srgb, var(--tpl-inverse, #1c1917) 60%, transparent) 100%)"}}),n.jsxs("div",{className:"pointer-events-none absolute inset-0 flex flex-col items-center justify-center px-6 text-center",children:[h&&n.jsx("p",{className:"label opacity-85",children:h}),n.jsx("h1",{className:"serif mt-2",style:{fontSize:"var(--fs-display)",fontWeight:"var(--tpl-heading-weight, 700)",lineHeight:1.15},children:c.name}),(o.tagline??o.heroSubline)&&n.jsx("p",{className:"measure mt-3 text-[length:var(--fs-lead)] leading-relaxed opacity-90",children:o.tagline??o.heroSubline})]}),p.length>1&&n.jsxs(n.Fragment,{children:[n.jsx(Rh,{dir:"prev",onClick:()=>w(-1)}),n.jsx(Rh,{dir:"next",onClick:()=>w(1)}),n.jsx("ul",{className:"absolute inset-x-0 bottom-5 flex items-center justify-center gap-2",children:p.map((N,T)=>n.jsx("li",{children:n.jsx("button",{type:"button",onClick:()=>x(T),"aria-label":`${T+1}번째 사진`,"aria-current":T===g,className:`h-1.5 rounded-full bg-current transition-all ${T===g?"w-7 opacity-90":"w-1.5 opacity-45 hover:opacity-70"}`})},N.mediaId))})]})]}),(f||u.length>0||d.length>0||c.phone)&&n.jsx("div",{className:"border-line paper w-full border-b",style:{backgroundColor:"var(--tpl-surface-alt, #f5f5f4)"},children:n.jsxs("div",{className:"shell flex flex-col items-center gap-4 py-4 lg:flex-row lg:justify-between lg:gap-8",children:[n.jsxs("dl",{className:"divide-line flex flex-wrap justify-center gap-y-2 sm:divide-x",children:[f&&n.jsxs("div",{className:"px-5 text-center sm:first:pl-0",children:[n.jsx("dt",{className:"label",children:"1박 최저가"}),n.jsx("dd",{className:"text-[length:var(--fs-lead)] font-bold tabular-nums",children:f})]}),u.map(N=>n.jsxs("div",{className:"px-5 text-center",children:[n.jsx("dt",{className:"label",children:N.label}),n.jsx("dd",{className:"text-[length:var(--fs-lead)] font-bold",children:N.value})]},N.label))]}),n.jsxs("div",{className:"flex shrink-0 gap-2",children:[c.phone&&n.jsxs("a",{href:`tel:${c.phone}`,className:"tap border-line tpl-border inline-flex items-center gap-1.5 rounded-lg border px-4 text-[length:var(--fs-sm)] font-semibold",children:[n.jsx(At,{className:"size-4"}),n.jsx("span",{children:c.phone})]}),d.length>0&&n.jsx("a",{href:d[0].url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex items-center justify-center rounded-lg px-6 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-90",style:{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)"},children:ht(d[0])})]})]})})]})}function Rh({dir:i,onClick:c}){const o=i==="prev"?oa:ua;return n.jsx("button",{type:"button",onClick:c,"aria-label":i==="prev"?"이전 사진":"다음 사진",className:`tap absolute top-1/2 hidden -translate-y-1/2 items-center justify-center rounded-full bg-current/15 px-3 backdrop-blur-sm transition-colors hover:bg-current/25 sm:inline-flex ${i==="prev"?"left-4":"right-4"}`,children:n.jsx(o,{className:"size-5"})})}function av(){const i=le(),{place:c,narrative:o}=i,u=Oa(i).slice(0,3),f=En(i),d=Ze(i),h=H0(i,"extra_person_fee"),p=[...i.media].filter(x=>{var v;return(v=x.alt)==null?void 0:v.trim()}).sort((x,v)=>Number(v.isPrimary)-Number(x.isPrimary))[0],g=c.addressLocality??c.addressRegion;return n.jsx("section",{id:"top",className:"border-line w-full border-b",children:n.jsxs("div",{className:"grid lg:grid-cols-2",children:[n.jsx("div",{className:"relative order-1 min-h-[16rem] lg:order-none lg:min-h-[34rem]",children:p&&n.jsx("img",{src:p.url,alt:p.alt,fetchPriority:"high",decoding:"async",className:"absolute inset-0 size-full object-cover"})}),n.jsxs("div",{className:"order-2 flex flex-col justify-center gap-6 px-6 py-10 sm:px-10 lg:order-none lg:px-14 lg:py-16",style:{backgroundColor:"var(--tpl-surface-alt, #f5f5f4)"},children:[n.jsxs("div",{children:[g&&n.jsx("p",{className:"label",children:g}),n.jsx("h1",{className:"serif mt-2",style:{fontSize:"var(--fs-display)",fontWeight:"var(--tpl-heading-weight, 700)",lineHeight:1.15},children:c.name}),n.jsx("p",{className:"measure mt-3 text-[length:var(--fs-lead)] leading-relaxed opacity-80",children:o.tagline??o.heroSubline??o.summary})]}),n.jsxs("div",{className:"panel p-5 sm:p-6",children:[f&&n.jsxs("p",{className:"flex items-baseline gap-2",children:[n.jsx("span",{className:"text-[length:var(--fs-h3)] font-bold tabular-nums",children:f}),n.jsx("span",{className:"text-muted text-[length:var(--fs-xs)]",children:"1박 기준"})]}),u.length>0&&n.jsxs("dl",{className:"divide-line mt-4 divide-y border-t pt-1",children:[u.map(x=>n.jsxs("div",{className:"flex items-baseline justify-between gap-4 py-2 text-[length:var(--fs-sm)]",children:[n.jsx("dt",{className:"text-muted",children:x.label}),n.jsx("dd",{className:"font-semibold",children:x.value})]},x.label)),h&&n.jsxs("div",{className:"flex items-baseline justify-between gap-4 py-2 text-[length:var(--fs-sm)]",children:[n.jsx("dt",{className:"text-muted",children:h.label}),n.jsx("dd",{className:"font-semibold tabular-nums",children:h.value})]})]}),n.jsxs("div",{className:"mt-5 flex flex-col gap-2 sm:flex-row",children:[d.length>0&&n.jsx("a",{href:d[0].url,target:"_blank",rel:"noopener noreferrer",className:"tap flex flex-1 items-center justify-center rounded-lg px-6 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-90",style:{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)"},children:ht(d[0])}),c.phone&&n.jsxs("a",{href:`tel:${c.phone}`,className:"tap border-line tpl-border flex items-center justify-center gap-1.5 rounded-lg border px-5 text-[length:var(--fs-sm)] font-semibold",children:[n.jsx(At,{className:"size-4"}),n.jsx("span",{children:c.phone})]})]})]})]})]})})}const nv={"stay-reservation":"reservation","stay-oasi":"oasi","stay-studio":"studio","stay-pastel":"pastel","stay-editorial":"editorial"};function zp(i){return nv[i??""]??"default"}function hc(){return zp(le().theme.templateId)}const rc=5,Xo=1.8,sv=3;function iv(i){const c=i*rc,o=f=>`${(f/c*100).toFixed(3)}%`;return`${i<2?"":` .stay2-hero-slide { animation: stay2-hero-fade ${c}s ease-in-out infinite; } @keyframes stay2-hero-fade { 0% { opacity: 1; } ${o(rc)} { opacity: 1; } ${o(rc+Xo)} { opacity: 0; } ${o(c-Xo)} { opacity: 0; } 100% { opacity: 1; } }`} .stay2-hero-focus { animation: stay2-hero-focus 1.6s cubic-bezier(0.16, 1, 0.3, 1) both; } @keyframes stay2-hero-focus { 0% { opacity: 0; filter: blur(0.22em); } 40% { opacity: 1; } 100% { opacity: 1; filter: blur(0); } } @media (prefers-reduced-motion: reduce) { .stay2-hero-slide, .stay2-hero-focus { animation: none; } } `}function cv(i,c){return((c-i)%c*rc+Xo).toFixed(1)}function rv(){const i=le(),{place:c,narrative:o}=i,u=ft(i),f=Ze(i)[0],d=o.tagline??o.heroSubline,h=[...i.media].filter(x=>{var v;return(v=x.alt)==null?void 0:v.trim()}).sort((x,v)=>Number(v.isPrimary)-Number(x.isPrimary)),p=h.length<2?0:Math.min(h.length,sv),g=f?{href:f.url,label:`${ks(f)}에서 예약`,external:!0}:c.phone?{href:`tel:${c.phone}`,label:`${c.phone} 예약 문의`,external:!1}:i.units.length>0?{href:"#units",label:`${u.label} 보기`,external:!1}:null;return n.jsxs("section",{id:"top",className:"w-full",children:[n.jsx("style",{dangerouslySetInnerHTML:{__html:iv(p)}}),n.jsxs("div",{className:"relative flex w-full items-center justify-center overflow-hidden",style:{backgroundColor:"var(--tpl-inverse, #1c1917)",color:"var(--tpl-bg, #ffffff)",height:"100svh"},children:[h.map((x,v)=>n.jsx("img",{src:x.url,alt:x.alt,fetchPriority:v===0?"high":v0?h:dc(i).slice(0,4),g=(u==null?void 0:u.caption)??c.name;return n.jsxs("section",{id:"top","data-oasi":!0,"aria-labelledby":"top-heading",className:"pt-12 lg:pt-16",children:[n.jsx("h1",{id:"top-heading",className:"text-[length:var(--fs-sm)] font-normal tracking-[0.08em] leading-[1.9]",children:c.name}),o.heroHeadline&&n.jsx("p",{className:"text-muted measure mt-3 text-[length:var(--fs-xs)] leading-[1.9]",children:o.heroHeadline}),u&&n.jsxs("figure",{className:"relative mx-auto mt-10 w-full max-w-[34rem]",children:[n.jsx("img",{src:u.url,alt:u.alt,fetchPriority:"high",decoding:"async",width:u.width,height:u.height,className:"block h-[clamp(17rem,27vw,24rem)] w-full object-cover"}),n.jsx("figcaption",{className:"text-muted absolute left-full top-0 ml-5 hidden max-h-full overflow-hidden text-ellipsis whitespace-nowrap text-[length:var(--fs-xs)] tracking-[0.14em] xl:block",style:{writingMode:"vertical-rl"},children:g})]}),(f||p.length>0)&&n.jsxs("dl",{className:"border-line mt-10 flex flex-wrap gap-x-10 gap-y-4 border-t pt-5 text-[length:var(--fs-xs)] leading-[1.9]",children:[f&&n.jsxs("div",{children:[n.jsx("dt",{className:"text-muted",children:"최저가"}),n.jsx("dd",{children:f})]}),p.map(x=>n.jsxs("div",{children:[n.jsx("dt",{className:"text-muted",children:x.label}),n.jsx("dd",{children:x.value})]},x.label))]}),d.length>0&&n.jsx("ul",{className:"mt-6 flex flex-wrap items-center gap-x-8",children:d.map(x=>n.jsx("li",{children:n.jsx("a",{href:x.url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex items-center text-[length:var(--fs-sm)] underline underline-offset-[6px]",style:{color:"var(--color-brand)"},children:ht(x)})},x.url))})]})}function uv(){const i=le(),c=lu(i),o=mc(i),u=o&&c.some(f=>f.mediaId===o.mediaId)?[o,...c.filter(f=>f.mediaId!==o.mediaId)]:c;return u.length===0?null:n.jsx("section",{id:"top","aria-label":`${i.place.name} 사진`,className:"w-full",children:n.jsx("div",{className:"columns-1 gap-2 sm:columns-2",children:u.map((f,d)=>n.jsx("figure",{className:"mb-2 break-inside-avoid",children:n.jsx("img",{src:f.url,alt:f.alt,loading:d===0?"eager":"lazy",fetchPriority:d===0?"high":void 0,decoding:"async",width:f.width,height:f.height,className:"block h-auto w-full"})},f.mediaId))})})}function fv(){const i=le(),{place:c,narrative:o}=i,u=Oa(i),f=En(i),d=Ze(i),h=o.tagline??o.summary,p=c.addressLocality??c.addressRegion,g=[...i.media].filter(x=>{var v;return(v=x.alt)==null?void 0:v.trim()}).sort((x,v)=>Number(v.isPrimary)-Number(x.isPrimary)).slice(0,3);return n.jsxs("section",{id:"top","data-pastel":"own",className:"w-full",children:[n.jsxs("div",{className:"relative w-full overflow-hidden",style:{backgroundColor:"var(--pastel-1)"},children:[n.jsxs("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0",children:[n.jsx("span",{className:"absolute rounded-full",style:{width:"clamp(12rem, 26vw, 22rem)",aspectRatio:"1",backgroundColor:"var(--pastel-2)",right:"-6%",top:"-6%",opacity:.75}}),n.jsx("span",{className:"absolute rounded-full",style:{width:"clamp(8rem, 18vw, 15rem)",aspectRatio:"1",backgroundColor:"var(--pastel-3)",left:"46%",bottom:"-10%",opacity:.7}})]}),n.jsxs("div",{className:"shell relative grid items-center gap-8 lg:grid-cols-2 lg:gap-14",style:{paddingBlock:"var(--section-space)"},children:[n.jsxs("div",{className:"order-2 lg:order-1",children:[p&&n.jsx("p",{className:"inline-flex items-center rounded-full px-3 py-1 text-[length:var(--fs-xs)] font-extrabold",style:{backgroundColor:"var(--tpl-bg, #fff)",color:"var(--pastel-ink)"},children:p}),n.jsx("h1",{className:"mt-4 break-keep",style:{fontSize:"var(--fs-display)",fontWeight:800,lineHeight:1.2,letterSpacing:"var(--tpl-heading-tracking, -0.03em)"},children:c.name}),h&&n.jsx("p",{className:"measure mt-4 text-[length:var(--fs-lead)] font-medium leading-relaxed opacity-80",children:h}),d.length>0&&n.jsx("a",{href:d[0].url,target:"_blank",rel:"noopener noreferrer",className:"tap mt-7 inline-flex items-center justify-center rounded-full px-8 text-[length:var(--fs-sm)] font-extrabold transition-opacity hover:opacity-90",style:{backgroundColor:"var(--pastel-ink)",color:"var(--tpl-bg, #fff)"},children:ht(d[0])})]}),n.jsxs("div",{className:"order-1 lg:order-2",children:[g[0]&&n.jsx("div",{className:"relative w-full overflow-hidden",style:{aspectRatio:"1 / 1",borderRadius:"calc(var(--tpl-radius, 24px) * 1.6)",boxShadow:"0 0 0 clamp(6px, 1.4vw, 12px) var(--tpl-bg, #fff)"},children:n.jsx("img",{src:g[0].url,alt:g[0].alt,fetchPriority:"high",decoding:"async",className:"size-full object-cover"})}),g.length>1&&n.jsx("ul",{className:"mt-3 grid grid-cols-2 gap-3",children:g.slice(1).map(x=>n.jsx("li",{className:"relative overflow-hidden",style:{aspectRatio:"4 / 3",borderRadius:"var(--tpl-radius, 24px)",boxShadow:"0 0 0 clamp(4px, 1vw, 8px) var(--tpl-bg, #fff)"},children:n.jsx("img",{src:x.url,alt:x.alt,loading:"lazy",decoding:"async",className:"size-full object-cover"})},x.mediaId))})]})]})]}),(f||u.length>0)&&n.jsx("div",{className:"w-full",style:{backgroundColor:"var(--pastel-2)"},children:n.jsxs("dl",{className:"shell flex flex-wrap items-center justify-center gap-x-12 gap-y-5 py-8 text-center",children:[f&&n.jsxs("div",{children:[n.jsx("dt",{className:"text-[length:var(--fs-xs)] font-extrabold",style:{color:"var(--tpl-bg, #fff)",opacity:.85},children:"최저가"}),n.jsx("dd",{className:"mt-1 font-extrabold tabular-nums",style:{fontSize:"var(--fs-h3)",color:"var(--tpl-bg, #fff)"},children:f})]}),u.map(x=>n.jsxs("div",{children:[n.jsx("dt",{className:"text-[length:var(--fs-xs)] font-extrabold",style:{color:"var(--tpl-bg, #fff)",opacity:.85},children:x.label}),n.jsx("dd",{className:"mt-1 font-extrabold",style:{fontSize:"var(--fs-h3)",color:"var(--tpl-bg, #fff)"},children:x.value})]},x.label))]})})]})}const Os="repeating-linear-gradient(90deg, color-mix(in oklab, currentColor 3%, transparent) 0 1px, transparent 1px 6px),repeating-linear-gradient(0deg, color-mix(in oklab, currentColor 2%, transparent) 0 1px, transparent 1px 6px)",dv={intro:"about",info:"info",rooms:"units",menu:"units",programs:"units",pricing:"pricing",booking:"booking",space:"space",inquiry:"inquiry",exhibition:"exhibition",photos:"gallery",local:"guide",weather:"weather",map:"location",faq:"faq",songs:"songs",daily:"daily",chronicle:"chronicle",people:"people",quiz:"quiz",postcard:"postcard",video:"video",itinerary:"itinerary"},mv={about:"소개",info:"이용 정보",pricing:"요금",booking:"예약 안내",space:"공간",inquiry:"문의",exhibition:"관람 안내",gallery:"사진",guide:"주변",weather:"날씨",location:"오시는 길",faq:"자주 묻는 질문",songs:"노래",daily:"일력",chronicle:"연표",people:"인물",quiz:"퀴즈",postcard:"엽서",video:"영상",itinerary:"일정"};function Uh(i){return String(i).padStart(2,"0")}function Ep(){var f;const i=le(),c=ft(i),o=new Set,u=[];for(const d of R0(i)){const h=dv[d.id];if(!h||o.has(h)||h==="units"&&i.units.length===0)continue;o.add(h);const p=(f=d.name)==null?void 0:f.trim();u.push({no:Uh(u.length+1),label:p||mv[h]||c.label,anchor:h})}return o.has("location")||u.push({no:Uh(u.length+1),label:"오시는 길",anchor:"location"}),u}function au({id:i,title:c,lead:o,aside:u}){var d;const f=(d=Ep().find(h=>h.anchor===i))==null?void 0:d.no;return n.jsxs("header",{className:"mb-7 sm:mb-10",children:[n.jsx("div",{"aria-hidden":!0,className:"mb-5 h-0.5 w-full bg-current opacity-75"}),n.jsxs("div",{className:"flex flex-col gap-4 lg:flex-row lg:items-end lg:justify-between lg:gap-10",children:[n.jsxs("div",{className:"relative min-w-0 flex-1",children:[f&&n.jsx("span",{"aria-hidden":!0,className:"serif pointer-events-none absolute left-0 top-1/2 -translate-y-1/2 select-none leading-none tabular-nums",style:{fontSize:"clamp(2.5rem, 7vw, 5rem)",fontWeight:800,opacity:.12},children:f}),n.jsx("h2",{id:`${i}-heading`,className:"h2 relative pl-9 sm:pl-14 xl:pl-20",style:{fontWeight:800},children:c}),o&&n.jsx("p",{className:"text-muted measure relative mt-2 pl-9 font-serif text-[length:var(--fs-sm)] leading-relaxed sm:pl-14 xl:pl-20",children:o})]}),u&&n.jsx("div",{className:"shrink-0",children:u})]})]})}function hv(){const i=le(),{place:c,narrative:o}=i,u=mc(i),f=ft(i),d=fl(i),h=Oa(i),p=En(i),g=Ze(i)[0],x=wn(i)[0],v=o.tagline??o.heroSubline,z=[c.addressSubLocality??c.addressLocality??c.addressRegion,d.length>0?`${f.label} ${d.length}개`:void 0,p].filter(w=>!!w);return n.jsx("section",{id:"top",className:"relative w-full",style:{backgroundImage:Os},children:n.jsxs("div",{className:"grid grid-cols-12",children:[u&&n.jsx("div",{className:"relative col-span-12 xl:col-span-8 xl:col-start-5 xl:row-start-1",style:{minHeight:"clamp(15rem, 52vh, 34rem)",backgroundColor:"var(--tpl-inverse)"},children:n.jsx("img",{src:u.url,alt:u.alt,fetchPriority:"high",decoding:"async",width:u.width,height:u.height,className:"absolute inset-0 size-full object-cover"})}),n.jsx("div",{className:"z-10 col-span-12 xl:col-start-1 xl:row-start-1 xl:mb-12 xl:mr-16 xl:self-end",style:{backgroundColor:"color-mix(in srgb, var(--tpl-inverse) 88%, transparent)",color:"var(--tpl-bg)"},children:n.jsx("h1",{className:"serif px-4 py-5 sm:px-6 xl:py-8 xl:pl-10 xl:pr-16",style:{fontSize:"clamp(2.25rem, 7.5vw, 5.5rem)",fontWeight:800,lineHeight:.98,letterSpacing:"-0.035em"},children:c.name})}),n.jsxs("div",{className:"col-span-12 flex flex-col gap-5 px-4 py-8 sm:px-6 xl:col-span-4 xl:col-start-1 xl:row-start-1 xl:py-12 xl:pb-56 xl:pl-10 xl:pr-8",children:[v&&n.jsx("p",{className:"measure font-serif text-[length:var(--fs-lead)] leading-relaxed",children:v}),z.length>0&&n.jsx("p",{className:"text-[length:var(--fs-sm)] font-semibold tabular-nums",children:z.join(" · ")}),(g||c.phone||x)&&n.jsxs("div",{className:"flex flex-wrap items-center gap-x-6 gap-y-1 text-[length:var(--fs-sm)] font-bold",children:[g&&n.jsx("a",{href:g.url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex items-center underline underline-offset-4",children:ht(g)}),c.phone&&n.jsx("a",{href:`tel:${c.phone}`,className:"tap inline-flex items-center underline underline-offset-4",children:c.phone}),x&&n.jsxs("a",{href:x.url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex items-center underline underline-offset-4",children:[ml(x)," 문의"]})]}),h.length>0&&n.jsx("dl",{className:"mt-1",children:h.map(w=>n.jsxs("div",{className:"border-line flex items-baseline justify-between gap-4 border-t py-2 text-[length:var(--fs-sm)]",children:[n.jsx("dt",{className:"text-muted shrink-0",children:w.label}),n.jsx("dd",{className:"text-right font-semibold",children:w.value})]},w.label))})]})]})})}function pv(){var g;const i=le(),c=hc();if(c==="reservation")return n.jsx(rv,{});if(c==="oasi")return n.jsx(ov,{});if(c==="studio")return n.jsx(uv,{});if(c==="pastel")return n.jsx(fv,{});if(c==="editorial")return n.jsx(hv,{});const o=(g=i.theme.sections.find(x=>x.id==="hero"))==null?void 0:g.variantId;if(o==="hero.slideshow")return n.jsx(lv,{});if(o==="hero.split")return n.jsx(av,{});const{place:u,narrative:f}=i,d=mc(i),h=ft(i);Ze(i);const p=u.addressLocality??u.addressRegion;return n.jsx("section",{id:"top",className:"w-full",children:n.jsxs("div",{className:"relative flex w-full items-end overflow-hidden",style:{backgroundColor:"var(--tpl-inverse, #1c1917)",color:"var(--tpl-bg, #ffffff)",minHeight:"clamp(24rem, 62vh, 36rem)"},children:[d&&n.jsxs("div",{className:"absolute inset-0 z-0",children:[n.jsx("img",{src:d.url,alt:d.alt,fetchPriority:"high",decoding:"async",width:d.width,height:d.height,className:"size-full object-cover object-center"}),n.jsx("div",{className:"absolute inset-0",style:{background:"linear-gradient(to top, color-mix(in srgb, var(--tpl-inverse, #1c1917) 88%, transparent) 0%, color-mix(in srgb, var(--tpl-inverse, #1c1917) 45%, transparent) 34%, transparent 66%)"}})]}),n.jsxs("div",{className:"shell relative z-10 pb-10 pt-24 sm:pb-12",children:[p&&n.jsxs("p",{className:"mb-3 inline-flex items-center gap-1 text-[length:var(--fs-xs)] opacity-80",children:[n.jsx(Ls,{className:"size-3.5"}),n.jsx("span",{children:p})]}),n.jsx("h1",{className:"serif",style:{fontSize:"var(--fs-display)",fontWeight:"var(--tpl-heading-weight, 700)",lineHeight:1.15},children:u.name}),(f.tagline??f.heroSubline??f.summary)&&n.jsx("p",{className:"measure mt-3 text-[length:var(--fs-lead)] leading-relaxed opacity-85",children:f.tagline??f.heroSubline??f.summary}),i.units.length>0&&n.jsxs("a",{href:"#units",className:"mt-6 inline-flex items-center gap-1 text-[length:var(--fs-sm)] font-medium underline-offset-4 opacity-80 transition-opacity hover:opacity-100",children:[n.jsxs("span",{children:[h.label," 보기"]}),n.jsx(fc,{className:"size-4"})]})]})]})})}function nu(i){if(!i)return"";const c=new Date(i);return Number.isNaN(c.getTime())?"":`${c.getFullYear()}년 ${c.getMonth()+1}월 ${c.getDate()}일`}function qs(i){if(!i)return"";const c=new Date(i);return Number.isNaN(c.getTime())?"":c.toLocaleDateString("sv-SE",{timeZone:"Asia/Seoul"})}function Vo(i){return`https://search.naver.com/search.naver?query=${encodeURIComponent(i)}`}function xv(i){return`https://www.youtube.com/results?search_query=${encodeURIComponent(i)}`}function su(i){return i.replace(/,/g," ").replace(/\s+/g," ").trim()}function gv(i,c,o){return c==null||o==null?`https://map.kakao.com/link/search/${encodeURIComponent(i)}`:`https://map.kakao.com/link/to/${encodeURIComponent(su(i))},${c},${o}`}function bv(i,c){const o=u=>`${u.lng},${u.lat},${encodeURIComponent(su(u.name))}`;return`https://map.naver.com/p/directions/${o(i)}/${o(c)}/-/car`}function wp(i,c,o){return c==null||o==null?`https://map.naver.com/p/search/${encodeURIComponent(i)}`:`https://map.naver.com/p/directions/-/${o},${c},${encodeURIComponent(su(i))}/-/transit`}function vv(i,c,o=16/9,u=.0022){const f=Math.max(Math.cos(i*Math.PI/180),.01),d=o*u/f;return`https://www.openstreetmap.org/export/embed.html?bbox=${[c-d,i-u,c+d,i+u].map(p=>p.toFixed(6)).join(",")}&layer=mapnik&marker=${i},${c}`}function yv(i,c,o){if(c==null||o==null)return;const u=encodeURIComponent(i);return`tmap://route?goalname=${u}&goalx=${o}&goaly=${c}&rGoName=${u}&rGoX=${o}&rGoY=${c}`}function Hh(){const i=le(),c=dc(i).slice(0,6),o=i.narrative.summary??I0(i);return c.length===0&&!o?null:n.jsx("section",{id:"summary","aria-labelledby":"summary-heading",className:"border-line w-full border-b py-10 sm:py-14",style:{backgroundColor:"var(--tpl-surface-alt, #f5f5f4)"},children:n.jsx("div",{className:"shell",children:n.jsxs("div",{className:"grid gap-8 lg:grid-cols-12 lg:gap-12",children:[n.jsxs("div",{className:"lg:col-span-5",children:[n.jsx("h2",{id:"summary-heading",className:"h3",children:"예약 전 확인"}),o&&n.jsx("p",{className:"measure mt-3 text-[length:var(--fs-body)] leading-relaxed",children:o}),n.jsxs("p",{className:"text-muted mt-3 text-[length:var(--fs-xs)]",children:[nu(i.site.updatedAt)," 기준, 사업자가 확인한 정보입니다."]})]}),c.length>0&&n.jsx("dl",{className:"grid grid-cols-1 gap-x-10 lg:col-span-7 xl:grid-cols-2",children:c.map(u=>n.jsxs("div",{className:"border-line flex flex-col gap-0.5 py-2.5 sm:flex-row sm:gap-4 sm:border-b",children:[n.jsx("dt",{className:"text-muted shrink-0 text-[length:var(--fs-sm)] sm:w-28",children:u.label}),n.jsx("dd",{className:"text-[length:var(--fs-sm)] font-semibold",children:u.value})]},u.label))})]})})})}function iu({id:i,title:c,lead:o,aside:u}){return n.jsxs("header",{className:"mb-10 flex flex-col items-center gap-4 text-center sm:mb-14",children:[n.jsx("h2",{id:`${i}-heading`,className:"serif max-w-full",style:{fontSize:"var(--fs-h2)",fontWeight:300,letterSpacing:"0.04em",lineHeight:1.35},children:c}),n.jsx("i",{"aria-hidden":!0,className:"block h-px w-10 bg-current opacity-25"}),o&&n.jsx("p",{className:"text-muted measure text-[length:var(--fs-sm)] leading-loose",children:o}),u&&n.jsx("div",{className:"text-[length:var(--fs-xs)]",children:u})]})}function cu({id:i,title:c,lead:o,aside:u}){return n.jsxs("header",{className:"mb-8 flex flex-col gap-3 sm:flex-row sm:items-baseline sm:justify-between sm:gap-8",children:[n.jsxs("div",{className:"min-w-0",children:[n.jsxs("h2",{id:`${i}-heading`,className:"text-[length:var(--fs-sm)] font-normal tracking-[0.08em]",children:["[",c,"]"]}),o&&n.jsx("p",{className:"text-muted measure mt-3 text-[length:var(--fs-xs)] leading-[1.9]",children:o})]}),u&&n.jsx("div",{className:"shrink-0 text-[length:var(--fs-xs)]",children:u})]})}function ru({id:i,title:c,lead:o,aside:u}){return n.jsx("header",{className:"mb-7 sm:mb-10",children:n.jsxs("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-baseline sm:justify-between sm:gap-10",children:[n.jsxs("div",{className:"min-w-0",children:[n.jsx("h2",{id:`${i}-heading`,className:"serif min-w-0 font-extrabold",style:{fontSize:"var(--fs-h2)",letterSpacing:"0.01em",lineHeight:1.2,color:"var(--tpl-text)"},children:c}),o&&n.jsx("p",{className:"text-muted measure mt-2 text-[length:var(--fs-sm)]",style:{lineHeight:1.7},children:o})]}),u&&n.jsx("div",{className:"shrink-0 text-[length:var(--fs-xs)]",children:u})]})})}function ou({id:i,title:c,lead:o,aside:u}){return n.jsxs("header",{className:"mb-8 flex flex-col items-center gap-3 text-center sm:mb-10",children:[n.jsx("i",{"aria-hidden":!0,className:"block h-[6px] w-10 rounded-full",style:{backgroundColor:"var(--pastel-2, currentColor)",opacity:.9}}),n.jsx("h2",{id:`${i}-heading`,className:"h2 break-keep",style:{fontSize:"calc(var(--fs-h2) * 1.15)",fontWeight:800},children:c}),o&&n.jsx("p",{className:"measure text-[length:var(--fs-sm)] leading-relaxed opacity-65",children:o}),u&&n.jsx("div",{className:"text-[length:var(--fs-sm)]",children:u})]})}const jv={base:{backgroundColor:"var(--tpl-surface, #ffffff)"},alt:{backgroundColor:"var(--tpl-surface-alt, #f5f5f4)"},dark:{backgroundColor:"var(--tpl-inverse, #1c1917)",color:"var(--tpl-bg, #ffffff)"}};function vt({id:i,title:c,lead:o,tone:u="base",aside:f,footnote:d,children:h,wide:p,bare:g}){const x=hc(),v=x==="reservation"?iu:x==="oasi"?cu:x==="studio"?ru:x==="pastel"?ou:x==="editorial"?au:Nv;return n.jsx("section",{id:i,"aria-labelledby":`${i}-heading`,className:"border-line paper w-full border-b",style:{...jv[u],paddingBlock:"var(--section-space)"},children:n.jsxs("div",{className:p?"w-full":"shell",children:[!g&&n.jsx("div",{className:p?"shell":void 0,children:n.jsx(v,{id:i,title:c,lead:o,aside:f})}),h,d&&n.jsx("p",{className:`text-muted mt-5 text-[length:var(--fs-xs)] ${p?"shell":""}`,children:d})]})})}function Nv({id:i,title:c,lead:o,aside:u}){return n.jsx("header",{className:"mb-6 sm:mb-8",children:n.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-end sm:justify-between sm:gap-6",children:[n.jsxs("div",{className:"min-w-0",children:[n.jsxs("h2",{id:`${i}-heading`,className:"h2 flex items-center gap-2.5",children:[n.jsx("i",{"aria-hidden":!0,className:"h-[1em] w-[3px] shrink-0 bg-current opacity-25"}),n.jsx("span",{className:"min-w-0",children:c})]}),o&&n.jsx("p",{className:"text-muted measure mt-2 pl-[calc(3px+0.625rem)] text-[length:var(--fs-sm)]",children:o})]}),u&&n.jsx("div",{className:"shrink-0",children:u})]})})}function Sv(i){return Object.prototype.toString.call(i)==="[object Object]"}function Lh(i){return Sv(i)||Array.isArray(i)}function zv(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function uu(i,c){const o=Object.keys(i),u=Object.keys(c);if(o.length!==u.length)return!1;const f=JSON.stringify(Object.keys(i.breakpoints||{})),d=JSON.stringify(Object.keys(c.breakpoints||{}));return f!==d?!1:o.every(h=>{const p=i[h],g=c[h];return typeof p=="function"?`${p}`==`${g}`:!Lh(p)||!Lh(g)?p===g:uu(p,g)})}function Bh(i){return i.concat().sort((c,o)=>c.name>o.name?1:-1).map(c=>c.options)}function Ev(i,c){if(i.length!==c.length)return!1;const o=Bh(i),u=Bh(c);return o.every((f,d)=>{const h=u[d];return uu(f,h)})}function fu(i){return typeof i=="number"}function Zo(i){return typeof i=="string"}function pc(i){return typeof i=="boolean"}function qh(i){return Object.prototype.toString.call(i)==="[object Object]"}function $e(i){return Math.abs(i)}function du(i){return Math.sign(i)}function Ts(i,c){return $e(i-c)}function wv(i,c){if(i===0||c===0||$e(i)<=$e(c))return 0;const o=Ts($e(i),$e(c));return $e(o/i)}function _v(i){return Math.round(i*100)/100}function Ds(i){return Rs(i).map(Number)}function el(i){return i[Ys(i)]}function Ys(i){return Math.max(0,i.length-1)}function mu(i,c){return c===Ys(i)}function Yh(i,c=0){return Array.from(Array(i),(o,u)=>c+u)}function Rs(i){return Object.keys(i)}function _p(i,c){return[i,c].reduce((o,u)=>(Rs(u).forEach(f=>{const d=o[f],h=u[f],p=qh(d)&&qh(h);o[f]=p?_p(d,h):h}),o),{})}function Ko(i,c){return typeof c.MouseEvent<"u"&&i instanceof c.MouseEvent}function Tv(i,c){const o={start:u,center:f,end:d};function u(){return 0}function f(g){return d(g)/2}function d(g){return c-g}function h(g,x){return Zo(i)?o[i](g):i(c,g,x)}return{measure:h}}function Us(){let i=[];function c(f,d,h,p={passive:!0}){let g;if("addEventListener"in f)f.addEventListener(d,h,p),g=()=>f.removeEventListener(d,h,p);else{const x=f;x.addListener(h),g=()=>x.removeListener(h)}return i.push(g),u}function o(){i=i.filter(f=>f())}const u={add:c,clear:o};return u}function Av(i,c,o,u){const f=Us(),d=1e3/60;let h=null,p=0,g=0;function x(){f.add(i,"visibilitychange",()=>{i.hidden&&N()})}function v(){w(),f.clear()}function y(D){if(!g)return;h||(h=D,o(),o());const U=D-h;for(h=D,p+=U;p>=d;)o(),p-=d;const X=p/d;u(X),g&&(g=c.requestAnimationFrame(y))}function z(){g||(g=c.requestAnimationFrame(y))}function w(){c.cancelAnimationFrame(g),h=null,p=0,g=0}function N(){h=null,p=0}return{init:x,destroy:v,start:z,stop:w,update:o,render:u}}function Cv(i,c){const o=c==="rtl",u=i==="y",f=u?"y":"x",d=u?"x":"y",h=!u&&o?-1:1,p=v(),g=y();function x(N){const{height:T,width:D}=N;return u?T:D}function v(){return u?"top":o?"right":"left"}function y(){return u?"bottom":o?"left":"right"}function z(N){return N*h}return{scroll:f,cross:d,startEdge:p,endEdge:g,measureSize:x,direction:z}}function ka(i=0,c=0){const o=$e(i-c);function u(x){return xc}function d(x){return u(x)||f(x)}function h(x){return d(x)?u(x)?i:c:x}function p(x){return o?x-o*Math.ceil((x-c)/o):x}return{length:o,max:c,min:i,constrain:h,reachedAny:d,reachedMax:f,reachedMin:u,removeOffset:p}}function Tp(i,c,o){const{constrain:u}=ka(0,i),f=i+1;let d=h(c);function h(z){return o?$e((f+z)%f):u(z)}function p(){return d}function g(z){return d=h(z),y}function x(z){return v().set(p()+z)}function v(){return Tp(i,p(),o)}const y={get:p,set:g,add:x,clone:v};return y}function Mv(i,c,o,u,f,d,h,p,g,x,v,y,z,w,N,T,D,U,X){const{cross:Z,direction:P}=i,$=["INPUT","SELECT","TEXTAREA"],K={passive:!1},G=Us(),ee=Us(),se=ka(50,225).constrain(w.measure(20)),Q={mouse:300,touch:400},ae={mouse:500,touch:600},ye=N?43:25;let Ge=!1,Qe=0,ce=0,k=!1,Y=!1,te=!1,he=!1;function je(I){if(!X)return;function _e(tt){(pc(X)||X(I,tt))&&fe(tt)}const ke=c;G.add(ke,"dragstart",tt=>tt.preventDefault(),K).add(ke,"touchmove",()=>{},K).add(ke,"touchend",()=>{}).add(ke,"touchstart",_e).add(ke,"mousedown",_e).add(ke,"touchcancel",ze).add(ke,"contextmenu",ze).add(ke,"click",Ee,!0)}function S(){G.clear(),ee.clear()}function L(){const I=he?o:c;ee.add(I,"touchmove",oe,K).add(I,"touchend",ze).add(I,"mousemove",oe,K).add(I,"mouseup",ze)}function V(I){const _e=I.nodeName||"";return $.includes(_e)}function J(){return(N?ae:Q)[he?"mouse":"touch"]}function re(I,_e){const ke=y.add(du(I)*-1),tt=v.byDistance(I,!N).distance;return N||$e(I)=2,!(_e&&I.button!==0)&&(V(I.target)||(k=!0,d.pointerDown(I),x.useFriction(0).useDuration(0),f.set(h),L(),Qe=d.readPoint(I),ce=d.readPoint(I,Z),z.emit("pointerDown")))}function oe(I){if(!Ko(I,u)&&I.touches.length>=2)return ze(I);const ke=d.readPoint(I),tt=d.readPoint(I,Z),yt=Ts(ke,Qe),Jt=Ts(tt,ce);if(!Y&&!he&&(!I.cancelable||(Y=yt>Jt,!Y)))return ze(I);const ll=d.pointerMove(I);yt>T&&(te=!0),x.useFriction(.3).useDuration(.75),p.start(),f.add(P(ll)),I.preventDefault()}function ze(I){const ke=v.byDistance(0,!1).index!==y.get(),tt=d.pointerUp(I)*J(),yt=re(P(tt),ke),Jt=wv(tt,yt),ll=ye-10*Jt,Ht=U+Jt/50;Y=!1,k=!1,ee.clear(),x.useDuration(ll).useFriction(Ht),g.distance(yt,!N),he=!1,z.emit("pointerUp")}function Ee(I){te&&(I.stopPropagation(),I.preventDefault(),te=!1)}function at(){return k}return{init:je,destroy:S,pointerDown:at}}function kv(i,c){let u,f;function d(y){return y.timeStamp}function h(y,z){const N=`client${(z||i.scroll)==="x"?"X":"Y"}`;return(Ko(y,c)?y:y.touches[0])[N]}function p(y){return u=y,f=y,h(y)}function g(y){const z=h(y)-h(f),w=d(y)-d(u)>170;return f=y,w&&(u=y),z}function x(y){if(!u||!f)return 0;const z=h(f)-h(u),w=d(y)-d(u),N=d(y)-d(f)>170,T=z/w;return w&&!N&&$e(T)>.1?T:0}return{pointerDown:p,pointerMove:g,pointerUp:x,readPoint:h}}function Ov(){function i(o){const{offsetTop:u,offsetLeft:f,offsetWidth:d,offsetHeight:h}=o;return{top:u,right:f+d,bottom:u+h,left:f,width:d,height:h}}return{measure:i}}function Dv(i){function c(u){return i*(u/100)}return{measure:c}}function Rv(i,c,o,u,f,d,h){const p=[i].concat(u);let g,x,v=[],y=!1;function z(D){return f.measureSize(h.measure(D))}function w(D){if(!d)return;x=z(i),v=u.map(z);function U(X){for(const Z of X){if(y)return;const P=Z.target===i,$=u.indexOf(Z.target),K=P?x:v[$],G=z(P?i:u[$]);if($e(G-K)>=.5){D.reInit(),c.emit("resize");break}}}g=new ResizeObserver(X=>{(pc(d)||d(D,X))&&U(X)}),o.requestAnimationFrame(()=>{p.forEach(X=>g.observe(X))})}function N(){y=!0,g&&g.disconnect()}return{init:w,destroy:N}}function Uv(i,c,o,u,f,d){let h=0,p=0,g=f,x=d,v=i.get(),y=0;function z(){const K=u.get()-i.get(),G=!g;let ee=0;return G?(h=0,o.set(u),i.set(u),ee=K):(o.set(i),h+=K/g,h*=x,v+=h,i.add(h),ee=v-y),p=du(ee),y=v,$}function w(){const K=u.get()-c.get();return $e(K)<.001}function N(){return g}function T(){return p}function D(){return h}function U(){return Z(f)}function X(){return P(d)}function Z(K){return g=K,$}function P(K){return x=K,$}const $={direction:T,duration:N,velocity:D,seek:z,settled:w,useBaseFriction:X,useBaseDuration:U,useFriction:P,useDuration:Z};return $}function Hv(i,c,o,u,f){const d=f.measure(10),h=f.measure(50),p=ka(.1,.99);let g=!1;function x(){return!(g||!i.reachedAny(o.get())||!i.reachedAny(c.get()))}function v(w){if(!x())return;const N=i.reachedMin(c.get())?"min":"max",T=$e(i[N]-c.get()),D=o.get()-c.get(),U=p.constrain(T/h);o.subtract(D*U),!w&&$e(D){const{min:D,max:U}=d,X=d.constrain(N),Z=!T,P=mu(o,T);return Z?U:P||x(D,X)?D:x(U,X)?U:X}).map(N=>parseFloat(N.toFixed(3)))}function z(){if(c<=i+f)return[d.max];if(u==="keepSnaps")return h;const{min:N,max:T}=p;return h.slice(N,T)}return{snapsContained:g,scrollContainLimit:p}}function Bv(i,c,o){const u=c[0],f=o?u-i:el(c);return{limit:ka(f,u)}}function qv(i,c,o,u){const d=c.min+.1,h=c.max+.1,{reachedMin:p,reachedMax:g}=ka(d,h);function x(z){return z===1?g(o.get()):z===-1?p(o.get()):!1}function v(z){if(!x(z))return;const w=i*(z*-1);u.forEach(N=>N.add(w))}return{loop:v}}function Yv(i){const{max:c,length:o}=i;function u(d){const h=d-c;return o?h/-o:0}return{get:u}}function Gv(i,c,o,u,f){const{startEdge:d,endEdge:h}=i,{groupSlides:p}=f,g=y().map(c.measure),x=z(),v=w();function y(){return p(u).map(T=>el(T)[h]-T[0][d]).map($e)}function z(){return u.map(T=>o[d]-T[d]).map(T=>-$e(T))}function w(){return p(x).map(T=>T[0]).map((T,D)=>T+g[D])}return{snaps:x,snapsAligned:v}}function $v(i,c,o,u,f,d){const{groupSlides:h}=f,{min:p,max:g}=u,x=v();function v(){const z=h(d),w=!i||c==="keepSnaps";return o.length===1?[d]:w?z:z.slice(p,g).map((N,T,D)=>{const U=!T,X=mu(D,T);if(U){const Z=el(D[0])+1;return Yh(Z)}if(X){const Z=Ys(d)-el(D)[0]+1;return Yh(Z,el(D)[0])}return N})}return{slideRegistry:x}}function Qv(i,c,o,u,f){const{reachedAny:d,removeOffset:h,constrain:p}=u;function g(N){return N.concat().sort((T,D)=>$e(T)-$e(D))[0]}function x(N){const T=i?h(N):p(N),D=c.map((X,Z)=>({diff:v(X-T,0),index:Z})).sort((X,Z)=>$e(X.diff)-$e(Z.diff)),{index:U}=D[0];return{index:U,distance:T}}function v(N,T){const D=[N,N+o,N-o];if(!i)return N;if(!T)return g(D);const U=D.filter(X=>du(X)===T);return U.length?g(U):el(D)-o}function y(N,T){const D=c[N]-f.get(),U=v(D,T);return{index:N,distance:U}}function z(N,T){const D=f.get()+N,{index:U,distance:X}=x(D),Z=!i&&d(D);if(!T||Z)return{index:U,distance:N};const P=c[U]-X,$=N+v(P,0);return{index:U,distance:$}}return{byDistance:z,byIndex:y,shortcut:v}}function Xv(i,c,o,u,f,d,h){function p(y){const z=y.distance,w=y.index!==c.get();d.add(z),z&&(u.duration()?i.start():(i.update(),i.render(1),i.update())),w&&(o.set(c.get()),c.set(y.index),h.emit("select"))}function g(y,z){const w=f.byDistance(y,z);p(w)}function x(y,z){const w=c.clone().set(y),N=f.byIndex(w.get(),z);p(N)}return{distance:g,index:x}}function Vv(i,c,o,u,f,d,h,p){const g={passive:!0,capture:!0};let x=0;function v(w){if(!p)return;function N(T){if(new Date().getTime()-x>10)return;h.emit("slideFocusStart"),i.scrollLeft=0;const X=o.findIndex(Z=>Z.includes(T));fu(X)&&(f.useDuration(0),u.index(X,0),h.emit("slideFocus"))}d.add(document,"keydown",y,!1),c.forEach((T,D)=>{d.add(T,"focus",U=>{(pc(p)||p(w,U))&&N(D)},g)})}function y(w){w.code==="Tab"&&(x=new Date().getTime())}return{init:v}}function ws(i){let c=i;function o(){return c}function u(g){c=h(g)}function f(g){c+=h(g)}function d(g){c-=h(g)}function h(g){return fu(g)?g:g.get()}return{get:o,set:u,add:f,subtract:d}}function Ap(i,c){const o=i.scroll==="x"?h:p,u=c.style;let f=null,d=!1;function h(z){return`translate3d(${z}px,0px,0px)`}function p(z){return`translate3d(0px,${z}px,0px)`}function g(z){if(d)return;const w=_v(i.direction(z));w!==f&&(u.transform=o(w),f=w)}function x(z){d=!z}function v(){d||(u.transform="",c.getAttribute("style")||c.removeAttribute("style"))}return{clear:v,to:g,toggleActive:x}}function Zv(i,c,o,u,f,d,h,p,g){const v=Ds(f),y=Ds(f).reverse(),z=U().concat(X());function w(G,ee){return G.reduce((se,Q)=>se-f[Q],ee)}function N(G,ee){return G.reduce((se,Q)=>w(se,ee)>0?se.concat([Q]):se,[])}function T(G){return d.map((ee,se)=>({start:ee-u[se]+.5+G,end:ee+c-.5+G}))}function D(G,ee,se){const Q=T(ee);return G.map(ae=>{const ye=se?0:-o,Ge=se?o:0,Qe=se?"end":"start",ce=Q[ae][Qe];return{index:ae,loopPoint:ce,slideLocation:ws(-1),translate:Ap(i,g[ae]),target:()=>p.get()>ce?ye:Ge}})}function U(){const G=h[0],ee=N(y,G);return D(ee,o,!1)}function X(){const G=c-h[0]-1,ee=N(v,G);return D(ee,-o,!0)}function Z(){return z.every(({index:G})=>{const ee=v.filter(se=>se!==G);return w(ee,c)<=.1})}function P(){z.forEach(G=>{const{target:ee,translate:se,slideLocation:Q}=G,ae=ee();ae!==Q.get()&&(se.to(ae),Q.set(ae))})}function $(){z.forEach(G=>G.translate.clear())}return{canLoop:Z,clear:$,loop:P,loopPoints:z}}function Kv(i,c,o){let u,f=!1;function d(g){if(!o)return;function x(v){for(const y of v)if(y.type==="childList"){g.reInit(),c.emit("slidesChanged");break}}u=new MutationObserver(v=>{f||(pc(o)||o(g,v))&&x(v)}),u.observe(i,{childList:!0})}function h(){u&&u.disconnect(),f=!0}return{init:d,destroy:h}}function Jv(i,c,o,u){const f={};let d=null,h=null,p,g=!1;function x(){p=new IntersectionObserver(N=>{g||(N.forEach(T=>{const D=c.indexOf(T.target);f[D]=T}),d=null,h=null,o.emit("slidesInView"))},{root:i.parentElement,threshold:u}),c.forEach(N=>p.observe(N))}function v(){p&&p.disconnect(),g=!0}function y(N){return Rs(f).reduce((T,D)=>{const U=parseInt(D),{isIntersecting:X}=f[U];return(N&&X||!N&&!X)&&T.push(U),T},[])}function z(N=!0){if(N&&d)return d;if(!N&&h)return h;const T=y(N);return N&&(d=T),N||(h=T),T}return{init:x,destroy:v,get:z}}function Wv(i,c,o,u,f,d){const{measureSize:h,startEdge:p,endEdge:g}=i,x=o[0]&&f,v=N(),y=T(),z=o.map(h),w=D();function N(){if(!x)return 0;const X=o[0];return $e(c[p]-X[p])}function T(){if(!x)return 0;const X=d.getComputedStyle(el(u));return parseFloat(X.getPropertyValue(`margin-${g}`))}function D(){return o.map((X,Z,P)=>{const $=!Z,K=mu(P,Z);return $?z[Z]+v:K?z[Z]+y:P[Z+1][p]-X[p]}).map($e)}return{slideSizes:z,slideSizesWithGaps:w,startGap:v,endGap:y}}function Fv(i,c,o,u,f,d,h,p,g){const{startEdge:x,endEdge:v,direction:y}=i,z=fu(o);function w(U,X){return Ds(U).filter(Z=>Z%X===0).map(Z=>U.slice(Z,Z+X))}function N(U){return U.length?Ds(U).reduce((X,Z,P)=>{const $=el(X)||0,K=$===0,G=Z===Ys(U),ee=f[x]-d[$][x],se=f[x]-d[Z][v],Q=!u&&K?y(h):0,ae=!u&&G?y(p):0,ye=$e(se-ae-(ee+Q));return P&&ye>c+g&&X.push(Z),G&&X.push(U.length),X},[]).map((X,Z,P)=>{const $=Math.max(P[Z-1]||0);return U.slice($,X)}):[]}function T(U){return z?w(U,o):N(U)}return{groupSlides:T}}function Iv(i,c,o,u,f,d,h){const{align:p,axis:g,direction:x,startIndex:v,loop:y,duration:z,dragFree:w,dragThreshold:N,inViewThreshold:T,slidesToScroll:D,skipSnaps:U,containScroll:X,watchResize:Z,watchSlides:P,watchDrag:$,watchFocus:K}=d,G=2,ee=Ov(),se=ee.measure(c),Q=o.map(ee.measure),ae=Cv(g,x),ye=ae.measureSize(se),Ge=Dv(ye),Qe=Tv(p,ye),ce=!y&&!!X,k=y||!!X,{slideSizes:Y,slideSizesWithGaps:te,startGap:he,endGap:je}=Wv(ae,se,Q,o,k,f),S=Fv(ae,ye,D,y,se,Q,he,je,G),{snaps:L,snapsAligned:V}=Gv(ae,Qe,se,Q,S),J=-el(L)+el(te),{snapsContained:re,scrollContainLimit:fe}=Lv(ye,J,V,X,G),oe=ce?re:V,{limit:ze}=Bv(J,oe,y),Ee=Tp(Ys(oe),v,y),at=Ee.clone(),Me=Ds(o),I=({dragHandler:pl,scrollBody:kn,scrollBounds:On,options:{loop:al}})=>{al||On.constrain(pl.pointerDown()),kn.seek()},_e=({scrollBody:pl,translate:kn,location:On,offsetLocation:al,previousLocation:pt,scrollLooper:nl,slideLooper:xt,dragHandler:xc,animation:gc,eventHandler:Xs,scrollBounds:Ra,options:{loop:da}},ma)=>{const sl=pl.settled(),Ua=!Ra.shouldConstrain(),Ul=da?sl:sl&&Ua,Vs=Ul&&!xc.pointerDown();Vs&&gc.stop();const Zs=On.get()*ma+pt.get()*(1-ma);al.set(Zs),da&&(nl.loop(pl.direction()),xt.loop()),kn.to(al.get()),Vs&&Xs.emit("settle"),Ul||Xs.emit("scroll")},ke=Av(u,f,()=>I(Mn),pl=>_e(Mn,pl)),tt=.68,yt=oe[Ee.get()],Jt=ws(yt),ll=ws(yt),Ht=ws(yt),Wt=ws(yt),hl=Uv(Jt,Ht,ll,Wt,z,tt),Tn=Qv(y,oe,J,ze,Wt),An=Xv(ke,Ee,at,hl,Tn,Wt,h),dt=Yv(ze),$s=Us(),Qs=Jv(c,o,h,T),{slideRegistry:Cn}=$v(ce,X,oe,fe,S,Me),Da=Vv(i,o,Cn,An,hl,$s,h,K),Mn={ownerDocument:u,ownerWindow:f,eventHandler:h,containerRect:se,slideRects:Q,animation:ke,axis:ae,dragHandler:Mv(ae,i,u,f,Wt,kv(ae,f),Jt,ke,An,hl,Tn,Ee,h,Ge,w,N,U,tt,$),eventStore:$s,percentOfView:Ge,index:Ee,indexPrevious:at,limit:ze,location:Jt,offsetLocation:Ht,previousLocation:ll,options:d,resizeHandler:Rv(c,h,f,o,ae,Z,ee),scrollBody:hl,scrollBounds:Hv(ze,Ht,Wt,hl,Ge),scrollLooper:qv(J,ze,Ht,[Jt,Ht,ll,Wt]),scrollProgress:dt,scrollSnapList:oe.map(dt.get),scrollSnaps:oe,scrollTarget:Tn,scrollTo:An,slideLooper:Zv(ae,ye,J,Y,te,L,oe,Ht,o),slideFocus:Da,slidesHandler:Kv(c,h,P),slidesInView:Qs,slideIndexes:Me,slideRegistry:Cn,slidesToScroll:S,target:Wt,translate:Ap(ae,c)};return Mn}function Pv(){let i={},c;function o(x){c=x}function u(x){return i[x]||[]}function f(x){return u(x).forEach(v=>v(c,x)),g}function d(x,v){return i[x]=u(x).concat([v]),g}function h(x,v){return i[x]=u(x).filter(y=>y!==v),g}function p(){i={}}const g={init:o,emit:f,off:h,on:d,clear:p};return g}const ey={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function ty(i){function c(d,h){return _p(d,h||{})}function o(d){const h=d.breakpoints||{},p=Rs(h).filter(g=>i.matchMedia(g).matches).map(g=>h[g]).reduce((g,x)=>c(g,x),{});return c(d,p)}function u(d){return d.map(h=>Rs(h.breakpoints||{})).reduce((h,p)=>h.concat(p),[]).map(i.matchMedia)}return{mergeOptions:c,optionsAtMedia:o,optionsMediaQueries:u}}function ly(i){let c=[];function o(d,h){return c=h.filter(({options:p})=>i.optionsAtMedia(p).active!==!1),c.forEach(p=>p.init(d,i)),h.reduce((p,g)=>Object.assign(p,{[g.name]:g}),{})}function u(){c=c.filter(d=>d.destroy())}return{init:o,destroy:u}}function uc(i,c,o){const u=i.ownerDocument,f=u.defaultView,d=ty(f),h=ly(d),p=Us(),g=Pv(),{mergeOptions:x,optionsAtMedia:v,optionsMediaQueries:y}=d,{on:z,off:w,emit:N}=g,T=ae;let D=!1,U,X=x(ey,uc.globalOptions),Z=x(X),P=[],$,K,G;function ee(){const{container:Me,slides:I}=Z;K=(Zo(Me)?i.querySelector(Me):Me)||i.children[0];const ke=Zo(I)?K.querySelectorAll(I):I;G=[].slice.call(ke||K.children)}function se(Me){const I=Iv(i,K,G,u,f,Me,g);if(Me.loop&&!I.slideLooper.canLoop()){const _e=Object.assign({},Me,{loop:!1});return se(_e)}return I}function Q(Me,I){D||(X=x(X,Me),Z=v(X),P=I||P,ee(),U=se(Z),y([X,...P.map(({options:_e})=>_e)]).forEach(_e=>p.add(_e,"change",ae)),Z.active&&(U.translate.to(U.location.get()),U.animation.init(),U.slidesInView.init(),U.slideFocus.init(at),U.eventHandler.init(at),U.resizeHandler.init(at),U.slidesHandler.init(at),U.options.loop&&U.slideLooper.loop(),K.offsetParent&&G.length&&U.dragHandler.init(at),$=h.init(at,P)))}function ae(Me,I){const _e=S();ye(),Q(x({startIndex:_e},Me),I),g.emit("reInit")}function ye(){U.dragHandler.destroy(),U.eventStore.clear(),U.translate.clear(),U.slideLooper.clear(),U.resizeHandler.destroy(),U.slidesHandler.destroy(),U.slidesInView.destroy(),U.animation.destroy(),h.destroy(),p.clear()}function Ge(){D||(D=!0,p.clear(),ye(),g.emit("destroy"),g.clear())}function Qe(Me,I,_e){!Z.active||D||(U.scrollBody.useBaseFriction().useDuration(I===!0?0:Z.duration),U.scrollTo.index(Me,_e||0))}function ce(Me){const I=U.index.add(1).get();Qe(I,Me,-1)}function k(Me){const I=U.index.add(-1).get();Qe(I,Me,1)}function Y(){return U.index.add(1).get()!==S()}function te(){return U.index.add(-1).get()!==S()}function he(){return U.scrollSnapList}function je(){return U.scrollProgress.get(U.offsetLocation.get())}function S(){return U.index.get()}function L(){return U.indexPrevious.get()}function V(){return U.slidesInView.get()}function J(){return U.slidesInView.get(!1)}function re(){return $}function fe(){return U}function oe(){return i}function ze(){return K}function Ee(){return G}const at={canScrollNext:Y,canScrollPrev:te,containerNode:ze,internalEngine:fe,destroy:Ge,off:w,on:z,emit:N,plugins:re,previousScrollSnap:L,reInit:T,rootNode:oe,scrollNext:ce,scrollPrev:k,scrollProgress:je,scrollSnapList:he,scrollTo:Qe,selectedScrollSnap:S,slideNodes:Ee,slidesInView:V,slidesNotInView:J};return Q(c,o),setTimeout(()=>g.emit("init"),0),at}uc.globalOptions=void 0;function hu(i={},c=[]){const o=q.useRef(i),u=q.useRef(c),[f,d]=q.useState(),[h,p]=q.useState(),g=q.useCallback(()=>{f&&f.reInit(o.current,u.current)},[f]);return q.useEffect(()=>{uu(o.current,i)||(o.current=i,g())},[i,g]),q.useEffect(()=>{Ev(u.current,c)||(u.current=c,g())},[c,g]),q.useEffect(()=>{if(zv()&&h){uc.globalOptions=hu.globalOptions;const x=uc(h,o.current,u.current);return d(x),()=>x.destroy()}else d(void 0)},[h,d]),[p,f]}hu.globalOptions=void 0;const pu=4500;function xu({box:i,interval:c,advance:o}){const u=q.useRef(o);u.current=o,q.useEffect(()=>{const f=i.current;if(!f||c<=0||window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;let d=0,h=!0;const p=()=>{d+=1},g=()=>{d=Math.max(0,d-1)},x=window.setInterval(()=>{d>0||document.hidden||!h||u.current()||window.clearInterval(x)},c),v=new IntersectionObserver(([T])=>{h=T.isIntersecting},{threshold:.25});v.observe(f);const y=window.matchMedia("(hover: hover) and (pointer: fine)").matches;y&&(f.addEventListener("pointerenter",p),f.addEventListener("pointerleave",g));let z=!1;const w=T=>{const D=T.target;!(D instanceof Element)||!D.matches(":focus-visible")||z||(z=!0,p())},N=()=>{z&&(z=!1,g())};return f.addEventListener("focusin",w),f.addEventListener("focusout",N),f.addEventListener("pointerdown",p,!0),window.addEventListener("pointerup",g,!0),window.addEventListener("pointercancel",g,!0),()=>{window.clearInterval(x),v.disconnect(),y&&(f.removeEventListener("pointerenter",p),f.removeEventListener("pointerleave",g)),f.removeEventListener("focusin",w),f.removeEventListener("focusout",N),f.removeEventListener("pointerdown",p,!0),window.removeEventListener("pointerup",g,!0),window.removeEventListener("pointercancel",g,!0)}},[i,c])}function Cp(i,c=.85){if(!i)return!1;const o=i.scrollWidth-i.clientWidth;if(o<=8||i.scrollLeft>=o-8)return!1;const u=window.matchMedia("(prefers-reduced-motion: reduce)").matches;return i.scrollBy({left:i.clientWidth*c,behavior:u?"auto":"smooth"}),!0}function gu({label:i,children:c,align:o="start",loop:u=!1,dots:f=!0,arrows:d="header",gap:h=1,autoplay:p=pu,onSelect:g,onReady:x,className:v}){const y=p===!1?0:p,[z,w]=hu({align:o,loop:u,containScroll:"trimSnaps",watchDrag:!0}),[N,T]=q.useState([]),[D,U]=q.useState(0),[X,Z]=q.useState(!1),[P,$]=q.useState(!1),K=q.useRef(null),G=q.useId();q.useEffect(()=>{var Y;if(!w)return;const ce=()=>{U(w.selectedScrollSnap()),Z(w.canScrollPrev()),$(w.canScrollNext())},k=()=>{T(w.scrollSnapList()),ce()};return k(),w.on("select",ce),w.on("reInit",k),(Y=K.current)==null||Y.setAttribute("data-slider","on"),()=>{w.off("select",ce),w.off("reInit",k)}},[w]),q.useEffect(()=>{if(!w)return;const ce=K.current,k=()=>ce==null?void 0:ce.setAttribute("data-dragging","true"),Y=()=>ce==null?void 0:ce.removeAttribute("data-dragging");return w.on("pointerDown",k),w.on("pointerUp",Y),()=>{w.off("pointerDown",k),w.off("pointerUp",Y)}},[w]),xu({box:K,interval:y,advance:()=>!w||w.scrollSnapList().length<=1?!0:w.canScrollNext()?(w.scrollNext(),!0):!1});const ee=q.useCallback(ce=>w==null?void 0:w.scrollTo(ce),[w]),se=q.useRef(g);se.current=g;const Q=q.useRef(x);Q.current=x,q.useEffect(()=>{var k;if(!w)return;const ce=()=>{var Y;return(Y=se.current)==null?void 0:Y.call(se,w.selectedScrollSnap())};return ce(),w.on("select",ce),w.on("reInit",ce),(k=Q.current)==null||k.call(Q,{scrollTo:Y=>w.scrollTo(Y)}),()=>{w.off("select",ce),w.off("reInit",ce)}},[w]);const ae=q.useCallback(()=>w==null?void 0:w.scrollPrev(),[w]),ye=q.useCallback(()=>w==null?void 0:w.scrollNext(),[w]),Ge=N.length>1,Qe=f&&Ge&&N.length<=12;return n.jsxs("div",{className:v,children:[d==="header"&&Ge&&n.jsxs("div",{className:"mb-3 flex justify-end gap-2",children:[n.jsx(Gh,{dir:"prev",onClick:ae,disabled:!u&&!X,label:i}),n.jsx(Gh,{dir:"next",onClick:ye,disabled:!u&&!P,label:i})]}),n.jsxs("div",{className:"relative",children:[n.jsx("div",{ref:ce=>{K.current=ce,z(ce)},className:"slider-viewport",role:"group","aria-roledescription":"캐러셀","aria-label":i,tabIndex:0,onKeyDown:ce=>{ce.key==="ArrowLeft"&&(ce.preventDefault(),ae()),ce.key==="ArrowRight"&&(ce.preventDefault(),ye())},children:n.jsx("div",{className:"slider-track",style:{gap:`${h}rem`},id:G,children:c})}),d==="overlay"&&Ge&&n.jsxs(n.Fragment,{children:[n.jsx($h,{dir:"prev",onClick:ae,disabled:!u&&!X,label:i}),n.jsx($h,{dir:"next",onClick:ye,disabled:!u&&!P,label:i})]})]}),Ge&&n.jsxs("div",{className:"mt-4 flex items-center justify-center gap-3",children:[Qe&&n.jsx("ul",{className:"flex items-center gap-1.5",children:N.map((ce,k)=>n.jsx("li",{children:n.jsx("button",{type:"button",onClick:()=>ee(k),"aria-label":`${k+1}번째로`,"aria-current":k===D,"aria-controls":G,className:`h-1.5 rounded-full transition-all ${k===D?"w-6 bg-current opacity-70":"w-1.5 bg-current opacity-20 hover:opacity-45"}`})},k))}),n.jsxs("span",{className:"text-current/55 text-[length:var(--fs-xs)] tabular-nums",children:[D+1," / ",N.length]})]})]})}function Mp({basis:i,children:c}){return n.jsx("div",{className:`min-w-0 shrink-0 grow-0 ${i}`,"aria-roledescription":"슬라이드",children:c})}function Gh({dir:i,onClick:c,disabled:o,label:u}){const f=i==="prev"?oa:ua;return n.jsx("button",{type:"button",onClick:c,disabled:o,"aria-label":`${u} ${i==="prev"?"이전":"다음"}`,className:"tap border-line flex items-center justify-center rounded-full border transition-opacity hover:opacity-70 disabled:opacity-25",children:n.jsx(f,{className:"size-5"})})}function $h({dir:i,onClick:c,disabled:o,label:u}){const f=i==="prev"?oa:ua;return n.jsx("button",{type:"button",onClick:c,disabled:o,"aria-label":`${u} ${i==="prev"?"이전":"다음"}`,className:`tap absolute top-1/2 z-10 hidden -translate-y-1/2 items-center justify-center rounded-full bg-black/55 text-white backdrop-blur transition hover:bg-black/75 disabled:opacity-0 sm:flex ${i==="prev"?"left-2":"right-2"}`,children:n.jsx(f,{className:"size-5"})})}function bu({children:i,className:c="",as:o="div"}){return n.jsx(o,{className:`panel ${c}`,children:i})}function vu({children:i}){return n.jsx("span",{className:"border-line tpl-border inline-flex items-center gap-1 rounded-md border bg-current/5 px-2.5 py-1 text-[length:var(--fs-xs)]",children:i})}function kp({label:i,value:c,note:o}){return n.jsxs("div",{className:"divide-line flex flex-col gap-1 py-3 sm:flex-row sm:items-baseline sm:justify-between sm:gap-6",children:[n.jsx("dt",{className:"text-muted shrink-0 text-[length:var(--fs-sm)] font-medium sm:w-40",children:i}),n.jsxs("dd",{className:"flex-1 text-[length:var(--fs-sm)] font-semibold sm:text-right",children:[c,o&&n.jsx("span",{className:"text-muted mt-0.5 block font-normal",children:o})]})]})}function Qh({href:i,children:c,variant:o="solid",external:u,icon:f}){const d=o==="solid";return n.jsxs("a",{href:i,...u?{target:"_blank",rel:"noopener noreferrer"}:{},className:`tap inline-flex items-center justify-center gap-2 rounded-lg px-4 text-[length:var(--fs-sm)] font-semibold transition-opacity hover:opacity-85 ${d?"":"border-line tpl-border border bg-current/5"}`,style:d?{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)"}:void 0,children:[f,n.jsx("span",{children:c}),u&&n.jsx(Sn,{className:"size-4 shrink-0"})]})}function ay(){const i=le(),{narrative:c,place:o}=i,u=U0(i,"intro"),f=u.length>0?u:c.about;if(f.length===0)return null;const d=lu(i).find(p=>!p.isPrimary),h=c.heroSubline??`${o.name} 소개`;return n.jsx(vt,{id:"about",bare:!0,title:h,children:n.jsxs("div",{className:"grid grid-cols-1 items-center gap-8 lg:grid-cols-12 lg:gap-14",children:[d&&n.jsxs("figure",{className:"lg:col-span-7",children:[n.jsx("div",{className:"tpl-border border-line relative aspect-4/3 max-h-[26rem] overflow-hidden rounded-xl border lg:aspect-3/2",children:n.jsx("img",{src:d.url,alt:d.alt,loading:"lazy",decoding:"async",width:d.width,height:d.height,className:"size-full object-cover"})}),d.caption&&n.jsx("figcaption",{className:"text-muted mt-2 text-[length:var(--fs-xs)]",children:d.caption})]}),n.jsxs("div",{className:d?"lg:col-span-5":"lg:col-span-12",children:[n.jsxs("h2",{id:"about-heading",className:"h2 mb-6 flex items-center gap-2.5",children:[n.jsx("i",{"aria-hidden":!0,className:"h-[1em] w-[3px] shrink-0 bg-current opacity-25"}),n.jsx("span",{className:"min-w-0",children:h})]}),n.jsx("div",{className:"measure space-y-4 text-[length:var(--fs-lead)] leading-[1.8]",children:f.map((p,g)=>n.jsx("p",{children:p},g))})]})]})})}const Xh=new Set(["체크인 시간","체크아웃 시간","취소·환불 규정","취사 가능","반려동물 동반","흡연 가능","인원 추가 요금"]);function ny(){const i=le(),c=dc(i),o=i.facts.filter(d=>d.scope==="place"&&!c.some(h=>h.label===d.label)).length;if(c.length===0)return null;const u=c.filter(d=>Xh.has(d.label)),f=c.filter(d=>!Xh.has(d.label));return n.jsx(vt,{id:"info",tone:"alt",title:"이용안내 및 예약",lead:"방문 전 확인이 필요한 운영 규정과 시설 안내입니다.",footnote:n.jsxs("span",{className:"flex flex-col gap-1 sm:flex-row sm:justify-between",children:[n.jsx("span",{children:o>0?`확인 중인 항목 ${o}개는 표시하지 않았습니다. 필요하시면 전화로 문의해 주세요.`:"모든 항목이 사업자 확인을 거쳤습니다."}),n.jsxs("span",{className:"font-medium",children:[nu(i.site.updatedAt)," 기준"]})]}),children:n.jsxs("div",{className:"space-y-8",children:[u.length>0&&n.jsx(Vh,{title:"예약 전 확인",rows:u,emphasis:!0}),f.length>0&&n.jsx(Vh,{title:"시설 · 편의",rows:f}),n.jsx(sy,{})]})})}function Vh({title:i,rows:c,emphasis:o}){return n.jsxs("section",{children:[n.jsxs("h3",{className:"border-line mb-3 flex items-center gap-2 border-b pb-2 text-[length:var(--fs-sm)] font-bold",children:[o&&n.jsx("i",{"aria-hidden":!0,className:"h-[1em] w-[3px] shrink-0",style:{backgroundColor:"var(--color-accent)"}}),n.jsx("span",{children:i})]}),n.jsx("dl",{className:"divide-line divide-y",children:c.map(u=>n.jsxs("div",{className:"flex flex-col gap-1 py-3.5 sm:flex-row sm:items-baseline sm:gap-6",children:[n.jsx("dt",{className:"text-muted text-[length:var(--fs-sm)] sm:w-40 sm:shrink-0",children:u.label}),n.jsxs("dd",{className:"measure text-[length:var(--fs-sm)] font-semibold",children:[u.value,u.note&&n.jsx("span",{className:"text-muted mt-0.5 block font-normal",children:u.note})]})]},u.label))})]})}function sy(){const i=le(),c=Ze(i),o=i.place.phone;return!o&&c.length===0?null:n.jsxs("div",{className:"border-line flex flex-col gap-3 border-t pt-6 sm:flex-row sm:items-center sm:justify-between",children:[n.jsxs("p",{className:"text-[length:var(--fs-sm)] font-semibold",children:[i.place.name," 예약은 아래로 받습니다."]}),n.jsxs("div",{className:"flex flex-wrap gap-2",children:[o&&n.jsxs("a",{href:`tel:${o}`,className:"tap border-line tpl-border inline-flex items-center justify-center gap-1.5 rounded-lg border px-4 text-[length:var(--fs-sm)] font-semibold",children:[n.jsx(At,{className:"size-4"}),n.jsx("span",{children:o})]}),c.map(u=>n.jsx("a",{href:u.url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex items-center justify-center rounded-lg px-6 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-90",style:{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)"},children:ht(u)},u.url))]})]})}function iy(){const i=le(),c=ft(i),o=fl(i),u=Ze(i)[0];return o.length===0?null:n.jsx(vt,{id:"units",title:Ye(i,c.path,`${c.label} 안내`),children:n.jsx("ul",{className:"mt-2 flex flex-col gap-14 lg:gap-20",children:o.map((f,d)=>n.jsxs("li",{className:"grid items-center gap-7 lg:grid-cols-12 lg:gap-12",children:[n.jsxs("div",{className:`lg:col-span-6 ${d%2===1?"lg:order-2":""}`,children:[f.images[0]&&n.jsx("div",{className:"relative aspect-16/10 rounded-lg overflow-hidden",children:n.jsx("img",{src:f.images[0].url,alt:f.images[0].alt,loading:"lazy",decoding:"async",className:"size-full object-cover"})}),f.images.length>1&&n.jsx("ul",{className:"mt-2 grid grid-cols-3 gap-2",children:f.images.slice(1,4).map(h=>n.jsx("li",{className:"relative aspect-16/10 rounded-md overflow-hidden",children:n.jsx("img",{src:h.url,alt:h.alt,loading:"lazy",decoding:"async",className:"size-full object-cover"})},h.mediaId))})]}),n.jsxs("div",{className:`lg:col-span-6 ${d%2===1?"lg:order-1":""}`,children:[n.jsx("h3",{className:"h2",children:f.name}),f.intro&&n.jsx("p",{className:"measure mt-3 text-[length:var(--fs-body)] leading-relaxed opacity-80",children:f.intro}),f.chips.length>0&&n.jsx("ul",{className:"mt-4 flex flex-wrap items-center gap-1.5",children:f.chips.map(h=>n.jsx("li",{children:n.jsxs(vu,{children:[n.jsx("span",{className:"text-muted",children:h.label}),n.jsx("span",{className:"font-medium",children:h.value})]})},h.label))}),n.jsxs("div",{className:"mt-5 flex flex-wrap gap-2",children:[u&&n.jsx("a",{href:u.url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex flex-1 items-center justify-center rounded-lg px-6 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-90",style:{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)"},children:ht(u,f.name)}),i.place.phone&&n.jsxs("a",{href:`tel:${i.place.phone}`,className:"tap border-line tpl-border inline-flex items-center justify-center gap-1.5 rounded-lg border px-4 text-[length:var(--fs-sm)] font-semibold",children:[n.jsx(At,{className:"size-4"}),n.jsx("span",{children:"전화"})]})]}),f.rows.length>0&&n.jsxs("details",{className:"group border-line mt-4 border-t pt-2",children:[n.jsxs("summary",{className:"tap flex cursor-pointer list-none items-center justify-between gap-2 text-[length:var(--fs-sm)] font-semibold",children:[n.jsxs("span",{children:[f.name," 구성 자세히"]}),n.jsx(fc,{className:"size-4 shrink-0 transition-transform group-open:rotate-180"})]}),n.jsx("dl",{className:"divide-line border-line divide-y border-t",children:f.rows.map(h=>n.jsxs("div",{className:"flex items-baseline justify-between gap-4 py-2.5 text-[length:var(--fs-sm)]",children:[n.jsx("dt",{className:"text-muted shrink-0",children:h.label}),n.jsx("dd",{className:"text-right font-semibold",children:h.value})]},h.label))})]})]})]},f.unitId))})})}function cy(){const i=le(),c=ft(i),o=fl(i),u=Ze(i)[0],[f,d]=q.useState(0);return o.length===0?null:n.jsxs(vt,{id:"units",title:Ye(i,c.path,`${c.label} 안내`),children:[n.jsx("div",{className:"border-line mb-6 flex gap-1 border-b",role:"tablist","aria-label":c.label,children:o.map((h,p)=>n.jsx("button",{type:"button",role:"tab","aria-selected":p===f,"aria-controls":`unit-panel-${h.slug}`,onClick:()=>d(p),className:`tap -mb-px border-b-2 px-5 text-[length:var(--fs-sm)] font-bold transition-colors ${p===f?"opacity-100":"border-transparent opacity-50 hover:opacity-80"}`,style:p===f?{borderColor:"var(--color-brand)"}:void 0,children:h.name},h.unitId))}),o.map((h,p)=>n.jsxs("div",{id:`unit-panel-${h.slug}`,role:"tabpanel",hidden:p!==f,className:"grid gap-6 lg:grid-cols-12 lg:gap-10",children:[n.jsxs("div",{className:"lg:col-span-7",children:[h.images[0]&&n.jsx("div",{className:"relative aspect-16/10 overflow-hidden rounded-lg",children:n.jsx("img",{src:h.images[0].url,alt:h.images[0].alt,loading:"lazy",decoding:"async",className:"size-full object-cover"})}),h.images.length>1&&n.jsx("ul",{className:"mt-2 grid grid-cols-3 gap-2",children:h.images.slice(1,4).map(g=>n.jsx("li",{className:"relative aspect-16/10 overflow-hidden rounded-md",children:n.jsx("img",{src:g.url,alt:g.alt,loading:"lazy",decoding:"async",className:"size-full object-cover"})},g.mediaId))})]}),n.jsxs("div",{className:"lg:col-span-5",children:[n.jsx("h3",{className:"h3",children:h.name}),h.intro&&n.jsx("p",{className:"mt-2 text-[length:var(--fs-sm)] leading-relaxed opacity-75",children:h.intro}),h.chips.length>0&&n.jsx("ul",{className:"mt-4 flex flex-wrap items-center gap-1.5",children:h.chips.map(g=>n.jsx("li",{children:n.jsxs(vu,{children:[n.jsx("span",{className:"text-muted",children:g.label}),n.jsx("span",{className:"font-medium",children:g.value})]})},g.label))}),h.rows.length>0&&n.jsx("dl",{className:"divide-line border-line mt-4 divide-y border-t",children:h.rows.map(g=>n.jsxs("div",{className:"flex items-baseline justify-between gap-4 py-2 text-[length:var(--fs-sm)]",children:[n.jsx("dt",{className:"text-muted shrink-0",children:g.label}),n.jsx("dd",{className:"text-right font-semibold",children:g.value})]},g.label))}),n.jsxs("div",{className:"mt-5 flex gap-2",children:[u&&n.jsx("a",{href:u.url,target:"_blank",rel:"noopener noreferrer",className:"tap flex flex-1 items-center justify-center rounded-lg px-6 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-90",style:{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)"},children:ht(u,h.name)}),i.place.phone&&n.jsxs("a",{href:`tel:${i.place.phone}`,className:"tap border-line tpl-border flex items-center justify-center gap-1.5 rounded-lg border px-4 text-[length:var(--fs-sm)] font-semibold",children:[n.jsx(At,{className:"size-4"}),n.jsx("span",{children:"전화"})]})]})]})]},h.unitId))]})}function ry(){const i=le(),c=ft(i),o=fl(i),u=Ze(i)[0];if(o.length===0)return null;const f=o.length===1?"grid-cols-1 max-w-2xl mx-auto":o.length===2?"grid-cols-1 sm:grid-cols-2":"grid-cols-1 sm:grid-cols-2 lg:grid-cols-3",d=Kt(i,"info")?[]:dc(i);return n.jsx("section",{id:"units","aria-labelledby":"units-heading",className:"border-line paper w-full border-b",style:{backgroundColor:"var(--tpl-surface, #fff)",paddingBlock:"calc(var(--section-space) * 1.4)"},children:n.jsxs("div",{className:"shell",children:[n.jsx(iu,{id:"units",title:Ye(i,c.path,`${c.label} 안내`)}),n.jsx("ul",{className:`grid gap-x-8 gap-y-14 lg:gap-x-12 ${f}`,children:o.map(h=>n.jsxs("li",{className:"flex min-w-0 flex-col",children:[h.images[0]&&n.jsx("div",{className:"relative aspect-4/3 w-full overflow-hidden",children:n.jsx("img",{src:h.images[0].url,alt:h.images[0].alt,loading:"lazy",decoding:"async",className:"size-full object-cover object-center"})}),n.jsx("h3",{className:"serif mt-6",style:{fontSize:"var(--fs-h3)",fontWeight:300,letterSpacing:"0.04em"},children:h.name}),h.intro&&n.jsx("p",{className:"text-muted mt-3 line-clamp-2 text-[length:var(--fs-sm)] font-light leading-loose",children:h.intro}),h.chips.length>0&&n.jsx("ul",{className:"text-muted mt-3 flex flex-wrap items-center gap-x-4 gap-y-1 text-[length:var(--fs-xs)] font-light",children:h.chips.map(p=>n.jsxs("li",{children:[p.label," ",p.value]},p.label))}),(h.rows.length>0||h.images.length>1)&&n.jsxs("details",{className:"border-line mt-5 border-t",children:[n.jsx("summary",{className:"tap flex cursor-pointer list-none items-center text-[length:var(--fs-sm)] font-light opacity-70 marker:content-none [&::-webkit-details-marker]:hidden",children:"자세히 보기"}),n.jsxs("div",{className:"space-y-6 pb-2",children:[h.rows.length>0&&n.jsx("dl",{className:"divide-line divide-y",children:h.rows.map(p=>n.jsxs("div",{className:"flex items-baseline justify-between gap-4 py-2.5 text-[length:var(--fs-sm)] font-light",children:[n.jsx("dt",{className:"text-muted shrink-0",children:p.label}),n.jsx("dd",{className:"text-right",children:p.value})]},p.label))}),h.images.length>1&&n.jsx("ul",{className:"grid grid-cols-2 gap-3",children:h.images.slice(1).map(p=>n.jsx("li",{className:"relative aspect-4/3 overflow-hidden",children:n.jsx("img",{src:p.url,alt:p.alt,loading:"lazy",decoding:"async",className:"size-full object-cover object-center"})},p.mediaId))})]})]})]},h.unitId))}),d.length>0&&n.jsx("dl",{className:"divide-line border-line mx-auto mt-16 max-w-2xl divide-y border-t",children:d.map(h=>n.jsxs("div",{className:"flex items-baseline justify-between gap-4 py-3 text-[length:var(--fs-sm)] font-light",children:[n.jsx("dt",{className:"text-muted shrink-0",children:h.label}),n.jsx("dd",{className:"text-right",children:h.value})]},h.label))}),(u||i.place.phone)&&n.jsxs("div",{className:"mt-14 flex flex-wrap items-center justify-center gap-4",children:[u&&n.jsx("a",{href:u.url,target:"_blank",rel:"noopener noreferrer",className:"tap border-line inline-flex items-center justify-center border px-9 text-[length:var(--fs-sm)] font-light tracking-[0.14em] transition-opacity hover:opacity-70",children:ht(u)}),i.place.phone&&n.jsx("a",{href:`tel:${i.place.phone}`,className:"tap border-line inline-flex items-center justify-center border px-9 text-[length:var(--fs-sm)] font-light tabular-nums tracking-[0.08em] transition-opacity hover:opacity-70",children:i.place.phone})]})]})})}function oy(){const i=le(),c=ft(i),o=fl(i),u=Ze(i)[0];return o.length===0?null:n.jsxs("section",{id:"units","data-oasi":!0,"aria-labelledby":"units-heading",className:"pt-[var(--oasi-gap)]",children:[n.jsx(cu,{id:"units",title:Ye(i,c.path,`${c.label} ${o.length}개 안내`)}),n.jsx("ul",{className:"space-y-20 lg:space-y-28",children:o.map(f=>n.jsxs("li",{children:[f.images[0]&&n.jsxs("figure",{className:"relative mx-auto w-full max-w-[34rem]",children:[n.jsx("img",{src:f.images[0].url,alt:f.images[0].alt,loading:"lazy",decoding:"async",className:"block h-[clamp(15rem,24vw,21rem)] w-full object-cover"}),n.jsx("figcaption",{className:"text-muted absolute left-full top-0 ml-5 hidden max-h-full overflow-hidden text-ellipsis whitespace-nowrap text-[length:var(--fs-xs)] tracking-[0.14em] xl:block",style:{writingMode:"vertical-rl"},children:f.name})]}),n.jsx("h3",{className:"mt-8 text-[length:var(--fs-sm)] font-normal tracking-[0.08em]",children:f.name}),f.chips.length>0&&n.jsx("p",{className:"text-muted mt-2 text-[length:var(--fs-xs)] leading-[1.9]",children:f.chips.map(d=>`${d.label} ${d.value}`).join(" · ")}),f.intro&&n.jsx("p",{className:"measure mt-4 text-[length:var(--fs-xs)] leading-[1.9]",children:f.intro}),f.rows.length>0&&n.jsx("dl",{className:"divide-line border-line mt-6 divide-y border-t text-[length:var(--fs-xs)]",children:f.rows.map(d=>n.jsxs("div",{className:"flex items-baseline justify-between gap-6 py-2.5",children:[n.jsx("dt",{className:"text-muted shrink-0",children:d.label}),n.jsx("dd",{className:"text-right",children:d.value})]},d.label))}),f.images.length>1&&n.jsx("ul",{className:"mx-auto mt-6 grid w-full max-w-[34rem] grid-cols-2 gap-2",children:f.images.slice(1).map(d=>n.jsx("li",{children:n.jsx("img",{src:d.url,alt:d.alt,loading:"lazy",decoding:"async",className:"block aspect-[4/3] w-full object-cover"})},d.mediaId))}),(u||i.place.phone)&&n.jsxs("p",{className:"mt-6 flex flex-wrap items-center gap-x-8 text-[length:var(--fs-sm)]",children:[u&&n.jsx("a",{href:u.url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex items-center underline underline-offset-[6px]",style:{color:"var(--color-brand)"},children:ht(u)}),i.place.phone&&n.jsx("a",{href:`tel:${i.place.phone}`,className:"tap text-muted inline-flex items-center underline underline-offset-[6px]",children:i.place.phone})]})]},f.unitId))})]})}function uy(){const i=le(),c=ft(i),o=fl(i);return o.length===0?null:n.jsx("section",{id:"units","aria-labelledby":"units-heading",className:"w-full",style:{paddingBlock:"var(--section-space)",backgroundColor:"var(--tpl-bg)"},children:n.jsxs("div",{className:"shell",children:[n.jsx(ru,{id:"units",title:Ye(i,c.path,`${c.label} ${o.length}개 안내`)}),n.jsx("ul",{className:"space-y-16 sm:space-y-24",children:o.map(u=>n.jsxs("li",{className:"grid grid-cols-1 gap-6 lg:grid-cols-12 lg:gap-10",children:[n.jsxs("div",{className:"min-w-0 lg:col-span-7",children:[u.images[0]&&n.jsx("img",{src:u.images[0].url,alt:u.images[0].alt,loading:"lazy",decoding:"async",width:u.images[0].width,height:u.images[0].height,className:"block h-auto w-full"}),u.images.length>1&&n.jsx("ul",{className:"mt-2 grid grid-cols-2 gap-2",children:u.images.slice(1).map(f=>n.jsx("li",{children:n.jsx("img",{src:f.url,alt:f.alt,loading:"lazy",decoding:"async",width:f.width,height:f.height,className:"block h-auto w-full"})},f.mediaId))})]}),n.jsxs("div",{className:"min-w-0 lg:col-span-5",children:[n.jsx("h3",{className:"serif min-w-0 break-keep font-extrabold",style:{fontSize:"var(--fs-h3)",letterSpacing:"0.02em",lineHeight:1.35},children:u.name}),u.chips.length>0&&n.jsx("dl",{className:"mt-4 space-y-1.5",children:u.chips.map(f=>n.jsxs("div",{className:"flex gap-3 text-[length:var(--fs-sm)]",children:[n.jsx("dt",{className:"text-muted w-20 shrink-0",children:f.label}),n.jsx("dd",{className:"min-w-0 font-medium",children:f.value})]},f.label))}),u.intro&&n.jsx("p",{className:"text-muted measure mt-5 text-[length:var(--fs-sm)]",style:{lineHeight:1.8},children:u.intro})]})]},u.unitId))})]})})}function fy(){const i=le(),c=ft(i),o=fl(i),u=Ze(i)[0];return o.length===0?null:n.jsx("section",{id:"units","aria-labelledby":"units-heading","data-pastel":"own",className:"w-full",style:{backgroundColor:"var(--tpl-surface, #fff)",paddingBlock:"var(--section-space)"},children:n.jsxs("div",{className:"shell",children:[n.jsx(ou,{id:"units",title:Ye(i,c.path,`${c.label} ${o.length}개 안내`)}),n.jsx("ul",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:gap-8",children:o.map((f,d)=>n.jsxs("li",{className:"flex flex-col overflow-hidden p-4 sm:p-5",style:{backgroundColor:d%2===0?"var(--pastel-1)":"var(--pastel-2)",borderRadius:"calc(var(--tpl-radius, 0.75rem) * 1.35)"},children:[f.images[0]&&n.jsx("div",{className:"relative aspect-16/10 overflow-hidden",style:{borderRadius:"var(--tpl-radius, 0.75rem)"},children:n.jsx("img",{src:f.images[0].url,alt:f.images[0].alt,loading:"lazy",decoding:"async",className:"size-full object-cover"})}),n.jsxs("div",{className:"flex flex-1 flex-col gap-3 px-1 pt-4",children:[n.jsx("div",{className:"flex flex-wrap items-baseline justify-between gap-x-3 gap-y-1",children:n.jsx("h3",{className:"h3",style:{fontWeight:800},children:f.name})}),f.chips.length>0&&n.jsx("ul",{className:"flex flex-wrap items-center gap-1.5",children:f.chips.map(h=>n.jsxs("li",{className:"inline-flex items-center gap-1 rounded-full px-3 py-1 text-[length:var(--fs-xs)]",style:{backgroundColor:"color-mix(in srgb, var(--tpl-surface, #fff) 70%, transparent)"},children:[n.jsx("span",{className:"opacity-60",children:h.label}),n.jsx("span",{className:"font-bold",children:h.value})]},h.label))}),f.intro&&n.jsx("p",{className:"text-[length:var(--fs-sm)] leading-relaxed opacity-75",children:f.intro})]}),(u||i.place.phone)&&n.jsxs("div",{className:"mt-4 flex gap-2 px-1",children:[u&&n.jsx("a",{href:u.url,target:"_blank",rel:"noopener noreferrer",className:"tap flex flex-1 items-center justify-center rounded-full text-[length:var(--fs-sm)] font-extrabold transition-opacity hover:opacity-90",style:{backgroundColor:"var(--pastel-ink)",color:"var(--tpl-bg, #fff)"},children:ht(u)}),i.place.phone&&n.jsxs("a",{href:`tel:${i.place.phone}`,className:"tap flex items-center justify-center gap-1.5 rounded-full px-5 text-[length:var(--fs-sm)] font-bold",style:{backgroundColor:"color-mix(in srgb, var(--tpl-surface, #fff) 75%, transparent)"},children:[n.jsx(At,{className:"size-4"}),n.jsx("span",{children:"전화"})]})]}),(f.rows.length>0||f.images.length>1)&&n.jsxs("details",{className:"group mt-3 px-1",children:[n.jsxs("summary",{className:"tap flex cursor-pointer list-none items-center justify-between gap-2 text-[length:var(--fs-sm)] font-bold marker:content-none [&::-webkit-details-marker]:hidden",children:[n.jsxs("span",{children:[f.name," 자세히"]}),n.jsx(fc,{className:"size-4 shrink-0 transition-transform group-open:rotate-180"})]}),n.jsxs("div",{className:"space-y-4 pb-1",children:[f.rows.length>0&&n.jsx("dl",{className:"divide-line divide-y",children:f.rows.map(h=>n.jsxs("div",{className:"flex items-baseline justify-between gap-4 py-2.5 text-[length:var(--fs-sm)]",children:[n.jsx("dt",{className:"shrink-0 opacity-60",children:h.label}),n.jsx("dd",{className:"text-right font-bold",children:h.value})]},h.label))}),f.images.length>1&&n.jsx("ul",{className:"grid grid-cols-2 gap-2",children:f.images.slice(1).map(h=>n.jsx("li",{className:"relative aspect-4/3 overflow-hidden",style:{borderRadius:"calc(var(--tpl-radius, 0.75rem) * 0.7)"},children:n.jsx("img",{src:h.url,alt:h.alt,loading:"lazy",decoding:"async",className:"size-full object-cover"})},h.mediaId))})]})]})]},f.unitId))})]})})}function dy(){const i=le(),c=fl(i),o=ft(i),u=Ze(i)[0];return c.length===0?null:n.jsxs("section",{id:"units","aria-labelledby":"units-heading",className:"border-line w-full border-b",style:{backgroundColor:"var(--tpl-surface)",backgroundImage:Os,paddingBlock:"var(--section-space)"},children:[n.jsx("div",{className:"shell",children:n.jsx(au,{id:"units",title:Ye(i,o.path,`${o.label} ${c.length}개 안내`)})}),c.map((f,d)=>n.jsx(my,{unit:f,no:String(d+1).padStart(2,"0"),dark:d%2===1,booking:u,phone:i.place.phone},f.unitId))]})}function my({unit:i,no:c,dark:o,booking:u,phone:f}){return n.jsx("article",{className:"w-full",style:o?{backgroundColor:"var(--tpl-inverse)",color:"var(--tpl-bg)",backgroundImage:Os}:void 0,children:n.jsxs("div",{className:"shell grid grid-cols-12 gap-y-6 py-10 xl:gap-x-10 xl:py-16",children:[n.jsxs("div",{className:"col-span-12 xl:col-span-5 xl:pr-8",children:[n.jsxs("div",{className:"relative",children:[n.jsx("span",{"aria-hidden":!0,className:"serif pointer-events-none absolute -top-1 left-0 select-none leading-none tabular-nums",style:{fontSize:"clamp(3rem, 8vw, 6rem)",fontWeight:800,opacity:.1},children:c}),n.jsx("h3",{className:"serif relative pt-7 xl:pt-12",style:{fontSize:"clamp(1.5rem, 3vw, 2.25rem)",fontWeight:800,lineHeight:1.1,letterSpacing:"-0.02em"},children:i.name})]}),i.intro&&n.jsx("p",{className:"measure mt-4 font-serif text-[length:var(--fs-body)] leading-relaxed opacity-85",children:i.intro}),i.rows.length>0&&n.jsx("dl",{className:"border-line mt-6 border-t",children:i.rows.map(d=>n.jsxs("div",{className:"border-line flex items-baseline justify-between gap-6 border-b py-2.5 text-[length:var(--fs-sm)]",children:[n.jsx("dt",{className:"text-muted shrink-0",children:d.label}),n.jsx("dd",{className:"text-right font-semibold",children:d.value})]},d.label))}),(u||f)&&n.jsxs("div",{className:"mt-6 flex flex-wrap items-center gap-x-6 gap-y-1 text-[length:var(--fs-sm)] font-bold",children:[u&&n.jsx("a",{href:u.url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex items-center underline underline-offset-4",children:ht(u)}),f&&n.jsx("a",{href:`tel:${f}`,className:"tap inline-flex items-center underline underline-offset-4",children:f})]})]}),n.jsxs("div",{className:"col-span-12 xl:col-span-7 xl:-ml-10",children:[i.images[0]&&n.jsx("figure",{className:"w-full xl:w-[64%]",children:n.jsx("img",{src:i.images[0].url,alt:i.images[0].alt,loading:"lazy",decoding:"async",width:i.images[0].width,height:i.images[0].height,className:"w-full object-cover",style:{aspectRatio:"4 / 5"}})}),i.images[1]&&n.jsx("figure",{className:"mt-3 w-full xl:-mt-24 xl:ml-auto xl:w-[50%]",children:n.jsx("img",{src:i.images[1].url,alt:i.images[1].alt,loading:"lazy",decoding:"async",width:i.images[1].width,height:i.images[1].height,className:"w-full object-cover",style:{aspectRatio:"4 / 3"}})})]}),i.images.length>2&&n.jsx("ul",{className:"col-span-12 grid grid-cols-3 gap-2 xl:grid-cols-6",children:i.images.slice(2).map(d=>n.jsx("li",{children:n.jsx("img",{src:d.url,alt:d.alt,loading:"lazy",decoding:"async",width:d.width,height:d.height,className:"w-full object-cover",style:{aspectRatio:"3 / 2"}})},d.mediaId))})]})})}function Lo(){var h;const i=le(),c=ft(i),o=hc();if(o==="reservation")return n.jsx(ry,{});if(o==="oasi")return n.jsx(oy,{});if(o==="studio")return n.jsx(uy,{});if(o==="pastel")return n.jsx(fy,{});if(o==="editorial")return n.jsx(dy,{});const u=(h=i.theme.sections.find(p=>p.id===c.path))==null?void 0:h.variantId;if(u==="rooms.bands")return n.jsx(iy,{});if(u==="rooms.tabs")return n.jsx(cy,{});const f=fl(i);if(f.length===0)return null;const d=f.length===1?"grid-cols-1":f.length===2?"grid-cols-1 sm:grid-cols-2":"grid-cols-1 sm:grid-cols-2 xl:grid-cols-3";return n.jsx(vt,{id:"units",title:Ye(i,c.path,`${c.label} ${f.length}개 안내`),children:n.jsx("ul",{className:`grid gap-5 lg:gap-7 ${d}`,children:f.map(p=>n.jsxs(bu,{as:"li",className:"flex flex-col overflow-hidden",children:[n.jsxs("div",{className:"flex flex-1 flex-col",children:[p.images.length>0&&n.jsx(hy,{images:p.images,name:p.name}),n.jsxs("div",{className:"flex flex-1 flex-col gap-3 p-5",children:[n.jsx("h3",{className:"h3",children:p.name}),p.chips.length>0&&n.jsx("ul",{className:"flex flex-wrap items-center gap-1.5",children:p.chips.map(g=>n.jsx("li",{children:n.jsxs(vu,{children:[n.jsx("span",{className:"text-muted",children:g.label}),n.jsx("span",{className:"font-medium",children:g.value})]})},g.label))}),p.intro&&n.jsx("p",{className:"text-[length:var(--fs-sm)] leading-relaxed opacity-75",children:p.intro})]})]}),p.rows.length>0&&n.jsxs("details",{className:"group border-line border-t",children:[n.jsxs("summary",{className:"tap flex cursor-pointer list-none items-center justify-between gap-2 px-5 text-[length:var(--fs-sm)] font-semibold",children:[n.jsxs("span",{children:[p.name," 자세히"]}),n.jsx(fc,{className:"size-4 shrink-0 transition-transform group-open:rotate-180"})]}),n.jsx("div",{className:"space-y-5 px-5 pb-5",children:p.rows.length>0&&n.jsx("dl",{className:"divide-line border-line divide-y border-t",children:p.rows.map(g=>n.jsxs("div",{className:"flex items-baseline justify-between gap-4 py-2.5 text-[length:var(--fs-sm)]",children:[n.jsx("dt",{className:"text-muted shrink-0",children:g.label}),n.jsx("dd",{className:"text-right font-semibold",children:g.value})]},g.label))})})]})]},p.unitId))})})}function hy({images:i,name:c}){const o=q.useRef(null),[u,f]=q.useState(0),d=q.useCallback(()=>{const p=o.current;!p||p.clientWidth===0||f(Math.round(p.scrollLeft/p.clientWidth))},[]),h=q.useCallback(p=>{const g=o.current;if(!g)return;const x=window.matchMedia("(prefers-reduced-motion: reduce)").matches;g.scrollBy({left:p*g.clientWidth,behavior:x?"auto":"smooth"})},[]);return n.jsxs("div",{className:"relative",children:[n.jsx("ul",{ref:o,onScroll:d,"aria-label":`${c} 사진`,className:"flex snap-x snap-mandatory overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",children:i.map(p=>n.jsx("li",{className:"w-full shrink-0 snap-center",children:n.jsx("div",{className:"relative aspect-16/10 overflow-hidden",children:n.jsx("img",{src:p.url,alt:p.alt,loading:"lazy",decoding:"async",className:"size-full object-cover"})})},p.mediaId))}),i.length>1&&n.jsxs(n.Fragment,{children:[n.jsx(Zh,{dir:"prev",show:u>0,onClick:()=>h(-1)}),n.jsx(Zh,{dir:"next",show:uh(1)}),n.jsxs("span",{className:"pointer-events-none absolute bottom-2.5 right-2.5 rounded-full bg-black/55 px-2 py-0.5 text-[length:var(--fs-xs)] font-semibold tabular-nums text-white",children:[Math.min(u+1,i.length)," / ",i.length]})]})]})}function Zh({dir:i,show:c,onClick:o}){const u=i==="prev"?oa:ua;return n.jsx("button",{type:"button",onClick:o,"aria-label":i==="prev"?"이전 사진":"다음 사진","aria-hidden":!c,tabIndex:c?0:-1,className:`absolute top-1/2 z-10 flex size-8 -translate-y-1/2 items-center justify-center rounded-full bg-black/45 text-white backdrop-blur-sm transition-opacity hover:bg-black/65 ${c?"opacity-100":"pointer-events-none opacity-0"} ${i==="prev"?"left-2":"right-2"}`,children:n.jsx(u,{className:"size-4"})})}function py(){const i=le(),c=Ze(i),o=B0(i),u=i.place.phone;return c.length===0&&o.length===0&&!u?null:n.jsx(vt,{id:"booking",tone:"alt",title:Ye(i,"booking","예약 안내"),lead:`${i.place.name} 예약은 아래 경로로 받습니다.`,children:n.jsxs("div",{className:"grid gap-6 lg:grid-cols-12 lg:gap-10",children:[o.length>0&&n.jsx("dl",{className:"panel divide-line divide-y overflow-hidden px-5 lg:col-span-7",children:o.map(f=>n.jsx(kp,{label:f.label,value:f.value},f.label))}),n.jsx("div",{className:o.length>0?"lg:col-span-5":"lg:col-span-12",children:n.jsxs("div",{className:o.length>0?"flex flex-col gap-2.5 sm:flex-row sm:flex-wrap lg:flex-col":"flex flex-col items-start gap-2.5 sm:flex-row sm:flex-wrap",children:[u&&n.jsxs(Qh,{href:`tel:${u}`,icon:n.jsx(At,{className:"size-4"}),children:["전화 예약 ",u]}),c.map(f=>n.jsx(Qh,{href:f.url,variant:"outline",external:!0,children:Sp(f)},f.url))]})})]})})}const Kh=["일","월","화","수","목","금","토"],Jh=2;function Wh(i){return`${i.getFullYear()}-${String(i.getMonth()+1).padStart(2,"0")}-${String(i.getDate()).padStart(2,"0")}`}function xy(i,c,o){const u=new Date(i,c,1),f=new Date(i,c+1,0).getDate(),d=Wh(o),h=Array.from({length:u.getDay()},()=>null);for(let p=1;p<=f;p+=1){const g=new Date(i,c,p),x=Wh(g);h.push({iso:x,day:p,weekday:g.getDay(),isWeekend:g.getDay()===0||g.getDay()===6,past:xo+d).filter(f=>f<=23).map(f=>`${String(f).padStart(2,"0")}:${u}`):[]}function by(i){return eu(i.units).map(c=>{var u;const o=f=>{var h;const d=Number((h=Tt(c.facts,f))==null?void 0:h.replace(/[^0-9]/g,""));return Number.isFinite(d)&&d>0?d:void 0};return{unitId:c.unitId,name:c.name,weekdayPrice:(u=yp(c))==null?void 0:u.price,weekendPrice:o("weekend_price"),maxCapacity:o("max_capacity")}})}function vy(){var se;const i=le(),c=q.useMemo(()=>by(i),[i]),o=q.useMemo(()=>{var Q;return((Q=Bs(i.facts).find(ae=>ae.key==="check_in_time"))==null?void 0:Q.value)??void 0},[i]),u=q.useMemo(()=>gy(o),[o]),[f,d]=q.useState(null),[h,p]=q.useState(0);q.useEffect(()=>d(new Date),[]);const g=q.useMemo(()=>f?new Date(f.getFullYear(),f.getMonth()+h,1):null,[f,h]),x=q.useMemo(()=>f&&g?xy(g.getFullYear(),g.getMonth(),f):[],[f,g]),[v,y]=q.useState(null),[z,w]=q.useState(null),[N,T]=q.useState(((se=c[0])==null?void 0:se.unitId)??null),[D,U]=q.useState(2),[X,Z]=q.useState(!1),P=x.find(Q=>Q!==null&&Q.iso===v)??null,$=c.find(Q=>Q.unitId===N)??null,K=($==null?void 0:$.maxCapacity)??8,G=P&&$?P.isWeekend?$.weekendPrice??$.weekdayPrice:$.weekdayPrice:void 0,ee=!!(v&&$&&(u.length===0||z));return q.useEffect(()=>{U(Q=>Math.min(Q,($==null?void 0:$.maxCapacity)??8))},[$]),c.length===0?null:n.jsxs("div",{className:"mt-4 overflow-hidden rounded-2xl border border-black/8 lg:mt-6",style:{backgroundColor:"var(--color-surface)"},children:[n.jsx("div",{className:"border-b border-black/8 px-4 py-3 sm:px-5",children:n.jsxs("p",{className:"flex items-center gap-2 text-xs font-bold",children:[n.jsx(Nb,{className:"size-3.5 opacity-50"}),n.jsx("span",{children:"날짜 · 시간 선택"})]})}),f===null||g===null?n.jsx("p",{className:"px-4 py-6 text-xs leading-relaxed opacity-60 sm:px-5",children:"날짜 선택은 브라우저에서 열립니다. 실제 예약 가능 여부와 결제는 아래 예약 창구에서 확인해 주세요."}):X?n.jsx(yy,{payload:i,onReset:()=>Z(!1),summary:[P?`${g.getMonth()+1}월 ${P.day}일(${Kh[P.weekday]})`:null,z?`도착 ${z}`:null,($==null?void 0:$.name)??null,`${D}명`].filter(Q=>!!Q).join(" · ")}):n.jsxs("div",{className:"space-y-5 p-4 sm:p-5",children:[n.jsxs("div",{children:[n.jsxs("div",{className:"mb-2 flex items-center justify-between",children:[n.jsx("p",{className:"text-[11px] font-semibold opacity-55",children:"날짜"}),n.jsxs("div",{className:"flex items-center gap-1",children:[n.jsx("button",{type:"button",onClick:()=>p(Q=>Math.max(0,Q-1)),disabled:h===0,"aria-label":"이전 달",className:"flex size-7 items-center justify-center rounded-lg border border-black/10 transition-colors hover:bg-black/5 disabled:cursor-not-allowed disabled:opacity-30",children:n.jsx(oa,{className:"size-3.5"})}),n.jsxs("span",{className:"w-24 text-center text-xs font-bold",children:[g.getFullYear(),"년 ",g.getMonth()+1,"월"]}),n.jsx("button",{type:"button",onClick:()=>p(Q=>Math.min(Jh,Q+1)),disabled:h>=Jh,"aria-label":"다음 달",className:"flex size-7 items-center justify-center rounded-lg border border-black/10 transition-colors hover:bg-black/5 disabled:cursor-not-allowed disabled:opacity-30",children:n.jsx(ua,{className:"size-3.5"})})]})]}),n.jsx("div",{className:"grid grid-cols-7 gap-1 border-b border-black/8 pb-1.5",children:Kh.map((Q,ae)=>n.jsx("span",{className:"text-center text-[10px] font-semibold",style:{opacity:ae===0||ae===6?.75:.45},children:Q},Q))}),n.jsx("div",{className:"mt-1.5 grid grid-cols-7 gap-1",children:x.map((Q,ae)=>Q===null?n.jsx("span",{"aria-hidden":!0},`pad-${ae}`):n.jsx("button",{type:"button",disabled:Q.past,onClick:()=>y(Q.iso),"aria-pressed":Q.iso===v,"aria-label":`${g.getMonth()+1}월 ${Q.day}일`,className:"flex h-9 items-center justify-center rounded-lg border text-xs transition-colors disabled:cursor-not-allowed",style:{borderColor:Q.iso===v?"var(--color-brand)":"transparent",backgroundColor:Q.iso===v?"var(--color-brand)":"var(--color-surface-alt)",color:Q.iso===v?"#fff":void 0,opacity:Q.past?.25:1,fontWeight:Q.iso===v?700:400},children:Q.day},Q.iso))}),(P==null?void 0:P.isWeekend)&&n.jsx("p",{className:"mt-2 text-[11px] opacity-55",children:"주말 요금이 적용되는 날짜입니다."})]}),u.length>0&&n.jsxs("div",{children:[n.jsxs("p",{className:"mb-2 flex items-center gap-1.5 text-[11px] font-semibold opacity-55",children:[n.jsx(Cb,{className:"size-3"}),n.jsxs("span",{children:["도착 예정 시간 (체크인 ",o," 이후)"]})]}),n.jsx("ul",{className:"flex flex-wrap gap-1.5",children:u.map(Q=>{const ae=Q===z;return n.jsx("li",{children:n.jsx("button",{type:"button",onClick:()=>w(Q),"aria-pressed":ae,className:"rounded-lg border px-3 py-1.5 text-xs font-medium transition-colors",style:{borderColor:ae?"var(--color-brand)":"rgba(0,0,0,0.10)",backgroundColor:ae?"var(--color-brand)":"var(--color-surface-alt)",color:ae?"#fff":void 0},children:Q})},Q)})})]}),n.jsxs("div",{children:[n.jsx("p",{className:"mb-2 text-[11px] font-semibold opacity-55",children:"객실"}),n.jsx("ul",{className:"grid gap-1.5 sm:grid-cols-2",children:c.map(Q=>{const ae=Q.unitId===N;return n.jsx("li",{children:n.jsxs("button",{type:"button",onClick:()=>T(Q.unitId),"aria-pressed":ae,className:"flex w-full items-center justify-between gap-2 rounded-xl border px-3 py-2.5 text-left text-xs transition-colors",style:{borderColor:ae?"var(--color-brand)":"rgba(0,0,0,0.10)",backgroundColor:"var(--color-surface-alt)"},children:[n.jsx("span",{className:"font-semibold",children:Q.name}),Q.maxCapacity&&n.jsxs("span",{className:"shrink-0 opacity-55",children:["최대 ",Q.maxCapacity,"명"]})]})},Q.unitId)})})]}),n.jsxs("div",{className:"flex items-center justify-between",children:[n.jsx("p",{className:"text-[11px] font-semibold opacity-55",children:"인원"}),n.jsxs("div",{className:"flex items-center gap-3",children:[n.jsx("button",{type:"button",onClick:()=>U(Q=>Math.max(1,Q-1)),"aria-label":"인원 줄이기",className:"flex size-7 items-center justify-center rounded-lg border border-black/10 transition-colors hover:bg-black/5",children:n.jsx(Gb,{className:"size-3.5"})}),n.jsxs("span",{className:"w-10 text-center text-sm font-bold",children:[D,"명"]}),n.jsx("button",{type:"button",onClick:()=>U(Q=>Math.min(K,Q+1)),"aria-label":"인원 늘리기",className:"flex size-7 items-center justify-center rounded-lg border border-black/10 transition-colors hover:bg-black/5",children:n.jsx(Kb,{className:"size-3.5"})})]})]}),n.jsxs("div",{className:"rounded-xl border border-black/8 p-3",style:{backgroundColor:"var(--color-surface-alt)"},children:[n.jsxs("div",{className:"flex items-baseline justify-between gap-3",children:[n.jsx("span",{className:"text-xs opacity-60",children:P?`${g.getMonth()+1}월 ${P.day}일 · ${($==null?void 0:$.name)??""} · ${D}명`:"날짜를 골라 주세요"}),G!=null&&n.jsxs("span",{className:"text-sm font-bold",style:{color:"var(--color-brand)"},children:[G.toLocaleString("ko-KR"),"원"]})]}),G!=null&&n.jsx("p",{className:"mt-1 text-[11px] opacity-50",children:"1박 기준 안내 요금입니다. 인원 추가·성수기 요금은 예약 창구에서 확인됩니다."})]}),n.jsx("button",{type:"button",disabled:!ee,onClick:()=>Z(!0),className:"w-full rounded-xl px-4 py-3 text-sm font-bold text-white transition-opacity disabled:cursor-not-allowed disabled:opacity-40",style:{backgroundColor:"var(--color-brand)"},children:"예약 요청 확인하기"})]})]})}function yy({payload:i,summary:c,onReset:o}){const u=i.place.phone;return n.jsxs("div",{className:"space-y-4 p-4 sm:p-5",children:[n.jsxs("div",{className:"flex items-start gap-2.5",children:[n.jsx("span",{className:"mt-0.5 flex size-7 shrink-0 items-center justify-center rounded-full text-white",style:{backgroundColor:"var(--color-brand)"},children:n.jsx(dp,{className:"size-4"})}),n.jsxs("div",{className:"min-w-0",children:[n.jsx("p",{className:"text-sm font-bold",children:"예약 내용 확인"}),n.jsx("p",{className:"mt-0.5 text-xs leading-relaxed opacity-70",children:c})]})]}),n.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row",children:[u&&n.jsxs("a",{href:`tel:${u}`,className:"flex flex-1 items-center justify-center gap-2 rounded-xl px-4 py-3 text-sm font-bold text-white transition-opacity hover:opacity-90",style:{backgroundColor:"var(--color-brand)"},children:[n.jsx(At,{className:"size-4"}),n.jsxs("span",{children:["전화로 예약하기 ",u]})]}),n.jsxs("button",{type:"button",onClick:o,className:"flex items-center justify-center gap-1.5 rounded-xl border border-black/10 px-4 py-3 text-xs font-semibold transition-colors hover:bg-black/5",children:[n.jsx(Wb,{className:"size-3.5"}),n.jsx("span",{children:"다시 고르기"})]})]})]})}function Fh(){const i=le(),c=J0(i);if(!c)return null;const{offers:o,notices:u,links:f,contacts:d,phone:h}=c;return n.jsx("section",{id:"booking","aria-labelledby":"booking-heading",className:"w-full border-b border-black/8 py-16 sm:py-24",style:{backgroundColor:"var(--color-surface-alt)"},children:n.jsxs("div",{className:"shell",children:[n.jsxs("p",{className:"mb-2 flex items-center gap-2 text-xs font-semibold uppercase tracking-wider opacity-50",children:[n.jsx(yb,{className:"size-4"}),n.jsx("span",{children:"Reservation"})]}),n.jsx("h2",{id:"booking-heading",className:"serif mb-2 text-2xl font-bold tracking-tight sm:text-3xl lg:text-4xl",children:Ye(i,"booking","예약 안내")}),n.jsx("p",{className:"mb-8 max-w-2xl text-xs leading-relaxed opacity-60 sm:text-sm",children:"빈 방 확인과 결제는 아래 예약 창구에서 진행됩니다. 이 페이지에서는 요금과 이용 조건만 안내합니다."}),n.jsxs("div",{className:"grid grid-cols-1 gap-4 lg:grid-cols-5 lg:gap-6",children:[o.length>0&&n.jsxs("div",{className:"overflow-hidden rounded-2xl border border-black/8 lg:col-span-3",style:{backgroundColor:"var(--color-surface)"},children:[n.jsxs("p",{className:"flex items-center gap-2 border-b border-black/8 px-4 py-3 text-xs font-bold sm:px-5",children:[n.jsx(bb,{className:"size-3.5 opacity-50"}),n.jsx("span",{children:"객실별 요금 · 인원"})]}),n.jsx("ul",{className:"divide-y divide-black/5",children:o.map(p=>n.jsxs("li",{className:"p-4 sm:p-5",children:[n.jsxs("div",{className:"flex flex-wrap items-baseline justify-between gap-x-3 gap-y-1",children:[n.jsx("h3",{className:"serif text-base font-bold sm:text-lg",children:p.name}),p.baseRateText&&n.jsx("span",{className:"text-sm font-bold",style:{color:"var(--color-brand)"},children:p.baseRateText})]}),p.capacityText&&n.jsx("p",{className:"mt-1 text-xs opacity-60",children:p.capacityText}),p.rateRows.length>0&&n.jsx("dl",{className:"mt-3 flex flex-wrap gap-x-4 gap-y-1.5",children:p.rateRows.map(g=>n.jsxs("div",{className:"flex items-baseline gap-1.5 text-xs",children:[n.jsx("dt",{className:"opacity-50",children:g.label}),n.jsx("dd",{className:"font-semibold",children:g.value})]},g.label))}),n.jsx("a",{href:p.href,className:"mt-3 inline-flex items-center gap-1 text-xs font-semibold underline decoration-black/20 underline-offset-4 transition-opacity hover:opacity-70",children:n.jsxs("span",{children:[p.name," 사진 · 상세 보기"]})})]},p.unitId))})]}),n.jsxs("div",{className:"flex h-fit flex-col gap-3 rounded-2xl border border-black/8 p-4 sm:p-5 lg:col-span-2",style:{backgroundColor:"var(--color-surface)"},children:[n.jsx("p",{className:"text-xs font-bold",children:"예약 창구"}),h&&n.jsxs("a",{href:`tel:${h}`,className:"flex items-center justify-center gap-2 rounded-xl px-4 py-3 text-sm font-bold text-white transition-opacity hover:opacity-90",style:{backgroundColor:"var(--color-brand)"},children:[n.jsx(At,{className:"size-4"}),n.jsxs("span",{children:["전화 예약 ",h]})]}),f.map(p=>n.jsxs("a",{href:p.url,target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-between gap-2 rounded-xl border border-black/10 px-4 py-3 text-xs font-semibold transition-colors hover:bg-black/5",style:{backgroundColor:"var(--color-surface-alt)"},children:[n.jsx("span",{children:Sp(p)}),n.jsx(Sn,{className:"size-3.5 shrink-0"})]},p.url)),d.length>0&&n.jsxs("div",{className:"mt-1 border-t border-black/8 pt-3",children:[n.jsx("p",{className:"mb-2 text-xs opacity-50",children:"문의"}),n.jsx("ul",{className:"flex flex-wrap gap-2",children:d.map(p=>n.jsx("li",{children:n.jsxs("a",{href:p.url,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1 rounded-lg border border-black/10 px-2.5 py-1.5 text-xs transition-colors hover:bg-black/5",children:[n.jsx("span",{children:ml(p)}),n.jsx(Sn,{className:"size-3"})]})},p.url))})]}),f.length===0&&n.jsx("p",{className:"text-xs leading-relaxed opacity-55",children:"온라인 예약 채널은 등록되지 않았습니다. 예약은 전화로 문의해 주세요."})]})]}),n.jsx(vy,{}),u.length>0&&n.jsxs("div",{className:"mt-4 overflow-hidden rounded-2xl border border-black/8 lg:mt-6",style:{backgroundColor:"var(--color-surface)"},children:[n.jsxs("p",{className:"flex items-center gap-2 border-b border-black/8 px-4 py-3 text-xs font-bold sm:px-5",children:[n.jsx(Ib,{className:"size-3.5 opacity-50"}),n.jsx("span",{children:"예약 전 확인"})]}),n.jsx("dl",{className:"grid grid-cols-1 divide-y divide-black/5 sm:grid-cols-2 sm:divide-y-0",children:u.map(p=>n.jsxs("div",{className:"flex flex-col gap-1 p-4 sm:flex-row sm:items-start sm:justify-between sm:gap-4 sm:p-5",children:[n.jsx("dt",{className:"shrink-0 text-xs opacity-55",children:p.label}),n.jsx("dd",{className:"text-xs font-semibold sm:max-w-[60%] sm:text-right",children:p.value})]},p.label))})]})]})})}function jy(){const i=le(),c=Y0(i);return c.length===0?null:n.jsx(vt,{id:"space",title:Ye(i,"space","공간 안내"),lead:"좌석과 이용 환경 안내입니다.",children:n.jsx("dl",{className:"grid grid-cols-2 gap-3 sm:grid-cols-3 lg:grid-cols-4 lg:gap-4",children:c.map(o=>n.jsxs(bu,{className:"p-4 sm:p-5",children:[n.jsx("dt",{className:"text-muted mb-1 text-[length:var(--fs-xs)] font-medium",children:o.label}),n.jsx("dd",{className:"text-[length:var(--fs-lead)] font-bold",children:o.value})]},o.label))})})}function Ny(){const i=le(),{place:c}=i,o=wn(i);if(!c.phone&&!c.email&&o.length===0)return null;const u=[...c.phone?[{key:"phone",icon:At,label:"전화",value:c.phone,href:`tel:${c.phone}`}]:[],...c.email?[{key:"email",icon:mp,label:"이메일",value:c.email,href:`mailto:${c.email}`}]:[],...o.map(f=>({key:f.url,icon:Io,label:ml(f),value:"바로 가기",href:f.url,external:!0}))];return n.jsx(vt,{id:"inquiry",title:Ye(i,"inquiry","문의 안내"),lead:`궁금한 점은 아래로 연락 주시면 ${c.name}에서 직접 안내해 드립니다.`,children:n.jsx("ul",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-3 lg:gap-4",children:u.map(f=>{const d=f.icon,h="external"in f&&f.external;return n.jsx("li",{children:n.jsxs("a",{href:f.href,...h?{target:"_blank",rel:"noopener noreferrer"}:{},className:"panel flex h-full items-center justify-between gap-3 p-5 transition-opacity hover:opacity-80",children:[n.jsxs("span",{className:"flex min-w-0 items-center gap-3",children:[n.jsx(d,{className:"size-5 shrink-0 opacity-40"}),n.jsxs("span",{className:"min-w-0",children:[n.jsx("span",{className:"text-muted block text-[length:var(--fs-xs)] font-medium",children:f.label}),n.jsx("span",{className:"block break-all text-[length:var(--fs-sm)] font-semibold",children:f.value})]})]}),h&&n.jsx(Sn,{className:"size-4 shrink-0 opacity-40"})]})},f.key)})})})}function Sy(){const i=le(),c=$0(i);return c.length===0?null:n.jsx(vt,{id:"exhibition",tone:"alt",title:Ye(i,"exhibition","관람 안내"),lead:"방문 전 관람 조건을 확인해 주세요.",children:n.jsx("dl",{className:"panel divide-line divide-y overflow-hidden px-5",children:c.map(o=>n.jsx(kp,{label:o.label,value:o.value},o.label))})})}function zy(){const[i,c]=q.useState([]);return q.useEffect(()=>c(E0()),[]),i}const Ey=["봄","여름","가을","겨울"];function wy(){const i=le(),c=i.local.festivals,o=zy(),[u,f]=q.useState(null);if(c.length===0)return null;const d=Ey.filter(y=>c.some(z=>z.season===y)),h=c.filter(y=>{var z;return!((z=y.season)!=null&&z.trim())}),p=[...o].reverse().find(y=>d.includes(y)),g="전체",x=u??p??null,v=x===g;return n.jsxs(vt,{id:"festival",title:"계절별 축제",lead:`${i.place.addressLocality??"이 지역"}의 축제와 행사를 계절로 묶었습니다.`,aside:x&&!v?n.jsxs("p",{className:"text-muted text-[length:var(--fs-xs)]",children:["지금은 ",x," 축제입니다"]}):void 0,footnote:n.jsx(n.Fragment,{children:"한국관광공사 TourAPI 기준. 일정은 주최 측 사정으로 바뀔 수 있습니다."}),children:[d.length>1&&n.jsx("div",{className:"mb-6 flex flex-wrap gap-1.5",role:"tablist","aria-label":"계절",children:[...d,g].map(y=>{const z=x===y;return n.jsx("button",{type:"button",role:"tab","aria-selected":z,onClick:()=>f(y),className:"border-line rounded-full border px-4 py-1.5 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-80",style:z?{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)",borderColor:"transparent"}:void 0,children:y},y)})}),n.jsxs("div",{className:"space-y-8",children:[d.map(y=>{const z=c.filter(w=>w.season===y);return n.jsxs("div",{hidden:!v&&x!==null&&x!==y,children:[n.jsx("h3",{className:"border-line mb-4 border-b pb-2 text-[length:var(--fs-sm)] font-bold",children:y}),n.jsx(Ih,{items:z,label:`${y} 축제`,remount:x})]},y)}),h.length>0&&n.jsxs("div",{children:[n.jsx("h3",{className:"border-line mb-4 border-b pb-2 text-[length:var(--fs-sm)] font-bold",children:"계절 없이 열리는 행사"}),n.jsx(Ih,{items:h,label:"계절 없이 열리는 행사"})]})]})]})}function Ih({items:i,label:c,remount:o}){return n.jsx(gu,{label:c,children:i.map(u=>n.jsx(Mp,{basis:"basis-[76%] sm:basis-1/3 lg:basis-1/4",children:n.jsxs("a",{href:Vo(u.searchQuery),target:"_blank",rel:"noopener noreferrer nofollow",className:"panel group flex h-full flex-col overflow-hidden transition-opacity hover:opacity-85",children:[n.jsxs("span",{className:"relative block aspect-4/3 overflow-hidden",children:[u.imageUrl?n.jsx("img",{src:u.imageUrl,alt:`${u.name} 사진`,loading:"lazy",decoding:"async",className:"size-full object-cover transition-transform duration-500 group-hover:scale-105"}):n.jsx("span",{className:"serif grid size-full place-items-center px-3 text-center text-[length:var(--fs-lead)] leading-tight",style:{backgroundColor:"color-mix(in oklab, currentColor 9%, transparent)"},"aria-hidden":!0,children:u.name}),n.jsx("span",{className:"absolute bottom-2 left-2 rounded-md px-2 py-0.5 text-[length:var(--fs-xs)] font-bold",style:{backgroundColor:"color-mix(in srgb, var(--tpl-inverse, #1c1917) 78%, transparent)",color:"var(--tpl-bg, #fff)"},children:u.month})]}),n.jsxs("span",{className:"flex min-w-0 flex-1 flex-col gap-1 p-3.5",children:[n.jsx("span",{className:"text-[length:var(--fs-sm)] font-bold",children:u.name}),u.period&&n.jsx("span",{className:"text-[length:var(--fs-xs)] font-medium opacity-80",children:u.period}),u.location&&n.jsxs("span",{className:"text-muted flex items-start gap-1 text-[length:var(--fs-xs)]",children:[n.jsx(Ls,{className:"mt-0.5 size-3 shrink-0 opacity-60"}),n.jsx("span",{children:u.location})]}),u.description&&n.jsx("span",{className:"text-muted line-clamp-3 pt-0.5 text-[length:var(--fs-xs)] leading-relaxed",children:u.description}),n.jsxs("span",{className:"text-muted mt-auto flex items-center gap-0.5 pt-1.5 text-[length:var(--fs-xs)] opacity-70 transition-opacity group-hover:opacity-100",children:[n.jsx("span",{children:"검색으로 열기"}),n.jsx(Sn,{className:"size-3.5"})]})]})]})},u.name))},o??"all")}const As=80,Ph=[{id:"all",label:"전체",test:()=>!0},{id:"w5",label:"걸어서 5분 이내",test:i=>i<=5*As},{id:"w10",label:"걸어서 10분 이내",test:i=>i<=10*As},{id:"far",label:"걸어서 10분 이상",test:i=>i>10*As}];function Bo(i){if(Number.isFinite(i))return`도보 약 ${Math.max(1,Math.round(i/As))}분`}function Cs(i){const c=/^([\d.]+)\s*(km|m)$/i.exec((i??"").trim());return c?Number(c[1])*(c[2].toLowerCase()==="km"?1e3:1):1/0}function _y(){const i=le(),{local:c}=i,o=c.restaurants.length>0||c.attractions.length>0,[u,f]=q.useState("all");if(!o)return null;const d=[...c.restaurants,...c.attractions],h=v=>d.filter(y=>v.test(Cs(y.distanceText))).length,p=Ph.filter((v,y)=>y===0||h(v)>0&&h(v)v.id===u)??Ph[0],x=v=>g.test(Cs(v.distanceText));return n.jsxs(vt,{id:"guide",tone:"alt",title:"주변 안내",lead:`${i.place.addressLocality??"주변"} 지역의 맛집 · 명소 안내입니다.`,aside:c.syncedAt?n.jsxs("p",{className:"text-muted text-[length:var(--fs-xs)]",children:[nu(c.syncedAt)," 갱신"]}):void 0,footnote:n.jsxs(n.Fragment,{children:["도보 시간은 숙소에서 잰 직선거리를 분속 ",As,"m 로 환산한 값입니다. 실제로 걷는 길은 이보다 깁니다."]}),children:[p.length>1&&n.jsx("div",{className:"mb-6 flex flex-wrap gap-1.5",role:"tablist","aria-label":"거리",children:p.map(v=>{const y=v.id===u,z=h(v);return n.jsxs("button",{type:"button",role:"tab","aria-selected":y,onClick:()=>f(v.id),className:"border-line rounded-full border px-4 py-1.5 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-80",style:y?{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)",borderColor:"transparent"}:void 0,children:[v.label," ",n.jsx("span",{className:"tabular-nums opacity-70",children:z})]},v.id)})}),n.jsxs("div",{className:"space-y-10",children:[c.restaurants.length>0&&n.jsx(ep,{title:"주변 맛집",icon:e0,places:c.restaurants,within:x}),c.attractions.length>0&&n.jsx(ep,{title:"주변 명소",icon:Ls,places:c.attractions,within:x})]})]})}function Ty({icon:i,children:c}){return n.jsxs("h3",{className:"border-line mb-4 flex items-center gap-2 border-b pb-2 text-[length:var(--fs-sm)] font-bold",children:[n.jsx(i,{className:"size-4 opacity-50"}),n.jsx("span",{children:c})]})}function ep({title:i,icon:c,places:o,within:u}){const f=o.filter(u);return n.jsxs("div",{children:[n.jsx(Ty,{icon:c,children:i}),n.jsx(gu,{label:i,children:f.map(d=>n.jsx(Mp,{basis:"basis-[76%] sm:basis-1/3 lg:basis-1/4",children:n.jsxs("a",{href:Vo(d.searchQuery),target:"_blank",rel:"noopener noreferrer nofollow",className:"panel group flex h-full flex-col overflow-hidden transition-opacity hover:opacity-85",children:[n.jsxs("span",{className:"relative block aspect-4/3 overflow-hidden",children:[d.imageUrl?n.jsx("img",{src:d.imageUrl,alt:`${d.name} 사진`,loading:"lazy",decoding:"async",className:"size-full object-cover transition-transform duration-500 group-hover:scale-105"}):n.jsx("span",{className:"serif grid size-full place-items-center px-3 text-center text-[length:var(--fs-lead)] leading-tight",style:{backgroundColor:"color-mix(in oklab, currentColor 9%, transparent)"},"aria-hidden":!0,children:d.name}),d.distanceText&&n.jsxs("span",{className:"absolute bottom-2 left-2 rounded-md px-2 py-0.5 text-[length:var(--fs-xs)] font-bold",style:{backgroundColor:"color-mix(in srgb, var(--tpl-inverse, #1c1917) 78%, transparent)",color:"var(--tpl-bg, #fff)"},children:[Bo(Cs(d.distanceText))??d.distanceText,n.jsx("span",{className:"ml-1 font-normal opacity-70",children:d.distanceText})]})]}),n.jsxs("span",{className:"flex flex-1 flex-col gap-1 p-3.5",children:[n.jsx("span",{className:"text-[length:var(--fs-sm)] font-bold",children:d.name}),d.description&&n.jsx("span",{className:"text-muted line-clamp-3 text-[length:var(--fs-xs)] leading-relaxed",children:d.description}),n.jsxs("span",{className:"text-muted mt-auto flex items-center gap-0.5 pt-1.5 text-[length:var(--fs-xs)] opacity-70 transition-opacity group-hover:opacity-100",children:[n.jsx("span",{children:"검색으로 열기"}),n.jsx(Sn,{className:"size-3.5"})]})]})]})},d.name))},f.length),n.jsx("ul",{hidden:!0,children:o.filter(d=>!u(d)).map(d=>n.jsxs("li",{children:[n.jsx("a",{href:Vo(d.searchQuery),rel:"nofollow",children:d.name}),d.distanceText&&n.jsxs("span",{children:[" ",d.distanceText,Bo(Cs(d.distanceText))&&` · ${Bo(Cs(d.distanceText))}`]}),d.description&&n.jsx("p",{children:d.description})]},d.name))}),f.length===0&&n.jsx("p",{className:"text-muted text-[length:var(--fs-sm)]",children:"이 거리 안에는 없습니다."})]})}function Ay(i){return i===0?"맑음":i>=1&&i<=3?"구름많음":i>=50&&i<=69?"비":i>=70&&i<=79?"눈":"흐림"}function Cy({initial:i,regionCode:c,latitude:o,longitude:u}){const[f,d]=q.useState(i);return q.useEffect(()=>{if(!c||o==null||u==null)return;const h=new AbortController;async function p(){var x;try{const v=new URLSearchParams({region_code:c,latitude:String(o),longitude:String(u)}),y=await fetch(`/v1/local/weather?${v}`,{signal:h.signal});if(!y.ok)return;const z=await y.json();if(!((x=z==null?void 0:z.result)!=null&&x.success)||!z.weather)return;d(w=>({temperature:Number(z.weather.temperature),condition:Ay(Number(z.weather.weather_code)),note:w==null?void 0:w.note,observedAt:z.weather.observed_at,stale:!!z.stale}))}catch{}}p();const g=window.setInterval(()=>void p(),600*1e3);return()=>{h.abort(),window.clearInterval(g)}},[o,u,c]),f}function My(i){const c=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})/.exec(i??"");if(!c)return;const[,,o,u,f,d]=c;return`${Number(o)}월 ${Number(u)}일 ${f}:${d} 관측`}function ky(){var p,g,x,v;const i=le(),c=Cy({initial:i.local.weather,regionCode:i.place.regionCode,latitude:i.place.latitude,longitude:i.place.longitude});if(!c)return null;const o=k0(c.condition),u=O0(c.temperature),f=((g=(p=i.local.weather)==null?void 0:p.notes)==null?void 0:g[o])??c.note,d=(v=(x=i.local.weather)==null?void 0:x.tempNotes)==null?void 0:v[u],h=My(c.observedAt);return n.jsx(vt,{id:"weather",tone:"alt",title:"오늘의 날씨",children:n.jsxs(bu,{className:"relative overflow-hidden",children:[n.jsx("div",{className:"w4-sky","data-mood":o,"aria-hidden":!0}),n.jsxs("div",{className:"relative flex flex-col gap-5 p-6 sm:p-8",children:[n.jsxs("div",{className:"flex flex-wrap items-baseline gap-x-4 gap-y-1",children:[n.jsxs("p",{className:"flex items-baseline gap-2.5",children:[n.jsx("span",{className:"serif tabular-nums leading-none",style:{fontSize:"var(--fs-display)"},children:Math.round(c.temperature)}),n.jsx("span",{className:"text-[length:var(--fs-lead)] opacity-70",children:"°C"}),n.jsx("span",{className:"text-[length:var(--fs-lead)] font-semibold",children:c.condition})]}),h&&n.jsxs("span",{className:"text-muted text-[length:var(--fs-xs)] tabular-nums",children:[h,c.stale&&" · 최근 관측값"]})]}),f&&n.jsx("p",{className:"measure serif text-[length:var(--fs-lead)] leading-loose opacity-85",children:f}),d&&n.jsxs("p",{className:"measure flex items-start gap-2.5 text-[length:var(--fs-sm)] leading-relaxed opacity-75",children:[n.jsx("span",{className:"border-line mt-0.5 shrink-0 rounded-full border px-2 py-0.5 text-[length:var(--fs-xs)] font-bold","aria-hidden":!0,children:u}),n.jsx("span",{children:d})]})]})]})})}function Oy(){const i=le(),c=lu(i),o=i.theme.sections.find(T=>T.id==="photos"),u=(o==null?void 0:o.variantId)??"photos.grid",[f,d]=q.useState(null),h=q.useRef(null),[p,g]=q.useState(0),[x,v]=q.useState({prev:!1,next:!0}),y=q.useCallback(()=>{const T=h.current;if(!T)return;const D=T.clientWidth,U=T.scrollWidth-D;g(D>0?Math.round(T.scrollLeft/D):0),v({prev:T.scrollLeft>8,next:T.scrollLeft(y(),window.addEventListener("resize",y),()=>window.removeEventListener("resize",y)),[y]),xu({box:h,interval:pu,advance:()=>Cp(h.current,1)});const z=q.useCallback(T=>{const D=h.current;if(!D)return;const U=window.matchMedia("(prefers-reduced-motion: reduce)").matches;D.scrollBy({left:T*D.clientWidth,behavior:U?"auto":"smooth"})},[]),w=q.useCallback(()=>d(null),[]),N=q.useCallback(T=>d(D=>D===null?null:(D+T+c.length)%c.length),[c.length]);return q.useEffect(()=>{if(f===null)return;const T=U=>{U.key==="Escape"&&w(),U.key==="ArrowLeft"&&N(-1),U.key==="ArrowRight"&&N(1)},D=document.body.style.overflow;return document.body.style.overflow="hidden",window.addEventListener("keydown",T),()=>{document.body.style.overflow=D,window.removeEventListener("keydown",T)}},[f,w,N]),c.length===0?null:n.jsxs(vt,{id:"gallery",title:(o==null?void 0:o.name)||"공간 갤러리",children:[u==="photos.carousel"?n.jsxs("div",{className:"relative",children:[n.jsx("ul",{ref:h,onScroll:y,className:"flex snap-x snap-mandatory gap-3 overflow-x-auto [scrollbar-width:none] lg:grid lg:grid-cols-4 lg:gap-3 lg:snap-none lg:overflow-visible [&::-webkit-scrollbar]:hidden",children:c.map((T,D)=>n.jsx("li",{className:"w-full shrink-0 snap-center lg:w-auto",children:n.jsx(qo,{image:T,onOpen:()=>d(D),className:"aspect-4/3 rounded-lg"})},T.mediaId))}),c.length>1&&n.jsxs(n.Fragment,{children:[n.jsx(tp,{dir:"prev",show:x.prev,onClick:()=>z(-1)}),n.jsx(tp,{dir:"next",show:x.next,onClick:()=>z(1)}),n.jsxs("span",{className:"pointer-events-none absolute bottom-3 right-3 rounded-full bg-black/55 px-2.5 py-1 text-[length:var(--fs-xs)] font-semibold tabular-nums text-white lg:hidden",children:[Math.min(p+1,c.length)," / ",c.length]})]})]}):u==="photos.masonry"?n.jsx("ul",{className:"columns-2 gap-3 sm:columns-3 lg:columns-4 [&>li]:mb-3",children:c.map((T,D)=>n.jsx("li",{className:"break-inside-avoid",children:n.jsx(qo,{image:T,onOpen:()=>d(D),className:"rounded-lg",free:!0})},T.mediaId))}):n.jsx("ul",{className:"grid grid-cols-2 gap-3 sm:grid-cols-3 lg:grid-cols-4",children:c.map((T,D)=>n.jsx("li",{children:n.jsx(qo,{image:T,onOpen:()=>d(D),className:"aspect-square rounded-lg"})},T.mediaId))}),f!==null&&n.jsxs("div",{role:"dialog","aria-modal":"true","aria-label":"사진 크게 보기",className:"fixed inset-0 z-50 flex items-center justify-center bg-black/92 p-4 backdrop-blur-md",onClick:w,children:[n.jsx("button",{type:"button",onClick:w,"aria-label":"닫기",className:"tap absolute right-3 top-3 z-10 flex items-center justify-center rounded-full bg-white/10 text-white transition-colors hover:bg-white/25 sm:right-5 sm:top-5",children:n.jsx(pp,{className:"size-6"})}),n.jsx(lp,{dir:"prev",onClick:()=>N(-1)}),n.jsx(lp,{dir:"next",onClick:()=>N(1)}),n.jsxs("figure",{className:"flex max-h-[85vh] w-full max-w-5xl flex-col items-center gap-3",onClick:T=>T.stopPropagation(),children:[n.jsx("img",{src:c[f].url,alt:c[f].alt,className:"max-h-[72vh] w-auto max-w-full rounded-lg object-contain"}),n.jsxs("figcaption",{className:"text-center text-[length:var(--fs-xs)] text-white/70",children:[c[f].caption??c[f].alt,n.jsxs("span",{className:"ml-2 tabular-nums",children:[f+1," / ",c.length]})]})]})]})]})}function tp({dir:i,show:c,onClick:o}){const u=i==="prev"?oa:ua;return n.jsx("button",{type:"button",onClick:o,"aria-label":i==="prev"?"이전 사진":"다음 사진","aria-hidden":!c,tabIndex:c?0:-1,className:`absolute top-1/2 z-10 flex size-9 -translate-y-1/2 items-center justify-center rounded-full bg-black/45 text-white backdrop-blur-sm transition-opacity hover:bg-black/65 lg:hidden ${c?"opacity-100":"pointer-events-none opacity-0"} ${i==="prev"?"left-2":"right-2"}`,children:n.jsx(u,{className:"size-5"})})}function lp({dir:i,onClick:c}){const o=i==="prev"?oa:ua;return n.jsx("button",{type:"button",onClick:u=>{u.stopPropagation(),c()},"aria-label":i==="prev"?"이전 사진":"다음 사진",className:`tap absolute top-1/2 z-10 flex -translate-y-1/2 items-center justify-center rounded-full bg-white/10 text-white transition-colors hover:bg-white/25 ${i==="prev"?"left-2 sm:left-6":"right-2 sm:right-6"}`,children:n.jsx(o,{className:"size-6"})})}function qo({image:i,onOpen:c,className:o,free:u=!1}){return n.jsx("button",{type:"button",onClick:c,className:`border-line tpl-border group relative block w-full cursor-pointer overflow-hidden border ${o}`,"aria-label":`${i.alt} 크게 보기`,children:n.jsx("img",{src:i.url,alt:i.alt,loading:"lazy",decoding:"async",width:i.width,height:i.height,className:u?"h-auto w-full":"size-full object-cover transition-transform duration-500 group-hover:scale-105"})})}function ap(){const i=le(),{place:c,routes:o}=i,[u,f]=q.useState(!1),d=c.roadAddress??c.address;if(!d)return null;const{latitude:h,longitude:p}=c,g=h!=null&&p!=null,x=yv(c.name,h,p),v=async()=>{try{await navigator.clipboard.writeText(d),f(!0),setTimeout(()=>f(!1),2e3)}catch{}};return n.jsxs(vt,{id:"location",title:"오시는 길",lead:"주소와 주요 거점까지의 이동 시간을 안내합니다.",children:[n.jsxs("div",{className:"grid gap-6 lg:grid-cols-12 lg:gap-8",children:[g&&n.jsx("div",{className:"border-line tpl-border overflow-hidden rounded-xl border lg:col-span-7",children:n.jsx("iframe",{title:`${c.name} 위치 지도`,src:vv(h,p),loading:"lazy",referrerPolicy:"no-referrer-when-downgrade",className:"block aspect-4/3 w-full border-0 sm:aspect-video lg:aspect-auto lg:h-full lg:min-h-[24rem]"})}),n.jsx("div",{className:g?"lg:col-span-5":"lg:col-span-12",children:n.jsxs("div",{className:"panel p-5 sm:p-6",children:[n.jsx("p",{className:"label mb-2",children:"주소"}),n.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[n.jsx("address",{className:"text-[length:var(--fs-lead)] font-bold not-italic",children:d}),n.jsxs("button",{type:"button",onClick:v,title:"주소 복사",className:"border-line tpl-border inline-flex items-center gap-1 rounded-md border bg-current/8 px-2.5 py-1.5 text-[length:var(--fs-xs)] font-medium transition-opacity hover:opacity-70",children:[u?n.jsx(dp,{className:"size-3.5"}):n.jsx(kb,{className:"size-3.5"}),n.jsx("span",{children:u?"복사완료":"복사"})]})]}),c.phone&&n.jsxs("p",{className:"text-muted mt-2 text-[length:var(--fs-sm)]",children:["문의:"," ",n.jsx("a",{href:`tel:${c.phone}`,className:"underline-offset-2 hover:underline",children:c.phone})]}),n.jsxs("div",{className:"mt-5 flex flex-wrap gap-2.5",children:[n.jsxs("a",{href:wp(c.name,h,p),target:"_blank",rel:"noopener noreferrer nofollow",className:"tap flex flex-1 basis-40 items-center justify-center gap-2 whitespace-nowrap rounded-lg bg-[#03C75A] px-4 text-[length:var(--fs-sm)] font-bold text-white transition-opacity hover:opacity-90",children:[n.jsx(Ho,{className:"size-4"}),n.jsx("span",{children:"네이버 길찾기"})]}),n.jsxs("a",{href:gv(c.name,h,p),target:"_blank",rel:"noopener noreferrer nofollow",className:"tap flex flex-1 basis-40 items-center justify-center gap-2 whitespace-nowrap rounded-lg bg-[#FEE500] px-4 text-[length:var(--fs-sm)] font-bold text-[#191600] transition-opacity hover:opacity-90",children:[n.jsx(Ho,{className:"size-4"}),n.jsx("span",{children:"카카오 길찾기"})]}),x&&n.jsxs("a",{href:x,className:"tap only-touch flex-1 basis-40 items-center justify-center gap-2 whitespace-nowrap rounded-lg bg-[#0064FF] px-4 text-[length:var(--fs-sm)] font-bold text-white transition-opacity hover:opacity-90",children:[n.jsx(Ho,{className:"size-4"}),n.jsx("span",{children:"티맵 길찾기"})]})]})]})})]}),o.length>0&&n.jsxs("div",{className:"mt-8",children:[n.jsxs("h3",{className:"mb-3 flex items-center gap-2 text-[length:var(--fs-sm)] font-bold",children:[n.jsx(zb,{className:"size-4 opacity-50"}),n.jsx("span",{children:"주요 거점 소요시간"})]}),n.jsx("div",{className:"panel overflow-hidden",children:n.jsx("div",{className:"slider-viewport",children:n.jsxs("table",{className:"w-full min-w-[34rem] text-left text-[length:var(--fs-sm)]",children:[n.jsxs("caption",{className:"sr-only",children:[i.place.name,"에서 주요 거점까지의 이동 시간"]}),n.jsx("thead",{className:"panel-sunken border-line border-b font-semibold",children:n.jsxs("tr",{children:[n.jsx("th",{scope:"col",className:"p-4",children:"목적지"}),n.jsx("th",{scope:"col",className:"p-4",children:"차량"}),n.jsx("th",{scope:"col",className:"p-4",children:"도보 / 대중교통"}),n.jsx("th",{scope:"col",className:"p-4",children:"거리"}),n.jsx("th",{scope:"col",className:"hidden p-4 md:table-cell",children:"비고"})]})}),n.jsx("tbody",{className:"divide-line divide-y",children:o.map(y=>n.jsxs("tr",{children:[n.jsx("th",{scope:"row",className:"p-4 text-left font-bold",children:y.destination}),n.jsx("td",{className:"p-4 font-semibold",children:y.byCar??"—"}),n.jsx("td",{className:"p-4 opacity-70",children:y.byTransit??"—"}),n.jsx("td",{className:"text-muted p-4 tabular-nums",children:y.distanceText??"—"}),n.jsx("td",{className:"text-muted hidden p-4 md:table-cell",children:y.note??""})]},y.destination))})]})})})]})]})}function Dy(){const i=le(),c=D0(i);return c.length===0?null:n.jsx(vt,{id:"faq",tone:"alt",title:"자주 묻는 질문",lead:"아래 답변은 모두 사업자가 확인한 내용입니다.",children:n.jsx("div",{className:c.length>4?"grid gap-3 lg:grid-cols-2 lg:gap-4":"space-y-3",children:c.map((o,u)=>n.jsxs("details",{open:u===0,className:"panel group h-fit overflow-hidden",children:[n.jsxs("summary",{className:"tap flex cursor-pointer items-center gap-3 px-5 text-[length:var(--fs-sm)] font-bold marker:content-none [&::-webkit-details-marker]:hidden",children:[n.jsx("span",{className:"serif text-muted shrink-0",children:"Q."}),n.jsx("span",{className:"flex-1",children:o.question}),n.jsx("span",{className:"text-muted shrink-0 transition-transform group-open:rotate-45",children:"+"})]}),n.jsx("div",{className:"border-line border-t px-5 pb-5 pt-4 text-[length:var(--fs-sm)] leading-relaxed opacity-80",children:o.answer})]},o.faqId))})})}function Op(){var d,h,p,g;const i=le(),{place:c,site:o}=i,u=_0(i),f=c.roadAddress??c.address;return n.jsx("footer",{className:"w-full pb-28 pt-14 md:pb-14",style:{backgroundColor:"var(--tpl-inverse, #1c1917)",color:"var(--tpl-bg, #ffffff)"},children:n.jsxs("div",{className:"shell",children:[n.jsxs("div",{className:"grid grid-cols-1 gap-8 border-b border-current/15 pb-10 md:grid-cols-12",children:[n.jsxs("div",{className:"space-y-4 md:col-span-7",children:[n.jsx("p",{className:"serif text-[length:var(--fs-lead)] font-bold",children:c.name}),n.jsxs("div",{className:"space-y-2 text-[length:var(--fs-sm)] opacity-75",children:[f&&n.jsxs("p",{className:"flex items-start gap-2",children:[n.jsx(Ls,{className:"mt-1 size-4 shrink-0 opacity-60"}),n.jsx("span",{children:f})]}),c.phone&&n.jsxs("p",{className:"flex items-center gap-2",children:[n.jsx(At,{className:"size-4 shrink-0 opacity-60"}),n.jsx("a",{href:`tel:${c.phone}`,className:"underline-offset-2 hover:underline",children:c.phone})]}),c.email&&n.jsxs("p",{className:"flex items-center gap-2",children:[n.jsx(mp,{className:"size-4 shrink-0 opacity-60"}),n.jsx("a",{href:`mailto:${c.email}`,className:"underline-offset-2 hover:underline",children:c.email})]})]})]}),u.length>0&&n.jsxs("nav",{"aria-label":"공식 채널",className:"md:col-span-5",children:[n.jsx("h2",{className:"label mb-3 !text-current opacity-60",children:"공식 채널"}),n.jsx("ul",{className:"flex flex-wrap gap-2",children:u.map(x=>n.jsx("li",{children:n.jsxs("a",{href:x.url,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1.5 rounded-lg border border-current/25 px-3 py-2 text-[length:var(--fs-xs)] font-medium transition-colors hover:bg-current/10",children:[n.jsx("span",{children:ml(x)}),n.jsx(Db,{className:"size-3.5"})]})},x.url))})]})]}),n.jsxs("div",{className:"flex flex-col gap-3 pt-6 text-[length:var(--fs-xs)] opacity-55 sm:flex-row sm:items-center sm:justify-between",children:[n.jsxs("div",{className:"flex flex-wrap items-center gap-x-3 gap-y-1",children:[n.jsxs("span",{children:["상호: ",c.name]}),((d=c.legal)==null?void 0:d.representative)&&n.jsxs("span",{children:["대표: ",c.legal.representative]}),((h=c.legal)==null?void 0:h.businessRegistrationNumber)&&n.jsxs("span",{children:["사업자등록번호: ",c.legal.businessRegistrationNumber]}),((p=c.legal)==null?void 0:p.mailOrderNumber)&&n.jsxs("span",{children:["통신판매업신고: ",c.legal.mailOrderNumber]}),((g=c.legal)==null?void 0:g.licenseNumber)&&n.jsxs("span",{children:[c.legal.licenseLabel??"인허가번호",": ",c.legal.licenseNumber]})]}),n.jsxs("p",{className:"byline shrink-0",children:[n.jsxs("span",{className:"author",children:["작성·운영 ",c.name]})," · 최종 업데이트: ",n.jsx("time",{dateTime:o.updatedAt,children:qs(o.updatedAt)})]})]})]})})}function _n(){const i=le(),c=i.place.phone,u=Ze(i)[0],f=i.links.find(d=>d.confirmed&&/kakao/i.test(d.url));return!c&&!u&&!f?null:n.jsxs("nav",{"aria-label":"연락 · 예약",className:"border-line safe-b fixed inset-x-0 bottom-0 z-50 flex items-stretch gap-2 border-t px-3 pt-2 backdrop-blur-md lg:hidden",style:{backgroundColor:"color-mix(in srgb, var(--tpl-surface, #fff) 94%, transparent)"},children:[n.jsxs("a",{href:"#location",className:"tap border-line flex w-12 shrink-0 flex-col items-center justify-center rounded-lg border text-[10px] font-medium","aria-label":"오시는 길",children:[n.jsx(Ls,{className:"size-4"}),n.jsx("span",{className:"mt-0.5",children:"위치"})]}),f&&n.jsxs("a",{href:f.url,target:"_blank",rel:"noopener noreferrer",className:"tap border-line flex w-12 shrink-0 flex-col items-center justify-center rounded-lg border text-[10px] font-medium","aria-label":ml(f),children:[n.jsx(Io,{className:"size-4"}),n.jsx("span",{className:"mt-0.5",children:"문의"})]}),c&&n.jsxs("a",{href:`tel:${c}`,className:"tap border-line flex flex-1 items-center justify-center gap-1.5 rounded-lg border text-[length:var(--fs-sm)] font-bold",children:[n.jsx(At,{className:"size-4"}),n.jsx("span",{children:"전화"})]}),u&&n.jsx("a",{href:u.url,target:"_blank",rel:"noopener noreferrer",className:"tap flex min-w-0 flex-[1.4] items-center justify-center truncate rounded-lg px-2 text-[length:var(--fs-sm)] font-bold",style:{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)"},children:ht(u)})]})}const tl="var(--tpl-card, #fafafa)",Ce="var(--tpl-border, #d6d3d1)",We="color-mix(in oklab, var(--tpl-accent, #2563eb) 70%, currentColor)",Ms="var(--tpl-inverse, #1c1917)",ra="var(--tpl-bg, #ffffff)",ul="var(--tpl-text, #09090b)";function Ry({n:i}){return n.jsx("span",{className:"mr-1.5 inline-grid size-[17px] translate-y-px place-items-center rounded-full text-[10px] tabular-nums",style:{backgroundColor:We,color:ra},children:i})}function Rl({id:i,name:c,subtitle:o,count:u,link:f,children:d,dark:h}){const p=hc(),g=p==="reservation"?iu:p==="oasi"?cu:p==="studio"?ru:p==="pastel"?ou:p==="editorial"?au:null,x=f?n.jsxs("a",{href:f.url,target:"_blank",rel:"noopener noreferrer",className:"text-[length:var(--fs-sm)] font-semibold underline-offset-4 opacity-75 transition-opacity hover:opacity-100 hover:underline",children:[f.label," →"]}):void 0;return n.jsx("section",{id:i,"aria-labelledby":`${i}-heading`,className:"border-line paper w-full border-b",style:{backgroundColor:h?Ms:"var(--tpl-surface, #fafafa)",color:h?ra:ul,paddingBlock:"var(--section-space)"},children:n.jsxs("div",{className:"shell",children:[g?n.jsx(g,{id:i,title:c,lead:o,aside:x}):n.jsxs("header",{className:"mb-8 sm:mb-10",children:[n.jsxs("div",{className:"flex flex-wrap items-baseline justify-between gap-x-4 gap-y-2",children:[n.jsx("h2",{id:`${i}-heading`,className:"h2",children:c}),x]}),o&&n.jsx("p",{className:"measure mt-3 text-[length:var(--fs-sm)] opacity-70",children:o})]}),d,u&&n.jsx("p",{className:"mt-6 text-[length:var(--fs-xs)] opacity-60",children:u})]})})}function Gs({children:i,label:c,arrows:o="header",onSelect:u,onReady:f}){return n.jsx(gu,{label:c,gap:1,arrows:o,onSelect:u,onReady:f,children:i})}function fa({source:i,verified:c,imageCredit:o}){return!(i!=null&&i.name)&&!o?null:n.jsxs("p",{className:"flex flex-wrap items-center gap-x-2 gap-y-1 text-[10px] opacity-70",children:[(i==null?void 0:i.name)&&n.jsxs("span",{children:["출처 ·"," ",i.url?n.jsx("a",{href:i.url,target:"_blank",rel:"noopener noreferrer nofollow",className:"underline underline-offset-2",children:i.name}):i.name]}),o&&n.jsxs("span",{children:["사진 · ",o]})]})}function Hs(i,c,o){return`총 ${i}${o}`}const np=We;function Dp(){const i=le(),c=dl(i,"songs"),[o,u]=q.useState(0);if(c.items.length===0)return null;const f=c.items[o]??c.items[0],d=h=>[h.artist,h.year?String(h.year):void 0,h.lyricist||h.composer?`작사 ${h.lyricist??"미상"} / 작곡 ${h.composer??"미상"}`:void 0,h.label].filter(Boolean).join(" · ");return n.jsxs(Rl,{id:"songs",name:c.title||Ye(i,"songs","가요 다방"),subtitle:c.subtitle,count:Hs(c.items.length,c.unverified,"곡"),children:[n.jsxs("div",{className:"tpl-border grid items-center gap-8 border p-6 sm:p-8 md:grid-cols-[240px_minmax(0,1fr)]",style:{backgroundColor:Ms,color:ra,borderColor:"color-mix(in oklab, currentColor 22%, transparent)"},children:[n.jsxs("div",{className:"relative mx-auto size-[220px]",children:[n.jsx("div",{className:"absolute inset-0 rounded-full",style:{backgroundColor:"color-mix(in oklab, currentColor 16%, transparent)"}}),n.jsx("div",{className:"w4-disc w4-spin absolute inset-2 rounded-full",style:{"--lbl":f.labelColor||np,"--w4-vinyl":Ms},children:n.jsx("span",{className:"absolute left-1/2 top-1/2 size-2.5 -translate-x-1/2 -translate-y-1/2 rounded-full",style:{backgroundColor:"color-mix(in oklab, currentColor 30%, transparent)"}})}),n.jsxs("div",{"aria-hidden":!0,className:"absolute -right-1 top-3 h-2 w-[110px] origin-right rotate-6",children:[n.jsx("span",{className:"absolute inset-y-[3px] left-0 right-4 rounded-sm",style:{backgroundColor:"color-mix(in oklab, currentColor 65%, transparent)"}}),n.jsx("span",{className:"absolute -top-2 right-0 size-6 rounded-full",style:{backgroundColor:"color-mix(in oklab, currentColor 55%, transparent)"}})]})]}),n.jsx("div",{className:"min-w-0",children:c.items.map((h,p)=>n.jsxs("div",{hidden:p!==o,className:"space-y-3",children:[n.jsxs("p",{className:"text-[10px] tracking-[0.24em]",style:{color:We},children:["A면 · ",p+1," / ",c.items.length]}),n.jsx("h3",{className:"serif text-[length:var(--fs-h2)] leading-tight",children:h.title}),n.jsx("p",{className:"text-[length:var(--fs-xs)] opacity-60",children:d(h)}),h.story&&n.jsx("p",{className:"measure text-[length:var(--fs-sm)] leading-relaxed opacity-85",children:h.story}),h.connection&&n.jsx("p",{className:"measure text-[length:var(--fs-sm)] leading-relaxed",style:{color:We},children:h.connection}),n.jsxs("a",{href:xv(`${h.title} ${h.artist??""}`.trim()),target:"_blank",rel:"noopener noreferrer nofollow",className:"inline-flex items-center gap-1.5 text-[length:var(--fs-sm)] font-bold underline-offset-4 hover:underline",style:{color:We},children:[n.jsx(a0,{className:"size-4"}),n.jsx("span",{children:"유튜브에서 듣기"})]}),n.jsx("span",{className:"block w-fit border border-dashed px-2 py-1 text-[10px] tracking-[0.1em] opacity-60",style:{borderColor:"color-mix(in oklab, currentColor 35%, transparent)"},children:"◎ 가사 대신 이야기 — 원문은 싣지 않습니다"}),n.jsx(fa,{source:h.source,verified:h.verified})]},`disc-${h.title}-${p}`))})]}),c.items.length>1&&n.jsx("div",{className:"mt-4 flex flex-wrap justify-center gap-4",children:c.items.map((h,p)=>n.jsxs("button",{type:"button",onClick:()=>u(p),"aria-pressed":p===o,className:"w-24 text-center",children:[n.jsx("span",{className:"w4-disc-mini mx-auto block size-[76px] rounded-full transition-transform hover:scale-105",style:{"--lbl":h.labelColor||np,"--w4-vinyl":Ms,boxShadow:p===o?`0 0 0 2px ${We}`:void 0}}),n.jsx("span",{className:"mt-2 block truncate text-[10px] leading-tight opacity-70",children:h.title})]},`${h.title}-${p}`))})]})}function Rp(){const i=le(),c=dl(i,"daily"),[o,u]=q.useState();if(q.useEffect(()=>{const g=new Date;u(`${String(g.getMonth()+1).padStart(2,"0")}-${String(g.getDate()).padStart(2,"0")}`)},[]),c.items.length===0)return null;const f=[...c.items].sort((g,x)=>g.monthDay.localeCompare(x.monthDay)),d=o===void 0?1:Math.max(0,(()=>{const g=f.findIndex(v=>v.monthDay===o);if(g>=0)return g;const x=f.findIndex(v=>v.monthDay>o);return x>=0?x:0})()),h=g=>f[(d+g+f.length)%f.length],p=f.length===1?[h(0)]:f.length===2?[h(0),h(1)]:[h(-1),h(0),h(1)];return n.jsx(Rl,{id:"daily",name:c.title||Ye(i,"daily","오늘의 한 장"),subtitle:c.subtitle,count:Hs(f.length,c.unverified,"장"),children:n.jsx("div",{className:"flex items-start justify-center gap-4 sm:gap-6",children:f.map((g,x)=>{const v=p.indexOf(g);return n.jsx(Uy,{page:g,hidden:v<0,isToday:p.length===1||v===1,muted:p.length>1&&v!==1},`${g.monthDay}-${x}`)})})})}function Uy({page:i,isToday:c,muted:o,hidden:u}){const[f,d]=i.monthDay.split("-");return n.jsxs("article",{hidden:u,className:`w4-paper shrink-0 border transition-opacity ${o?"hidden w-[168px] opacity-45 sm:block":"w-[254px] max-w-full"}`,style:{backgroundColor:tl,borderColor:c?We:Ce,boxShadow:c?"5px 6px 0 color-mix(in oklab, currentColor 14%, transparent)":void 0},"aria-current":c?"date":void 0,children:[n.jsx("div",{className:"w4-perf h-3.5 border-b border-dashed",style:{"--tear":tl,borderColor:Ce}}),n.jsxs("div",{className:"border-b px-5 pb-3 pt-5 text-center",style:{borderColor:Ce},children:[n.jsxs("p",{className:"text-[11px] tracking-[0.2em] opacity-60",children:[f,"月"]}),n.jsx("p",{className:`serif mt-1 font-bold leading-none ${o?"text-4xl":"text-6xl"}`,style:{color:We},children:String(Number(d)||d)}),c&&n.jsx("p",{className:"mt-1.5 text-[10px] tracking-[0.3em]",style:{color:We},children:"오늘"})]}),n.jsxs("div",{className:"space-y-2 px-5 pb-5 pt-4",children:[i.category&&n.jsx("p",{className:"text-[10px] tracking-[0.16em] opacity-60",children:i.category}),n.jsx("h3",{className:"serif text-base font-bold leading-snug",children:i.title}),!o&&i.body&&n.jsx("p",{className:"text-[13px] leading-relaxed opacity-80",children:i.body}),!o&&n.jsx("div",{className:"border-t border-dashed pt-2.5",style:{borderColor:Ce},children:n.jsx(fa,{source:i.source,verified:i.verified})})]})]})}function Up(){const i=le(),c=dl(i,"people");return c.items.length===0?null:n.jsx(Rl,{id:"people",name:c.title||Ye(i,"people","인물 열전"),subtitle:c.subtitle,count:c.items.some(o=>!o.imageUrl)?`${Hs(c.items.length,c.unverified,"명")} · 사진이 없는 인물은 이름 활자로 대신합니다`:Hs(c.items.length,c.unverified,"명"),dark:!0,children:n.jsxs("div",{className:"tpl-border border",style:{backgroundColor:Ms,borderColor:"color-mix(in oklab, currentColor 22%, transparent)"},children:[n.jsx("div",{className:"w4-film-perf h-2.5 opacity-70"}),n.jsx("div",{className:"px-3 py-4",children:n.jsx(Gs,{label:"인물 목록",arrows:"overlay",children:c.items.map((o,u)=>n.jsxs("article",{className:"w-[210px] shrink-0 snap-center",children:[o.imageUrl?n.jsx("img",{src:o.imageUrl,alt:`${o.name} 사진`,loading:"lazy",decoding:"async",className:"aspect-3/4 w-full border object-cover",style:{borderColor:"color-mix(in oklab, currentColor 28%, transparent)"}}):n.jsx("span",{className:"serif grid aspect-3/4 w-full place-items-center border text-5xl",style:{backgroundColor:"color-mix(in oklab, currentColor 14%, transparent)",borderColor:"color-mix(in oklab, currentColor 28%, transparent)"},"aria-hidden":!0,children:o.name.trim().charAt(0)}),n.jsxs("h3",{className:"serif mt-3 text-base font-bold",children:[o.name,o.aka&&n.jsxs("span",{className:"ml-1.5 text-xs opacity-60",children:["호 ",o.aka]})]}),n.jsx("p",{className:"mt-0.5 text-[11px] opacity-60",children:[o.role,o.years].filter(Boolean).join(" · ")}),o.oneLine&&n.jsx("p",{className:"mt-2 text-[13px] leading-relaxed opacity-85",children:o.oneLine}),n.jsx("div",{className:"mt-2",children:n.jsx(fa,{source:o.source,verified:o.verified,imageCredit:o.imageCredit})})]},`${o.name}-${u}`))})}),n.jsx("div",{className:"w4-film-perf h-2.5 opacity-70"})]})})}function Hp(){const i=le(),c=dl(i,"chronicle");if(c.items.length===0)return null;const o=[...c.items].sort((f,d)=>f.year==null?d.year==null?0:1:d.year==null?-1:f.year-d.year),u=o.filter(f=>f.turning===!0).length;return n.jsx(Rl,{id:"chronicle",name:c.title||Ye(i,"chronicle","시간의 골목"),subtitle:c.subtitle,count:`붉은 점은 도시의 성격이 바뀐 해입니다 · ${u}개 / 전체 ${o.length}개`,children:n.jsx(Gs,{label:"연표",children:o.map((f,d)=>{const h=f.turning===!0;return n.jsxs("article",{className:"w-[228px] shrink-0 snap-center",children:[n.jsx("p",{className:"serif text-3xl font-bold leading-none",style:{color:h?We:void 0},children:f.year??"연도 미상"}),n.jsxs("div",{className:"relative my-3 h-3",children:[n.jsx("i",{"aria-hidden":!0,className:"absolute top-1/2 left-0 border-t",style:{borderColor:Ce,right:d===o.length-1?"calc(100% - 12px)":0}}),n.jsx("i",{"aria-hidden":!0,className:"absolute top-1/2 left-0 size-3 -translate-y-1/2 rounded-full border-2",style:{backgroundColor:h?We:tl,borderColor:h?We:Ce}})]}),n.jsxs("div",{className:"flex gap-2.5 pr-5",children:[f.imageUrl&&n.jsx("img",{src:f.imageUrl,alt:`${f.title} 사진`,loading:"lazy",decoding:"async",className:"size-14 shrink-0 border object-cover",style:{borderColor:Ce}}),n.jsxs("div",{className:"min-w-0 flex-1 space-y-1.5",children:[n.jsx("h3",{className:"serif text-base font-bold",children:f.title}),f.summary&&n.jsx("p",{className:"text-[13px] leading-relaxed opacity-80",children:f.summary}),f.place&&n.jsxs("p",{className:"text-[11px] opacity-60",children:["지금 이 자리 · ",f.place]}),n.jsx(fa,{source:f.source,verified:f.verified,imageCredit:f.imageCredit})]})]})]},`${f.year??"x"}-${f.title}-${d}`)})})})}function Lp(){const i=le(),c=dl(i,"postcard");return c.items.length===0?null:n.jsx(Rl,{id:"postcard",name:c.title||Ye(i,"postcard","오늘의 엽서"),subtitle:c.subtitle,count:Hs(c.items.length,c.unverified,"장"),children:n.jsx(Gs,{label:"엽서 목록",children:c.items.map((o,u)=>n.jsxs("article",{className:"w4-paper w-[304px] shrink-0 snap-center border p-4",style:{backgroundColor:tl,borderColor:ul},children:[o.imageUrl&&n.jsx("img",{src:o.imageUrl,alt:`${o.place||o.postmark||"엽서"} 사진`,loading:"lazy",decoding:"async",className:"block aspect-3/2 w-full border object-cover",style:{borderColor:Ce}}),o.imageUrl&&n.jsxs("p",{className:"mt-1 mb-3.5 text-[10px] leading-tight opacity-45",children:["사진 · ",o.imageCredit||"출처 표기 없음"]}),n.jsxs("div",{className:"grid grid-cols-[minmax(0,1fr)_auto] gap-3",children:[n.jsxs("div",{className:"min-w-0 border-r pr-3",style:{borderColor:Ce},children:[n.jsxs("p",{className:"serif text-[17px] leading-snug",children:["“",o.line,"”"]}),o.hashtags&&o.hashtags.length>0&&n.jsx("p",{className:"mt-2 text-[11px] opacity-60",children:o.hashtags.join(" ")})]}),n.jsxs("div",{className:"flex w-[62px] flex-col items-center gap-3",children:[n.jsxs("span",{className:"grid h-[56px] w-[44px] place-items-center border border-dashed text-center text-[9px] leading-tight opacity-60",style:{borderColor:Ce},children:["郵票",n.jsx("br",{}),"10원"]}),n.jsx("span",{className:"serif grid size-[54px] -rotate-6 place-items-center rounded-full border-2 px-1 text-center text-[9px] leading-tight",style:{borderColor:We,color:We},children:o.postmark||o.place||"소인"})]})]}),n.jsx("div",{className:"mt-3 border-t border-dashed pt-2.5",style:{borderColor:Ce},children:n.jsx(fa,{source:o.source,verified:o.verified})})]},`${o.line}-${u}`))})})}function Hy(){const i=le(),c=dl(i,"quiz"),[o,u]=q.useState(new Set);if(c.items.length===0)return null;const f=d=>u(h=>{const p=new Set(h);return p.has(d)?p.delete(d):p.add(d),p});return n.jsx(Rl,{id:"quiz",name:c.title||Ye(i,"quiz","뒤집어 보는 질문"),subtitle:c.subtitle,count:`정답은 두지 않습니다 — 힌트와 출처까지만 · 총 ${c.items.length}문항`,children:n.jsx(Gs,{label:"질문 목록",children:c.items.map((d,h)=>{const p=o.has(h);return n.jsx("button",{type:"button",onClick:()=>f(h),"aria-pressed":p,"aria-label":`${h+1}번 문제 ${p?"앞면 보기":"힌트 보기"}`,className:`w4-flip ${p?"w4-flip-on":""} h-[260px] w-[262px] shrink-0 text-left`,children:n.jsxs("span",{className:"w4-flip-inner block size-full",children:[n.jsxs("span",{className:"w4-flip-face w4-paper flex size-full flex-col gap-3 border p-4",style:{backgroundColor:tl,borderColor:ul},children:[n.jsxs("span",{className:"text-[10px] tracking-[0.16em] opacity-60",children:["문제 ",h+1,d.level?` · ${d.level}`:""]}),n.jsx("span",{className:"serif text-[17px] font-bold leading-snug",children:d.question}),n.jsx("span",{className:"mt-auto text-[10px] tracking-[0.16em]",style:{color:We},children:"눌러서 힌트 보기 →"})]}),n.jsxs("span",{className:"w4-flip-face w4-flip-back w4-paper flex size-full flex-col gap-3 border p-4",style:{backgroundColor:tl,borderColor:We},children:[n.jsx("span",{className:"text-[10px] tracking-[0.16em]",style:{color:We},children:"힌트"}),n.jsx("span",{className:"text-[13px] leading-relaxed opacity-85",children:d.hint??"힌트가 아직 없습니다."}),n.jsxs("span",{className:"mt-auto space-y-1 border-t border-dashed pt-2.5",style:{borderColor:Ce},children:[d.topic&&n.jsx("span",{className:"block text-[10px] opacity-55",children:d.topic}),n.jsx(fa,{source:d.source,verified:d.verified})]})]})]})},`${d.question}-${h}`)})})})}const Dl=256,_s=318,Nn=168,sp=34,Ly=16,ip=4;function Bp(i,c,o){const u=Dl*2**o,f=i*Math.PI/180;return{x:(c+180)/360*u,y:(1-Math.log(Math.tan(f)+1/Math.cos(f))/Math.PI)/2*u}}function By(i){if(i.length<2)return 15;for(let c=Ly;c>ip;c-=1){const o=i.map(d=>Bp(d.lat,d.lng,c)),u=Math.max(...o.map(d=>d.x))-Math.min(...o.map(d=>d.x)),f=Math.max(...o.map(d=>d.y))-Math.min(...o.map(d=>d.y));if(u<=_s-sp*2&&f<=Nn-sp*2)return c}return ip}function qy(i,c){const o=d=>d.latitude!=null&&d.longitude!=null?{name:d.searchQuery??d.name,lat:d.latitude,lng:d.longitude}:void 0,u=[];let f=c;return i.forEach((d,h)=>{const p=o(d);p&&(u.push({label:String(h+1),...p,stop:d,from:f&&!Yy(f,p)?f:void 0}),f=p)}),u}function Yy(i,c){return Math.abs(i.lat-c.lat)<1e-5&&Math.abs(i.lng-c.lng)<1e-5}function Gy(i){const o=i.map(u=>({...u}));for(let u=1;uMath.hypot(o[u].x-v.x,o[u].y-v.y)<27);if(!d)break;const h=o[u].x-d.x,p=o[u].y-d.y,g=Math.hypot(h,p)||1,x=(27-g)/g;o[u].x+=(h||1)*x,o[u].y+=p*x}return o}function $y(i){return i.from?bv(i.from,{name:i.stop.name,lat:i.lat,lng:i.lng}):wp(i.stop.searchQuery??i.stop.name,i.lat,i.lng)}function Qy({stops:i}){const{place:c}=le(),o=c.latitude!=null&&c.longitude!=null?{name:c.name,lat:c.latitude,lng:c.longitude}:void 0,u=i.filter(N=>N.latitude!=null&&N.longitude!=null);if(u.length===0||u.length===1&&i.length>1)return null;const f=qy(i,o),d=By(f),h=Gy(f.map(N=>Bp(N.lat,N.lng,d))),p=(Math.min(...h.map(N=>N.x))+Math.max(...h.map(N=>N.x)))/2,g=(Math.min(...h.map(N=>N.y))+Math.max(...h.map(N=>N.y)))/2,x=p-_s/2,v=g-Nn/2,y=2**d,z=[];for(let N=Math.floor(x/Dl);N<=Math.floor((x+_s)/Dl);N+=1)for(let T=Math.floor(v/Dl);T<=Math.floor((v+Nn)/Dl);T+=1){if(T<0||T>=y)continue;const D=(N%y+y)%y;z.push({key:`${N}-${T}`,url:`https://tile.openstreetmap.org/${d}/${D}/${T}.png`,left:N*Dl-x,top:T*Dl-v})}const w=h.map(N=>`${(N.x-x).toFixed(1)},${(N.y-v).toFixed(1)}`).join(" ");return n.jsxs("div",{className:"relative mt-3.5 overflow-hidden border-y",style:{height:Nn,borderColor:Ce,backgroundColor:"#e8e5df"},children:[z.map(N=>n.jsx("img",{src:N.url,alt:"",width:Dl,height:Dl,loading:"lazy",decoding:"async",className:"pointer-events-none absolute max-w-none",style:{left:N.left,top:N.top,filter:"grayscale(1) contrast(0.95) opacity(0.55)"}},N.key)),n.jsx("svg",{className:"pointer-events-none absolute inset-0",width:_s,height:Nn,viewBox:`0 0 ${_s} ${Nn}`,children:n.jsx("polyline",{points:w,fill:"none",stroke:We,strokeWidth:"2",strokeDasharray:"5 4",strokeLinecap:"round",strokeLinejoin:"round",opacity:"0.85"})}),f.map((N,T)=>{const D=h[T];return n.jsx("a",{href:$y(N),target:"_blank",rel:"noopener noreferrer",title:N.from?`${N.from.name} → ${N.stop.name} 길찾기`:`${N.stop.name} — 네이버 지도`,className:"absolute grid h-[22px] min-w-[22px] -translate-x-1/2 -translate-y-1/2 place-items-center rounded-full px-1.5 text-[11px] font-bold whitespace-nowrap shadow-sm transition-transform hover:scale-110",style:{left:D.x-x,top:D.y-v,backgroundColor:We,color:ra,border:`1.5px solid ${ra}`},children:N.label},N.label)}),n.jsx("span",{className:"absolute right-1 bottom-0.5 bg-white/70 px-1 text-[9px] leading-tight text-stone-600",children:"© OpenStreetMap"})]})}function Xy(i){const c=Math.floor(i/60),o=i%60;return[c>0?`${c}시간`:"",o>0?`${o}분`:""].filter(Boolean).join(" ")||"0분"}function Jo(i){var c;return(c=i.days)!=null&&c.length?i.days.map(o=>({label:o.label,startTime:o.startTime,stops:o.stops??[]})):[{startTime:i.startTime,stops:i.stops??[]}]}function Vy({item:i,badge:c,startTime:o,stops:u,first:f,placeName:d}){const h=z0({name:i.name,startTime:o,stops:u});return n.jsxs("article",{className:"w4-paper w-[320px] shrink-0 snap-center border",style:{backgroundColor:tl,borderColor:Ce},children:[n.jsxs("div",{className:"flex items-center justify-between gap-2 border-b px-4 py-2.5",style:{borderColor:Ce},children:[n.jsx("span",{className:"border px-2 py-0.5 text-[11px] font-bold",style:f?{backgroundColor:ul,color:ra,borderColor:ul}:{borderColor:Ce},children:c}),n.jsxs("span",{className:"text-[11px] opacity-60",children:[h.from,"–",h.to," · ",Xy(h.totalMinutes)]})]}),n.jsxs("div",{className:"space-y-1.5 px-4 pt-3.5",children:[n.jsx("h3",{className:"serif text-lg font-bold",children:i.name}),f&&i.audience&&n.jsx("p",{className:"text-[12px] opacity-60",children:i.audience}),f&&i.why&&n.jsx("p",{className:"text-[13px] leading-relaxed opacity-80",children:i.why}),f&&n.jsxs("p",{className:"text-[11px] opacity-50",children:[d,"에서 출발 · ",h.from]})]}),n.jsx(Qy,{stops:h.stops.map(p=>p.stop)}),n.jsx("ol",{className:"mt-3 px-4 pb-3",children:h.stops.map((p,g)=>n.jsxs("li",{className:"grid grid-cols-[46px_minmax(0,1fr)] gap-2.5",children:[n.jsx("span",{className:"serif pt-2 text-[12px] tabular-nums opacity-75",children:p.time}),n.jsxs("div",{className:"border-l pb-5 pl-3",style:{borderColor:Ce},children:[p.move>0&&n.jsxs("p",{className:"pt-1 text-[10px] opacity-50",children:["↓ ",p.move,"분 이동"]}),n.jsxs("div",{className:"flex items-start gap-2.5 pt-1",children:[p.stop.imageUrl&&n.jsx("img",{src:p.stop.imageUrl,alt:`${p.stop.name} 사진`,loading:"lazy",decoding:"async",className:"size-12 shrink-0 object-cover",style:{border:`1px solid ${Ce}`}}),n.jsxs("span",{className:"min-w-0",children:[n.jsxs("span",{className:"block text-sm font-bold",children:[n.jsx(Ry,{n:g+1}),p.stop.name]}),p.stop.note&&n.jsx("span",{className:"mt-0.5 block text-[12px] leading-relaxed opacity-75",children:p.stop.note})]})]}),n.jsxs("p",{className:"mt-0.5 text-[10px] opacity-50",children:[p.time,"–",p.until,p.stop.searchQuery&&` · 지도 검색 ${p.stop.searchQuery}`]})]})]},`${p.stop.name}-${g}`))}),n.jsx("div",{className:"border-t border-dashed px-4 py-2.5",style:{borderColor:Ce},children:n.jsx(fa,{source:i.source,verified:i.verified})})]})}const Yo="그 밖의 일정";function Zy(){var g;const i=le(),c=dl(i,"itinerary"),u=(c.items.length>0?c.items:((g=i.local)==null?void 0:g.itineraries)??[]).filter(x=>Jo(x).some(v=>v.stops.length>0)),f=[...new Set(u.map(x=>{var v;return((v=x.duration)==null?void 0:v.trim())||Yo}))],[d,h]=q.useState(null),p=d??f[0];return u.length===0?null:n.jsxs(Rl,{id:"itinerary",name:c.title||Ye(i,"itinerary","추천 일정"),subtitle:c.subtitle,count:"시각은 출발 시각과 머무는 시간으로 계산한 것입니다",children:[f.length>1&&n.jsx("div",{className:"mb-6 flex flex-wrap gap-1.5",role:"tablist","aria-label":"묵는 기간",children:f.map(x=>{const v=p===x;return n.jsxs("button",{type:"button",role:"tab","aria-selected":v,onClick:()=>h(x),className:"border-line rounded-full border px-4 py-1.5 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-80",style:v?{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)",borderColor:"transparent"}:void 0,children:[x,n.jsx("span",{className:"ml-1.5 font-normal opacity-60",children:u.filter(y=>{var z;return(((z=y.duration)==null?void 0:z.trim())||Yo)===x}).length})]},x)})}),f.map(x=>n.jsx("div",{hidden:x!==p,children:n.jsx(Ky,{tab:x,items:u.filter(v=>{var y;return(((y=v.duration)==null?void 0:y.trim())||Yo)===x}),placeName:i.place.name},p)},x))]})}function Ky({tab:i,items:c,placeName:o}){const u=q.useMemo(()=>{let x=0;return c.map(v=>{const y=x;return x+=Jo(v).length,{item:v,start:y}})},[c]),[f,d]=q.useState(0),h=q.useRef(null),p=q.useCallback(x=>{h.current=x},[]),g=u.reduce((x,v)=>v.start<=f?v.start:x,0);return n.jsxs(n.Fragment,{children:[u.length>1&&n.jsx("ul",{className:"border-line mb-5 flex flex-wrap items-center gap-x-4 gap-y-2 border-b pb-3",children:u.map(({item:x,start:v})=>{const y=v===g;return n.jsx("li",{children:n.jsx("button",{type:"button",onClick:()=>{var z;return(z=h.current)==null?void 0:z.scrollTo(v)},"aria-current":y,className:`text-left text-[length:var(--fs-sm)] underline-offset-4 transition-opacity hover:opacity-100 ${y?"font-bold underline":"opacity-55 hover:underline"}`,children:x.name})},`${x.name}-${v}`)})}),n.jsx(Gs,{label:`${i} 일정`,onSelect:d,onReady:p,children:u.flatMap(({item:x,start:v},y)=>Jo(x).map((z,w)=>n.jsx(Vy,{item:x,badge:z.label??x.duration??`${w+1}일차`,startTime:z.startTime,stops:z.stops,first:w===0,placeName:o},`${x.name}-${v}-${w}`)))})]})}function Jy(){const i=le(),c=dl(i,"video"),[o,u]=q.useState(),f=q.useRef(null),[d,h]=q.useState({prev:!1,next:!0}),p=q.useCallback(()=>{const v=f.current;if(!v)return;const y=v.scrollWidth-v.clientWidth;h({prev:v.scrollLeft>8,next:v.scrollLeft(p(),window.addEventListener("resize",p),()=>window.removeEventListener("resize",p)),[p]);const g=q.useCallback(v=>{const y=f.current;if(!y)return;const z=window.matchMedia("(prefers-reduced-motion: reduce)").matches;y.scrollBy({left:v*y.clientWidth*.85,behavior:z?"auto":"smooth"})},[]);if(xu({box:f,interval:pu,advance:()=>Cp(f.current)}),c.items.length===0)return null;const x=c.items.length>1;return n.jsx(Rl,{id:"video",name:c.title||Ye(i,"video","영상으로 보기"),subtitle:c.subtitle,link:c.linkUrl?{url:c.linkUrl,label:c.linkLabel??"더 보기"}:void 0,children:n.jsxs("div",{className:"relative",children:[n.jsx("ul",{ref:f,onScroll:p,className:x?"flex snap-x snap-mandatory gap-4 overflow-x-auto pb-2 [scrollbar-width:none] lg:grid lg:grid-cols-3 lg:gap-4 lg:snap-none lg:overflow-visible lg:pb-0 [&::-webkit-scrollbar]:hidden":"grid grid-cols-1 gap-4",children:c.items.map((v,y)=>{const z=p0(v.url),w=x0(v.url),N=o===y;return n.jsx("li",{className:x?"shrink-0 basis-[86%] snap-start sm:basis-[56%] lg:basis-auto":"",children:n.jsxs("figure",{className:"space-y-2",children:[n.jsx("div",{className:"tpl-border relative mx-auto overflow-hidden border",style:{borderColor:Ce,backgroundColor:tl,aspectRatio:w?"9 / 16":"16 / 9",width:w?"min(100%, 22rem)":"100%"},children:N&&z?n.jsx("iframe",{src:b0(z),title:v.caption||"영상",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0,className:"size-full border-0"}):n.jsxs("a",{href:v.url,target:"_blank",rel:"noopener noreferrer",onClick:T=>{z&&(T.preventDefault(),u(y))},"aria-label":`${v.caption||"영상"} 재생`,className:"group block size-full",children:[z?n.jsx("img",{src:g0(z),alt:"",loading:"lazy",decoding:"async",className:"size-full object-cover"}):n.jsx("span",{className:"text-muted grid size-full place-items-center px-4 text-center text-[length:var(--fs-xs)]",children:"유튜브 영상이 아닙니다 — 눌러서 원본으로 갑니다"}),n.jsx("span",{className:"absolute inset-0 grid place-items-center",children:n.jsx("span",{className:"grid size-14 place-items-center rounded-full backdrop-blur transition-transform group-hover:scale-110",style:{backgroundColor:"color-mix(in srgb, var(--tpl-inverse, #1c1917) 70%, transparent)",color:"var(--tpl-bg, #fff)"},children:n.jsx(Vb,{className:"size-6"})})})]})}),v.caption&&n.jsx("figcaption",{className:"text-[length:var(--fs-sm)] leading-relaxed opacity-80",children:v.caption}),n.jsx(fa,{source:v.source,verified:v.verified})]})},`${v.url}-${y}`)})}),x&&n.jsxs(n.Fragment,{children:[n.jsx(cp,{dir:"prev",onClick:()=>g(-1),disabled:!d.prev}),n.jsx(cp,{dir:"next",onClick:()=>g(1),disabled:!d.next})]})]})})}function cp({dir:i,onClick:c,disabled:o}){const u=i==="prev"?oa:ua;return n.jsx("button",{type:"button",onClick:c,disabled:o,"aria-label":i==="prev"?"이전 영상":"다음 영상",className:`tap absolute top-1/2 z-10 flex -translate-y-1/2 items-center justify-center rounded-full bg-black/55 text-white backdrop-blur transition hover:bg-black/75 disabled:pointer-events-none disabled:opacity-0 lg:hidden ${i==="prev"?"left-1":"right-1"}`,children:n.jsx(u,{className:"size-5"})})}const Wy={1:"한",2:"두",3:"세",4:"네",5:"다섯"},Fy=[{id:"songs",label:"가요 다방",Component:Dp},{id:"daily",label:"오늘의 한 장",Component:Rp},{id:"people",label:"인물 열전",Component:Up},{id:"chronicle",label:"시간의 골목",Component:Hp},{id:"postcard",label:"오늘의 엽서",Component:Lp}];function Iy(){const i=le(),c=Fy.filter(f=>dl(i,f.id).items.length>0),[o,u]=q.useState(0);return c.length===0?null:n.jsxs(n.Fragment,{children:[n.jsx("section",{id:"story","aria-labelledby":"story-heading",className:"paper w-full",style:{backgroundColor:"var(--tpl-surface, #fafafa)",color:ul,paddingTop:"var(--section-space)",paddingBottom:"calc(var(--section-space) * 0.55)"},children:n.jsxs("div",{className:"shell",children:[n.jsx("h2",{id:"story-heading",className:"h2",children:Ye(i,"story","군산 이야기")}),n.jsxs("p",{className:"measure mt-3 text-[length:var(--fs-sm)] opacity-70",children:["이 도시를 ",Wy[c.length]??`${c.length}`," 갈래로 봅니다. 하나씩 골라 보세요."]}),n.jsx("div",{className:"mt-6 flex flex-wrap gap-1.5",role:"tablist","aria-label":"군산 이야기",children:c.map((f,d)=>{const h=d===o;return n.jsx("button",{type:"button",role:"tab","aria-selected":h,"aria-controls":f.id,onClick:()=>u(d),className:"rounded-full border px-4 py-1.5 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-80",style:h?{backgroundColor:ul,color:ra,borderColor:ul}:{borderColor:Ce},children:f.label},f.id)})})]})}),c.map((f,d)=>n.jsx("div",{hidden:d!==o,children:n.jsx(f.Component,{})},f.id))]})}const Py={open:"진행 중",soon:"곧 시작",closed:"종료"};function rp(i,c){return i.endDate&&i.endDatec?"soon":"open"}function Go(i,c){return i.kind==="공지"&&!i.startDate&&!i.endDate?"공지":c&&Py[c]}function $o(i){const c=f=>{const d=/^(\d{4})-(\d{2})-(\d{2})$/.exec(f??"");return d?`${Number(d[2])}월 ${Number(d[3])}일`:void 0},o=c(i.startDate),u=c(i.endDate);if(o&&u)return o===u?o:`${o} – ${u}`;if(o)return`${o}부터`;if(u)return`${u}까지`}function e1(){const i=le(),c=dl(i,"event"),[o,u]=q.useState();q.useEffect(()=>u(new Date().toLocaleDateString("sv-SE")),[]);const[f,d]=q.useState(null),h=q.useCallback(()=>d(null),[]);if(q.useEffect(()=>{if(f===null)return;const x=y=>{y.key==="Escape"&&h()},v=document.body.style.overflow;return document.body.style.overflow="hidden",window.addEventListener("keydown",x),()=>{document.body.style.overflow=v,window.removeEventListener("keydown",x)}},[f,h]),c.items.length===0)return null;const p=f===null?void 0:c.items[f],g=p&&o?rp(p,o):void 0;return n.jsxs(Rl,{id:"event",name:c.title||Ye(i,"event",`${i.place.name} 소식`),subtitle:c.subtitle,link:c.linkUrl?{url:c.linkUrl,label:c.linkLabel??"더 보기"}:void 0,count:"자세한 내용과 최신 소식은 원문에서 확인해 주세요.",children:[n.jsx("ul",{className:"grid gap-5 sm:grid-cols-2 lg:grid-cols-3",children:c.items.map((x,v)=>{const y=o?rp(x,o):void 0,z=Go(x,y),w=$o(x),N=y==="closed";return n.jsxs("li",{className:"w4-paper relative flex flex-col border-2",style:{backgroundColor:tl,borderColor:Ce,opacity:N?.6:1,boxShadow:N?"none":"3px 3px 0 color-mix(in oklab, currentcolor 12%, transparent)"},children:[n.jsx("button",{type:"button",onClick:()=>d(v),"aria-label":`${x.title} 자세히 보기`,className:"absolute inset-0 z-20 cursor-pointer"}),n.jsx("div",{className:x.imageUrl?"relative overflow-hidden border-b-2":"contents",style:x.imageUrl?{borderColor:Ce}:void 0,children:x.imageUrl?n.jsx("img",{src:x.imageUrl,alt:`${x.title} 안내 이미지`,loading:"lazy",decoding:"async",className:"aspect-4/3 w-full object-cover",style:N?{filter:"grayscale(1)"}:void 0}):null}),n.jsxs("div",{className:"flex flex-1 flex-col gap-2.5 p-5",children:[n.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[z&&n.jsx("span",{className:"border-2 px-2 py-0.5 text-[11px] font-bold tracking-[0.08em]",style:{transform:"rotate(-3deg)",backgroundColor:y==="open"&&z!=="공지"?We:tl,color:y==="open"&&z!=="공지"?ra:ul,borderColor:y==="open"&&z!=="공지"?We:Ce},children:z}),w&&n.jsx("span",{className:"text-[11px] font-semibold tabular-nums opacity-55",children:w})]}),n.jsx("h3",{className:"serif text-lg font-bold leading-snug",children:x.title}),x.summary&&n.jsx("p",{className:"line-clamp-2 text-[13px] leading-relaxed opacity-80",children:x.summary}),x.howTo&&n.jsx("p",{className:"border-2 border-dashed px-3 py-2 text-[12px] leading-relaxed",style:{borderColor:Ce},children:x.howTo}),x.body&&n.jsx("p",{className:`whitespace-pre-line text-[12px] leading-relaxed opacity-70 ${x.imageUrl?"line-clamp-3":"line-clamp-[9]"}`,children:x.body}),n.jsx("p",{className:"mt-auto pt-2 text-[12px] font-bold opacity-70",children:"자세히 보기 →"})]})]},`${x.title}-${v}`)})}),p&&n.jsx("div",{role:"dialog","aria-modal":"true","aria-label":p.title,className:"fixed inset-0 z-50 flex items-end justify-center bg-black/70 p-0 backdrop-blur-sm sm:items-center sm:p-6",onClick:h,children:n.jsxs("article",{onClick:x=>x.stopPropagation(),className:"w4-paper max-h-[88vh] w-full max-w-2xl overflow-y-auto border-2",style:{backgroundColor:tl,borderColor:Ce,color:ul},children:[p.imageUrl&&n.jsx("img",{src:p.imageUrl,alt:`${p.title} 안내 이미지`,className:"max-h-[46vh] w-full object-contain",style:{backgroundColor:"color-mix(in oklab, currentcolor 6%, transparent)"}}),n.jsxs("div",{className:"space-y-4 p-6 sm:p-8",children:[n.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[Go(p,g)&&n.jsx("span",{className:"border-2 px-2.5 py-1 text-[11px] font-bold tracking-[0.08em]",style:{borderColor:Ce},children:Go(p,g)}),$o(p)&&n.jsx("span",{className:"text-[12px] font-semibold tabular-nums opacity-60",children:$o(p)})]}),n.jsx("h3",{className:"serif text-[length:var(--fs-h3)] font-bold leading-snug",children:p.title}),p.summary&&n.jsx("p",{className:"text-[length:var(--fs-sm)] leading-relaxed opacity-85",children:p.summary}),p.howTo&&n.jsx("p",{className:"border-2 border-dashed px-4 py-3 text-[length:var(--fs-sm)] leading-relaxed",style:{borderColor:Ce},children:p.howTo}),p.body&&n.jsx("p",{className:"whitespace-pre-line text-[length:var(--fs-sm)] leading-relaxed opacity-85",children:p.body}),n.jsxs("div",{className:"flex items-center justify-between gap-4 pt-2",children:[p.postUrl?n.jsx("a",{href:p.postUrl,target:"_blank",rel:"noopener noreferrer",className:"text-[length:var(--fs-sm)] font-bold underline-offset-4 hover:underline",children:"원문 보기 →"}):n.jsx("span",{}),n.jsxs("button",{type:"button",onClick:h,className:"tap inline-flex items-center gap-1.5 border-2 px-4 text-[length:var(--fs-sm)] font-bold",style:{borderColor:Ce},children:[n.jsx(pp,{className:"size-4"}),n.jsx("span",{children:"닫기"})]})]})]})]})})]})}const t1={songs:Dp,daily:Rp,people:Up,chronicle:Hp,postcard:Lp,quiz:Hy,itinerary:Zy,video:Jy,event:e1,story:Iy};function l1({children:i}){return n.jsxs("div",{className:"flex min-h-screen w-full flex-col",children:[n.jsx(s1,{}),n.jsx("div",{className:"flex w-full flex-1 flex-col",children:i}),n.jsx(i1,{}),n.jsx(_n,{})]})}function qp(){const i=le(),c=ft(i);return[{id:"intro",href:"#about",fallback:"소개"},{id:c.path,href:"#units",fallback:c.label},{id:"info",href:"#info",fallback:"이용 정보"},{id:"booking",href:"#booking",fallback:"예약 안내"},{id:"photos",href:"#gallery",fallback:"사진"},{id:"map",href:"#location",fallback:"오시는 길"},{id:"local",href:"#guide",fallback:"주변 정보"},{id:"faq",href:"#faq",fallback:"자주 묻는 질문"}].filter(o=>Kt(i,o.id)).map(o=>({label:Ye(i,o.id,o.fallback),href:o.href}))}const a1=24,n1="0 1px 3px color-mix(in srgb, var(--tpl-inverse, #1c1917) 55%, transparent)";function s1(){const i=le(),c=qp(),[o,u]=q.useState(!1);q.useEffect(()=>{const d=()=>u(window.scrollY>a1);return d(),window.addEventListener("scroll",d,{passive:!0}),()=>window.removeEventListener("scroll",d)},[]);const f=o?"opacity-70 transition-opacity hover:opacity-100":"underline-offset-4 hover:underline";return n.jsx("header",{className:`fixed inset-x-0 top-0 z-40 w-full transition-colors duration-300 ${o?"border-line border-b backdrop-blur-md":""}`,style:o?{backgroundColor:"color-mix(in srgb, var(--tpl-surface, #fff) 92%, transparent)"}:{color:"var(--tpl-bg, #ffffff)",textShadow:n1},children:n.jsxs("div",{className:"shell grid h-20 grid-cols-[1fr_auto] items-center gap-4 lg:grid-cols-[1fr_auto_1fr]",children:[n.jsx("a",{href:"#top",className:"min-w-0",children:n.jsx("span",{className:"serif block truncate",style:{fontSize:"var(--fs-lead)",fontWeight:300,letterSpacing:"0.12em"},children:i.place.name})}),n.jsx("nav",{"aria-label":"주요 메뉴",className:"hidden items-center justify-center gap-10 lg:flex",children:c.map(d=>n.jsx("a",{href:d.href,className:`py-1 text-[length:var(--fs-sm)] font-light ${f}`,children:d.label},d.href))}),n.jsxs("div",{className:"flex items-center justify-end gap-2",children:[i.place.phone&&n.jsx("a",{href:`tel:${i.place.phone}`,className:`tap hidden items-center text-[length:var(--fs-sm)] font-light tabular-nums sm:inline-flex ${f}`,children:i.place.phone}),c.length>0&&n.jsxs("details",{className:"lg:hidden",children:[n.jsx("summary",{className:"tap flex cursor-pointer list-none items-center justify-center px-2 text-[length:var(--fs-sm)] font-light marker:content-none [&::-webkit-details-marker]:hidden","aria-label":"메뉴 열기",children:"메뉴"}),n.jsx("nav",{"aria-label":"전체 메뉴",className:"border-line absolute inset-x-0 top-full border-b border-t",style:{backgroundColor:"var(--tpl-surface, #fff)",color:"var(--tpl-text)",textShadow:"none"},children:n.jsx("ul",{className:"divide-line shell divide-y",children:c.map(d=>n.jsx("li",{children:n.jsx("a",{href:d.href,className:"tap flex items-center text-[length:var(--fs-sm)] font-light",children:d.label})},d.href))})})]})]})]})})}function i1(){var x,v,y,z;const i=le(),{place:c,site:o,narrative:u}=i,f=qp(),d=c.roadAddress??c.address,h=Ze(i)[0],p=wn(i),g=u.about[0]??u.summary;return n.jsx("footer",{className:"border-line paper w-full border-t pb-28 md:pb-16",style:{backgroundColor:"var(--tpl-surface-alt, #f5f5f4)",paddingTop:"var(--section-space)"},children:n.jsxs("div",{className:"shell",children:[n.jsxs("div",{className:"grid gap-10 md:grid-cols-3 md:gap-12",children:[n.jsxs("div",{className:"min-w-0",children:[n.jsx("p",{className:"serif",style:{fontSize:"var(--fs-lead)",fontWeight:300,letterSpacing:"0.1em"},children:c.name}),g&&n.jsx("p",{className:"text-muted measure mt-4 text-[length:var(--fs-sm)] leading-loose",children:g})]}),n.jsxs("dl",{className:"min-w-0 space-y-5",children:[d&&n.jsxs("div",{children:[n.jsx("dt",{className:"label",children:"주소"}),n.jsx("dd",{className:"mt-1 text-[length:var(--fs-sm)] font-light",children:d})]}),c.phone&&n.jsxs("div",{children:[n.jsx("dt",{className:"label",children:"전화"}),n.jsx("dd",{className:"mt-1 text-[length:var(--fs-sm)] font-light tabular-nums",children:n.jsx("a",{href:`tel:${c.phone}`,className:"underline-offset-4 hover:underline",children:c.phone})})]}),c.email&&n.jsxs("div",{children:[n.jsx("dt",{className:"label",children:"이메일"}),n.jsx("dd",{className:"mt-1 text-[length:var(--fs-sm)] font-light",children:n.jsx("a",{href:`mailto:${c.email}`,className:"underline-offset-4 hover:underline",children:c.email})})]}),h&&n.jsxs("div",{children:[n.jsx("dt",{className:"label",children:"예약"}),n.jsx("dd",{className:"mt-1 text-[length:var(--fs-sm)] font-light",children:n.jsx("a",{href:h.url,target:"_blank",rel:"noopener noreferrer",className:"underline-offset-4 hover:underline",children:ks(h)})})]})]}),f.length>0&&n.jsx("nav",{"aria-label":"사이트 메뉴",className:"min-w-0",children:n.jsx("ul",{className:"space-y-3",children:f.map(w=>n.jsx("li",{children:n.jsx("a",{href:w.href,className:"text-muted text-[length:var(--fs-sm)] font-light underline-offset-4 hover:underline",children:w.label})},w.href))})})]}),n.jsx("hr",{className:"border-line mt-12 border-t"}),p.length>0&&n.jsx("ul",{className:"mt-8 flex flex-wrap items-center justify-center gap-x-6 gap-y-2",children:p.map(w=>n.jsx("li",{children:n.jsx("a",{href:w.url,target:"_blank",rel:"noopener noreferrer",className:"text-muted text-[length:var(--fs-xs)] font-light underline-offset-4 hover:underline",children:ks(w)})},w.url))}),n.jsxs("div",{className:"text-muted mt-8 flex flex-wrap items-center justify-center gap-x-4 gap-y-1 text-center text-[length:var(--fs-xs)] font-light",children:[n.jsxs("span",{children:["상호 ",c.name]}),((x=c.legal)==null?void 0:x.representative)&&n.jsxs("span",{children:["대표 ",c.legal.representative]}),((v=c.legal)==null?void 0:v.businessRegistrationNumber)&&n.jsxs("span",{children:["사업자등록번호 ",c.legal.businessRegistrationNumber]}),((y=c.legal)==null?void 0:y.mailOrderNumber)&&n.jsxs("span",{children:["통신판매업신고 ",c.legal.mailOrderNumber]}),((z=c.legal)==null?void 0:z.licenseNumber)&&n.jsxs("span",{children:[c.legal.licenseLabel??"인허가번호"," ",c.legal.licenseNumber]}),n.jsxs("span",{className:"byline",children:[n.jsxs("span",{className:"author",children:["작성·운영 ",c.name]})," · 최종 업데이트: ",n.jsx("time",{dateTime:o.updatedAt,children:qs(o.updatedAt)})]})]})]})})}const c1=` .oasi-page main > section:not([data-oasi]) { background-color: transparent !important; background-image: none !important; border-color: transparent !important; color: var(--tpl-text) !important; padding-block: var(--oasi-gap) 0 !important; } .oasi-page main > section:not([data-oasi]) .shell { max-width: none; padding-inline: 0; } .oasi-page main > section#about > .shell > .grid { display: block; } .oasi-page main > section#about > .shell > .grid > * + * { margin-top: 2.5rem; } .oasi-page main > section#summary dl { grid-template-columns: minmax(0, 1fr); } /* * 붙여넣기 아이템 카드 — 소식 · 영상 · 추천 일정 (2026-09-04, 사장님: "1,2,3안 다 맞추세요") * * ★ 이 카드들은 .panel 이 아니라 제 인라인 style 로 면을 그린다(items/common.tsx 의 * ITEM_CARD·ITEM_BORDER). 그래서 위 .panel 규칙이 안 닿았고, 섹션 띠를 다 지운 3안에서 * **소식 카드만 갱지 결에 2px 테두리를 두른 상자로 혼자 서 있었다.** * ★ w4-paper 의 결은 1안(레트로 갱지)의 것이다. 여기서는 결을 지우고 테두리를 실선 한 겹으로 * 낮춘다. 상자를 아예 없애지는 않는다 — 전단 여섯 장이 경계 없이 붙으면 어디까지가 한 장인지 * 안 보인다. 면은 빼고 테두리만 남기는 게 이 안의 타협점이다. * ★ 배경은 transparent 로 두지 않는다. 사진 없는 공지 카드가 종이에 바로 얹히면 * 본문과 구분이 사라진다 — 아주 옅은 틴트 한 겹만 남긴다. * ★ 영상은 뺐다 (2026-09-04, 사장님: "영상 border 안 예쁘다") * 영상 카드는 상자가 아니라 **표지 사진 한 장**이고, 쇼츠라 9:16 세로다. li 에 틴트를 깔면 * 영상보다 넓은 회색 판이 뒤에 깔려 액자처럼 보인다. 사진은 제 테두리가 곧 경계다. */ .oasi-page section#event li, .oasi-page section#itinerary article { background-image: none !important; background-color: color-mix(in oklab, currentcolor 3%, transparent) !important; border-width: 1px !important; box-shadow: none !important; } .oasi-page .panel, .oasi-page .panel-sunken { background-color: transparent; border-width: 0; border-radius: 0; box-shadow: none; } .oasi-page main > section#faq > .shell > div:last-of-type { row-gap: 0; column-gap: 2.5rem; } .oasi-page main > section#faq details { margin-block: 0; border-top: 1px solid var(--site-line); } .oasi-page main > section#faq summary { padding-inline: 0; } .oasi-page main > section#faq summary > span:first-child { width: 1.125rem; } .oasi-page main > section#faq summary + div { border-top-width: 0; padding-inline: 1.875rem 0; padding-top: 0.5rem; } .oasi-page main > section#info dl.panel > div { padding-inline: 0; } .oasi-page main > section#info dl > div.panel { border-top: 1px solid var(--site-line); padding-inline: 0; } .oasi-page main > section#location .panel { border-top: 1px solid var(--site-line); padding-inline: 0; } .oasi-page main > section#location :is(thead, tbody) :is(th, td):first-child { padding-left: 0; } .oasi-page main > section#location :is(thead, tbody) :is(th, td):last-child { padding-right: 0; } .oasi-page main > section#weather .panel { padding-inline: 0; } .oasi-page main > section#guide .panel > span:last-child { padding-inline: 0; } @media (min-width: 40rem) { .oasi-page main > section#festival .panel > span:last-child { padding-inline: 0; } } `,r1={"--oasi-gap":"clamp(3.5rem, 7vw, var(--tpl-section-space, 4rem))",backgroundColor:"var(--tpl-bg)",color:"var(--tpl-text)"};function o1({children:i}){var v,y,z,w;const c=le(),{place:o}=c,u=ft(c),f=Ze(c)[0],d=wn(c),h=[{label:"처음",href:"#top",show:!0},{label:"소개",href:"#about",show:Kt(c,"intro")},{label:u.label,href:"#units",show:c.units.length>0},{label:"이용 정보",href:"#info",show:!0},{label:"주변",href:"#guide",show:Kt(c,"local")},{label:"오시는 길",href:"#location",show:!0},{label:"자주 묻는 질문",href:"#faq",show:c.faqs.length>0}].filter(N=>N.show),p=[...Oa(c).map(N=>`${N.label} ${N.value}`),...c.theme.sections.filter(N=>{var T;return N.enabled&&((T=N.name)==null?void 0:T.trim())}).map(N=>N.name.trim())].slice(0,3),g=c.narrative.tagline??c.narrative.heroSubline,x=o.roadAddress??o.address;return n.jsxs("div",{className:"oasi-page flex min-h-screen w-full flex-col",style:r1,children:[n.jsx("style",{dangerouslySetInnerHTML:{__html:c1}}),n.jsxs("div",{className:"mx-auto flex w-full max-w-[72rem] flex-col gap-10 px-5 pb-16 pt-10 lg:flex-row lg:gap-14 lg:px-10 lg:pb-24 lg:pt-16",children:[n.jsxs("header",{className:"lg:sticky lg:top-12 lg:h-fit lg:w-[18.75rem] lg:shrink-0",children:[n.jsxs("a",{href:"#top",className:"block",children:[n.jsx("span",{className:"serif block leading-none",style:{fontSize:"var(--fs-display)",fontWeight:300,letterSpacing:"0.14em"},children:o.name}),o.englishName&&n.jsx("span",{className:"text-muted mt-3 block text-[length:var(--fs-xs)] tracking-[0.24em]",children:o.englishName})]}),n.jsx("nav",{"aria-label":"주요 메뉴",className:"mt-12 lg:mt-24",children:n.jsx("ul",{className:"flex flex-wrap items-center gap-x-6 gap-y-1 lg:block",children:h.map((N,T)=>n.jsx("li",{children:n.jsx("a",{href:N.href,"aria-current":T===0?"true":void 0,className:`tap inline-flex items-center text-[length:var(--fs-sm)] transition-opacity hover:opacity-100 ${T===0?"":"text-muted"}`,children:N.label})},N.label))})}),f&&n.jsx("a",{href:f.url,target:"_blank",rel:"noopener noreferrer",className:"tap mt-2 inline-flex items-center text-[length:var(--fs-sm)] underline underline-offset-[6px]",style:{color:"var(--color-brand)"},children:ht(f)})]}),n.jsxs("div",{className:"flex min-w-0 flex-1 flex-col",children:[(p.length>0||g)&&n.jsxs("div",{className:"border-line flex flex-col gap-3 border-y py-4 sm:flex-row sm:items-center sm:justify-between sm:gap-6",children:[p.length>0&&n.jsx("ul",{className:"text-muted flex min-w-0 flex-wrap items-center gap-x-4 gap-y-1 text-[length:var(--fs-xs)]",children:p.map((N,T)=>n.jsxs("li",{className:"flex items-center gap-4",children:[T>0&&n.jsx("span",{"aria-hidden":!0,className:"opacity-40",children:"|"}),n.jsx("span",{children:N})]},N))}),g&&n.jsx("p",{className:"text-muted measure shrink-0 text-[length:var(--fs-xs)] leading-[1.9] sm:max-w-[18rem] sm:text-right",children:g})]}),i]})]}),n.jsx("footer",{className:"border-line mt-auto w-full border-t",children:n.jsxs("div",{className:"mx-auto grid w-full max-w-[72rem] grid-cols-1 gap-8 px-5 pb-28 pt-10 text-[length:var(--fs-xs)] leading-[1.9] sm:grid-cols-3 lg:px-10 lg:pb-14",children:[n.jsxs("p",{children:["[",o.name,"]"]}),d.length>0?n.jsx("ul",{className:"space-y-1",children:d.map(N=>n.jsx("li",{children:n.jsx("a",{href:N.url,target:"_blank",rel:"noopener noreferrer",className:"underline underline-offset-[5px]",children:ks(N)})},N.url))}):n.jsx("span",{}),n.jsxs("div",{className:"text-muted space-y-1 sm:text-right",children:[x&&n.jsx("p",{children:x}),o.phone&&n.jsx("p",{children:n.jsx("a",{href:`tel:${o.phone}`,className:"underline underline-offset-[5px]",children:o.phone})}),o.email&&n.jsx("p",{children:o.email}),((v=o.legal)==null?void 0:v.representative)&&n.jsxs("p",{children:["대표 ",o.legal.representative]}),((y=o.legal)==null?void 0:y.businessRegistrationNumber)&&n.jsxs("p",{children:["사업자등록번호 ",o.legal.businessRegistrationNumber]}),((z=o.legal)==null?void 0:z.mailOrderNumber)&&n.jsxs("p",{children:["통신판매업신고 ",o.legal.mailOrderNumber]}),((w=o.legal)==null?void 0:w.licenseNumber)&&n.jsxs("p",{children:[o.legal.licenseLabel??"인허가번호"," ",o.legal.licenseNumber]}),n.jsxs("p",{className:"byline",children:[n.jsxs("span",{className:"author",children:["작성·운영 ",o.name]})," · 최종 업데이트: ",n.jsx("time",{dateTime:c.site.updatedAt,children:qs(c.site.updatedAt)})]})]})]})}),n.jsx(_n,{})]})}function u1({children:i}){var z,w,N,T;const c=le(),{place:o,narrative:u,site:f}=c,d=ft(c),h=En(c),p=Oa(c),g=Ze(c)[0],x=c.links.filter(D=>D.confirmed),v=o.roadAddress??o.address,y=[{label:"소개",href:"#about",show:Kt(c,"intro")},{label:d.label,href:"#units",show:c.units.length>0},{label:"이용 정보",href:"#info",show:!0},{label:"주변 정보",href:"#guide",show:Kt(c,"local")},{label:"오시는 길",href:"#location",show:!0},{label:"자주 묻는 질문",href:"#faq",show:c.faqs.length>0}].filter(D=>D.show);return n.jsxs("div",{className:"flex min-h-screen w-full flex-col lg:flex-row",style:{backgroundColor:"var(--tpl-bg)",color:"var(--tpl-text)"},children:[n.jsx("aside",{className:"w-full shrink-0 px-6 pb-8 pt-8 lg:sticky lg:top-0 lg:h-screen lg:w-[260px] lg:overflow-y-auto lg:px-7 lg:py-10",style:{backgroundColor:"var(--tpl-bg)"},children:n.jsxs("div",{className:"flex h-full min-w-0 flex-col",children:[n.jsx("a",{href:"#top",className:"block min-w-0",children:n.jsx("h1",{className:"serif min-w-0 break-keep font-black",style:{fontSize:"var(--fs-h2)",letterSpacing:"0.12em",lineHeight:1.25},children:o.name})}),(u.tagline??u.heroSubline)&&n.jsx("p",{className:"text-muted mt-3 text-[length:var(--fs-sm)]",style:{lineHeight:1.7},children:u.tagline??u.heroSubline}),(h||p.length>0)&&n.jsxs("dl",{className:"mt-7 space-y-2.5",children:[h&&n.jsxs("div",{children:[n.jsx("dt",{className:"label",children:"최저가"}),n.jsx("dd",{className:"text-[length:var(--fs-lead)] font-bold tabular-nums",children:h})]}),p.map(D=>n.jsxs("div",{children:[n.jsx("dt",{className:"label",children:D.label}),n.jsx("dd",{className:"text-[length:var(--fs-sm)] font-semibold",children:D.value})]},D.label))]}),g&&n.jsx("a",{href:g.url,target:"_blank",rel:"noopener noreferrer",className:"tap mt-5 inline-flex w-full items-center justify-center px-4 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-90",style:{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg)"},children:ht(g)}),o.phone&&n.jsxs("a",{href:`tel:${o.phone}`,className:"tap mt-2 inline-flex w-full items-center justify-center px-4 text-[length:var(--fs-sm)] font-bold",style:{backgroundColor:"var(--tpl-surface-alt)",color:"var(--tpl-text)"},children:["전화 ",o.phone]}),n.jsx("nav",{"aria-label":"주요 메뉴",className:"mt-10",children:n.jsx("ul",{className:"space-y-0.5",children:y.map(D=>n.jsx("li",{children:n.jsx("a",{href:D.href,className:"text-muted flex min-h-[2rem] items-center text-[length:var(--fs-sm)] transition-colors hover:text-current",children:D.label})},D.label))})}),x.length>0&&n.jsx("nav",{"aria-label":"공식 채널",className:"mt-12",children:n.jsx("ul",{className:"space-y-0.5",children:x.map(D=>n.jsx("li",{children:n.jsx("a",{href:D.url,target:"_blank",rel:"noopener noreferrer",className:"text-muted flex min-h-[2rem] items-center text-[length:var(--fs-xs)] underline-offset-4 transition-colors hover:text-current hover:underline",children:ml(D)})},D.url))})}),n.jsxs("div",{className:"text-muted mt-14 space-y-1 pb-2 text-[length:var(--fs-xs)] lg:mt-auto lg:pt-14",children:[v&&n.jsx("p",{className:"break-keep",children:v}),o.phone&&n.jsx("p",{children:o.phone}),o.email&&n.jsx("p",{children:n.jsx("a",{href:`mailto:${o.email}`,className:"underline-offset-2 hover:underline",children:o.email})}),n.jsxs("div",{className:"flex flex-wrap gap-x-2 gap-y-0.5 pt-3",children:[n.jsxs("span",{children:["상호: ",o.name]}),((z=o.legal)==null?void 0:z.representative)&&n.jsxs("span",{children:["대표: ",o.legal.representative]}),((w=o.legal)==null?void 0:w.businessRegistrationNumber)&&n.jsxs("span",{children:["사업자등록번호: ",o.legal.businessRegistrationNumber]}),((N=o.legal)==null?void 0:N.mailOrderNumber)&&n.jsxs("span",{children:["통신판매업신고: ",o.legal.mailOrderNumber]}),((T=o.legal)==null?void 0:T.licenseNumber)&&n.jsxs("span",{children:[o.legal.licenseLabel??"인허가번호",": ",o.legal.licenseNumber]})]}),n.jsxs("p",{className:"byline pt-1",children:[n.jsxs("span",{className:"author",children:["작성·운영 ",o.name]})," · 최종 업데이트: ",n.jsx("time",{dateTime:f.updatedAt,children:qs(f.updatedAt)})]})]})]})}),n.jsx("div",{className:"flex min-w-0 flex-1 flex-col pb-24 lg:pb-0",children:i}),n.jsx(_n,{})]})}const f1=` .pastel-page > main > section:not([data-pastel]) { border-color: transparent; background-image: none; color: var(--pastel-ink) !important; } .pastel-page > main > section:not([data-pastel]):nth-of-type(4n+1) { background-color: var(--pastel-1) !important; } .pastel-page > main > section:not([data-pastel]):nth-of-type(4n+2) { background-color: var(--pastel-soft) !important; } .pastel-page > main > section:not([data-pastel]):nth-of-type(4n+3) { background-color: var(--pastel-2) !important; } .pastel-page > main > section:not([data-pastel]):nth-of-type(4n) { background-color: var(--pastel-3) !important; } `,d1={"--pastel-1":"var(--tpl-card)","--pastel-2":"var(--tpl-accent)","--pastel-3":"var(--tpl-secondary)","--pastel-soft":"var(--tpl-bg)","--pastel-ink":"var(--tpl-text)","--section-space":"clamp(2.75rem, 8vw, calc(var(--tpl-section-space, 4rem) * 1.4))",backgroundColor:"var(--pastel-soft)",color:"var(--pastel-ink)"};function m1({children:i}){const c=le(),o=ft(c),u=wn(c),f=[{label:"소개",href:"#about",show:Kt(c,"intro")},{label:o.label,href:"#units",show:c.units.length>0},{label:"이용 정보",href:"#info",show:!0},{label:"주변",href:"#guide",show:Kt(c,"local")},{label:"오시는 길",href:"#location",show:!0},{label:"FAQ",href:"#faq",show:c.faqs.length>0}].filter(d=>d.show);return n.jsxs("div",{className:"pastel-page flex min-h-screen w-full flex-col",style:d1,children:[n.jsx("style",{dangerouslySetInnerHTML:{__html:f1}}),n.jsx("header",{className:"sticky top-0 z-40 w-full",style:{backgroundColor:"color-mix(in srgb, var(--tpl-surface, #fff) 92%, transparent)"},children:n.jsxs("div",{className:"shell flex h-16 items-center justify-between gap-3",children:[n.jsx("a",{href:"#top",className:"flex min-w-0 items-center gap-2",children:n.jsx("span",{className:"serif truncate italic",style:{fontSize:"var(--fs-lead)",fontWeight:800,display:"inline-block",transform:"rotate(-1.5deg)"},children:c.place.name})}),n.jsx("nav",{"aria-label":"주요 메뉴",className:"hidden items-center gap-8 lg:flex",children:f.map(d=>n.jsx("a",{href:d.href,className:"py-1 text-[length:var(--fs-xs)] font-bold tracking-[0.2em] opacity-70 transition-opacity hover:opacity-100",children:d.label},d.label))}),n.jsxs("div",{className:"flex shrink-0 items-center gap-1",children:[c.place.phone&&n.jsx("a",{href:`tel:${c.place.phone}`,"aria-label":"전화",className:"tap flex items-center justify-center rounded-full",style:{backgroundColor:"var(--pastel-1)"},children:n.jsx(At,{className:"size-4"})}),u.map(d=>n.jsx("a",{href:d.url,target:"_blank",rel:"noopener noreferrer","aria-label":ml(d),className:"tap flex items-center justify-center rounded-full",style:{backgroundColor:"var(--pastel-2)"},children:/instagram/i.test(d.url)?n.jsx(Ub,{className:"size-4"}):n.jsx(Io,{className:"size-4"})},d.url)),n.jsxs("details",{className:"relative lg:hidden",children:[n.jsx("summary",{className:"tap flex cursor-pointer items-center justify-center rounded-full marker:content-none [&::-webkit-details-marker]:hidden","aria-label":"메뉴 열기",children:n.jsx(hp,{className:"size-5"})}),n.jsx("nav",{"aria-label":"전체 메뉴",className:"absolute right-0 top-[calc(100%+0.5rem)] z-50 w-48 overflow-hidden rounded-2xl",style:{backgroundColor:"var(--tpl-surface, #fff)",boxShadow:"0 10px 30px rgb(0 0 0 / 0.12)"},children:n.jsx("ul",{children:f.map(d=>n.jsx("li",{children:n.jsx("a",{href:d.href,className:"tap flex items-center px-4 text-[length:var(--fs-sm)] font-bold tracking-[0.08em]",children:d.label})},d.label))})})]})]})]})}),i,n.jsx("div",{style:{"--tpl-inverse":"var(--pastel-3)","--tpl-bg":"var(--pastel-ink)"},children:n.jsx(Op,{})}),n.jsx(_n,{})]})}function h1({children:i}){var x,v,y,z;const c=le(),{place:o,site:u}=c,f=Ep(),d=p1(f),h=Ze(c)[0],p=c.links.filter(w=>w.confirmed),g=o.roadAddress??o.address;return n.jsxs("div",{className:"flex min-h-screen w-full flex-col",style:{backgroundColor:"var(--tpl-bg)",color:"var(--tpl-text)"},children:[n.jsx("header",{className:"sticky top-0 z-40 w-full border-b-2 backdrop-blur-md",style:{backgroundColor:"color-mix(in srgb, var(--tpl-bg) 90%, transparent)",borderColor:"var(--tpl-text)"},children:n.jsxs("div",{className:"flex h-14 items-center justify-between gap-4 px-4 sm:px-6 xl:px-8",children:[n.jsx("a",{href:"#top",className:"serif min-w-0 truncate text-[length:var(--fs-lead)] font-extrabold",children:o.name}),n.jsxs("div",{className:"flex shrink-0 items-center gap-4 text-[length:var(--fs-sm)]",children:[o.phone&&n.jsx("a",{href:`tel:${o.phone}`,className:"tap inline-flex items-center underline underline-offset-4",children:o.phone}),h&&n.jsx("a",{href:h.url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex items-center font-bold underline underline-offset-4",children:ht(h)})]})]})}),n.jsxs("div",{className:"flex w-full flex-1",children:[f.length>0&&n.jsx("aside",{className:"border-line sticky top-14 hidden h-[calc(100vh-3.5rem)] w-44 shrink-0 self-start border-r xl:block",style:{backgroundImage:Os},children:n.jsx("nav",{"aria-label":"차례",className:"flex h-full flex-col justify-center gap-0.5 py-8 pl-6 pr-3",children:f.map(w=>{const N=w.anchor===d;return n.jsxs("a",{href:`#${w.anchor}`,"aria-current":N?"true":void 0,className:"flex items-baseline gap-2 py-2 text-[length:var(--fs-sm)] leading-tight motion-safe:transition-opacity",style:{opacity:N?1:.35},children:[n.jsx("span",{className:"shrink-0 text-[length:var(--fs-xs)] font-bold tabular-nums",children:w.no}),n.jsx("span",{className:"truncate",style:{fontWeight:N?700:400},children:w.label})]},w.anchor)})})}),n.jsx("div",{className:"flex min-w-0 flex-1 flex-col",children:i})]}),n.jsx("footer",{className:"w-full pb-28 pt-12 md:pb-16",style:{backgroundColor:"var(--tpl-inverse)",color:"var(--tpl-bg)",backgroundImage:Os},children:n.jsxs("div",{className:"shell",children:[n.jsx("div",{"aria-hidden":!0,className:"h-0.5 w-full bg-current opacity-70"}),n.jsxs("div",{className:"grid grid-cols-1 gap-8 pt-8 md:grid-cols-12",children:[n.jsxs("div",{className:"md:col-span-5",children:[n.jsx("p",{className:"serif",style:{fontSize:"clamp(1.5rem, 4vw, 2.5rem)",fontWeight:800,lineHeight:1.05},children:o.name}),o.englishName&&n.jsx("p",{className:"mt-2 text-[length:var(--fs-xs)] uppercase tracking-[0.18em] opacity-55",children:o.englishName})]}),n.jsxs("address",{className:"space-y-2 font-serif text-[length:var(--fs-sm)] not-italic opacity-80 md:col-span-4",children:[g&&n.jsx("p",{children:g}),o.phone&&n.jsx("p",{children:n.jsx("a",{href:`tel:${o.phone}`,className:"underline underline-offset-4",children:o.phone})}),o.email&&n.jsx("p",{children:n.jsx("a",{href:`mailto:${o.email}`,className:"underline underline-offset-4",children:o.email})})]}),p.length>0&&n.jsx("nav",{"aria-label":"공식 채널",className:"md:col-span-3",children:n.jsx("ul",{className:"space-y-1.5 text-[length:var(--fs-sm)]",children:p.map(w=>n.jsx("li",{children:n.jsx("a",{href:w.url,target:"_blank",rel:"noopener noreferrer",className:"underline underline-offset-4 opacity-80 transition-opacity hover:opacity-100",children:ml(w)})},w.url))})})]}),n.jsxs("div",{className:"mt-10 flex flex-col gap-2 border-t border-current/20 pt-5 text-[length:var(--fs-xs)] opacity-55 sm:flex-row sm:items-center sm:justify-between",children:[n.jsxs("div",{className:"flex flex-wrap items-center gap-x-3 gap-y-1",children:[n.jsxs("span",{children:["상호: ",o.name]}),((x=o.legal)==null?void 0:x.representative)&&n.jsxs("span",{children:["대표: ",o.legal.representative]}),((v=o.legal)==null?void 0:v.businessRegistrationNumber)&&n.jsxs("span",{children:["사업자등록번호: ",o.legal.businessRegistrationNumber]}),((y=o.legal)==null?void 0:y.mailOrderNumber)&&n.jsxs("span",{children:["통신판매업신고: ",o.legal.mailOrderNumber]}),((z=o.legal)==null?void 0:z.licenseNumber)&&n.jsxs("span",{children:[o.legal.licenseLabel??"인허가번호",": ",o.legal.licenseNumber]})]}),n.jsxs("p",{className:"byline shrink-0",children:[n.jsxs("span",{className:"author",children:["작성·운영 ",o.name]})," · 최종 업데이트: ",n.jsx("time",{dateTime:u.updatedAt,children:qs(u.updatedAt)})]})]})]})}),n.jsx(_n,{})]})}function p1(i){const c=i.map(f=>f.anchor).join(","),[o,u]=q.useState("");return q.useEffect(()=>{if(typeof IntersectionObserver>"u")return;const f=c.split(",").map(h=>document.getElementById(h)).filter(h=>h!==null);if(f.length===0)return;const d=new IntersectionObserver(h=>{const p=h.find(g=>g.isIntersecting);p&&u(p.target.id)},{rootMargin:"-45% 0px -50% 0px"});return f.forEach(h=>d.observe(h)),()=>d.disconnect()},[c]),o}function x1(){const i=le(),c=i.place.category===Ma.LODGING,o={intro:ay,info:ny,rooms:Lo,menu:Lo,programs:Lo,booking:c?Fh:py,space:jy,inquiry:Ny,exhibition:Sy,photos:Oy,festival:wy,local:_y,weather:ky,map:ap,faq:Dy,...t1},u=new Set;return n.jsxs("main",{className:"w-full flex-1",children:[n.jsx(pv,{}),!Kt(i,"intro")&&n.jsx(Hh,{}),i.theme.sections.filter(f=>f.enabled&&f.id!=="hero").map(f=>{const d=o[f.id];if(!d)return null;const h=d.name;return u.has(h)?null:(u.add(h),n.jsxs("div",{"data-editor-id":f.id,style:{display:"contents"},children:[n.jsx(d,{}),f.id==="intro"&&n.jsx(Hh,{})]},f.id))}),!Kt(i,"map")&&n.jsx(ap,{}),c&&!W0(i,"booking")&&n.jsx(Fh,{})]})}function Wo({payload:i}){const c=zp(i.theme.templateId),o=c==="reservation"?l1:c==="oasi"?o1:c==="studio"?u1:c==="pastel"?m1:c==="editorial"?h1:g1;return n.jsx(n0,{payload:i,children:n.jsx(o,{children:n.jsx(x1,{})})})}function g1({children:i}){return n.jsxs("div",{className:"flex min-h-screen w-full flex-col",children:[n.jsx(F0,{}),n.jsx("div",{className:"flex w-full flex-1 flex-col",children:i}),n.jsx(Op,{}),n.jsx(_n,{})]})}function b1(i){const{colors:c,look:o}=i.theme,u=w0(c),f={"--tpl-primary":c.primary,"--tpl-secondary":c.secondary,"--tpl-bg":c.bg,"--tpl-card":c.card,"--tpl-text":c.text,"--tpl-accent":c.accent,"--tpl-surface":u.surface,"--tpl-surface-alt":u.surfaceAlt,"--tpl-inverse":u.inverse,"--tpl-border":u.border};if(o){const d=p=>p&&!/[<>{};]/.test(p)?p:void 0,h=[["--tpl-font-heading",d(o.fontHeading)],["--tpl-font-body",d(o.fontBody)],["--tpl-heading-tracking",d(o.headingTracking)],["--tpl-heading-weight",d(o.headingWeight)],["--tpl-section-space",d(o.sectionSpace)],["--tpl-border-width",d(o.borderWidth)],["--tpl-radius",d(o.radius)],["--tpl-shadow",d(o.shadow)],["--tpl-texture",d(o.texture)]];for(const[p,g]of h)g&&(f[p]=g)}return f}const v1=[[/Noto Sans KR/i,"family=Noto+Sans+KR:wght@300..900"],[/Noto Serif KR/i,"family=Noto+Serif+KR:wght@300..700"],[/Gugi/i,"family=Gugi"],[/Gowun Batang/i,"family=Gowun+Batang:wght@400;700"],[/Nanum Pen Script/i,"family=Nanum+Pen+Script"]];function y1(i){var u,f;const c=["Noto Sans KR","Noto Serif KR",((u=i.theme.look)==null?void 0:u.fontHeading)??"",((f=i.theme.look)==null?void 0:f.fontBody)??""].join(" ");return`https://fonts.googleapis.com/css2?${v1.filter(([d])=>d.test(c)).map(([,d])=>d).join("&")}&display=swap`}const oc=document.getElementById("root"),op=window.__SITE_PAYLOAD__;async function j1(i){const c=(()=>{try{return localStorage.getItem("o2o-web4ai.accessToken")}catch{return null}})(),o=await fetch(`/v1/place/${i}/site/preview`,{headers:c?{Authorization:`Bearer ${c}`}:{}});if(!o.ok)throw new Error(`HTTP ${o.status}`);const u=await o.json();for(const[d,h]of Object.entries(b1(u)))document.documentElement.style.setProperty(d,h);const f=document.createElement("link");f.rel="stylesheet",f.href=y1(u),document.head.appendChild(f),await new Promise(d=>{f.addEventListener("load",()=>d(),{once:!0}),f.addEventListener("error",()=>d(),{once:!0}),setTimeout(d,2500)});try{await document.fonts.ready}catch{}Qo.createRoot(oc).render(n.jsx(q.StrictMode,{children:n.jsx(Wo,{payload:u})}))}const up=new URLSearchParams(window.location.search).get("placeId");op?Qo.hydrateRoot(oc,n.jsx(q.StrictMode,{children:n.jsx(Wo,{payload:op})})):up?j1(up).catch(i=>{oc.textContent=`미리보기를 불러오지 못했습니다 — ${i instanceof Error?i.message:String(i)}`}):tb(async()=>{const{MOONLIGHT_STAY_PAYLOAD:i}=await import("./moonlight-stay-C8soi6-l.js");return{MOONLIGHT_STAY_PAYLOAD:i}},[]).then(({MOONLIGHT_STAY_PAYLOAD:i})=>{Qo.createRoot(oc).render(n.jsx(q.StrictMode,{children:n.jsx(Wo,{payload:i})}))});export{Ah as F,bt as L,Ma as P,N1 as S,S1 as a};