(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.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 m of d.addedNodes)m.tagName==="LINK"&&m.rel==="modulepreload"&&u(m)}).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 mv="modulepreload",hv=function(s){return"/"+s},wh={},pv=function(r,o,u){let f=Promise.resolve();if(o&&o.length>0){let m=function(p){return Promise.all(p.map(y=>Promise.resolve(y).then(b=>({status:"fulfilled",value:b}),b=>({status:"rejected",reason:b}))))};document.getElementsByTagName("link");const g=document.querySelector("meta[property=csp-nonce]"),x=(g==null?void 0:g.nonce)||(g==null?void 0:g.getAttribute("nonce"));f=m(o.map(p=>{if(p=hv(p),p in wh)return;wh[p]=!0;const y=p.endsWith(".css"),b=y?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${p}"]${b}`))return;const j=document.createElement("link");if(j.rel=y?"stylesheet":mv,y||(j.as="script"),j.crossOrigin="",j.href=p,x&&j.setAttribute("nonce",x),document.head.appendChild(j),y)return new Promise((T,S)=>{j.addEventListener("load",T),j.addEventListener("error",()=>S(new Error(`Unable to preload CSS for ${p}`)))})}))}function d(m){const g=new Event("vite:preloadError",{cancelable:!0});if(g.payload=m,window.dispatchEvent(g),!g.defaultPrevented)throw m}return f.then(m=>{for(const g of m||[])g.status==="rejected"&&d(g.reason);return r().catch(d)})};var Do={exports:{}},_s={};/** * @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 Eh;function gv(){if(Eh)return _s;Eh=1;var s=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function o(u,f,d){var m=null;if(d!==void 0&&(m=""+d),f.key!==void 0&&(m=""+f.key),"key"in f){d={};for(var g in f)g!=="key"&&(d[g]=f[g])}else d=f;return f=d.ref,{$$typeof:s,type:u,key:m,ref:f!==void 0?f:null,props:d}}return _s.Fragment=r,_s.jsx=o,_s.jsxs=o,_s}var zh;function xv(){return zh||(zh=1,Do.exports=gv()),Do.exports}var n=xv(),Ro={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 Th;function vv(){if(Th)return ue;Th=1;var s=Symbol.for("react.transitional.element"),r=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"),m=Symbol.for("react.context"),g=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),b=Symbol.for("react.activity"),j=Symbol.iterator;function T(E){return E===null||typeof E!="object"?null:(E=j&&E[j]||E["@@iterator"],typeof E=="function"?E:null)}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w=Object.assign,k={};function R(E,B,K){this.props=E,this.context=B,this.refs=k,this.updater=K||S}R.prototype.isReactComponent={},R.prototype.setState=function(E,B){if(typeof E!="object"&&typeof E!="function"&&E!=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,E,B,"setState")},R.prototype.forceUpdate=function(E){this.updater.enqueueForceUpdate(this,E,"forceUpdate")};function V(){}V.prototype=R.prototype;function Y(E,B,K){this.props=E,this.context=B,this.refs=k,this.updater=K||S}var X=Y.prototype=new V;X.constructor=Y,w(X,R.prototype),X.isPureReactComponent=!0;var G=Array.isArray;function J(){}var $={H:null,A:null,T:null,S:null},F=Object.prototype.hasOwnProperty;function le(E,B,K){var W=K.ref;return{$$typeof:s,type:E,key:B,ref:W!==void 0?W:null,props:K}}function Z(E,B){return le(E.type,B,E.props)}function ne(E){return typeof E=="object"&&E!==null&&E.$$typeof===s}function ye(E){var B={"=":"=0",":":"=2"};return"$"+E.replace(/[=:]/g,function(K){return B[K]})}var Ge=/\/+/g;function Qe(E,B){return typeof E=="object"&&E!==null&&E.key!=null?ye(""+E.key):B.toString(36)}function re(E){switch(E.status){case"fulfilled":return E.value;case"rejected":throw E.reason;default:switch(typeof E.status=="string"?E.then(J,J):(E.status="pending",E.then(function(B){E.status==="pending"&&(E.status="fulfilled",E.value=B)},function(B){E.status==="pending"&&(E.status="rejected",E.reason=B)})),E.status){case"fulfilled":return E.value;case"rejected":throw E.reason}}throw E}function O(E,B,K,W,ce){var fe=typeof E;(fe==="undefined"||fe==="boolean")&&(E=null);var oe=!1;if(E===null)oe=!0;else switch(fe){case"bigint":case"string":case"number":oe=!0;break;case"object":switch(E.$$typeof){case s:case r:oe=!0;break;case y:return oe=E._init,O(oe(E._payload),B,K,W,ce)}}if(oe)return ce=ce(E),oe=W===""?"."+Qe(E,0):W,G(ce)?(K="",oe!=null&&(K=oe.replace(Ge,"$&/")+"/"),O(ce,B,K,"",function(at){return at})):ce!=null&&(ne(ce)&&(ce=Z(ce,K+(ce.key==null||E&&E.key===ce.key?"":(""+ce.key).replace(Ge,"$&/")+"/")+oe)),B.push(ce)),1;oe=0;var we=W===""?".":W+":";if(G(E))for(var Ee=0;Ee>>1,je=O[he];if(0>>1;hef(K,ae))Wf(ce,K)?(O[he]=ce,O[W]=ae,he=W):(O[he]=K,O[B]=ae,he=B);else if(Wf(ce,ae))O[he]=ce,O[W]=ae,he=W;else break e}}return Q}function f(O,Q){var ae=O.sortIndex-Q.sortIndex;return ae!==0?ae:O.id-Q.id}if(s.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var d=performance;s.unstable_now=function(){return d.now()}}else{var m=Date,g=m.now();s.unstable_now=function(){return m.now()-g}}var x=[],p=[],y=1,b=null,j=3,T=!1,S=!1,w=!1,k=!1,R=typeof setTimeout=="function"?setTimeout:null,V=typeof clearTimeout=="function"?clearTimeout:null,Y=typeof setImmediate<"u"?setImmediate:null;function X(O){for(var Q=o(p);Q!==null;){if(Q.callback===null)u(p);else if(Q.startTime<=O)u(p),Q.sortIndex=Q.expirationTime,r(x,Q);else break;Q=o(p)}}function G(O){if(w=!1,X(O),!S)if(o(x)!==null)S=!0,J||(J=!0,ye());else{var Q=o(p);Q!==null&&re(G,Q.startTime-O)}}var J=!1,$=-1,F=5,le=-1;function Z(){return k?!0:!(s.unstable_now()-leO&&Z());){var he=b.callback;if(typeof he=="function"){b.callback=null,j=b.priorityLevel;var je=he(b.expirationTime<=O);if(O=s.unstable_now(),typeof je=="function"){b.callback=je,X(O),Q=!0;break t}b===o(x)&&u(x),X(O)}else u(x);b=o(x)}if(b!==null)Q=!0;else{var E=o(p);E!==null&&re(G,E.startTime-O),Q=!1}}break e}finally{b=null,j=ae,T=!1}Q=void 0}}finally{Q?ye():J=!1}}}var ye;if(typeof Y=="function")ye=function(){Y(ne)};else if(typeof MessageChannel<"u"){var Ge=new MessageChannel,Qe=Ge.port2;Ge.port1.onmessage=ne,ye=function(){Qe.postMessage(null)}}else ye=function(){R(ne,0)};function re(O,Q){$=R(function(){O(s.unstable_now())},Q)}s.unstable_IdlePriority=5,s.unstable_ImmediatePriority=1,s.unstable_LowPriority=4,s.unstable_NormalPriority=3,s.unstable_Profiling=null,s.unstable_UserBlockingPriority=2,s.unstable_cancelCallback=function(O){O.callback=null},s.unstable_forceFrameRate=function(O){0>O||125he?(O.sortIndex=ae,r(p,O),o(x)===null&&O===o(p)&&(w?(V($),$=-1):w=!0,re(G,ae-he))):(O.sortIndex=je,r(x,O),S||T||(S=!0,J||(J=!0,ye()))),O},s.unstable_shouldYield=Z,s.unstable_wrapCallback=function(O){var Q=j;return function(){var ae=j;j=Q;try{return O.apply(this,arguments)}finally{j=ae}}}})(Ho)),Ho}var Ch;function yv(){return Ch||(Ch=1,Lo.exports=bv()),Lo.exports}var Bo={exports:{}},ht={};/** * @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 kh;function jv(){if(kh)return ht;kh=1;var s=au();function r(x){var p="https://react.dev/errors/"+x;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(s)}catch(r){console.error(r)}}return s(),Bo.exports=jv(),Bo.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 Oh;function Sv(){if(Oh)return Cs;Oh=1;var s=yv(),r=au(),o=Nv();function u(e){var t="https://react.dev/errors/"+e;if(1je||(e.current=he[je],he[je]=null,je--)}function K(e,t){je++,he[je]=e.current,e.current=t}var W=E(null),ce=E(null),fe=E(null),oe=E(null);function we(e,t){switch(K(fe,t),K(ce,e),K(W,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Zm(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Zm(t),e=Km(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}B(W),K(W,e)}function Ee(){B(W),B(ce),B(fe)}function at(e){e.memoizedState!==null&&K(oe,e);var t=W.current,l=Km(t,e.type);t!==l&&(K(ce,e),K(W,l))}function ke(e){ce.current===e&&(B(W),B(ce)),oe.current===e&&(B(oe),Es._currentValue=ae)}var ee,Ae;function Me(e){if(ee===void 0)try{throw Error()}catch(l){var t=l.stack.trim().match(/\n( *(at )?)/);ee=t&&t[1]||"",Ae=-1)":-1i||N[a]!==C[i]){var L=` `+N[a].replace(" at new "," at ");return e.displayName&&L.includes("")&&(L=L.replace("",e.displayName)),L}while(1<=a&&0<=i);break}}}finally{tt=!1,Error.prepareStackTrace=l}return(l=e?e.displayName||e.name:"")?Me(l):""}function Wt(e,t){switch(e.tag){case 26:case 27:case 5:return Me(e.type);case 16:return Me("Lazy");case 13:return e.child!==t&&t!==null?Me("Suspense Fallback"):Me("Suspense");case 19:return Me("SuspenseList");case 0:case 15:return jt(e.type,!1);case 11:return jt(e.type.render,!1);case 1:return jt(e.type,!0);case 31:return Me("Activity");default:return""}}function nl(e){try{var t="",l=null;do t+=Wt(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,Ft=s.unstable_scheduleCallback,xl=s.unstable_cancelCallback,On=s.unstable_shouldYield,Dn=s.unstable_requestPaint,mt=s.unstable_now,Vs=s.unstable_getCurrentPriorityLevel,Zs=s.unstable_ImmediatePriority,Rn=s.unstable_UserBlockingPriority,Ua=s.unstable_NormalPriority,Un=s.unstable_LowPriority,vl=s.unstable_IdlePriority,Ln=s.log,Hn=s.unstable_setDisableYieldValue,sl=null,xt=null;function il(e){if(typeof Ln=="function"&&Hn(e),xt&&typeof xt.setStrictMode=="function")try{xt.setStrictMode(sl,e)}catch{}}var vt=Math.clz32?Math.clz32:Ks,br=Math.log,yr=Math.LN2;function Ks(e){return e>>>=0,e===0?32:31-(br(e)/yr|0)|0}var La=256,pa=262144,ga=4194304;function rl(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 Ha(e,t,l){var a=e.pendingLanes;if(a===0)return 0;var i=0,c=e.suspendedLanes,h=e.pingedLanes;e=e.warmLanes;var v=a&134217727;return v!==0?(a=v&~c,a!==0?i=rl(a):(h&=v,h!==0?i=rl(h):l||(l=v&~e,l!==0&&(i=rl(l))))):(v=a&~c,v!==0?i=rl(v):h!==0?i=rl(h):l||(l=a&~e,l!==0&&(i=rl(l)))),i===0?0:t!==0&&t!==i&&(t&c)===0&&(c=i&-i,l=t&-t,c>=l||c===32&&(l&4194048)!==0)?t:i}function Hl(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Js(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 Ws(){var e=ga;return ga<<=1,(ga&62914560)===0&&(ga=4194304),e}function jr(e){for(var t=[],l=0;31>l;l++)t.push(e);return t}function Bn(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function tg(e,t,l,a,i,c){var h=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 v=e.entanglements,N=e.expirationTimes,C=e.hiddenUpdates;for(l=h&~l;0"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var rg=/[\n"\\]/g;function qt(e){return e.replace(rg,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Tr(e,t,l,a,i,c,h,v){e.name="",h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"?e.type=h:e.removeAttribute("type"),t!=null?h==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Bt(t)):e.value!==""+Bt(t)&&(e.value=""+Bt(t)):h!=="submit"&&h!=="reset"||e.removeAttribute("value"),t!=null?Ar(e,h,Bt(t)):l!=null?Ar(e,h,Bt(l)):a!=null&&e.removeAttribute("value"),i==null&&c!=null&&(e.defaultChecked=!!c),i!=null&&(e.checked=i&&typeof i!="function"&&typeof i!="symbol"),v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"?e.name=""+Bt(v):e.removeAttribute("name")}function qu(e,t,l,a,i,c,h,v){if(c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(e.type=c),t!=null||l!=null){if(!(c!=="submit"&&c!=="reset"||t!=null)){zr(e);return}l=l!=null?""+Bt(l):"",t=t!=null?""+Bt(t):l,v||t===e.value||(e.value=t),e.defaultValue=t}a=a??i,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=v?e.checked:!!a,e.defaultChecked=!!a,h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"&&(e.name=h),zr(e)}function Ar(e,t,l){t==="number"&&Ps(e.ownerDocument)===e||e.defaultValue===""+l||(e.defaultValue=""+l)}function Qa(e,t,l,a){if(e=e.options,t){t={};for(var i=0;i"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Or=!1;if(jl)try{var $n={};Object.defineProperty($n,"passive",{get:function(){Or=!0}}),window.addEventListener("test",$n,$n),window.removeEventListener("test",$n,$n)}catch{Or=!1}var ql=null,Dr=null,ti=null;function Zu(){if(ti)return ti;var e,t=Dr,l=t.length,a,i="value"in ql?ql.value:ql.textContent,c=i.length;for(e=0;e=Vn),Pu=" ",ef=!1;function tf(e,t){switch(e){case"keyup":return Rg.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function lf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ka=!1;function Lg(e,t){switch(e){case"compositionend":return lf(t);case"keypress":return t.which!==32?null:(ef=!0,Pu);case"textInput":return e=t.data,e===Pu&&ef?null:e;default:return null}}function Hg(e,t){if(Ka)return e==="compositionend"||!Br&&tf(e,t)?(e=Zu(),ti=Dr=ql=null,Ka=!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=ff(l)}}function mf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?mf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function hf(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Ps(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=Ps(e.document)}return t}function Gr(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 Vg=jl&&"documentMode"in document&&11>=document.documentMode,Ja=null,$r=null,Wn=null,Qr=!1;function pf(e,t,l){var a=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Qr||Ja==null||Ja!==Ps(a)||(a=Ja,"selectionStart"in a&&Gr(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}),Wn&&Jn(Wn,a)||(Wn=a,a=Ki($r,"onSelect"),0>=h,i-=h,cl=1<<32-vt(t)+i|l<me?(ve=P,P=null):ve=P.sibling;var Se=M(A,P,_[me],H);if(Se===null){P===null&&(P=ve);break}e&&P&&Se.alternate===null&&t(A,P),z=c(Se,z,me),Ne===null?se=Se:Ne.sibling=Se,Ne=Se,P=ve}if(me===_.length)return l(A,P),be&&Sl(A,me),se;if(P===null){for(;me<_.length;me++)P=q(A,_[me],H),P!==null&&(z=c(P,z,me),Ne===null?se=P:Ne.sibling=P,Ne=P);return be&&Sl(A,me),se}for(P=a(P);me<_.length;me++)ve=D(P,A,me,_[me],H),ve!==null&&(e&&ve.alternate!==null&&P.delete(ve.key===null?me:ve.key),z=c(ve,z,me),Ne===null?se=ve:Ne.sibling=ve,Ne=ve);return e&&P.forEach(function(ca){return t(A,ca)}),be&&Sl(A,me),se}function ie(A,z,_,H){if(_==null)throw Error(u(151));for(var se=null,Ne=null,P=z,me=z=0,ve=null,Se=_.next();P!==null&&!Se.done;me++,Se=_.next()){P.index>me?(ve=P,P=null):ve=P.sibling;var ca=M(A,P,Se.value,H);if(ca===null){P===null&&(P=ve);break}e&&P&&ca.alternate===null&&t(A,P),z=c(ca,z,me),Ne===null?se=ca:Ne.sibling=ca,Ne=ca,P=ve}if(Se.done)return l(A,P),be&&Sl(A,me),se;if(P===null){for(;!Se.done;me++,Se=_.next())Se=q(A,Se.value,H),Se!==null&&(z=c(Se,z,me),Ne===null?se=Se:Ne.sibling=Se,Ne=Se);return be&&Sl(A,me),se}for(P=a(P);!Se.done;me++,Se=_.next())Se=D(P,A,me,Se.value,H),Se!==null&&(e&&Se.alternate!==null&&P.delete(Se.key===null?me:Se.key),z=c(Se,z,me),Ne===null?se=Se:Ne.sibling=Se,Ne=Se);return e&&P.forEach(function(dv){return t(A,dv)}),be&&Sl(A,me),se}function Re(A,z,_,H){if(typeof _=="object"&&_!==null&&_.type===w&&_.key===null&&(_=_.props.children),typeof _=="object"&&_!==null){switch(_.$$typeof){case T:e:{for(var se=_.key;z!==null;){if(z.key===se){if(se=_.type,se===w){if(z.tag===7){l(A,z.sibling),H=i(z,_.props.children),H.return=A,A=H;break e}}else if(z.elementType===se||typeof se=="object"&&se!==null&&se.$$typeof===F&&Ta(se)===z.type){l(A,z.sibling),H=i(z,_.props),ls(H,_),H.return=A,A=H;break e}l(A,z);break}else t(A,z);z=z.sibling}_.type===w?(H=Na(_.props.children,A.mode,H,_.key),H.return=A,A=H):(H=fi(_.type,_.key,_.props,null,A.mode,H),ls(H,_),H.return=A,A=H)}return h(A);case S:e:{for(se=_.key;z!==null;){if(z.key===se)if(z.tag===4&&z.stateNode.containerInfo===_.containerInfo&&z.stateNode.implementation===_.implementation){l(A,z.sibling),H=i(z,_.children||[]),H.return=A,A=H;break e}else{l(A,z);break}else t(A,z);z=z.sibling}H=Fr(_,A.mode,H),H.return=A,A=H}return h(A);case F:return _=Ta(_),Re(A,z,_,H)}if(re(_))return I(A,z,_,H);if(ye(_)){if(se=ye(_),typeof se!="function")throw Error(u(150));return _=se.call(_),ie(A,z,_,H)}if(typeof _.then=="function")return Re(A,z,vi(_),H);if(_.$$typeof===Y)return Re(A,z,hi(A,_),H);bi(A,_)}return typeof _=="string"&&_!==""||typeof _=="number"||typeof _=="bigint"?(_=""+_,z!==null&&z.tag===6?(l(A,z.sibling),H=i(z,_),H.return=A,A=H):(l(A,z),H=Wr(_,A.mode,H),H.return=A,A=H),h(A)):l(A,z)}return function(A,z,_,H){try{ts=0;var se=Re(A,z,_,H);return rn=null,se}catch(P){if(P===sn||P===gi)throw P;var Ne=Mt(29,P,null,A.mode);return Ne.lanes=H,Ne.return=A,Ne}finally{}}}var _a=Hf(!0),Bf=Hf(!1),Xl=!1;function oc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function uc(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 Vl(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Zl(e,t,l){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(ze&2)!==0){var i=a.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),a.pending=t,t=ui(e),Nf(e,null,l),t}return oi(e,a,t,l),ui(e)}function as(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,_u(e,l)}}function fc(e,t){var l=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,l===a)){var i=null,c=null;if(l=l.firstBaseUpdate,l!==null){do{var h={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};c===null?i=c=h:c=c.next=h,l=l.next}while(l!==null);c===null?i=c=t:c=c.next=t}else i=c=t;l={baseState:a.baseState,firstBaseUpdate:i,lastBaseUpdate:c,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 dc=!1;function ns(){if(dc){var e=nn;if(e!==null)throw e}}function ss(e,t,l,a){dc=!1;var i=e.updateQueue;Xl=!1;var c=i.firstBaseUpdate,h=i.lastBaseUpdate,v=i.shared.pending;if(v!==null){i.shared.pending=null;var N=v,C=N.next;N.next=null,h===null?c=C:h.next=C,h=N;var L=e.alternate;L!==null&&(L=L.updateQueue,v=L.lastBaseUpdate,v!==h&&(v===null?L.firstBaseUpdate=C:v.next=C,L.lastBaseUpdate=N))}if(c!==null){var q=i.baseState;h=0,L=C=N=null,v=c;do{var M=v.lane&-536870913,D=M!==v.lane;if(D?(xe&M)===M:(a&M)===M){M!==0&&M===an&&(dc=!0),L!==null&&(L=L.next={lane:0,tag:v.tag,payload:v.payload,callback:null,next:null});e:{var I=e,ie=v;M=t;var Re=l;switch(ie.tag){case 1:if(I=ie.payload,typeof I=="function"){q=I.call(Re,q,M);break e}q=I;break e;case 3:I.flags=I.flags&-65537|128;case 0:if(I=ie.payload,M=typeof I=="function"?I.call(Re,q,M):I,M==null)break e;q=b({},q,M);break e;case 2:Xl=!0}}M=v.callback,M!==null&&(e.flags|=64,D&&(e.flags|=8192),D=i.callbacks,D===null?i.callbacks=[M]:D.push(M))}else D={lane:M,tag:v.tag,payload:v.payload,callback:v.callback,next:null},L===null?(C=L=D,N=q):L=L.next=D,h|=M;if(v=v.next,v===null){if(v=i.shared.pending,v===null)break;D=v,v=D.next,D.next=null,i.lastBaseUpdate=D,i.shared.pending=null}}while(!0);L===null&&(N=q),i.baseState=N,i.firstBaseUpdate=C,i.lastBaseUpdate=L,c===null&&(i.shared.lanes=0),Il|=h,e.lanes=h,e.memoizedState=q}}function qf(e,t){if(typeof e!="function")throw Error(u(191,e));e.call(t)}function Yf(e,t){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;ec?c:8;var h=O.T,v={};O.T=v,kc(e,!1,t,l);try{var N=i(),C=O.S;if(C!==null&&C(v,N),N!==null&&typeof N=="object"&&typeof N.then=="function"){var L=tx(N,a);cs(e,t,L,Lt(e))}else cs(e,t,a,Lt(e))}catch(q){cs(e,t,{then:function(){},status:"rejected",reason:q},Lt())}finally{Q.p=c,h!==null&&v.types!==null&&(h.types=v.types),O.T=h}}function rx(){}function _c(e,t,l,a){if(e.tag!==5)throw Error(u(476));var i=bd(e).queue;vd(e,i,t,ae,l===null?rx:function(){return yd(e),l(a)})}function bd(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ae,baseState:ae,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Tl,lastRenderedState:ae},next:null};var l={};return t.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Tl,lastRenderedState:l},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function yd(e){var t=bd(e);t.next===null&&(t=e.alternate.memoizedState),cs(e,t.next.queue,{},Lt())}function Cc(){return ct(Es)}function jd(){return Je().memoizedState}function Nd(){return Je().memoizedState}function cx(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var l=Lt();e=Vl(l);var a=Zl(t,e,l);a!==null&&(At(a,t,l),as(a,t,l)),t={cache:sc()},e.payload=t;return}t=t.return}}function ox(e,t,l){var a=Lt();l={lane:a,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},_i(e)?wd(t,l):(l=Kr(e,t,l,a),l!==null&&(At(l,e,a),Ed(l,t,a)))}function Sd(e,t,l){var a=Lt();cs(e,t,l,a)}function cs(e,t,l,a){var i={lane:a,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(_i(e))wd(t,i);else{var c=e.alternate;if(e.lanes===0&&(c===null||c.lanes===0)&&(c=t.lastRenderedReducer,c!==null))try{var h=t.lastRenderedState,v=c(h,l);if(i.hasEagerState=!0,i.eagerState=v,kt(v,h))return oi(e,t,i,0),Ue===null&&ci(),!1}catch{}finally{}if(l=Kr(e,t,i,a),l!==null)return At(l,e,a),Ed(l,t,a),!0}return!1}function kc(e,t,l,a){if(a={lane:2,revertLane:oo(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},_i(e)){if(t)throw Error(u(479))}else t=Kr(e,l,a,2),t!==null&&At(t,e,2)}function _i(e){var t=e.alternate;return e===de||t!==null&&t===de}function wd(e,t){on=Ni=!0;var l=e.pending;l===null?t.next=t:(t.next=l.next,l.next=t),e.pending=t}function Ed(e,t,l){if((l&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,l|=a,t.lanes=l,_u(e,l)}}var os={readContext:ct,use:Ei,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};os.useEffectEvent=Xe;var zd={readContext:ct,use:Ei,useCallback:function(e,t){return bt().memoizedState=[e,t===void 0?null:t],e},useContext:ct,useEffect:od,useImperativeHandle:function(e,t,l){l=l!=null?l.concat([e]):null,Ti(4194308,4,md.bind(null,t,e),l)},useLayoutEffect:function(e,t){return Ti(4194308,4,e,t)},useInsertionEffect:function(e,t){Ti(4,2,e,t)},useMemo:function(e,t){var l=bt();t=t===void 0?null:t;var a=e();if(Ca){il(!0);try{e()}finally{il(!1)}}return l.memoizedState=[a,t],a},useReducer:function(e,t,l){var a=bt();if(l!==void 0){var i=l(t);if(Ca){il(!0);try{l(t)}finally{il(!1)}}}else i=t;return a.memoizedState=a.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},a.queue=e,e=e.dispatch=ox.bind(null,de,e),[a.memoizedState,e]},useRef:function(e){var t=bt();return e={current:e},t.memoizedState=e},useState:function(e){e=wc(e);var t=e.queue,l=Sd.bind(null,de,t);return t.dispatch=l,[e.memoizedState,l]},useDebugValue:Tc,useDeferredValue:function(e,t){var l=bt();return Ac(l,e,t)},useTransition:function(){var e=wc(!1);return e=vd.bind(null,de,e.queue,!0,!1),bt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,l){var a=de,i=bt();if(be){if(l===void 0)throw Error(u(407));l=l()}else{if(l=t(),Ue===null)throw Error(u(349));(xe&127)!==0||Zf(a,t,l)}i.memoizedState=l;var c={value:l,getSnapshot:t};return i.queue=c,od(Jf.bind(null,a,c,e),[e]),a.flags|=2048,fn(9,{destroy:void 0},Kf.bind(null,a,c,l,t),null),l},useId:function(){var e=bt(),t=Ue.identifierPrefix;if(be){var l=ol,a=cl;l=(a&~(1<<32-vt(a)-1)).toString(32)+l,t="_"+t+"R_"+l,l=Si++,0<\/script>",c=c.removeChild(c.firstChild);break;case"select":c=typeof a.is=="string"?h.createElement("select",{is:a.is}):h.createElement("select"),a.multiple?c.multiple=!0:a.size&&(c.size=a.size);break;default:c=typeof a.is=="string"?h.createElement(i,{is:a.is}):h.createElement(i)}}c[it]=t,c[Nt]=a;e:for(h=t.child;h!==null;){if(h.tag===5||h.tag===6)c.appendChild(h.stateNode);else if(h.tag!==4&&h.tag!==27&&h.child!==null){h.child.return=h,h=h.child;continue}if(h===t)break e;for(;h.sibling===null;){if(h.return===null||h.return===t)break e;h=h.return}h.sibling.return=h.return,h=h.sibling}t.stateNode=c;e:switch(ut(c,i,a),i){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&_l(t)}}return Be(t),Xc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,l),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&_l(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(u(166));if(e=fe.current,tn(t)){if(e=t.stateNode,l=t.memoizedProps,a=null,i=rt,i!==null)switch(i.tag){case 27:case 5:a=i.memoizedProps}e[it]=t,e=!!(e.nodeValue===l||a!==null&&a.suppressHydrationWarning===!0||Xm(e.nodeValue,l)),e||$l(t,!0)}else e=Ji(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=tn(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 Sa(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Be(t),e=!1}else l=tc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),e=!0;if(!e)return t.flags&256?(Dt(t),t):(Dt(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(i=tn(t),a!==null&&a.dehydrated!==null){if(e===null){if(!i)throw Error(u(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(u(317));i[it]=t}else Sa(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Be(t),i=!1}else i=tc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),i=!0;if(!i)return t.flags&256?(Dt(t),t):(Dt(t),null)}return Dt(t),(t.flags&128)!==0?(t.lanes=l,t):(l=a!==null,e=e!==null&&e.memoizedState!==null,l&&(a=t.child,i=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(i=a.alternate.memoizedState.cachePool.pool),c=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(c=a.memoizedState.cachePool.pool),c!==i&&(a.flags|=2048)),l!==e&&l&&(t.child.flags|=8192),Di(t,t.updateQueue),Be(t),null);case 4:return Ee(),e===null&&ho(t.stateNode.containerInfo),Be(t),null;case 10:return El(t.type),Be(t),null;case 19:if(B(Ke),a=t.memoizedState,a===null)return Be(t),null;if(i=(t.flags&128)!==0,c=a.rendering,c===null)if(i)fs(a,!1);else{if(Ve!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(c=ji(e),c!==null){for(t.flags|=128,fs(a,!1),e=c.updateQueue,t.updateQueue=e,Di(t,e),t.subtreeFlags=0,e=l,l=t.child;l!==null;)Sf(l,e),l=l.sibling;return K(Ke,Ke.current&1|2),be&&Sl(t,a.treeForkCount),t.child}e=e.sibling}a.tail!==null&&mt()>Bi&&(t.flags|=128,i=!0,fs(a,!1),t.lanes=4194304)}else{if(!i)if(e=ji(c),e!==null){if(t.flags|=128,i=!0,e=e.updateQueue,t.updateQueue=e,Di(t,e),fs(a,!0),a.tail===null&&a.tailMode==="hidden"&&!c.alternate&&!be)return Be(t),null}else 2*mt()-a.renderingStartTime>Bi&&l!==536870912&&(t.flags|=128,i=!0,fs(a,!1),t.lanes=4194304);a.isBackwards?(c.sibling=t.child,t.child=c):(e=a.last,e!==null?e.sibling=c:t.child=c,a.last=c)}return a.tail!==null?(e=a.tail,a.rendering=e,a.tail=e.sibling,a.renderingStartTime=mt(),e.sibling=null,l=Ke.current,K(Ke,i?l&1|2:l&1),be&&Sl(t,a.treeForkCount),e):(Be(t),null);case 22:case 23:return Dt(t),hc(),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&&Di(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&&B(za),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),El(Fe),Be(t),null;case 25:return null;case 30:return null}throw Error(u(156,t.tag))}function hx(e,t){switch(Pr(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return El(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 ke(t),null;case 31:if(t.memoizedState!==null){if(Dt(t),t.alternate===null)throw Error(u(340));Sa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Dt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(u(340));Sa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return B(Ke),null;case 4:return Ee(),null;case 10:return El(t.type),null;case 22:case 23:return Dt(t),hc(),e!==null&&B(za),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return El(Fe),null;case 25:return null;default:return null}}function Wd(e,t){switch(Pr(t),t.tag){case 3:El(Fe),Ee();break;case 26:case 27:case 5:ke(t);break;case 4:Ee();break;case 31:t.memoizedState!==null&&Dt(t);break;case 13:Dt(t);break;case 19:B(Ke);break;case 10:El(t.type);break;case 22:case 23:Dt(t),hc(),e!==null&&B(za);break;case 24:El(Fe)}}function ds(e,t){try{var l=t.updateQueue,a=l!==null?l.lastEffect:null;if(a!==null){var i=a.next;l=i;do{if((l.tag&e)===e){a=void 0;var c=l.create,h=l.inst;a=c(),h.destroy=a}l=l.next}while(l!==i)}}catch(v){Ce(t,t.return,v)}}function Wl(e,t,l){try{var a=t.updateQueue,i=a!==null?a.lastEffect:null;if(i!==null){var c=i.next;a=c;do{if((a.tag&e)===e){var h=a.inst,v=h.destroy;if(v!==void 0){h.destroy=void 0,i=t;var N=l,C=v;try{C()}catch(L){Ce(i,N,L)}}}a=a.next}while(a!==c)}}catch(L){Ce(t,t.return,L)}}function Fd(e){var t=e.updateQueue;if(t!==null){var l=e.stateNode;try{Yf(t,l)}catch(a){Ce(e,e.return,a)}}}function Id(e,t,l){l.props=ka(e.type,e.memoizedProps),l.state=e.memoizedState;try{l.componentWillUnmount()}catch(a){Ce(e,t,a)}}function ms(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(i){Ce(e,t,i)}}function ul(e,t){var l=e.ref,a=e.refCleanup;if(l!==null)if(typeof a=="function")try{a()}catch(i){Ce(e,t,i)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(i){Ce(e,t,i)}else l.current=null}function Pd(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(i){Ce(e,e.return,i)}}function Vc(e,t,l){try{var a=e.stateNode;Ux(a,e.type,l,t),a[Nt]=t}catch(i){Ce(e,e.return,i)}}function em(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&aa(e.type)||e.tag===4}function Zc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||em(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&&aa(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 Kc(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=yl));else if(a!==4&&(a===27&&aa(e.type)&&(l=e.stateNode,t=null),e=e.child,e!==null))for(Kc(e,t,l),e=e.sibling;e!==null;)Kc(e,t,l),e=e.sibling}function Ri(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&&aa(e.type)&&(l=e.stateNode),e=e.child,e!==null))for(Ri(e,t,l),e=e.sibling;e!==null;)Ri(e,t,l),e=e.sibling}function tm(e){var t=e.stateNode,l=e.memoizedProps;try{for(var a=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);ut(t,a,l),t[it]=e,t[Nt]=l}catch(c){Ce(e,e.return,c)}}var Cl=!1,et=!1,Jc=!1,lm=typeof WeakSet=="function"?WeakSet:Set,st=null;function px(e,t){if(e=e.containerInfo,xo=lr,e=hf(e),Gr(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 i=a.anchorOffset,c=a.focusNode;a=a.focusOffset;try{l.nodeType,c.nodeType}catch{l=null;break e}var h=0,v=-1,N=-1,C=0,L=0,q=e,M=null;t:for(;;){for(var D;q!==l||i!==0&&q.nodeType!==3||(v=h+i),q!==c||a!==0&&q.nodeType!==3||(N=h+a),q.nodeType===3&&(h+=q.nodeValue.length),(D=q.firstChild)!==null;)M=q,q=D;for(;;){if(q===e)break t;if(M===l&&++C===i&&(v=h),M===c&&++L===a&&(N=h),(D=q.nextSibling)!==null)break;q=M,M=q.parentNode}q=D}l=v===-1||N===-1?null:{start:v,end:N}}else l=null}l=l||{start:0,end:0}}else l=null;for(vo={focusedElem:e,selectionRange:l},lr=!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,c=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(c,a,l),c[it]=e,nt(c),a=c;break e;case"link":var h=ch("link","href",i).get(a+(l.href||""));if(h){for(var v=0;vRe&&(h=Re,Re=ie,ie=h);var A=df(v,ie),z=df(v,Re);if(A&&z&&(D.rangeCount!==1||D.anchorNode!==A.node||D.anchorOffset!==A.offset||D.focusNode!==z.node||D.focusOffset!==z.offset)){var _=q.createRange();_.setStart(A.node,A.offset),D.removeAllRanges(),ie>Re?(D.addRange(_),D.extend(z.node,z.offset)):(_.setEnd(z.node,z.offset),D.addRange(_))}}}}for(q=[],D=v;D=D.parentNode;)D.nodeType===1&&q.push({element:D,left:D.scrollLeft,top:D.scrollTop});for(typeof v.focus=="function"&&v.focus(),v=0;vl?32:l,O.T=null,l=lo,lo=null;var c=ea,h=Rl;if(lt=0,gn=ea=null,Rl=0,(ze&6)!==0)throw Error(u(331));var v=ze;if(ze|=4,mm(c.current),um(c,c.current,h,l),ze=v,bs(0,!1),xt&&typeof xt.onPostCommitFiberRoot=="function")try{xt.onPostCommitFiberRoot(sl,c)}catch{}return!0}finally{Q.p=i,O.T=a,km(e,t)}}function Om(e,t,l){t=Gt(l,t),t=Rc(e.stateNode,t,2),e=Zl(e,t,2),e!==null&&(Bn(e,2),fl(e))}function Ce(e,t,l){if(e.tag===3)Om(e,e,l);else for(;t!==null;){if(t.tag===3){Om(t,e,l);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Pl===null||!Pl.has(a))){e=Gt(l,e),l=Dd(2),a=Zl(t,l,2),a!==null&&(Rd(l,a,t,e),Bn(a,2),fl(a));break}}t=t.return}}function io(e,t,l){var a=e.pingCache;if(a===null){a=e.pingCache=new vx;var i=new Set;a.set(t,i)}else i=a.get(t),i===void 0&&(i=new Set,a.set(t,i));i.has(l)||(Ic=!0,i.add(l),e=Sx.bind(null,e,t,l),t.then(e,e))}function Sx(e,t,l){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,Ue===e&&(xe&l)===l&&(Ve===4||Ve===3&&(xe&62914560)===xe&&300>mt()-Hi?(ze&2)===0&&xn(e,0):Pc|=l,pn===xe&&(pn=0)),fl(e)}function Dm(e,t){t===0&&(t=Ws()),e=ja(e,t),e!==null&&(Bn(e,t),fl(e))}function wx(e){var t=e.memoizedState,l=0;t!==null&&(l=t.retryLane),Dm(e,l)}function Ex(e,t){var l=0;switch(e.tag){case 31:case 13:var a=e.stateNode,i=e.memoizedState;i!==null&&(l=i.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),Dm(e,l)}function zx(e,t){return Ft(e,t)}var Xi=null,bn=null,ro=!1,Vi=!1,co=!1,la=0;function fl(e){e!==bn&&e.next===null&&(bn===null?Xi=bn=e:bn=bn.next=e),Vi=!0,ro||(ro=!0,Ax())}function bs(e,t){if(!co&&Vi){co=!0;do for(var l=!1,a=Xi;a!==null;){if(e!==0){var i=a.pendingLanes;if(i===0)var c=0;else{var h=a.suspendedLanes,v=a.pingedLanes;c=(1<<31-vt(42|e)+1)-1,c&=i&~(h&~v),c=c&201326741?c&201326741|1:c?c|2:0}c!==0&&(l=!0,Hm(a,c))}else c=xe,c=Ha(a,a===Ue?c:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(c&3)===0||Hl(a,c)||(l=!0,Hm(a,c));a=a.next}while(l);co=!1}}function Tx(){Rm()}function Rm(){Vi=ro=!1;var e=0;la!==0&&Hx()&&(e=la);for(var t=mt(),l=null,a=Xi;a!==null;){var i=a.next,c=Um(a,t);c===0?(a.next=null,l===null?Xi=i:l.next=i,i===null&&(bn=l)):(l=a,(e!==0||(c&3)!==0)&&(Vi=!0)),a=i}lt!==0&<!==5||bs(e),la!==0&&(la=0)}function Um(e,t){for(var l=e.suspendedLanes,a=e.pingedLanes,i=e.expirationTimes,c=e.pendingLanes&-62914561;0v)break;var L=N.transferSize,q=N.initiatorType;L&&Vm(q)&&(N=N.responseEnd,h+=L*(N"u"?null:document;function nh(e,t,l){var a=yn;if(a&&typeof t=="string"&&t){var i=qt(t);i='link[rel="'+e+'"][href="'+i+'"]',typeof l=="string"&&(i+='[crossorigin="'+l+'"]'),ah.has(i)||(ah.add(i),e={rel:e,crossOrigin:l,href:t},a.querySelector(i)===null&&(t=a.createElement("link"),ut(t,"link",e),nt(t),a.head.appendChild(t)))}}function Zx(e){Ul.D(e),nh("dns-prefetch",e,null)}function Kx(e,t){Ul.C(e,t),nh("preconnect",e,t)}function Jx(e,t,l){Ul.L(e,t,l);var a=yn;if(a&&e&&t){var i='link[rel="preload"][as="'+qt(t)+'"]';t==="image"&&l&&l.imageSrcSet?(i+='[imagesrcset="'+qt(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(i+='[imagesizes="'+qt(l.imageSizes)+'"]')):i+='[href="'+qt(e)+'"]';var c=i;switch(t){case"style":c=jn(e);break;case"script":c=Nn(e)}Kt.has(c)||(e=b({rel:"preload",href:t==="image"&&l&&l.imageSrcSet?void 0:e,as:t},l),Kt.set(c,e),a.querySelector(i)!==null||t==="style"&&a.querySelector(Ss(c))||t==="script"&&a.querySelector(ws(c))||(t=a.createElement("link"),ut(t,"link",e),nt(t),a.head.appendChild(t)))}}function Wx(e,t){Ul.m(e,t);var l=yn;if(l&&e){var a=t&&typeof t.as=="string"?t.as:"script",i='link[rel="modulepreload"][as="'+qt(a)+'"][href="'+qt(e)+'"]',c=i;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c=Nn(e)}if(!Kt.has(c)&&(e=b({rel:"modulepreload",href:e},t),Kt.set(c,e),l.querySelector(i)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(ws(c)))return}a=l.createElement("link"),ut(a,"link",e),nt(a),l.head.appendChild(a)}}}function Fx(e,t,l){Ul.S(e,t,l);var a=yn;if(a&&e){var i=Ga(a).hoistableStyles,c=jn(e);t=t||"default";var h=i.get(c);if(!h){var v={loading:0,preload:null};if(h=a.querySelector(Ss(c)))v.loading=5;else{e=b({rel:"stylesheet",href:e,"data-precedence":t},l),(l=Kt.get(c))&&Eo(e,l);var N=h=a.createElement("link");nt(N),ut(N,"link",e),N._p=new Promise(function(C,L){N.onload=C,N.onerror=L}),N.addEventListener("load",function(){v.loading|=1}),N.addEventListener("error",function(){v.loading|=2}),v.loading|=4,Fi(h,t,a)}h={type:"stylesheet",instance:h,count:1,state:v},i.set(c,h)}}}function Ix(e,t){Ul.X(e,t);var l=yn;if(l&&e){var a=Ga(l).hoistableScripts,i=Nn(e),c=a.get(i);c||(c=l.querySelector(ws(i)),c||(e=b({src:e,async:!0},t),(t=Kt.get(i))&&zo(e,t),c=l.createElement("script"),nt(c),ut(c,"link",e),l.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},a.set(i,c))}}function Px(e,t){Ul.M(e,t);var l=yn;if(l&&e){var a=Ga(l).hoistableScripts,i=Nn(e),c=a.get(i);c||(c=l.querySelector(ws(i)),c||(e=b({src:e,async:!0,type:"module"},t),(t=Kt.get(i))&&zo(e,t),c=l.createElement("script"),nt(c),ut(c,"link",e),l.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},a.set(i,c))}}function sh(e,t,l,a){var i=(i=fe.current)?Wi(i):null;if(!i)throw Error(u(446));switch(e){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(t=jn(l.href),l=Ga(i).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=jn(l.href);var c=Ga(i).hoistableStyles,h=c.get(e);if(h||(i=i.ownerDocument||i,h={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(e,h),(c=i.querySelector(Ss(e)))&&!c._p&&(h.instance=c,h.state.loading=5),Kt.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},Kt.set(e,l),c||ev(i,e,l,h.state))),t&&a===null)throw Error(u(528,""));return h}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=Nn(l),l=Ga(i).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 jn(e){return'href="'+qt(e)+'"'}function Ss(e){return'link[rel="stylesheet"]['+e+"]"}function ih(e){return b({},e,{"data-precedence":e.precedence,precedence:null})}function ev(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 Nn(e){return'[src="'+qt(e)+'"]'}function ws(e){return"script[async]"+e}function rh(e,t,l){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+qt(l.href)+'"]');if(a)return t.instance=a,nt(a),a;var i=b({},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",i),Fi(a,l.precedence,e),t.instance=a;case"stylesheet":i=jn(l.href);var c=e.querySelector(Ss(i));if(c)return t.state.loading|=4,t.instance=c,nt(c),c;a=ih(l),(i=Kt.get(i))&&Eo(a,i),c=(e.ownerDocument||e).createElement("link"),nt(c);var h=c;return h._p=new Promise(function(v,N){h.onload=v,h.onerror=N}),ut(c,"link",a),t.state.loading|=4,Fi(c,l.precedence,e),t.instance=c;case"script":return c=Nn(l.src),(i=e.querySelector(ws(c)))?(t.instance=i,nt(i),i):(a=l,(i=Kt.get(c))&&(a=b({},l),zo(a,i)),e=e.ownerDocument||e,i=e.createElement("script"),nt(i),ut(i,"link",a),e.head.appendChild(i),t.instance=i);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,Fi(a,l.precedence,e));return t.instance}function Fi(e,t,l){for(var a=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),i=a.length?a[a.length-1]:null,c=i,h=0;h title"):null)}function tv(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 uh(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function lv(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 i=jn(a.href),c=t.querySelector(Ss(i));if(c){t=c._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Pi.bind(e),t.then(e,e)),l.state.loading|=4,l.instance=c,nt(c);return}c=t.ownerDocument||t,a=ih(a),(i=Kt.get(i))&&Eo(a,i),c=c.createElement("link"),nt(c);var h=c;h._p=new Promise(function(v,N){h.onload=v,h.onerror=N}),ut(c,"link",a),l.instance=c}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(l,t),(t=l.state.preload)&&(l.state.loading&3)===0&&(e.count++,l=Pi.bind(e),t.addEventListener("load",l),t.addEventListener("error",l))}}var To=0;function av(e,t){return e.stylesheets&&e.count===0&&tr(e,e.stylesheets),0To?50:800)+t);return e.unsuspend=l,function(){e.unsuspend=null,clearTimeout(a),clearTimeout(i)}}:null}function Pi(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)tr(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var er=null;function tr(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,er=new Map,t.forEach(nv,e),er=null,Pi.call(e))}function nv(e,t){if(!(t.state.loading&4)){var l=er.get(e);if(l)var a=l.get(null);else{l=new Map,er.set(e,l);for(var i=e.querySelectorAll("link[data-precedence],style[data-precedence]"),c=0;c"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(s)}catch(r){console.error(r)}}return s(),Uo.exports=Sv(),Uo.exports}var Jo=wv();/** * @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 Ev=s=>s.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),zv=s=>s.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,o,u)=>u?u.toUpperCase():o.toLowerCase()),Rh=s=>{const r=zv(s);return r.charAt(0).toUpperCase()+r.slice(1)},wp=(...s)=>s.filter((r,o,u)=>!!r&&r.trim()!==""&&u.indexOf(r)===o).join(" ").trim(),Tv=s=>{for(const r in s)if(r.startsWith("aria-")||r==="role"||r==="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 Av={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 _v=U.forwardRef(({color:s="currentColor",size:r=24,strokeWidth:o=2,absoluteStrokeWidth:u,className:f="",children:d,iconNode:m,...g},x)=>U.createElement("svg",{ref:x,...Av,width:r,height:r,stroke:s,strokeWidth:u?Number(o)*24/Number(r):o,className:wp("lucide",f),...!d&&!Tv(g)&&{"aria-hidden":"true"},...g},[...m.map(([p,y])=>U.createElement(p,y)),...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 Le=(s,r)=>{const o=U.forwardRef(({className:u,...f},d)=>U.createElement(_v,{ref:d,iconNode:r,className:wp(`lucide-${Ev(Rh(s))}`,`lucide-${s}`,u),...f}));return o.displayName=Rh(s),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 Cv=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],zn=Le("arrow-up-right",Cv);/** * @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 kv=[["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"}]],Mv=Le("bed-double",kv);/** * @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 Ov=[["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"}]],Dv=Le("calendar-check",Ov);/** * @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 Rv=[["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"}]],Uv=Le("calendar-days",Rv);/** * @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 Lv=[["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"}]],Hv=Le("car",Lv);/** * @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 Bv=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],nu=Le("check",Bv);/** * @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 qv=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],hr=Le("chevron-down",qv);/** * @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 Yv=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],da=Le("chevron-left",Yv);/** * @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 Gv=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],ma=Le("chevron-right",Gv);/** * @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 $v=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Qv=Le("clock",$v);/** * @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 Xv=[["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"}]],Vv=Le("copy",Xv);/** * @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 Zv=[["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"}]],Kv=Le("external-link",Zv);/** * @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 Jv=[["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"}]],Wv=Le("instagram",Jv);/** * @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 Fv=[["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"}]],Ep=Le("mail",Fv);/** * @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 Iv=[["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"}]],$s=Le("map-pin",Iv);/** * @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 Pv=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],zp=Le("menu",Pv);/** * @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:"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"}]],su=Le("message-circle",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 tb=[["path",{d:"M5 12h14",key:"1ays0h"}]],lb=Le("minus",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=[["polygon",{points:"3 11 22 2 13 21 11 13 3 11",key:"1ltx0t"}]],qo=Le("navigation",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 nb=[["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"}]],Ct=Le("phone",nb);/** * @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:"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"}]],ib=Le("play",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 rb=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],cb=Le("plus",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 ob=[["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"}]],ub=Le("rotate-ccw",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 fb=[["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"}]],db=Le("utensils",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 mb=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],iu=Le("x",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 hb=[["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"}]],pb=Le("youtube",hb),Tp=U.createContext(null);function gb({payload:s,children:r}){return n.jsx(Tp.Provider,{value:s,children:r})}function te(){const s=U.useContext(Tp);if(!s)throw new Error("SiteProvider ๋ฐ–์—์„œ useSite() ๋ฅผ ๋ถˆ๋ €์Šต๋‹ˆ๋‹ค. payload ์—†์ด๋Š” ๋ Œ๋”ํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค.");return s}function xb(){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 vb(){return n.jsx("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:n.jsx("path",{d:"M8 5v14l11-7z"})})}function bb(){return n.jsx("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:n.jsx("path",{d:"M7 5h3.4v14H7zm6.6 0H17v14h-3.4z"})})}function yb(){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 jb(){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 Uh(s){if(typeof s!="number"||!Number.isFinite(s))return"";const r=Math.floor(s/60),o=Math.floor(s%60);return`${r}:${o<10?"0":""}${o}`}function Nb(){const s=te(),r=(s.songs??[]).filter(G=>G.audioUrl),[o,u]=U.useState(0),[f,d]=U.useState(!1),[m,g]=U.useState(!1),[x,p]=U.useState({now:0,total:0}),[y,b]=U.useState({}),j=U.useRef(null),T=U.useRef(null),S=U.useRef(null),w=r.length;U.useEffect(()=>{w>1&&u(Math.floor(Math.random()*w))},[w]);const k=U.useCallback(()=>{var F;const G=document.querySelector("header"),J=G==null?void 0:G.getBoundingClientRect(),$={top:`${J?J.bottom+6:66}px`};if(window.innerWidth<=640)$.left="8px",$.right="8px";else{$.left="auto";const le=(F=T.current)==null?void 0:F.getBoundingClientRect();$.right=`${Math.max(12,window.innerWidth-((le==null?void 0:le.right)??0))}px`}b($)},[]);if(U.useEffect(()=>{if(!m)return;k();const G=()=>k(),J=$=>{var le,Z;const F=$.target;(le=S.current)!=null&&le.contains(F)||(Z=T.current)!=null&&Z.contains(F)||g(!1)};return window.addEventListener("resize",G),window.addEventListener("scroll",G,{passive:!0}),document.addEventListener("click",J),()=>{window.removeEventListener("resize",G),window.removeEventListener("scroll",G),document.removeEventListener("click",J)}},[m,k]),U.useEffect(()=>()=>{var G;return(G=j.current)==null?void 0:G.pause()},[]),r.length===0)return null;const R=r[o]??r[0],V=(G=o)=>{const J=j.current,$=r[G];!J||!$||(J.getAttribute("src")!==$.audioUrl&&(J.src=$.audioUrl),J.play().then(()=>d(!0),()=>d(!1)))},Y=()=>{var G;(G=j.current)==null||G.pause(),d(!1)},X=G=>{const J=(G%r.length+r.length)%r.length;u(J),p({now:0,total:0}),V(J)};return n.jsxs(n.Fragment,{children:[n.jsxs("span",{id:"w4d-mini",ref:T,"data-playing":f?"1":"0",children:[n.jsx("span",{id:"w4d-tape","aria-hidden":!0,title:`${s.place.name}์ด(๊ฐ€) ๋งŒ๋“  ๋…ธ๋ž˜`,children:n.jsx(xb,{})}),n.jsx("span",{id:"w4d-now","aria-live":"polite",children:R.title}),n.jsx("button",{type:"button",id:"w4d-play","data-playing":f?"1":"0",title:`${f?"๋ฉˆ์ถค":"์žฌ์ƒ"} ยท ${R.title}`,onClick:()=>f?Y():V(),children:f?n.jsx(bb,{}):n.jsx(vb,{})}),n.jsx("button",{type:"button",id:"w4d-toggle",title:"๋…ธ๋ž˜ ๋ชฉ๋ก","aria-expanded":m,onClick:()=>g(G=>!G),children:n.jsx(yb,{})})]}),n.jsx("audio",{ref:j,src:r[0].audioUrl,preload:"none",onTimeUpdate:G=>p({now:G.currentTarget.currentTime,total:G.currentTarget.duration}),onDurationChange:G=>p(J=>({...J,total:G.currentTarget.duration})),onEnded:()=>X(o+1),onError:()=>d(!1)}),n.jsxs("div",{id:"w4d-panel",ref:S,hidden:!m,style:y,children:[n.jsxs("div",{className:"w4d-head",children:[n.jsxs("span",{className:"w4d-head-t",children:[s.place.name,"์ด(๊ฐ€) ๋งŒ๋“  ๋…ธ๋ž˜"]}),n.jsxs("span",{className:"w4d-head-n",children:[r.length,"๊ณก"]}),n.jsx("button",{type:"button",id:"w4d-close",title:"๋‹ซ๊ธฐ","aria-label":"๋‹ซ๊ธฐ",onClick:()=>g(!1),children:n.jsx(jb,{})})]}),n.jsx("ol",{children:r.map((G,J)=>n.jsx("li",{children:n.jsxs("button",{type:"button",className:"w4d-item","aria-current":J===o,"data-playing":J===o&&f?"1":"0",onClick:()=>X(J),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:G.title}),n.jsx("span",{className:"w4d-sub",children:s.place.name})]}),n.jsx("span",{className:"w4d-time",children:J===o&&(f||x.now>0)?`${Uh(x.now)}${x.total?` / ${Uh(x.total)}`:""}`:""})]})},G.songId))}),n.jsx("div",{id:"w4d-lyrics-box",hidden:!R.lyrics,children:(R.lyrics??"").replace(/^\[.*\]$/gm,"").replace(/\n{3,}/g,` `).trim()})]})]})}const ua={LODGING:1,CAFE:2,RESTAURANT:3,CLINIC:4},Sb={OWNER:1,CRAWL:3,TEMPLATE:5},Lh={UNVERIFIED:1,VERIFIED:3,CORRECTED:4},wb=[Lh.VERIFIED,Lh.CORRECTED];function Ap(s){return wb.includes(s)}const yt={YANOLJA:1,GOODCHOICE:2,NAVER_PLACE:3,INSTAGRAM:4,OFFICIAL_SITE:5,BLOG:6,NAVER_BOOKING:7,ETC:99},F1={PUBLISHED:3};function Tn(s){return s.filter(r=>Ap(r.status)&&r.value!=null&&r.value!=="")}function _p(s){const r=new Map;for(const o of Tn(s))r.set(o.key,o);return r}function oa(s,r){const o=_p(s).get(r);return(o==null?void 0:o.value)??void 0}function _t(s,r){const o=_p(s).get(r);if(!(o!=null&&o.value))return;const u=o.type==="number"?Eb(o.value):o.value;return o.unit?`${u}${o.unit}`:u}function Eb(s){const r=Number(s.replace(/,/g,""));return Number.isFinite(r)?r.toLocaleString("ko-KR"):s}function ru(s){return s.type!=="bool"?s.label:s.label.replace(/\s*(๊ฐ€๋Šฅ|์—ฌ๋ถ€)$/,"")||s.label}function zb(s){return s.filter(r=>Ap(r.status)&&r.question&&r.answer).sort((r,o)=>r.sortOrder-o.sortOrder)}function cu(s){return s.map(r=>({...r,facts:Tn(r.facts)})).sort((r,o)=>r.sortOrder-o.sortOrder)}const Tb={songs:"title",daily:"title",course:"name",schedule:"name",people:"name",chronicle:"title",reading:"title",literature:"workTitle",postcard:"line",quiz:"question",planner:"name",itinerary:"name",video:"url",event:"title"};function Ab(s){const r=(s??"").trim();if(!r)return;const o=/(?:youtube\.com\/(?:watch\?(?:.*&)?v=|shorts\/|embed\/|live\/)|youtu\.be\/)([A-Za-z0-9_-]{6,20})/.exec(r);return o==null?void 0:o[1]}function _b(s){return/youtube\.com\/shorts\//.test((s??"").trim())}function Cb(s){return`https://i.ytimg.com/vi/${s}/hqdefault.jpg`}function kb(s){return`https://www.youtube-nocookie.com/embed/${s}?autoplay=1&rel=0&modestbranding=1`}const or={items:[],unverified:0,sourced:0};function Mb(s,r){var p,y;const o=b=>{const j=s.slice(0,Math.max(0,b)),T=j.split(` `).length,S=b-j.lastIndexOf(` `);return`${T}๋ฒˆ์งธ ์ค„ ${S}๋ฒˆ์งธ ๊ธ€์ž`},u=(p=/Unexpected token '(.)'/.exec(r))==null?void 0:p[1],f=u==="}"||u==="]"?"๋‹ซ๋Š” ๊ด„ํ˜ธ ๋ฐ”๋กœ ์•ž์— ์‰ผํ‘œ๊ฐ€ ํ•˜๋‚˜ ๋” ์žˆ๋Š”์ง€ ๋ณด์„ธ์š”.":"๊ทธ ์•ž์˜ ์‰ผํ‘œยท๋”ฐ์˜ดํ‘œยท๊ด„ํ˜ธ๋ฅผ ํ™•์ธํ•ด ์ฃผ์„ธ์š”.",d=/line (\d+) column (\d+)/.exec(r);if(d)return`${d[1]}๋ฒˆ์งธ ์ค„ ${d[2]}๋ฒˆ์งธ ๊ธ€์ž์—์„œ JSON ์ด ๋Š๊น๋‹ˆ๋‹ค. ${f}`;const m=/position (\d+)/.exec(r);if(m)return`${o(Number(m[1]))}์—์„œ JSON ์ด ๋Š๊น๋‹ˆ๋‹ค. ${f}`;const g=(y=/\.\.\."([\s\S]*?)" is not valid JSON/.exec(r))==null?void 0:y[1],x=g?s.indexOf(g):-1;return x>=0?`${o(x+g.length)} ๋ถ€๊ทผ์—์„œ JSON ์ด ๋Š๊น๋‹ˆ๋‹ค. ${f}`:"JSON ์ด ์•„๋‹™๋‹ˆ๋‹ค. ChatGPT ๊ฐ€ ์ค€ ๋‹ต์—์„œ { ๋กœ ์‹œ์ž‘ํ•ด } ๋กœ ๋๋‚˜๋Š” ๋ถ€๋ถ„๋งŒ ๋ถ™์—ฌ๋„ฃ์–ด ์ฃผ์„ธ์š”."}function Ob(s,r){const o=Tb[s],u=(r??"").trim();if(!o||!u)return or;let f;try{f=JSON.parse(u)}catch(b){return{...or,error:Mb(u,b instanceof Error?b.message:"")}}if(typeof f!="object"||f===null||Array.isArray(f))return{...or,error:"๋ฐ”๊นฅ์ด { } ๋กœ ๊ฐ์‹ธ์ธ JSON ์ด์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค."};const d=f,m=typeof d.kind=="string"?d.kind:void 0,g=d.items;if(!Array.isArray(g))return{...or,error:"items ๋ฐฐ์—ด์ด ์—†์Šต๋‹ˆ๋‹ค. ํ”„๋กฌํ”„ํŠธ๋กœ ๋‹ค์‹œ ๋งŒ๋“ค์–ด ์ฃผ์„ธ์š”."};const x=g.filter(b=>typeof b=="object"&&b!==null&&!Array.isArray(b)&&typeof b[o]=="string"&&b[o].trim().length>0);let p=0,y=0;for(const b of x){const j=b;j.verified!=="ํ™•์ธ"&&(p+=1),j.source&&typeof j.source=="object"&&(y+=1)}return{items:x,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:m&&m!==s?m:void 0,unverified:p,sourced:y}}const Db=1260,Rb=60,Ub="10:00",Hh=["๋ด„","์—ฌ๋ฆ„","๊ฐ€์„","๊ฒจ์šธ"];function Bh(s){const r=/^(\d{1,2}):(\d{2})$/.exec(s.trim());if(!r)return;const o=Number(r[1]),u=Number(r[2]);if(!(o>23||u>59))return o*60+u}function ur(s){const r=(s%1440+1440)%1440;return`${String(Math.floor(r/60)).padStart(2,"0")}:${String(r%60).padStart(2,"0")}`}function Lb(s){const r=Bh(s.startTime??"")??Bh(Ub)??600,o=[];let u=r,f=0;for(const d of s.stops??[]){const m=Math.max(0,d.moveMinutes??0),g=Math.max(1,d.minutes??Rb),x=u+m;if(x+g>Db){f+=1;continue}o.push({stop:d,time:ur(x),until:ur(x+g),move:m}),u=x+g}return{stops:o,from:ur(r),to:ur(u),totalMinutes:u-r,dropped:f}}function Hb(s=new Date){const r=s.getMonth()+1,o=Math.floor((r-3+12)%12/3),u=Hh[o];return r%3===0&&s.getDate()<=15?[Hh[(o+3)%4],u]:[u]}function qh(s){const r=parseInt(s.replace("#",""),16);return[r>>16&255,r>>8&255,r&255]}function Yh(s,r,o){if(!/^#[0-9a-fA-F]{6}$/.test(s)||!/^#[0-9a-fA-F]{6}$/.test(r))return s;const[u,f,d]=qh(s),[m,g,x]=qh(r),p=(b,j)=>Math.round(b+(j-b)*o),y=b=>b.toString(16).padStart(2,"0");return`#${y(p(u,m))}${y(p(f,g))}${y(p(d,x))}`}function Bb(s){return{surface:Yh(s.bg,s.text,.06),surfaceAlt:s.card,inverse:"#1c1917",border:Yh(s.bg,s.text,.2)}}const Cp={[ua.LODGING]:{type:"HotelRoom",path:"rooms",label:"๊ฐ์‹ค"},[ua.CAFE]:{type:"MenuItem",path:"menu",label:"๋ฉ”๋‰ด"},[ua.RESTAURANT]:{type:"MenuItem",path:"menu",label:"๋ฉ”๋‰ด"},[ua.CLINIC]:{type:"Product",path:"programs",label:"์‹œ์ˆ "}};function qb(s){return s.links.filter(r=>r.confirmed&&/^https?:\/\//i.test(r.url??""))}function kp(s){var r;for(const[o,u]of[["weekday_price","์ฃผ์ค‘ 1๋ฐ•"],["price","1๋ฐ•"],["weekend_price","์ฃผ๋ง 1๋ฐ•"],["peak_price","์„ฑ์ˆ˜๊ธฐ 1๋ฐ•"]]){const f=Number((r=oa(s.facts,o))==null?void 0:r.replace(/[^0-9]/g,""));if(Number.isFinite(f)&&f>0)return{price:f,label:u}}}const Gh=[yt.NAVER_BOOKING,yt.YANOLJA,yt.GOODCHOICE,yt.NAVER_PLACE];function ou(s){return Tn(s.facts).filter(r=>r.scope==="place").map(r=>({key:r.key,label:ru(r),value:uu(r,s.facts)})).filter(r=>r.value!=="")}function uu(s,r){var u;if(s.key==="intro"&&((u=s.summary)!=null&&u.trim()))return s.summary.trim();const o=_t(r,s.key);return o?s.type!=="bool"?o:/์—ฌ๋ถ€$/.test(s.label)?o==="true"?"์žˆ์Œ":o==="false"?"์—†์Œ":o:o==="true"?"๊ฐ€๋Šฅ":o==="false"?"๋ถˆ๊ฐ€":o:""}const Yb=new Set(["weekday_price","weekend_price","peak_price","price_range"]);function Gb(s){const r=new Set;return s.filter(o=>{const u=o.value.trim();return r.has(u)?!1:(r.add(u),!0)})}function hl(s){const r=Cp[s.place.category],o=new Map(s.media.map(u=>[u.mediaId,u]));return cu(s.units).map(u=>{const f=_t(u.facts,"room_intro")??_t(u.facts,"description"),d=s.place.category===ua.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(m=>{var p;const g=_t(u.facts,m),x=((p=u.facts.find(y=>y.key===m))==null?void 0:p.label)??m;return g?{label:x,value:g}:null}).filter(m=>m!==null),rows:Gb(u.facts.filter(m=>!Yb.has(m.key)).filter(m=>!d.includes(m.key)).filter(m=>m.key!=="room_intro"&&m.key!=="description").map(m=>({label:ru(m),value:uu(m,u.facts)})).filter(m=>m.value!==""&&m.value.trim()!==(f??"").trim())),images:u.mediaIds.map(m=>o.get(m)).filter(m=>{var g;return!!((g=m==null?void 0:m.alt)!=null&&g.trim())}),priceText:$b(u),prices:Xb(u),href:`/${r.path}/${u.slug}`}})}function $b(s){var d,m;const r=_t(s.facts,"price_range");if(r)return r;const o=Number((d=_t(s.facts,"weekday_price"))==null?void 0:d.replace(/[^0-9]/g,"")),u=Number((m=_t(s.facts,"price"))==null?void 0:m.replace(/[^0-9]/g,"")),f=Number.isFinite(o)&&o>0?o:u;if(!(!Number.isFinite(f)||f<=0))return`${f.toLocaleString("ko-KR")}์›๋ถ€ํ„ฐ`}const Qb=[["weekday_price","์ฃผ์ค‘"],["weekend_price","์ฃผ๋ง"],["peak_price","์„ฑ์ˆ˜๊ธฐ"]];function Xb(s){return _t(s.facts,"price_range")?[]:_t(s.facts,"weekday_price")?Qb.map(([r,o])=>({label:o,value:_t(s.facts,r)??"๋ฌธ์˜"})):[]}function Vb(s){const r=s??"";return/๋ˆˆ|์„ค/.test(r)?"๋ˆˆ":/๋น„|์šฐ|์†Œ๋‚˜๊ธฐ/.test(r)?"๋น„":/ํ๋ฆผ|๊ตฌ๋ฆ„|์•ˆ๊ฐœ|๋ฐ•๋ฌด/.test(r)?"ํ๋ฆผ":"๋ง‘์Œ"}function Zb(s){return s>=30?"ํ˜น์„œ":s>=25?"๋”์›€":s>=20?"์„ ์„ ":s>=10?"์Œ€์Œ€":"์ถ”์›€"}function fu(s){return s.media.filter(r=>{var o;return((o=r.alt)==null?void 0:o.trim())&&!r.unitId})}function Kb(s){return zb(s.faqs)}function Jb(s){return s.theme.sections.filter(r=>r.enabled)}function ll(s,r){var o;return((o=s.theme.sections.find(u=>u.id===r))==null?void 0:o.enabled)??!1}function Wb(s,r){var u;const o=(u=s.theme.sections.find(f=>f.id===r))==null?void 0:u.body;return(o==null?void 0:o.split(/\n\s*\n/).map(f=>f.trim()).filter(Boolean))??[]}function al(s,r){var d;const o=s.theme.sections.find(m=>m.id===r),u=Ob(r,o==null?void 0:o.data),f=(d=s.local.story)==null?void 0:d[r];return!Array.isArray(f)||f.length===0?u:{...u,items:[...u.items,...f]}}function dt(s){return Cp[s.place.category]}function qe(s,r,o){var f,d;const u=(d=(f=s.theme.sections.find(m=>m.id===r))==null?void 0:f.name)==null?void 0:d.trim();return u||o}function An(s,r){const o=new Map(Tn(s.facts).filter(u=>u.scope==="place").map(u=>[u.key,u]));return r.map(u=>o.get(u)).filter(u=>u!==void 0).map(u=>({label:ru(u),value:uu(u,s.facts)})).filter(u=>u.value!=="")}function Fb(s,r){return An(s,[r])[0]}const Ib=["reservation_required","reservation_channel"];function Pb(s){return An(s,Ib)}const e0=["seat_count","terrace","room_available","group_seat_max","power_outlet","study_allowed","wheelchair_accessible"];function t0(s){return An(s,e0)}const l0=["operating_hours","session_times","closed_days","age_limit","guide_language"];function a0(s){return An(s,l0)}const n0=["check_in_time","check_out_time","operating_hours","closed_days","parking","reservation_required"];function Ra(s){return An(s,n0).slice(0,4)}function _n(s){const r=hl(s).map(u=>u.priceText).filter(u=>!!u);if(r.length===0)return;const o=u=>Number(u.replace(/[^0-9]/g,""))||Number.MAX_SAFE_INTEGER;return r.reduce((u,f)=>o(f)o.confirmed&&r.includes(o.channel))}function Ze(s){const r=new Map(Gh.map((o,u)=>[o,u]));return Op(s,Gh).filter(o=>!i0(o.url)).sort((o,u)=>(r.get(o.channel)??99)-(r.get(u.channel)??99))}function i0(s){return/\/p\/search\/|[?&]query=/.test(s)}const r0=["check_in_time","check_out_time","cancel_policy","extra_person_fee","reception_hours","cooking_allowed","pet_allowed","smoking"];function c0(s){return cu(s.units).map(r=>{const o=_t(r.facts,"standard_capacity"),u=_t(r.facts,"max_capacity"),f=kp(r);return{unitId:r.unitId,name:r.name,capacityText:[o&&`๊ธฐ์ค€ ${o}`,u&&`์ตœ๋Œ€ ${u}`].filter(Boolean).join(" ยท ")||void 0,rateRows:["weekday_price","weekend_price","peak_price"].map(d=>{var x;const m=_t(r.facts,d),g=((x=r.facts.find(p=>p.key===d))==null?void 0:x.label)??d;return m?{label:g,value:m}:null}).filter(d=>d!==null),baseRateText:f?`${f.label} ${f.price.toLocaleString("ko-KR")}์›`:void 0,href:"#units"}})}function o0(s){if(s.place.category!==ua.LODGING)return null;const r={offers:c0(s).filter(u=>u.rateRows.length>0||u.capacityText!==void 0),notices:An(s,r0),links:Ze(s),contacts:Cn(s).filter(u=>!Ze(s).some(f=>f.url===u.url)),phone:s.place.phone};return r.offers.length===0&&r.links.length===0&&r.contacts.length===0&&!r.phone?null:r}function u0(s,r){return s.theme.sections.some(o=>o.id===r)}function Cn(s){return Op(s,s0)}function pt(s,r){const o=Ls(s),u=o.endsWith("์˜ˆ์•ฝ")?o:`${o} ์˜ˆ์•ฝ`;return r?`${r} ${u}`:u}function Dp(s){return s.channel===yt.NAVER_BOOKING?"๋„ค์ด๋ฒ„ ์˜ˆ์•ฝ์œผ๋กœ ๋ฐ”๋กœ ์˜ˆ์•ฝํ•˜๊ธฐ":`${pl(s)}์—์„œ ์˜ˆ์•ฝ`}function f0(){var u;const s=te(),r=dt(s),o=[{label:"์†Œ๊ฐœ",href:"#about",show:ll(s,"intro")},{label:r.label,href:"#units",show:s.units.length>0},{label:"์ด์šฉ ์ •๋ณด",href:"#info",show:!0},{label:"์ถ•์ œ",href:"#festival",show:(((u=s.local.festivals)==null?void 0:u.length)??0)>0},{label:"์ฃผ๋ณ€ ์ •๋ณด",href:"#guide",show:ll(s,"local")},{label:"์˜ค์‹œ๋Š” ๊ธธ",href:"#location",show:!0},{label:"FAQ",href:"#faq",show:s.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:s.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:s.place.name}),s.place.englishName&&n.jsx("span",{className:"text-muted truncate text-[length:var(--fs-xs)] uppercase leading-tight tracking-[0.14em]",children:s.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(Nb,{}),s.place.phone&&n.jsxs("a",{href:`tel:${s.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(Ct,{className:"size-4"}),n.jsx("span",{className:"hidden sm:inline",children:s.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(zp,{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))})})]})]})]})})}const d0=["์ž ์‹œ ๊ฑธ์Œ์„ ๋ฉˆ์ถ”๊ณ  ์˜จ์ „ํ•œ ์‰ผ์„ ๋งˆ์ฃผํ•˜๋Š” ์‹œ๊ฐ„","๋ฐ”์œ ์ผ์ƒ์„ ๋‚ด๋ ค๋†“๊ณ  ๋‚˜๋ฅผ ์œ„ํ•œ ์—ฌ์œ ๋ฅผ ๋‹ด์•„๊ฐ‘๋‹ˆ๋‹ค","์—ฌํ–‰์˜ ๊ธธ๋ชฉ์—์„œ ๋งŒ๋‚˜๋Š” ์กฐ์šฉํ•˜๊ณ  ํŽธ์•ˆํ•œ ๋จธ๋ฌด๋ฆ„","์•„๋ฌด๊ฒƒ๋„ ํ•˜์ง€ ์•Š์•„๋„ ํŽธ์•ˆํ•ด์ง€๋Š” ์˜ค๋Š˜์˜ ํœด์‹","๋‚ฏ์„  ๊ณณ์—์„œ ๋А๋ผ๋Š” ๋‹ค์ •ํ•œ ์˜จ๊ธฐ์™€ ์ž‘์€ ์‰ผํ‘œ","์ง€์นœ ํ•˜๋ฃจ์˜ ๋์— ์ฐพ์•„์˜ค๋Š” ๋‚˜๋งŒ์˜ ๋”ฐ๋œปํ•œ ์—ฌ๋ฐฑ","์ฒœ์ฒœํžˆ ํ˜๋Ÿฌ๊ฐ€๋Š” ์‹œ๊ฐ„ ์†์—์„œ ๋งˆ์ฃผํ•˜๋Š” ๊นŠ์€ ํœด์‹","์Šค์ณ ๊ฐ€๋Š” ์—ฌํ–‰ ์†์—์„œ ์˜ค๋ž˜ ๊ธฐ์–ต๋  ์•„๋Š‘ํ•œ ์ˆœ๊ฐ„","๋ณต์žกํ•œ ์ƒ๊ฐ์€ ์ž ์‹œ ์žŠ๊ณ  ํŽธ์•ˆํ•˜๊ฒŒ ์‰ฌ์–ด๊ฐ€์„ธ์š”","์ž‘์€ ์‰ผ์ด ๋ชจ์—ฌ ๋‚ด์ผ์„ ์‚ด์•„๊ฐˆ ๋”ฐ๋œปํ•œ ํž˜์ด ๋ฉ๋‹ˆ๋‹ค"];function ha({children:s}){var p;const{place:r,narrative:o}=te(),u=r.category===ua.LODGING,[f,d]=U.useState(0),m=(((p=o.catchphrases)==null?void 0:p.items)??[]).filter(y=>(y.kind??"general")==="general").map(y=>y.text.trim()).filter(Boolean),g=m.length>0?m:d0;if(U.useEffect(()=>{if(!u)return;const y=window.matchMedia("(prefers-reduced-motion: reduce)"),b=window.setInterval(()=>{!document.hidden&&!y.matches&&d(j=>(j+1)%g.length)},6e3);return()=>window.clearInterval(b)},[u,g.length]),!u)return s;const x=g[f%g.length];return n.jsxs("span",{className:"hero-catchphrase",children:[s&&n.jsx("span",{className:"hero-catchphrase-fixed",children:s}),n.jsx("span",{className:"w4d-line w4d-line--in",children:x.split(/\s+/).map((y,b)=>n.jsxs("span",{children:[b>0&&" ",n.jsx("span",{className:"w4d-w",children:n.jsx("span",{style:{"--w4d-d":`${b*55}ms`},children:y})})]},b))},f)]})}function pr(s){return s.media.find(r=>{var o;return r.isPrimary&&((o=r.alt)==null?void 0:o.trim())})??s.media.find(r=>{var o;return(o=r.alt)==null?void 0:o.trim()})}function m0(s){return h0(s).join(" ")}function h0(s){const{place:r,facts:o}=s,u=[],f=r.addressLocality??r.addressRegion??r.roadAddress??r.address;u.push(f?`${f}์— ์žˆ๋Š” ${r.name}์ž…๋‹ˆ๋‹ค.`:`${r.name}์ž…๋‹ˆ๋‹ค.`);const d=oa(o,"check_in_time"),m=oa(o,"check_out_time");d&&m&&u.push(`์ฒดํฌ์ธ ${d}, ์ฒดํฌ์•„์›ƒ ${m}.`);const g=oa(o,"business_hours")??oa(o,"open_hours");g&&u.push(`์˜์—…์‹œ๊ฐ„ ${g}.`);const x=oa(o,"pet_allowed");if(x==="false"&&u.push("๋ฐ˜๋ ค๋™๋ฌผ ๋™๋ฐ˜ ๋ถˆ๊ฐ€."),x==="true"&&u.push("๋ฐ˜๋ ค๋™๋ฌผ ๋™๋ฐ˜ ๊ฐ€๋Šฅ."),oa(o,"parking")==="true"){const y=oa(o,"parking_capacity");u.push(y?`์ฃผ์ฐจ ${y}๋Œ€ ๊ฐ€๋Šฅ.`:"์ฃผ์ฐจ ๊ฐ€๋Šฅ.")}return r.phone&&u.push(`๋ฌธ์˜ ${r.phone}.`),u}const p0=6e3,g0=5;function x0(){const s=te(),{place:r,narrative:o}=s,u=Ra(s),f=_n(s),d=Ze(s),m=r.addressLocality??r.addressRegion,g=[...s.media].filter(S=>{var w;return(w=S.alt)==null?void 0:w.trim()}).sort((S,w)=>Number(w.isPrimary)-Number(S.isPrimary)).slice(0,g0),[x,p]=U.useState(0),[y,b]=U.useState(!1),j=U.useRef(null),T=U.useCallback(S=>p(w=>(w+S+g.length)%g.length),[g.length]);return U.useEffect(()=>{if(y||g.length<2)return;const S=setInterval(()=>T(1),p0);return()=>clearInterval(S)},[y,T,g.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:()=>b(!0),onMouseLeave:()=>b(!1),onFocusCapture:()=>b(!0),onBlurCapture:()=>b(!1),onTouchStart:S=>{j.current=S.touches[0].clientX},onTouchEnd:S=>{const w=j.current;if(j.current=null,w===null)return;const k=S.changedTouches[0].clientX-w;Math.abs(k)>40&&T(k<0?1:-1)},children:[g.map((S,w)=>n.jsx("img",{src:S.url,alt:S.alt,fetchPriority:w===0?"high":"low",loading:w===0?void 0:"lazy",decoding:"async",className:"absolute inset-0 size-full object-cover object-center transition-opacity duration-700",style:{opacity:w===x?1:0}},S.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:[m&&n.jsx("p",{className:"label ",children:m}),n.jsx("h1",{className:"serif mt-2",style:{fontSize:"var(--fs-display)",fontWeight:"var(--tpl-heading-weight, 700)",lineHeight:1.15},children:r.name}),(o.tagline??o.heroSubline)&&n.jsx("p",{className:"measure mt-3 text-[length:var(--fs-lead)] leading-relaxed ",children:n.jsx(ha,{children:o.tagline??o.heroSubline})})]}),g.length>1&&n.jsxs(n.Fragment,{children:[n.jsx($h,{dir:"prev",onClick:()=>T(-1)}),n.jsx($h,{dir:"next",onClick:()=>T(1)}),n.jsx("ul",{className:"absolute inset-x-0 bottom-5 flex items-center justify-center gap-2",children:g.map((S,w)=>n.jsx("li",{children:n.jsx("button",{type:"button",onClick:()=>p(w),"aria-label":`${w+1}๋ฒˆ์งธ ์‚ฌ์ง„`,"aria-current":w===x,className:`h-1.5 rounded-full bg-current transition-all ${w===x?"w-7 opacity-90":"w-1.5 hover:opacity-95"}`})},S.mediaId))})]})]}),(f||u.length>0||d.length>0||r.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(S=>n.jsxs("div",{className:"px-5 text-center",children:[n.jsx("dt",{className:"label",children:S.label}),n.jsx("dd",{className:"text-[length:var(--fs-lead)] font-bold",children:S.value})]},S.label))]}),n.jsxs("div",{className:"flex shrink-0 gap-2",children:[r.phone&&n.jsxs("a",{href:`tel:${r.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(Ct,{className:"size-4"}),n.jsx("span",{children:r.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:pt(d[0])})]})]})})]})}function $h({dir:s,onClick:r}){const o=s==="prev"?da:ma;return n.jsx("button",{type:"button",onClick:r,"aria-label":s==="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 ${s==="prev"?"left-4":"right-4"}`,children:n.jsx(o,{className:"size-5"})})}function v0(){const s=te(),{place:r,narrative:o}=s,u=Ra(s).slice(0,3),f=_n(s),d=Ze(s),m=Fb(s,"extra_person_fee"),g=[...s.media].filter(p=>{var y;return(y=p.alt)==null?void 0:y.trim()}).sort((p,y)=>Number(y.isPrimary)-Number(p.isPrimary))[0],x=r.addressLocality??r.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:g&&n.jsx("img",{src:g.url,alt:g.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:[x&&n.jsx("p",{className:"label",children:x}),n.jsx("h1",{className:"serif mt-2",style:{fontSize:"var(--fs-display)",fontWeight:"var(--tpl-heading-weight, 700)",lineHeight:1.15},children:r.name}),n.jsx("p",{className:"measure mt-3 text-[length:var(--fs-lead)] leading-relaxed ",children:n.jsx(ha,{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(p=>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:p.label}),n.jsx("dd",{className:"font-semibold",children:p.value})]},p.label)),m&&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:m.label}),n.jsx("dd",{className:"font-semibold tabular-nums",children:m.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:pt(d[0])}),r.phone&&n.jsxs("a",{href:`tel:${r.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(Ct,{className:"size-4"}),n.jsx("span",{children:r.phone})]})]})]})]})]})})}const b0={"stay-reservation":"reservation","stay-oasi":"oasi","stay-studio":"studio","stay-pastel":"pastel","stay-editorial":"editorial"};function Rp(s){return b0[s??""]??"default"}function gr(){return Rp(te().theme.templateId)}const fr=5,Wo=1.8,y0=3;function j0(s){const r=s*fr,o=f=>`${(f/r*100).toFixed(3)}%`;return`${s<2?"":` .stay2-hero-slide { animation: stay2-hero-fade ${r}s ease-in-out infinite; } @keyframes stay2-hero-fade { 0% { opacity: 1; } ${o(fr)} { opacity: 1; } ${o(fr+Wo)} { opacity: 0; } ${o(r-Wo)} { 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 N0(s,r){return((r-s)%r*fr+Wo).toFixed(1)}function S0(){const s=te(),{place:r,narrative:o}=s,u=dt(s),f=Ze(s)[0],d=o.tagline??o.heroSubline,m=[...s.media].filter(p=>{var y;return(y=p.alt)==null?void 0:y.trim()}).sort((p,y)=>Number(y.isPrimary)-Number(p.isPrimary)),g=m.length<2?0:Math.min(m.length,y0),x=f?{href:f.url,label:`${Ls(f)}์—์„œ ์˜ˆ์•ฝ`,external:!0}:r.phone?{href:`tel:${r.phone}`,label:`${r.phone} ์˜ˆ์•ฝ ๋ฌธ์˜`,external:!1}:s.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:j0(g)}}),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:[m.map((p,y)=>n.jsx("img",{src:p.url,alt:p.alt,fetchPriority:y===0?"high":y0?m:ou(s).slice(0,4),x=(u==null?void 0:u.caption)??r.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:r.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:x})]}),(f||g.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})]}),g.map(p=>n.jsxs("div",{children:[n.jsx("dt",{className:"text-muted",children:p.label}),n.jsx("dd",{children:p.value})]},p.label))]}),d.length>0&&n.jsx("ul",{className:"mt-6 flex flex-wrap items-center gap-x-8",children:d.map(p=>n.jsx("li",{children:n.jsx("a",{href:p.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:pt(p)})},p.url))})]})}function E0(){const s=te(),r=fu(s),o=pr(s),u=o&&r.some(f=>f.mediaId===o.mediaId)?[o,...r.filter(f=>f.mediaId!==o.mediaId)]:r;return u.length===0?null:n.jsx("section",{id:"top","aria-label":`${s.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 z0(){const s=te(),{place:r,narrative:o}=s,u=Ra(s),f=_n(s),d=Ze(s),m=o.tagline??o.summary,g=r.addressLocality??r.addressRegion,x=[...s.media].filter(p=>{var y;return(y=p.alt)==null?void 0:y.trim()}).sort((p,y)=>Number(y.isPrimary)-Number(p.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:[g&&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:g}),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:r.name}),m&&n.jsx("p",{className:"measure mt-4 text-[length:var(--fs-lead)] font-medium leading-relaxed ",children:n.jsx(ha,{children:m})}),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:pt(d[0])})]}),n.jsxs("div",{className:"order-1 lg:order-2",children:[x[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:x[0].url,alt:x[0].alt,fetchPriority:"high",decoding:"async",className:"size-full object-cover"})}),x.length>1&&n.jsx("ul",{className:"mt-3 grid grid-cols-2 gap-3",children:x.slice(1).map(p=>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:p.url,alt:p.alt,loading:"lazy",decoding:"async",className:"size-full object-cover"})},p.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(p=>n.jsxs("div",{children:[n.jsx("dt",{className:"text-[length:var(--fs-xs)] font-extrabold",style:{color:"var(--tpl-bg, #fff)",opacity:.85},children:p.label}),n.jsx("dd",{className:"mt-1 font-extrabold",style:{fontSize:"var(--fs-h3)",color:"var(--tpl-bg, #fff)"},children:p.value})]},p.label))]})})]})}const Hs="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)",T0={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",reading:"reading",people:"people",quiz:"quiz",postcard:"postcard",video:"video",itinerary:"itinerary"},A0={about:"์†Œ๊ฐœ",info:"์ด์šฉ ์ •๋ณด",pricing:"์š”๊ธˆ",booking:"์˜ˆ์•ฝ ์•ˆ๋‚ด",space:"๊ณต๊ฐ„",inquiry:"๋ฌธ์˜",exhibition:"๊ด€๋žŒ ์•ˆ๋‚ด",gallery:"์‚ฌ์ง„",guide:"์ฃผ๋ณ€",weather:"๋‚ ์”จ",location:"์˜ค์‹œ๋Š” ๊ธธ",faq:"์ž์ฃผ ๋ฌป๋Š” ์งˆ๋ฌธ",songs:"๋…ธ๋ž˜",daily:"์ผ๋ ฅ",chronicle:"์—ฐํ‘œ",reading:"์ฝ๊ธฐ",people:"์ธ๋ฌผ",quiz:"ํ€ด์ฆˆ",postcard:"์—ฝ์„œ",video:"์˜์ƒ",itinerary:"์ผ์ •"};function Qh(s){return String(s).padStart(2,"0")}function Up(){var f;const s=te(),r=dt(s),o=new Set,u=[];for(const d of Jb(s)){const m=T0[d.id];if(!m||o.has(m)||m==="units"&&s.units.length===0)continue;o.add(m);const g=(f=d.name)==null?void 0:f.trim();u.push({no:Qh(u.length+1),label:g||A0[m]||r.label,anchor:m})}return o.has("location")||u.push({no:Qh(u.length+1),label:"์˜ค์‹œ๋Š” ๊ธธ",anchor:"location"}),u}function du({id:s,title:r,lead:o,aside:u}){var d;const f=(d=Up().find(m=>m.anchor===s))==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 "}),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:`${s}-heading`,className:"h2 relative pl-9 sm:pl-14 xl:pl-20",style:{fontWeight:800},children:r}),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 _0(){const s=te(),{place:r,narrative:o}=s,u=pr(s),f=dt(s),d=hl(s),m=Ra(s),g=_n(s),x=Ze(s)[0],p=Cn(s)[0],y=o.tagline??o.heroSubline,j=[r.addressSubLocality??r.addressLocality??r.addressRegion,d.length>0?`${f.label} ${d.length}๊ฐœ`:void 0,g].filter(T=>!!T);return n.jsx("section",{id:"top",className:"relative w-full",style:{backgroundImage:Hs},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:r.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:[y&&n.jsx("p",{className:"measure font-serif text-[length:var(--fs-lead)] leading-relaxed",children:n.jsx(ha,{children:y})}),j.length>0&&n.jsx("p",{className:"text-[length:var(--fs-sm)] font-semibold tabular-nums",children:j.join(" ยท ")}),(x||r.phone||p)&&n.jsxs("div",{className:"flex flex-wrap items-center gap-x-6 gap-y-1 text-[length:var(--fs-sm)] font-bold",children:[x&&n.jsx("a",{href:x.url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex items-center underline underline-offset-4",children:pt(x)}),r.phone&&n.jsx("a",{href:`tel:${r.phone}`,className:"tap inline-flex items-center underline underline-offset-4",children:r.phone}),p&&n.jsxs("a",{href:p.url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex items-center underline underline-offset-4",children:[pl(p)," ๋ฌธ์˜"]})]}),m.length>0&&n.jsx("dl",{className:"mt-1",children:m.map(T=>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:T.label}),n.jsx("dd",{className:"text-right font-semibold",children:T.value})]},T.label))})]})]})})}function C0(){var x;const s=te(),r=gr();if(r==="reservation")return n.jsx(S0,{});if(r==="oasi")return n.jsx(w0,{});if(r==="studio")return n.jsx(E0,{});if(r==="pastel")return n.jsx(z0,{});if(r==="editorial")return n.jsx(_0,{});const o=(x=s.theme.sections.find(p=>p.id==="hero"))==null?void 0:x.variantId;if(o==="hero.slideshow")return n.jsx(x0,{});if(o==="hero.split")return n.jsx(v0,{});const{place:u,narrative:f}=s,d=pr(s),m=dt(s);Ze(s);const g=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:[g&&n.jsxs("p",{className:"mb-3 inline-flex items-center gap-1 text-[length:var(--fs-xs)] ",children:[n.jsx($s,{className:"size-3.5"}),n.jsx("span",{children:g})]}),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 ",children:n.jsx(ha,{children:f.tagline??f.heroSubline??f.summary})}),s.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 transition-opacity hover:opacity-100",children:[n.jsxs("span",{children:[m.label," ๋ณด๊ธฐ"]}),n.jsx(hr,{className:"size-4"})]})]})]})})}function Lp(s){if(!s)return"";const r=new Date(s);return Number.isNaN(r.getTime())?"":`${r.getFullYear()}๋…„ ${r.getMonth()+1}์›” ${r.getDate()}์ผ`}function Qs(s){if(!s)return"";const r=new Date(s);return Number.isNaN(r.getTime())?"":r.toLocaleDateString("sv-SE",{timeZone:"Asia/Seoul"})}function k0(s){return`https://search.naver.com/search.naver?query=${encodeURIComponent(s)}`}function Xh(s){return`https://map.naver.com/p/search/${encodeURIComponent(s)}`}function M0(s){return`https://www.youtube.com/results?search_query=${encodeURIComponent(s)}`}function mu(s){return s.replace(/,/g," ").replace(/\s+/g," ").trim()}function O0(s,r,o){return r==null||o==null?`https://map.kakao.com/link/search/${encodeURIComponent(s)}`:`https://map.kakao.com/link/to/${encodeURIComponent(mu(s))},${r},${o}`}function D0(s,r){const o=u=>`${u.lng},${u.lat},${encodeURIComponent(mu(u.name))}`;return`https://map.naver.com/p/directions/${o(s)}/${o(r)}/-/car`}function Hp(s,r,o){return r==null||o==null?`https://map.naver.com/p/search/${encodeURIComponent(s)}`:`https://map.naver.com/p/directions/-/${o},${r},${encodeURIComponent(mu(s))}/-/transit`}function R0(s,r,o=16/9,u=.0022){const f=Math.max(Math.cos(s*Math.PI/180),.01),d=o*u/f;return`https://www.openstreetmap.org/export/embed.html?bbox=${[r-d,s-u,r+d,s+u].map(g=>g.toFixed(6)).join(",")}&layer=mapnik&marker=${s},${r}`}function U0(s,r,o){if(r==null||o==null)return;const u=encodeURIComponent(s);return`tmap://route?goalname=${u}&goalx=${o}&goaly=${r}&rGoName=${u}&rGoX=${o}&rGoY=${r}`}function hu({id:s,title:r,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:`${s}-heading`,className:"serif max-w-full",style:{fontSize:"var(--fs-h2)",fontWeight:300,letterSpacing:"0.04em",lineHeight:1.35},children:r}),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 pu({id:s,title:r,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:`${s}-heading`,className:"text-[length:var(--fs-sm)] font-normal tracking-[0.08em]",children:["[",r,"]"]}),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 gu({id:s,title:r,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:`${s}-heading`,className:"serif min-w-0 font-extrabold",style:{fontSize:"var(--fs-h2)",letterSpacing:"0.01em",lineHeight:1.2,color:"var(--tpl-text)"},children:r}),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 xu({id:s,title:r,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:`${s}-heading`,className:"h2 break-keep",style:{fontSize:"calc(var(--fs-h2) * 1.15)",fontWeight:800},children:r}),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 L0={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 gt({id:s,title:r,lead:o,tone:u="base",aside:f,footnote:d,children:m,wide:g,bare:x}){const p=gr(),y=p==="reservation"?hu:p==="oasi"?pu:p==="studio"?gu:p==="pastel"?xu:p==="editorial"?du:H0;return n.jsx("section",{id:s,"aria-labelledby":`${s}-heading`,className:"border-line paper w-full border-b",style:{...L0[u],paddingBlock:"var(--section-space)"},children:n.jsxs("div",{className:g?"w-full":"shell",children:[!x&&n.jsx("div",{className:g?"shell":void 0,children:n.jsx(y,{id:s,title:r,lead:o,aside:f})}),m,d&&n.jsx("p",{className:`text-muted mt-5 text-[length:var(--fs-xs)] ${g?"shell":""}`,children:d})]})})}function H0({id:s,title:r,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:`${s}-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:r})]}),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 B0(s){return Object.prototype.toString.call(s)==="[object Object]"}function Vh(s){return B0(s)||Array.isArray(s)}function q0(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function vu(s,r){const o=Object.keys(s),u=Object.keys(r);if(o.length!==u.length)return!1;const f=JSON.stringify(Object.keys(s.breakpoints||{})),d=JSON.stringify(Object.keys(r.breakpoints||{}));return f!==d?!1:o.every(m=>{const g=s[m],x=r[m];return typeof g=="function"?`${g}`==`${x}`:!Vh(g)||!Vh(x)?g===x:vu(g,x)})}function Zh(s){return s.concat().sort((r,o)=>r.name>o.name?1:-1).map(r=>r.options)}function Y0(s,r){if(s.length!==r.length)return!1;const o=Zh(s),u=Zh(r);return o.every((f,d)=>{const m=u[d];return vu(f,m)})}function bu(s){return typeof s=="number"}function Fo(s){return typeof s=="string"}function xr(s){return typeof s=="boolean"}function Kh(s){return Object.prototype.toString.call(s)==="[object Object]"}function $e(s){return Math.abs(s)}function yu(s){return Math.sign(s)}function Ds(s,r){return $e(s-r)}function G0(s,r){if(s===0||r===0||$e(s)<=$e(r))return 0;const o=Ds($e(s),$e(r));return $e(o/s)}function $0(s){return Math.round(s*100)/100}function Bs(s){return qs(s).map(Number)}function tl(s){return s[Xs(s)]}function Xs(s){return Math.max(0,s.length-1)}function ju(s,r){return r===Xs(s)}function Jh(s,r=0){return Array.from(Array(s),(o,u)=>r+u)}function qs(s){return Object.keys(s)}function Bp(s,r){return[s,r].reduce((o,u)=>(qs(u).forEach(f=>{const d=o[f],m=u[f],g=Kh(d)&&Kh(m);o[f]=g?Bp(d,m):m}),o),{})}function Io(s,r){return typeof r.MouseEvent<"u"&&s instanceof r.MouseEvent}function Q0(s,r){const o={start:u,center:f,end:d};function u(){return 0}function f(x){return d(x)/2}function d(x){return r-x}function m(x,p){return Fo(s)?o[s](x):s(r,x,p)}return{measure:m}}function Ys(){let s=[];function r(f,d,m,g={passive:!0}){let x;if("addEventListener"in f)f.addEventListener(d,m,g),x=()=>f.removeEventListener(d,m,g);else{const p=f;p.addListener(m),x=()=>p.removeListener(m)}return s.push(x),u}function o(){s=s.filter(f=>f())}const u={add:r,clear:o};return u}function X0(s,r,o,u){const f=Ys(),d=1e3/60;let m=null,g=0,x=0;function p(){f.add(s,"visibilitychange",()=>{s.hidden&&S()})}function y(){T(),f.clear()}function b(k){if(!x)return;m||(m=k,o(),o());const R=k-m;for(m=k,g+=R;g>=d;)o(),g-=d;const V=g/d;u(V),x&&(x=r.requestAnimationFrame(b))}function j(){x||(x=r.requestAnimationFrame(b))}function T(){r.cancelAnimationFrame(x),m=null,g=0,x=0}function S(){m=null,g=0}return{init:p,destroy:y,start:j,stop:T,update:o,render:u}}function V0(s,r){const o=r==="rtl",u=s==="y",f=u?"y":"x",d=u?"x":"y",m=!u&&o?-1:1,g=y(),x=b();function p(S){const{height:w,width:k}=S;return u?w:k}function y(){return u?"top":o?"right":"left"}function b(){return u?"bottom":o?"left":"right"}function j(S){return S*m}return{scroll:f,cross:d,startEdge:g,endEdge:x,measureSize:p,direction:j}}function Da(s=0,r=0){const o=$e(s-r);function u(p){return pr}function d(p){return u(p)||f(p)}function m(p){return d(p)?u(p)?s:r:p}function g(p){return o?p-o*Math.ceil((p-r)/o):p}return{length:o,max:r,min:s,constrain:m,reachedAny:d,reachedMax:f,reachedMin:u,removeOffset:g}}function qp(s,r,o){const{constrain:u}=Da(0,s),f=s+1;let d=m(r);function m(j){return o?$e((f+j)%f):u(j)}function g(){return d}function x(j){return d=m(j),b}function p(j){return y().set(g()+j)}function y(){return qp(s,g(),o)}const b={get:g,set:x,add:p,clone:y};return b}function Z0(s,r,o,u,f,d,m,g,x,p,y,b,j,T,S,w,k,R,V){const{cross:Y,direction:X}=s,G=["INPUT","SELECT","TEXTAREA"],J={passive:!1},$=Ys(),F=Ys(),le=Da(50,225).constrain(T.measure(20)),Z={mouse:300,touch:400},ne={mouse:500,touch:600},ye=S?43:25;let Ge=!1,Qe=0,re=0,O=!1,Q=!1,ae=!1,he=!1;function je(ee){if(!V)return;function Ae(tt){(xr(V)||V(ee,tt))&&fe(tt)}const Me=r;$.add(Me,"dragstart",tt=>tt.preventDefault(),J).add(Me,"touchmove",()=>{},J).add(Me,"touchend",()=>{}).add(Me,"touchstart",Ae).add(Me,"mousedown",Ae).add(Me,"touchcancel",we).add(Me,"contextmenu",we).add(Me,"click",Ee,!0)}function E(){$.clear(),F.clear()}function B(){const ee=he?o:r;F.add(ee,"touchmove",oe,J).add(ee,"touchend",we).add(ee,"mousemove",oe,J).add(ee,"mouseup",we)}function K(ee){const Ae=ee.nodeName||"";return G.includes(Ae)}function W(){return(S?ne:Z)[he?"mouse":"touch"]}function ce(ee,Ae){const Me=b.add(yu(ee)*-1),tt=y.byDistance(ee,!S).distance;return S||$e(ee)=2,!(Ae&&ee.button!==0)&&(K(ee.target)||(O=!0,d.pointerDown(ee),p.useFriction(0).useDuration(0),f.set(m),B(),Qe=d.readPoint(ee),re=d.readPoint(ee,Y),j.emit("pointerDown")))}function oe(ee){if(!Io(ee,u)&&ee.touches.length>=2)return we(ee);const Me=d.readPoint(ee),tt=d.readPoint(ee,Y),jt=Ds(Me,Qe),Wt=Ds(tt,re);if(!Q&&!he&&(!ee.cancelable||(Q=jt>Wt,!Q)))return we(ee);const nl=d.pointerMove(ee);jt>w&&(ae=!0),p.useFriction(.3).useDuration(.75),g.start(),f.add(X(nl)),ee.preventDefault()}function we(ee){const Me=y.byDistance(0,!1).index!==b.get(),tt=d.pointerUp(ee)*W(),jt=ce(X(tt),Me),Wt=G0(tt,jt),nl=ye-10*Wt,Ht=R+Wt/50;Q=!1,O=!1,F.clear(),p.useDuration(nl).useFriction(Ht),x.distance(jt,!S),he=!1,j.emit("pointerUp")}function Ee(ee){ae&&(ee.stopPropagation(),ee.preventDefault(),ae=!1)}function at(){return O}return{init:je,destroy:E,pointerDown:at}}function K0(s,r){let u,f;function d(b){return b.timeStamp}function m(b,j){const S=`client${(j||s.scroll)==="x"?"X":"Y"}`;return(Io(b,r)?b:b.touches[0])[S]}function g(b){return u=b,f=b,m(b)}function x(b){const j=m(b)-m(f),T=d(b)-d(u)>170;return f=b,T&&(u=b),j}function p(b){if(!u||!f)return 0;const j=m(f)-m(u),T=d(b)-d(u),S=d(b)-d(f)>170,w=j/T;return T&&!S&&$e(w)>.1?w:0}return{pointerDown:g,pointerMove:x,pointerUp:p,readPoint:m}}function J0(){function s(o){const{offsetTop:u,offsetLeft:f,offsetWidth:d,offsetHeight:m}=o;return{top:u,right:f+d,bottom:u+m,left:f,width:d,height:m}}return{measure:s}}function W0(s){function r(u){return s*(u/100)}return{measure:r}}function F0(s,r,o,u,f,d,m){const g=[s].concat(u);let x,p,y=[],b=!1;function j(k){return f.measureSize(m.measure(k))}function T(k){if(!d)return;p=j(s),y=u.map(j);function R(V){for(const Y of V){if(b)return;const X=Y.target===s,G=u.indexOf(Y.target),J=X?p:y[G],$=j(X?s:u[G]);if($e($-J)>=.5){k.reInit(),r.emit("resize");break}}}x=new ResizeObserver(V=>{(xr(d)||d(k,V))&&R(V)}),o.requestAnimationFrame(()=>{g.forEach(V=>x.observe(V))})}function S(){b=!0,x&&x.disconnect()}return{init:T,destroy:S}}function I0(s,r,o,u,f,d){let m=0,g=0,x=f,p=d,y=s.get(),b=0;function j(){const J=u.get()-s.get(),$=!x;let F=0;return $?(m=0,o.set(u),s.set(u),F=J):(o.set(s),m+=J/x,m*=p,y+=m,s.add(m),F=y-b),g=yu(F),b=y,G}function T(){const J=u.get()-r.get();return $e(J)<.001}function S(){return x}function w(){return g}function k(){return m}function R(){return Y(f)}function V(){return X(d)}function Y(J){return x=J,G}function X(J){return p=J,G}const G={direction:w,duration:S,velocity:k,seek:j,settled:T,useBaseFriction:V,useBaseDuration:R,useFriction:X,useDuration:Y};return G}function P0(s,r,o,u,f){const d=f.measure(10),m=f.measure(50),g=Da(.1,.99);let x=!1;function p(){return!(x||!s.reachedAny(o.get())||!s.reachedAny(r.get()))}function y(T){if(!p())return;const S=s.reachedMin(r.get())?"min":"max",w=$e(s[S]-r.get()),k=o.get()-r.get(),R=g.constrain(w/m);o.subtract(k*R),!T&&$e(k){const{min:k,max:R}=d,V=d.constrain(S),Y=!w,X=ju(o,w);return Y?R:X||p(k,V)?k:p(R,V)?R:V}).map(S=>parseFloat(S.toFixed(3)))}function j(){if(r<=s+f)return[d.max];if(u==="keepSnaps")return m;const{min:S,max:w}=g;return m.slice(S,w)}return{snapsContained:x,scrollContainLimit:g}}function ty(s,r,o){const u=r[0],f=o?u-s:tl(r);return{limit:Da(f,u)}}function ly(s,r,o,u){const d=r.min+.1,m=r.max+.1,{reachedMin:g,reachedMax:x}=Da(d,m);function p(j){return j===1?x(o.get()):j===-1?g(o.get()):!1}function y(j){if(!p(j))return;const T=s*(j*-1);u.forEach(S=>S.add(T))}return{loop:y}}function ay(s){const{max:r,length:o}=s;function u(d){const m=d-r;return o?m/-o:0}return{get:u}}function ny(s,r,o,u,f){const{startEdge:d,endEdge:m}=s,{groupSlides:g}=f,x=b().map(r.measure),p=j(),y=T();function b(){return g(u).map(w=>tl(w)[m]-w[0][d]).map($e)}function j(){return u.map(w=>o[d]-w[d]).map(w=>-$e(w))}function T(){return g(p).map(w=>w[0]).map((w,k)=>w+x[k])}return{snaps:p,snapsAligned:y}}function sy(s,r,o,u,f,d){const{groupSlides:m}=f,{min:g,max:x}=u,p=y();function y(){const j=m(d),T=!s||r==="keepSnaps";return o.length===1?[d]:T?j:j.slice(g,x).map((S,w,k)=>{const R=!w,V=ju(k,w);if(R){const Y=tl(k[0])+1;return Jh(Y)}if(V){const Y=Xs(d)-tl(k)[0]+1;return Jh(Y,tl(k)[0])}return S})}return{slideRegistry:p}}function iy(s,r,o,u,f){const{reachedAny:d,removeOffset:m,constrain:g}=u;function x(S){return S.concat().sort((w,k)=>$e(w)-$e(k))[0]}function p(S){const w=s?m(S):g(S),k=r.map((V,Y)=>({diff:y(V-w,0),index:Y})).sort((V,Y)=>$e(V.diff)-$e(Y.diff)),{index:R}=k[0];return{index:R,distance:w}}function y(S,w){const k=[S,S+o,S-o];if(!s)return S;if(!w)return x(k);const R=k.filter(V=>yu(V)===w);return R.length?x(R):tl(k)-o}function b(S,w){const k=r[S]-f.get(),R=y(k,w);return{index:S,distance:R}}function j(S,w){const k=f.get()+S,{index:R,distance:V}=p(k),Y=!s&&d(k);if(!w||Y)return{index:R,distance:S};const X=r[R]-V,G=S+y(X,0);return{index:R,distance:G}}return{byDistance:j,byIndex:b,shortcut:y}}function ry(s,r,o,u,f,d,m){function g(b){const j=b.distance,T=b.index!==r.get();d.add(j),j&&(u.duration()?s.start():(s.update(),s.render(1),s.update())),T&&(o.set(r.get()),r.set(b.index),m.emit("select"))}function x(b,j){const T=f.byDistance(b,j);g(T)}function p(b,j){const T=r.clone().set(b),S=f.byIndex(T.get(),j);g(S)}return{distance:x,index:p}}function cy(s,r,o,u,f,d,m,g){const x={passive:!0,capture:!0};let p=0;function y(T){if(!g)return;function S(w){if(new Date().getTime()-p>10)return;m.emit("slideFocusStart"),s.scrollLeft=0;const V=o.findIndex(Y=>Y.includes(w));bu(V)&&(f.useDuration(0),u.index(V,0),m.emit("slideFocus"))}d.add(document,"keydown",b,!1),r.forEach((w,k)=>{d.add(w,"focus",R=>{(xr(g)||g(T,R))&&S(k)},x)})}function b(T){T.code==="Tab"&&(p=new Date().getTime())}return{init:y}}function ks(s){let r=s;function o(){return r}function u(x){r=m(x)}function f(x){r+=m(x)}function d(x){r-=m(x)}function m(x){return bu(x)?x:x.get()}return{get:o,set:u,add:f,subtract:d}}function Yp(s,r){const o=s.scroll==="x"?m:g,u=r.style;let f=null,d=!1;function m(j){return`translate3d(${j}px,0px,0px)`}function g(j){return`translate3d(0px,${j}px,0px)`}function x(j){if(d)return;const T=$0(s.direction(j));T!==f&&(u.transform=o(T),f=T)}function p(j){d=!j}function y(){d||(u.transform="",r.getAttribute("style")||r.removeAttribute("style"))}return{clear:y,to:x,toggleActive:p}}function oy(s,r,o,u,f,d,m,g,x){const y=Bs(f),b=Bs(f).reverse(),j=R().concat(V());function T($,F){return $.reduce((le,Z)=>le-f[Z],F)}function S($,F){return $.reduce((le,Z)=>T(le,F)>0?le.concat([Z]):le,[])}function w($){return d.map((F,le)=>({start:F-u[le]+.5+$,end:F+r-.5+$}))}function k($,F,le){const Z=w(F);return $.map(ne=>{const ye=le?0:-o,Ge=le?o:0,Qe=le?"end":"start",re=Z[ne][Qe];return{index:ne,loopPoint:re,slideLocation:ks(-1),translate:Yp(s,x[ne]),target:()=>g.get()>re?ye:Ge}})}function R(){const $=m[0],F=S(b,$);return k(F,o,!1)}function V(){const $=r-m[0]-1,F=S(y,$);return k(F,-o,!0)}function Y(){return j.every(({index:$})=>{const F=y.filter(le=>le!==$);return T(F,r)<=.1})}function X(){j.forEach($=>{const{target:F,translate:le,slideLocation:Z}=$,ne=F();ne!==Z.get()&&(le.to(ne),Z.set(ne))})}function G(){j.forEach($=>$.translate.clear())}return{canLoop:Y,clear:G,loop:X,loopPoints:j}}function uy(s,r,o){let u,f=!1;function d(x){if(!o)return;function p(y){for(const b of y)if(b.type==="childList"){x.reInit(),r.emit("slidesChanged");break}}u=new MutationObserver(y=>{f||(xr(o)||o(x,y))&&p(y)}),u.observe(s,{childList:!0})}function m(){u&&u.disconnect(),f=!0}return{init:d,destroy:m}}function fy(s,r,o,u){const f={};let d=null,m=null,g,x=!1;function p(){g=new IntersectionObserver(S=>{x||(S.forEach(w=>{const k=r.indexOf(w.target);f[k]=w}),d=null,m=null,o.emit("slidesInView"))},{root:s.parentElement,threshold:u}),r.forEach(S=>g.observe(S))}function y(){g&&g.disconnect(),x=!0}function b(S){return qs(f).reduce((w,k)=>{const R=parseInt(k),{isIntersecting:V}=f[R];return(S&&V||!S&&!V)&&w.push(R),w},[])}function j(S=!0){if(S&&d)return d;if(!S&&m)return m;const w=b(S);return S&&(d=w),S||(m=w),w}return{init:p,destroy:y,get:j}}function dy(s,r,o,u,f,d){const{measureSize:m,startEdge:g,endEdge:x}=s,p=o[0]&&f,y=S(),b=w(),j=o.map(m),T=k();function S(){if(!p)return 0;const V=o[0];return $e(r[g]-V[g])}function w(){if(!p)return 0;const V=d.getComputedStyle(tl(u));return parseFloat(V.getPropertyValue(`margin-${x}`))}function k(){return o.map((V,Y,X)=>{const G=!Y,J=ju(X,Y);return G?j[Y]+y:J?j[Y]+b:X[Y+1][g]-V[g]}).map($e)}return{slideSizes:j,slideSizesWithGaps:T,startGap:y,endGap:b}}function my(s,r,o,u,f,d,m,g,x){const{startEdge:p,endEdge:y,direction:b}=s,j=bu(o);function T(R,V){return Bs(R).filter(Y=>Y%V===0).map(Y=>R.slice(Y,Y+V))}function S(R){return R.length?Bs(R).reduce((V,Y,X)=>{const G=tl(V)||0,J=G===0,$=Y===Xs(R),F=f[p]-d[G][p],le=f[p]-d[Y][y],Z=!u&&J?b(m):0,ne=!u&&$?b(g):0,ye=$e(le-ne-(F+Z));return X&&ye>r+x&&V.push(Y),$&&V.push(R.length),V},[]).map((V,Y,X)=>{const G=Math.max(X[Y-1]||0);return R.slice(G,V)}):[]}function w(R){return j?T(R,o):S(R)}return{groupSlides:w}}function hy(s,r,o,u,f,d,m){const{align:g,axis:x,direction:p,startIndex:y,loop:b,duration:j,dragFree:T,dragThreshold:S,inViewThreshold:w,slidesToScroll:k,skipSnaps:R,containScroll:V,watchResize:Y,watchSlides:X,watchDrag:G,watchFocus:J}=d,$=2,F=J0(),le=F.measure(r),Z=o.map(F.measure),ne=V0(x,p),ye=ne.measureSize(le),Ge=W0(ye),Qe=Q0(g,ye),re=!b&&!!V,O=b||!!V,{slideSizes:Q,slideSizesWithGaps:ae,startGap:he,endGap:je}=dy(ne,le,Z,o,O,f),E=my(ne,ye,k,b,le,Z,he,je,$),{snaps:B,snapsAligned:K}=ny(ne,Qe,le,Z,E),W=-tl(B)+tl(ae),{snapsContained:ce,scrollContainLimit:fe}=ey(ye,W,K,V,$),oe=re?ce:K,{limit:we}=ty(W,oe,b),Ee=qp(Xs(oe),y,b),at=Ee.clone(),ke=Bs(o),ee=({dragHandler:vl,scrollBody:Ln,scrollBounds:Hn,options:{loop:sl}})=>{sl||Hn.constrain(vl.pointerDown()),Ln.seek()},Ae=({scrollBody:vl,translate:Ln,location:Hn,offsetLocation:sl,previousLocation:xt,scrollLooper:il,slideLooper:vt,dragHandler:br,animation:yr,eventHandler:Ks,scrollBounds:La,options:{loop:pa}},ga)=>{const rl=vl.settled(),Ha=!La.shouldConstrain(),Hl=pa?rl:rl&&Ha,Js=Hl&&!br.pointerDown();Js&&yr.stop();const Ws=Hn.get()*ga+xt.get()*(1-ga);sl.set(Ws),pa&&(il.loop(vl.direction()),vt.loop()),Ln.to(sl.get()),Js&&Ks.emit("settle"),Hl||Ks.emit("scroll")},Me=X0(u,f,()=>ee(Un),vl=>Ae(Un,vl)),tt=.68,jt=oe[Ee.get()],Wt=ks(jt),nl=ks(jt),Ht=ks(jt),Ft=ks(jt),xl=I0(Wt,Ht,nl,Ft,j,tt),On=iy(b,oe,W,we,Ft),Dn=ry(Me,Ee,at,xl,On,Ft,m),mt=ay(we),Vs=Ys(),Zs=fy(r,o,m,w),{slideRegistry:Rn}=sy(re,V,oe,fe,E,ke),Ua=cy(s,o,Rn,Dn,xl,Vs,m,J),Un={ownerDocument:u,ownerWindow:f,eventHandler:m,containerRect:le,slideRects:Z,animation:Me,axis:ne,dragHandler:Z0(ne,s,u,f,Ft,K0(ne,f),Wt,Me,Dn,xl,On,Ee,m,Ge,T,S,R,tt,G),eventStore:Vs,percentOfView:Ge,index:Ee,indexPrevious:at,limit:we,location:Wt,offsetLocation:Ht,previousLocation:nl,options:d,resizeHandler:F0(r,m,f,o,ne,Y,F),scrollBody:xl,scrollBounds:P0(we,Ht,Ft,xl,Ge),scrollLooper:ly(W,we,Ht,[Wt,Ht,nl,Ft]),scrollProgress:mt,scrollSnapList:oe.map(mt.get),scrollSnaps:oe,scrollTarget:On,scrollTo:Dn,slideLooper:oy(ne,ye,W,Q,ae,B,oe,Ht,o),slideFocus:Ua,slidesHandler:uy(r,m,X),slidesInView:Zs,slideIndexes:ke,slideRegistry:Rn,slidesToScroll:E,target:Ft,translate:Yp(ne,r)};return Un}function py(){let s={},r;function o(p){r=p}function u(p){return s[p]||[]}function f(p){return u(p).forEach(y=>y(r,p)),x}function d(p,y){return s[p]=u(p).concat([y]),x}function m(p,y){return s[p]=u(p).filter(b=>b!==y),x}function g(){s={}}const x={init:o,emit:f,off:m,on:d,clear:g};return x}const gy={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 xy(s){function r(d,m){return Bp(d,m||{})}function o(d){const m=d.breakpoints||{},g=qs(m).filter(x=>s.matchMedia(x).matches).map(x=>m[x]).reduce((x,p)=>r(x,p),{});return r(d,g)}function u(d){return d.map(m=>qs(m.breakpoints||{})).reduce((m,g)=>m.concat(g),[]).map(s.matchMedia)}return{mergeOptions:r,optionsAtMedia:o,optionsMediaQueries:u}}function vy(s){let r=[];function o(d,m){return r=m.filter(({options:g})=>s.optionsAtMedia(g).active!==!1),r.forEach(g=>g.init(d,s)),m.reduce((g,x)=>Object.assign(g,{[x.name]:x}),{})}function u(){r=r.filter(d=>d.destroy())}return{init:o,destroy:u}}function mr(s,r,o){const u=s.ownerDocument,f=u.defaultView,d=xy(f),m=vy(d),g=Ys(),x=py(),{mergeOptions:p,optionsAtMedia:y,optionsMediaQueries:b}=d,{on:j,off:T,emit:S}=x,w=ne;let k=!1,R,V=p(gy,mr.globalOptions),Y=p(V),X=[],G,J,$;function F(){const{container:ke,slides:ee}=Y;J=(Fo(ke)?s.querySelector(ke):ke)||s.children[0];const Me=Fo(ee)?J.querySelectorAll(ee):ee;$=[].slice.call(Me||J.children)}function le(ke){const ee=hy(s,J,$,u,f,ke,x);if(ke.loop&&!ee.slideLooper.canLoop()){const Ae=Object.assign({},ke,{loop:!1});return le(Ae)}return ee}function Z(ke,ee){k||(V=p(V,ke),Y=y(V),X=ee||X,F(),R=le(Y),b([V,...X.map(({options:Ae})=>Ae)]).forEach(Ae=>g.add(Ae,"change",ne)),Y.active&&(R.translate.to(R.location.get()),R.animation.init(),R.slidesInView.init(),R.slideFocus.init(at),R.eventHandler.init(at),R.resizeHandler.init(at),R.slidesHandler.init(at),R.options.loop&&R.slideLooper.loop(),J.offsetParent&&$.length&&R.dragHandler.init(at),G=m.init(at,X)))}function ne(ke,ee){const Ae=E();ye(),Z(p({startIndex:Ae},ke),ee),x.emit("reInit")}function ye(){R.dragHandler.destroy(),R.eventStore.clear(),R.translate.clear(),R.slideLooper.clear(),R.resizeHandler.destroy(),R.slidesHandler.destroy(),R.slidesInView.destroy(),R.animation.destroy(),m.destroy(),g.clear()}function Ge(){k||(k=!0,g.clear(),ye(),x.emit("destroy"),x.clear())}function Qe(ke,ee,Ae){!Y.active||k||(R.scrollBody.useBaseFriction().useDuration(ee===!0?0:Y.duration),R.scrollTo.index(ke,Ae||0))}function re(ke){const ee=R.index.add(1).get();Qe(ee,ke,-1)}function O(ke){const ee=R.index.add(-1).get();Qe(ee,ke,1)}function Q(){return R.index.add(1).get()!==E()}function ae(){return R.index.add(-1).get()!==E()}function he(){return R.scrollSnapList}function je(){return R.scrollProgress.get(R.offsetLocation.get())}function E(){return R.index.get()}function B(){return R.indexPrevious.get()}function K(){return R.slidesInView.get()}function W(){return R.slidesInView.get(!1)}function ce(){return G}function fe(){return R}function oe(){return s}function we(){return J}function Ee(){return $}const at={canScrollNext:Q,canScrollPrev:ae,containerNode:we,internalEngine:fe,destroy:Ge,off:T,on:j,emit:S,plugins:ce,previousScrollSnap:B,reInit:w,rootNode:oe,scrollNext:re,scrollPrev:O,scrollProgress:je,scrollSnapList:he,scrollTo:Qe,selectedScrollSnap:E,slideNodes:Ee,slidesInView:K,slidesNotInView:W};return Z(r,o),setTimeout(()=>x.emit("init"),0),at}mr.globalOptions=void 0;function Nu(s={},r=[]){const o=U.useRef(s),u=U.useRef(r),[f,d]=U.useState(),[m,g]=U.useState(),x=U.useCallback(()=>{f&&f.reInit(o.current,u.current)},[f]);return U.useEffect(()=>{vu(o.current,s)||(o.current=s,x())},[s,x]),U.useEffect(()=>{Y0(u.current,r)||(u.current=r,x())},[r,x]),U.useEffect(()=>{if(q0()&&m){mr.globalOptions=Nu.globalOptions;const p=mr(m,o.current,u.current);return d(p),()=>p.destroy()}else d(void 0)},[m,d]),[g,f]}Nu.globalOptions=void 0;const Su=4500;function wu({box:s,interval:r,advance:o}){const u=U.useRef(o);u.current=o,U.useEffect(()=>{const f=s.current;if(!f||r<=0||window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;let d=0,m=!0;const g=()=>{d+=1},x=()=>{d=Math.max(0,d-1)},p=window.setInterval(()=>{d>0||document.hidden||!m||u.current()||window.clearInterval(p)},r),y=new IntersectionObserver(([w])=>{m=w.isIntersecting},{threshold:.25});y.observe(f);const b=window.matchMedia("(hover: hover) and (pointer: fine)").matches;b&&(f.addEventListener("pointerenter",g),f.addEventListener("pointerleave",x));let j=!1;const T=w=>{const k=w.target;!(k instanceof Element)||!k.matches(":focus-visible")||j||(j=!0,g())},S=()=>{j&&(j=!1,x())};return f.addEventListener("focusin",T),f.addEventListener("focusout",S),f.addEventListener("pointerdown",g,!0),window.addEventListener("pointerup",x,!0),window.addEventListener("pointercancel",x,!0),()=>{window.clearInterval(p),y.disconnect(),b&&(f.removeEventListener("pointerenter",g),f.removeEventListener("pointerleave",x)),f.removeEventListener("focusin",T),f.removeEventListener("focusout",S),f.removeEventListener("pointerdown",g,!0),window.removeEventListener("pointerup",x,!0),window.removeEventListener("pointercancel",x,!0)}},[s,r])}function Gp(s,r=.85){if(!s)return!1;const o=s.scrollWidth-s.clientWidth;if(o<=8||s.scrollLeft>=o-8)return!1;const u=window.matchMedia("(prefers-reduced-motion: reduce)").matches;return s.scrollBy({left:s.clientWidth*r,behavior:u?"auto":"smooth"}),!0}function vr({label:s,children:r,align:o="start",loop:u=!1,dots:f=!0,arrows:d="header",gap:m=1,autoplay:g=Su,onSelect:x,onReady:p,className:y}){const b=g===!1?0:g,[j,T]=Nu({align:o,loop:u,containScroll:"trimSnaps",watchDrag:!0}),[S,w]=U.useState([]),[k,R]=U.useState(0),[V,Y]=U.useState(!1),[X,G]=U.useState(!1),J=U.useRef(null),$=U.useId();U.useEffect(()=>{var Q;if(!T)return;const re=()=>{R(T.selectedScrollSnap()),Y(T.canScrollPrev()),G(T.canScrollNext())},O=()=>{w(T.scrollSnapList()),re()};return O(),T.on("select",re),T.on("reInit",O),(Q=J.current)==null||Q.setAttribute("data-slider","on"),()=>{T.off("select",re),T.off("reInit",O)}},[T]),U.useEffect(()=>{if(!T)return;const re=J.current,O=()=>re==null?void 0:re.setAttribute("data-dragging","true"),Q=()=>re==null?void 0:re.removeAttribute("data-dragging");return T.on("pointerDown",O),T.on("pointerUp",Q),()=>{T.off("pointerDown",O),T.off("pointerUp",Q)}},[T]),wu({box:J,interval:b,advance:()=>!T||T.scrollSnapList().length<=1?!0:T.canScrollNext()?(T.scrollNext(),!0):!1});const F=U.useCallback(re=>T==null?void 0:T.scrollTo(re),[T]),le=U.useRef(x);le.current=x;const Z=U.useRef(p);Z.current=p,U.useEffect(()=>{var O;if(!T)return;const re=()=>{var Q;return(Q=le.current)==null?void 0:Q.call(le,T.selectedScrollSnap())};return re(),T.on("select",re),T.on("reInit",re),(O=Z.current)==null||O.call(Z,{scrollTo:Q=>T.scrollTo(Q)}),()=>{T.off("select",re),T.off("reInit",re)}},[T]);const ne=U.useCallback(()=>T==null?void 0:T.scrollPrev(),[T]),ye=U.useCallback(()=>T==null?void 0:T.scrollNext(),[T]),Ge=S.length>1,Qe=f&&Ge&&S.length<=12;return n.jsxs("div",{className:y,children:[d==="header"&&Ge&&n.jsxs("div",{className:"mb-3 flex justify-end gap-2",children:[n.jsx(Wh,{dir:"prev",onClick:ne,disabled:!u&&!V,label:s}),n.jsx(Wh,{dir:"next",onClick:ye,disabled:!u&&!X,label:s})]}),n.jsxs("div",{className:"relative",children:[n.jsx("div",{ref:re=>{J.current=re,j(re)},className:"slider-viewport",role:"group","aria-roledescription":"์บ๋Ÿฌ์…€","aria-label":s,tabIndex:0,onKeyDown:re=>{re.key==="ArrowLeft"&&(re.preventDefault(),ne()),re.key==="ArrowRight"&&(re.preventDefault(),ye())},children:n.jsx("div",{className:"slider-track",style:{gap:`${m}rem`},id:$,children:r})}),d==="overlay"&&Ge&&n.jsxs(n.Fragment,{children:[n.jsx(Fh,{dir:"prev",onClick:ne,disabled:!u&&!V,label:s}),n.jsx(Fh,{dir:"next",onClick:ye,disabled:!u&&!X,label:s})]})]}),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:S.map((re,O)=>n.jsx("li",{children:n.jsx("button",{type:"button",onClick:()=>F(O),"aria-label":`${O+1}๋ฒˆ์งธ๋กœ`,"aria-current":O===k,"aria-controls":$,className:`h-1.5 rounded-full transition-all ${O===k?"w-6 bg-current opacity-95":"w-1.5 bg-current opacity-20 hover:opacity-90"}`})},O))}),n.jsxs("span",{className:"text-current/80 text-[length:var(--fs-xs)] tabular-nums",children:[k+1," / ",S.length]})]})]})}function $p({basis:s,children:r}){return n.jsx("div",{className:`min-w-0 shrink-0 grow-0 ${s}`,"aria-roledescription":"์Šฌ๋ผ์ด๋“œ",children:r})}function Wh({dir:s,onClick:r,disabled:o,label:u}){const f=s==="prev"?da:ma;return n.jsx("button",{type:"button",onClick:r,disabled:o,"aria-label":`${u} ${s==="prev"?"์ด์ „":"๋‹ค์Œ"}`,className:"tap border-line flex items-center justify-center rounded-full border transition-opacity hover:opacity-95 disabled:opacity-25",children:n.jsx(f,{className:"size-5"})})}function Fh({dir:s,onClick:r,disabled:o,label:u}){const f=s==="prev"?da:ma;return n.jsx("button",{type:"button",onClick:r,disabled:o,"aria-label":`${u} ${s==="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 ${s==="prev"?"left-2":"right-2"}`,children:n.jsx(f,{className:"size-5"})})}function Eu({children:s,className:r="",as:o="div"}){return n.jsx(o,{className:`panel ${r}`,children:s})}function zu({children:s}){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:s})}function Qp({label:s,value:r,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:s}),n.jsxs("dd",{className:"flex-1 text-[length:var(--fs-sm)] font-semibold sm:text-right",children:[r,o&&n.jsx("span",{className:"text-muted mt-0.5 block font-normal",children:o})]})]})}function Ih({href:s,children:r,variant:o="solid",external:u,icon:f}){const d=o==="solid";return n.jsxs("a",{href:s,...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-95 ${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:r}),u&&n.jsx(zn,{className:"size-4 shrink-0"})]})}function by(){const s=te(),{narrative:r,place:o}=s,u=Wb(s,"intro"),f=u.length>0?u:r.about;if(f.length===0)return null;const d=fu(s).find(g=>!g.isPrimary),m=r.heroSubline??`${o.name} ์†Œ๊ฐœ`;return n.jsx(gt,{id:"about",bare:!0,title:m,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:m})]}),n.jsx("div",{className:"measure space-y-4 text-[length:var(--fs-lead)] leading-[1.8]",children:f.map((g,x)=>n.jsx("p",{children:g},x))})]})]})})}const yy=new Set(["๊ฐ€๋Šฅ","๋ถˆ๊ฐ€","์žˆ์Œ","์—†์Œ"]),Ph=s=>!s.note&&yy.has(s.value.trim()),jy=new Set(["์ฒดํฌ์ธ ์‹œ๊ฐ„","์ฒดํฌ์•„์›ƒ ์‹œ๊ฐ„","์ทจ์†Œยทํ™˜๋ถˆ ๊ทœ์ •","์ทจ์‚ฌ ๊ฐ€๋Šฅ","๋ฐ˜๋ ค๋™๋ฌผ ๋™๋ฐ˜","ํก์—ฐ ๊ฐ€๋Šฅ","์ธ์› ์ถ”๊ฐ€ ์š”๊ธˆ"]);function Ny(){var T,S;const s=te(),r=ou(s),o=Tn(s.facts).find(w=>w.key==="intro"),u=((T=o==null?void 0:o.summary)==null?void 0:T.trim())||((S=o==null?void 0:o.value)==null?void 0:S.trim())||s.narrative.summary||m0(s),f=s.links.filter(w=>{var k,R,V;return w.confirmed&&[(k=w.stayGuide)==null?void 0:k.policy,(R=w.stayGuide)==null?void 0:R.service,(V=w.stayGuide)==null?void 0:V.reservation].some(Y=>Y==null?void 0:Y.trim())}),d=f.flatMap(w=>{var k;return((k=w.stayGuide)==null?void 0:k.fields)??[]}),m=[...r],g=new Set(r.map(w=>w.key));for(const w of d)g.has(w.key)||(m.push(w),g.add(w.key));const x=w=>["cooking_allowed","smoking"].includes(w.key??"")?!1:jy.has(w.label)||d.some(k=>k.key===w.key&&k.group==="rules"),p=s.facts.filter(w=>w.scope==="place"&&!r.some(k=>k.label===w.label)).length,y=f.map(w=>{var k;return((k=w.stayGuide)==null?void 0:k.reservation)??""}).filter(w=>w.trim());if(r.length===0&&d.length===0&&y.length===0)return null;const b=m.filter(x),j=m.filter(w=>!x(w)&&w.key!=="intro");return n.jsx(gt,{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:p>0?`ํ™•์ธ ์ค‘์ธ ํ•ญ๋ชฉ ${p}๊ฐœ๋Š” ํ‘œ์‹œํ•˜์ง€ ์•Š์•˜์Šต๋‹ˆ๋‹ค. ํ•„์š”ํ•˜์‹œ๋ฉด ์ „ํ™”๋กœ ๋ฌธ์˜ํ•ด ์ฃผ์„ธ์š”.`:"๋“ฑ๋ก ์ •๋ณด์™€ ์ˆ˜์ง‘ํ•œ ์•ˆ๋‚ด๋ฅผ ๊ธฐ์ค€์œผ๋กœ ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค."}),n.jsxs("span",{className:"font-medium",children:[Lp(s.site.updatedAt)," ๊ธฐ์ค€"]})]}),children:n.jsxs("div",{className:"space-y-8",children:[u&&n.jsx("p",{className:"measure text-[length:var(--fs-body)] leading-relaxed",children:u}),b.length>0&&n.jsx(ep,{title:"์˜ˆ์•ฝ ์ „ ํ™•์ธ",rows:b,emphasis:!0}),j.length>0&&n.jsx(ep,{title:"์‹œ์„ค ยท ํŽธ์˜",rows:j.filter(w=>!Ph(w)),children:n.jsx(Sy,{rows:j.filter(Ph)})}),y.map(w=>n.jsx(wy,{text:w},w.slice(0,32))),n.jsx(Ey,{})]})})}function ep({title:s,rows:r,emphasis:o,children:u}){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:s})]}),u,r.length>0&&n.jsx("dl",{className:"divide-line divide-y",children:r.map((f,d)=>{const m=!f.note&&f.value.length<=24;return n.jsxs("div",{className:m?"flex flex-row items-baseline gap-3 py-2.5 sm:gap-6":"flex flex-col gap-1 py-3 sm:flex-row sm:items-baseline sm:gap-6",children:[n.jsx("dt",{className:`text-muted text-[length:var(--fs-sm)] ${m?"w-24 shrink-0 sm:w-40":"sm:w-40 sm:shrink-0"}`,children:f.label}),n.jsxs("dd",{className:"measure min-w-0 whitespace-pre-line break-words text-[length:var(--fs-sm)] font-semibold",children:[f.value,f.note&&n.jsx("span",{className:"text-muted mt-0.5 block font-normal",children:f.note})]})]},`${f.label}-${d}`)})})]})}const Yo=new Set(["๊ฐ€๋Šฅ","์žˆ์Œ"]);function Sy({rows:s}){if(s.length===0)return null;const r=[...s].sort((o,u)=>Number(Yo.has(u.value))-Number(Yo.has(o.value)));return n.jsx("ul",{className:"mb-2 grid grid-cols-2 gap-x-5 sm:grid-cols-3 lg:grid-cols-4",children:r.map(o=>{const u=Yo.has(o.value);return n.jsxs("li",{className:"flex items-center gap-2 py-2 text-[length:var(--fs-sm)]",children:[u?n.jsx(nu,{className:"size-4 shrink-0",style:{color:"var(--color-brand)"},"aria-hidden":!0}):n.jsx(iu,{className:"text-muted size-4 shrink-0","aria-hidden":!0}),n.jsxs("span",{className:u?"min-w-0":"text-muted min-w-0",children:[n.jsx("span",{className:"font-semibold",children:o.label})," ",o.value]})]},o.key??o.label)})})}function wy({text:s}){return s.trim()?n.jsxs("details",{className:"panel group overflow-hidden",children:[n.jsxs("summary",{className:"tap flex cursor-pointer items-center gap-2 px-4 text-[length:var(--fs-sm)] font-bold marker:content-none [&::-webkit-details-marker]:hidden",children:[n.jsx("i",{"aria-hidden":!0,className:"h-[1em] w-[3px] shrink-0",style:{backgroundColor:"var(--color-accent)"}}),n.jsx("span",{className:"flex-1",children:"์˜ˆ์•ฝ ๊ณต์ง€"}),n.jsx("span",{className:"text-muted shrink-0 transition-transform group-open:rotate-45",children:"+"})]}),n.jsx("div",{className:"border-line whitespace-pre-line border-t px-4 pb-4 pt-3 text-[length:var(--fs-sm)] leading-relaxed",children:s})]}):null}function Ey(){const s=te(),r=Ze(s),o=s.place.phone;return!o&&r.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:[s.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(Ct,{className:"size-4"}),n.jsx("span",{children:o})]}),r.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:pt(u)},u.url))]})]})}function zy(){const s=te(),r=dt(s),o=hl(s),u=Ze(s)[0];return o.length===0?null:n.jsx(gt,{id:"units",title:qe(s,r.path,`${r.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(m=>n.jsx("li",{className:"relative aspect-16/10 rounded-md overflow-hidden",children:n.jsx("img",{src:m.url,alt:m.alt,loading:"lazy",decoding:"async",className:"size-full object-cover"})},m.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 ",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(m=>n.jsx("li",{children:n.jsxs(zu,{children:[n.jsx("span",{className:"text-muted",children:m.label}),n.jsx("span",{className:"font-medium",children:m.value})]})},m.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:pt(u,f.name)}),s.place.phone&&n.jsxs("a",{href:`tel:${s.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(Ct,{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(hr,{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(m=>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:m.label}),n.jsx("dd",{className:"text-right font-semibold",children:m.value})]},m.label))})]})]})]},f.unitId))})})}function Ty(){const s=te(),r=dt(s),o=hl(s),u=Ze(s)[0],[f,d]=U.useState(0);return o.length===0?null:n.jsxs(gt,{id:"units",title:qe(s,r.path,`${r.label} ์•ˆ๋‚ด`),children:[n.jsx("div",{className:"border-line mb-6 flex gap-1 border-b",role:"tablist","aria-label":r.label,children:o.map((m,g)=>n.jsx("button",{type:"button",role:"tab","aria-selected":g===f,"aria-controls":`unit-panel-${m.slug}`,onClick:()=>d(g),className:`tap -mb-px border-b-2 px-5 text-[length:var(--fs-sm)] font-bold transition-colors ${g===f?"opacity-100":"border-transparent hover:opacity-90"}`,style:g===f?{borderColor:"var(--color-brand)"}:void 0,children:m.name},m.unitId))}),o.map((m,g)=>n.jsxs("div",{id:`unit-panel-${m.slug}`,role:"tabpanel",hidden:g!==f,className:"grid gap-6 lg:grid-cols-12 lg:gap-10",children:[n.jsxs("div",{className:"lg:col-span-7",children:[m.images[0]&&n.jsx("div",{className:"relative aspect-16/10 overflow-hidden rounded-lg",children:n.jsx("img",{src:m.images[0].url,alt:m.images[0].alt,loading:"lazy",decoding:"async",className:"size-full object-cover"})}),m.images.length>1&&n.jsx("ul",{className:"mt-2 grid grid-cols-3 gap-2",children:m.images.slice(1,4).map(x=>n.jsx("li",{className:"relative aspect-16/10 overflow-hidden rounded-md",children:n.jsx("img",{src:x.url,alt:x.alt,loading:"lazy",decoding:"async",className:"size-full object-cover"})},x.mediaId))})]}),n.jsxs("div",{className:"lg:col-span-5",children:[n.jsx("h3",{className:"h3",children:m.name}),m.intro&&n.jsx("p",{className:"mt-2 text-[length:var(--fs-sm)] leading-relaxed ",children:m.intro}),m.chips.length>0&&n.jsx("ul",{className:"mt-4 flex flex-wrap items-center gap-1.5",children:m.chips.map(x=>n.jsx("li",{children:n.jsxs(zu,{children:[n.jsx("span",{className:"text-muted",children:x.label}),n.jsx("span",{className:"font-medium",children:x.value})]})},x.label))}),m.rows.length>0&&n.jsx("dl",{className:"divide-line border-line mt-4 divide-y border-t",children:m.rows.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 shrink-0",children:x.label}),n.jsx("dd",{className:"text-right font-semibold",children:x.value})]},x.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:pt(u,m.name)}),s.place.phone&&n.jsxs("a",{href:`tel:${s.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(Ct,{className:"size-4"}),n.jsx("span",{children:"์ „ํ™”"})]})]})]})]},m.unitId))]})}function Ay(){const s=te(),r=dt(s),o=hl(s),u=Ze(s)[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=ll(s,"info")?[]:ou(s);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(hu,{id:"units",title:qe(s,r.path,`${r.label} ์•ˆ๋‚ด`)}),n.jsx("ul",{className:`grid gap-x-8 gap-y-14 lg:gap-x-12 ${f}`,children:o.map(m=>n.jsxs("li",{className:"flex min-w-0 flex-col",children:[m.images[0]&&n.jsx("div",{className:"relative aspect-4/3 w-full overflow-hidden",children:n.jsx("img",{src:m.images[0].url,alt:m.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:m.name}),m.intro&&n.jsx("p",{className:"text-muted mt-3 line-clamp-2 text-[length:var(--fs-sm)] font-light leading-loose",children:m.intro}),m.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:m.chips.map(g=>n.jsxs("li",{children:[g.label," ",g.value]},g.label))}),(m.rows.length>0||m.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 marker:content-none [&::-webkit-details-marker]:hidden",children:"์ž์„ธํžˆ ๋ณด๊ธฐ"}),n.jsxs("div",{className:"space-y-6 pb-2",children:[m.rows.length>0&&n.jsx("dl",{className:"divide-line divide-y",children:m.rows.map(g=>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:g.label}),n.jsx("dd",{className:"text-right",children:g.value})]},g.label))}),m.images.length>1&&n.jsx("ul",{className:"grid grid-cols-2 gap-3",children:m.images.slice(1).map(g=>n.jsx("li",{className:"relative aspect-4/3 overflow-hidden",children:n.jsx("img",{src:g.url,alt:g.alt,loading:"lazy",decoding:"async",className:"size-full object-cover object-center"})},g.mediaId))})]})]})]},m.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(m=>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:m.label}),n.jsx("dd",{className:"text-right",children:m.value})]},m.label))}),(u||s.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-95",children:pt(u)}),s.place.phone&&n.jsx("a",{href:`tel:${s.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-95",children:s.place.phone})]})]})})}function _y(){const s=te(),r=dt(s),o=hl(s),u=Ze(s)[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(pu,{id:"units",title:qe(s,r.path,`${r.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||s.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:pt(u)}),s.place.phone&&n.jsx("a",{href:`tel:${s.place.phone}`,className:"tap text-muted inline-flex items-center underline underline-offset-[6px]",children:s.place.phone})]})]},f.unitId))})]})}function Cy(){const s=te(),r=dt(s),o=hl(s);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(gu,{id:"units",title:qe(s,r.path,`${r.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 ky(){const s=te(),r=dt(s),o=hl(s),u=Ze(s)[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(xu,{id:"units",title:qe(s,r.path,`${r.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(m=>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-95",children:m.label}),n.jsx("span",{className:"font-bold",children:m.value})]},m.label))}),f.intro&&n.jsx("p",{className:"text-[length:var(--fs-sm)] leading-relaxed ",children:f.intro})]}),(u||s.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:pt(u)}),s.place.phone&&n.jsxs("a",{href:`tel:${s.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(Ct,{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(hr,{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(m=>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 ",children:m.label}),n.jsx("dd",{className:"text-right font-bold",children:m.value})]},m.label))}),f.images.length>1&&n.jsx("ul",{className:"grid grid-cols-2 gap-2",children:f.images.slice(1).map(m=>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:m.url,alt:m.alt,loading:"lazy",decoding:"async",className:"size-full object-cover"})},m.mediaId))})]})]})]},f.unitId))})]})})}function My(){const s=te(),r=hl(s),o=dt(s),u=Ze(s)[0];return r.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:Hs,paddingBlock:"var(--section-space)"},children:[n.jsx("div",{className:"shell",children:n.jsx(du,{id:"units",title:qe(s,o.path,`${o.label} ${r.length}๊ฐœ ์•ˆ๋‚ด`)})}),r.map((f,d)=>n.jsx(Oy,{unit:f,no:String(d+1).padStart(2,"0"),dark:d%2===1,booking:u,phone:s.place.phone},f.unitId))]})}function Oy({unit:s,no:r,dark:o,booking:u,phone:f}){return n.jsx("article",{className:"w-full",style:o?{backgroundColor:"var(--tpl-inverse)",color:"var(--tpl-bg)",backgroundImage:Hs}: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:r}),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:s.name})]}),s.intro&&n.jsx("p",{className:"measure mt-4 font-serif text-[length:var(--fs-body)] leading-relaxed ",children:s.intro}),s.rows.length>0&&n.jsx("dl",{className:"border-line mt-6 border-t",children:s.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:pt(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:[s.images[0]&&n.jsx("figure",{className:"w-full xl:w-[64%]",children:n.jsx("img",{src:s.images[0].url,alt:s.images[0].alt,loading:"lazy",decoding:"async",width:s.images[0].width,height:s.images[0].height,className:"w-full object-cover",style:{aspectRatio:"4 / 5"}})}),s.images[1]&&n.jsx("figure",{className:"mt-3 w-full xl:-mt-24 xl:ml-auto xl:w-[50%]",children:n.jsx("img",{src:s.images[1].url,alt:s.images[1].alt,loading:"lazy",decoding:"async",width:s.images[1].width,height:s.images[1].height,className:"w-full object-cover",style:{aspectRatio:"4 / 3"}})})]}),s.images.length>2&&n.jsx("ul",{className:"col-span-12 grid grid-cols-3 gap-2 xl:grid-cols-6",children:s.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 Go(){var m;const s=te(),r=dt(s),o=gr();if(o==="reservation")return n.jsx(Ay,{});if(o==="oasi")return n.jsx(_y,{});if(o==="studio")return n.jsx(Cy,{});if(o==="pastel")return n.jsx(ky,{});if(o==="editorial")return n.jsx(My,{});const u=(m=s.theme.sections.find(g=>g.id===r.path))==null?void 0:m.variantId;if(u==="rooms.bands")return n.jsx(zy,{});if(u==="rooms.tabs")return n.jsx(Ty,{});const f=hl(s);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(gt,{id:"units",title:qe(s,r.path,`${r.label} ${f.length}๊ฐœ ์•ˆ๋‚ด`),children:n.jsx("ul",{className:`grid gap-5 lg:gap-7 ${d}`,children:f.map(g=>n.jsxs(Eu,{as:"li",className:"flex flex-col overflow-hidden",children:[n.jsxs("div",{className:"flex flex-1 flex-col",children:[g.images.length>0&&n.jsx(Dy,{images:g.images,name:g.name}),n.jsxs("div",{className:"flex flex-1 flex-col gap-3 p-5",children:[n.jsx("h3",{className:"h3",children:g.name}),g.chips.length>0&&n.jsx("ul",{className:"flex flex-wrap items-center gap-1.5",children:g.chips.map(x=>n.jsx("li",{children:n.jsxs(zu,{children:[n.jsx("span",{className:"text-muted",children:x.label}),n.jsx("span",{className:"font-medium",children:x.value})]})},x.label))}),g.intro&&n.jsx("p",{className:"text-[length:var(--fs-sm)] leading-relaxed ",children:g.intro})]})]}),g.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:[g.name," ์ž์„ธํžˆ"]}),n.jsx(hr,{className:"size-4 shrink-0 transition-transform group-open:rotate-180"})]}),n.jsx("div",{className:"space-y-5 px-5 pb-5",children:g.rows.length>0&&n.jsx("dl",{className:"divide-line border-line divide-y border-t",children:g.rows.map(x=>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:x.label}),n.jsx("dd",{className:"text-right font-semibold",children:x.value})]},x.label))})})]})]},g.unitId))})})}function Dy({images:s,name:r}){const o=U.useRef(null),[u,f]=U.useState(0),d=U.useCallback(()=>{const g=o.current;!g||g.clientWidth===0||f(Math.round(g.scrollLeft/g.clientWidth))},[]),m=U.useCallback(g=>{const x=o.current;if(!x)return;const p=window.matchMedia("(prefers-reduced-motion: reduce)").matches;x.scrollBy({left:g*x.clientWidth,behavior:p?"auto":"smooth"})},[]);return n.jsxs("div",{className:"relative",children:[n.jsx("ul",{ref:o,onScroll:d,"aria-label":`${r} ์‚ฌ์ง„`,className:"flex snap-x snap-mandatory overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",children:s.map(g=>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:g.url,alt:g.alt,loading:"lazy",decoding:"async",className:"size-full object-cover"})})},g.mediaId))}),s.length>1&&n.jsxs(n.Fragment,{children:[n.jsx(tp,{dir:"prev",show:u>0,onClick:()=>m(-1)}),n.jsx(tp,{dir:"next",show:um(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,s.length)," / ",s.length]})]})]})}function tp({dir:s,show:r,onClick:o}){const u=s==="prev"?da:ma;return n.jsx("button",{type:"button",onClick:o,"aria-label":s==="prev"?"์ด์ „ ์‚ฌ์ง„":"๋‹ค์Œ ์‚ฌ์ง„","aria-hidden":!r,tabIndex:r?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 ${r?"opacity-100":"pointer-events-none opacity-0"} ${s==="prev"?"left-2":"right-2"}`,children:n.jsx(u,{className:"size-4"})})}function Ry(){const s=te(),r=Ze(s),o=Pb(s),u=s.place.phone;return r.length===0&&o.length===0&&!u?null:n.jsx(gt,{id:"booking",tone:"alt",title:qe(s,"booking","์˜ˆ์•ฝ ์•ˆ๋‚ด"),lead:`${s.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(Qp,{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(Ih,{href:`tel:${u}`,icon:n.jsx(Ct,{className:"size-4"}),children:["์ „ํ™” ์˜ˆ์•ฝ ",u]}),r.map(f=>n.jsx(Ih,{href:f.url,variant:"outline",external:!0,children:Dp(f)},f.url))]})})]})})}const lp=["์ผ","์›”","ํ™”","์ˆ˜","๋ชฉ","๊ธˆ","ํ† "],ap=2;function np(s){return`${s.getFullYear()}-${String(s.getMonth()+1).padStart(2,"0")}-${String(s.getDate()).padStart(2,"0")}`}function Uy(s,r,o){const u=new Date(s,r,1),f=new Date(s,r+1,0).getDate(),d=np(o),m=Array.from({length:u.getDay()},()=>null);for(let g=1;g<=f;g+=1){const x=new Date(s,r,g),p=np(x);m.push({iso:p,day:g,weekday:x.getDay(),isWeekend:x.getDay()===0||x.getDay()===6,past:po+d).filter(f=>f<=23).map(f=>`${String(f).padStart(2,"0")}:${u}`):[]}function Hy(s){return cu(s.units).map(r=>{var u;const o=f=>{var m;const d=Number((m=_t(r.facts,f))==null?void 0:m.replace(/[^0-9]/g,""));return Number.isFinite(d)&&d>0?d:void 0};return{unitId:r.unitId,name:r.name,weekdayPrice:(u=kp(r))==null?void 0:u.price,weekendPrice:o("weekend_price"),maxCapacity:o("max_capacity")}})}function By(){var le;const s=te(),r=U.useMemo(()=>Hy(s),[s]),o=U.useMemo(()=>{var Z;return((Z=Tn(s.facts).find(ne=>ne.key==="check_in_time"))==null?void 0:Z.value)??void 0},[s]),u=U.useMemo(()=>Ly(o),[o]),[f,d]=U.useState(null),[m,g]=U.useState(0);U.useEffect(()=>d(new Date),[]);const x=U.useMemo(()=>f?new Date(f.getFullYear(),f.getMonth()+m,1):null,[f,m]),p=U.useMemo(()=>f&&x?Uy(x.getFullYear(),x.getMonth(),f):[],[f,x]),[y,b]=U.useState(null),[j,T]=U.useState(null),[S,w]=U.useState(((le=r[0])==null?void 0:le.unitId)??null),[k,R]=U.useState(2),[V,Y]=U.useState(!1),X=p.find(Z=>Z!==null&&Z.iso===y)??null,G=r.find(Z=>Z.unitId===S)??null,J=(G==null?void 0:G.maxCapacity)??8,$=X&&G?X.isWeekend?G.weekendPrice??G.weekdayPrice:G.weekdayPrice:void 0,F=!!(y&&G&&(u.length===0||j));return U.useEffect(()=>{R(Z=>Math.min(Z,(G==null?void 0:G.maxCapacity)??8))},[G]),r.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-[length:var(--fs-xs)] font-bold",children:[n.jsx(Uv,{className:"size-3.5 "}),n.jsx("span",{children:"๋‚ ์งœ ยท ์‹œ๊ฐ„ ์„ ํƒ"})]})}),f===null||x===null?n.jsx("p",{className:"px-4 py-6 text-[length:var(--fs-xs)] leading-relaxed sm:px-5",children:"๋‚ ์งœ ์„ ํƒ์€ ๋ธŒ๋ผ์šฐ์ €์—์„œ ์—ด๋ฆฝ๋‹ˆ๋‹ค. ์‹ค์ œ ์˜ˆ์•ฝ ๊ฐ€๋Šฅ ์—ฌ๋ถ€์™€ ๊ฒฐ์ œ๋Š” ์•„๋ž˜ ์˜ˆ์•ฝ ์ฐฝ๊ตฌ์—์„œ ํ™•์ธํ•ด ์ฃผ์„ธ์š”."}):V?n.jsx(qy,{payload:s,onReset:()=>Y(!1),summary:[X?`${x.getMonth()+1}์›” ${X.day}์ผ(${lp[X.weekday]})`:null,j?`๋„์ฐฉ ${j}`:null,(G==null?void 0:G.name)??null,`${k}๋ช…`].filter(Z=>!!Z).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-[length:var(--fs-xs)] font-semibold ",children:"๋‚ ์งœ"}),n.jsxs("div",{className:"flex items-center gap-1",children:[n.jsx("button",{type:"button",onClick:()=>g(Z=>Math.max(0,Z-1)),disabled:m===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(da,{className:"size-3.5"})}),n.jsxs("span",{className:"w-24 text-center text-[length:var(--fs-xs)] font-bold",children:[x.getFullYear(),"๋…„ ",x.getMonth()+1,"์›”"]}),n.jsx("button",{type:"button",onClick:()=>g(Z=>Math.min(ap,Z+1)),disabled:m>=ap,"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(ma,{className:"size-3.5"})})]})]}),n.jsx("div",{className:"grid grid-cols-7 gap-1 border-b border-black/8 pb-1.5",children:lp.map((Z,ne)=>n.jsx("span",{className:"text-center text-[length:var(--fs-xs)] font-semibold",style:{opacity:ne===0||ne===6?.75:.45},children:Z},Z))}),n.jsx("div",{className:"mt-1.5 grid grid-cols-7 gap-1",children:p.map((Z,ne)=>Z===null?n.jsx("span",{"aria-hidden":!0},`pad-${ne}`):n.jsx("button",{type:"button",disabled:Z.past,onClick:()=>b(Z.iso),"aria-pressed":Z.iso===y,"aria-label":`${x.getMonth()+1}์›” ${Z.day}์ผ`,className:"flex h-9 items-center justify-center rounded-lg border text-[length:var(--fs-xs)] transition-colors disabled:cursor-not-allowed",style:{borderColor:Z.iso===y?"var(--color-brand)":"transparent",backgroundColor:Z.iso===y?"var(--color-brand)":"var(--color-surface-alt)",color:Z.iso===y?"#fff":void 0,opacity:Z.past?.25:1,fontWeight:Z.iso===y?700:400},children:Z.day},Z.iso))}),(X==null?void 0:X.isWeekend)&&n.jsx("p",{className:"mt-2 text-[length:var(--fs-xs)] ",children:"์ฃผ๋ง ์š”๊ธˆ์ด ์ ์šฉ๋˜๋Š” ๋‚ ์งœ์ž…๋‹ˆ๋‹ค."})]}),u.length>0&&n.jsxs("div",{children:[n.jsxs("p",{className:"mb-2 flex items-center gap-1.5 text-[length:var(--fs-xs)] font-semibold ",children:[n.jsx(Qv,{className:"size-3"}),n.jsxs("span",{children:["๋„์ฐฉ ์˜ˆ์ • ์‹œ๊ฐ„ (์ฒดํฌ์ธ ",o," ์ดํ›„)"]})]}),n.jsx("ul",{className:"flex flex-wrap gap-1.5",children:u.map(Z=>{const ne=Z===j;return n.jsx("li",{children:n.jsx("button",{type:"button",onClick:()=>T(Z),"aria-pressed":ne,className:"rounded-lg border px-3 py-1.5 text-[length:var(--fs-xs)] font-medium transition-colors",style:{borderColor:ne?"var(--color-brand)":"rgba(0,0,0,0.10)",backgroundColor:ne?"var(--color-brand)":"var(--color-surface-alt)",color:ne?"#fff":void 0},children:Z})},Z)})})]}),n.jsxs("div",{children:[n.jsx("p",{className:"mb-2 text-[length:var(--fs-xs)] font-semibold ",children:"๊ฐ์‹ค"}),n.jsx("ul",{className:"grid gap-1.5 sm:grid-cols-2",children:r.map(Z=>{const ne=Z.unitId===S;return n.jsx("li",{children:n.jsxs("button",{type:"button",onClick:()=>w(Z.unitId),"aria-pressed":ne,className:"flex w-full items-center justify-between gap-2 rounded-xl border px-3 py-2.5 text-left text-[length:var(--fs-xs)] transition-colors",style:{borderColor:ne?"var(--color-brand)":"rgba(0,0,0,0.10)",backgroundColor:"var(--color-surface-alt)"},children:[n.jsx("span",{className:"font-semibold",children:Z.name}),Z.maxCapacity&&n.jsxs("span",{className:"shrink-0 ",children:["์ตœ๋Œ€ ",Z.maxCapacity,"๋ช…"]})]})},Z.unitId)})})]}),n.jsxs("div",{className:"flex items-center justify-between",children:[n.jsx("p",{className:"text-[length:var(--fs-xs)] font-semibold ",children:"์ธ์›"}),n.jsxs("div",{className:"flex items-center gap-3",children:[n.jsx("button",{type:"button",onClick:()=>R(Z=>Math.max(1,Z-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(lb,{className:"size-3.5"})}),n.jsxs("span",{className:"w-10 text-center text-[length:var(--fs-sm)] font-bold",children:[k,"๋ช…"]}),n.jsx("button",{type:"button",onClick:()=>R(Z=>Math.min(J,Z+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(cb,{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-[length:var(--fs-xs)] ",children:X?`${x.getMonth()+1}์›” ${X.day}์ผ ยท ${(G==null?void 0:G.name)??""} ยท ${k}๋ช…`:"๋‚ ์งœ๋ฅผ ๊ณจ๋ผ ์ฃผ์„ธ์š”"}),$!=null&&n.jsxs("span",{className:"text-[length:var(--fs-sm)] font-bold",style:{color:"var(--color-brand)"},children:[$.toLocaleString("ko-KR"),"์›"]})]}),$!=null&&n.jsx("p",{className:"mt-1 text-[length:var(--fs-xs)] ",children:"1๋ฐ• ๊ธฐ์ค€ ์•ˆ๋‚ด ์š”๊ธˆ์ž…๋‹ˆ๋‹ค. ์ธ์› ์ถ”๊ฐ€ยท์„ฑ์ˆ˜๊ธฐ ์š”๊ธˆ์€ ์˜ˆ์•ฝ ์ฐฝ๊ตฌ์—์„œ ํ™•์ธ๋ฉ๋‹ˆ๋‹ค."})]}),n.jsx("button",{type:"button",disabled:!F,onClick:()=>Y(!0),className:"w-full rounded-xl px-4 py-3 text-[length:var(--fs-sm)] font-bold text-white transition-opacity disabled:cursor-not-allowed disabled:opacity-40",style:{backgroundColor:"var(--color-brand)"},children:"์˜ˆ์•ฝ ์š”์ฒญ ํ™•์ธํ•˜๊ธฐ"})]})]})}function qy({payload:s,summary:r,onReset:o}){const u=s.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(nu,{className:"size-4"})}),n.jsxs("div",{className:"min-w-0",children:[n.jsx("p",{className:"text-[length:var(--fs-sm)] font-bold",children:"์˜ˆ์•ฝ ๋‚ด์šฉ ํ™•์ธ"}),n.jsx("p",{className:"mt-0.5 text-[length:var(--fs-xs)] leading-relaxed ",children:r})]})]}),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-[length:var(--fs-sm)] font-bold text-white transition-opacity hover:opacity-90",style:{backgroundColor:"var(--color-brand)"},children:[n.jsx(Ct,{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-[length:var(--fs-xs)] font-semibold transition-colors hover:bg-black/5",children:[n.jsx(ub,{className:"size-3.5"}),n.jsx("span",{children:"๋‹ค์‹œ ๊ณ ๋ฅด๊ธฐ"})]})]})]})}function sp(){const s=te(),r=o0(s);if(!r)return null;const{offers:o,links:u,contacts:f,phone:d}=r;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-[length:var(--fs-xs)] font-semibold uppercase tracking-wider ",children:[n.jsx(Dv,{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:qe(s,"booking","์˜ˆ์•ฝ ์•ˆ๋‚ด")}),n.jsx("p",{className:"mb-8 max-w-2xl text-[length:var(--fs-xs)] leading-relaxed sm:text-[length:var(--fs-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-[length:var(--fs-xs)] font-bold sm:px-5",children:[n.jsx(Mv,{className:"size-3.5 "}),n.jsx("span",{children:"๊ฐ์‹ค๋ณ„ ์š”๊ธˆ ยท ์ธ์›"})]}),n.jsx("ul",{className:"divide-y divide-black/5",children:o.map(m=>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:m.name}),m.baseRateText&&n.jsx("span",{className:"text-[length:var(--fs-sm)] font-bold",style:{color:"var(--color-brand)"},children:m.baseRateText})]}),m.capacityText&&n.jsx("p",{className:"mt-1 text-[length:var(--fs-xs)] ",children:m.capacityText}),m.rateRows.length>0&&n.jsx("dl",{className:"mt-3 flex flex-wrap gap-x-4 gap-y-1.5",children:m.rateRows.map(g=>n.jsxs("div",{className:"flex items-baseline gap-1.5 text-[length:var(--fs-xs)]",children:[n.jsx("dt",{className:"opacity-90",children:g.label}),n.jsx("dd",{className:"font-semibold",children:g.value})]},g.label))}),n.jsx("a",{href:m.href,className:"mt-3 inline-flex items-center gap-1 text-[length:var(--fs-xs)] font-semibold underline decoration-black/20 underline-offset-4 transition-opacity hover:opacity-95",children:n.jsx("span",{children:"์‚ฌ์ง„ ยท ์ƒ์„ธ ๋ณด๊ธฐ"})})]},m.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-[length:var(--fs-xs)] font-bold",children:"์˜ˆ์•ฝ ์ฐฝ๊ตฌ"}),d&&n.jsxs("a",{href:`tel:${d}`,className:"flex items-center justify-center gap-2 rounded-xl px-4 py-3 text-[length:var(--fs-sm)] font-bold text-white transition-opacity hover:opacity-90",style:{backgroundColor:"var(--color-brand)"},children:[n.jsx(Ct,{className:"size-4"}),n.jsxs("span",{children:["์ „ํ™” ์˜ˆ์•ฝ ",d]})]}),u.map(m=>n.jsxs("a",{href:m.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-[length:var(--fs-xs)] font-semibold transition-colors hover:bg-black/5",style:{backgroundColor:"var(--color-surface-alt)"},children:[n.jsx("span",{children:Dp(m)}),n.jsx(zn,{className:"size-3.5 shrink-0"})]},m.url)),f.length>0&&n.jsxs("div",{className:"mt-1 border-t border-black/8 pt-3",children:[n.jsx("p",{className:"mb-2 text-[length:var(--fs-xs)] ",children:"๋ฌธ์˜"}),n.jsx("ul",{className:"flex flex-wrap gap-2",children:f.map(m=>n.jsx("li",{children:n.jsxs("a",{href:m.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-[length:var(--fs-xs)] transition-colors hover:bg-black/5",children:[n.jsx("span",{children:pl(m)}),n.jsx(zn,{className:"size-3"})]})},m.url))})]}),u.length===0&&n.jsx("p",{className:"text-[length:var(--fs-xs)] leading-relaxed ",children:"์˜จ๋ผ์ธ ์˜ˆ์•ฝ ์ฑ„๋„์€ ๋“ฑ๋ก๋˜์ง€ ์•Š์•˜์Šต๋‹ˆ๋‹ค. ์˜ˆ์•ฝ์€ ์ „ํ™”๋กœ ๋ฌธ์˜ํ•ด ์ฃผ์„ธ์š”."})]})]}),n.jsx(By,{})]})})}function Yy(){const s=te(),r=t0(s);return r.length===0?null:n.jsx(gt,{id:"space",title:qe(s,"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:r.map(o=>n.jsxs(Eu,{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 Gy(){const s=te(),{place:r}=s,o=Cn(s);if(!r.phone&&!r.email&&o.length===0)return null;const u=[...r.phone?[{key:"phone",icon:Ct,label:"์ „ํ™”",value:r.phone,href:`tel:${r.phone}`}]:[],...r.email?[{key:"email",icon:Ep,label:"์ด๋ฉ”์ผ",value:r.email,href:`mailto:${r.email}`}]:[],...o.map(f=>({key:f.url,icon:su,label:pl(f),value:"๋ฐ”๋กœ ๊ฐ€๊ธฐ",href:f.url,external:!0}))];return n.jsx(gt,{id:"inquiry",title:qe(s,"inquiry","๋ฌธ์˜ ์•ˆ๋‚ด"),lead:`๊ถ๊ธˆํ•œ ์ ์€ ์•„๋ž˜๋กœ ์—ฐ๋ฝ ์ฃผ์‹œ๋ฉด ${r.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,m="external"in f&&f.external;return n.jsx("li",{children:n.jsxs("a",{href:f.href,...m?{target:"_blank",rel:"noopener noreferrer"}:{},className:"panel flex h-full items-center justify-between gap-3 p-5 transition-opacity hover:opacity-90",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})]})]}),m&&n.jsx(zn,{className:"size-4 shrink-0 opacity-40"})]})},f.key)})})})}function $y(){const s=te(),r=a0(s);return r.length===0?null:n.jsx(gt,{id:"exhibition",tone:"alt",title:qe(s,"exhibition","๊ด€๋žŒ ์•ˆ๋‚ด"),lead:"๋ฐฉ๋ฌธ ์ „ ๊ด€๋žŒ ์กฐ๊ฑด์„ ํ™•์ธํ•ด ์ฃผ์„ธ์š”.",children:n.jsx("dl",{className:"panel divide-line divide-y overflow-hidden px-5",children:r.map(o=>n.jsx(Qp,{label:o.label,value:o.value},o.label))})})}function Qy(){const[s,r]=U.useState([]);return U.useEffect(()=>r(Hb()),[]),s}const Xy=["๋ด„","์—ฌ๋ฆ„","๊ฐ€์„","๊ฒจ์šธ"];function Vy(){const s=te(),r=s.local.festivals,o=Qy(),[u,f]=U.useState(null);if(r.length===0)return null;const d=Xy.filter(b=>r.some(j=>j.season===b)),m=r.filter(b=>{var j;return!((j=b.season)!=null&&j.trim())}),g=[...o].reverse().find(b=>d.includes(b)),x="์ „์ฒด",p=u??g??null,y=p===x;return n.jsxs(gt,{id:"festival",title:"๊ณ„์ ˆ๋ณ„ ์ถ•์ œ",lead:`${s.place.addressLocality??"์ด ์ง€์—ญ"}์˜ ์ถ•์ œ์™€ ํ–‰์‚ฌ๋ฅผ ๊ณ„์ ˆ๋กœ ๋ฌถ์—ˆ์Šต๋‹ˆ๋‹ค.`,aside:p&&!y?n.jsxs("p",{className:"text-muted text-[length:var(--fs-xs)]",children:["์ง€๊ธˆ์€ ",p," ์ถ•์ œ์ž…๋‹ˆ๋‹ค"]}):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,x].map(b=>{const j=p===b;return n.jsx("button",{type:"button",role:"tab","aria-selected":j,onClick:()=>f(b),className:"border-line rounded-full border px-4 py-1.5 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-90",style:j?{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)",borderColor:"transparent"}:void 0,children:b},b)})}),n.jsxs("div",{className:"space-y-8",children:[d.map(b=>{const j=r.filter(T=>T.season===b);return n.jsxs("div",{hidden:!y&&p!==null&&p!==b,children:[n.jsx("h3",{className:"border-line mb-4 border-b pb-2 text-[length:var(--fs-sm)] font-bold",children:b}),n.jsx(ip,{items:j,label:`${b} ์ถ•์ œ`,remount:p})]},b)}),m.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(ip,{items:m,label:"๊ณ„์ ˆ ์—†์ด ์—ด๋ฆฌ๋Š” ํ–‰์‚ฌ"})]})]})]})}function ip({items:s,label:r,remount:o}){return n.jsx(vr,{label:r,children:s.map(u=>n.jsx($p,{basis:"basis-[76%] sm:basis-1/3 lg:basis-1/4",children:n.jsxs("a",{href:k0(u.searchQuery),target:"_blank",rel:"noopener noreferrer nofollow",className:"panel group flex h-full flex-col overflow-hidden transition-opacity hover:opacity-95",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 ",children:u.period}),u.location&&n.jsxs("span",{className:"text-muted flex items-start gap-1 text-[length:var(--fs-xs)]",children:[n.jsx($s,{className:"mt-0.5 size-3 shrink-0 "}),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)] transition-opacity group-hover:opacity-100",children:[n.jsx("span",{children:"๊ฒ€์ƒ‰์œผ๋กœ ์—ด๊ธฐ"}),n.jsx(zn,{className:"size-3.5"})]})]})]})},u.name))},o??"all")}const Rs=80,rp=[{id:"all",label:"์ „์ฒด",test:()=>!0},{id:"w5",label:"๊ฑธ์–ด์„œ 5๋ถ„ ์ด๋‚ด",test:s=>s<=5*Rs},{id:"w10",label:"๊ฑธ์–ด์„œ 10๋ถ„ ์ด๋‚ด",test:s=>s<=10*Rs},{id:"far",label:"๊ฑธ์–ด์„œ 10๋ถ„ ์ด์ƒ",test:s=>s>10*Rs}];function $o(s){if(Number.isFinite(s))return`๋„๋ณด ์•ฝ ${Math.max(1,Math.round(s/Rs))}๋ถ„`}function Zy(s){const r=/^([\d.]+)\s*(km|m)$/i.exec((s??"").trim());return r?Number(r[1])*(r[2].toLowerCase()==="km"?1e3:1):1/0}function En(s){return s.distanceMeters!=null?Number.isFinite(s.distanceMeters)&&s.distanceMeters>=0?s.distanceMeters:1/0:Zy(s.distanceText)}function Ky(){const s=te(),{local:r}=s,o=r.restaurants.filter(b=>b.imageUrl),u=o.length>0||r.attractions.length>0,[f,d]=U.useState("all");if(!u)return null;const m=[...o,...r.attractions],g=b=>m.filter(j=>b.test(En(j))).length,x=rp.filter((b,j)=>j===0||g(b)>0&&g(b)b.id===f)??rp[0],y=b=>p.test(En(b));return n.jsxs(gt,{id:"guide",tone:"alt",title:"์ฃผ๋ณ€ ์•ˆ๋‚ด",lead:`${s.place.addressLocality??"์ฃผ๋ณ€"} ์ง€์—ญ์˜ ๋ง›์ง‘ ยท ๋ช…์†Œ ์•ˆ๋‚ด์ž…๋‹ˆ๋‹ค.`,aside:r.syncedAt?n.jsxs("p",{className:"text-muted text-[length:var(--fs-xs)]",children:[Lp(r.syncedAt)," ๊ฐฑ์‹ "]}):void 0,footnote:n.jsxs(n.Fragment,{children:["๋„๋ณด ์‹œ๊ฐ„์€ ์ˆ™์†Œ์—์„œ ์žฐ ์ง์„ ๊ฑฐ๋ฆฌ๋ฅผ ๋ถ„์† ",Rs,"m ๋กœ ํ™˜์‚ฐํ•œ ๊ฐ’์ž…๋‹ˆ๋‹ค. ์‹ค์ œ๋กœ ๊ฑท๋Š” ๊ธธ์€ ์ด๋ณด๋‹ค ๊น๋‹ˆ๋‹ค."]}),children:[x.length>1&&n.jsx("div",{className:"mb-6 flex flex-wrap gap-1.5",role:"tablist","aria-label":"๊ฑฐ๋ฆฌ",children:x.map(b=>{const j=b.id===f,T=g(b);return n.jsxs("button",{type:"button",role:"tab","aria-selected":j,onClick:()=>d(b.id),className:"border-line rounded-full border px-4 py-1.5 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-90",style:j?{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)",borderColor:"transparent"}:void 0,children:[b.label," ",n.jsx("span",{className:"tabular-nums ",children:T})]},b.id)})}),n.jsxs("div",{className:"space-y-10",children:[o.length>0&&n.jsx(cp,{title:"์ฃผ๋ณ€ ๋ง›์ง‘",icon:db,places:o,within:y}),r.attractions.length>0&&n.jsx(cp,{title:"์ฃผ๋ณ€ ๋ช…์†Œ",icon:$s,places:r.attractions,within:y})]})]})}function Jy({icon:s,children:r}){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(s,{className:"size-4 "}),n.jsx("span",{children:r})]})}function cp({title:s,icon:r,places:o,within:u}){const f=o.filter(u);return n.jsxs("div",{children:[n.jsx(Jy,{icon:r,children:s}),n.jsx(vr,{label:s,children:f.map(d=>n.jsx($p,{basis:"basis-[76%] sm:basis-1/3 lg:basis-1/4",children:n.jsxs("a",{href:Xh(d.searchQuery),target:"_blank",rel:"noopener noreferrer nofollow",className:"panel group flex h-full flex-col overflow-hidden transition-opacity hover:opacity-95",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}),(Number.isFinite(En(d))||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:[$o(En(d))??d.distanceText,n.jsx("span",{className:"ml-1 font-normal ",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.location&&n.jsx("span",{className:"text-muted text-[length:var(--fs-xs)] break-words",children:d.location}),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)] transition-opacity group-hover:opacity-100",children:[n.jsx("span",{children:"๊ฒ€์ƒ‰์œผ๋กœ ์—ด๊ธฐ"}),n.jsx(zn,{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:Xh(d.searchQuery),rel:"nofollow",children:d.name}),d.distanceText&&n.jsxs("span",{children:[" ",d.distanceText,$o(En(d))&&` ยท ${$o(En(d))}`]}),d.description&&n.jsx("p",{children:d.description}),d.location&&n.jsx("p",{children:d.location})]},d.name))}),f.length===0&&n.jsx("p",{className:"text-muted text-[length:var(--fs-sm)]",children:"์ด ๊ฑฐ๋ฆฌ ์•ˆ์—๋Š” ์—†์Šต๋‹ˆ๋‹ค."})]})}function Wy(s){return s===0?"๋ง‘์Œ":s>=1&&s<=2?"๊ตฌ๋ฆ„๋งŽ์Œ":s===3?"ํ๋ฆผ":s===45||s===48?"์•ˆ๊ฐœ":s>=51&&s<=57?"์ด์Šฌ๋น„":s>=61&&s<=67?"๋น„":s>=71&&s<=77||s===85||s===86?"๋ˆˆ":s>=80&&s<=82?"์†Œ๋‚˜๊ธฐ":s>=95&&s<=99?"๋‡Œ์šฐ":"ํ๋ฆผ"}function Fy({initial:s,regionCode:r,latitude:o,longitude:u}){const[f,d]=U.useState(s);return U.useEffect(()=>{if(!r||o==null||u==null)return;const m=new AbortController;async function g(){var p;try{const y=new URLSearchParams({region_code:r,latitude:String(o),longitude:String(u)}),b=await fetch(`/v1/local/weather?${y}`,{signal:m.signal});if(!b.ok)return;const j=await b.json();if(!((p=j==null?void 0:j.result)!=null&&p.success)||!j.weather)return;d(T=>({temperature:Number(j.weather.temperature),condition:Wy(Number(j.weather.weather_code)),note:T==null?void 0:T.note,observedAt:j.weather.observed_at,stale:!!j.stale}))}catch{}}g();const x=window.setInterval(()=>void g(),600*1e3);return()=>{m.abort(),window.clearInterval(x)}},[o,u,r]),f}function op(s,r){const[o,u]=U.useState();return U.useEffect(()=>{if(!(s!=null&&s.length))return;let f=[],d=-1;const m=()=>{f.length||(f=s.map((j,T)=>T));const p=f.filter(j=>j!==d),y=p.length?p:f,b=y[Math.floor(Math.random()*y.length)];f=f.filter(j=>j!==b),d=b,u({lines:s,index:b})},g=window.setTimeout(m,0),x=window.setInterval(m,2e4);return()=>{window.clearTimeout(g),window.clearInterval(x)}},[s]),(s==null?void 0:s[(o==null?void 0:o.lines)===s?o.index:0])??r}function Iy(s){const r=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})/.exec(s??"");if(!r)return;const[,,o,u,f,d]=r;return`${Number(o)}์›” ${Number(u)}์ผ ${f}:${d} ๊ด€์ธก`}function Py(){var p,y,b,j;const s=te(),r=Fy({initial:s.local.weather,regionCode:s.place.regionCode,latitude:s.place.latitude,longitude:s.place.longitude}),o=Vb((r==null?void 0:r.condition)??""),u=Zb((r==null?void 0:r.temperature)??0),f=s.local.weather,d=(r==null?void 0:r.condition)==="๊ตฌ๋ฆ„๋งŽ์Œ"?"๊ตฌ๋ฆ„๋งŽ์Œ":o,m=op((p=f==null?void 0:f.noteSets)==null?void 0:p[d],((y=f==null?void 0:f.notes)==null?void 0:y[o])??(r==null?void 0:r.note)),g=op((b=f==null?void 0:f.tempNoteSets)==null?void 0:b[u],(j=f==null?void 0:f.tempNotes)==null?void 0:j[u]);if(!r)return null;const x=Iy(r.observedAt);return n.jsx(gt,{id:"weather",tone:"alt",title:"์˜ค๋Š˜์˜ ๋‚ ์”จ",children:n.jsxs(Eu,{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(r.temperature)}),n.jsx("span",{className:"text-[length:var(--fs-lead)] ",children:"ยฐC"}),n.jsx("span",{className:"text-[length:var(--fs-lead)] font-semibold",children:r.condition})]}),x&&n.jsxs("span",{className:"text-muted text-[length:var(--fs-xs)] tabular-nums",children:[x,r.stale&&" ยท ์ตœ๊ทผ ๊ด€์ธก๊ฐ’"]})]}),m&&n.jsx("p",{className:"measure serif text-[length:var(--fs-lead)] leading-loose ",children:m}),g&&n.jsxs("p",{className:"measure flex items-start gap-2.5 text-[length:var(--fs-sm)] leading-relaxed ",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:g})]})]})]})})}function e1(){const s=te(),r=fu(s),o=s.theme.sections.find(w=>w.id==="photos"),u=(o==null?void 0:o.variantId)??"photos.grid",[f,d]=U.useState(null),m=U.useRef(null),[g,x]=U.useState(0),[p,y]=U.useState({prev:!1,next:!0}),b=U.useCallback(()=>{const w=m.current;if(!w)return;const k=w.clientWidth,R=w.scrollWidth-k;x(k>0?Math.round(w.scrollLeft/k):0),y({prev:w.scrollLeft>8,next:w.scrollLeft(b(),window.addEventListener("resize",b),()=>window.removeEventListener("resize",b)),[b]),wu({box:m,interval:Su,advance:()=>Gp(m.current,1)});const j=U.useCallback(w=>{const k=m.current;if(!k)return;const R=window.matchMedia("(prefers-reduced-motion: reduce)").matches;k.scrollBy({left:w*k.clientWidth,behavior:R?"auto":"smooth"})},[]),T=U.useCallback(()=>d(null),[]),S=U.useCallback(w=>d(k=>k===null?null:(k+w+r.length)%r.length),[r.length]);return U.useEffect(()=>{if(f===null)return;const w=R=>{R.key==="Escape"&&T(),R.key==="ArrowLeft"&&S(-1),R.key==="ArrowRight"&&S(1)},k=document.body.style.overflow;return document.body.style.overflow="hidden",window.addEventListener("keydown",w),()=>{document.body.style.overflow=k,window.removeEventListener("keydown",w)}},[f,T,S]),r.length===0?null:n.jsxs(gt,{id:"gallery",title:(o==null?void 0:o.name)||"๊ณต๊ฐ„ ๊ฐค๋Ÿฌ๋ฆฌ",children:[u==="photos.carousel"?n.jsxs("div",{className:"relative",children:[n.jsx("ul",{ref:m,onScroll:b,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:r.map((w,k)=>n.jsx("li",{className:"w-full shrink-0 snap-center lg:w-auto",children:n.jsx(Qo,{image:w,onOpen:()=>d(k),className:"aspect-4/3 rounded-lg"})},w.mediaId))}),r.length>1&&n.jsxs(n.Fragment,{children:[n.jsx(up,{dir:"prev",show:p.prev,onClick:()=>j(-1)}),n.jsx(up,{dir:"next",show:p.next,onClick:()=>j(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(g+1,r.length)," / ",r.length]})]})]}):u==="photos.masonry"?n.jsx("ul",{className:"columns-2 gap-3 sm:columns-3 lg:columns-4 [&>li]:mb-3",children:r.map((w,k)=>n.jsx("li",{className:"break-inside-avoid",children:n.jsx(Qo,{image:w,onOpen:()=>d(k),className:"rounded-lg",free:!0})},w.mediaId))}):n.jsx("ul",{className:"grid grid-cols-2 gap-3 sm:grid-cols-3 lg:grid-cols-4",children:r.map((w,k)=>n.jsx("li",{children:n.jsx(Qo,{image:w,onOpen:()=>d(k),className:"aspect-square rounded-lg"})},w.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:T,children:[n.jsx("button",{type:"button",onClick:T,"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(iu,{className:"size-6"})}),n.jsx(fp,{dir:"prev",onClick:()=>S(-1)}),n.jsx(fp,{dir:"next",onClick:()=>S(1)}),n.jsxs("figure",{className:"flex max-h-[85vh] w-full max-w-5xl flex-col items-center gap-3",onClick:w=>w.stopPropagation(),children:[n.jsx("img",{src:r[f].url,alt:r[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:[r[f].caption??r[f].alt,n.jsxs("span",{className:"ml-2 tabular-nums",children:[f+1," / ",r.length]})]})]})]})]})}function up({dir:s,show:r,onClick:o}){const u=s==="prev"?da:ma;return n.jsx("button",{type:"button",onClick:o,"aria-label":s==="prev"?"์ด์ „ ์‚ฌ์ง„":"๋‹ค์Œ ์‚ฌ์ง„","aria-hidden":!r,tabIndex:r?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 ${r?"opacity-100":"pointer-events-none opacity-0"} ${s==="prev"?"left-2":"right-2"}`,children:n.jsx(u,{className:"size-5"})})}function fp({dir:s,onClick:r}){const o=s==="prev"?da:ma;return n.jsx("button",{type:"button",onClick:u=>{u.stopPropagation(),r()},"aria-label":s==="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 ${s==="prev"?"left-2 sm:left-6":"right-2 sm:right-6"}`,children:n.jsx(o,{className:"size-6"})})}function Qo({image:s,onOpen:r,className:o,free:u=!1}){return n.jsx("button",{type:"button",onClick:r,className:`border-line tpl-border group relative block w-full cursor-pointer overflow-hidden border ${o}`,"aria-label":`${s.alt} ํฌ๊ฒŒ ๋ณด๊ธฐ`,children:n.jsx("img",{src:s.url,alt:s.alt,loading:"lazy",decoding:"async",width:s.width,height:s.height,className:u?"h-auto w-full":"size-full object-cover transition-transform duration-500 group-hover:scale-105"})})}function dp(){const s=te(),{place:r,routes:o}=s,[u,f]=U.useState(!1),d=r.roadAddress??r.address;if(!d)return null;const{latitude:m,longitude:g}=r,x=m!=null&&g!=null,p=U0(r.name,m,g),y=async()=>{try{await navigator.clipboard.writeText(d),f(!0),setTimeout(()=>f(!1),2e3)}catch{}};return n.jsxs(gt,{id:"location",title:"์˜ค์‹œ๋Š” ๊ธธ",lead:"์ฃผ์†Œ์™€ ์ฃผ์š” ๊ฑฐ์ ๊นŒ์ง€์˜ ์ด๋™ ์‹œ๊ฐ„์„ ์•ˆ๋‚ดํ•ฉ๋‹ˆ๋‹ค.",children:[n.jsxs("div",{className:"grid gap-6 lg:grid-cols-12 lg:gap-8",children:[x&&n.jsx("div",{className:"border-line tpl-border overflow-hidden rounded-xl border lg:col-span-7",children:n.jsx("iframe",{title:`${r.name} ์œ„์น˜ ์ง€๋„`,src:R0(m,g),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:x?"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:y,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-95",children:[u?n.jsx(nu,{className:"size-3.5"}):n.jsx(Vv,{className:"size-3.5"}),n.jsx("span",{children:u?"๋ณต์‚ฌ์™„๋ฃŒ":"๋ณต์‚ฌ"})]})]}),r.phone&&n.jsxs("p",{className:"text-muted mt-2 text-[length:var(--fs-sm)]",children:["๋ฌธ์˜:"," ",n.jsx("a",{href:`tel:${r.phone}`,className:"underline-offset-2 hover:underline",children:r.phone})]}),n.jsxs("div",{className:"mt-5 flex flex-wrap gap-2.5",children:[n.jsxs("a",{href:Hp(r.name,m,g),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(qo,{className:"size-4"}),n.jsx("span",{children:"๋„ค์ด๋ฒ„ ๊ธธ์ฐพ๊ธฐ"})]}),n.jsxs("a",{href:O0(r.name,m,g),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(qo,{className:"size-4"}),n.jsx("span",{children:"์นด์นด์˜ค ๊ธธ์ฐพ๊ธฐ"})]}),p&&n.jsxs("a",{href:p,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(qo,{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(Hv,{className:"size-4 "}),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:[s.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(b=>n.jsxs("tr",{children:[n.jsx("th",{scope:"row",className:"p-4 text-left font-bold",children:b.destination}),n.jsx("td",{className:"p-4 font-semibold",children:b.byCar??"โ€”"}),n.jsx("td",{className:"p-4 ",children:b.byTransit??"โ€”"}),n.jsx("td",{className:"text-muted p-4 tabular-nums",children:b.distanceText??"โ€”"}),n.jsx("td",{className:"text-muted hidden p-4 md:table-cell",children:b.note??""})]},b.destination))})]})})})]})]})}function t1(){const s=te(),r=Kb(s);if(r.length===0)return null;const o=r.some(u=>u.sourceType===Sb.TEMPLATE);return n.jsx(gt,{id:"faq",tone:"alt",title:"์ž์ฃผ ๋ฌป๋Š” ์งˆ๋ฌธ",lead:o?void 0:"์•„๋ž˜ ๋‹ต๋ณ€์€ ๋ชจ๋‘ ์‚ฌ์—…์ž๊ฐ€ ํ™•์ธํ•œ ๋‚ด์šฉ์ž…๋‹ˆ๋‹ค.",children:n.jsx("div",{className:r.length>4?"grid gap-3 lg:grid-cols-2 lg:gap-4":"space-y-3",children:r.map(u=>n.jsxs("details",{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:u.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 ",children:u.answer})]},u.faqId))})})}function Xp(){var d,m,g,x;const s=te(),{place:r,site:o}=s,u=qb(s),f=r.roadAddress??r.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:r.name}),n.jsxs("div",{className:"space-y-2 text-[length:var(--fs-sm)] ",children:[f&&n.jsxs("p",{className:"flex items-start gap-2",children:[n.jsx($s,{className:"mt-1 size-4 shrink-0 "}),n.jsx("span",{children:f})]}),r.phone&&n.jsxs("p",{className:"flex items-center gap-2",children:[n.jsx(Ct,{className:"size-4 shrink-0 "}),n.jsx("a",{href:`tel:${r.phone}`,className:"underline-offset-2 hover:underline",children:r.phone})]}),r.email&&n.jsxs("p",{className:"flex items-center gap-2",children:[n.jsx(Ep,{className:"size-4 shrink-0 "}),n.jsx("a",{href:`mailto:${r.email}`,className:"underline-offset-2 hover:underline",children:r.email})]})]})]}),u.length>0&&n.jsxs("nav",{"aria-label":"๊ณต์‹ ์ฑ„๋„",className:"md:col-span-5",children:[n.jsx("h2",{className:"label mb-3 !text-current ",children:"๊ณต์‹ ์ฑ„๋„"}),n.jsx("ul",{className:"flex flex-wrap gap-2",children:u.map(p=>n.jsx("li",{children:n.jsxs("a",{href:p.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:pl(p)}),n.jsx(Kv,{className:"size-3.5"})]})},p.url))})]})]}),n.jsxs("div",{className:"flex flex-col gap-3 pt-6 text-[length:var(--fs-xs)] 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:["์ƒํ˜ธ: ",r.name]}),((d=r.legal)==null?void 0:d.representative)&&n.jsxs("span",{children:["๋Œ€ํ‘œ: ",r.legal.representative]}),((m=r.legal)==null?void 0:m.businessRegistrationNumber)&&n.jsxs("span",{children:["์‚ฌ์—…์ž๋“ฑ๋ก๋ฒˆํ˜ธ: ",r.legal.businessRegistrationNumber]}),((g=r.legal)==null?void 0:g.mailOrderNumber)&&n.jsxs("span",{children:["ํ†ต์‹ ํŒ๋งค์—…์‹ ๊ณ : ",r.legal.mailOrderNumber]}),((x=r.legal)==null?void 0:x.licenseNumber)&&n.jsxs("span",{children:[r.legal.licenseLabel??"์ธํ—ˆ๊ฐ€๋ฒˆํ˜ธ",": ",r.legal.licenseNumber]})]}),n.jsxs("p",{className:"byline shrink-0",children:[n.jsxs("span",{className:"author",children:["์ž‘์„ฑยท์šด์˜ ",r.name]})," ยท ์ตœ์ข… ์—…๋ฐ์ดํŠธ: ",n.jsx("time",{dateTime:o.updatedAt,children:Qs(o.updatedAt)})]})]}),n.jsxs("p",{className:"pt-3 text-[length:var(--fs-xs)] ",children:[n.jsx("a",{href:"https://www.o2osolution.ai/",target:"_blank",rel:"noopener noreferrer",className:"underline-offset-2 hover:underline",children:"AI O2O"}),"์˜ Web4Ai๋กœ ๋งŒ๋“  ์‚ฌ์ดํŠธ์ž…๋‹ˆ๋‹ค."]})]})})}function kn(){const s=te(),r=s.place.phone,u=Ze(s)[0],f=s.links.find(d=>d.confirmed&&/kakao/i.test(d.url));return!r&&!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-[length:var(--fs-xs)] font-medium","aria-label":"์˜ค์‹œ๋Š” ๊ธธ",children:[n.jsx($s,{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-[length:var(--fs-xs)] font-medium","aria-label":pl(f),children:[n.jsx(su,{className:"size-4"}),n.jsx("span",{className:"mt-0.5",children:"๋ฌธ์˜"})]}),r&&n.jsxs("a",{href:`tel:${r}`,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(Ct,{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:pt(u)})]})}const Jt="var(--tpl-card, #fafafa)",Te="var(--tpl-border, #d6d3d1)",We="color-mix(in oklab, var(--tpl-accent, #2563eb) 55%, currentColor)",Us="var(--tpl-inverse, #1c1917)",fa="var(--tpl-bg, #ffffff)",dl="var(--tpl-text, #09090b)";function l1({n:s}){return n.jsx("span",{className:"mr-1.5 inline-grid size-[17px] translate-y-px place-items-center rounded-full text-[length:var(--fs-xs)] tabular-nums",style:{backgroundColor:We,color:fa},children:s})}function gl({id:s,name:r,subtitle:o,count:u,link:f,children:d,dark:m}){const g=gr(),x=g==="reservation"?hu:g==="oasi"?pu:g==="studio"?gu:g==="pastel"?xu:g==="editorial"?du:null,p=f?n.jsxs("a",{href:f.url,target:"_blank",rel:"noopener noreferrer",className:"text-[length:var(--fs-sm)] font-semibold underline-offset-4 transition-opacity hover:opacity-100 hover:underline",children:[f.label," โ†’"]}):void 0;return n.jsx("section",{id:s,"aria-labelledby":`${s}-heading`,className:"border-line paper w-full border-b",style:{backgroundColor:m?Us:"var(--tpl-surface, #fafafa)",color:m?fa:dl,paddingBlock:"var(--section-space)"},children:n.jsxs("div",{className:"shell",children:[x?n.jsx(x,{id:s,title:r,lead:o,aside:p}):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:`${s}-heading`,className:"h2",children:r}),p]}),o&&n.jsx("p",{className:"measure mt-3 text-[length:var(--fs-sm)] ",children:o})]}),d,u&&n.jsx("p",{className:"mt-6 text-[length:var(--fs-xs)] ",children:u})]})})}function Mn({children:s,label:r,arrows:o="header",onSelect:u,onReady:f}){return n.jsx(vr,{label:r,gap:1,arrows:o,onSelect:u,onReady:f,children:s})}function ml({source:s,verified:r,imageCredit:o}){return!(s!=null&&s.name)&&!o?null:n.jsxs("p",{className:"flex flex-wrap items-center gap-x-2 gap-y-1 text-[length:var(--fs-xs)]",children:[(s==null?void 0:s.name)&&n.jsxs("span",{children:["์ถœ์ฒ˜ ยท"," ",s.url?n.jsx("a",{href:s.url,target:"_blank",rel:"noopener noreferrer nofollow",className:"underline underline-offset-2",children:s.name}):s.name]}),o&&n.jsxs("span",{children:["์‚ฌ์ง„ ยท ",o]})]})}function Gs(s,r,o){return`์ด ${s}${o}`}const mp=["#d4551f","#1d3c74","#2a6053","#7a3b52","#a34a2a","#334b6d","#4f6b3a","#6b2f3a","#2b6b7a","#8a4b2a","#4a3f6b","#3a5a4a","#b5603a","#356b8a","#6b4a2a","#2f5b6b","#a3562a","#4a4a6b","#c8873a","#2f6b4f","#7a4a6b","#5a5a4a","#3f5f6b"];function hp(s){if(s.labelColor)return s.labelColor;const r=s.title??"";let o=0;for(let u=0;u>>0;return mp[o%mp.length]}function Vp(){const s=te(),r=al(s,"songs"),u=new Set(r.items.map(x=>{var p,y;return`${((p=x.source)==null?void 0:p.name)??""}|${((y=x.source)==null?void 0:y.url)??""}`})).size===1&&r.items.length>1,[f,d]=U.useState(0);if(r.items.length===0)return null;const m=r.items[f]??r.items[0],g=x=>[x.artist,x.year?String(x.year):void 0,x.lyricist||x.composer?`์ž‘์‚ฌ ${x.lyricist??"๋ฏธ์ƒ"} / ์ž‘๊ณก ${x.composer??"๋ฏธ์ƒ"}`:void 0,x.label].filter(Boolean).join(" ยท ");return n.jsxs(gl,{id:"songs",name:r.title||qe(s,"songs","๊ฐ€์š” ๋‹ค๋ฐฉ"),subtitle:r.subtitle,count:Gs(r.items.length,r.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:Us,color:fa,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":hp(m),"--w4-vinyl":Us},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:r.items.map((x,p)=>n.jsxs("div",{hidden:p!==f,className:"space-y-3",children:[n.jsxs("p",{className:"text-[length:var(--fs-xs)] tracking-[0.24em]",style:{color:We},children:["A๋ฉด ยท ",p+1," / ",r.items.length]}),n.jsx("h3",{className:"serif text-[length:var(--fs-h2)] leading-tight",children:x.title}),n.jsx("p",{className:"text-[length:var(--fs-xs)] ",children:g(x)}),x.story&&n.jsx("p",{className:"measure text-[length:var(--fs-sm)] leading-relaxed ",children:x.story}),x.connection&&n.jsx("p",{className:"measure text-[length:var(--fs-sm)] leading-relaxed",style:{color:We},children:x.connection}),n.jsxs("a",{href:M0(`${x.title} ${x.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(pb,{className:"size-4"}),n.jsx("span",{children:"์œ ํŠœ๋ธŒ์—์„œ ๋“ฃ๊ธฐ"})]}),!u&&n.jsx(ml,{source:x.source,verified:x.verified})]},`disc-${x.title}-${p}`))})]}),r.items.length>1&&n.jsx("div",{className:"mt-4 flex flex-wrap justify-center gap-4",children:r.items.map((x,p)=>n.jsxs("button",{type:"button",onClick:()=>d(p),"aria-pressed":p===f,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":hp(x),"--w4-vinyl":Us,boxShadow:p===f?`0 0 0 2px ${We}`:void 0}}),n.jsx("span",{className:"mt-2 block truncate text-[length:var(--fs-xs)] leading-tight ",children:x.title})]},`${x.title}-${p}`))}),n.jsxs("div",{className:"mt-6 flex flex-col items-center gap-2 text-center",children:[n.jsx("span",{className:"block w-fit border border-dashed px-2 py-1 text-[length:var(--fs-xs)] tracking-[0.1em] ",style:{borderColor:"color-mix(in oklab, currentColor 35%, transparent)"},children:"โ—Ž ๊ฐ€์‚ฌ ๋Œ€์‹  ์ด์•ผ๊ธฐ โ€” ์›๋ฌธ์€ ์‹ฃ์ง€ ์•Š์Šต๋‹ˆ๋‹ค"}),u&&r.items[0]&&n.jsx(ml,{source:r.items[0].source,verified:r.items[0].verified})]})]})}function a1(){const s=te(),r=al(s,"daily"),[o,u]=U.useState();if(U.useEffect(()=>{const x=new Date;u(`${String(x.getMonth()+1).padStart(2,"0")}-${String(x.getDate()).padStart(2,"0")}`)},[]),r.items.length===0)return null;const f=[...r.items].sort((x,p)=>x.monthDay.localeCompare(p.monthDay)),d=o===void 0?1:Math.max(0,(()=>{const x=f.findIndex(y=>y.monthDay===o);if(x>=0)return x;const p=f.findIndex(y=>y.monthDay>o);return p>=0?p:0})()),m=x=>f[(d+x+f.length)%f.length],g=f.length===1?[m(0)]:f.length===2?[m(0),m(1)]:[m(-1),m(0),m(1)];return n.jsx(gl,{id:"daily",name:r.title||qe(s,"daily","์˜ค๋Š˜์˜ ํ•œ ์žฅ"),subtitle:r.subtitle,count:Gs(f.length,r.unverified,"์žฅ"),children:n.jsx("div",{className:"flex items-start justify-center gap-4 sm:gap-6",children:f.map((x,p)=>{const y=g.indexOf(x);return n.jsx(n1,{page:x,hidden:y<0,isToday:g.length===1||y===1,muted:g.length>1&&y!==1},`${x.monthDay}-${p}`)})})})}function n1({page:s,isToday:r,muted:o,hidden:u}){const[f,d]=s.monthDay.split("-");return n.jsxs("article",{hidden:u,className:`w4-paper shrink-0 border transition-opacity ${o?"hidden w-[168px] sm:block":"w-[254px] max-w-full"}`,style:{backgroundColor:Jt,borderColor:r?We:Te,boxShadow:r?"5px 6px 0 color-mix(in oklab, currentColor 14%, transparent)":void 0},"aria-current":r?"date":void 0,children:[n.jsx("div",{className:"w4-perf h-3.5 border-b border-dashed",style:{"--tear":Jt,borderColor:Te}}),n.jsxs("div",{className:"border-b px-5 pb-3 pt-5 text-center",style:{borderColor:Te},children:[n.jsxs("p",{className:"text-[length:var(--fs-xs)] tracking-[0.2em] ",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)}),r&&n.jsx("p",{className:"mt-1.5 text-[length:var(--fs-xs)] tracking-[0.3em]",style:{color:We},children:"์˜ค๋Š˜"})]}),n.jsxs("div",{className:"space-y-2 px-5 pb-5 pt-4",children:[s.category&&n.jsx("p",{className:"text-[length:var(--fs-xs)] tracking-[0.16em] ",children:s.category}),n.jsx("h3",{className:"serif text-base font-bold leading-snug",children:s.title}),!o&&s.body&&n.jsx("p",{className:"text-[length:var(--fs-sm)] leading-relaxed ",children:s.body}),!o&&n.jsx("div",{className:"border-t border-dashed pt-2.5",style:{borderColor:Te},children:n.jsx(ml,{source:s.source,verified:s.verified})})]})]})}function Zp(){const s=te(),r=al(s,"people");return r.items.length===0?null:n.jsx(gl,{id:"people",name:r.title||qe(s,"people","์ธ๋ฌผ ์—ด์ „"),subtitle:r.subtitle,count:r.items.some(o=>!o.imageUrl)?`${Gs(r.items.length,r.unverified,"๋ช…")} ยท ์‚ฌ์ง„์ด ์—†๋Š” ์ธ๋ฌผ์€ ์ด๋ฆ„ ํ™œ์ž๋กœ ๋Œ€์‹ ํ•ฉ๋‹ˆ๋‹ค`:Gs(r.items.length,r.unverified,"๋ช…"),dark:!0,children:n.jsxs("div",{className:"tpl-border border",style:{backgroundColor:Us,borderColor:"color-mix(in oklab, currentColor 22%, transparent)"},children:[n.jsx("div",{className:"w4-film-perf h-2.5 "}),n.jsx("div",{className:"px-3 py-4",children:n.jsx(Mn,{label:"์ธ๋ฌผ ๋ชฉ๋ก",arrows:"overlay",children:r.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-[length:var(--fs-xs)] ",children:["ํ˜ธ ",o.aka]})]}),n.jsx("p",{className:"mt-0.5 text-[length:var(--fs-xs)] ",children:[o.role,o.years].filter(Boolean).join(" ยท ")}),o.oneLine&&n.jsx("p",{className:"mt-2 text-[length:var(--fs-sm)] leading-relaxed ",children:o.oneLine}),n.jsx("div",{className:"mt-2",children:n.jsx(ml,{source:o.source,verified:o.verified,imageCredit:o.imageCredit})})]},`${o.name}-${u}`))})}),n.jsx("div",{className:"w4-film-perf h-2.5 "})]})})}function Kp(){const s=te(),r=al(s,"chronicle");if(r.items.length===0)return null;const o=[...r.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(gl,{id:"chronicle",name:r.title||qe(s,"chronicle","์‹œ๊ฐ„์˜ ๊ณจ๋ชฉ"),subtitle:r.subtitle,count:`๋ถ‰์€ ์ ์€ ๋„์‹œ์˜ ์„ฑ๊ฒฉ์ด ๋ฐ”๋€ ํ•ด์ž…๋‹ˆ๋‹ค ยท ${u}๊ฐœ / ์ „์ฒด ${o.length}๊ฐœ`,children:n.jsx(Mn,{label:"์—ฐํ‘œ",children:o.map((f,d)=>{const m=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:m?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:Te,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:m?We:Jt,borderColor:m?We:Te}})]}),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:Te}}),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-[length:var(--fs-sm)] leading-relaxed ",children:f.summary}),f.place&&n.jsxs("p",{className:"text-[length:var(--fs-xs)] ",children:["์ง€๊ธˆ ์ด ์ž๋ฆฌ ยท ",f.place]}),n.jsx(ml,{source:f.source,verified:f.verified,imageCredit:f.imageCredit})]})]})]},`${f.year??"x"}-${f.title}-${d}`)})})})}function Jp(){const s=te(),r=U.useMemo(()=>al(s,"reading"),[s]),o=r.items;if(o.length===0)return null;const u=s.place.addressLocality??"์ง€์—ญ";return n.jsx(gl,{id:"reading",name:r.title||qe(s,"reading",`${u} ์ฝ๊ธฐ`),subtitle:r.subtitle,children:n.jsx(Mn,{label:`${u} ์ฝ๊ธฐ`,children:o.map((f,d)=>n.jsx("article",{className:"w-[86%] shrink-0 grow-0 sm:w-[min(600px,56%)]",children:n.jsxs("div",{className:"h-full border p-5",style:{backgroundColor:Jt,borderColor:Te},children:[f.group&&n.jsxs("p",{className:"text-[length:var(--fs-xs)] font-bold tracking-[0.18em]",style:{color:We},children:[f.group,f.year!=null&&n.jsxs("span",{className:"font-normal ",children:[" ยท ",f.year]})]}),n.jsx("h3",{className:"serif mt-2 border-b-2 pb-2.5 text-xl leading-snug font-bold",style:{borderColor:"currentColor"},children:f.title}),n.jsx("p",{className:"mt-3 text-[length:var(--fs-body)] leading-[1.8] break-keep ",children:f.body}),n.jsx("div",{className:"mt-4 border-t border-dashed pt-2.5",style:{borderColor:Te},children:n.jsx(ml,{source:f.source,verified:f.verified})})]})},`${f.title}-${d}`))})})}function Wp(){const s=te(),r=al(s,"postcard");return r.items.length===0?null:n.jsx(gl,{id:"postcard",name:r.title||qe(s,"postcard","์˜ค๋Š˜์˜ ์—ฝ์„œ"),subtitle:r.subtitle,count:Gs(r.items.length,r.unverified,"์žฅ"),children:n.jsx(Mn,{label:"์—ฝ์„œ ๋ชฉ๋ก",children:r.items.map((o,u)=>n.jsxs("article",{className:"w4-paper w-[304px] shrink-0 snap-center border p-4",style:{backgroundColor:Jt,borderColor:dl},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:Te}}),o.imageUrl&&n.jsxs("p",{className:"mt-1 mb-3.5 text-[length:var(--fs-xs)] leading-tight ",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:Te},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-[length:var(--fs-xs)] ",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-[length:var(--fs-xs)] leading-tight ",style:{borderColor:Te},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-[length:var(--fs-xs)] 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:Te},children:n.jsx(ml,{source:o.source,verified:o.verified})})]},`${o.line}-${u}`))})})}function s1(){const s=te(),r=al(s,"quiz"),[o,u]=U.useState(new Set);if(r.items.length===0)return null;const f=d=>u(m=>{const g=new Set(m);return g.has(d)?g.delete(d):g.add(d),g});return n.jsx(gl,{id:"quiz",name:r.title||qe(s,"quiz","๋’ค์ง‘์–ด ๋ณด๋Š” ์งˆ๋ฌธ"),subtitle:r.subtitle,count:`์ •๋‹ต์€ ๋‘์ง€ ์•Š์Šต๋‹ˆ๋‹ค โ€” ํžŒํŠธ์™€ ์ถœ์ฒ˜๊นŒ์ง€๋งŒ ยท ์ด ${r.items.length}๋ฌธํ•ญ`,children:n.jsx(Mn,{label:"์งˆ๋ฌธ ๋ชฉ๋ก",children:r.items.map((d,m)=>{const g=o.has(m);return n.jsx("button",{type:"button",onClick:()=>f(m),"aria-pressed":g,"aria-label":`${m+1}๋ฒˆ ๋ฌธ์ œ ${g?"์•ž๋ฉด ๋ณด๊ธฐ":"ํžŒํŠธ ๋ณด๊ธฐ"}`,className:`w4-flip ${g?"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:Jt,borderColor:dl},children:[n.jsxs("span",{className:"text-[length:var(--fs-xs)] tracking-[0.16em] ",children:["๋ฌธ์ œ ",m+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-[length:var(--fs-xs)] 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:Jt,borderColor:We},children:[n.jsx("span",{className:"text-[length:var(--fs-xs)] tracking-[0.16em]",style:{color:We},children:"ํžŒํŠธ"}),n.jsx("span",{className:"text-[length:var(--fs-sm)] leading-relaxed ",children:d.hint??"ํžŒํŠธ๊ฐ€ ์•„์ง ์—†์Šต๋‹ˆ๋‹ค."}),n.jsxs("span",{className:"mt-auto space-y-1 border-t border-dashed pt-2.5",style:{borderColor:Te},children:[d.topic&&n.jsx("span",{className:"block text-[length:var(--fs-xs)] ",children:d.topic}),n.jsx(ml,{source:d.source,verified:d.verified})]})]})]})},`${d.question}-${m}`)})})})}const Ll=256,Ms=318,wn=168,pp=34,i1=16,gp=4;function Fp(s,r,o){const u=Ll*2**o,f=s*Math.PI/180;return{x:(r+180)/360*u,y:(1-Math.log(Math.tan(f)+1/Math.cos(f))/Math.PI)/2*u}}function r1(s){if(s.length<2)return 15;for(let r=i1;r>gp;r-=1){const o=s.map(d=>Fp(d.lat,d.lng,r)),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<=Ms-pp*2&&f<=wn-pp*2)return r}return gp}function c1(s,r){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=r;return s.forEach((d,m)=>{const g=o(d);g&&(u.push({label:String(m+1),...g,stop:d,from:f&&!o1(f,g)?f:void 0}),f=g)}),u}function o1(s,r){return Math.abs(s.lat-r.lat)<1e-5&&Math.abs(s.lng-r.lng)<1e-5}function u1(s){const o=s.map(u=>({...u}));for(let u=1;uMath.hypot(o[u].x-y.x,o[u].y-y.y)<27);if(!d)break;const m=o[u].x-d.x,g=o[u].y-d.y,x=Math.hypot(m,g)||1,p=(27-x)/x;o[u].x+=(m||1)*p,o[u].y+=g*p}return o}function f1(s){return s.from?D0(s.from,{name:s.stop.name,lat:s.lat,lng:s.lng}):Hp(s.stop.searchQuery??s.stop.name,s.lat,s.lng)}function d1({stops:s}){const{place:r}=te(),o=r.latitude!=null&&r.longitude!=null?{name:r.name,lat:r.latitude,lng:r.longitude}:void 0,u=s.filter(S=>S.latitude!=null&&S.longitude!=null);if(u.length===0||u.length===1&&s.length>1)return null;const f=c1(s,o),d=r1(f),m=u1(f.map(S=>Fp(S.lat,S.lng,d))),g=(Math.min(...m.map(S=>S.x))+Math.max(...m.map(S=>S.x)))/2,x=(Math.min(...m.map(S=>S.y))+Math.max(...m.map(S=>S.y)))/2,p=g-Ms/2,y=x-wn/2,b=2**d,j=[];for(let S=Math.floor(p/Ll);S<=Math.floor((p+Ms)/Ll);S+=1)for(let w=Math.floor(y/Ll);w<=Math.floor((y+wn)/Ll);w+=1){if(w<0||w>=b)continue;const k=(S%b+b)%b;j.push({key:`${S}-${w}`,url:`https://tile.openstreetmap.org/${d}/${k}/${w}.png`,left:S*Ll-p,top:w*Ll-y})}const T=m.map(S=>`${(S.x-p).toFixed(1)},${(S.y-y).toFixed(1)}`).join(" ");return n.jsxs("div",{className:"relative mt-3.5 overflow-hidden border-y",style:{height:wn,borderColor:Te,backgroundColor:"#e8e5df"},children:[j.map(S=>n.jsx("img",{src:S.url,alt:"",width:Ll,height:Ll,loading:"lazy",decoding:"async",className:"pointer-events-none absolute max-w-none",style:{left:S.left,top:S.top,filter:"grayscale(1) contrast(0.95) opacity(0.55)"}},S.key)),n.jsx("svg",{className:"pointer-events-none absolute inset-0",width:Ms,height:wn,viewBox:`0 0 ${Ms} ${wn}`,children:n.jsx("polyline",{points:T,fill:"none",stroke:We,strokeWidth:"2",strokeDasharray:"5 4",strokeLinecap:"round",strokeLinejoin:"round",opacity:"0.85"})}),f.map((S,w)=>{const k=m[w];return n.jsx("a",{href:f1(S),target:"_blank",rel:"noopener noreferrer",title:S.from?`${S.from.name} โ†’ ${S.stop.name} ๊ธธ์ฐพ๊ธฐ`:`${S.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-[length:var(--fs-xs)] font-bold whitespace-nowrap shadow-sm transition-transform hover:scale-110",style:{left:k.x-p,top:k.y-y,backgroundColor:We,color:fa,border:`1.5px solid ${fa}`},children:S.label},S.label)}),n.jsx("span",{className:"absolute right-1 bottom-0.5 bg-white/70 px-1 text-[length:var(--fs-xs)] leading-tight text-stone-600",children:"ยฉ OpenStreetMap"})]})}function m1(s){const r=Math.floor(s/60),o=s%60;return[r>0?`${r}์‹œ๊ฐ„`:"",o>0?`${o}๋ถ„`:""].filter(Boolean).join(" ")||"0๋ถ„"}function Po(s){var r;return(r=s.days)!=null&&r.length?s.days.map(o=>({label:o.label,startTime:o.startTime,stops:o.stops??[]})):[{startTime:s.startTime,stops:s.stops??[]}]}function h1({item:s,badge:r,startTime:o,stops:u,first:f,placeName:d}){const m=Lb({name:s.name,startTime:o,stops:u});return n.jsxs("article",{className:"w4-paper w-[320px] shrink-0 snap-center border",style:{backgroundColor:Jt,borderColor:Te},children:[n.jsxs("div",{className:"flex items-center justify-between gap-2 border-b px-4 py-2.5",style:{borderColor:Te},children:[n.jsx("span",{className:"border px-2 py-0.5 text-[length:var(--fs-xs)] font-bold",style:f?{backgroundColor:dl,color:fa,borderColor:dl}:{borderColor:Te},children:r}),n.jsxs("span",{className:"text-[length:var(--fs-xs)] ",children:[m.from,"โ€“",m.to," ยท ",m1(m.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:s.name}),f&&s.audience&&n.jsx("p",{className:"text-[length:var(--fs-sm)] ",children:s.audience}),f&&s.why&&n.jsx("p",{className:"text-[length:var(--fs-sm)] leading-relaxed ",children:s.why}),f&&n.jsxs("p",{className:"text-[length:var(--fs-xs)] ",children:[d,"์—์„œ ์ถœ๋ฐœ ยท ",m.from]})]}),n.jsx(d1,{stops:m.stops.map(g=>g.stop)}),n.jsx("ol",{className:"mt-3 px-4 pb-3",children:m.stops.map((g,x)=>n.jsxs("li",{className:"grid grid-cols-[46px_minmax(0,1fr)] gap-2.5",children:[n.jsx("span",{className:"serif pt-2 text-[length:var(--fs-sm)] tabular-nums ",children:g.time}),n.jsxs("div",{className:"border-l pb-5 pl-3",style:{borderColor:Te},children:[g.move>0&&n.jsxs("p",{className:"pt-1 text-[length:var(--fs-xs)] ",children:["โ†“ ",g.move,"๋ถ„ ์ด๋™"]}),n.jsxs("div",{className:"flex items-start gap-2.5 pt-1",children:[g.stop.imageUrl&&n.jsx("img",{src:g.stop.imageUrl,alt:`${g.stop.name} ์‚ฌ์ง„`,loading:"lazy",decoding:"async",className:"size-12 shrink-0 object-cover",style:{border:`1px solid ${Te}`}}),n.jsxs("span",{className:"min-w-0",children:[n.jsxs("span",{className:"block text-[length:var(--fs-sm)] font-bold",children:[n.jsx(l1,{n:x+1}),g.stop.name]}),g.stop.note&&n.jsx("span",{className:"mt-0.5 block text-[length:var(--fs-sm)] leading-relaxed ",children:g.stop.note})]})]}),n.jsxs("p",{className:"mt-0.5 text-[length:var(--fs-xs)] ",children:[g.time,"โ€“",g.until,g.stop.searchQuery&&` ยท ์ง€๋„ ๊ฒ€์ƒ‰ ${g.stop.searchQuery}`]})]})]},`${g.stop.name}-${x}`))}),n.jsx("div",{className:"border-t border-dashed px-4 py-2.5",style:{borderColor:Te},children:n.jsx(ml,{source:s.source,verified:s.verified})})]})}const Xo="๊ทธ ๋ฐ–์˜ ์ผ์ •";function p1(){var x;const s=te(),r=al(s,"itinerary"),u=(r.items.length>0?r.items:((x=s.local)==null?void 0:x.itineraries)??[]).filter(p=>Po(p).some(y=>y.stops.length>0)),f=[...new Set(u.map(p=>{var y;return((y=p.duration)==null?void 0:y.trim())||Xo}))],[d,m]=U.useState(null),g=d??f[0];return u.length===0?null:n.jsxs(gl,{id:"itinerary",name:r.title||qe(s,"itinerary","์ถ”์ฒœ ์ผ์ •"),subtitle:r.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(p=>{const y=g===p;return n.jsxs("button",{type:"button",role:"tab","aria-selected":y,onClick:()=>m(p),className:"border-line rounded-full border px-4 py-1.5 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-90",style:y?{backgroundColor:"var(--color-brand)",color:"var(--tpl-bg, #fff)",borderColor:"transparent"}:void 0,children:[p,n.jsx("span",{className:"ml-1.5 font-normal ",children:u.filter(b=>{var j;return(((j=b.duration)==null?void 0:j.trim())||Xo)===p}).length})]},p)})}),f.map(p=>n.jsx("div",{hidden:p!==g,children:n.jsx(g1,{tab:p,items:u.filter(y=>{var b;return(((b=y.duration)==null?void 0:b.trim())||Xo)===p}),placeName:s.place.name},g)},p))]})}function g1({tab:s,items:r,placeName:o}){const u=U.useMemo(()=>{let p=0;return r.map(y=>{const b=p;return p+=Po(y).length,{item:y,start:b}})},[r]),[f,d]=U.useState(0),m=U.useRef(null),g=U.useCallback(p=>{m.current=p},[]),x=u.reduce((p,y)=>y.start<=f?y.start:p,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:p,start:y})=>{const b=y===x;return n.jsx("li",{children:n.jsx("button",{type:"button",onClick:()=>{var j;return(j=m.current)==null?void 0:j.scrollTo(y)},"aria-current":b,className:`text-left text-[length:var(--fs-sm)] underline-offset-4 transition-opacity hover:opacity-100 ${b?"font-bold underline":"opacity-90 hover:underline"}`,children:p.name})},`${p.name}-${y}`)})}),n.jsx(Mn,{label:`${s} ์ผ์ •`,onSelect:d,onReady:g,children:u.flatMap(({item:p,start:y},b)=>Po(p).map((j,T)=>n.jsx(h1,{item:p,badge:j.label??p.duration??`${T+1}์ผ์ฐจ`,startTime:j.startTime,stops:j.stops,first:T===0,placeName:o},`${p.name}-${y}-${T}`)))})]})}function x1(){const s=te(),r=al(s,"video"),[o,u]=U.useState(),f=U.useRef(null),[d,m]=U.useState({prev:!1,next:!0}),g=U.useCallback(()=>{const y=f.current;if(!y)return;const b=y.scrollWidth-y.clientWidth;m({prev:y.scrollLeft>8,next:y.scrollLeft(g(),window.addEventListener("resize",g),()=>window.removeEventListener("resize",g)),[g]);const x=U.useCallback(y=>{const b=f.current;if(!b)return;const j=window.matchMedia("(prefers-reduced-motion: reduce)").matches;b.scrollBy({left:y*b.clientWidth*.85,behavior:j?"auto":"smooth"})},[]);if(wu({box:f,interval:Su,advance:()=>Gp(f.current)}),r.items.length===0)return null;const p=r.items.length>1;return n.jsx(gl,{id:"video",name:r.title||qe(s,"video","์˜์ƒ์œผ๋กœ ๋ณด๊ธฐ"),subtitle:r.subtitle,link:r.linkUrl?{url:r.linkUrl,label:r.linkLabel??"๋” ๋ณด๊ธฐ"}:void 0,children:n.jsxs("div",{className:"relative",children:[n.jsx("ul",{ref:f,onScroll:g,className:p?"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:r.items.map((y,b)=>{const j=Ab(y.url),T=_b(y.url),S=o===b;return n.jsx("li",{className:p?"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:Te,backgroundColor:Jt,aspectRatio:T?"9 / 16":"16 / 9",width:T?"min(100%, 22rem)":"100%"},children:S&&j?n.jsx("iframe",{src:kb(j),title:y.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:y.url,target:"_blank",rel:"noopener noreferrer",onClick:w=>{j&&(w.preventDefault(),u(b))},"aria-label":`${y.caption||"์˜์ƒ"} ์žฌ์ƒ`,className:"group block size-full",children:[j?n.jsx("img",{src:Cb(j),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(ib,{className:"size-6"})})})]})}),y.caption&&n.jsx("figcaption",{className:"text-[length:var(--fs-sm)] leading-relaxed ",children:y.caption}),n.jsx(ml,{source:y.source,verified:y.verified})]})},`${y.url}-${b}`)})}),p&&n.jsxs(n.Fragment,{children:[n.jsx(xp,{dir:"prev",onClick:()=>x(-1),disabled:!d.prev}),n.jsx(xp,{dir:"next",onClick:()=>x(1),disabled:!d.next})]})]})})}function xp({dir:s,onClick:r,disabled:o}){const u=s==="prev"?da:ma;return n.jsx("button",{type:"button",onClick:r,disabled:o,"aria-label":s==="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 ${s==="prev"?"left-1":"right-1"}`,children:n.jsx(u,{className:"size-5"})})}const v1={1:"ํ•œ",2:"๋‘",3:"์„ธ",4:"๋„ค",5:"๋‹ค์„ฏ",6:"์—ฌ์„ฏ",7:"์ผ๊ณฑ"},b1=s=>[{id:"songs",label:"๊ฐ€์š” ๋‹ค๋ฐฉ",Component:Vp},{id:"people",label:"์ธ๋ฌผ ์—ด์ „",Component:Zp},{id:"chronicle",label:"์‹œ๊ฐ„์˜ ๊ณจ๋ชฉ",Component:Kp},{id:"reading",label:`${s} ์ฝ๊ธฐ`,Component:Jp},{id:"postcard",label:"์˜ค๋Š˜์˜ ์—ฝ์„œ",Component:Wp}];function y1(){const s=te(),r=s.place.addressLocality??"์ง€์—ญ",o=qe(s,"story",`${r} ์ด์•ผ๊ธฐ`),u=b1(r).filter(m=>al(s,m.id).items.length>0),[f,d]=U.useState(0);return u.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:dl,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:o}),n.jsxs("p",{className:"measure mt-3 text-[length:var(--fs-sm)] ",children:["์ด ๋„์‹œ๋ฅผ ",v1[u.length]??`${u.length}`," ๊ฐˆ๋ž˜๋กœ ๋ด…๋‹ˆ๋‹ค. ํ•˜๋‚˜์”ฉ ๊ณจ๋ผ ๋ณด์„ธ์š”."]}),n.jsx("div",{className:"mt-6 flex flex-wrap gap-1.5",role:"tablist","aria-label":o,children:u.map((m,g)=>{const x=g===f;return n.jsx("button",{type:"button",role:"tab","aria-selected":x,"aria-controls":m.id,onClick:()=>d(g),className:"rounded-full border px-4 py-1.5 text-[length:var(--fs-sm)] font-bold transition-opacity hover:opacity-90",style:x?{backgroundColor:dl,color:fa,borderColor:dl}:{borderColor:Te},children:m.label},m.id)})})]})}),u.map((m,g)=>n.jsx("div",{hidden:g!==f,children:n.jsx(m.Component,{})},m.id))]})}const j1={open:"์ง„ํ–‰ ์ค‘",soon:"๊ณง ์‹œ์ž‘",closed:"์ข…๋ฃŒ"};function vp(s,r){return s.endDate&&s.endDater?"soon":"open"}function Vo(s,r){return s.kind==="๊ณต์ง€"&&!s.startDate&&!s.endDate?"๊ณต์ง€":r&&j1[r]}function Zo(s){const r=f=>{const d=/^(\d{4})-(\d{2})-(\d{2})$/.exec(f??"");return d?`${Number(d[2])}์›” ${Number(d[3])}์ผ`:void 0},o=r(s.startDate),u=r(s.endDate);if(o&&u)return o===u?o:`${o} โ€“ ${u}`;if(o)return`${o}๋ถ€ํ„ฐ`;if(u)return`${u}๊นŒ์ง€`}function N1(){const s=te(),r=al(s,"event"),[o,u]=U.useState();U.useEffect(()=>u(new Date().toLocaleDateString("sv-SE")),[]);const[f,d]=U.useState(null),m=U.useCallback(()=>d(null),[]);if(U.useEffect(()=>{if(f===null)return;const p=b=>{b.key==="Escape"&&m()},y=document.body.style.overflow;return document.body.style.overflow="hidden",window.addEventListener("keydown",p),()=>{document.body.style.overflow=y,window.removeEventListener("keydown",p)}},[f,m]),r.items.length===0)return null;const g=f===null?void 0:r.items[f],x=g&&o?vp(g,o):void 0;return n.jsxs(gl,{id:"event",name:r.title||qe(s,"event",`${s.place.name} ์†Œ์‹`),subtitle:r.subtitle,link:r.linkUrl?{url:r.linkUrl,label:r.linkLabel??"๋” ๋ณด๊ธฐ"}:void 0,count:"์ž์„ธํ•œ ๋‚ด์šฉ๊ณผ ์ตœ์‹  ์†Œ์‹์€ ์›๋ฌธ์—์„œ ํ™•์ธํ•ด ์ฃผ์„ธ์š”.",children:[n.jsx("ul",{className:"grid gap-5 sm:grid-cols-2 lg:grid-cols-3",children:r.items.map((p,y)=>{const b=o?vp(p,o):void 0,j=Vo(p,b),T=Zo(p),S=b==="closed";return n.jsxs("li",{className:"w4-paper relative flex flex-col border-2",style:{backgroundColor:Jt,borderColor:Te,opacity:S?.6:1,boxShadow:S?"none":"3px 3px 0 color-mix(in oklab, currentcolor 12%, transparent)"},children:[n.jsx("button",{type:"button",onClick:()=>d(y),"aria-label":`${p.title} ์ž์„ธํžˆ ๋ณด๊ธฐ`,className:"absolute inset-0 z-20 cursor-pointer"}),n.jsx("div",{className:p.imageUrl?"relative overflow-hidden border-b-2":"contents",style:p.imageUrl?{borderColor:Te}:void 0,children:p.imageUrl?n.jsx("img",{src:p.imageUrl,alt:`${p.title} ์•ˆ๋‚ด ์ด๋ฏธ์ง€`,loading:"lazy",decoding:"async",className:"aspect-4/3 w-full object-cover",style:S?{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:[j&&n.jsx("span",{className:"border-2 px-2 py-0.5 text-[length:var(--fs-xs)] font-bold tracking-[0.08em]",style:{transform:"rotate(-3deg)",backgroundColor:b==="open"&&j!=="๊ณต์ง€"?We:Jt,color:b==="open"&&j!=="๊ณต์ง€"?fa:dl,borderColor:b==="open"&&j!=="๊ณต์ง€"?We:Te},children:j}),T&&n.jsx("span",{className:"text-[length:var(--fs-xs)] font-semibold tabular-nums ",children:T})]}),n.jsx("h3",{className:"serif text-lg font-bold leading-snug",children:p.title}),p.summary&&n.jsx("p",{className:"line-clamp-2 text-[length:var(--fs-sm)] leading-relaxed ",children:p.summary}),p.howTo&&n.jsx("p",{className:"border-2 border-dashed px-3 py-2 text-[length:var(--fs-sm)] leading-relaxed",style:{borderColor:Te},children:p.howTo}),p.body&&n.jsx("p",{className:`whitespace-pre-line text-[length:var(--fs-sm)] leading-relaxed ${p.imageUrl?"line-clamp-3":"line-clamp-[9]"}`,children:p.body}),n.jsx("p",{className:"mt-auto pt-2 text-[length:var(--fs-sm)] font-bold ",children:"์ž์„ธํžˆ ๋ณด๊ธฐ โ†’"})]})]},`${p.title}-${y}`)})}),g&&n.jsx("div",{role:"dialog","aria-modal":"true","aria-label":g.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:m,children:n.jsxs("article",{onClick:p=>p.stopPropagation(),className:"w4-paper max-h-[88vh] w-full max-w-2xl overflow-y-auto border-2",style:{backgroundColor:Jt,borderColor:Te,color:dl},children:[g.imageUrl&&n.jsx("img",{src:g.imageUrl,alt:`${g.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:[Vo(g,x)&&n.jsx("span",{className:"border-2 px-2.5 py-1 text-[length:var(--fs-xs)] font-bold tracking-[0.08em]",style:{borderColor:Te},children:Vo(g,x)}),Zo(g)&&n.jsx("span",{className:"text-[length:var(--fs-sm)] font-semibold tabular-nums ",children:Zo(g)})]}),n.jsx("h3",{className:"serif text-[length:var(--fs-h3)] font-bold leading-snug",children:g.title}),g.summary&&n.jsx("p",{className:"text-[length:var(--fs-sm)] leading-relaxed ",children:g.summary}),g.howTo&&n.jsx("p",{className:"border-2 border-dashed px-4 py-3 text-[length:var(--fs-sm)] leading-relaxed",style:{borderColor:Te},children:g.howTo}),g.body&&n.jsx("p",{className:"whitespace-pre-line text-[length:var(--fs-sm)] leading-relaxed ",children:g.body}),n.jsxs("div",{className:"flex items-center justify-between gap-4 pt-2",children:[g.postUrl?n.jsx("a",{href:g.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:m,className:"tap inline-flex items-center gap-1.5 border-2 px-4 text-[length:var(--fs-sm)] font-bold",style:{borderColor:Te},children:[n.jsx(iu,{className:"size-4"}),n.jsx("span",{children:"๋‹ซ๊ธฐ"})]})]})]})]})})]})}const S1={songs:Vp,daily:a1,people:Zp,chronicle:Kp,reading:Jp,postcard:Wp,quiz:s1,itinerary:p1,video:x1,event:N1,story:y1},eu=1080,Os=4,ft=56,tu=190,Ko="#1b1a15",w1="#efe7d3",bp="#bf2f1b";function Ip(s=eu){return s-ft-tu-ft-24}function Pp(s,r,o){const u=[];return r.split(` `).forEach(f=>{if(f.trim()===""){u.push("");return}let d="";f.split(" ").forEach(m=>{const g=d?`${d} ${m}`:m;if(s.measureText(g).width<=o){d=g;return}if(d&&u.push(d),s.measureText(m).width<=o){d=m;return}let x="";for(const p of m){const y=x+p;s.measureText(y).width>o&&x?(u.push(x),x=p):x=y}d=x}),d&&u.push(d)}),u}function E1(s,r,o){const u=[];let f="";return r.split(/[,\s]+/).filter(Boolean).forEach(d=>{const m=f?`${f} ${d}`:d;if(s.measureText(m).width<=o){f=m;return}if(f&&u.push(f),s.measureText(d).width<=o){f=d;return}let g="";for(const x of d){const p=g+x;s.measureText(p).width>o&&g?(u.push(g),g=x):g=p}f=g}),f&&u.push(f),u}const z1="/v1/image/relay?url=";async function T1(s){const r=(o,u)=>new Promise((f,d)=>{const m=new Image;u&&(m.crossOrigin=u),m.onload=()=>f(m),m.onerror=d,m.src=o});try{return{img:await r(s,"anonymous"),exportable:!0}}catch{}if(/^https?:\/\//i.test(s))try{return{img:await r(`${z1}${encodeURIComponent(s)}`,"anonymous"),exportable:!0}}catch{}return{img:await r(s,null),exportable:!1}}function A1(){const s=document.querySelector(".serif");return(s?getComputedStyle(s).fontFamily:"")||"serif"}async function yp(s,{photoUrl:r,text:o,placeName:u,region:f}){const d=s.getContext("2d");if(!d)return!1;const m=s.width,g=A1();d.clearRect(0,0,m,m),d.fillStyle=w1,d.fillRect(0,0,m,m);const{img:x,exportable:p}=await T1(r),y=m-ft*2,b=y/1.5,j=Math.max(y/x.width,b/x.height),T=x.width*j,S=x.height*j;d.save(),d.beginPath(),d.rect(ft,ft,y,b),d.clip(),d.drawImage(x,ft+(y-T)/2,ft+(b-S)/2,T,S),d.restore(),d.strokeStyle="rgba(27,26,21,0.25)",d.lineWidth=1,d.strokeRect(ft+.5,ft+.5,y-1,b-1);const w=ft+b+36,k=m-ft-tu,R=Ip(m);d.strokeStyle="rgba(27,26,21,0.35)",d.beginPath(),d.moveTo(k,w),d.lineTo(k,m-ft-46),d.stroke(),d.fillStyle=Ko,d.font=`600 46px ${g}`,d.textAlign="left",d.textBaseline="alphabetic";const V=Pp(d,`โ€œ${o.trim()||"์˜ค๋Š˜, ์ด ์ˆ™์†Œ์—์„œ ํ•˜๋ฃจ๋ฅผ ๋ณด๋ƒ…๋‹ˆ๋‹ค."}โ€`,R),Y=V.slice(0,Os);if(V.length>Os){let F=Y[Os-1];for(;F.length&&d.measureText(`${F}โ€ฆ`).width>R;)F=F.slice(0,-1);Y[Os-1]=`${F}โ€ฆ`}Y.forEach((F,le)=>d.fillText(F,ft,w+50+le*60));const X=k+tu/2;d.strokeStyle=Ko,d.lineWidth=1.5,d.setLineDash([4,4]),d.strokeRect(X-44,w,88,108),d.setLineDash([]),d.fillStyle=Ko,d.font=`400 20px ${g}`,d.textAlign="center",d.fillText("้ƒต็ฅจ",X,w+46),d.fillText("10์›",X,w+78),d.save(),d.translate(X,w+210),d.rotate(-6*Math.PI/180),d.strokeStyle=bp,d.lineWidth=3,d.beginPath(),d.arc(0,0,62,0,Math.PI*2),d.stroke(),d.fillStyle=bp,d.font=`600 22px ${g}`;const G=E1(d,u,100).slice(0,2),J=8-(G.length-1)*26/2;G.forEach((F,le)=>d.fillText(F,0,J+le*26)),d.restore();const $=m-ft-30;return d.strokeStyle="rgba(27,26,21,0.3)",d.setLineDash([3,3]),d.beginPath(),d.moveTo(ft,$-20),d.lineTo(m-ft,$-20),d.stroke(),d.setLineDash([]),d.fillStyle="rgba(27,26,21,0.6)",d.font=`400 22px ${g}`,d.textAlign="left",d.fillText(`${u} ยท ${f}`,ft,$+6),p}const jp="postcard.png";function _1(){const s=te(),r=(s.media??[]).filter(Y=>Y.url),o=U.useRef(null),[u,f]=U.useState(0),[d,m]=U.useState(""),[g,x]=U.useState(""),[p,y]=U.useState(!1),[b,j]=U.useState(!0);U.useEffect(()=>{var Y;y(((Y=window.matchMedia)==null?void 0:Y.call(window,"(pointer: coarse)").matches)??!1)},[]);const T=s.place.name,S=String(s.place.address??"").split(" ").slice(0,2).join(" ");if(U.useEffect(()=>{const Y=o.current,X=r[u];if(!Y||!(X!=null&&X.url))return;const G=window.setTimeout(()=>{yp(Y,{photoUrl:X.url,text:d,placeName:T,region:S}).then(j)},80);return()=>window.clearTimeout(G)},[u,d,T,S,r]),U.useEffect(()=>{var G;const Y=o.current,X=r[u];!Y||!(X!=null&&X.url)||!((G=document.fonts)!=null&&G.ready)||document.fonts.ready.then(()=>yp(Y,{photoUrl:X.url,text:d,placeName:T,region:S}).then(j))},[]),r.length===0)return null;function w(Y){var G;const X=(G=o.current)==null?void 0:G.getContext("2d");return X?(X.font="600 46px serif",Pp(X,`โ€œ${Y}โ€`,Ip()).length<=Os):!0}function k(){return new Promise(Y=>{const X=o.current;if(!X)return Y(null);X.toBlob(G=>Y(G),"image/png",.95)})}function R(Y){const X=URL.createObjectURL(Y),G=document.createElement("a");G.href=X,G.download=jp,G.click(),URL.revokeObjectURL(X)}async function V(){var J,$;const Y=await k();if(!Y)return;const X=((J=document.querySelector('meta[property="og:url"]'))==null?void 0:J.content)??`${location.origin}${location.pathname}`,G=new File([Y],jp,{type:"image/png"});if(($=navigator.canShare)!=null&&$.call(navigator,{files:[G]})){await navigator.share({files:[G],title:`${T} ์—ฝ์„œ`,text:X}).catch(()=>{});return}if(navigator.share){await navigator.share({title:`${T} ์—ฝ์„œ`,url:X}).catch(()=>{}),x('์ด ๋ธŒ๋ผ์šฐ์ €๋Š” ์‚ฌ์ง„์„ ๊ฐ™์ด ๋ชป ๋ณด๋‚ด ๋งํฌ๋งŒ ๋ณด๋ƒˆ์Šต๋‹ˆ๋‹ค. ์‚ฌ์ง„์€ "์ด๋ฏธ์ง€๋กœ ์ €์žฅ"์„ ๋ˆŒ๋Ÿฌ ์ฃผ์„ธ์š”.');return}R(Y),x("์ด ๋ธŒ๋ผ์šฐ์ €๋Š” ๊ณต์œ  ์‹œํŠธ๋ฅผ ๋ชป ์—ด์–ด ์ €์žฅ์œผ๋กœ ๋Œ€์‹ ํ–ˆ์Šต๋‹ˆ๋‹ค.")}return n.jsx(gt,{id:"postcard-maker",title:"์—ฝ์„œ ์“ฐ๊ธฐ",lead:`${T}์—์„œ ๋ณด๋‚ด๋Š” ํ•œ ์žฅ์„ ์ง์ ‘ ์จ ๋ด…๋‹ˆ๋‹ค. ์‚ฌ์ง„์„ ๊ณ ๋ฅด๊ณ  ํ•œ ๋งˆ๋””๋ฅผ ์ ์œผ๋ฉด ๊ทธ ์ž๋ฆฌ์—์„œ ์—ฝ์„œ๊ฐ€ ๋˜๊ณ , ๊ทธ๋Œ€๋กœ ๊ณต์œ ํ•˜๊ฑฐ๋‚˜ ์ €์žฅํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.`,children:n.jsxs("div",{className:"mx-auto grid max-w-3xl gap-5 sm:grid-cols-[minmax(0,360px)_minmax(0,1fr)] sm:items-start",children:[n.jsx("canvas",{ref:o,width:eu,height:eu,"aria-label":"๋‚ด๊ฐ€ ๋งŒ๋“  ์—ฝ์„œ ๋ฏธ๋ฆฌ๋ณด๊ธฐ",className:"border-line mx-auto block aspect-square h-auto w-full max-w-[360px] border"}),n.jsxs("div",{className:"flex min-w-0 flex-col gap-2.5",children:[n.jsx("div",{className:"min-w-0",role:"radiogroup","aria-label":`์—ฝ์„œ ์‚ฌ์ง„ ๊ณ ๋ฅด๊ธฐ(${r.length}์žฅ)`,children:n.jsx(vr,{label:"์—ฝ์„œ ์‚ฌ์ง„",gap:.5,dots:!1,autoplay:!1,children:r.map((Y,X)=>n.jsx("button",{type:"button",onClick:()=>f(X),role:"radio","aria-checked":X===u,"aria-label":`์‚ฌ์ง„ ${X+1}`,className:"border-line size-10 shrink-0 overflow-hidden rounded border transition-opacity",style:{opacity:X===u?1:.5},children:n.jsx("img",{src:Y.url,alt:"",loading:"lazy",className:"size-full object-cover"})},Y.url))})}),n.jsxs("div",{className:"flex flex-col gap-1.5",children:[n.jsx("label",{htmlFor:"postcard-text",className:"text-[length:var(--fs-sm)] font-bold",children:"์—ฝ์„œ์— ์ ์„ ๋ง"}),n.jsx("textarea",{id:"postcard-text",rows:3,maxLength:60,value:d,placeholder:"์—ฌ๊ธฐ์— ์ ์œผ๋ฉด ์—ฝ์„œ์— ๋ฐ”๋กœ ๋‚˜ํƒ€๋‚ฉ๋‹ˆ๋‹ค",onChange:Y=>{w(Y.target.value)&&m(Y.target.value)},className:"border-line w-full rounded border-2 p-3 text-[length:var(--fs-body)]",style:{backgroundColor:"var(--color-surface)"}}),n.jsxs("p",{className:"text-muted text-[length:var(--fs-xs)]",children:["๋„ค ์ค„๊นŒ์ง€ ยท ",d.length,"/60"]})]}),b?n.jsxs("div",{className:"flex flex-wrap gap-2",children:[n.jsx("button",{type:"button",onClick:()=>void V(),className:"tap border-line rounded-full border px-3.5 py-1.5 text-[length:var(--fs-sm)] font-bold",children:p?"์นด์นด์˜คํ†ก ๋“ฑ์œผ๋กœ ๊ณต์œ ":"๊ณต์œ ํ•˜๊ธฐ"}),n.jsx("button",{type:"button",onClick:()=>void k().then(Y=>Y&&R(Y)),className:"tap border-line rounded-full border px-3.5 py-1.5 text-[length:var(--fs-sm)]",children:"์ด๋ฏธ์ง€๋กœ ์ €์žฅ"})]}):n.jsx("p",{className:"text-muted text-[length:var(--fs-sm)]",children:"์ด ์‚ฌ์ง„์€ ๋‹ค๋ฅธ ์‚ฌ์ดํŠธ์— ์˜ฌ๋ผ์™€ ์žˆ์–ด ์ €์žฅยท๊ณต์œ ๊ฐ€ ๋ง‰ํ˜€ ์žˆ์Šต๋‹ˆ๋‹ค. ํ™”๋ฉด์œผ๋กœ๋งŒ ๋ณด์—ฌ ๋“œ๋ฆฝ๋‹ˆ๋‹ค."}),g&&n.jsx("p",{className:"text-muted text-[length:var(--fs-xs)]",children:g})]})]})})}function C1({children:s}){return n.jsxs("div",{className:"flex min-h-screen w-full flex-col",children:[n.jsx(O1,{}),n.jsx("div",{className:"flex w-full flex-1 flex-col",children:s}),n.jsx(D1,{}),n.jsx(kn,{})]})}function eg(){const s=te(),r=dt(s);return[{id:"intro",href:"#about",fallback:"์†Œ๊ฐœ"},{id:r.path,href:"#units",fallback:r.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=>ll(s,o.id)).map(o=>({label:qe(s,o.id,o.fallback),href:o.href}))}const k1=24,M1="0 1px 3px color-mix(in srgb, var(--tpl-inverse, #1c1917) 55%, transparent)";function O1(){const s=te(),r=eg(),[o,u]=U.useState(!1);U.useEffect(()=>{const d=()=>u(window.scrollY>k1);return d(),window.addEventListener("scroll",d,{passive:!0}),()=>window.removeEventListener("scroll",d)},[]);const f=o?"opacity-95 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:M1},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:s.place.name})}),n.jsx("nav",{"aria-label":"์ฃผ์š” ๋ฉ”๋‰ด",className:"hidden items-center justify-center gap-10 lg:flex",children:r.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:[s.place.phone&&n.jsx("a",{href:`tel:${s.place.phone}`,className:`tap hidden items-center text-[length:var(--fs-sm)] font-light tabular-nums sm:inline-flex ${f}`,children:s.place.phone}),r.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:r.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 D1(){var p,y,b,j;const s=te(),{place:r,site:o,narrative:u}=s,f=eg(),d=r.roadAddress??r.address,m=Ze(s)[0],g=Cn(s),x=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:r.name}),x&&n.jsx("p",{className:"text-muted measure mt-4 text-[length:var(--fs-sm)] leading-loose",children:x})]}),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})]}),r.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:${r.phone}`,className:"underline-offset-4 hover:underline",children:r.phone})})]}),r.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:${r.email}`,className:"underline-offset-4 hover:underline",children:r.email})})]}),m&&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:m.url,target:"_blank",rel:"noopener noreferrer",className:"underline-offset-4 hover:underline",children:Ls(m)})})]})]}),f.length>0&&n.jsx("nav",{"aria-label":"์‚ฌ์ดํŠธ ๋ฉ”๋‰ด",className:"min-w-0",children:n.jsx("ul",{className:"space-y-3",children:f.map(T=>n.jsx("li",{children:n.jsx("a",{href:T.href,className:"text-muted text-[length:var(--fs-sm)] font-light underline-offset-4 hover:underline",children:T.label})},T.href))})})]}),n.jsx("hr",{className:"border-line mt-12 border-t"}),g.length>0&&n.jsx("ul",{className:"mt-8 flex flex-wrap items-center justify-center gap-x-6 gap-y-2",children:g.map(T=>n.jsx("li",{children:n.jsx("a",{href:T.url,target:"_blank",rel:"noopener noreferrer",className:"text-muted text-[length:var(--fs-xs)] font-light underline-offset-4 hover:underline",children:Ls(T)})},T.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:["์ƒํ˜ธ ",r.name]}),((p=r.legal)==null?void 0:p.representative)&&n.jsxs("span",{children:["๋Œ€ํ‘œ ",r.legal.representative]}),((y=r.legal)==null?void 0:y.businessRegistrationNumber)&&n.jsxs("span",{children:["์‚ฌ์—…์ž๋“ฑ๋ก๋ฒˆํ˜ธ ",r.legal.businessRegistrationNumber]}),((b=r.legal)==null?void 0:b.mailOrderNumber)&&n.jsxs("span",{children:["ํ†ต์‹ ํŒ๋งค์—…์‹ ๊ณ  ",r.legal.mailOrderNumber]}),((j=r.legal)==null?void 0:j.licenseNumber)&&n.jsxs("span",{children:[r.legal.licenseLabel??"์ธํ—ˆ๊ฐ€๋ฒˆํ˜ธ"," ",r.legal.licenseNumber]}),n.jsxs("span",{className:"byline",children:[n.jsxs("span",{className:"author",children:["์ž‘์„ฑยท์šด์˜ ",r.name]})," ยท ์ตœ์ข… ์—…๋ฐ์ดํŠธ: ",n.jsx("time",{dateTime:o.updatedAt,children:Qs(o.updatedAt)})]})]})]})})}const R1=` .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; } } `,U1={"--oasi-gap":"clamp(3.5rem, 7vw, var(--tpl-section-space, 4rem))",backgroundColor:"var(--tpl-bg)",color:"var(--tpl-text)"};function L1({children:s}){var y,b,j,T;const r=te(),{place:o}=r,u=dt(r),f=Ze(r)[0],d=Cn(r),m=[{label:"์ฒ˜์Œ",href:"#top",show:!0},{label:"์†Œ๊ฐœ",href:"#about",show:ll(r,"intro")},{label:u.label,href:"#units",show:r.units.length>0},{label:"์ด์šฉ ์ •๋ณด",href:"#info",show:!0},{label:"์ฃผ๋ณ€",href:"#guide",show:ll(r,"local")},{label:"์˜ค์‹œ๋Š” ๊ธธ",href:"#location",show:!0},{label:"์ž์ฃผ ๋ฌป๋Š” ์งˆ๋ฌธ",href:"#faq",show:r.faqs.length>0}].filter(S=>S.show),g=[...Ra(r).map(S=>`${S.label} ${S.value}`),...r.theme.sections.filter(S=>{var w;return S.enabled&&((w=S.name)==null?void 0:w.trim())}).map(S=>S.name.trim())].slice(0,3),x=r.narrative.tagline??r.narrative.heroSubline,p=o.roadAddress??o.address;return n.jsxs("div",{className:"oasi-page flex min-h-screen w-full flex-col",style:U1,children:[n.jsx("style",{dangerouslySetInnerHTML:{__html:R1}}),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:m.map((S,w)=>n.jsx("li",{children:n.jsx("a",{href:S.href,"aria-current":w===0?"true":void 0,className:`tap inline-flex items-center text-[length:var(--fs-sm)] transition-opacity hover:opacity-100 ${w===0?"":"text-muted"}`,children:S.label})},S.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:pt(f)})]}),n.jsxs("div",{className:"flex min-w-0 flex-1 flex-col",children:[(g.length>0||x)&&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:[g.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:g.map((S,w)=>n.jsxs("li",{className:"flex items-center gap-4",children:[w>0&&n.jsx("span",{"aria-hidden":!0,className:"opacity-40",children:"|"}),n.jsx("span",{children:S})]},S))}),x&&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:n.jsx(ha,{children:x})})]}),s]})]}),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(S=>n.jsx("li",{children:n.jsx("a",{href:S.url,target:"_blank",rel:"noopener noreferrer",className:"underline underline-offset-[5px]",children:Ls(S)})},S.url))}):n.jsx("span",{}),n.jsxs("div",{className:"text-muted space-y-1 sm:text-right",children:[p&&n.jsx("p",{children:p}),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}),((y=o.legal)==null?void 0:y.representative)&&n.jsxs("p",{children:["๋Œ€ํ‘œ ",o.legal.representative]}),((b=o.legal)==null?void 0:b.businessRegistrationNumber)&&n.jsxs("p",{children:["์‚ฌ์—…์ž๋“ฑ๋ก๋ฒˆํ˜ธ ",o.legal.businessRegistrationNumber]}),((j=o.legal)==null?void 0:j.mailOrderNumber)&&n.jsxs("p",{children:["ํ†ต์‹ ํŒ๋งค์—…์‹ ๊ณ  ",o.legal.mailOrderNumber]}),((T=o.legal)==null?void 0:T.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:r.site.updatedAt,children:Qs(r.site.updatedAt)})]})]})]})}),n.jsx(kn,{})]})}function H1({children:s}){var j,T,S,w;const r=te(),{place:o,narrative:u,site:f}=r,d=dt(r),m=_n(r),g=Ra(r),x=Ze(r)[0],p=r.links.filter(k=>k.confirmed),y=o.roadAddress??o.address,b=[{label:"์†Œ๊ฐœ",href:"#about",show:ll(r,"intro")},{label:d.label,href:"#units",show:r.units.length>0},{label:"์ด์šฉ ์ •๋ณด",href:"#info",show:!0},{label:"์ฃผ๋ณ€ ์ •๋ณด",href:"#guide",show:ll(r,"local")},{label:"์˜ค์‹œ๋Š” ๊ธธ",href:"#location",show:!0},{label:"์ž์ฃผ ๋ฌป๋Š” ์งˆ๋ฌธ",href:"#faq",show:r.faqs.length>0}].filter(k=>k.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:n.jsx(ha,{children:u.tagline??u.heroSubline})}),(m||g.length>0)&&n.jsxs("dl",{className:"mt-7 space-y-2.5",children:[m&&n.jsxs("div",{children:[n.jsx("dt",{className:"label",children:"์ตœ์ €๊ฐ€"}),n.jsx("dd",{className:"text-[length:var(--fs-lead)] font-bold tabular-nums",children:m})]}),g.map(k=>n.jsxs("div",{children:[n.jsx("dt",{className:"label",children:k.label}),n.jsx("dd",{className:"text-[length:var(--fs-sm)] font-semibold",children:k.value})]},k.label))]}),x&&n.jsx("a",{href:x.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:pt(x)}),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:b.map(k=>n.jsx("li",{children:n.jsx("a",{href:k.href,className:"text-muted flex min-h-[2rem] items-center text-[length:var(--fs-sm)] transition-colors hover:text-current",children:k.label})},k.label))})}),p.length>0&&n.jsx("nav",{"aria-label":"๊ณต์‹ ์ฑ„๋„",className:"mt-12",children:n.jsx("ul",{className:"space-y-0.5",children:p.map(k=>n.jsx("li",{children:n.jsx("a",{href:k.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:pl(k)})},k.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:[y&&n.jsx("p",{className:"break-keep",children:y}),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]}),((j=o.legal)==null?void 0:j.representative)&&n.jsxs("span",{children:["๋Œ€ํ‘œ: ",o.legal.representative]}),((T=o.legal)==null?void 0:T.businessRegistrationNumber)&&n.jsxs("span",{children:["์‚ฌ์—…์ž๋“ฑ๋ก๋ฒˆํ˜ธ: ",o.legal.businessRegistrationNumber]}),((S=o.legal)==null?void 0:S.mailOrderNumber)&&n.jsxs("span",{children:["ํ†ต์‹ ํŒ๋งค์—…์‹ ๊ณ : ",o.legal.mailOrderNumber]}),((w=o.legal)==null?void 0:w.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:s}),n.jsx(kn,{})]})}const B1=` .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; } `,q1={"--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 Y1({children:s}){const r=te(),o=dt(r),u=Cn(r),f=[{label:"์†Œ๊ฐœ",href:"#about",show:ll(r,"intro")},{label:o.label,href:"#units",show:r.units.length>0},{label:"์ด์šฉ ์ •๋ณด",href:"#info",show:!0},{label:"์ฃผ๋ณ€",href:"#guide",show:ll(r,"local")},{label:"์˜ค์‹œ๋Š” ๊ธธ",href:"#location",show:!0},{label:"FAQ",href:"#faq",show:r.faqs.length>0}].filter(d=>d.show);return n.jsxs("div",{className:"pastel-page flex min-h-screen w-full flex-col",style:q1,children:[n.jsx("style",{dangerouslySetInnerHTML:{__html:B1}}),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:r.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] transition-opacity hover:opacity-100",children:d.label},d.label))}),n.jsxs("div",{className:"flex shrink-0 items-center gap-1",children:[r.place.phone&&n.jsx("a",{href:`tel:${r.place.phone}`,"aria-label":"์ „ํ™”",className:"tap flex items-center justify-center rounded-full",style:{backgroundColor:"var(--pastel-1)"},children:n.jsx(Ct,{className:"size-4"})}),u.map(d=>n.jsx("a",{href:d.url,target:"_blank",rel:"noopener noreferrer","aria-label":pl(d),className:"tap flex items-center justify-center rounded-full",style:{backgroundColor:"var(--pastel-2)"},children:/instagram/i.test(d.url)?n.jsx(Wv,{className:"size-4"}):n.jsx(su,{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(zp,{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))})})]})]})]})}),s,n.jsx("div",{style:{"--tpl-inverse":"var(--pastel-3)","--tpl-bg":"var(--pastel-ink)"},children:n.jsx(Xp,{})}),n.jsx(kn,{})]})}function G1({children:s}){var p,y,b,j;const r=te(),{place:o,site:u}=r,f=Up(),d=$1(f),m=Ze(r)[0],g=r.links.filter(T=>T.confirmed),x=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}),m&&n.jsx("a",{href:m.url,target:"_blank",rel:"noopener noreferrer",className:"tap inline-flex items-center font-bold underline underline-offset-4",children:pt(m)})]})]})}),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:Hs},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(T=>{const S=T.anchor===d;return n.jsxs("a",{href:`#${T.anchor}`,"aria-current":S?"true":void 0,className:"flex items-baseline gap-2 py-2 text-[length:var(--fs-sm)] leading-tight motion-safe:transition-opacity",style:{opacity:S?1:.35},children:[n.jsx("span",{className:"shrink-0 text-[length:var(--fs-xs)] font-bold tabular-nums",children:T.no}),n.jsx("span",{className:"truncate",style:{fontWeight:S?700:400},children:T.label})]},T.anchor)})})}),n.jsx("div",{className:"flex min-w-0 flex-1 flex-col",children:s})]}),n.jsx("footer",{className:"w-full pb-28 pt-12 md:pb-16",style:{backgroundColor:"var(--tpl-inverse)",color:"var(--tpl-bg)",backgroundImage:Hs},children:n.jsxs("div",{className:"shell",children:[n.jsx("div",{"aria-hidden":!0,className:"h-0.5 w-full bg-current "}),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] ",children:o.englishName})]}),n.jsxs("address",{className:"space-y-2 font-serif text-[length:var(--fs-sm)] not-italic md:col-span-4",children:[x&&n.jsx("p",{children:x}),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})})]}),g.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:g.map(T=>n.jsx("li",{children:n.jsx("a",{href:T.url,target:"_blank",rel:"noopener noreferrer",className:"underline underline-offset-4 transition-opacity hover:opacity-100",children:pl(T)})},T.url))})})]}),n.jsxs("div",{className:"mt-10 flex flex-col gap-2 border-t border-current/20 pt-5 text-[length:var(--fs-xs)] 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]}),((p=o.legal)==null?void 0:p.representative)&&n.jsxs("span",{children:["๋Œ€ํ‘œ: ",o.legal.representative]}),((y=o.legal)==null?void 0:y.businessRegistrationNumber)&&n.jsxs("span",{children:["์‚ฌ์—…์ž๋“ฑ๋ก๋ฒˆํ˜ธ: ",o.legal.businessRegistrationNumber]}),((b=o.legal)==null?void 0:b.mailOrderNumber)&&n.jsxs("span",{children:["ํ†ต์‹ ํŒ๋งค์—…์‹ ๊ณ : ",o.legal.mailOrderNumber]}),((j=o.legal)==null?void 0:j.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(kn,{})]})}function $1(s){const r=s.map(f=>f.anchor).join(","),[o,u]=U.useState("");return U.useEffect(()=>{if(typeof IntersectionObserver>"u")return;const f=r.split(",").map(m=>document.getElementById(m)).filter(m=>m!==null);if(f.length===0)return;const d=new IntersectionObserver(m=>{const g=m.find(x=>x.isIntersecting);g&&u(g.target.id)},{rootMargin:"-45% 0px -50% 0px"});return f.forEach(m=>d.observe(m)),()=>d.disconnect()},[r]),o}function Q1(){const s=te(),r=s.place.category===ua.LODGING,o={intro:by,info:Ny,rooms:Go,menu:Go,programs:Go,booking:r?sp:Ry,space:Yy,inquiry:Gy,exhibition:$y,photos:e1,festival:Vy,local:Ky,weather:Py,map:dp,faq:t1,...S1},u=new Set;return n.jsxs("main",{className:"w-full flex-1",children:[n.jsx(C0,{}),s.theme.sections.filter(f=>f.enabled&&f.id!=="hero").map(f=>{const d=o[f.id];if(!d)return null;const m=d.name;return u.has(m)?null:(u.add(m),n.jsx("div",{"data-editor-id":f.id,style:{display:"contents"},children:n.jsx(d,{})},f.id))}),!ll(s,"map")&&n.jsx(dp,{}),r&&!u0(s,"booking")&&n.jsx(sp,{}),n.jsx(_1,{})]})}function lu({payload:s}){const r=Rp(s.theme.templateId),o=r==="reservation"?C1:r==="oasi"?L1:r==="studio"?H1:r==="pastel"?Y1:r==="editorial"?G1:X1;return n.jsx(gb,{payload:s,children:n.jsx(o,{children:n.jsx(Q1,{})})})}function X1({children:s}){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:s}),n.jsx(Xp,{}),n.jsx(kn,{})]})}function V1(s){const{colors:r,look:o}=s.theme,u=Bb(r),f={"--tpl-primary":r.primary,"--tpl-secondary":r.secondary,"--tpl-bg":r.bg,"--tpl-card":r.card,"--tpl-text":r.text,"--tpl-accent":r.accent,"--tpl-surface":u.surface,"--tpl-surface-alt":u.surfaceAlt,"--tpl-inverse":u.inverse,"--tpl-border":u.border};if(o){const d=g=>g&&!/[<>{};]/.test(g)?g:void 0,m=[["--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[g,x]of m)x&&(f[g]=x)}return f}const Z1=[[/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 K1(s){var u,f;const r=["Noto Sans KR","Noto Serif KR",((u=s.theme.look)==null?void 0:u.fontHeading)??"",((f=s.theme.look)==null?void 0:f.fontBody)??""].join(" ");return`https://fonts.googleapis.com/css2?${Z1.filter(([d])=>d.test(r)).map(([,d])=>d).join("&")}&display=swap`}const dr=document.getElementById("root"),Np=window.__SITE_PAYLOAD__;function Tu(s){if(window.parent===window)return;const r=()=>window.parent.postMessage({type:"o2o:preview-painted",ok:s},window.location.origin);requestAnimationFrame(()=>requestAnimationFrame(r))}function J1(){return U.useEffect(()=>Tu(!0),[]),null}async function W1(s){const r=(()=>{try{return localStorage.getItem("o2o-web4ai.accessToken")}catch{return null}})(),o=await fetch(`/v1/place/${s}/site/preview`,{headers:r?{Authorization:`Bearer ${r}`}:{}});if(!o.ok)throw new Error(`HTTP ${o.status}`);const u=await o.json();for(const[d,m]of Object.entries(V1(u)))document.documentElement.style.setProperty(d,m);const f=document.createElement("link");f.rel="stylesheet",f.href=K1(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{}Jo.createRoot(dr).render(n.jsxs(U.StrictMode,{children:[n.jsx(lu,{payload:u}),n.jsx(J1,{})]})),Tu(!0)}const Sp=new URLSearchParams(window.location.search).get("placeId");Np?Jo.hydrateRoot(dr,n.jsx(U.StrictMode,{children:n.jsx(lu,{payload:Np})})):Sp?W1(Sp).catch(s=>{dr.textContent=`๋ฏธ๋ฆฌ๋ณด๊ธฐ๋ฅผ ๋ถˆ๋Ÿฌ์˜ค์ง€ ๋ชปํ–ˆ์Šต๋‹ˆ๋‹ค โ€” ${s instanceof Error?s.message:String(s)}`,Tu(!1)}):pv(async()=>{const{MOONLIGHT_STAY_PAYLOAD:s}=await import("./moonlight-stay-DDlGha2v.js");return{MOONLIGHT_STAY_PAYLOAD:s}},[]).then(({MOONLIGHT_STAY_PAYLOAD:s})=>{Jo.createRoot(dr).render(n.jsx(U.StrictMode,{children:n.jsx(lu,{payload:s})}))});export{Lh as F,yt as L,ua as P,Sb as S,F1 as a};